setProxyAdmin

address -> storage.admin

Sets address value to storage admin.

Usage

const newAdmin = "tz1...";
const proxy = await tezos.contract.at(proxyAddress);
const operation = await proxy.methods.setProxyAdmin(newAdmin).send();
await operation.confirmation();

Last updated