set_proxy_minter

An entrypoint that setups a new ProxyMinter contract for minting QUIPU reward tokens for those who staked their tokens in farmings (see ProxyMinter).

Call parameters

FieldTypeDescription

proxy_minter

address

An address of a new ProxyMinter contract

Usage

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

await operation.confirmation();

Errors

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

Last updated