// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@pezkuwi/types/types'; /* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { types: [ { // on all versions minmax: [0, undefined], types: { GatewayVendor: { _enum: ['Bizinikiwi', 'Ethereum'] }, GatewayType: { _enum: { ProgrammableInternal: 'u32', ProgrammableExternal: 'u32', TxOnly: 'u32' } }, GatewayGenesisConfig: { modules_encoded: 'Option', extrinsics_version: 'u8', genesis_hash: 'Bytes' }, GatewaySysProps: { ss58_format: 'u16', token_symbol: 'Bytes', token_decimals: 'u8' }, AllowedSideEffect: '[u8; 4]', BlockNumber: 'u64', Compose: { name: 'Vec', code_txt: 'Vec', exec_type: 'Vec', dest: 'AccountId', value: 'Balance', bytes: 'Vec', input_data: 'Vec' }, CircuitOutboundMessage: { name: 'Bytes', module_name: 'Bytes', method_name: 'Bytes', sender: 'Option', target: 'Option', arguments: 'Vec', expected_output: 'Vec', extra_payload: 'Option' }, GatewayExpectedOutput: { _enum: { Storage: null, Events: null, Extrinsic: null, Output: null } }, ProofTriePointer: { _enum: { State: 0, Transaction: 1, Receipts: 2 } }, GatewayPointer: { id: 'ChainId', vendor: 'GatewayVendor', gateway_type: 'GatewayType' }, ExtraMessagePayload: { signer: 'Bytes', module_name: 'Bytes', method_name: 'Bytes', call_bytes: 'Bytes', signature: 'Bytes', extra: 'Bytes', tx_signed: 'Bytes', custom_payload: 'Option' }, ContractActionDesc: { action_id: 'Hash', target_id: 'Option', to: 'Option' }, TargetId: '[u8; 4]', SideEffect: { target: 'TargetId', prize: 'BalanceOf', ordered_at: 'BlockNumber', encoded_action: 'Bytes', encoded_args: 'Vec', signature: 'Bytes', enforce_executioner: 'Option' }, SideEffectId: 'Hash', ConfirmedSideEffect: { err: 'Option', output: 'Option', encoded_effect: 'Bytes', inclusion_proof: 'Option', executioner: 'AccountId', received_at: 'BlockNumber', cost: 'Option' }, FullSideEffect: { input: 'SideEffect', confirmed: 'Option' }, XtxId: 'Hash', XdnsRecordId: 'Hash', XdnsRecord: { url: 'Vec', gateway_abi: 'GatewayABIConfig', gateway_genesis: 'GatewayGenesisConfig', gateway_vendor: 'GatewayVendor', gateway_type: 'GatewayType', gateway_id: 'ChainId', gateway_sys_props: 'GatewaySysProps', registrant: 'Option', last_finalized: 'Option' }, FetchXdnsRecordsResponse: { xdns_records: 'Vec>' }, ChainId: '[u8; 4]', RegistryContractId: 'Hash', RegistryContract: { code_txt: 'Vec', bytes: 'Vec', author: 'AccountId', author_fees_per_single_use: 'Option', abi: 'Option>', action_descriptions: 'Vec>', info: 'Option>', meta: 'ContractMetadata' }, RawAliveContractInfo: { trie_id: 'TrieId', storage_size: 'u32', pair_count: 'u32', code_hash: 'CodeHash', rent_allowance: 'Balance', rent_paid: 'Balance', deduct_block: 'BlockNumber', last_write: 'Option', _reserved: 'Option<()>' }, Address: 'MultiAddress', LookupSource: 'MultiAddress', DispatchMessageId: { channelId: 'ChannelId', nonce: 'u64' }, ChannelId: { _enum: ['Basic', 'Incentivized'] }, MessageNonce: 'u64', Message: { data: 'Vec', proof: 'Proof' }, Proof: { blockHash: 'H256', txIndex: 'u32', data: '(Vec>, Vec>)' }, EthereumHeaderId: { number: 'u64', hash: 'H256' }, EthereumHeader: { parentHash: 'H256', timestamp: 'u64', number: 'u64', author: 'H160', transactionsRoot: 'H256', ommersHash: 'H256', extraData: 'Vec', stateRoot: 'H256', receiptsRoot: 'H256', logBloom: 'Bloom', gasUsed: 'U256', gasLimit: 'U256', difficulty: 'U256', seal: 'Vec>', baseFee: 'Option' }, StoredHeader: { submitter: 'Option', header: 'EthereumHeader', totalDifficulty: 'U256', finalized: 'bool' }, EthashProofData: { dagNodes: '[H512; 2]', proof: 'Vec' }, Bloom: '[u8; 256]', PruningRange: { oldestUnprunedBlock: 'u64', oldestBlockToKeep: 'u64' }, EthereumDifficultyConfig: { byzantiumForkBlock: 'u64', constantinopleForkBlock: 'u64', muirGlacierForkBlock: 'u64', londonForkBlock: 'u64' }, AssetId: { _enum: { ETH: null, Token: 'H160' } }, TokenId: 'u128', TokenData: { tokenContract: 'H160', tokenId: 'U256' }, TokenInfoOf: { owner: 'AccountId', metadata: 'Vec', data: 'TokenData' }, GatewayABIConfig: { block_number_type_size: 'u16', hash_size: 'u16', hasher: 'HasherAlgo', crypto: 'CryptoAlgo', address_length: 'u16', value_type_size: 'u16', decimals: 'u16', structs: 'Vec' }, HasherAlgo: { _enum: ['Blake2', 'Keccak256'] }, CryptoAlgo: { _enum: ['Ed25519', 'Sr25519', 'Ecdsa'] }, StructDecl: { name: 'Type', fields: 'Vec', offsets: 'Vec' }, TeyrChain: { relay_chain_id: 'ChainId', id: 'u32' } } } ] }; export default definitions;