Skip to content

Commit

Permalink
format contract
Browse files Browse the repository at this point in the history
  • Loading branch information
SegueII committed May 22, 2024
1 parent 34ea003 commit 13f829e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tabWidth": 4,
"printWidth": 120,
"useTabs": false,
"singleQuote": false,
"semi": false
}
14 changes: 0 additions & 14 deletions contracts/.prettierrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions gas-oracle/contracts/GasPriceOracle.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

/**
* @title GasPriceOracle contract
Expand Down Expand Up @@ -33,8 +33,8 @@ contract GasPriceOracle is Ownable {
event ScalarUpdated(uint256);

/**
* @param owner_ Address that will initially own this contract.
*/
* @param owner_ Address that will initially own this contract.
*/
constructor(address owner_) Ownable() {
transferOwnership(owner_);
allowListEnabled = true;
Expand Down Expand Up @@ -93,4 +93,4 @@ contract GasPriceOracle is Ownable {
scalar = _scalar;
emit ScalarUpdated(_scalar);
}
}
}

0 comments on commit 13f829e

Please sign in to comment.