OrmlAssetRegistry¶
Calls¶
register_asset¶
See [Pallet::register_asset
].
Attributes¶
Name | Type |
---|---|
metadata | AssetMetadata<T::Balance, T::CustomMetadata, T::StringLimit> |
asset_id | Option<T::AssetId> |
Python¶
call = substrate.compose_call(
'OrmlAssetRegistry', 'register_asset', {
'asset_id': (
None,
{
'AUSD': None,
'ForeignAsset': (
'ETH',
'USDT',
),
'KAR': None,
'KSM': None,
'MGX': None,
'Native': None,
},
),
'metadata': {
'additional': {
'xcm': {
'fee_per_second': (
None,
'u128',
),
},
},
'decimals': 'u32',
'existential_deposit': 'u128',
'location': (
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'Bytes',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::111',
'scale_info::111',
),
'X3': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X4': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X5': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X6': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X7': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X8': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'InnerStruct',
'GlobalConsensus': 'scale_info::71',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::68',
'scale_info::68',
),
'X3': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X4': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X5': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X6': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X7': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X8': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
},
'parents': 'u8',
},
},
),
'name': 'Bytes',
'symbol': 'Bytes',
},
}
)
update_asset¶
See [Pallet::update_asset
].
Attributes¶
Name | Type |
---|---|
asset_id | T::AssetId |
decimals | Option<u32> |
name | Option<BoundedVec<u8, T::StringLimit>> |
symbol | Option<BoundedVec<u8, T::StringLimit>> |
existential_deposit | Option<T::Balance> |
location | Option<Option<VersionedMultiLocation>> |
additional | Option<T::CustomMetadata> |
Python¶
call = substrate.compose_call(
'OrmlAssetRegistry', 'update_asset', {
'additional': (
None,
{
'xcm': {
'fee_per_second': (
None,
'u128',
),
},
},
),
'asset_id': {
'AUSD': None,
'ForeignAsset': (
'ETH',
'USDT',
),
'KAR': None,
'KSM': None,
'MGX': None,
'Native': None,
},
'decimals': (None, 'u32'),
'existential_deposit': (
None,
'u128',
),
'location': (
None,
(
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'Bytes',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::111',
'scale_info::111',
),
'X3': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X4': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X5': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X6': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X7': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X8': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'InnerStruct',
'GlobalConsensus': 'scale_info::71',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::68',
'scale_info::68',
),
'X3': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X4': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X5': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X6': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X7': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X8': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
},
'parents': 'u8',
},
},
),
),
'name': (None, 'Bytes'),
'symbol': (None, 'Bytes'),
}
)
Events¶
RegisteredAsset¶
Attributes¶
Name | Type | Composition |
---|---|---|
asset_id | T::AssetId |
{'Native': None, 'KSM': None, 'AUSD': None, 'KAR': None, 'MGX': None, 'ForeignAsset': ('ETH', 'USDT')} |
metadata | AssetMetadata<T::Balance, T::CustomMetadata, T::StringLimit> |
{'decimals': 'u32', 'name': 'Bytes', 'symbol': 'Bytes', 'existential_deposit': 'u128', 'location': (None, {None: None, 'V2': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::111', 'X2': ('scale_info::111', 'scale_info::111'), 'X3': ('scale_info::111', 'scale_info::111', 'scale_info::111'), 'X4': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X5': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X6': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X7': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X8': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111')}}, 'V3': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::68', 'X2': ('scale_info::68', 'scale_info::68'), 'X3': ('scale_info::68', 'scale_info::68', 'scale_info::68'), 'X4': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X5': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X6': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X7': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X8': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68')}}}), 'additional': {'xcm': {'fee_per_second': (None, 'u128')}}} |
UpdatedAsset¶
Attributes¶
Name | Type | Composition |
---|---|---|
asset_id | T::AssetId |
{'Native': None, 'KSM': None, 'AUSD': None, 'KAR': None, 'MGX': None, 'ForeignAsset': ('ETH', 'USDT')} |
metadata | AssetMetadata<T::Balance, T::CustomMetadata, T::StringLimit> |
{'decimals': 'u32', 'name': 'Bytes', 'symbol': 'Bytes', 'existential_deposit': 'u128', 'location': (None, {None: None, 'V2': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::111', 'X2': ('scale_info::111', 'scale_info::111'), 'X3': ('scale_info::111', 'scale_info::111', 'scale_info::111'), 'X4': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X5': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X6': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X7': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111'), 'X8': ('scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111', 'scale_info::111')}}, 'V3': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::68', 'X2': ('scale_info::68', 'scale_info::68'), 'X3': ('scale_info::68', 'scale_info::68', 'scale_info::68'), 'X4': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X5': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X6': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X7': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68'), 'X8': ('scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68', 'scale_info::68')}}}), 'additional': {'xcm': {'fee_per_second': (None, 'u128')}}} |
Storage functions¶
LastAssetId¶
The last processed asset id - used when assigning a sequential id.
Python¶
result = substrate.query(
'OrmlAssetRegistry', 'LastAssetId', []
)
Return value¶
{
'AUSD': None,
'ForeignAsset': ('ETH', 'USDT'),
'KAR': None,
'KSM': None,
'MGX': None,
'Native': None,
}
LocationToAssetId¶
Maps a multilocation to an asset id - useful when processing xcm messages.
Python¶
result = substrate.query(
'OrmlAssetRegistry', 'LocationToAssetId', [
{
'interior': {
'Here': None,
'X1': {
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': {
'denom': 'u32',
'nom': 'u32',
},
'Fraction': {
'denom': 'u32',
'nom': 'u32',
},
'Members': {
'count': 'u32',
},
'MoreThanProportion': {
'denom': 'u32',
'nom': 'u32',
},
'Voice': None,
},
},
},
'X2': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X3': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X4': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X5': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X6': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X7': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X8': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::71',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::71',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::71',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
},
'parents': 'u8',
},
]
)
Return value¶
{
'AUSD': None,
'ForeignAsset': ('ETH', 'USDT'),
'KAR': None,
'KSM': None,
'MGX': None,
'Native': None,
}
Metadata¶
The metadata of an asset, indexed by asset id.
Python¶
result = substrate.query(
'OrmlAssetRegistry', 'Metadata', [
{
'AUSD': None,
'ForeignAsset': (
'ETH',
'USDT',
),
'KAR': None,
'KSM': None,
'MGX': None,
'Native': None,
},
]
)
Return value¶
{
'additional': {'xcm': {'fee_per_second': (None, 'u128')}},
'decimals': 'u32',
'existential_deposit': 'u128',
'location': (
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': 'scale_info::111',
'X2': ('scale_info::111', 'scale_info::111'),
'X3': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X4': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X5': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X6': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X7': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
'X8': (
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
'scale_info::111',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': 'scale_info::68',
'X2': ('scale_info::68', 'scale_info::68'),
'X3': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X4': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X5': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X6': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X7': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
'X8': (
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
'scale_info::68',
),
},
'parents': 'u8',
},
},
),
'name': 'Bytes',
'symbol': 'Bytes',
}
Constants¶
StringLimit¶
The maximum length of a name or symbol.
Value¶
50
Python¶
constant = substrate.get_constant('OrmlAssetRegistry', 'StringLimit')
Errors¶
AssetNotFound¶
Asset was not found.
BadVersion¶
The version of the VersionedMultiLocation
value used is not able
to be interpreted.
ConflictingAssetId¶
Another asset was already register with this asset id.
ConflictingLocation¶
Another asset was already register with this location.
InvalidAssetId¶
The asset id is invalid.
InvalidAssetString¶
Name or symbol is too long.