// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order /* eslint-disable sort-keys */ export default { Address: 'AccountId', LookupSource: 'AccountId', BalanceInfo: 'Null', BalanceLock: { id: 'LockIdentifier', lockFor: 'LockFor', LockReasons: 'Reasons', amount: 'Balance', reasons: 'Reasons' }, LockFor: { _enum: { Common: 'Common', Staking: 'StakingLock' } }, Common: { amount: 'Balance' }, StakingLock: { stakingAmount: 'Balance', unbondings: 'Vec' }, Reasons: { _enum: ['Fee', 'Misc', 'All'] }, Unbonding: { amount: 'Balance', moment: 'BlockNumber' }, AccountData: { free: 'Balance', reserved: 'Balance', freeKton: 'Balance', reservedKton: 'Balance', miscFrozen: 'Balance', feeFrozen: 'Balance' }, RingBalance: 'Balance', KtonBalance: 'Balance', TsInMs: 'u64', Power: 'u32', DepositId: 'U256', StakingBalanceT: { _enum: { RingBalance: 'Balance', KtonBalance: 'Balance' } }, StakingLedgerT: { stash: 'AccountId', activeRing: 'Compact', activeDepositRing: 'Compact', activeKton: 'Compact', depositItems: 'Vec', ringStakingLock: 'StakingLock', ktonStakingLock: 'StakingLock', claimedRewards: 'Vec', total: 'Compact', active: 'Compact', unlocking: 'Vec' }, TimeDepositItem: { value: 'Compact', startTime: 'Compact', expireTime: 'Compact' }, ExposureT: { ownRingBalance: 'Compact', ownKtonBalance: 'Compact', ownPower: 'Power', totalPower: 'Power', others: 'Vec' }, Exposure: 'ExposureT', IndividualExposure: { who: 'AccountId', ringBalance: 'Compact', ktonBalance: 'Compact', power: 'Power' }, ElectionResultT: { electedStashes: 'Vec', exposures: 'Vec<(AccountId, ExposureT)>', compute: 'ElectionCompute' }, RKT: { r: 'Balance', k: 'Balance' }, SpanRecord: { slashed: 'RKT', paidOut: 'RKT' }, UnappliedSlash: { validator: 'AccountId', own: 'RKT', others: 'Vec<(AccountId, RKT)>', reporters: 'Vec', payout: 'RKT' }, TreasuryProposal: { proposer: 'AccountId', beneficiary: 'AccountId', ringValue: 'Balance', ktonValue: 'Balance', ringBond: 'Balance', ktonBond: 'Balance' }, MappedRing: 'u128', EthereumTransactionIndex: '(H256, u64)', EthereumBlockNumber: 'u64', EthereumHeader: { parent_hash: 'H256', timestamp: 'u64', number: 'EthereumBlockNumber', author: 'EthereumAddress', 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' }, EthereumAddress: 'H160', Bloom: '[u8; 256; Bloom]', H128: '[u8; 16; H128]', EthashProof: { dagNodes: '(H512, H512)', proof: 'Vec' }, EthereumReceipt: { gasUsed: 'U256', logBloom: 'Bloom', logs: 'Vec', outcome: 'TransactionOutcome' }, LogEntry: {}, TransactionOutcome: {}, EthereumNetworkType: { _enum: { Mainnet: null, Ropsten: null } }, RedeemFor: { _enum: { Token: null, Deposit: null } }, EthereumReceiptProof: { index: 'u64', proof: 'Bytes', headerHash: 'H256' }, EthereumReceiptProofThing: '(EthereumHeader, EthereumReceiptProof, MMRProof)', MMRProof: { memberLeafIndex: 'u64', lastLeafIndex: 'u64', proof: 'Vec' }, EthereumRelayHeaderParcel: { header: 'EthereumHeader', mmrRoot: 'H256' }, EthereumRelayProofs: { ethashProof: 'Vec', mmrProof: 'Vec' }, OtherSignature: { _enum: { Eth: 'EcdsaSignature', Tron: 'EcdsaSignature' } }, EcdsaSignature: '[u8; 65; EcdsaSignature]', TronAddress: 'EthereumAddress', OtherAddress: { _enum: { Eth: 'EthereumAddress', Tron: 'TronAddress' } }, AddressT: '[u8; 20; AddressT]', MerkleMountainRangeRootLog: { prefix: '[u8; 4; Prefix]', ParentMmrRoot: 'Hash' }, ChainProperties: { ss58Format: 'Option', tokenDecimals: 'Option', tokenSymbol: 'Option', ktonTokenDecimals: 'Option', ktonTokenSymbol: 'Option' }, AccountInfo: { nonce: 'Index', refcount: 'RefCount', data: 'AccountData' }, ProxyDefinition: { delegate: 'AccountId', proxyType: 'ProxyType', delay: 'BlockNumber' }, ProxyType: { _enum: { Any: null, NonTransfer: null, Governance: null, Staking: null, IdentityJudgement: null, EthereumBridge: null } }, ProxyAnnouncement: { real: 'AccountId', callHash: 'Hash', height: 'BlockNumber' }, Announcement: 'ProxyAnnouncement', RelayHeaderId: 'EthereumBlockNumber', RelayHeaderParcel: 'EthereumRelayHeaderParcel', RelayProofs: 'EthereumRelayProofs', RelayAffirmationId: { relayHeaderId: 'EthereumBlockNumber', round: 'u32', index: 'u32' }, RelayAffirmationT: { relayer: 'AccountId', relayHeaderParcels: 'EthereumRelayHeaderParcel', bond: 'Balance', maybeExtendedRelayAffirmationId: 'Option', verified: 'bool' }, RelayVotingState: { ayes: 'Vec', nays: 'Vec' }, PowerOf: { power: 'Power' }, Signer: 'EthereumAddress', RelayAuthorityT: { accountId: 'AccountId', signer: 'Signer', stake: 'Balance', term: 'BlockNumber' }, MMRRoot: 'Hash', EcdsaAddress: 'EthereumAddress', EcdsaMessage: 'H256', RelayAuthoritySigner: 'EcdsaAddress', RelayAuthorityMessage: 'EcdsaMessage', RelayAuthoritySignature: 'EcdsaSignature', Term: 'u32' };