UNPKG

@acala-network/types

Version:

Acala types for @polkadot/api

62 lines (61 loc) 1.81 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { rpc: { getAvailableUnbonded: { description: 'Get Available Unbonded', params: [ { name: 'account', type: 'AccountId', }, ], type: 'BalanceInfo', }, getLiquidStakingExchangeRate: { description: 'get liquid staking exchange rate', params: [], type: 'ExchangeRate', }, }, types: { SubAccountStatus: { bonded: 'Balance', available: 'Balance', unbonding: 'Vec<(EraIndex,Balance)>', mockRewardRate: 'Rate', }, Params: { targetMaxFreeUnbondedRatio: 'Ratio', targetMinFreeUnbondedRatio: 'Ratio', targetUnbondingToFreeRatio: 'Ratio', unbondingToFreeAdjustment: 'Ratio', baseFeeRate: 'Rate', }, StakingPoolPhase: { _enum: ['Started', 'RelaychainUpdated', 'LedgerUpdated', 'Finished'], }, Ledger: { bonded: 'Balance', unbondingToFree: 'Balance', freePool: 'Balance', toUnbondNextEra: '(Balance, Balance)', }, ChangeRate: { _enum: { NoChange: 'Null', NewValue: 'Rate', }, }, ChangeRatio: { _enum: { NoChange: 'Null', NewValue: 'Ratio', }, }, BalanceInfo: { amount: 'Balance' }, PolkadotAccountId: 'AccountId', PolkadotAccountIdOf: 'PolkadotAccountId', }, typesAlias: { stakingPool: { Phase: 'StakingPoolPhase' } }, };