withdraw_auction_fee
An entrypoint that allows any user to withdraw an auction fee. Will withdraw all available fee. All fees will be transferred to the Auction contract and the sender of the transaction will receive a reward (% of the withdrawn amount) in tokens that were withdrawn.
Call parameters
Field
Type
Description
pair_id
option(token_id_t)
Identifier of the liquidity pool (pair)
token
token_t
FA1.2/FA2/TEZ token
Usage
Errors
108
- pair (pool) with the specifiedtoken_id
not listed.136
- reentrancy.143
-pair_id
parameter not provided (in case of withdrawing TEZ tokens).412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
Last updated