basilisk
subscan
Runtime Modules / MultiTransactionPayment
Spec Version:
Call Functions
Name
Lookup
Parameters
set_currency22001
add_currency22012
remove_currency22021
Events
Name
Lookup
Attributes
CurrencySet2200
CurrencyAdded2201
CurrencyRemoved2202
Storage Functions
Name
Type
AccountCurrencyMap{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"AssetId","isLinked":false}}
AcceptedCurrencies{"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"Price","isLinked":false}}
FallbackAccount{"origin":"PlainType","plain_type":"AccountId"}
Error Types
Name
Docs
UnsupportedCurrency Selected currency is not supported.
ZeroBalance Account balance should be non-zero.
AlreadyAccepted Currency is already in the list of accepted currencies.
CoreAssetNotAllowed It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
ZeroPrice Fallback price cannot be zero.
FallbackPriceNotFound Fallback price was not found.
Overflow Math overflow