Skip to content

Commit

Permalink
feat: test new adapters for woo fi
Browse files Browse the repository at this point in the history
  • Loading branch information
Verisana committed Mar 16, 2023
1 parent 091437a commit 00aa3db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-bytecode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ const artifact = {};

const factory = new ethers.ContractFactory(artifact.abi, artifact.bytecode);

const config = {};

console.log(
JSON.stringify(factory.getDeployTransaction(/* Put here deployment args */)),
);
4 changes: 2 additions & 2 deletions src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function testForNetwork(
SwapSide.SELL,
[
ContractMethod.simpleSwap,
// ContractMethod.multiSwap,
// ContractMethod.megaSwap,
ContractMethod.multiSwap,
ContractMethod.megaSwap,
],
],
]);
Expand Down
2 changes: 1 addition & 1 deletion tests/tenderly-simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const TENDERLY_FORK_LAST_TX_ID = process.env.TENDERLY_FORK_LAST_TX_ID;
export class TenderlySimulation {
lastTx: string = '';
forkId: string = '';
maxGasLimit = 8000000;
maxGasLimit = 80000000;

constructor(private network: Number = 1) {}

Expand Down
2 changes: 2 additions & 0 deletions tests/utils-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const DEPLOYER_ADDRESS: { [nid: number]: string } = {
[Network.FANTOM]: '0x05182E579FDfCf69E4390c3411D8FeA1fb6467cf',
[Network.AVALANCHE]: '0xD6216fC19DB775Df9774a6E33526131dA7D19a2c',
[Network.OPTIMISM]: '0xf01121e808F782d7F34E857c27dA31AD1f151b39',
[Network.ARBITRUM]: '0xb38e8c17e38363af6ebdcb3dae12e0243582891d',
};

const MULTISIG: { [nid: number]: string } = {
Expand All @@ -54,6 +55,7 @@ const MULTISIG: { [nid: number]: string } = {
[Network.FANTOM]: '0xECaB2dac955b94e49Ec09D6d68672d3B397BbdAd',
[Network.AVALANCHE]: '0x1e2ECA5e812D08D2A7F8664D69035163ff5BfEC2',
[Network.OPTIMISM]: '0xf01121e808F782d7F34E857c27dA31AD1f151b39',
[Network.ARBITRUM]: '0x90DfD8a6454CFE19be39EaB42ac93CD850c7f339',
};

class APIParaswapSDK implements IParaSwapSDK {
Expand Down

0 comments on commit 00aa3db

Please sign in to comment.