You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DONE
///Steps for the behaviour
///1. add proportional liquidty to stableswap, so we get 2pool share token
///2. add this 2pool share token as liquidity to omnipool so we get some shares
///3. enter to farms with these omnipool shares.
add_liquidity_stableswap_omnipool_and_join_farms(
origin: OriginFor<T>,
stable_pool_id: T::AssetId,
assets: Vec<AssetAmount<T::AssetId>>,
farm_entries: BoundedVec<(GlobalFarmId, YieldFarmId), T::MaxFarmEntriesPerDeposit>,
)
WON'T BE IMPLEMENTED
///Steps for the behaviour
///1. add liquidty to stableswap, so we get 2pool share token
///2. add this 2pool share token as liquidity to omnipool so we get some shares
///3. enter to farms with these omnipool shares.
add_liquidity_one_asset_stableswap_omnipool_and_join_farms(
origin: OriginFor<T>,
stable_pool_id: T::AssetId,
asset_id:T::AssetId,
amount: Balance,
farm_entries: BoundedVec<(GlobalFarmId, YieldFarmId), T::MaxFarmEntriesPerDeposit>,
)
We want to add more helper/wrappers extrinsics for our LMs:
TODO:
amount
for removing liquidity, otherwise we remove all linked to the positionsTODO: add remove liquidty form omnipool and stablesawp
Here are the new APIs:
Omnipool LM
XYK LM:
The text was updated successfully, but these errors were encountered: