Name | Lookup | Parameters | |
---|---|---|---|
create_single_token_pool | 6c00 | 8 | |
create_mining_pool | 6c01 | 8 | |
create_farming_pool | 6c02 | 10 | |
create_eb_farming_pool | 6c03 | 8 | |
charge | 6c04 | 1 | |
kill_pool | 6c05 | 1 | |
force_retire_pool | 6c06 | 1 | |
edit_pool | 6c07 | 3 | |
deposit | 6c08 | 2 | |
redeem | 6c09 | 2 | |
redeem_all | 6c0a | 1 | |
volunteer_to_redeem | 6c0b | 2 | |
claim | 6c0c | 1 | |
unlock | 6c0d | 1 | |
cancel_unlock | 6c0e | 2 | |
lazy_migration_v2_0_0 | 6c0f | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolCreated | 6c00 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"] | |
PoolCharged | 6c01 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"] | |
PoolStarted | 6c02 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
PoolKilled | 6c03 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
PoolRetiredForcefully | 6c04 | ["PoolId","PoolType","(CurrencyId, CurrencyId)"] | |
PoolEdited | 6c05 | ["PoolId","BlockNumberFor","u32","BlockNumberFor","u32"] | |
UserDeposited | 6c06 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
UserRedeemed | 6c07 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","BlockNumberFor","AccountIdOf"] | |
UserClaimed | 6c08 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","Vec<(CurrencyId, BalanceOf)>","AccountIdOf"] | |
UserUnlocked | 6c09 | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
UserCancelUnlock | 6c0a | ["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"] | |
LazyMigration | 6c0b | ["u32","u32"] |
Name | Type | |
---|---|---|
NextPoolId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ChargedPoolIds | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":633} | |
TotalPoolInfosV200 | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_liquidity_mining:PoolInfo","keys_id":4,"value_id":634}} | |
TotalDepositDataV200 | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_liquidity_mining:DepositData","keys_id":321,"value_id":640}} | |
PalletVersion | {"origin":"PlainType","plain_type":"bifrost_liquidity_mining:StorageVersion","PlainTypeValue":646} |
Name | Type | Value | |
---|---|---|---|
RelayChainTokenSymbol | node_primitives:currency:TokenSymbol | 04 | |
MaximumDepositInPool | U128 | 000000e83c80d09f3c2e3b0300000000 | |
MinimumDepositOfUser | U128 | 40420f00000000000000000000000000 | |
MinimumRewardPerBlock | U128 | e8030000000000000000000000000000 | |
MinimumDuration | U32 | 2c010000 | |
MaximumCharged | U32 | 20000000 | |
MaximumOptionRewards | U32 | 07000000 | |
PalletId | [U8; 8] | 62662f6c6d232323 |
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 |