subscan
Runtime Modules / MultiTransactionPayment
Spec Version:
Call Functions
Name
Lookup
Parameters
set_currency6a001
add_currency6a012
remove_currency6a021
Events
Name
Lookup
Attributes
CurrencySet6a00["AccountId","AssetIdOf"]
CurrencyAdded6a01["AssetIdOf"]
CurrencyRemoved6a02["AssetIdOf"]
FeeWithdrawn6a03["AccountId","AssetIdOf","BalanceOf","BalanceOf","AccountId"]
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":135}}
AcceptedCurrencyPrice{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":135}}
Constants
Name
Type
Value
WithdrawFeeForSetCurrencyframe_support:weights:Pays00
NativeAssetIdU3200000000
FeeReceiverAccountId6d6f646c70792f74727372790000000000000000000000000000000000000000
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