Compare commits
2 Commits
d207ef6dca
...
ac5a2c1350
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac5a2c1350 | ||
|
|
ed9fefd001 |
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
CHAIN_ID=${1:-31337}
|
||||
CHAIN_ID=${1:-1}
|
||||
|
||||
case "$CHAIN_ID" in
|
||||
"sepolia")
|
||||
|
||||
@@ -145,11 +145,11 @@ const DEFAULT_POOL_PARAMS = {
|
||||
swapFeesPpm: Object.values(TEST_TOKENS).map(t => t.feePpm),
|
||||
flashFeePpm: 5, // 0.0005%
|
||||
stable: false,
|
||||
initialLpAmount: ethers.utils.parseUnits('1', 18) // 100 USD in 18 decimals
|
||||
initialLpAmount: ethers.utils.parseUnits('100', 18)
|
||||
};
|
||||
|
||||
// Input amount in USD
|
||||
const INPUT_USD_AMOUNT = 1;
|
||||
const INPUT_USD_AMOUNT = 100;
|
||||
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -28,7 +28,16 @@ const mockchain = defineChain({
|
||||
testnet: true,
|
||||
});
|
||||
|
||||
const allChains = [mainnet, polygon, optimism, arbitrum, base, sepolia, mockchain];
|
||||
// Create a deep copy of mainnet with custom RPC URL
|
||||
const ethereum = {
|
||||
...mainnet,
|
||||
rpcUrls: {
|
||||
...mainnet.rpcUrls,
|
||||
default: {http: ['https://ethereum.liquidity.party']},
|
||||
},
|
||||
};
|
||||
|
||||
const allChains = [ethereum, sepolia, mockchain];
|
||||
const chains = allChains.filter(chain =>
|
||||
Object.keys(deployments || {}).includes(chain.id.toString())
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user