Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: merkl add Range on Sushiswapv3/Camelot on Arbitrum #277

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading