mirror of
https://github.com/Instadapp/dsa-connectors-2.0.git
synced 2024-07-29 21:57:39 +00:00
feat: fix
This commit is contained in:
parent
a7d41b779a
commit
4558a5c661
|
@ -8,7 +8,7 @@ import {Basic} from "../../common/basic.sol";
|
||||||
|
|
||||||
abstract contract StethQueueConnector is Events, Basic {
|
abstract contract StethQueueConnector is Events, Basic {
|
||||||
address public constant FLUID_STETH_QUEUE =
|
address public constant FLUID_STETH_QUEUE =
|
||||||
0xEb6643733c5E7CaB6B27D98C8CFDc647f8112a96;
|
0x1F6B2bFDd5D1e6AdE7B17027ff5300419a56Ad6b;
|
||||||
address public constant STETH = 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84;
|
address public constant STETH = 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84;
|
||||||
|
|
||||||
function queueSteth(
|
function queueSteth(
|
||||||
|
@ -34,15 +34,15 @@ abstract contract StethQueueConnector is Events, Basic {
|
||||||
approve(TokenInterface(address(STETH)), FLUID_STETH_QUEUE, stETHAmt_);
|
approve(TokenInterface(address(STETH)), FLUID_STETH_QUEUE, stETHAmt_);
|
||||||
uint256 requestIdFrom_ = fluidStethContract_.queue(
|
uint256 requestIdFrom_ = fluidStethContract_.queue(
|
||||||
ethBorrowAmount_,
|
ethBorrowAmount_,
|
||||||
stETHAmount_,
|
stETHAmt_,
|
||||||
address(this),
|
address(this),
|
||||||
address(this)
|
address(this)
|
||||||
); // todo: confirm
|
);
|
||||||
|
|
||||||
setUint(setId_, requestIdFrom_);
|
setUint(setId_, requestIdFrom_);
|
||||||
_eventName = "LogQueueSteth(uint256,uint256,uint256,uint256,uint256)";
|
_eventName = "LogQueueSteth(uint256,uint256,uint256,uint256,uint256)";
|
||||||
_eventParam = abi.encode(
|
_eventParam = abi.encode(
|
||||||
stETHAmount_,
|
stETHAmt_,
|
||||||
ethBorrowAmount_,
|
ethBorrowAmount_,
|
||||||
requestIdFrom_,
|
requestIdFrom_,
|
||||||
getId_,
|
getId_,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user