Name | Lookup | Parameters | |
|---|---|---|---|
| create_global_farm | 3f00 | 8 | |
| terminate_global_farm | 3f02 | 1 | |
| create_yield_farm | 3f03 | 4 | |
| update_yield_farm | 3f04 | 3 | |
| stop_yield_farm | 3f05 | 2 | |
| resume_yield_farm | 3f06 | 4 | |
| terminate_yield_farm | 3f07 | 3 | |
| deposit_shares | 3f08 | 3 | |
| redeposit_shares | 3f09 | 3 | |
| claim_rewards | 3f0a | 2 | |
| withdraw_shares | 3f0b | 2 | |
| update_global_farm | 3f0c | 4 | |
| join_farms | 3f0d | 2 | |
| add_liquidity_and_join_farms | 3f0e | 4 | |
| exit_farms | 3f0f | 2 | |
| add_liquidity_stableswap_omnipool_and_join_farms | 3f10 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| GlobalFarmCreated | 3f00 | ["GlobalFarmId","AccountId","Balance","AssetId","Perquintill","PeriodOf","BlockNumberFor","Balance","Balance","FixedU128"] | |
| GlobalFarmUpdated | 3f01 | ["GlobalFarmId","PeriodOf","Perquintill","Balance"] | |
| GlobalFarmTerminated | 3f02 | ["GlobalFarmId","AccountId","AssetId","Balance"] | |
| YieldFarmCreated | 3f03 | ["GlobalFarmId","YieldFarmId","AssetId","FarmMultiplier","Option<LoyaltyCurve>"] | |
| YieldFarmUpdated | 3f04 | ["GlobalFarmId","YieldFarmId","AssetId","AccountId","FarmMultiplier"] | |
| YieldFarmStopped | 3f05 | ["GlobalFarmId","YieldFarmId","AssetId","AccountId"] | |
| YieldFarmResumed | 3f06 | ["GlobalFarmId","YieldFarmId","AssetId","AccountId","FarmMultiplier"] | |
| YieldFarmTerminated | 3f07 | ["GlobalFarmId","YieldFarmId","AssetId","AccountId"] | |
| SharesDeposited | 3f08 | ["GlobalFarmId","YieldFarmId","DepositId","AssetId","AccountId","Balance","PositionItemId"] | |
| SharesRedeposited | 3f09 | ["GlobalFarmId","YieldFarmId","DepositId","AssetId","AccountId","Balance","PositionItemId"] | |
| RewardClaimed | 3f0a | ["GlobalFarmId","YieldFarmId","AccountId","Balance","AssetId","DepositId"] | |
| SharesWithdrawn | 3f0b | ["GlobalFarmId","YieldFarmId","AccountId","Balance","DepositId"] | |
| DepositDestroyed | 3f0c | ["AccountId","DepositId"] |
Name | Type | |
|---|---|---|
| OmniPositionId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"U128","keys_id":6,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| NFTCollectionId | U128 | 180a0000000000000000000000000000 | |
| OracleSource | [U8; 8] | 6f6d6e69706f6f6c | |
| OraclePeriod | hydradx_traits:oracle:OraclePeriod | 02 |
Name | Docs |
|---|---|
| AssetNotFound | Asset is not in the omnipool. |
| Forbidden | Signed account is not owner of the deposit. |
| ZeroClaimedRewards | Rewards to claim are 0. |
| InconsistentState | Action cannot be completed because unexpected error has occurred. This should be reportedto protocol maintainers. |
| OracleNotAvailable | Oracle could not be found for requested assets. |
| PriceAdjustmentNotAvailable | Oracle providing `price_adjustment` could not be found for requested assets. |
| NoFarmEntriesSpecified | No farms specified to join |