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

watcher: add optimismSepolia to FT #395

Merged
merged 1 commit into from
Jan 13, 2025
Merged
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
8 changes: 6 additions & 2 deletions watcher/src/fastTransfer/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,20 @@ export const FAST_TRANSFER_CONTRACTS: FastTransferContractAddresses = {
TokenRouter: '0xe0418C44F06B0b0D7D1706E01706316DBB0B210E',
CircleBridge: '0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5',
},
OptimismSepolia: {
TokenRouter: '0x6BAa7397c18abe6221b4f6C3Ac91C88a9faE00D8',
CircleBridge: '0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5',
},
},
};

// Separate testnet and mainnet chains
export type FTEVMMainnetChain = 'Arbitrum' | 'Base';
export type FTEVMTestnetChain = 'ArbitrumSepolia';
export type FTEVMTestnetChain = 'ArbitrumSepolia' | 'OptimismSepolia';
export type FTEVMChain = FTEVMMainnetChain | FTEVMTestnetChain;

export const FTEVMMainnetChains: FTEVMMainnetChain[] = ['Arbitrum', 'Base'];
export const FTEVMTestnetChains: FTEVMTestnetChain[] = ['ArbitrumSepolia'];
export const FTEVMTestnetChains: FTEVMTestnetChain[] = ['ArbitrumSepolia', 'OptimismSepolia'];

export const isFTEVMChain = (chain: Chain, network: Network): chain is FTEVMChain => {
if (network === 'Mainnet') {
Expand Down
Loading