rateMode updated

This commit is contained in:
Shriya Tyagi 2022-04-27 18:24:52 +04:00
parent d5b096c995
commit b566e34cd3
10 changed files with 9 additions and 13 deletions

View File

@ -35,7 +35,7 @@ contract Events {
event LogDelegateBorrow(
address token,
uint256 amount,
uint16 rateMode,
uint256 rateMode,
address delegateTo,
uint256 getId,
uint256 setId

View File

@ -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);
}
}

View File

@ -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

View File

@ -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);
}
}

View File

@ -35,7 +35,7 @@ contract Events {
event LogDelegateBorrow(
address token,
uint256 amount,
uint16 rateMode,
uint256 rateMode,
address delegateTo,
uint256 getId,
uint256 setId

View File

@ -34,7 +34,7 @@ contract Events {
event LogDelegateBorrow(
address token,
uint256 amount,
uint16 rateMode,
uint256 rateMode,
address delegateTo,
uint256 getId,
uint256 setId

View File

@ -35,7 +35,7 @@ contract Events {
event LogDelegateBorrow(
address token,
uint256 amount,
uint16 rateMode,
uint256 rateMode,
address delegateTo,
uint256 getId,
uint256 setId

View File

@ -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";
}

View File

@ -35,7 +35,7 @@ contract Events {
event LogDelegateBorrow(
address token,
uint256 amount,
uint16 rateMode,
uint256 rateMode,
address delegateTo,
uint256 getId,
uint256 setId

View File

@ -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);
}
}