Adding new pools into the strategy
How to add a new strategy to Strategy Handler?
```typescript
await handler.addLiquidityDirection(
_codeName,
_strategyAddress,
_entryToken,
_assetId,
_chainId,
_entryData,
_exitData,
_rewardsData
);
``````typescript
const _entryData = await strategy.encodeEntryParams(
curvePool, _entryToken, poolSize, tokenIndexInCurve, fraxPool, duration);
const _rewardsData = await strategy.encodeRewardsParams(lpToken, fraxPool, assetId);
const _exitData = await strategy.encodeExitParams(curvePool, _entryToken, tokenIndexInCurve, fraxPool);
```Last updated