Skip to content

Commit

Permalink
chore: add cronos and sonic to permit2 list of chains
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsambugs committed Jan 21, 2025
1 parent 315b752 commit 04051d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/permit2/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Contract } from '@shared/contracts';
export const PERMIT2_CONTRACT = Contract.with({ defaultAddress: '0x000000000022d473030f116ddee9f6b43ac78ba3' }).build();
export const PERMIT2_ADAPTER_CONTRACT = Contract.with({ defaultAddress: '0xED306e38BB930ec9646FF3D917B2e513a97530b1' })
.and({ address: '0xd4c28318bf51e823bAE1C4FEC562b80C53E66467', onChain: Chains.MANTLE })
.and({ address: '0xd4c28318bf51e823bAE1C4FEC562b80C53E66467', onChain: Chains.CRONOS })
.and({ address: '0xd4c28318bf51e823bAE1C4FEC562b80C53E66467', onChain: Chains.SONIC })
.build();
export const WORDS_FOR_NONCE_CALCULATION = 10;
export const PERMIT2_SUPPORTED_CHAINS = [
Expand All @@ -30,4 +32,6 @@ export const PERMIT2_SUPPORTED_CHAINS = [
Chains.SCROLL,
Chains.MODE,
Chains.MANTLE,
Chains.CRONOS,
Chains.SONIC,
].map(({ chainId }) => chainId);

0 comments on commit 04051d0

Please sign in to comment.