diff --git a/package.json b/package.json index 41b04e7..1b23ee2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dev-fraxswap", - "version": "2.0.0", + "version": "2.0.1", "description": "", "directories": { "lib": "lib", diff --git a/src/contracts/core/interfaces/IFraxswapPair.sol b/src/contracts/core/interfaces/IFraxswapPair.sol index f533590..37c4a28 100644 --- a/src/contracts/core/interfaces/IFraxswapPair.sol +++ b/src/contracts/core/interfaces/IFraxswapPair.sol @@ -6,6 +6,11 @@ import { IUniswapV2Pair } from "@uniswap/v2-core/contracts/interfaces/IUniswapV2 /// @dev Fraxswap LP Pair Interface interface IFraxswapPair is IUniswapV2Pair { // TWAMM + struct TWAPObservation { + uint256 timestamp; + uint256 price0CumulativeLast; + uint256 price1CumulativeLast; + } event LongTermSwap0To1(address indexed addr, uint256 orderId, uint256 amount0In, uint256 numberOfTimeIntervals); event LongTermSwap1To0(address indexed addr, uint256 orderId, uint256 amount1In, uint256 numberOfTimeIntervals);