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

182 lines
3.0 KiB
Solidity
Raw Normal View History

2022-08-30 12:36:00 +00:00
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Events {
2022-08-30 15:42:32 +00:00
event LogDeposit(
address indexed market,
address indexed asset,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogDepositOnBehalfOf(
address indexed market,
address indexed asset,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogDepositFrom(
address indexed market,
address indexed asset,
address from,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdraw(
address indexed market,
address indexed asset,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdrawOnBehalfOf(
address indexed market,
address indexed asset,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdrawFrom(
address indexed market,
address indexed asset,
address from,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogBorrow(
address indexed market,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogBorrowOnBehalfOf(
address indexed market,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogBorrowFrom(
address indexed market,
address from,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
2022-08-30 18:55:37 +00:00
event LogPayback(address indexed market, uint256 tokenAmt, uint256 setId);
2022-08-30 15:42:32 +00:00
event LogPaybackOnBehalfOf(
address indexed market,
address to,
uint256 tokenAmt,
uint256 setId
);
event LogPaybackFrom(
address indexed market,
address from,
address to,
uint256 tokenAmt,
uint256 setId
);
event LogRewardsClaimed(
2022-08-30 18:55:37 +00:00
address indexed market,
address indexed account,
uint256 indexed totalClaimedInWei,
2022-08-30 15:42:32 +00:00
uint256 getId,
2022-08-30 18:55:37 +00:00
bool accrued
);
2022-08-30 21:56:25 +00:00
event LogRewardsClaimedTo(
2022-08-30 18:55:37 +00:00
address indexed market,
address indexed account,
2022-08-30 21:56:25 +00:00
address to,
2022-08-30 18:55:37 +00:00
uint256 indexed totalClaimedInWei,
uint256 getId,
bool accrued
2022-08-30 15:42:32 +00:00
);
event LogLiquidate(
address indexed borrower,
address indexed tokenToPay,
address indexed tokenInReturn,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
2022-08-30 18:55:37 +00:00
event LogBuyCollateral(
address indexed market,
address indexed asset,
uint256 indexed baseAmount,
uint256 minCollateralAmt,
uint256 collateralAmount,
uint256 getId,
uint256 setId
);
event LogApproveManager(
address indexed market,
address indexed account,
address indexed asset,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-08-30 21:56:25 +00:00
event LogTransferBase(
address indexed market,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogTransferBaseFrom(
address indexed market,
address indexed from,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogTransferAsset(
address indexed market,
address token,
address indexed from,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogTransferAssetFrom(
address indexed market,
address token,
address indexed from,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-08-30 12:36:00 +00:00
}