// Copyright 2017-2020 @polkadot/apps-config authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. // structs need to be in order /* eslint-disable sort-keys */ export default { Address: 'AccountId', LookupSource: 'AccountId', BalanceLock: { id: 'LockIdentifier', lock_for: 'LockFor', lock_reasons: 'LockReasons', amount: 'Balance', reasons: 'Reasons' }, LockFor: { _enum: { Common: 'Common', Staking: 'StakingLock' } }, Common: { amount: 'Balance' }, StakingLock: { staking_amount: 'Balance', unbondings: 'Vec' }, LockReasons: { _enum: { Fee: null, Misc: null, All: null } }, Unbonding: { amount: 'Balance', until: 'BlockNumber' }, AccountData: { free: 'Balance', reserved: 'Balance', free_kton: 'Balance', reserved_kton: 'Balance', misc_frozen: 'Balance', fee_frozen: 'Balance' }, RingBalance: 'Balance', KtonBalance: 'Balance', TsInMs: 'u64', Power: 'u32', DepositId: 'U256', StakingBalanceT: { _enum: { RingBalance: 'Balance', KtonBalance: 'Balance' } }, StakingLedgerT: { stash: 'AccountId', active_ring: 'Compact', active_deposit_ring: 'Compact', active_kton: 'Compact', deposit_items: 'Vec', ring_staking_lock: 'StakingLock', kton_staking_lock: 'StakingLock', claimed_rewards: 'Vec', total: 'Compact', active: 'Compact', unlocking: 'Vec' }, TimeDepositItem: { value: 'Compact', start_time: 'Compact', expire_time: 'Compact' }, RewardDestination: { _enum: { Staked: 'Staked', Stash: null, Controller: null } }, Staked: { promise_month: 'u8' }, ExposureT: { own_ring_balance: 'Compact', own_kton_balance: 'Compact', own_power: 'Power', total_power: 'Power', others: 'Vec', total: 'Compact', own: 'Compact' }, IndividualExposure: { who: 'AccountId', ring_balance: 'Compact', kton_balance: 'Compact', power: 'Power', value: 'Compact' }, ElectionResultT: { elected_stashes: 'Vec', exposures: 'Vec<(AccountId, ExposureT)>', compute: 'ElectionCompute' }, RKT: { r: 'Balance', k: 'Balance' }, SpanRecord: { slashed: 'RKT', paid_out: 'RKT' }, UnappliedSlash: { validator: 'AccountId', own: 'RKT', others: 'Vec<(AccountId, RKT)>', reporters: 'Vec', payout: 'RKT' }, TreasuryProposal: { proposer: 'AccountId', beneficiary: 'AccountId', ring_value: 'Balance', kton_value: 'Balance', ring_bond: 'Balance', kton_bond: 'Balance', value: 'Balance', bond: 'Balance' }, EthTransactionIndex: '(H256, u64)', EthHeaderBrief: { total_difficulty: 'U256', parent_hash: 'H256', number: 'EthBlockNumber', relayer: 'AccountId' }, EthBlockNumber: 'u64', EthHeaderThing: { eth_header: 'EthHeader', ethash_proof: 'Vec', mmr_root: 'MMRHash', mmr_proof: 'Vec' }, EthHeader: { parent_hash: 'H256', timestamp: 'u64', number: 'EthBlockNumber', author: 'EthAddress', transactions_root: 'H256', uncles_hash: 'H256', extra_data: 'Bytes', state_root: 'H256', receipts_root: 'H256', log_bloom: 'Bloom', gas_used: 'U256', gas_limit: 'U256', difficulty: 'U256', seal: 'Vec', hash: 'Option' }, EthAddress: 'H160', Bloom: '[u8; 256; Bloom]', H128: '[u8; 16; H128]', EthashProof: { dag_nodes: '(H512, H512)', proof: 'Vec' }, Receipt: { gas_used: 'U256', log_bloom: 'Bloom', logs: 'Vec', outcome: 'TransactionOutcome' }, EthereumNetworkType: { _enum: { Mainnet: null, Ropsten: null } }, RedeemFor: { _enum: { Ring: null, Kton: null, Deposit: null } }, EthereumReceiptProof: { index: 'u64', proof: 'Bytes', header_hash: 'H256' }, MMRProof: 'Vec', OtherSignature: { _enum: { Eth: 'EcdsaSignature', Tron: 'EcdsaSignature' } }, EcdsaSignature: '[u8; 65; EcdsaSignature]', OtherAddress: { _enum: { Eth: '[u8; 20; EthereumAddress]', Tron: '[u8; 20; TronAddress]' } }, AddressT: '[u8; 20; AddressT]', MerkleMountainRangeRootLog: { prefix: '[u8; 4; Prefix]', mmr_root: 'Hash' }, Round: 'u64', TcBlockNumber: 'Vec', TcHeaderHash: 'Vec', TcHeaderMMR: 'Vec', MMRHash: 'Vec', GameId: 'TcBlockNumber', RawHeaderThing: 'Vec', BalancesRuntimeDispatchInfo: { usable_balance: 'Balance' }, StakingRuntimeDispatchInfo: { power: 'Power' } };