Skip to content

Commit

Permalink
Merge pull request #28 from sushi-labs/feat/apechain
Browse files Browse the repository at this point in the history
chore: add token chomper and multisig addresses on ape
  • Loading branch information
0xMasayoshi authored Oct 22, 2024
2 parents 7f10dd7 + a2c9312 commit 00c2f5a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-games-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"sushi": patch
---

add token chomper & multisig addresses for ape
1 change: 1 addition & 0 deletions src/config/native-ids.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ export const nativeCurrencyIds = {
[ChainId.MODE]: 'ETH',
[ChainId.TAIKO]: 'ETH',
[ChainId.ZKLINK]: 'ETH',
[ChainId.APE]: 'APE',
} as const
2 changes: 2 additions & 0 deletions src/config/token-chomper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const TOKEN_CHOMPER_CHAIN_IDS = [
ChainId.MODE,
ChainId.TAIKO,
ChainId.ZKLINK,
ChainId.APE,
] as const

export type TokenChomperChainId = (typeof TOKEN_CHOMPER_CHAIN_IDS)[number]
Expand Down Expand Up @@ -85,6 +86,7 @@ export const TOKEN_CHOMPER_ADDRESS: Record<TokenChomperChainId, `0x${string}`> =
[ChainId.MODE]: '0xca226bd9c754F1283123d32B2a7cF62a722f8ADa',
[ChainId.TAIKO]: '0xca226bd9c754F1283123d32B2a7cF62a722f8ADa',
[ChainId.ZKLINK]: '0x8b6E8186dE74fe0128C0a6a3B2733c1365f4c9e2',
[ChainId.APE]: '0xC09756432dAD2FF50B2D40618f7B04546DD20043',
} as const

export const isTokenChomperChainId = (
Expand Down
2 changes: 2 additions & 0 deletions src/config/token-maps/default-quote.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ChainId, natives } from '../../chain/index.js'
import {
APE_USD,
ARB,
BUSD,
GNO,
Expand Down Expand Up @@ -94,4 +95,5 @@ export const defaultQuoteCurrency = {
[ChainId.MODE]: USDC[ChainId.MODE],
[ChainId.TAIKO]: USDC[ChainId.TAIKO],
[ChainId.ZKLINK]: USDC[ChainId.ZKLINK],
[ChainId.APE]: APE_USD,
} as const
2 changes: 2 additions & 0 deletions src/config/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const MULTISIG_CHAIN_IDS = [
ChainId.MODE,
ChainId.TAIKO,
ChainId.ZKLINK,
ChainId.APE,
] as const

export type MultisigChainId = (typeof MULTISIG_CHAIN_IDS)[number]
Expand Down Expand Up @@ -78,6 +79,7 @@ export const MULTISIG_ADDRESS: Record<MultisigChainId, `0x${string}`> = {
[ChainId.MODE]: '0x9ffC84bc9Cf7c85E4E6e2B0aB67BB6c643cA72A2',
[ChainId.TAIKO]: '0xb8f2faca5b2EBcd6Be7B5D9E164962dE9CCc3B76',
[ChainId.ZKLINK]: '0x0b0b61eC14f6b7AEfE62C460103E1a4638546298',
[ChainId.APE]: '0xe7BEF4bFb8AcBe2b68B262A2323e09f13c021a9b',
} as const

export const isMultisigChainId = (
Expand Down

0 comments on commit 00c2f5a

Please sign in to comment.