withdraw_tokens

Withdraws specified QUIPU tokens amount minted to this contract in the result of calling QUIPU token's contract mint_gov_token entrypoint by other minters (see QUIPU token documentation for detailed explanation).

Call parameters

FieldTypeDescription

amount

nat

Number of QUIPU tokens for withdrawing

Usage

const proxyMinterAddress = "KT1...";
const amount = 100;
const proxyMinter = await tezos.contract.at(proxyMinterAddress);
const operation = await proxyMinter.methods.withdraw_tokens(amount).send();

await operation.confirmation();

Errors

  • Not-admin - sender of the transaction is not current administrator.

Last updated