Interface: Stake
Stake Record.
Hierarchy
-
↳
Stake
Properties
amount
• Readonly
amount: number
Amount of tokens staked and locked
billPaymentId
• Readonly
billPaymentId: string
Bill Payment ID Transaction
createdBy
• Optional
createdBy: string
Member UID Member
Inherited from
createdOn
• Optional
createdOn: Timestamp
Date/time it was created on.
Inherited from
customMetadata
• Optional
Readonly
customMetadata: Object
Custom metadata recorded with the stake.
Index signature
▪ [key: string
]: string
expiresAt
• Readonly
expiresAt: Timestamp
Expires on.
member
• Readonly
member: string
Member UID Member
orderId
• Readonly
orderId: string
Transaction order ID Transaction
space
• Readonly
space: string
Space UID Space
token
• Readonly
token: string
Token UID Token
type
• Readonly
type: StakeType
Stake Type
updatedOn
• Optional
updatedOn: Timestamp
Date/time it was updated on.
Inherited from
value
• Readonly
value: number
Calculated stake value based on amount of tokens X period
weeks
• Readonly
weeks: number
Number of weeks token is staked for