withdraw_public_fee
Last updated
Last updated
An entrypoint that allows the administrator of the contract to withdraw public fee that was accrued during the input of tokens to the this contract from contract (see entrypoint).
Only whitelisted tokens can be withdrawn (see entrypoint).
token
token_t
FA1.2/FA2/TEZ token
receiver
address
Receiver of withdrawn tokens
306
- token for withdrawing is NOT whitelisted.
400
- sender
of the transaction is not current administrator.
412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).