mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
84 lines
1.3 KiB
Solidity
84 lines
1.3 KiB
Solidity
//SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.7.0;
|
|
|
|
contract Events {
|
|
event LogDeposit(
|
|
uint256 subaccount,
|
|
address token,
|
|
uint256 amount,
|
|
bool enableCollateral,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogWithdraw(
|
|
uint256 subaccount,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogBorrow(
|
|
uint256 subAccount,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogRepay(
|
|
uint256 subAccount,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogMint(
|
|
uint256 subAccount,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogBurn(
|
|
uint256 subAccount,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogETransfer(
|
|
uint256 subAccountFrom,
|
|
uint256 subAccountTo,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogDTransfer(
|
|
uint256 subAccountFrom,
|
|
uint256 subAccountTo,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogApproveSpenderDebt(
|
|
uint256 subAccountId,
|
|
address debtSender,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogEnterMarket(uint256 subAccountId, address[] newMarkets);
|
|
|
|
event LogExitMarket(uint256 subAccountId, address oldMarket);
|
|
}
|