mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
102 lines
1.8 KiB
Solidity
102 lines
1.8 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 subAccount1,
|
|
uint256 subAccount2,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogDTransfer(
|
|
uint256 subAccount1,
|
|
uint256 subAccount2,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogApproveDebt(
|
|
uint256 subAccountId,
|
|
address debtReceiver,
|
|
address token,
|
|
uint256 amount,
|
|
uint256 getId,
|
|
uint256 setId
|
|
);
|
|
|
|
event LogSwap(
|
|
uint256 subAccountFrom,
|
|
uint subAccountTo,
|
|
address buyAddr,
|
|
address sellAddr,
|
|
uint sellAmt,
|
|
uint unitAmt,
|
|
bytes callData
|
|
);
|
|
|
|
event LogEnterMarket(
|
|
uint subAccountId,
|
|
address[] newMarkets
|
|
);
|
|
|
|
event LogExitMarket(
|
|
uint subAccountId,
|
|
address oldMarket
|
|
);
|
|
}
|