Skip to content

Commit

Permalink
feat: merkl add Range on Sushiswapv3/Camelot on Arbitrum (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeNervoXS authored Oct 12, 2023
1 parent b6a5e2d commit 5c7ffde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/constants/merkl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ export const calculatorUsedWrappersList: {
Wrapper[AMMType.UniswapV3].Steer,
Wrapper[AMMType.UniswapV3].Unipilot,
],
[AMMType.SushiSwapV3]: [Wrapper[AMMType.SushiSwapV3].Gamma, Wrapper[AMMType.SushiSwapV3].Steer, Wrapper[AMMType.SushiSwapV3].DefiEdge],
[AMMType.SushiSwapV3]: [
Wrapper[AMMType.SushiSwapV3].Range,
Wrapper[AMMType.SushiSwapV3].Gamma,
Wrapper[AMMType.SushiSwapV3].Steer,
Wrapper[AMMType.SushiSwapV3].DefiEdge,
],
[AMMType.Retro]: [],
[AMMType.PancakeSwapV3]: [],
[AMMType.Camelot]: [Wrapper[AMMType.Camelot].Gamma],
[AMMType.Camelot]: [Wrapper[AMMType.Camelot].Gamma, Wrapper[AMMType.Camelot].Range],
[AMMType.BaseSwap]: [],
[AMMType.Horiza]: [],
},
Expand Down
2 changes: 2 additions & 0 deletions src/types/merkl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export enum UniswapV3Wrapper {
export enum SushiSwapV3Wrapper {
Gamma = ALMType.Gamma,
DefiEdge = ALMType.DefiEdge,
Range = ALMType.Range,
Steer = ALMType.Steer,
}
export enum RetroWrapper {
Expand All @@ -62,6 +63,7 @@ export enum PancakeSwapV3Wrapper {

export enum CamelotWrapper {
Gamma = ALMType.Gamma,
Range = ALMType.Range,
}

type WrapperTypeMapping = {
Expand Down

0 comments on commit 5c7ffde

Please sign in to comment.