Skip to content

Commit

Permalink
upd js
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkron committed Dec 2, 2024
1 parent 439b50a commit 9f78229
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions tasks/CLFScripts/src/pool/withdrawalLiquidityCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,36 @@
// poolAddress: '${CHILD_POOL_PROXY_FUJI}',
// },
// mainnets
// [`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_ARBITRUM}').toString(16)}`]: {
// urls: [
// `https://arbitrum-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
// 'https://arbitrum.blockpi.network/v1/rpc/public',
// 'https://arbitrum-rpc.publicnode.com',
// ],
// chainId: '0xa4b1',
// usdcAddress: '${USDC_ARBITRUM}',
// poolAddress: '${CHILD_POOL_PROXY_ARBITRUM}',
// },
// [`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_POLYGON}').toString(16)}`]: {
// urls: [
// `https://polygon-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
// 'https://polygon.blockpi.network/v1/rpc/public',
// 'https://polygon-bor-rpc.publicnode.com',
// ],
// chainId: '0x89',
// usdcAddress: '${USDC_POLYGON}',
// poolAddress: '${CHILD_POOL_PROXY_POLYGON}',
// },
// [`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_AVALANCHE}').toString(16)}`]: {
// urls: [
// `https://avalanche-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
// 'https://avalanche.blockpi.network/v1/rpc/public',
// 'https://avalanche-c-chain-rpc.publicnode.com',
// ],
// chainId: '0xa86a',
// usdcAddress: '${USDC_AVALANCHE}',
// poolAddress: '${CHILD_POOL_PROXY_AVALANCHE}',
// },
[`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_ARBITRUM}').toString(16)}`]: {
urls: [
`https://arbitrum-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
'https://arbitrum.blockpi.network/v1/rpc/public',
'https://arbitrum-rpc.publicnode.com',
],
chainId: '0xa4b1',
usdcAddress: '${USDC_ARBITRUM}',
poolAddress: '${CHILD_POOL_PROXY_ARBITRUM}',
},
[`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_POLYGON}').toString(16)}`]: {
urls: [
`https://polygon-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
'https://polygon.blockpi.network/v1/rpc/public',
'https://polygon-bor-rpc.publicnode.com',
],
chainId: '0x89',
usdcAddress: '${USDC_POLYGON}',
poolAddress: '${CHILD_POOL_PROXY_POLYGON}',
},
[`0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_AVALANCHE}').toString(16)}`]: {
urls: [
`https://avalanche-mainnet.infura.io/v3/${secrets.INFURA_API_KEY}`,
'https://avalanche.blockpi.network/v1/rpc/public',
'https://avalanche-c-chain-rpc.publicnode.com',
],
chainId: '0xa86a',
usdcAddress: '${USDC_AVALANCHE}',
poolAddress: '${CHILD_POOL_PROXY_AVALANCHE}',
},
};

const getChainIdByUrl = url => {
Expand All @@ -63,8 +63,8 @@
return null;
};

// const baseChainSelector = `0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_BASE}').toString(16)}`;
const baseChainSelector = `0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_BASE_SEPOLIA}').toString(16)}`;
const baseChainSelector = `0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_BASE}').toString(16)}`;
// const baseChainSelector = `0x${BigInt('${CL_CCIP_CHAIN_SELECTOR_BASE_SEPOLIA}').toString(16)}`;

class FunctionsJsonRpcProvider extends ethers.JsonRpcProvider {
constructor(url) {
Expand Down

0 comments on commit 9f78229

Please sign in to comment.