dsa-connectors/contracts/mainnet/connectors/morpho-aave-v3/events.sol
2023-06-24 04:43:28 +08:00

153 lines
2.5 KiB
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
contract Events {
event LogDeposit(
address tokenAddress,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogDepositWithMaxIterations(
address tokenAddress,
uint256 amount,
uint256 maxIteration,
uint256 getId,
uint256 setId
);
event LogDepositOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
uint256 getId,
uint256 setId
);
event LogDepositOnBehalfWithMaxIterations(
address tokenAddress,
uint256 amount,
address onBehalf,
uint256 maxIteration,
uint256 getId,
uint256 setId
);
event LogDepositCollateral(
address tokenAddress,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogDepositCollateralOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
uint256 getId,
uint256 setId
);
event LogBorrow(
address tokenAddress,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogBorrowOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
address receiver,
uint256 getId,
uint256 setId
);
event LogBorrowWithMaxIterations(
address tokenAddress,
uint256 amount,
address receiver,
uint256 maxIteration,
uint256 getId,
uint256 setId
);
event LogBorrowOnBehalfWithMaxIterations(
address tokenAddress,
uint256 amount,
address onBehalf,
address receiver,
uint256 maxIteration,
uint256 getId,
uint256 setId
);
event LogWithdraw(
address tokenAddress,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogWithdrawOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
address receiver,
uint256 getId,
uint256 setId
);
event LogWithdrawOnBehalfWithMaxIterations(
address tokenAddress,
uint256 amount,
address onBehalf,
address receiver,
uint256 maxIteration,
uint256 getId,
uint256 setId
);
event LogWithdrawCollateral(
address tokenAddress,
uint256 amount,
address receiver,
uint256 getId,
uint256 setId
);
event LogWithdrawCollateralOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
address receiver,
uint256 getId,
uint256 setId
);
event LogPayback(
address tokenAddress,
uint256 amount,
uint256 getId,
uint256 setId
);
event LogPaybackOnBehalf(
address tokenAddress,
uint256 amount,
address onBehalf,
uint256 getId,
uint256 setId
);
event LogApproveManger(address manger, bool isAllowed);
event LogUpdateMaxIterations(
uint256 oldIterations,
uint256 newIterations
);
}