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

chore: add token chomper and multisig addresses on ape #28

Merged
merged 5 commits into from
Oct 22, 2024
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
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