From c963fe2f65e1236f607bff2c65ced3be1c05b317 Mon Sep 17 00:00:00 2001 From: Alexey Kalita Date: Thu, 12 May 2022 17:29:19 +0300 Subject: [PATCH] Release version 33 --- custom_types.json | 3827 +++++++++++++++++++++++---------------------- 1 file changed, 1914 insertions(+), 1913 deletions(-) diff --git a/custom_types.json b/custom_types.json index 05a265a..9d8046d 100644 --- a/custom_types.json +++ b/custom_types.json @@ -1,1917 +1,1918 @@ { - "runtime_id": 22, - "versioning": [ - { - "runtime_range": [ - 1, - null - ], - "types": { - "String": "Text", - "FixedU128": "u128", - "U256": "u256", - "Sr25519Public": "[u8; 32]", - "SessionKeys2": "(Sr25519Public, Sr25519Public)", - "SessionKeys3": "(Sr25519Public, Sr25519Public, Sr25519Public)", - "Address": "AccountIdAddress", - "Amount": "i128", - "AmountOf": "Amount", - "AssetId32": "[u8; 32]", - "AssetId": "AssetId32", - "AssetIdOf": "AssetId", - "AssetInfo": { - "type": "struct", - "type_mapping": [ - [ - "asset_id", - "AssetId" - ], - [ - "symbol", - "AssetSymbolStr" - ], - [ - "name", - "AssetNameStr" - ], - [ - "precision", - "u8" - ], - [ - "is_mintable", - "bool" - ] - ] - }, - "AssetKind": { - "type": "enum", - "value_list": [ - "Thischain", - "Sidechain", - "SidechainOwned" - ] - }, - "AssetName": "Vec", - "AssetNameStr": "String", - "AssetRecord": "Null", - "AssetSymbol": "Vec", - "AssetSymbolStr": "String", - "Balance": "u128", - "BalanceInfo": { - "type": "struct", - "type_mapping": [ - [ - "balance", - "Balance" - ] - ] - }, - "BalancePrecision": "u8", - "BasisPoints": "u16", - "BridgeNetworkId": "u32", - "NetworkId": "BridgeNetworkId", - "BridgeStatus": { - "type": "enum", - "value_list": [ - "Initialized", - "Migrating" - ] - }, - "BridgeTimepoint": { - "type": "struct", - "type_mapping": [ - [ - "height", - "MultiChainHeight" - ], - [ - "index", - "u32" - ] - ] - }, - "ChangePeersContract": { - "type": "enum", - "value_list": [ - "XOR", - "VAL" - ] - }, - "ChargeFeeInfo": { - "type": "struct", - "type_mapping": [ - [ - "tip", - "Compact" - ], - [ - "target_asset_id", - "AssetId" - ] - ] - }, - "ContentSource": "Text", - "ContributionInfo": { - "type": "struct", - "type_mapping": [ - [ - "funds_contributed", - "Balance" - ], - [ - "tokens_bought", - "Balance" - ], - [ - "tokens_claimed", - "Balance" - ], - [ - "claiming_finished", - "bool" - ], - [ - "number_of_claims", - "u32" - ] - ] - }, - "CurrencyId": "AssetId", - "CurrencyIdEncoded": { - "type": "enum", - "type_mapping": [ - [ - "AssetId", - "H256" - ], - [ - "TokenAddress", - "H160" - ] - ] - }, - "CurrencyIdOf": "AssetId", - "T::AccountId": "AccountId", - "CustomInfo": { - "type": "struct", - "type_mapping": [ - [ - "amount", - "Balance" - ] - ] - }, - "DEXId": "u32", - "DEXIdOf": "DEXId", - "DEXInfo": { - "type": "struct", - "type_mapping": [ - [ - "base_asset_id", - "AssetId" - ], - [ - "default_fee", - "BasisPoints" - ], - [ - "default_protocol_fee", - "BasisPoints" - ] - ] - }, - "Description": "Text", - "DispatchErrorWithPostInfoTPostDispatchInfo": { - "type": "struct", - "type_mapping": [ - [ - "post_info", - "PostDispatchInfo" - ], - [ - "error", - "DispatchError" - ] - ] - }, - "DispatchResultWithPostInfo": { - "type": "enum", - "type_mapping": [ - [ - "Ok", - "PostDispatchInfo" - ], - [ - "Err", - "DispatchErrorWithPostInfoTPostDispatchInfo" - ] - ] - }, - "DistributionAccounts": "Null", - "Duration": "Null", - "EthBridgeStorageVersion": { - "type": "enum", - "value_list": [ - "V1", - "V2RemovePendingTransfers" - ] - }, - "EthPeersSync": { - "type": "struct", - "type_mapping": [ - [ - "is_bridge_ready", - "bool" - ], - [ - "is_xor_ready", - "bool" - ], - [ - "is_val_ready", - "bool" - ] - ] - }, - "Farm": "Null", - "FarmId": "u64", - "Farmer": "Null", - "FilterMode": { - "type": "enum", - "value_list": [ - "Disabled", - "ForbidSelected", - "AllowSelected" - ] - }, - "Fixed": "FixedU128", - "FixedBytes": "Vec", - "HolderId": "AccountId", - "ILOInfo": { - "type": "struct", - "type_mapping": [ - [ - "ilo_organizer", - "AccountId" - ], - [ - "tokens_for_ilo", - "Balance" - ], - [ - "tokens_for_liquidity", - "Balance" - ], - [ - "ilo_price", - "Balance" - ], - [ - "soft_cap", - "Balance" - ], - [ - "hard_cap", - "Balance" - ], - [ - "min_contribution", - "Balance" - ], - [ - "max_contribution", - "Balance" - ], - [ - "refund_type", - "bool" - ], - [ - "liquidity_percent", - "Balance" - ], - [ - "listing_price", - "Balance" - ], - [ - "lockup_days", - "u32" - ], - [ - "start_block", - "BlockNumber" - ], - [ - "end_block", - "BlockNumber" - ], - [ - "token_vesting", - "VestingInfo" - ], - [ - "sold_tokens", - "Balance" - ], - [ - "funds_raised", - "Balance" - ], - [ - "succeeded", - "bool" - ], - [ - "failed", - "bool" - ], - [ - "lp_tokens", - "Balance" - ], - [ - "claimed_lp_tokens", - "bool" - ], - [ - "finish_block", - "BlockNumber" - ] - ] - }, - "IncomingAddToken": { - "type": "struct", - "type_mapping": [ - [ - "token_address", - "EthereumAddress" - ], - [ - "asset_id", - "AssetId" - ], - [ - "precision", - "BalancePrecision" - ], - [ - "symbol", - "AssetSymbol" - ], - [ - "name", - "AssetName" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingCancelOutgoingRequest": { - "type": "struct", - "type_mapping": [ - [ - "outgoing_request", - "OutgoingRequest" - ], - [ - "outgoing_request_hash", - "H256" - ], - [ - "initial_request_hash", - "H256" - ], - [ - "tx_input", - "Vec" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingChangePeers": { - "type": "struct", - "type_mapping": [ - [ - "peer_account_id", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "added", - "bool" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingChangePeersCompat": { - "type": "struct", - "type_mapping": [ - [ - "peer_account_id", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "added", - "bool" - ], - [ - "contract", - "ChangePeersContract" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingMarkAsDoneRequest": { - "type": "struct", - "type_mapping": [ - [ - "outgoing_request_hash", - "H256" - ], - [ - "initial_request_hash", - "H256" - ], - [ - "author", - "AccountId" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingMetaRequestKind": { - "type": "enum", - "value_list": [ - "CancelOutgoingRequest", - "MarkAsDone" - ] - }, - "IncomingMigrate": { - "type": "struct", - "type_mapping": [ - [ - "new_contract_address", - "EthereumAddress" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingPrepareForMigration": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "IncomingRequest": { - "type": "enum", - "type_mapping": [ - [ - "Transfer", - "IncomingTransfer" - ], - [ - "AddToken", - "IncomingAddToken" - ], - [ - "ChangePeers", - "IncomingChangePeers" - ], - [ - "CancelOutgoingRequest", - "IncomingCancelOutgoingRequest" - ], - [ - "MarkAsDone", - "IncomingMarkAsDoneRequest" - ], - [ - "PrepareForMigration", - "IncomingPrepareForMigration" - ], - [ - "Migrate", - "IncomingMigrate" - ] - ] - }, - "IncomingRequestKind": { - "type": "enum", - "type_mapping": [ - [ - "Transaction", - "IncomingTransactionRequestKind" - ], - [ - "Meta", - "IncomingMetaRequestKind" - ] - ] - }, - "IncomingTransactionRequestKind": { - "type": "enum", - "value_list": [ - "Transfer", - "AddAsset", - "AddPeer", - "RemovePeer", - "PrepareForMigration", - "Migrate", - "AddPeerCompat", - "RemovePeerCompat", - "TransferXOR" - ] - }, - "IncomingTransfer": { - "type": "struct", - "type_mapping": [ - [ - "from", - "EthereumAddress" - ], - [ - "to", - "AccountId" - ], - [ - "asset_id", - "AssetId" - ], - [ - "asset_kind", - "AssetKind" - ], - [ - "amount", - "Balance" - ], - [ - "author", - "AccountId" - ], - [ - "tx_hash", - "H256" - ], - [ - "at_height", - "u64" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "Keys": "SessionKeys3", - "LPRewardsInfo": { - "type": "struct", - "type_mapping": [ - [ - "amount", - "Balance" - ], - [ - "currency", - "AssetId" - ], - [ - "reason", - "RewardReason" - ] - ] - }, - "LPSwapOutcomeInfo": { - "type": "struct", - "type_mapping": [ - [ - "amount", - "Balance" - ], - [ - "fee", - "Balance" - ], - [ - "rewards", - "Vec" - ], - [ - "amount_without_impact", - "Balance" - ] - ] - }, - "LiquiditySourceType": { - "type": "enum", - "value_list": [ - "XYKPool", - "BondingCurvePool", - "MulticollateralBondingCurvePool", - "MockPool", - "MockPool2", - "MockPool3", - "MockPool4", - "XSTPool" - ] - }, - "LoadIncomingMetaRequest": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "hash", - "H256" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "kind", - "IncomingMetaRequestKind" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "LoadIncomingRequest": { - "type": "enum", - "type_mapping": [ - [ - "Transaction", - "LoadIncomingTransactionRequest" - ], - [ - "Meta", - "(LoadIncomingMetaRequest, H256)" - ] - ] - }, - "LoadIncomingTransactionRequest": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "hash", - "H256" - ], - [ - "timepoint", - "BridgeTimepoint" - ], - [ - "kind", - "IncomingTransactionRequestKind" - ], - [ - "network_id", - "BridgeNetworkId" - ] - ] - }, - "LockInfo": { - "type": "struct", - "type_mapping": [ - [ - "pool_tokens", - "Balance" - ], - [ - "unlocking_block", - "BlockNumber" - ], - [ - "asset_a", - "AssetId" - ], - [ - "asset_b", - "AssetId" - ] - ] - }, - "LookupSource": "AccountId", - "MarketMakerInfo": { - "type": "struct", - "type_mapping": [ - [ - "count", - "u32" - ], - [ - "volume", - "Balance" - ] - ] - }, - "Mode": { - "type": "enum", - "value_list": [ - "Permit", - "Forbid" - ] - }, - "MultiChainHeight": { - "type": "enum", - "type_mapping": [ - [ - "Thischain", - "BlockNumber" - ], - [ - "Sidechain", - "u64" - ] - ] - }, - "MultiCurrencyBalance": "Balance", - "MultiCurrencyBalanceOf": "MultiCurrencyBalance", - "MultisigAccount": { - "type": "struct", - "type_mapping": [ - [ - "signatories", - "Vec" - ], - [ - "threshold", - "u8" - ] - ] - }, - "OffchainRequest": { - "type": "enum", - "type_mapping": [ - [ - "Outgoing", - "(OutgoingRequest, H256)" - ], - [ - "LoadIncoming", - "LoadIncomingRequest" - ], - [ - "Incoming", - "(IncomingRequest, H256)" - ] - ] - }, - "OracleKey": "AssetId", - "OutgoingAddAsset": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "asset_id", - "AssetId" - ], - [ - "supply", - "Balance" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingAddAssetEncoded": { - "type": "struct", - "type_mapping": [ - [ - "name", - "String" - ], - [ - "symbol", - "String" - ], - [ - "decimal", - "u8" - ], - [ - "supply", - "U256" - ], - [ - "sidechain_asset_id", - "FixedBytes" - ], - [ - "hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingAddPeer": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "peer_account_id", - "AccountId" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingAddPeerCompat": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "peer_account_id", - "AccountId" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingAddPeerEncoded": { - "type": "struct", - "type_mapping": [ - [ - "peer_address", - "EthereumAddress" - ], - [ - "tx_hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingAddToken": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "token_address", - "EthereumAddress" - ], - [ - "ticker", - "String" - ], - [ - "name", - "String" - ], - [ - "decimals", - "u8" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingAddTokenEncoded": { - "type": "struct", - "type_mapping": [ - [ - "token_address", - "EthereumAddress" - ], - [ - "ticker", - "String" - ], - [ - "name", - "String" - ], - [ - "decimals", - "u8" - ], - [ - "hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingMigrate": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "new_contract_address", - "EthereumAddress" - ], - [ - "erc20_native_tokens", - "Vec" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingMigrateEncoded": { - "type": "struct", - "type_mapping": [ - [ - "this_contract_address", - "EthereumAddress" - ], - [ - "tx_hash", - "H256" - ], - [ - "new_contract_address", - "EthereumAddress" - ], - [ - "erc20_native_tokens", - "Vec" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingPrepareForMigration": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingPrepareForMigrationEncoded": { - "type": "struct", - "type_mapping": [ - [ - "this_contract_address", - "EthereumAddress" - ], - [ - "tx_hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingRemovePeer": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "peer_account_id", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingRemovePeerCompat": { - "type": "struct", - "type_mapping": [ - [ - "author", - "AccountId" - ], - [ - "peer_account_id", - "AccountId" - ], - [ - "peer_address", - "EthereumAddress" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingRemovePeerEncoded": { - "type": "struct", - "type_mapping": [ - [ - "peer_address", - "EthereumAddress" - ], - [ - "tx_hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OutgoingRequest": { - "type": "enum", - "type_mapping": [ - [ - "Transfer", - "OutgoingTransfer" - ], - [ - "AddAsset", - "OutgoingAddAsset" - ], - [ - "AddToken", - "OutgoingAddToken" - ], - [ - "AddPeer", - "OutgoingAddPeer" - ], - [ - "RemovePeer", - "OutgoingRemovePeer" - ], - [ - "PrepareForMigration", - "OutgoingPrepareForMigration" - ], - [ - "Migrate", - "OutgoingMigrate" - ] - ] - }, - "OutgoingRequestEncoded": { - "type": "enum", - "type_mapping": [ - [ - "Transfer", - "OutgoingTransferEncoded" - ], - [ - "AddAsset", - "OutgoingAddAssetEncoded" - ], - [ - "AddToken", - "OutgoingAddTokenEncoded" - ], - [ - "AddPeer", - "OutgoingAddPeerEncoded" - ], - [ - "RemovePeer", - "OutgoingRemovePeerEncoded" - ], - [ - "PrepareForMigration", - "OutgoingPrepareForMigrationEncoded" - ], - [ - "Migrate", - "OutgoingMigrateEncoded" - ] - ] - }, - "OutgoingTransfer": { - "type": "struct", - "type_mapping": [ - [ - "from", - "AccountId" - ], - [ - "to", - "EthereumAddress" - ], - [ - "asset_id", - "AssetId" - ], - [ - "amount", - "Balance" - ], - [ - "nonce", - "Index" - ], - [ - "network_id", - "BridgeNetworkId" - ], - [ - "timepoint", - "BridgeTimepoint" - ] - ] - }, - "OutgoingTransferEncoded": { - "type": "struct", - "type_mapping": [ - [ - "currency_id", - "CurrencyIdEncoded" - ], - [ - "amount", - "U256" - ], - [ - "to", - "EthereumAddress" - ], - [ - "from", - "EthereumAddress" - ], - [ - "tx_hash", - "H256" - ], - [ - "network_id", - "H256" - ], - [ - "raw", - "Vec" - ] - ] - }, - "OwnerId": "AccountId", - "PendingMultisigAccount": { - "type": "struct", - "type_mapping": [ - [ - "approving_accounts", - "Vec" - ], - [ - "migrate_at", - "Option" - ] - ] - }, - "Permission": "Null", - "PermissionId": "u32", - "PollInfo": { - "type": "struct", - "type_mapping": [ - [ - "number_of_options", - "u32" - ], - [ - "poll_start_block", - "BlockNumber" - ], - [ - "poll_end_block", - "BlockNumber" - ] - ] - }, - "PoolFarmer": { - "type": "struct", - "type_mapping": [ - [ - "account", - "AccountId" - ], - [ - "block", - "BlockNumber" - ], - [ - "weight", - "Balance" - ] - ] - }, - "PostDispatchInfo": { - "type": "struct", - "type_mapping": [ - [ - "actual_weight", - "Option" - ], - [ - "pays_fee", - "Pays" - ] - ] - }, - "PredefinedAssetId": { - "type": "enum", - "value_list": [ - "XOR", - "DOT", - "KSM", - "USDT", - "VAL", - "PSWAP", - "DAI", - "ETH", - "XSTUSD" - ] - }, - "PriceInfo": { - "type": "struct", - "type_mapping": [ - [ - "price_failures", - "u32" - ], - [ - "spot_prices", - "Vec" - ], - [ - "average_price", - "Balance" - ], - [ - "needs_update", - "bool" - ], - [ - "last_spot_price", - "Balance" - ] - ] - }, - "Public": "[u8; 33]", - "QuoteAmount": { - "type": "enum", - "type_mapping": [ - [ - "WithDesiredInput", - "QuoteWithDesiredInput" - ], - [ - "WithDesiredOutput", - "QuoteWithDesiredOutput" - ] - ] - }, - "QuoteWithDesiredInput": { - "type": "struct", - "type_mapping": [ - [ - "desired_amount_in", - "Balance" - ] - ] - }, - "QuoteWithDesiredOutput": { - "type": "struct", - "type_mapping": [ - [ - "desired_amount_out", - "Balance" - ] - ] - }, - "RefCount": "u32", - "RequestStatus": { - "type": "enum", - "value_list": [ - "Pending", - "Frozen", - "ApprovalsReady", - "Failed", - "Done" - ] - }, - "RewardInfo": { - "type": "struct", - "type_mapping": [ - [ - "limit", - "Balance" - ], - [ - "total_available", - "Balance" - ], - [ - "rewards", - "BTreeMap" - ] - ] - }, - "RewardReason": { - "type": "enum", - "value_list": [ - "Unspecified", - "BuyOnBondingCurve", - "LiquidityProvisionFarming", - "MarketMakerVolume" - ] - }, - "Scope": { - "type": "enum", - "type_mapping": [ - [ - "Limited", - "H512" - ], - [ - "Unlimited", - "Null" - ] - ] - }, - "SignatureParams": { - "type": "struct", - "type_mapping": [ - [ - "r", - "[u8; 32]" - ], - [ - "s", - "[u8; 32]" - ], - [ - "v", - "u8" - ] - ] - }, - "SmoothPriceState": "Null", - "StakingInfo": { - "type": "struct", - "type_mapping": [ - [ - "deposited", - "Balance" - ], - [ - "rewards", - "Balance" - ] - ] - }, - "StorageVersion": "Null", - "SwapAction": "Null", - "SwapAmount": { - "type": "enum", - "type_mapping": [ - [ - "WithDesiredInput", - "SwapWithDesiredInput" - ], - [ - "WithDesiredOutput", - "SwapWithDesiredOutput" - ] - ] - }, - "SwapOutcome": { - "type": "struct", - "type_mapping": [ - [ - "amount", - "Balance" - ], - [ - "fee", - "Balance" - ] - ] - }, - "SwapOutcomeInfo": { - "type": "struct", - "type_mapping": [ - [ - "amount", - "Balance" - ], - [ - "fee", - "Balance" - ] - ] - }, - "SwapVariant": { - "type": "enum", - "value_list": [ - "WithDesiredInput", - "WithDesiredOutput" - ] - }, - "SwapWithDesiredInput": { - "type": "struct", - "type_mapping": [ - [ - "desired_amount_in", - "Balance" - ], - [ - "min_amount_out", - "Balance" - ] - ] - }, - "SwapWithDesiredOutput": { - "type": "struct", - "type_mapping": [ - [ - "desired_amount_out", - "Balance" - ], - [ - "max_amount_in", - "Balance" - ] - ] - }, - "TAssetBalance": "Balance", - "TP": "TradingPair", - "TechAccountId": { - "type": "enum", - "type_mapping": [ - [ - "Pure", - "(DEXId, TechPurpose)" - ], - [ - "Generic", - "(Vec, Vec)" - ], - [ - "Wrapped", - "AccountId" - ], - [ - "WrappedRepr", - "AccountId" - ] - ] - }, - "TechAccountIdPrimitive": "Null", - "TechAmount": "Amount", - "TechAssetId": { - "type": "enum", - "type_mapping": [ - [ - "Wrapped", - "PredefinedAssetId" - ], - [ - "Escaped", - "AssetId" - ] - ] - }, - "TechBalance": "Balance", - "TechPurpose": { - "type": "enum", - "type_mapping": [ - [ - "FeeCollector", - "Null" - ], - [ - "FeeCollectorForPair", - "TechTradingPair" - ], - [ - "LiquidityKeeper", - "TechTradingPair" - ], - [ - "Identifier", - "Vec" - ] - ] - }, - "TechTradingPair": { - "type": "struct", - "type_mapping": [ - [ - "base_asset_id", - "TechAssetId" - ], - [ - "target_asset_id", - "TechAssetId" - ] - ] - }, - "TokenLockInfo": { - "type": "struct", - "type_mapping": [ - [ - "tokens", - "Balance" - ], - [ - "unlocking_block", - "BlockNumber" - ], - [ - "asset_id", - "AssetId" - ] - ] - }, - "TradingPair": { - "type": "struct", - "type_mapping": [ - [ - "base_asset_id", - "AssetId" - ], - [ - "target_asset_id", - "AssetId" - ] - ] - }, - "ValidationFunction": "Null", - "Timepoint": "BridgeTimepoint", - "BTreeMap": "Vec<(RewardReason,Balance)>", - "BTreeSet": "Vec", - "BTreeSet": "Vec", - "BTreeSet": "Vec", - "BTreeSet": "Vec", - "BTreeSet": "Vec", - "BTreeSet": "Vec", - "ecdsa::Public": "[u8; 33]", - "Result": { - "type": "enum", - "type_mapping": [ - [ - "Ok", - "IncomingRequest" - ], - [ - "Err", - "DispatchError" - ] - ] - }, - "VotingInfo": { - "type": "struct", - "type_mapping": [ - [ - "voting_option", - "u32" - ], - [ - "number_of_votes", - "Balance" - ], - [ - "ceres_withdrawn", - "bool" - ] - ] + "runtime_id": 32, + "versioning": [ + { + "runtime_range": [ + 1, + null + ], + "types": { + "String": "Text", + "FixedU128": "u128", + "U256": "u256", + "Sr25519Public": "[u8; 32]", + "SessionKeys2": "(Sr25519Public, Sr25519Public)", + "SessionKeys3": "(Sr25519Public, Sr25519Public, Sr25519Public)", + "Address": "AccountIdAddress", + "Amount": "i128", + "AmountOf": "Amount", + "AssetId32": "[u8; 32]", + "AssetId": "AssetId32", + "AssetIdOf": "AssetId", + "AssetInfo": { + "type": "struct", + "type_mapping": [ + [ + "asset_id", + "AssetId" + ], + [ + "symbol", + "AssetSymbolStr" + ], + [ + "name", + "AssetNameStr" + ], + [ + "precision", + "u8" + ], + [ + "is_mintable", + "bool" + ] + ] + }, + "AssetKind": { + "type": "enum", + "value_list": [ + "Thischain", + "Sidechain", + "SidechainOwned" + ] + }, + "AssetName": "Vec", + "AssetNameStr": "String", + "AssetRecord": "Null", + "AssetSymbol": "Vec", + "AssetSymbolStr": "String", + "Balance": "u128", + "BalanceInfo": { + "type": "struct", + "type_mapping": [ + [ + "balance", + "Balance" + ] + ] + }, + "BalancePrecision": "u8", + "BasisPoints": "u16", + "NetworkId": "BridgeNetworkId", + "BridgeNetworkId": "u32", + "BridgeStatus": { + "type": "enum", + "value_list": [ + "Initialized", + "Migrating" + ] + }, + "BridgeTimepoint": { + "type": "struct", + "type_mapping": [ + [ + "height", + "MultiChainHeight" + ], + [ + "index", + "u32" + ] + ] + }, + "ChangePeersContract": { + "type": "enum", + "value_list": [ + "XOR", + "VAL" + ] + }, + "ChargeFeeInfo": { + "type": "struct", + "type_mapping": [ + [ + "tip", + "Compact" + ], + [ + "target_asset_id", + "AssetId" + ] + ] + }, + "ContentSource": "Text", + "ContributionInfo": { + "type": "struct", + "type_mapping": [ + [ + "funds_contributed", + "Balance" + ], + [ + "tokens_bought", + "Balance" + ], + [ + "tokens_claimed", + "Balance" + ], + [ + "claiming_finished", + "bool" + ], + [ + "number_of_claims", + "u32" + ] + ] + }, + "CurrencyId": "AssetId", + "CurrencyIdEncoded": { + "type": "enum", + "type_mapping": [ + [ + "AssetId", + "H256" + ], + [ + "TokenAddress", + "H160" + ] + ] + }, + "CurrencyIdOf": "AssetId", + "CustomInfo": { + "type": "struct", + "type_mapping": [ + [ + "amount", + "Balance" + ] + ] + }, + "DEXId": "u32", + "DEXIdOf": "DEXId", + "DEXInfo": { + "type": "struct", + "type_mapping": [ + [ + "base_asset_id", + "AssetId" + ], + [ + "default_fee", + "BasisPoints" + ], + [ + "default_protocol_fee", + "BasisPoints" + ] + ] + }, + "Description": "Text", + "DispatchErrorWithPostInfoTPostDispatchInfo": { + "type": "struct", + "type_mapping": [ + [ + "post_info", + "PostDispatchInfo" + ], + [ + "error", + "DispatchError" + ] + ] + }, + "DispatchResultWithPostInfo": { + "type": "enum", + "type_mapping": [ + [ + "Ok", + "PostDispatchInfo" + ], + [ + "Err", + "DispatchErrorWithPostInfoTPostDispatchInfo" + ] + ] + }, + "DistributionAccounts": "Null", + "Duration": "Null", + "EthBridgeStorageVersion": { + "type": "enum", + "value_list": [ + "V1", + "V2RemovePendingTransfers" + ] + }, + "EthPeersSync": { + "type": "struct", + "type_mapping": [ + [ + "is_bridge_ready", + "bool" + ], + [ + "is_xor_ready", + "bool" + ], + [ + "is_val_ready", + "bool" + ] + ] + }, + "Farm": "Null", + "FarmId": "u64", + "Farmer": "Null", + "FilterMode": { + "type": "enum", + "value_list": [ + "Disabled", + "ForbidSelected", + "AllowSelected" + ] + }, + "Fixed": "FixedU128", + "FixedBytes": "Vec", + "HolderId": "AccountId", + "ILOInfo": { + "type": "struct", + "type_mapping": [ + [ + "ilo_organizer", + "AccountId" + ], + [ + "tokens_for_ilo", + "Balance" + ], + [ + "tokens_for_liquidity", + "Balance" + ], + [ + "ilo_price", + "Balance" + ], + [ + "soft_cap", + "Balance" + ], + [ + "hard_cap", + "Balance" + ], + [ + "min_contribution", + "Balance" + ], + [ + "max_contribution", + "Balance" + ], + [ + "refund_type", + "bool" + ], + [ + "liquidity_percent", + "Balance" + ], + [ + "listing_price", + "Balance" + ], + [ + "lockup_days", + "u32" + ], + [ + "start_block", + "BlockNumber" + ], + [ + "end_block", + "BlockNumber" + ], + [ + "token_vesting", + "VestingInfo" + ], + [ + "sold_tokens", + "Balance" + ], + [ + "funds_raised", + "Balance" + ], + [ + "succeeded", + "bool" + ], + [ + "failed", + "bool" + ], + [ + "lp_tokens", + "Balance" + ], + [ + "claimed_lp_tokens", + "bool" + ], + [ + "finish_block", + "BlockNumber" + ] + ] + }, + "IncomingAddToken": { + "type": "struct", + "type_mapping": [ + [ + "token_address", + "EthereumAddress" + ], + [ + "asset_id", + "AssetId" + ], + [ + "precision", + "BalancePrecision" + ], + [ + "symbol", + "AssetSymbol" + ], + [ + "name", + "AssetName" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingCancelOutgoingRequest": { + "type": "struct", + "type_mapping": [ + [ + "outgoing_request", + "OutgoingRequest" + ], + [ + "outgoing_request_hash", + "H256" + ], + [ + "initial_request_hash", + "H256" + ], + [ + "tx_input", + "Vec" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingChangePeers": { + "type": "struct", + "type_mapping": [ + [ + "peer_account_id", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "added", + "bool" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingChangePeersCompat": { + "type": "struct", + "type_mapping": [ + [ + "peer_account_id", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "added", + "bool" + ], + [ + "contract", + "ChangePeersContract" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingMarkAsDoneRequest": { + "type": "struct", + "type_mapping": [ + [ + "outgoing_request_hash", + "H256" + ], + [ + "initial_request_hash", + "H256" + ], + [ + "author", + "AccountId" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingMetaRequestKind": { + "type": "enum", + "value_list": [ + "CancelOutgoingRequest", + "MarkAsDone" + ] + }, + "IncomingMigrate": { + "type": "struct", + "type_mapping": [ + [ + "new_contract_address", + "EthereumAddress" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingPrepareForMigration": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "IncomingRequest": { + "type": "enum", + "type_mapping": [ + [ + "Transfer", + "IncomingTransfer" + ], + [ + "AddToken", + "IncomingAddToken" + ], + [ + "ChangePeers", + "IncomingChangePeers" + ], + [ + "CancelOutgoingRequest", + "IncomingCancelOutgoingRequest" + ], + [ + "MarkAsDone", + "IncomingMarkAsDoneRequest" + ], + [ + "PrepareForMigration", + "IncomingPrepareForMigration" + ], + [ + "Migrate", + "IncomingMigrate" + ] + ] + }, + "IncomingRequestKind": { + "type": "enum", + "type_mapping": [ + [ + "Transaction", + "IncomingTransactionRequestKind" + ], + [ + "Meta", + "IncomingMetaRequestKind" + ] + ] + }, + "IncomingTransactionRequestKind": { + "type": "enum", + "value_list": [ + "Transfer", + "AddAsset", + "AddPeer", + "RemovePeer", + "PrepareForMigration", + "Migrate", + "AddPeerCompat", + "RemovePeerCompat", + "TransferXOR" + ] + }, + "IncomingTransfer": { + "type": "struct", + "type_mapping": [ + [ + "from", + "EthereumAddress" + ], + [ + "to", + "AccountId" + ], + [ + "asset_id", + "AssetId" + ], + [ + "asset_kind", + "AssetKind" + ], + [ + "amount", + "Balance" + ], + [ + "author", + "AccountId" + ], + [ + "tx_hash", + "H256" + ], + [ + "at_height", + "u64" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "Keys": "SessionKeys3", + "LPRewardsInfo": { + "type": "struct", + "type_mapping": [ + [ + "amount", + "Balance" + ], + [ + "currency", + "AssetId" + ], + [ + "reason", + "RewardReason" + ] + ] + }, + "LPSwapOutcomeInfo": { + "type": "struct", + "type_mapping": [ + [ + "amount", + "Balance" + ], + [ + "fee", + "Balance" + ], + [ + "rewards", + "Vec" + ], + [ + "amount_without_impact", + "Balance" + ] + ] + }, + "LiquiditySourceType": { + "type": "enum", + "value_list": [ + "XYKPool", + "BondingCurvePool", + "MulticollateralBondingCurvePool", + "MockPool", + "MockPool2", + "MockPool3", + "MockPool4", + "XSTPool" + ] + }, + "LoadIncomingMetaRequest": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "hash", + "H256" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "kind", + "IncomingMetaRequestKind" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "LoadIncomingRequest": { + "type": "enum", + "type_mapping": [ + [ + "Transaction", + "LoadIncomingTransactionRequest" + ], + [ + "Meta", + "(LoadIncomingMetaRequest, H256)" + ] + ] + }, + "LoadIncomingTransactionRequest": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "hash", + "H256" + ], + [ + "timepoint", + "BridgeTimepoint" + ], + [ + "kind", + "IncomingTransactionRequestKind" + ], + [ + "network_id", + "BridgeNetworkId" + ] + ] + }, + "LockInfo": { + "type": "struct", + "type_mapping": [ + [ + "pool_tokens", + "Balance" + ], + [ + "unlocking_block", + "BlockNumber" + ], + [ + "asset_a", + "AssetId" + ], + [ + "asset_b", + "AssetId" + ] + ] + }, + "LookupSource": "AccountId", + "MarketMakerInfo": { + "type": "struct", + "type_mapping": [ + [ + "count", + "u32" + ], + [ + "volume", + "Balance" + ] + ] + }, + "Mode": { + "type": "enum", + "value_list": [ + "Permit", + "Forbid" + ] + }, + "MultiChainHeight": { + "type": "enum", + "type_mapping": [ + [ + "Thischain", + "BlockNumber" + ], + [ + "Sidechain", + "u64" + ] + ] + }, + "MultiCurrencyBalance": "Balance", + "MultiCurrencyBalanceOf": "MultiCurrencyBalance", + "MultisigAccount": { + "type": "struct", + "type_mapping": [ + [ + "signatories", + "Vec" + ], + [ + "threshold", + "u8" + ] + ] + }, + "OffchainRequest": { + "type": "enum", + "type_mapping": [ + [ + "Outgoing", + "(OutgoingRequest, H256)" + ], + [ + "LoadIncoming", + "LoadIncomingRequest" + ], + [ + "Incoming", + "(IncomingRequest, H256)" + ] + ] + }, + "OracleKey": "AssetId", + "OutgoingAddAsset": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "asset_id", + "AssetId" + ], + [ + "supply", + "Balance" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingAddAssetEncoded": { + "type": "struct", + "type_mapping": [ + [ + "name", + "String" + ], + [ + "symbol", + "String" + ], + [ + "decimal", + "u8" + ], + [ + "supply", + "U256" + ], + [ + "sidechain_asset_id", + "FixedBytes" + ], + [ + "hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingAddPeer": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "peer_account_id", + "AccountId" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingAddPeerCompat": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "peer_account_id", + "AccountId" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingAddPeerEncoded": { + "type": "struct", + "type_mapping": [ + [ + "peer_address", + "EthereumAddress" + ], + [ + "tx_hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingAddToken": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "token_address", + "EthereumAddress" + ], + [ + "ticker", + "String" + ], + [ + "name", + "String" + ], + [ + "decimals", + "u8" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingAddTokenEncoded": { + "type": "struct", + "type_mapping": [ + [ + "token_address", + "EthereumAddress" + ], + [ + "ticker", + "String" + ], + [ + "name", + "String" + ], + [ + "decimals", + "u8" + ], + [ + "hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingMigrate": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "new_contract_address", + "EthereumAddress" + ], + [ + "erc20_native_tokens", + "Vec" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingMigrateEncoded": { + "type": "struct", + "type_mapping": [ + [ + "this_contract_address", + "EthereumAddress" + ], + [ + "tx_hash", + "H256" + ], + [ + "new_contract_address", + "EthereumAddress" + ], + [ + "erc20_native_tokens", + "Vec" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingPrepareForMigration": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingPrepareForMigrationEncoded": { + "type": "struct", + "type_mapping": [ + [ + "this_contract_address", + "EthereumAddress" + ], + [ + "tx_hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingRemovePeer": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "peer_account_id", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingRemovePeerCompat": { + "type": "struct", + "type_mapping": [ + [ + "author", + "AccountId" + ], + [ + "peer_account_id", + "AccountId" + ], + [ + "peer_address", + "EthereumAddress" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingRemovePeerEncoded": { + "type": "struct", + "type_mapping": [ + [ + "peer_address", + "EthereumAddress" + ], + [ + "tx_hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OutgoingRequest": { + "type": "enum", + "type_mapping": [ + [ + "Transfer", + "OutgoingTransfer" + ], + [ + "AddAsset", + "OutgoingAddAsset" + ], + [ + "AddToken", + "OutgoingAddToken" + ], + [ + "AddPeer", + "OutgoingAddPeer" + ], + [ + "RemovePeer", + "OutgoingRemovePeer" + ], + [ + "PrepareForMigration", + "OutgoingPrepareForMigration" + ], + [ + "Migrate", + "OutgoingMigrate" + ] + ] + }, + "OutgoingRequestEncoded": { + "type": "enum", + "type_mapping": [ + [ + "Transfer", + "OutgoingTransferEncoded" + ], + [ + "AddAsset", + "OutgoingAddAssetEncoded" + ], + [ + "AddToken", + "OutgoingAddTokenEncoded" + ], + [ + "AddPeer", + "OutgoingAddPeerEncoded" + ], + [ + "RemovePeer", + "OutgoingRemovePeerEncoded" + ], + [ + "PrepareForMigration", + "OutgoingPrepareForMigrationEncoded" + ], + [ + "Migrate", + "OutgoingMigrateEncoded" + ] + ] + }, + "OutgoingTransfer": { + "type": "struct", + "type_mapping": [ + [ + "from", + "AccountId" + ], + [ + "to", + "EthereumAddress" + ], + [ + "asset_id", + "AssetId" + ], + [ + "amount", + "Balance" + ], + [ + "nonce", + "Index" + ], + [ + "network_id", + "BridgeNetworkId" + ], + [ + "timepoint", + "BridgeTimepoint" + ] + ] + }, + "OutgoingTransferEncoded": { + "type": "struct", + "type_mapping": [ + [ + "currency_id", + "CurrencyIdEncoded" + ], + [ + "amount", + "U256" + ], + [ + "to", + "EthereumAddress" + ], + [ + "from", + "EthereumAddress" + ], + [ + "tx_hash", + "H256" + ], + [ + "network_id", + "H256" + ], + [ + "raw", + "Vec" + ] + ] + }, + "OwnerId": "AccountId", + "PendingMultisigAccount": { + "type": "struct", + "type_mapping": [ + [ + "approving_accounts", + "Vec" + ], + [ + "migrate_at", + "Option" + ] + ] + }, + "Permission": "Null", + "PermissionId": "u32", + "PollInfo": { + "type": "struct", + "type_mapping": [ + [ + "number_of_options", + "u32" + ], + [ + "poll_start_block", + "BlockNumber" + ], + [ + "poll_end_block", + "BlockNumber" + ] + ] + }, + "PoolFarmer": { + "type": "struct", + "type_mapping": [ + [ + "account", + "AccountId" + ], + [ + "block", + "BlockNumber" + ], + [ + "weight", + "Balance" + ] + ] + }, + "PostDispatchInfo": { + "type": "struct", + "type_mapping": [ + [ + "actual_weight", + "Option" + ], + [ + "pays_fee", + "Pays" + ] + ] + }, + "PredefinedAssetId": { + "type": "enum", + "value_list": [ + "XOR", + "DOT", + "KSM", + "USDT", + "VAL", + "PSWAP", + "DAI", + "ETH", + "XSTUSD" + ] + }, + "PriceInfo": { + "type": "struct", + "type_mapping": [ + [ + "price_failures", + "u32" + ], + [ + "spot_prices", + "Vec" + ], + [ + "average_price", + "Balance" + ], + [ + "needs_update", + "bool" + ], + [ + "last_spot_price", + "Balance" + ] + ] + }, + "Public": "[u8; 33]", + "QuoteAmount": { + "type": "enum", + "type_mapping": [ + [ + "WithDesiredInput", + "QuoteWithDesiredInput" + ], + [ + "WithDesiredOutput", + "QuoteWithDesiredOutput" + ] + ] + }, + "QuoteWithDesiredInput": { + "type": "struct", + "type_mapping": [ + [ + "desired_amount_in", + "Balance" + ] + ] + }, + "QuoteWithDesiredOutput": { + "type": "struct", + "type_mapping": [ + [ + "desired_amount_out", + "Balance" + ] + ] + }, + "RefCount": "u32", + "RequestStatus": { + "type": "enum", + "value_list": [ + "Pending", + "Frozen", + "ApprovalsReady", + "Failed", + "Done" + ] + }, + "RewardInfo": { + "type": "struct", + "type_mapping": [ + [ + "limit", + "Balance" + ], + [ + "total_available", + "Balance" + ], + [ + "rewards", + "BTreeMap" + ] + ] + }, + "RewardReason": { + "type": "enum", + "value_list": [ + "Unspecified", + "BuyOnBondingCurve", + "LiquidityProvisionFarming", + "MarketMakerVolume" + ] + }, + "Scope": { + "type": "enum", + "type_mapping": [ + [ + "Limited", + "H512" + ], + [ + "Unlimited", + "Null" + ] + ] + }, + "SignatureParams": { + "type": "struct", + "type_mapping": [ + [ + "r", + "[u8; 32]" + ], + [ + "s", + "[u8; 32]" + ], + [ + "v", + "u8" + ] + ] + }, + "SmoothPriceState": "Null", + "StakingInfo": { + "type": "struct", + "type_mapping": [ + [ + "deposited", + "Balance" + ], + [ + "rewards", + "Balance" + ] + ] + }, + "StorageVersion": "Null", + "SwapAction": "Null", + "SwapAmount": { + "type": "enum", + "type_mapping": [ + [ + "WithDesiredInput", + "SwapWithDesiredInput" + ], + [ + "WithDesiredOutput", + "SwapWithDesiredOutput" + ] + ] + }, + "SwapOutcome": { + "type": "struct", + "type_mapping": [ + [ + "amount", + "Balance" + ], + [ + "fee", + "Balance" + ] + ] + }, + "SwapOutcomeInfo": { + "type": "struct", + "type_mapping": [ + [ + "amount", + "Balance" + ], + [ + "fee", + "Balance" + ] + ] + }, + "SwapVariant": { + "type": "enum", + "value_list": [ + "WithDesiredInput", + "WithDesiredOutput" + ] + }, + "SwapWithDesiredInput": { + "type": "struct", + "type_mapping": [ + [ + "desired_amount_in", + "Balance" + ], + [ + "min_amount_out", + "Balance" + ] + ] + }, + "SwapWithDesiredOutput": { + "type": "struct", + "type_mapping": [ + [ + "desired_amount_out", + "Balance" + ], + [ + "max_amount_in", + "Balance" + ] + ] + }, + "TAssetBalance": "Balance", + "TP": "TradingPair", + "TechAccountId": { + "type": "enum", + "type_mapping": [ + [ + "Pure", + "(DEXId, TechPurpose)" + ], + [ + "Generic", + "(Vec, Vec)" + ], + [ + "Wrapped", + "AccountId" + ], + [ + "WrappedRepr", + "AccountId" + ] + ] + }, + "TechAmount": "Amount", + "TechAssetId": { + "type": "enum", + "type_mapping": [ + [ + "Wrapped", + "PredefinedAssetId" + ], + [ + "Escaped", + "AssetId" + ] + ] + }, + "TechBalance": "Balance", + "TechPurpose": { + "type": "enum", + "type_mapping": [ + [ + "FeeCollector", + "Null" + ], + [ + "FeeCollectorForPair", + "TechTradingPair" + ], + [ + "LiquidityKeeper", + "TechTradingPair" + ], + [ + "Identifier", + "Vec" + ] + ] + }, + "TechTradingPair": { + "type": "struct", + "type_mapping": [ + [ + "base_asset_id", + "TechAssetId" + ], + [ + "target_asset_id", + "TechAssetId" + ] + ] + }, + "TokenLockInfo": { + "type": "struct", + "type_mapping": [ + [ + "tokens", + "Balance" + ], + [ + "unlocking_block", + "BlockNumber" + ], + [ + "asset_id", + "AssetId" + ] + ] + }, + "TradingPair": { + "type": "struct", + "type_mapping": [ + [ + "base_asset_id", + "AssetId" + ], + [ + "target_asset_id", + "AssetId" + ] + ] + }, + "ValidationFunction": "Null", + "BTreeMap": "Vec<(RewardReason,Balance)>", + "BTreeSet": "Vec", + "BTreeSet": "Vec", + "BTreeSet": "Vec", + "BTreeSet": "Vec", + "BTreeSet": "Vec", + "BTreeSet": "Vec", + "ecdsa::Public": "[u8; 33]", + "Result": { + "type": "enum", + "type_mapping": [ + [ + "Ok", + "IncomingRequest" + ], + [ + "Err", + "DispatchError" + ] + ] + }, + "VotingInfo": { + "type": "struct", + "type_mapping": [ + [ + "voting_option", + "u32" + ], + [ + "number_of_votes", + "Balance" + ], + [ + "ceres_withdrawn", + "bool" + ] + ] + } + } } - } - } - ], - "runtime_upgrades": [ - [ - 0, - 1 - ], - [ - 489600, - 3 - ], - [ - 616533, - 4 - ], - [ - 1243341, - 7 - ], - [ - 1403659, - 8 - ], - [ - 1744716, - 9 - ], - [ - 2829626, - 19 - ], - [ - 3859200, - 22 - ], - [ - 3939851, - 23 - ], - [ - 4470062, - 26 - ], - [ - 4652184, - 29 ], - [ - 4710795, - 30 + "runtime_upgrades": [ + [ + 0, + 1 + ], + [ + 489600, + 3 + ], + [ + 616533, + 4 + ], + [ + 1243341, + 7 + ], + [ + 1403659, + 8 + ], + [ + 1744716, + 9 + ], + [ + 2829626, + 19 + ], + [ + 3859200, + 22 + ], + [ + 3939851, + 23 + ], + [ + 4470062, + 26 + ], + [ + 4652184, + 29 + ], + [ + 4710795, + 30 + ], + [ + 5293842, + 33 + ] ] - ] -} +} \ No newline at end of file