Skip to content

Commit

Permalink
Update import paths for solady modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Sep 17, 2024
1 parent 80d9df4 commit 7a84953
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions contracts/sponsorship/BiconomySponsorshipPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ pragma solidity ^0.8.27;
import "../base/BasePaymaster.sol";
import "@account-abstraction/core/UserOperationLib.sol";
import "@account-abstraction/core/Helpers.sol";
import { SignatureCheckerLib } from "@solady/utils/SignatureCheckerLib.sol";
import { ECDSA as ECDSA_solady } from "@solady/utils/ECDSA.sol";
import { SignatureCheckerLib } from "solady/utils/SignatureCheckerLib.sol";
import { ECDSA as ECDSA_solady } from "solady/utils/ECDSA.sol";
import { BiconomySponsorshipPaymasterErrors } from "../common/BiconomySponsorshipPaymasterErrors.sol";
import { ReentrancyGuardTransient } from "@openzeppelin/utils/ReentrancyGuardTransient.sol";
import { IERC20 } from "@openzeppelin/token/ERC20/IERC20.sol";
import { SafeTransferLib } from "@solady/utils/SafeTransferLib.sol";
import { SafeTransferLib } from "solady/utils/SafeTransferLib.sol";
import { IBiconomySponsorshipPaymaster } from "../interfaces/IBiconomySponsorshipPaymaster.sol";

/**
Expand Down
6 changes: 3 additions & 3 deletions contracts/token/BiconomyTokenPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import { IEntryPoint } from "@account-abstraction/interfaces/IEntryPoint.sol";
import { PackedUserOperation, UserOperationLib } from "@account-abstraction/core/UserOperationLib.sol";
import { IERC20 } from "@openzeppelin/token/ERC20/ERC20.sol";
import { IERC20Metadata } from "@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import { SafeTransferLib } from "@solady/utils/SafeTransferLib.sol";
import { SafeTransferLib } from "solady/utils/SafeTransferLib.sol";
import { BasePaymaster } from "../base/BasePaymaster.sol";
import { BiconomyTokenPaymasterErrors } from "../common/BiconomyTokenPaymasterErrors.sol";
import { IBiconomyTokenPaymaster } from "../interfaces/IBiconomyTokenPaymaster.sol";
import { IOracle } from "../interfaces/oracles/IOracle.sol";
import { TokenPaymasterParserLib } from "../libraries/TokenPaymasterParserLib.sol";
import { SignatureCheckerLib } from "@solady/utils/SignatureCheckerLib.sol";
import { ECDSA as ECDSA_solady } from "@solady/utils/ECDSA.sol";
import { SignatureCheckerLib } from "solady/utils/SignatureCheckerLib.sol";
import { ECDSA as ECDSA_solady } from "solady/utils/ECDSA.sol";
import "@account-abstraction/core/Helpers.sol";

/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/SoladyOwnable.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.27;

import { Ownable } from "@solady/auth/Ownable.sol";
import { Ownable } from "solady/auth/Ownable.sol";

contract SoladyOwnable is Ownable {
constructor(address _owner) Ownable() {
Expand Down
2 changes: 1 addition & 1 deletion test/base/TestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.27;
import { Test } from "forge-std/src/Test.sol";
import { Vm } from "forge-std/src/Vm.sol";

import "@solady/utils/ECDSA.sol";
import "solady/utils/ECDSA.sol";
import "./TestHelper.sol";

import { IAccount } from "@account-abstraction/interfaces/IAccount.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/base/TestHelper.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "solady/src/utils/ECDSA.sol";
import "solady/utils/ECDSA.sol";
import "@openzeppelin/utils/cryptography/MessageHashUtils.sol";
import { EntryPoint } from "@account-abstraction/core/EntryPoint.sol";
import { IEntryPoint } from "@account-abstraction/interfaces/IEntryPoint.sol";
Expand Down

0 comments on commit 7a84953

Please sign in to comment.