ContractOwner
Encodes and decodes Contract functions
class ContractOwner implements DetectableFeature {}
function constructor( contractWrapper: ContractWrapper<Ownable>,
Get the current owner of the contract
await contract.owner.get();console.log("Owner address: ", ownerAddress);
function get(): Promise<string>;
function set(address: string): Promise<TResult>;
Preparable
You can also prepare the transaction without executing it by calling set.prepare()
with same arguments. Learn more
let featureName: "Ownable";