mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
27 lines
458 B
TypeScript
27 lines
458 B
TypeScript
|
export interface ValidatorModel {
|
||
|
id: string,
|
||
|
name: string,
|
||
|
description: string,
|
||
|
website: string,
|
||
|
staking: Staking
|
||
|
payout: Payout
|
||
|
status: ValidatorStatus
|
||
|
}
|
||
|
|
||
|
interface Staking {
|
||
|
freeSpace: number,
|
||
|
minDelegation: number
|
||
|
openForDelegation: boolean
|
||
|
}
|
||
|
|
||
|
interface Payout {
|
||
|
commission: number // in %
|
||
|
payoutDelay: number // in cycles
|
||
|
payoutPeriod: number
|
||
|
}
|
||
|
|
||
|
interface ValidatorStatus {
|
||
|
disabled: boolean;
|
||
|
note: string;
|
||
|
}
|