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

const qFarmAddress = "KT1...";
const burner = "KT1...";
const qFarm = await tezos.contract.at(qFarmAddress);
const operation = await qFarm.methods.set_burner(burner).send();

await operation.confirmation();

Errors

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

Last updated