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
|
|
|
|
);
|
|
|
|
|
2023-02-24 01:21:01 +00:00
|
|
|
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,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-02-24 03:19:23 +00:00
|
|
|
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,
|
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-09-19 13:51:19 +00:00
|
|
|
event LogWithdrawWithMaxIterations(
|
2023-02-24 01:21:01 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
|
|
|
address receiver,
|
2023-09-19 13:51:19 +00:00
|
|
|
uint256 maxIteration,
|
2023-02-24 01:21:01 +00:00
|
|
|
uint256 getId,
|
|
|
|
uint256 setId
|
|
|
|
);
|
|
|
|
|
2023-06-23 20:43:28 +00:00
|
|
|
event LogWithdrawOnBehalfWithMaxIterations(
|
2023-02-23 16:34:03 +00:00
|
|
|
address tokenAddress,
|
|
|
|
uint256 amount,
|
2023-06-23 20:43:28 +00:00
|
|
|
address onBehalf,
|
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
|
|
|
|
);
|
2023-06-22 18:59:51 +00:00
|
|
|
|
|
|
|
event LogApproveManger(address manger, bool isAllowed);
|
2023-06-23 20:43:28 +00:00
|
|
|
|
|
|
|
event LogUpdateMaxIterations(
|
|
|
|
uint256 oldIterations,
|
|
|
|
uint256 newIterations
|
|
|
|
);
|
2023-02-23 16:34:03 +00:00
|
|
|
}
|