updateAdmin

address -> storage.admin

Sets address value to storage admin.

Usage

const newAdmin = "tz1...";
const interest = await tezos.contract.at(interestModelAddress);
const operation = await interest.methods.updateAdmin(newAdmin).send();
await operation.confirmation();

Last updated