Name | Lookup | Parameters | |
|---|---|---|---|
| create_farming_pool | 7700 | 8 | |
| charge | 7701 | 2 | |
| deposit | 7702 | 3 | |
| withdraw | 7703 | 2 | |
| claim | 7704 | 1 | |
| withdraw_claim | 7705 | 1 | |
| force_retire_pool | 7706 | 1 | |
| set_retire_limit | 7707 | 1 | |
| close_pool | 7708 | 1 | |
| reset_pool | 7709 | 8 | |
| kill_pool | 770a | 1 | |
| edit_pool | 770b | 6 | |
| gauge_withdraw | 770c | 1 | |
| force_gauge_claim | 770d | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| FarmingPoolCreated | 7700 | ["PoolId"] | |
| FarmingPoolReset | 7701 | ["PoolId"] | |
| FarmingPoolClosed | 7702 | ["PoolId"] | |
| FarmingPoolKilled | 7703 | ["PoolId"] | |
| FarmingPoolEdited | 7704 | ["PoolId"] | |
| Charged | 7705 | ["AccountIdOf","PoolId","Vec<(CurrencyIdOf, BalanceOf)>"] | |
| Deposited | 7706 | ["AccountIdOf","PoolId","BalanceOf","Option<(BalanceOf, BlockNumberFor)>"] | |
| Withdrawn | 7707 | ["AccountIdOf","PoolId","Option<BalanceOf>"] | |
| Claimed | 7708 | ["AccountIdOf","PoolId"] | |
| WithdrawClaimed | 7709 | ["AccountIdOf","PoolId"] | |
| GaugeWithdrawn | 770a | ["AccountIdOf","PoolId"] | |
| AllForceGaugeClaimed | 770b | ["PoolId"] | |
| PartiallyForceGaugeClaimed | 770c | ["PoolId"] | |
| AllRetired | 770d | ["PoolId"] | |
| PartiallyRetired | 770e | ["PoolId"] | |
| RetireLimitSet | 770f | ["u32"] |
Name | Type | |
|---|---|---|
| PoolNextId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| GaugePoolNextId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| RetireLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PoolInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:rewards:PoolInfo","keys_id":4,"value_id":594}} | |
| GaugePoolInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:gauge:GaugePoolInfo","keys_id":4,"value_id":601}} | |
| GaugeInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:gauge:GaugeInfo","keys_id":607,"value_id":608}} | |
| SharesAndWithdrawnRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:rewards:ShareInfo","keys_id":607,"value_id":609}} |
Name | Type | Value | |
|---|---|---|---|
| TreasuryAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
| Keeper | [U8; 8] | 62662f666d6b7072 | |
| RewardIssuer | [U8; 8] | 62662f666d726972 |
Name | Docs |
|---|---|
| CalculationOverflow | |
| PoolDoesNotExist | |
| GaugePoolNotExist | |
| GaugeInfoNotExist | |
| InvalidPoolState | |
| LastGaugeNotClaim | |
| CanNotClaim | claim_limit_time exceeded |
| GaugeMaxBlockOverflow | gauge pool max_block exceeded |
| WithdrawLimitCountExceeded | withdraw_limit_time exceeded |
| ShareInfoNotExists | |
| CanNotDeposit |