mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
26 lines
1.3 KiB
Solidity
26 lines
1.3 KiB
Solidity
pragma solidity ^0.7.0;
|
|
|
|
contract Events {
|
|
event LogOpen(uint256 indexed vault, bytes32 indexed ilk);
|
|
event LogClose(uint256 indexed vault, bytes32 indexed ilk);
|
|
event LogTransfer(uint256 indexed vault, bytes32 indexed ilk, address newOwner);
|
|
event LogDeposit(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogWithdraw(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogBorrow(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogPayback(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogWithdrawLiquidated(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogExitDai(uint256 indexed vault, bytes32 indexed ilk, uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogDepositDai(uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
event LogWithdrawDai(uint256 tokenAmt, uint256 getId, uint256 setId);
|
|
|
|
event LogDepositAndBorrow(
|
|
uint256 indexed vault,
|
|
bytes32 indexed ilk,
|
|
uint256 depositAmt,
|
|
uint256 borrowAmt,
|
|
uint256 getIdDeposit,
|
|
uint256 getIdBorrow,
|
|
uint256 setIdDeposit,
|
|
uint256 setIdBorrow
|
|
);
|
|
} |