mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
added amounts
This commit is contained in:
parent
ffb65ada60
commit
c6e0adab7a
|
@ -2,6 +2,6 @@
|
||||||
pragma solidity ^0.7.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogDeposit(uint256 tokenAmt, uint256 getId, uint256 setId);
|
event LogDeposit(uint256 stethAmt, uint256 wstethAmt, uint256 getId, uint256 setId);
|
||||||
event LogWithdraw(uint256 tokenAmt, uint256 getId, uint256 setId);
|
event LogWithdraw(uint256 wstethAmt, uint256 stethAmt, uint256 getId, uint256 setId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ abstract contract WSTETHContract is Helpers, Basic {
|
||||||
setUint(setId, wstethAmt_);
|
setUint(setId, wstethAmt_);
|
||||||
|
|
||||||
_eventName = "LogDeposit(uint256,uint256,uint256)";
|
_eventName = "LogDeposit(uint256,uint256,uint256)";
|
||||||
_eventParam = abi.encode(_amt, getId, setId);
|
_eventParam = abi.encode(_amt, wstethAmt_, getId, setId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +55,7 @@ abstract contract WSTETHContract is Helpers, Basic {
|
||||||
setUint(setId, stethAmt_);
|
setUint(setId, stethAmt_);
|
||||||
|
|
||||||
_eventName = "LogWithdraw(uint256,uint256,uint256)";
|
_eventName = "LogWithdraw(uint256,uint256,uint256)";
|
||||||
_eventParam = abi.encode(_amt, getId, setId);
|
_eventParam = abi.encode(_amt, stethAmt_, getId, setId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user