2021-12-27 15:41:55 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2021-10-22 14:29:32 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
contract Events {
|
2021-12-15 17:33:49 +00:00
|
|
|
event LogDeposit(
|
|
|
|
address token1,
|
|
|
|
address token2,
|
|
|
|
uint256 indexed pid,
|
|
|
|
uint256 indexed version,
|
|
|
|
uint256 amount
|
|
|
|
);
|
|
|
|
event LogWithdraw(
|
|
|
|
address token1,
|
|
|
|
address token2,
|
|
|
|
uint256 indexed pid,
|
|
|
|
uint256 indexed version,
|
|
|
|
uint256 amount
|
|
|
|
);
|
|
|
|
event LogEmergencyWithdraw(
|
|
|
|
address token1,
|
|
|
|
address token2,
|
|
|
|
uint256 indexed pid,
|
|
|
|
uint256 indexed version,
|
|
|
|
uint256 lpAmount,
|
|
|
|
uint256 rewardsAmount
|
|
|
|
);
|
|
|
|
event LogHarvest(
|
|
|
|
address token1,
|
|
|
|
address token2,
|
|
|
|
uint256 indexed pid,
|
|
|
|
uint256 indexed version,
|
|
|
|
uint256 amount
|
|
|
|
);
|
|
|
|
event LogWithdrawAndHarvest(
|
|
|
|
address token1,
|
|
|
|
address token2,
|
|
|
|
uint256 indexed pid,
|
|
|
|
uint256 indexed version,
|
|
|
|
uint256 widrawAmount,
|
|
|
|
uint256 harvestAmount
|
|
|
|
);
|
2021-10-22 14:29:32 +00:00
|
|
|
}
|