Skip to content

Commit afbd135

Browse files
committed
docs: rm unused comment
1 parent fc1c4c5 commit afbd135

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

script/optimized-deployer-meta

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"constant_product_hash": "0x5b6c7b93eaf216b2d97a7d43f688c1deea47ea758db281cc03df184a40b9aa1f",
3-
"factory_hash": "0xc919a27997cc0795a3d597141a9bfa4913f8201ab328cbf9ecb8cc604c698032",
4-
"stable_hash": "0xcba16048fd00d25f8e11826f3a005952b5b8994c2c492100803d208cf01bcd3c"
2+
"constant_product_hash": "0xb5db6c2cdf8e09b294fd4e6d8137894b04fab0c1adf3d49c09d495f8f72f473a",
3+
"factory_hash": "0x1b79eac8feaf90da7487395703086757ef5f27a330852c763f30f0cd2306dabf",
4+
"stable_hash": "0x14565666d788540a9e496fd6b53cbe812b4794713dc524b47606f0bde74a20fc"
55
}

src/ReservoirDeployer.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ contract ReservoirDeployer {
1616
uint256 public step = 0;
1717

1818
// Bytecode hashes.
19-
bytes32 public constant FACTORY_HASH = bytes32(0xc919a27997cc0795a3d597141a9bfa4913f8201ab328cbf9ecb8cc604c698032);
19+
bytes32 public constant FACTORY_HASH = bytes32(0x1b79eac8feaf90da7487395703086757ef5f27a330852c763f30f0cd2306dabf);
2020
bytes32 public constant CONSTANT_PRODUCT_HASH =
21-
bytes32(0x5b6c7b93eaf216b2d97a7d43f688c1deea47ea758db281cc03df184a40b9aa1f);
22-
bytes32 public constant STABLE_HASH = bytes32(0xcba16048fd00d25f8e11826f3a005952b5b8994c2c492100803d208cf01bcd3c);
21+
bytes32(0xb5db6c2cdf8e09b294fd4e6d8137894b04fab0c1adf3d49c09d495f8f72f473a);
22+
bytes32 public constant STABLE_HASH = bytes32(0x14565666d788540a9e496fd6b53cbe812b4794713dc524b47606f0bde74a20fc);
2323

2424
// Deployment addresses.
2525
GenericFactory public factory;

src/ReservoirPair.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,10 @@ abstract contract ReservoirPair is IAssetManagedPair, ReservoirERC20, RGT {
188188

189189
/// @notice Force balances to match reserves.
190190
function skim(address aTo) external nonReentrant {
191-
(uint256 lReserve0, uint256 lReserve1, uint32 lBlockTimestampLast,) = getReserves();
191+
(uint256 lReserve0, uint256 lReserve1, ,) = getReserves();
192192

193193
_checkedTransfer(token0(), aTo, _totalToken0() - lReserve0, lReserve0, lReserve1);
194194
_checkedTransfer(token1(), aTo, _totalToken1() - lReserve1, lReserve0, lReserve1);
195-
196-
// might need to do an update here
197195
}
198196

199197
/*//////////////////////////////////////////////////////////////////////////

src/curve/constant-product/ConstantProductPair.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ConstantProductOracleMath } from "src/libraries/ConstantProductOracleMa
1111
import { IReservoirCallee } from "src/interfaces/IReservoirCallee.sol";
1212
import { IGenericFactory, IERC20 } from "src/interfaces/IGenericFactory.sol";
1313

14-
import { ReservoirPair, Slot0 } from "src/ReservoirPair.sol";
14+
import { ReservoirPair } from "src/ReservoirPair.sol";
1515

1616
contract ConstantProductPair is ReservoirPair {
1717
using FactoryStoreLib for IGenericFactory;

src/curve/stable/StableMintBurn.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import {
99
FactoryStoreLib,
1010
StableMath,
1111
IGenericFactory,
12-
StablePair,
13-
Slot0
12+
StablePair
1413
} from "src/curve/stable/StablePair.sol";
1514

1615
contract StableMintBurn is StablePair {

src/curve/stable/StablePair.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity ^0.8.0;
44
import { IReservoirCallee } from "src/interfaces/IReservoirCallee.sol";
55
import { IGenericFactory } from "src/interfaces/IGenericFactory.sol";
66

7-
import { ReservoirPair, Slot0, IERC20 } from "src/ReservoirPair.sol";
7+
import { ReservoirPair, IERC20 } from "src/ReservoirPair.sol";
88
import { AmplificationData } from "src/structs/AmplificationData.sol";
99
import { Bytes32Lib } from "src/libraries/Bytes32.sol";
1010
import { FactoryStoreLib } from "src/libraries/FactoryStore.sol";

0 commit comments

Comments
 (0)