Name | Lookup | Parameters | |
---|---|---|---|
create_mining_pool | 6c00 | 6 | |
create_farming_pool | 6c01 | 8 | |
create_eb_farming_pool | 6c02 | 8 | |
charge | 6c03 | 1 | |
kill_pool | 6c04 | 1 | |
force_retire_pool | 6c05 | 1 | |
deposit | 6c06 | 2 | |
redeem | 6c07 | 2 | |
redeem_all | 6c08 | 1 | |
volunteer_to_redeem | 6c09 | 2 | |
claim | 6c0a | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolCreated | 6c00 | ||
PoolCharged | 6c01 | ||
PoolStarted | 6c02 | ||
PoolKilled | 6c03 | ||
PoolRetiredForcefully | 6c04 | ||
UserDeposited | 6c05 | ||
UserRedeemed | 6c06 | ||
UserClaimed | 6c07 |
Name | Type | |
---|---|---|
NextPoolId | {"origin":"PlainType","plain_type":"PoolId"} | |
ChargedPoolIds | {"origin":"PlainType","plain_type":"BTreeSet<PoolId>"} | |
TotalPoolInfos | {"origin":"MapType","map_type":{"key":"PoolId","hasher":"Twox64Concat","value":"PoolInfo","isLinked":false}} | |
TotalDepositData | {"origin":"DoubleMapType","double_map_type":{"key":"PoolId","key2":"AccountIdOf","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"DepositData","isLinked":false}} |
Name | Type | Value | |
---|---|---|---|
RelayChainTokenSymbol | TokenSymbol | 0x04 | |
MaximumDepositInPool | BalanceOf | 0x0000a0dec5adc9353600000000000000 | |
MinimumDepositOfUser | BalanceOf | 0x40420f00000000000000000000000000 | |
MinimumRewardPerBlock | BalanceOf | 0xe8030000000000000000000000000000 | |
MinimumDuration | BlockNumberFor | 0x2c010000 | |
MaximumCharged | u32 | 0x20000000 | |
MaximumOptionRewards | u32 | 0x07000000 | |
PalletId | PalletId | 0x62662f6c6d232323 |
Name | Docs |
---|---|
InvalidTradingPair | |
InvalidDuration | |
InvalidRewardPerBlock | |
InvalidDepositLimit | |
InvalidPoolId | |
InvalidPoolState | |
InvalidPoolType | |
DuplicateReward | Find duplicate reward when creating the liquidity-pool |
ExceedMaximumDeposit | When the amount deposited in a liquidity-pool exceeds the `MaximumDepositInPool` |
ExceedMaximumCharged | When the number of pool-charged exceeds the `MaximumCharged` |
NotEnoughToDeposit | Not enough balance to deposit |
NotEnoughToRedeem | Not enough balance to redeem(VERY SCARY ERR) |
FailOnUnReserve | Not enough balance of reward to unreserve |
NoDepositOfUser | Not enough deposit of the user in the liquidity-pool |
TooLowToDeposit | Too low balance to deposit |
TooLowToRedeem | User doesnt have enough deposit to redeem |
TooShortBetweenTwoClaim | The interval between two claims is short |
PoolChargedAlready | The pool has been charged |
Unexpected | __NOTE__: ERROR HAPPEN |