2022-03-22 16:17:41 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2022-03-06 13:21:41 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
contract Events {
|
|
|
|
event LogDeposit(
|
|
|
|
address indexed token,
|
|
|
|
uint256 tokenAmt,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogWithdraw(
|
|
|
|
address indexed token,
|
|
|
|
uint256 tokenAmt,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogBorrow(
|
|
|
|
address indexed token,
|
|
|
|
uint256 tokenAmt,
|
|
|
|
uint256 indexed rateMode,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogPayback(
|
|
|
|
address indexed token,
|
|
|
|
uint256 tokenAmt,
|
|
|
|
uint256 indexed rateMode,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogEnableCollateral(address[] tokens);
|
2022-04-10 12:23:15 +00:00
|
|
|
event LogDisableCollateral(address[] tokens);
|
2022-03-06 13:21:41 +00:00
|
|
|
event LogSwapRateMode(address indexed token, uint256 rateMode);
|
|
|
|
event LogSetUserEMode(uint8 categoryId);
|
2022-04-26 20:53:09 +00:00
|
|
|
event LogApproveDelegation(
|
|
|
|
address token,
|
|
|
|
uint16 debtType,
|
|
|
|
address delegateTo,
|
|
|
|
uint256 amount
|
|
|
|
);
|
2022-03-06 13:21:41 +00:00
|
|
|
}
|