basilisk
subscan
Runtime Modules / MultiTransactionPayment
Spec Version:
Call Functions
Name
Lookup
Parameters
set_currency23001
add_currency23012
remove_currency23021
Events
Name
Lookup
Attributes
CurrencySet2300["AccountId","AssetId"]
CurrencyAdded2301["AssetId"]
CurrencyRemoved2302["AssetId"]
Storage Functions
Name
Type
AccountCurrencyMap{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}}
AcceptedCurrencies{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":153}}
FallbackAccount{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Error Types
Name
Docs
UnsupportedCurrencySelected currency is not supported.
ZeroBalanceAccount balance should be non-zero.
AlreadyAcceptedCurrency is already in the list of accepted currencies.
CoreAssetNotAllowedIt is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
ZeroPriceFallback price cannot be zero.
FallbackPriceNotFoundFallback price was not found.
OverflowMath overflow