burn_bid_fee

An entrypoint that burns fee in QuipuSwap Governance tokens which was deducted from users' bids.

Burning means that all QUIPU tokens are transferred to the zero_address.

zero_address is the account address that no one has access to: tz1ZZZZZZZZZZZZZZZZZZZZZZZZZZZZNkiRg

Call parameters

type burn_bid_fee_t     is unit

Usage

const auctionAddress = "KT1...";
const auction = await tezos.contract.at(auctionAddress);
const operation = await auction.methods.burn_bid_fee([]).send();

await operation.confirmation();

Errors

  • 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