Last updated 3 years ago
An entrypoint that setups a new BakerRegistry contract for bakers validation and registration in time of voting (see ).
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.
Not-admin
sender