Class: ReceiptMilestoneOption
A Receipt milestone option.
Hierarchy
↳
ReceiptMilestoneOption
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ReceiptMilestoneOption(migratedAt
, final
, funds
, transaction
)
Parameters
Name | Type | Description |
---|---|---|
migratedAt | number | The milestone index at which the funds were migrated in the legacy network. |
final | boolean | Whether this Receipt is the final one for a given migrated at index. |
funds | MigratedFunds [] | The funds which were migrated. |
transaction | TreasuryTransactionPayload | The Treasury Transaction used to provide the funds. |
Overrides
Properties
type
• Readonly
type: MilestoneOptionType
Inherited from
migratedAt
• migratedAt: number
The milestone index at which the funds were migrated in the legacy network.
final
• final: boolean
Whether this Receipt is the final one for a given migrated at index.
funds
• funds: MigratedFunds
[]
The funds which were migrated.
transaction
• transaction: TreasuryTransactionPayload
The Treasury Transaction used to provide the funds.
Methods
getType
▸ getType(): MilestoneOptionType
Get the type of milestone option.