Name | Lookup | Parameters | |
|---|---|---|---|
| set_domain_router | 6700 | 2 | |
| add_pool | 6702 | 2 | |
| add_tranche | 6703 | 3 | |
| update_token_price | 6704 | 3 | |
| update_member | 6705 | 4 | |
| transfer_tranche_tokens | 6706 | 4 | |
| transfer | 6707 | 3 | |
| add_currency | 6708 | 1 | |
| allow_pool_currency | 675a | 3 | |
| schedule_upgrade | 670a | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| MessageSent | 6700 | ["MessageOf","Domain"] | |
| SetDomainRouter | 6701 | ["Domain","Router<CurrencyIdOf>"] | |
| IncomingMessage | 6702 | ["AccountId","Bytes"] |
Name | Type | |
|---|---|---|
| DomainRouter | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["cfg_types:domain_address:Domain"],"value":"pallet_liquidity_pools:routers:Router","keys_id":83,"value_id":87}} |
Name | Type | Value | |
|---|---|---|---|
| GeneralCurrencyPrefix | [U8; 12] | b64fd1c3a60c260188389850 | |
| TreasuryAccount | AccountId | 6d6f646c70792f74727372790000000000000000000000000000000000000000 |
Name | Docs |
|---|---|
| AssetNotFound | Failed to map the asset to the corresponding LiquidityPools' GeneralIndex representation and thus cannot be used as aninvestment currency. |
| AssetMetadataNotPoolCurrency | The metadata of the given asset does not declare it as a poolcurrency and thus it cannot be used as an investment currency. |
| AssetNotLiquidityPoolsTransferable | The metadata of the given asset does not declare it as transferablevia LiquidityPools'. |
| AssetNotLiquidityPoolsWrappedToken | The asset is not a [LiquidityPoolsWrappedToken] and thus cannot betransferred via liquidity pools. |
| AssetNotPoolCurrency | The given asset does not match the currency of the pool. |
| PoolNotFound | A pool could not be found. |
| TrancheNotFound | A tranche could not be found. |
| TrancheMetadataNotFound | Could not find the metadata of a tranche token. |
| MissingTranchePrice | Failed to fetch a tranche token price.This can occur if `TrancheNotFound` or if effectivelythe price for this tranche has not yet been set. |
| MissingRouter | Router not set for a given domain. |
| InvalidTransferAmount | Transfer amount must be non-zero. |
| UnauthorizedTransfer | A transfer to a non-whitelisted destination was attempted. |
| FailedToBuildEthereumXcmCall | Failed to build Ethereum_Xcm call. |
| InvalidIncomingMessageOrigin | The origin of an incoming message is not in the allow-list. |
| InvalidIncomingMessage | Failed to decode an incoming message. |
| InvalidDomain | The destination domain is invalid. |
| InvalidTrancheInvestorValidity | The validity is in the past. |
| InvalidInvestCurrency | Failed to match the provided GeneralCurrencyIndex against theinvestment currency of the pool. |
| InvalidTransferCurrency | The currency is not allowed to be transferred via LiquidityPools. |
| InvestorDomainAddressNotAMember | The account derived from the [Domain] and [DomainAddress] has notbeen whitelisted as a TrancheInvestor. |
| NotPoolAdmin | Only the PoolAdmin can execute a given operation. |