Skip to main content

ContractOwner class

Encodes and decodes Contract functions

Signature:

export declare class ContractOwner<TContract extends Ownable> implements DetectableFeature

Implements: DetectableFeature

Constructors

ConstructorModifiersDescription
(constructor)(contractWrapper)Constructs a new instance of the ContractOwner class

Properties

PropertyModifiersTypeDescription
featureName"Ownable"

Methods

MethodModifiersDescription
get()Return the current owner of the contract
set(address)Set the new owner of the contract