Skip to content

Commit b4b7216

Browse files
pblivin0xedkimckoopmann
authored
feat: FlashMintHyEthV3 (#187)
* flash mint hyeth v3 * DexAdapterV3 with BalancerV2 support --------- Co-authored-by: Edward Kim <[email protected]> Co-authored-by: christn <[email protected]>
1 parent 7202ed7 commit b4b7216

File tree

9 files changed

+2389
-3
lines changed

9 files changed

+2389
-3
lines changed

contracts/exchangeIssuance/DEXAdapterV3.sol

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

contracts/exchangeIssuance/FlashMintHyETHV3.sol

Lines changed: 698 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// SPDX-License-Identifier: UNLICENSED
2+
pragma solidity 0.6.10;
3+
4+
interface IRsEthAdapter {
5+
function depositRsETH(uint256 rsETHAmount, string memory referralId) external;
6+
function getRSETHWithERC20(address asset, uint256 depositAmount, string memory referralId) external;
7+
function getRSETHWithETH(string memory referralId) external payable;
8+
function lrtDepositPool() external view returns (address);
9+
function rsETH() external view returns (address);
10+
function vault() external view returns (address);
11+
}

test/integration/ethereum/addresses.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export const PRODUCTION_ADDRESSES = {
3232
pendleEzEth1226: "0xf7906F274c174A52d444175729E3fa98f9bde285",
3333
pendleEEth0926: "0x1c085195437738d73d75DC64bC5A3E098b7f93b1",
3434
pendleEEth1226: "0x6ee2b5E19ECBa773a352E5B21415Dc419A700d1d",
35+
pendleAgEth1226: "0x7aa68E84bCD8d1B4C9e10B1e565DB993f68a3E09",
36+
agEth: "0xe1B4d34E8754600962Cd944B535180Bd758E6c2e",
3537
ezEth: "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110",
3638
weEth: "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
3739
rsEth: "0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7",
@@ -83,6 +85,7 @@ export const PRODUCTION_ADDRESSES = {
8385
ezEth1226: "0xD8F12bCDE578c653014F27379a6114F67F0e445f",
8486
eEth0926: "0xC8eDd52D0502Aa8b4D5C77361D4B3D300e8fC81c",
8587
eEth1226: "0x7d372819240D14fB477f17b964f95F33BeB4c704",
88+
agEth1226: "0x6010676Bc2534652aD1Ef5Fa8073DcF9AD7EBFBe",
8689
},
8790
},
8891
dexAdapterV2: "0x88858930B3F1946A5C41a5deD7B5335431d5dE8D",

0 commit comments

Comments
 (0)