dsa-connectors/contracts/connectors/compound/events.sol

69 lines
1.4 KiB
Solidity
Raw Normal View History

2021-02-08 17:20:48 +00:00
pragma solidity ^0.7.0;
contract Events {
2021-03-16 16:25:39 +00:00
event LogDeposit(
address indexed token,
string tokenId,
address cToken,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdraw(
address indexed token,
string tokenId,
address cToken,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogBorrow(
address indexed token,
string tokenId,
address cToken,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogPayback(
address indexed token,
string tokenId,
address cToken,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
2021-02-08 17:20:48 +00:00
event LogDepositCToken(
address indexed token,
2021-03-16 16:25:39 +00:00
string tokenId,
2021-02-08 17:20:48 +00:00
address cToken,
uint256 tokenAmt,
uint256 cTokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdrawCToken(
address indexed token,
2021-03-16 16:25:39 +00:00
string tokenId,
2021-02-08 17:20:48 +00:00
address cToken,
uint256 tokenAmt,
uint256 cTokenAmt,
uint256 getId,
uint256 setId
);
event LogLiquidate(
address indexed borrower,
address indexed tokenToPay,
address indexed tokenInReturn,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
}