dsa-connectors/contracts/mainnet/connectors/euler/events.sol

95 lines
1.5 KiB
Solidity
Raw Normal View History

2022-06-30 23:43:20 +00:00
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Events {
2022-07-06 13:40:38 +00:00
event LogDeposit(
uint256 subaccount,
address token,
uint256 amount,
bool enableCollateral,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogWithdraw(
uint256 subaccount,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogBorrow(
uint256 subAccount,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogRepay(
uint256 subAccount,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogMint(
uint256 subAccount,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogBurn(
uint256 subAccount,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogETransfer(
uint256 subAccount1,
uint256 subAccount2,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-06-30 23:43:20 +00:00
2022-07-06 13:40:38 +00:00
event LogDTransfer(
uint256 subAccount1,
uint256 subAccount2,
address token,
uint256 amount,
uint256 getId,
uint256 setId
);
2022-07-06 01:07:56 +00:00
2022-07-06 13:40:38 +00:00
event LogApproveDebt(
uint256 subAccountId,
2022-07-06 01:07:56 +00:00
address debtReceiver,
address token,
uint256 amount,
uint256 getId,
uint256 setId
2022-07-06 13:40:38 +00:00
);
2022-07-06 01:07:56 +00:00
2022-07-06 13:40:38 +00:00
event LogSwap(
uint256 subAccountFrom,
uint256 subAccountTo,
address buyAddr,
address sellAddr,
uint256 sellAmt,
uint256 unitAmt,
bytes callData
);
2022-07-06 01:07:56 +00:00
2022-07-06 13:40:38 +00:00
event LogEnterMarket(uint256 subAccountId, address[] newMarkets);
2022-07-06 01:07:56 +00:00
2022-07-06 13:40:38 +00:00
event LogExitMarket(uint256 subAccountId, address oldMarket);
2022-06-30 23:43:20 +00:00
}