2022-03-22 15:24:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-03-29 09:57:54 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
contract Events {
|
2021-03-29 15:20:34 +00:00
|
|
|
event LogOpen(uint256 indexed safe, bytes32 indexed collateralType);
|
|
|
|
event LogClose(uint256 indexed safe, bytes32 indexed collateralType);
|
|
|
|
event LogDeposit(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogWithdraw(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogBorrow(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogPayback(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogWithdrawLiquidated(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogExit(uint256 indexed safe, bytes32 indexed collateralType, uint256 tokenAmt, uint256 getId, uint256 setId);
|
2021-03-29 09:57:54 +00:00
|
|
|
event LogDepositAndBorrow(
|
2021-03-29 15:20:34 +00:00
|
|
|
uint256 indexed safe,
|
|
|
|
bytes32 indexed collateralType,
|
2021-03-29 09:57:54 +00:00
|
|
|
uint256 depositAmt,
|
|
|
|
uint256 borrowAmt,
|
|
|
|
uint256 getIdDeposit,
|
|
|
|
uint256 getIdBorrow,
|
|
|
|
uint256 setIdDeposit,
|
|
|
|
uint256 setIdBorrow
|
|
|
|
);
|
2021-03-30 14:33:20 +00:00
|
|
|
}
|