2023-02-23 16:34:03 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
|
|
|
|
contract Events {
|
|
|
|
event LogDeposit(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 01:21:01 +00:00
|
|
|
event LogDepositWithMaxIterations(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 01:21:01 +00:00
|
|
|
uint256 maxIteration,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogDepositOnBehalf(
|
2023-02-24 01:21:01 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogDepositOnBehalfWithMaxIterations(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
|
|
|
uint256 maxIteration,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogDepositCollateral(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogDepositCollateralOnBehalf(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogBorrow(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 03:19:23 +00:00
|
|
|
address receiver,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogBorrowOnBehalf(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
2023-02-24 03:19:23 +00:00
|
|
|
address receiver,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogBorrowWithMaxIterations(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address receiver,
|
|
|
|
uint256 maxIteration,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogBorrowOnBehalfWithMaxIterations(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
2023-02-24 03:19:23 +00:00
|
|
|
address receiver,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 maxIteration,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogWithdraw(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 01:21:01 +00:00
|
|
|
address receiver,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogWithdrawOnBehalf(
|
2023-02-24 01:21:01 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 03:19:23 +00:00
|
|
|
address onBehalf,
|
2023-02-24 01:21:01 +00:00
|
|
|
address receiver,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogWithdrawWithMaxIterations(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 01:21:01 +00:00
|
|
|
address receiver,
|
|
|
|
uint256 maxIteration,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
event LogWithdrawCollateral(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 03:19:23 +00:00
|
|
|
address receiver,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogWithdrawCollateralOnBehalf(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address onBehalf,
|
|
|
|
address receiver,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogPayback(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
|
|
|
event LogPaybackOnBehalf(
|
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-02-24 03:19:23 +00:00
|
|
|
address onBehalf,
|
2023-02-23 16:34:03 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
}
|