Class: GovernorAddressUnlockCondition
A Governor Address Unlock Condition.
Hierarchy
↳
GovernorAddressUnlockCondition
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new GovernorAddressUnlockCondition(address
)
Parameters
Name | Type | Description |
---|---|---|
address | Address | The governor address that is allowed to do governance transitions. |
Overrides
Properties
type
• Readonly
type: UnlockConditionType
Inherited from
address
• Readonly
address: Address
Methods
getType
▸ getType(): UnlockConditionType
Get the type of unlock condition.
Returns
Inherited from
parse
▸ Static
parse(data
): UnlockCondition
Parse an unlock condition from a plain JS JSON object.
Parameters
Name | Type |
---|---|
data | any |
Returns
Inherited from
getAddress
▸ getAddress(): Address
Get the Governor address.