☑️Check SFS Registry
There is a minimum to claim the SFS earned fees and it's 0.01 ETH
There are 2 ways of claiming your funds:
Directly from a wallet that holds the NFT
Programmatically from a smart contract that should also hold the NFT
The SFS contract works as a balance sheet. It contains all the mappings tracking which contracts are linked to which SFS NFTs. All balances are kept in the contract, until the users withdraw them. The revenue of the SFS is calculated by an offchain component that distributes the fees at the end of an epoch. You will not see your balance immediately going up after registering your contract because this off-chain component updates the balances every first day of the month on mainnet and every 24 hours on testnet.
To withdraw, you must hold the SFS NFT to be allowed to get the revenue. If not, the transaction will revert. It doesn’t matter if it’s an EOA (Externally Owned Account) or a smart contract, any of them must have the NFT in their balance in order to withdraw the funds. This is the withdrawal function:
Copy
Note that the function has the onlyNftOwner
modifier which reverts the transaction if the entity calling the function is not the owner of the NFT.
Last updated