File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: GPL-3.0
2
2
3
3
/*
4
- Copyright 2020 Set Labs Inc.
4
+ Copyright 2022 Set Labs Inc.
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
7
7
You may obtain a copy of the License at
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
40
40
address public immutable router;
41
41
42
42
// UniswapV3 factory contract
43
- IUniswapV3Factory public immutable uniV3factory ;
43
+ IUniswapV3Factory public immutable uniV3Factory ;
44
44
45
45
// Internal function string for adding liquidity
46
46
string internal constant ADD_LIQUIDITY =
@@ -59,7 +59,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
59
59
*/
60
60
constructor (address _router , address _uniV3Factory ) public {
61
61
router = _router;
62
- uniV3factory = IUniswapV3Factory (_uniV3Factory);
62
+ uniV3Factory = IUniswapV3Factory (_uniV3Factory);
63
63
}
64
64
65
65
/* ============ External Getter Functions ============ */
@@ -258,7 +258,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
258
258
// Make sure that the pool address returned by the factory
259
259
// matches uniswapV3 pool address stored in the provided arrakis pool
260
260
if (
261
- uniV3factory .getPool (_components[0 ], _components[1 ], uniFee) != address (uniV3PairPool)
261
+ uniV3Factory .getPool (_components[0 ], _components[1 ], uniFee) != address (uniV3PairPool)
262
262
) {
263
263
return false ;
264
264
}
You can’t perform that action at this time.
0 commit comments