Skip to content

Commit

Permalink
feat: FlashMintHyEthV3 (#187)
Browse files Browse the repository at this point in the history
* flash mint hyeth v3

* DexAdapterV3 with BalancerV2 support

---------

Co-authored-by: Edward Kim <[email protected]>
Co-authored-by: christn <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent 7202ed7 commit b4b7216
Show file tree
Hide file tree
Showing 9 changed files with 2,389 additions and 3 deletions.
1,147 changes: 1,147 additions & 0 deletions contracts/exchangeIssuance/DEXAdapterV3.sol

Large diffs are not rendered by default.

698 changes: 698 additions & 0 deletions contracts/exchangeIssuance/FlashMintHyETHV3.sol

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions contracts/interfaces/external/IRsEthAdapter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.10;

interface IRsEthAdapter {
function depositRsETH(uint256 rsETHAmount, string memory referralId) external;
function getRSETHWithERC20(address asset, uint256 depositAmount, string memory referralId) external;
function getRSETHWithETH(string memory referralId) external payable;
function lrtDepositPool() external view returns (address);
function rsETH() external view returns (address);
function vault() external view returns (address);
}
3 changes: 3 additions & 0 deletions test/integration/ethereum/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export const PRODUCTION_ADDRESSES = {
pendleEzEth1226: "0xf7906F274c174A52d444175729E3fa98f9bde285",
pendleEEth0926: "0x1c085195437738d73d75DC64bC5A3E098b7f93b1",
pendleEEth1226: "0x6ee2b5E19ECBa773a352E5B21415Dc419A700d1d",
pendleAgEth1226: "0x7aa68E84bCD8d1B4C9e10B1e565DB993f68a3E09",
agEth: "0xe1B4d34E8754600962Cd944B535180Bd758E6c2e",
ezEth: "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110",
weEth: "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
rsEth: "0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7",
Expand Down Expand Up @@ -83,6 +85,7 @@ export const PRODUCTION_ADDRESSES = {
ezEth1226: "0xD8F12bCDE578c653014F27379a6114F67F0e445f",
eEth0926: "0xC8eDd52D0502Aa8b4D5C77361D4B3D300e8fC81c",
eEth1226: "0x7d372819240D14fB477f17b964f95F33BeB4c704",
agEth1226: "0x6010676Bc2534652aD1Ef5Fa8073DcF9AD7EBFBe",
},
},
dexAdapterV2: "0x88858930B3F1946A5C41a5deD7B5335431d5dE8D",
Expand Down
Loading

0 comments on commit b4b7216

Please sign in to comment.