Name | Lookup | Parameters | |
|---|---|---|---|
| set_config | 7c00 | 3 | |
| create_lock | 7c01 | 2 | |
| increase_amount | 7c02 | 2 | |
| increase_unlock_time | 7c03 | 2 | |
| withdraw | 7c04 | 1 | |
| notify_rewards | 7c05 | 3 | |
| get_rewards | 7c06 | - | |
| redeem_unlock | 7c07 | 1 | |
| set_markup_coefficient | 7c08 | 4 | |
| deposit_markup | 7c09 | 2 | |
| withdraw_markup | 7c0a | 1 | |
| refresh | 7c0b | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ConfigSet | 7c00 | ["BbConfig<BalanceOf, BlockNumberFor>"] | |
| Minted | 7c01 | ["AccountIdOf","u128","BalanceOf","BalanceOf","BlockNumberFor","BlockNumberFor","BlockNumberFor"] | |
| Supply | 7c02 | ["BalanceOf","BalanceOf"] | |
| LockCreated | 7c03 | ["AccountIdOf","u128","BalanceOf","BlockNumberFor","BlockNumberFor"] | |
| UnlockTimeIncreased | 7c04 | ["AccountIdOf","u128","BlockNumberFor","BlockNumberFor"] | |
| AmountIncreased | 7c05 | ["AccountIdOf","u128","BalanceOf"] | |
| Withdrawn | 7c06 | ["AccountIdOf","u128","BalanceOf"] | |
| IncentiveSet | 7c07 | ["IncentiveConfigOf"] | |
| RewardAdded | 7c08 | ["Vec<CurrencyIdOf>"] | |
| Rewarded | 7c09 | ["AccountIdOf","Vec<(CurrencyIdOf, BalanceOf)>"] | |
| AllRefreshed | 7c0a | ["CurrencyIdOf"] | |
| PartiallyRefreshed | 7c0b | ["CurrencyIdOf"] | |
| NotifyRewardFailed | 7c0c | ["Vec<CurrencyIdOf>"] | |
| MarkupDeposited | 7c0d | ["AccountIdOf","CurrencyIdOf","BalanceOf"] | |
| MarkupWithdrawn | 7c0e | ["AccountIdOf","CurrencyIdOf"] |
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}} |
Name | Type | Value | |
|---|---|---|---|
| TokenType | bifrost_primitives:currency:CurrencyId | 0101 | |
| IncentivePalletId | [U8; 8] | 62662f6262696374 | |
| BuyBackAccount | [U8; 8] | 62662f627962636b | |
| Week | U32 | c0890100 | |
| MaxBlock | U32 | 00cd4001 | |
| Multiplier | U128 | 0010a5d4e80000000000000000000000 | |
| VoteWeightMultiplier | U128 | 00008bbd0689680a0000000000000000 | |
| MaxPositions | U32 | 0a000000 | |
| MarkupRefreshLimit | U32 | 64000000 | |
| OneYear | U32 | 40335000 | |
| FiveYears | U32 | 40009101 |
Name | Docs |
|---|---|
| NotEnoughBalance | Not enough balance |
| Expired | Block number is expired |
| BelowMinimumMint | Below minimum mint |
| LockNotExist | Lock does not exist |
| LockExist | Lock already exists |
| ArgumentsError | Arguments error |
| ExceedsMaxPositions | Exceeds max positions |
| NoController | No controller |