Skip to content

Commit

Permalink
Merge pull request #636 from ApeSwapFinance/staging
Browse files Browse the repository at this point in the history
staging
  • Loading branch information
n0mbr3al3at0r10 authored Jan 14, 2025
2 parents 22611e3 + 1337616 commit 03d7792
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 2 deletions.
12 changes: 12 additions & 0 deletions config/bills.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
"liquidityDex": {
"8453": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"getLpUrl": {
"8453": "https://app.ichi.org/vault/token/0x1986cc18d8ec757447254310d2604f85741aa732/"
Expand Down Expand Up @@ -810,6 +811,7 @@
"liquidityDex": {
"8453": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"getLpUrl": {
"8453": "https://app.ichi.org/vault/token/0x1986cc18d8ec757447254310d2604f85741aa732/"
Expand Down Expand Up @@ -2783,6 +2785,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Lynex",
"liquidityDex": {
"59144": "Algebra"
Expand Down Expand Up @@ -3565,6 +3568,7 @@
"liquidityDex": {
"56": "PancakeSwapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "PancakeSwap",
"getLpUrl": {
"56": "https://pancakeswap.finance/position-managers"
Expand Down Expand Up @@ -3673,6 +3677,7 @@
"liquidityDex": {
"56": "Algebra"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Thena",
"getLpUrl": {
"56": "https://thena.fi/pools/0x87a4276eaed3b46cb77ec41d6f6b9fc98b159725"
Expand Down Expand Up @@ -5658,6 +5663,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"liquidityDex": {
"56": "Algebra"
Expand Down Expand Up @@ -15135,6 +15141,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"getLpUrl": {
"137": "https://app.ichi.org/vault/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/"
Expand Down Expand Up @@ -15193,6 +15200,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"earnToken": {
Expand Down Expand Up @@ -15360,6 +15368,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"earnToken": {
Expand Down Expand Up @@ -15993,6 +16002,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"earnToken": {
Expand Down Expand Up @@ -19307,6 +19317,7 @@
"liquidityDex": {
"42161": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"active": true,
"lpToken": true
Expand Down Expand Up @@ -19465,6 +19476,7 @@
"liquidityDex": {
"42161": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"active": true,
"lpToken": true
Expand Down
11 changes: 11 additions & 0 deletions config/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Lynex",
"liquidityDex": {
"59144": "Algebra"
Expand Down Expand Up @@ -4457,6 +4458,7 @@
"liquidityDex": {
"42161": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"active": true,
"lpToken": true
Expand All @@ -4472,6 +4474,7 @@
"liquidityDex": {
"42161": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"active": true,
"lpToken": true
Expand Down Expand Up @@ -5469,6 +5472,7 @@
"liquidityDex": {
"56": "Algebra"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Thena",
"getLpUrl": {
"56": "https://thena.fi/pools/0x87a4276eaed3b46cb77ec41d6f6b9fc98b159725"
Expand All @@ -5487,6 +5491,7 @@
"liquidityDex": {
"56": "PancakeSwapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "PancakeSwap",
"getLpUrl": {
"56": "https://pancakeswap.finance/position-managers"
Expand Down Expand Up @@ -5600,6 +5605,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"liquidityDex": {
"56": "Algebra"
Expand Down Expand Up @@ -6203,6 +6209,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"polEth_Ichi": {
Expand Down Expand Up @@ -6235,6 +6242,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"usdtVda_Ichi": {
Expand All @@ -6250,6 +6258,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "QuickSwap"
},
"polRum_Ichi": {
Expand All @@ -6265,6 +6274,7 @@
},
"active": true,
"lpToken": true,
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"getLpUrl": {
"137": "https://app.ichi.org/vault/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/"
Expand Down Expand Up @@ -6599,6 +6609,7 @@
"liquidityDex": {
"8453": "UniswapV3"
},
"liquidityWrapper": 1,
"ichiUnderlyingDex": "Uniswap V3",
"getLpUrl": {
"8453": "https://app.ichi.org/vault/token/0x1986cc18d8ec757447254310d2604f85741aa732/"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ape.swap/apeswap-lists",
"version": "3.74.0",
"version": "3.74.1",
"publishConfig": {
"access": "public"
},
Expand Down
13 changes: 12 additions & 1 deletion src/constants/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChainId, IchiSupportedDex, LiquidityDex, Token } from '../types'
import { ChainId, IchiSupportedDex, LiquidityDex, Token, Wrappers } from '../types'

const tokens: Record<string, Token> = {
// BANANA should always be first token for GNANA calculation
Expand Down Expand Up @@ -568,6 +568,7 @@ const tokens: Record<string, Token> = {
decimals: { [ChainId.LINEA]: 18 },
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Lynex,
liquidityDex: {
[ChainId.LINEA]: LiquidityDex.Algebra,
Expand Down Expand Up @@ -4303,6 +4304,7 @@ const tokens: Record<string, Token> = {
liquidityDex: {
[ChainId.ARBITRUM]: LiquidityDex.UniswapV3,
},
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.UniswapV3,
active: true,
lpToken: true,
Expand All @@ -4318,6 +4320,7 @@ const tokens: Record<string, Token> = {
liquidityDex: {
[ChainId.ARBITRUM]: LiquidityDex.UniswapV3,
},
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.UniswapV3,
active: true,
lpToken: true,
Expand Down Expand Up @@ -5308,6 +5311,7 @@ const tokens: Record<string, Token> = {
liquidityDex: {
[ChainId.BSC]: LiquidityDex.Algebra,
},
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Thena,
getLpUrl: {
[ChainId.BSC]: 'https://thena.fi/pools/0x87a4276eaed3b46cb77ec41d6f6b9fc98b159725',
Expand All @@ -5324,6 +5328,7 @@ const tokens: Record<string, Token> = {
liquidityDex: {
[ChainId.BSC]: LiquidityDex.PancakeSwapV3,
},
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Pancakeswap,
getLpUrl: {
[ChainId.BSC]: 'https://pancakeswap.finance/position-managers',
Expand Down Expand Up @@ -5424,6 +5429,7 @@ const tokens: Record<string, Token> = {
decimals: { [ChainId.BSC]: 18 },
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.UniswapV3,
liquidityDex: {
[ChainId.BSC]: LiquidityDex.Algebra,
Expand Down Expand Up @@ -5986,6 +5992,7 @@ const tokens: Record<string, Token> = {
},
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Quickswap,
},
polEth_Ichi: {
Expand Down Expand Up @@ -6018,6 +6025,7 @@ const tokens: Record<string, Token> = {
},
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Quickswap,
},
usdtVda_Ichi: {
Expand All @@ -6033,6 +6041,7 @@ const tokens: Record<string, Token> = {
},
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.Quickswap,
},
polRum_Ichi: {
Expand All @@ -6048,6 +6057,7 @@ const tokens: Record<string, Token> = {
},
active: true,
lpToken: true,
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.UniswapV3,
getLpUrl: {
[ChainId.MATIC]: 'https://app.ichi.org/vault/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/',
Expand Down Expand Up @@ -6375,6 +6385,7 @@ const tokens: Record<string, Token> = {
liquidityDex: {
[ChainId.BASE]: LiquidityDex.UniswapV3,
},
liquidityWrapper: Wrappers.Ichi,
ichiUnderlyingDex: IchiSupportedDex.UniswapV3,
getLpUrl: {
[ChainId.BASE]: 'https://app.ichi.org/vault/token/0x1986cc18d8ec757447254310d2604f85741aa732/',
Expand Down
7 changes: 7 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ export enum Protocols {
Curve = 9,
}

export enum Wrappers {
Gamma,
Ichi,
Steer,
}

export interface FarmStyles {
deprecated: string
warning: string
Expand All @@ -155,6 +161,7 @@ export interface Token {
liquidityDex?: Partial<Record<ChainId, LiquidityDex>> // the dex type where most liquidity/actual lp is
getLpUrl?: Partial<Record<ChainId, string>> //Needed for ZapVersion.External
ichiUnderlyingDex?: IchiSupportedDex // The dex ichi is wrapping. only necessary for Ichi Zap
liquidityWrapper?: Wrappers // The wrapper used to wrap the liquidity and make it erc20
}

// Interfaces used in Vaults
Expand Down

0 comments on commit 03d7792

Please sign in to comment.