mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
95 lines
1.5 KiB
Solidity
95 lines
1.5 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,
|
|
uint256 subAccountTo,
|
|
address buyAddr,
|
|
address sellAddr,
|
|
uint256 sellAmt,
|
|
uint256 unitAmt,
|
|
bytes callData
|
|
);
|
|
|
|
event LogEnterMarket(uint256 subAccountId, address[] newMarkets);
|
|
|
|
event LogExitMarket(uint256 subAccountId, address oldMarket);
|
|
}
|