Name | Lookup | Parameters | |
|---|---|---|---|
| create_global_farm | 7000 | 9 | |
| update_global_farm | 7001 | 2 | |
| terminate_global_farm | 7002 | 1 | |
| create_yield_farm | 7003 | 4 | |
| update_yield_farm | 7004 | 3 | |
| stop_yield_farm | 7005 | 2 | |
| resume_yield_farm | 7006 | 4 | |
| terminate_yield_farm | 7007 | 3 | |
| deposit_shares | 7008 | 4 | |
| redeposit_shares | 7009 | 4 | |
| claim_rewards | 700a | 2 | |
| withdraw_shares | 700b | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| GlobalFarmCreated | 7000 | ["GlobalFarmId","AccountId","Balance","AssetId","Perquintill","PeriodOf","BlockNumberFor","AssetId","Balance","Balance","FixedU128"] | |
| GlobalFarmUpdated | 7001 | ["GlobalFarmId","FixedU128"] | |
| YieldFarmCreated | 7002 | ["GlobalFarmId","YieldFarmId","FarmMultiplier","AssetPair","Option<LoyaltyCurve>"] | |
| GlobalFarmTerminated | 7003 | ["GlobalFarmId","AccountId","AssetId","Balance"] | |
| SharesDeposited | 7004 | ["GlobalFarmId","YieldFarmId","AccountId","Balance","AssetId","DepositId"] | |
| SharesRedeposited | 7005 | ["GlobalFarmId","YieldFarmId","AccountId","Balance","AssetId","DepositId"] | |
| RewardClaimed | 7006 | ["GlobalFarmId","YieldFarmId","AccountId","Balance","AssetId","DepositId"] | |
| SharesWithdrawn | 7007 | ["GlobalFarmId","YieldFarmId","AccountId","AssetId","Balance","DepositId"] | |
| YieldFarmStopped | 7008 | ["GlobalFarmId","YieldFarmId","AccountId","AssetPair"] | |
| YieldFarmResumed | 7009 | ["GlobalFarmId","YieldFarmId","AccountId","AssetPair","FarmMultiplier"] | |
| YieldFarmTerminated | 700a | ["GlobalFarmId","YieldFarmId","AccountId","AssetPair"] | |
| YieldFarmUpdated | 700b | ["GlobalFarmId","YieldFarmId","AccountId","AssetPair","FarmMultiplier"] | |
| DepositDestroyed | 700c | ["AccountId","DepositId"] |
Name | Type | Value | |
|---|---|---|---|
| NftCollectionId | U128 | 01000000000000000000000000000000 |
Name | Docs |
|---|---|
| CantFindDepositOwner | Nft pallet didn't return an owner. |
| InsufficientXykSharesBalance | Account balance of XYK pool shares is not sufficient. |
| XykPoolDoesntExist | XYK pool does not exist |
| NotDepositOwner | Account is not deposit owner. |
| CantGetXykAssets | XYK did not return assets for given pool id |
| DepositDataNotFound | Deposit data not found |
| ZeroClaimedRewards | Calculated reward to claim is 0. |
| AssetNotInAssetPair | Asset is not in the `AssetPair`. |
| InvalidAssetPair | Provided `AssetPair` is not used by the deposit. |