bifrost
subscan
Runtime Modules / BuyBack
Spec Version:
Call Functions
Name
Lookup
Parameters
set_vtoken8a008
charge8a012
remove_vtoken8a021
Events
Name
Lookup
Attributes
Charged8a00["AccountIdOf","CurrencyIdOf","BalanceOf"]
ConfigSet8a01["CurrencyIdOf","Info<BalanceOf, BlockNumberFor>"]
Removed8a02["CurrencyIdOf"]
BuyBackFailed8a03["CurrencyIdOf","BlockNumberFor"]
BuyBackSuccess8a04["CurrencyIdOf","BlockNumberFor"]
AddLiquidityFailed8a05["CurrencyIdOf","BlockNumberFor"]
AddLiquiditySuccess8a06["CurrencyIdOf","BlockNumberFor"]
SetSwapOutMinFailed8a07["CurrencyIdOf","BlockNumberFor"]
SetSwapOutMinSuccess8a08["CurrencyIdOf","BlockNumberFor"]
Storage Functions
Name
Type
Infos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_buy_back:pallet:Info","keys_id":333,"value_id":653}}
SwapOutMin{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}}
AddLiquiditySwapOutMin{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}}
Constants
Name
Type
Value
TreasuryAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
BuyBackAccount[U8; 8]62662f627962636b
LiquidityAccount[U8; 8]62662f6c69716474
Error Types
Name
Docs
NotEnoughBalanceInsufficient balance.
CurrencyIdNotExistsCurrency does not exist.
CurrencyIdErrorCurrency is not supported.
ZeroDurationDuration can't be zero.
ZeroMinSwapValueField min_swap_value can't be zero.