bifrost
subscan
Runtime Modules / BbBNC
Spec Version:
Events
Name
Lookup
Attributes
ConfigSet7c00["BbConfig<BalanceOf, BlockNumberFor>"]
Minted7c01["AccountIdOf","u128","BalanceOf","BalanceOf","BlockNumberFor","BlockNumberFor"]
Supply7c02["BalanceOf","BalanceOf"]
LockCreated7c03["AccountIdOf","u128","BalanceOf","BlockNumberFor"]
UnlockTimeIncreased7c04["AccountIdOf","u128","BlockNumberFor"]
AmountIncreased7c05["AccountIdOf","u128","BalanceOf"]
Withdrawn7c06["AccountIdOf","u128","BalanceOf"]
IncentiveSet7c07["IncentiveConfig<CurrencyIdOf, BalanceOf, BlockNumberFor , AccountIdOf>"]
RewardAdded7c08["Vec<CurrencyIdOf>"]
Rewarded7c09["AccountIdOf","Vec<(CurrencyIdOf, BalanceOf)>"]
AllRefreshed7c0a["CurrencyIdOf"]
PartiallyRefreshed7c0b["CurrencyIdOf"]
NotifyRewardFailed7c0c["Vec<CurrencyIdOf>"]
MarkupDeposited7c0d["AccountIdOf","CurrencyIdOf","BalanceOf"]
MarkupWithdrawn7c0e["AccountIdOf","CurrencyIdOf"]
Storage Functions
Name
Type
Supply{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
BbConfigs{"origin":"PlainType","plain_type":"bb_bnc:BbConfig","PlainTypeValue":538}
Epoch{"origin":"PlainType","plain_type":"U256","PlainTypeValue":306}
Locked{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"bb_bnc:LockedBalance","keys_id":6,"value_id":922}}
UserLocked{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}}
PointHistory{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U256"],"value":"bb_bnc:Point","keys_id":306,"value_id":923}}
UserPointHistory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U256"],"value":"bb_bnc:Point","keys_id":925,"value_id":923}}
UserPointEpoch{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"U256","keys_id":6,"value_id":306}}
SlopeChanges{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"I128","keys_id":4,"value_id":924}}
IncentiveConfigs{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"bb_bnc:incentive:IncentiveConfig","keys_id":4,"value_id":539}}
UserRewardPerTokenPaid{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":540}}
Rewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":540}}
UserMarkupInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bb_bnc:traits:UserMarkupInfo","keys_id":0,"value_id":926}}
LockedTokens{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","AccountId"],"value":"bb_bnc:traits:LockedToken","keys_id":919,"value_id":927}}
TotalLock{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":322,"value_id":6}}
MarkupCoefficient{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bb_bnc:traits:MarkupCoefficientInfo","keys_id":322,"value_id":928}}
Position{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
UserPositions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<U128>","keys_id":0,"value_id":929}}
UserFarmingPool{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<U32>","keys_id":0,"value_id":930}}
Constants
Name
Type
Value
TokenTypebifrost_primitives:currency:CurrencyId0101
IncentivePalletId[U8; 8]62662f6262696374
BuyBackAccount[U8; 8]62662f627962636b
WeekU32e0c40000
MaxBlockU328066a000
MultiplierU1280010a5d4e80000000000000000000000
VoteWeightMultiplierU12801000000000000000000000000000000
MaxPositionsU320a000000
MarkupRefreshLimitU3264000000
Error Types
Name
Docs
NotEnoughBalanceNot enough balance
ExpiredBlock number is expired
BelowMinimumMintBelow minimum mint
LockNotExistLock does not exist
LockExistLock already exists
ArgumentsErrorArguments error
ExceedsMaxPositionsExceeds max positions
NoControllerNo controller
UserFarmingPoolOverflowUser farming pool overflow