2022-10-12 02:29:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
|
|
|
|
contract Events {
|
|
|
|
event LogDeposit(
|
|
|
|
address tokenAddress,
|
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2022-10-13 03:25:31 +00:00
|
|
|
event LogDepositWithMaxGas(
|
|
|
|
address tokenAddress,
|
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 maxGasForMatching,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogDepositOnBehalf(
|
|
|
|
address tokenAddress,
|
|
|
|
address poolTokenAddress,
|
|
|
|
address onBehalf,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2022-10-12 02:29:40 +00:00
|
|
|
event LogBorrow(
|
2022-10-13 03:25:31 +00:00
|
|
|
address tokenAddress,
|
2022-10-12 02:29:40 +00:00
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2022-10-13 03:25:31 +00:00
|
|
|
event LogBorrowWithMaxGas(
|
|
|
|
address tokenAddress,
|
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 maxGasForMatching,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2022-10-12 02:29:40 +00:00
|
|
|
event LogWithdraw(
|
2022-10-13 03:25:31 +00:00
|
|
|
address tokenAddress,
|
2022-10-12 02:29:40 +00:00
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amt,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogPayback(
|
2022-10-13 03:25:31 +00:00
|
|
|
address tokenAddress,
|
2022-10-12 02:29:40 +00:00
|
|
|
address poolTokenAddress,
|
|
|
|
uint256 amt,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2022-10-13 03:25:31 +00:00
|
|
|
event LogPaybackOnBehalf(
|
|
|
|
address tokenAddress,
|
|
|
|
address poolTokenAddress,
|
|
|
|
address onBehalf,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
2022-10-12 02:29:40 +00:00
|
|
|
}
|