Skip to content

Commit 280ab4b

Browse files
authored
feat: Add Aerodrome Support for flashminting leveraged tokens (#202)
* Add DexAdapterV4 with aerodrome support * Add FlashMintLeveragedAerodrome contract * Fix docstring fro dexadapter * Set up tests * First passing test for issuance and redemption * Remove Extended contract
1 parent b4e2c4e commit 280ab4b

File tree

9 files changed

+3581
-79
lines changed

9 files changed

+3581
-79
lines changed

contracts/exchangeIssuance/DEXAdapterV4.sol

Lines changed: 1305 additions & 0 deletions
Large diffs are not rendered by default.

contracts/exchangeIssuance/FlashMintLeveragedAerodrome.sol

Lines changed: 1254 additions & 0 deletions
Large diffs are not rendered by default.

contracts/interfaces/IAerodromeRouter.sol

Lines changed: 441 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"chain:fork:polygon": "NETWORK=polygon yarn run chain:fork",
2525
"chain:fork:optimism": "NETWORK=optimism yarn run chain:fork",
2626
"chain:fork:arbitrum": "NETWORK=arbitrum yarn run chain:fork",
27+
"chain:fork:base": "NETWORK=base yarn run chain:fork",
2728
"clean": "rm -rf coverage.json .coverage_cache .coverage_contracts cache coverage typechain artifacts dist",
2829
"clean-dev-deployment": "rm -rf deployments/50-development.json",
2930
"compile": "npx hardhat compile",
@@ -49,6 +50,7 @@
4950
"test:integration:optimism": "find test/integration/optimism -type f -name '*.spec.ts' | xargs yarn run test:integration",
5051
"test:integration:ethereum": "find test/integration/ethereum -type f -name '*.spec.ts' | xargs yarn run test:integration",
5152
"test:integration:arbitrum": "find test/integration/arbitrum -type f -name '*.spec.ts' | xargs yarn run test:integration",
53+
"test:integration:base": "INTEGRATIONTEST=true NETWORK=base VERBOSE=true yarn run test test/integration/base/*",
5254
"test:clean": "yarn clean && yarn build && yarn test",
5355
"transpile": "tsc",
5456
"transpile-dist": "tsc -p tsconfig.dist.json",
@@ -80,7 +82,7 @@
8082
"dotenv": "^8.2.0",
8183
"ethereum-waffle": "^3.2.1",
8284
"globby": "^11.0.2",
83-
"hardhat": "2.22.3",
85+
"hardhat": "2.22.14",
8486
"hardhat-contract-sizer": "^2.5.1",
8587
"hardhat-deploy": "^0.7.0-beta.39",
8688
"hardhat-typechain": "^0.3.4",

0 commit comments

Comments
 (0)