XTokens¶
Events¶
TransferredMultiAssets¶
Transferred MultiAsset
with fee.
Attributes¶
Name | Type | Composition |
---|---|---|
sender | T::AccountId |
AccountId |
assets | MultiAssets |
[{'id': {'Concrete': {'parents': 'u8', 'interior': 'scale_info::44'}, 'Abstract': '[u8; 32]'}, 'fun': {'Fungible': 'u128', 'NonFungible': {'Undefined': None, 'Index': 'u128', 'Array4': '[u8; 4]', 'Array8': '[u8; 8]', 'Array16': '[u8; 16]', 'Array32': '[u8; 32]'}}}] |
fee | MultiAsset |
{'id': {'Concrete': {'parents': 'u8', 'interior': {'Here': None, 'X1': {'Parachain': 'u32', 'AccountId32': 'InnerStruct', 'AccountIndex64': 'InnerStruct', 'AccountKey20': 'InnerStruct', 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': 'InnerStruct', 'OnlyChild': None, 'Plurality': 'InnerStruct', 'GlobalConsensus': 'scale_info::48'}, 'X2': ('scale_info::45', 'scale_info::45'), 'X3': ('scale_info::45', 'scale_info::45', 'scale_info::45'), 'X4': ('scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45'), 'X5': ('scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45'), 'X6': ('scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45'), 'X7': ('scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45'), 'X8': ('scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45', 'scale_info::45')}}, 'Abstract': '[u8; 32]'}, 'fun': {'Fungible': 'u128', 'NonFungible': {'Undefined': None, 'Index': 'u128', 'Array4': '[u8; 4]', 'Array8': '[u8; 8]', 'Array16': '[u8; 16]', 'Array32': '[u8; 32]'}}} |
dest | MultiLocation |
{'parents': 'u8', 'interior': {'Here': None, 'X1': {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': {'Unit': None, 'Moniker': '[u8; 4]', 'Index': 'u32', 'Executive': None, 'Technical': None, 'Legislative': None, 'Judicial': None, 'Defense': None, 'Administration': None, 'Treasury': None}, 'part': {'Voice': None, 'Members': 'InnerStruct', 'Fraction': 'InnerStruct', 'AtLeastProportion': 'InnerStruct', 'MoreThanProportion': 'InnerStruct'}}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': {'block_number': 'u64', 'block_hash': '[u8; 32]'}, 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': {'chain_id': 'u64'}, 'BitcoinCore': None, 'BitcoinCash': None}}, 'X2': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X3': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X4': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X5': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X6': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X7': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}), 'X8': ({'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}}, {'Parachain': 'u32', 'AccountId32': {'network': (None, 'scale_info::48'), 'id': '[u8; 32]'}, 'AccountIndex64': {'network': (None, 'scale_info::48'), 'index': 'u64'}, 'AccountKey20': {'network': (None, 'scale_info::48'), 'key': '[u8; 20]'}, 'PalletInstance': 'u8', 'GeneralIndex': 'u128', 'GeneralKey': {'length': 'u8', 'data': '[u8; 32]'}, 'OnlyChild': None, 'Plurality': {'id': 'scale_info::51', 'part': 'scale_info::52'}, 'GlobalConsensus': {'ByGenesis': '[u8; 32]', 'ByFork': 'InnerStruct', 'Polkadot': None, 'Kusama': None, 'Westend': None, 'Rococo': None, 'Wococo': None, 'Ethereum': 'InnerStruct', 'BitcoinCore': None, 'BitcoinCash': None}})}} |
Storage functions¶
Constants¶
BaseXcmWeight¶
Base XCM weight.
The actually weight for an XCM message is T::BaseXcmWeight +
T::Weigher::weight(&msg)
.
Value¶
{'proof_size': 0, 'ref_time': 100000000}
Python¶
constant = substrate.get_constant('XTokens', 'BaseXcmWeight')
SelfLocation¶
Self chain location.
Value¶
{'interior': {'X1': {'Parachain': 2011}}, 'parents': 1}
Python¶
constant = substrate.get_constant('XTokens', 'SelfLocation')
Errors¶
AssetHasNoReserve¶
Asset has no reserve location.
AssetIndexNonExistent¶
The specified index does not exist in a MultiAssets struct.
BadVersion¶
The version of the Versioned
value used is not able to be
interpreted.
CannotReanchor¶
Could not re-anchor the assets to declare the fees for the destination chain.
DestinationNotInvertible¶
The destination MultiLocation
provided cannot be inverted.
DistinctReserveForAssetAndFee¶
We tried sending distinct asset and fee but they have different reserve chains.
FeeNotEnough¶
Fee is not enough.
InvalidAncestry¶
Could not get ancestry of asset reserve location.
InvalidAsset¶
The MultiAsset is invalid.
InvalidDest¶
Invalid transfer destination.
MinXcmFeeNotDefined¶
MinXcmFee not registered for certain reserve location
NotCrossChainTransfer¶
Not cross-chain transfer.
NotCrossChainTransferableCurrency¶
Currency is not cross-chain transferable.
NotSupportedMultiLocation¶
Not supported MultiLocation
TooManyAssetsBeingSent¶
The number of assets to be sent is over the maximum.
UnweighableMessage¶
The message's weight could not be determined.
XcmExecutionFailed¶
XCM execution failed.
ZeroAmount¶
The transfering asset amount is zero.
ZeroFee¶
The fee is zero.