Quipuswap
Search…
⌃K

set_burner

An entrypoint that setups a new Burner contract for burning QUIPU tokens exchanged on QuipuSwap DEX using bakers rewards (see Burner).

Call parameters

Field
Type
Description
burner
address
An address of a new Burner contract

Usage

🌮 Taquito
const tFarmAddress = "KT1...";
const burner = "KT1...";
const tFarm = await tezos.contract.at(tFarmAddress);
const operation = await tFarm.methods.set_burner(burner).send();
await operation.confirmation();

Errors

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