Name | Lookup | Parameters | |
|---|---|---|---|
| create_single_token_pool | 6b00 | 8 | |
| create_mining_pool | 6b01 | 8 | |
| create_farming_pool | 6b02 | 10 | |
| create_eb_farming_pool | 6b03 | 8 | |
| charge | 6b04 | 1 | |
| kill_pool | 6b05 | 1 | |
| force_retire_pool | 6b06 | 1 | |
| edit_pool | 6b07 | 3 | |
| deposit | 6b08 | 2 | |
| redeem | 6b09 | 2 | |
| redeem_all | 6b0a | 1 | |
| volunteer_to_redeem | 6b0b | 2 | |
| claim | 6b0c | 1 | |
| unlock | 6b0d | 1 | |
| cancel_unlock | 6b0e | 2 | |
| lazy_migration_v2_0_0 | 6b0f | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| PoolCreated | 6b00 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"] | |
| PoolCharged | 6b01 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"] | |
| PoolStarted | 6b02 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
| PoolKilled | 6b03 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
| PoolRetiredForcefully | 6b04 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
| PoolEdited | 6b05 | ["PoolId","BlockNumberFor","u32","BlockNumberFor","u32"] | |
| UserDeposited | 6b06 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
| UserRedeemed | 6b07 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","BlockNumberFor","AccountIdOf"] | |
| UserClaimed | 6b08 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","Vec<(CurrencyId, BalanceOf)>","AccountIdOf"] | |
| UserUnlocked | 6b09 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
| UserCancelUnlock | 6b0a | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
| LazyMigration | 6b0b | ["u32","u32"] |
Name | Type | |
|---|---|---|
| NextPoolId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ChargedPoolIds | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":603} | |
| TotalPoolInfosV200 | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_liquidity_mining:PoolInfo","keys_id":4,"value_id":604}} | |
| TotalDepositDataV200 | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_liquidity_mining:DepositData","keys_id":313,"value_id":610}} | |
| PalletVersion | {"origin":"PlainType","plain_type":"bifrost_liquidity_mining:StorageVersion","PlainTypeValue":616} |
Name | Type | Value | |
|---|---|---|---|
| RelayChainTokenSymbol | node_primitives:currency:TokenSymbol | 03 | |
| MaximumDepositInPool | U128 | 000000e83c80d09f3c2e3b0300000000 | |
| MinimumDepositOfUser | U128 | 40420f00000000000000000000000000 | |
| MinimumRewardPerBlock | U128 | e8030000000000000000000000000000 | |
| MinimumDuration | U32 | 2c010000 | |
| MaximumCharged | U32 | 20000000 | |
| MaximumOptionRewards | U32 | 07000000 | |
| PalletId | [U8; 8] | 62662f6c6d646f74 |
Name | Docs |
|---|---|
| InvalidTradingPair | |
| InvalidDuration | |
| InvalidRewardPerBlock | |
| InvalidDepositLimit | |
| InvalidPoolId | |
| InvalidPoolState | |
| InvalidPoolType | |
| DuplicateReward | Find duplicate rewards when creating the liquidity-pool |
| ExceedMaximumDeposit | The deposit of a liquidity-pool exceeded the `MaximumDepositInPool` |
| ExceedMaximumCharged | The number of pool which be charged exceeded the `MaximumCharged` |
| NotEnoughToDeposit | User doesn't have enough balance of which be deposited to pool |
| NotEnoughToRedeem | Keeper doesn't have enough balance to be redeemed by the user(VERY SCARY ERR) |
| NotEnoughToUnlock | Keeper doesn't have enough balance to be unlocked by the user(VERY SCARY ERR) |
| NoDepositOfUser | User has nothing be deposited to the pool |
| TooLowToDeposit | The balance which was tried to deposit to the pool less than `MinimumDepositOfUser` |
| TooLowToRedeem | User doesn't have such amount deposit can be redeemed from the pool |
| TooShortBetweenTwoClaim | Duplicate claim actions were at same block height |
| PoolChargedAlready | The pool has been charged already |
| ExceedMaximumUnlock | The number of pending-unlocks reaches the limit; |
| NoPendingUnlocks | Not have pending-unlocks; |
| WrongIndex | Input wrong index to `cancel_unlock`; |
| Unexpected | __NOTE__: ERROR HAPPEN |
| OnMigration | On lazy-migration |
| NoMigration |