UNPKG

@acala-network/types

Version:

Acala types for @polkadot/api

19 lines (18 loc) 660 B
import type { AccountId, Balance } from '@acala-network/types/interfaces/runtime'; import type { Struct, Vec } from '@polkadot/types-codec'; import type { EraIndex } from '@polkadot/types/interfaces/staking'; /** @name BondingLedger */ export interface BondingLedger extends Struct { readonly total: Balance; readonly active: Balance; readonly unlocking: Vec<HomaUnlockChunk>; } /** @name HomaUnlockChunk */ export interface HomaUnlockChunk extends Struct { readonly value: Balance; readonly era: EraIndex; } /** @name NomineeId */ export interface NomineeId extends AccountId { } export type PHANTOM_NOMINEESELECTION = 'nomineesElection';