withdraw_public_fee
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 DexCore contract (see withdraw_auction_fee entrypoint).
Only whitelisted tokens can be withdrawn (see update_whitelist entrypoint).
Call parameters
Field
Type
Description
token
token_t
FA1.2/FA2/TEZ token
receiver
address
Receiver of withdrawn tokens
Usage
Errors
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).
Last updated