Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move file #425

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/UniversalRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity ^0.8.24;

// Command implementations
import {Dispatcher} from './base/Dispatcher.sol';
import {RouterParameters} from './base/RouterImmutables.sol';
import {RouterParameters} from './types/RouterParameters.sol';
import {PaymentsImmutables, PaymentsParameters} from './modules/PaymentsImmutables.sol';
import {UniswapImmutables, UniswapParameters} from './modules/uniswap/UniswapImmutables.sol';
import {V4SwapRouter} from './modules/uniswap/v4/V4SwapRouter.sol';
Expand Down
2 changes: 1 addition & 1 deletion script/DeployUniversalRouter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity ^0.8.15;

import 'forge-std/console2.sol';
import 'forge-std/Script.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';
import {UnsupportedProtocol} from 'contracts/deploy/UnsupportedProtocol.sol';
import {UniversalRouter} from 'contracts/UniversalRouter.sol';

Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployArbitrum.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployArbitrum is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployArbitrumGoerli.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployArbitrumGoerli is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployAvalanche.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployAvalanche is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployBSC.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployBSC is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployBase.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployBase is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployBaseGoerli.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployBaseGoerli is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployBaseSepolia.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.26;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployBaseSepolia is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployBlast.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployBlast is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployCelo.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployCelo is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployCeloAlfajores.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployCeloAlfajores is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployGoerli.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployGoerli is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployMainnet.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployMainnet is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployOPSepolia.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.26;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployOPSepolia is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployOptimism.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployOptimism is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployOptimismGoerli.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployOptimismGoerli is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployPolygon.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployPolygon is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployPolygonMumbai.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployPolygonMumbai is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeploySepolia.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeploySepolia is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/DeployUnichainSepolia.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.26;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';
import {RouterParameters} from 'contracts/types/RouterParameters.sol';

contract DeployUnichainSepolia is DeployUniversalRouter {
function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion test/foundry-tests/UniswapV2.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {UniversalRouter} from '../../contracts/UniversalRouter.sol';
import {Payments} from '../../contracts/modules/Payments.sol';
import {ActionConstants} from '@uniswap/v4-periphery/src/libraries/ActionConstants.sol';
import {Commands} from '../../contracts/libraries/Commands.sol';
import {RouterParameters} from '../../contracts/base/RouterImmutables.sol';
import {RouterParameters} from '../../contracts/types/RouterParameters.sol';

abstract contract UniswapV2Test is Test {
address constant RECIPIENT = address(10);
Expand Down
2 changes: 1 addition & 1 deletion test/foundry-tests/UniversalRouter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {Constants} from '../../contracts/libraries/Constants.sol';
import {Commands} from '../../contracts/libraries/Commands.sol';
import {MockERC20} from './mock/MockERC20.sol';
import {ExampleModule} from '../../contracts/test/ExampleModule.sol';
import {RouterParameters} from '../../contracts/base/RouterImmutables.sol';
import {RouterParameters} from '../../contracts/types/RouterParameters.sol';
import {ERC20} from 'solmate/src/tokens/ERC20.sol';
import 'permit2/src/interfaces/IAllowanceTransfer.sol';
import {IERC165} from '@openzeppelin/contracts/utils/introspection/IERC165.sol';
Expand Down
Loading