subscan
Runtime Modules / LiquidityPools
Spec Version:
Events
Name
Lookup
Attributes
IncomingMessage6700["DomainAddress","MessageOf"]
Constants
Name
Type
Value
GeneralCurrencyPrefix[U8; 12]b64fd1c3a60c260188389850
TreasuryAccountAccountId6d6f646c70792f74727372790000000000000000000000000000000000000000
Error Types
Name
Docs
AssetNotFoundFailed to map the asset to the corresponding LiquidityPools' GeneralIndex representation and thus cannot be used as aninvestment currency.
AssetMetadataNotPoolCurrencyThe metadata of the given asset does not declare it as a poolcurrency and thus it cannot be used as an investment currency.
AssetNotLiquidityPoolsTransferableThe metadata of the given asset does not declare it as transferablevia LiquidityPools'.
AssetNotLiquidityPoolsWrappedTokenThe asset is not a [LiquidityPoolsWrappedToken] and thus cannot betransferred via liquidity pools.
PoolNotFoundA pool could not be found.
TrancheNotFoundA tranche could not be found.
TrancheMetadataNotFoundCould not find the metadata of a tranche token.
MissingTranchePriceFailed to fetch a tranche token price.This can occur if `TrancheNotFound` or if effectivelythe price for this tranche has not yet been set.
InvalidTransferAmountTransfer amount must be non-zero.
BalanceTooLowSenders balance is insufficient for transfer amount
UnauthorizedTransferA transfer to a non-whitelisted destination was attempted.
InvalidIncomingMessageFailed to decode an incoming message.
InvalidDomainThe destination domain is invalid.
InvalidTrancheInvestorValidityThe validity is in the past.
InvalidTransferCurrencyThe currency is not allowed to be transferred via LiquidityPools.
InvestorDomainAddressNotAMemberThe account derived from the [Domain] and [DomainAddress] has notbeen whitelisted as a TrancheInvestor.
NotPoolAdminOnly the PoolAdmin can execute a given operation.