Skip to main content

Class: GovernorAddressUnlockCondition

A Governor Address Unlock Condition.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new GovernorAddressUnlockCondition(address)

Parameters

NameTypeDescription
addressAddressThe governor address that is allowed to do governance transitions.

Overrides

UnlockCondition.constructor

Properties

type

Readonly type: UnlockConditionType

Inherited from

UnlockCondition.type


address

Readonly address: Address

Methods

getType

getType(): UnlockConditionType

Get the type of unlock condition.

Returns

UnlockConditionType

Inherited from

UnlockCondition.getType


parse

Static parse(data): UnlockCondition

Parse an unlock condition from a plain JS JSON object.

Parameters

NameType
dataany

Returns

UnlockCondition

Inherited from

UnlockCondition.parse


getAddress

getAddress(): Address

Get the Governor address.

Returns

Address