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

144 lines
2.5 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,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogDepositOnBehalfOf(
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
2022-09-01 10:40:38 +00:00
event LogDepositFromUsingManager(
2022-08-30 15:42:32 +00:00
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
address from,
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdraw(
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
event LogWithdrawOnBehalfOf(
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
address to,
uint256 tokenAmt,
uint256 getId,
uint256 setId
);
2022-09-01 10:40:38 +00:00
event LogWithdrawFromUsingManager(
2022-08-30 15:42:32 +00:00
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 15:42:32 +00:00
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
);
2022-09-01 10:42:08 +00:00
event LogBorrowFromUsingManager(
2022-08-30 15:42:32 +00:00
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
);
2022-09-01 10:40:38 +00:00
event LogPaybackFromUsingManager(
2022-08-30 15:42:32 +00:00
address indexed market,
address from,
address to,
uint256 tokenAmt,
uint256 setId
);
2022-08-30 18:55:37 +00:00
event LogBuyCollateral(
address indexed market,
2022-08-31 13:43:48 +00:00
address indexed token,
2022-08-30 18:55:37 +00:00
uint256 indexed baseAmount,
uint256 minCollateralAmt,
uint256 collateralAmount,
uint256 getId,
uint256 setId
);
2022-08-30 21:56:25 +00:00
event LogTransferAsset(
address indexed market,
address token,
address indexed from,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-09-01 10:40:38 +00:00
event LogTransferAssetFromUsingManager(
2022-08-30 21:56:25 +00:00
address indexed market,
address token,
address indexed from,
address indexed dest,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-08-31 08:59:59 +00:00
2022-09-01 10:40:38 +00:00
event LogAllow(address indexed market, address indexed manager, bool allow);
2022-08-31 08:59:59 +00:00
event LogAllowWithPermit(
address indexed market,
address indexed owner,
address indexed manager,
2022-09-01 16:46:10 +00:00
bool allow,
2022-08-31 08:59:59 +00:00
uint256 expiry,
uint256 nonce,
2022-09-01 16:46:10 +00:00
uint8 v,
bytes32 r,
2022-09-01 16:52:09 +00:00
bytes32 s
2022-09-01 12:51:24 +00:00
);
2022-08-30 12:36:00 +00:00
}