mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
rateMode updated
This commit is contained in:
parent
d5b096c995
commit
b566e34cd3
|
@ -35,7 +35,7 @@ contract Events {
|
|||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -440,7 +440,6 @@ abstract contract AaveResolver is Events, Helpers {
|
|||
|
||||
_eventName = "LogDelegateBorrow(address,uint256,uint256,address,uint256,uint256)";
|
||||
_eventParam = abi.encode(token, _amt, rateMode, delegateTo, getId, setId);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@ contract Events {
|
|||
event LogDisableCollateral(address[] tokens);
|
||||
event LogSwapRateMode(address indexed token, uint256 rateMode);
|
||||
event LogSetUserEMode(uint8 categoryId);
|
||||
event LogApproveDelegation(
|
||||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -437,9 +437,8 @@ abstract contract AaveResolver is Events, Helpers {
|
|||
|
||||
setUint(setId, _amt);
|
||||
|
||||
_eventName = "LogApproveDelegation(address,uint256,uint256,address,uint256,uint256)";
|
||||
_eventName = "LogDelegateBorrow(address,uint256,uint256,address,uint256,uint256)";
|
||||
_eventParam = abi.encode(token, _amt, rateMode, delegateTo, getId, setId);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ contract Events {
|
|||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -34,7 +34,7 @@ contract Events {
|
|||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -35,7 +35,7 @@ contract Events {
|
|||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -441,10 +441,9 @@ abstract contract AaveResolver is Events, Helpers {
|
|||
|
||||
_eventName = "LogDelegateBorrow(address,uint256,uint256,address,uint256,uint256)";
|
||||
_eventParam = abi.encode(token, _amt, rateMode, delegateTo, getId, setId);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
contract ConnectV2AaveV3Optimism is AaveResolver {
|
||||
string public constant name = "AaveV3-v1.1";
|
||||
string public constant name = "AaveV3-v1.2";
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ contract Events {
|
|||
event LogDelegateBorrow(
|
||||
address token,
|
||||
uint256 amount,
|
||||
uint16 rateMode,
|
||||
uint256 rateMode,
|
||||
address delegateTo,
|
||||
uint256 getId,
|
||||
uint256 setId
|
||||
|
|
|
@ -441,7 +441,6 @@ abstract contract AaveResolver is Events, Helpers {
|
|||
|
||||
_eventName = "LogDelegateBorrow(address,uint256,uint256,address,uint256,uint256)";
|
||||
_eventParam = abi.encode(token, _amt, rateMode, delegateTo, getId, setId);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user