bifrost
subscan
Runtime Modules / BbBNC
Spec Version:
Events
Name
Lookup
Attributes
ConfigSet7c00["BbConfig<BalanceOf, BlockNumberFor>"]
Minted7c01["AccountIdOf","u128","BalanceOf","BalanceOf","BlockNumberFor","BlockNumberFor","BlockNumberFor"]
Supply7c02["BalanceOf","BalanceOf"]
LockCreated7c03["AccountIdOf","u128","BalanceOf","BlockNumberFor","BlockNumberFor"]
UnlockTimeIncreased7c04["AccountIdOf","u128","BlockNumberFor","BlockNumberFor"]
AmountIncreased7c05["AccountIdOf","u128","BalanceOf"]
Withdrawn7c06["AccountIdOf","u128","BalanceOf"]
IncentiveSet7c07["IncentiveConfigOf"]
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":628}
Epoch{"origin":"PlainType","plain_type":"U256","PlainTypeValue":312}
Locked{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"bb_bnc:LockedBalance","keys_id":6,"value_id":994}}
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":312,"value_id":995}}
UserPointHistory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U256"],"value":"bb_bnc:Point","keys_id":996,"value_id":995}}
UserPointEpoch{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"U256","keys_id":6,"value_id":312}}
SlopeChanges{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"I128","keys_id":4,"value_id":423}}
IncentiveConfigs{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"bb_bnc:incentive:IncentiveConfig","keys_id":4,"value_id":629}}
UserRewardPerTokenPaid{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":630}}
Rewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:bifrost_primitives:currency:CurrencyIdU128>","keys_id":0,"value_id":630}}
UserMarkupInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bb_bnc:traits:UserMarkupInfo","keys_id":0,"value_id":997}}
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":998,"value_id":999}}
TotalLock{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}}
MarkupCoefficient{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bb_bnc:traits:MarkupCoefficientInfo","keys_id":333,"value_id":1000}}
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":1001}}
ExpiringPositions{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U128>","keys_id":4,"value_id":1002}}
NextExpiringBlock{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PositionOwner{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"AccountId","keys_id":6,"value_id":0}}
Constants
Name
Type
Value
TokenTypebifrost_primitives:currency:CurrencyId0101
IncentivePalletId[U8; 8]62662f6262696374
BuyBackAccount[U8; 8]62662f627962636b
WeekU32c0890100
MaxBlockU3200cd4001
MultiplierU1280010a5d4e80000000000000000000000
VoteWeightMultiplierU12800008bbd0689680a0000000000000000
MaxPositionsU320a000000
MarkupRefreshLimitU3264000000
OneYearU3240335000
FiveYearsU3240009101
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