2021-06-02 10:19:05 +00:00
|
|
|
pragma solidity ^0.7.6;
|
2021-06-01 14:50:52 +00:00
|
|
|
|
|
|
|
contract Events {
|
|
|
|
|
|
|
|
/* Trove */
|
|
|
|
event LogOpen(
|
|
|
|
address indexed borrower,
|
|
|
|
uint maxFeePercentage,
|
|
|
|
uint depositAmount,
|
|
|
|
uint borrowAmount,
|
|
|
|
uint getId,
|
|
|
|
uint setId
|
|
|
|
);
|
|
|
|
event LogClose(address indexed borrower, uint setId);
|
|
|
|
event LogDeposit(address indexed borrower, uint amount, uint getId);
|
|
|
|
event LogWithdraw(address indexed borrower, uint amount, uint setId);
|
|
|
|
event LogBorrow(address indexed borrower, uint amount, uint setId);
|
|
|
|
event LogRepay(address indexed borrower, uint amount, uint getId);
|
|
|
|
event LogAdjust(
|
|
|
|
address indexed borrower,
|
|
|
|
uint maxFeePercentage,
|
|
|
|
uint depositAmount,
|
|
|
|
uint withdrawAmount,
|
|
|
|
uint borrowAmount,
|
|
|
|
uint repayAmount,
|
|
|
|
uint getDepositId,
|
|
|
|
uint setWithdrawId,
|
|
|
|
uint getRepayId,
|
|
|
|
uint setBorrowId
|
|
|
|
);
|
2021-06-04 11:18:16 +00:00
|
|
|
event LogClaimCollateralFromRedemption(address indexed borrower, uint amount, uint setId);
|
2021-06-01 14:50:52 +00:00
|
|
|
|
|
|
|
/* Stability Pool */
|
|
|
|
event LogStabilityDeposit(address indexed borrower, uint amount, address frontendTag, uint getId);
|
|
|
|
event LogStabilityWithdraw(address indexed borrower, uint amount, uint setId);
|
2021-06-04 11:18:16 +00:00
|
|
|
event LogStabilityMoveEthGainToTrove(address indexed borrower, uint amount);
|
2021-06-01 14:50:52 +00:00
|
|
|
|
|
|
|
/* Staking */
|
|
|
|
event LogStake(address indexed borrower, uint amount, uint getId);
|
|
|
|
event LogUnstake(address indexed borrower, uint amount, uint setId);
|
2021-06-04 11:18:16 +00:00
|
|
|
event LogClaimStakingGains(address indexed borrower, uint ethAmount, uint lusdAmount);
|
2021-06-02 10:19:05 +00:00
|
|
|
}
|