subscan
Runtime Modules / TransactionPayment
Spec Version:
Events
Name
Lookup
Attributes
GlobalFeeSwapPathUpdated0e00["Option<Vec<CurrencyId>>","Vec<CurrencyId>"]
GlobalFeeSwapPathRemoved0e01["Vec<CurrencyId>"]
SwapBalanceThresholdUpdated0e02["CurrencyId","Balance"]
ChargeFeePoolEnabled0e03["AccountId","CurrencyId","Ratio","Balance","Balance"]
ChargeFeePoolSwapped0e04["AccountId","CurrencyId","Ratio","Ratio","Ratio","Balance"]
ChargeFeePoolDisabled0e05["CurrencyId","Balance","Balance"]
Storage Functions
Name
Type
NextFeeMultiplier{"origin":"PlainType","plain_type":"U128","PlainTypeValue":57}
AlternativeFeeSwapPath{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<acala_primitives:currency:CurrencyId>","keys_id":0,"value_id":374}}
GlobalFeeSwapPath{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"Vec<acala_primitives:currency:CurrencyId>","keys_id":44,"value_id":374}}
PoolSize{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":44,"value_id":6}}
TokenExchangeRate{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":44,"value_id":57}}
SwapBalanceThreshold{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":44,"value_id":6}}
Constants
Name
Type
Value
NativeCurrencyIdacala_primitives:currency:CurrencyId0080
DefaultFeeSwapPathListVec<Vec<acala_primitives:currency:CurrencyId>>100c00810082008008008200800c0083008200801000a8008100820080
TransactionByteFeeU12880969800000000000000000000000000
OperationalFeeMultiplierU6400407a10f35a0000
TipPerWeightStepU12800e40b54020000000000000000000000
MaxTipsOfPriorityU1280000c16ff28623000000000000000000
AlternativeFeeSwapDepositU12800e87648170000000000000000000000
MaxSwapSlippageCompareToOracleU12800004f8c34e814020000000000000000
TradingPathLimitU3204000000
PalletId[U8; 8]6163612f66656573
TreasuryAccountAccountId6d6f646c6163612f747273790000000000000000000000000000000000000000
WeightToFeeVec<frame_support:weights:WeightToFeeCoefficient>0408000000000000000000000000000000000000000001
Error Types
Name
Docs
InvalidSwapPathThe swap path is invalid
InvalidBalanceThe balance is invalid
InvalidRateCan't find rate by the supply token
InvalidTokenCan't find the token info in the charge fee pool
DexNotAvailableDex swap pool is not available now
ChargeFeePoolAlreadyExistedCharge fee pool is already exist
SwapPathNotExistsThe swap path not exists.