2022-03-22 15:24:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2022-02-14 06:27:50 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
contract Events {
|
2022-02-21 10:17:39 +00:00
|
|
|
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);
|
2023-11-26 15:52:04 +00:00
|
|
|
event LogDisableCollateral(address[] tokens);
|
2022-02-21 10:17:39 +00:00
|
|
|
event LogSwapRateMode(address indexed token, uint256 rateMode);
|
|
|
|
event LogSetUserEMode(uint8 categoryId);
|
2022-04-27 14:15:32 +00:00
|
|
|
event LogDelegateBorrow(
|
2022-04-26 23:02:47 +00:00
|
|
|
address token,
|
2022-04-27 14:15:32 +00:00
|
|
|
uint256 amount,
|
2022-04-27 14:24:52 +00:00
|
|
|
uint256 rateMode,
|
2022-04-26 23:02:47 +00:00
|
|
|
address delegateTo,
|
2022-04-27 14:15:32 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogDepositWithoutCollateral(
|
|
|
|
address token,
|
|
|
|
uint256 amt,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
event LogBorrowOnBehalfOf(
|
|
|
|
address token,
|
|
|
|
uint256 amt,
|
|
|
|
uint256 rateMode,
|
|
|
|
address onBehalfOf,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
2022-04-26 23:02:47 +00:00
|
|
|
);
|
2022-04-28 21:35:31 +00:00
|
|
|
event LogPaybackOnBehalfOf(
|
|
|
|
address token,
|
|
|
|
uint256 amt,
|
|
|
|
uint256 rateMode,
|
|
|
|
address onBehalfOf,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
2022-02-14 06:27:50 +00:00
|
|
|
}
|