Skip to content

Commit 8a73356

Browse files
lint-actionDoublo54
authored andcommitted
Fix code style issues with Prettier
1 parent d270b76 commit 8a73356

File tree

5 files changed

+26
-10
lines changed

5 files changed

+26
-10
lines changed

contracts/interfaces/IApeFactory.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pragma solidity >=0.6.6;
33

44
interface IApeFactory {
5-
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
5+
event PairCreated(address indexed token0, address indexed token1, address pair, uint256);
66

77
function INIT_CODE_PAIR_HASH() external view returns (bytes32);
88

@@ -12,9 +12,9 @@ interface IApeFactory {
1212

1313
function getPair(address token0, address token1) external view returns (address pair);
1414

15-
function allPairs(uint) external view returns (address pair);
15+
function allPairs(uint256) external view returns (address pair);
1616

17-
function allPairsLength() external view returns (uint);
17+
function allPairsLength() external view returns (uint256);
1818

1919
function createPair(address token0, address token1) external returns (address pair);
2020

contracts/interfaces/IApePair.sol

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ interface IApePair {
2121

2222
function transfer(address to, uint256 value) external returns (bool);
2323

24-
function transferFrom(address from, address to, uint256 value) external returns (bool);
24+
function transferFrom(
25+
address from,
26+
address to,
27+
uint256 value
28+
) external returns (bool);
2529

2630
function DOMAIN_SEPARATOR() external view returns (bytes32);
2731

@@ -59,7 +63,14 @@ interface IApePair {
5963

6064
function token1() external view returns (address);
6165

62-
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
66+
function getReserves()
67+
external
68+
view
69+
returns (
70+
uint112 reserve0,
71+
uint112 reserve1,
72+
uint32 blockTimestampLast
73+
);
6374

6475
function price0CumulativeLast() external view returns (uint256);
6576

@@ -71,7 +82,12 @@ interface IApePair {
7182

7283
function burn(address to) external returns (uint256 amount0, uint256 amount1);
7384

74-
function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external;
85+
function swap(
86+
uint256 amount0Out,
87+
uint256 amount1Out,
88+
address to,
89+
bytes calldata data
90+
) external;
7591

7692
function skim(address to) external;
7793

contracts/interfaces/IApeRouter02.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.7.6;
33

4-
import "./IApeRouter01.sol";
4+
import './IApeRouter01.sol';
55

66
interface IApeRouter02 is IApeRouter01 {
77
function removeLiquidityETHSupportingFeeOnTransferTokens(

contracts/interfaces/IMixedRouteQuoterV1.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ interface IMixedRouteQuoterV1 {
3838
uint24 fee;
3939
uint160 sqrtPriceLimitX96;
4040
}
41-
41+
4242
struct QuoteExactInputSingleV2Params {
4343
address tokenIn;
4444
address tokenOut;

scripts/deployLens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import getNetworkConfig from '../deploy-config'
1111
async function main() {
1212
const { factoryV2, factoryV3, positionManager, WNATIVE } = getNetworkConfig(hre.network.name)
1313
const RouteQuoter = await ethers.getContractFactory('MixedRouteQuoterV1')
14-
let routeQuoter = await RouteQuoter.deploy( WNATIVE)
15-
await routeQuoter.deployed();
14+
let routeQuoter = await RouteQuoter.deploy(WNATIVE)
15+
await routeQuoter.deployed()
1616
console.log('MixedRouteQuoterV1 deployed at: ', routeQuoter.address)
1717
console.log('npx hardhat verify --network', hre.network.name, routeQuoter.address, WNATIVE)
1818
}

0 commit comments

Comments
 (0)