Handling fees
Learn how fee accrual and accounting works for Scopes
Scopes can be configured to charge a fee for mint, assign or patch events.
Related functions:
All amounts in mint, assign or patch fees are base fee amounts. Patchwork Protocol will be configured to take a percentage of the base fee amount for the protocol fee. The base fee amount is what the user is charged and is split between the scope and the protocol.
Configurations are per-address. For multiple contracts, each contract address must be set explicitly.
Fees are collected and held by the protocol and are made available to withdraw at any time by the scope owner or banker.
Use addBanker
to add a banker to your scope and you can withdraw all collected fees by calling withdraw("myscope", balanceOf("myscope"))