set_baker_registry
Last updated
An entrypoint that setups a new BakerRegistry contract for bakers validation and registration in time of voting (see BakerRegistry).
baker_registry
address
An address of a new BakerRegistry contract
const qFarmAddress = "KT1...";
const bakerRegistry = "KT1...";
const qFarm = await tezos.contract.at(qFarmAddress);
const operation = await qFarm.methods.set_baker_registry(bakerRegistry).send();
await operation.confirmation();Not-admin - sender of the transaction is not current administrator.
Last updated