File tree Expand file tree Collapse file tree 10 files changed +10
-149
lines changed Expand file tree Collapse file tree 10 files changed +10
-149
lines changed Original file line number Diff line number Diff line change 4
4
[submodule "lib/openzeppelin-contracts "]
5
5
path = lib/openzeppelin-contracts
6
6
url = https://github.com/OpenZeppelin/openzeppelin-contracts
7
+ [submodule "lib/permit2 "]
8
+ path = lib/permit2
9
+ url = https://github.com/Uniswap/permit2
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: UNLICENSED
2
2
pragma solidity ^ 0.8.24 ;
3
3
4
+ import {UsesPermit2, Permit2Batch} from "./permit2/UsesPermit2.sol " ;
5
+ import {IOrders} from "./interfaces/IOrders.sol " ;
4
6
import {IERC20 } from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol " ;
5
- import {Permit2Batch, UsesPermit2} from "./UsesPermit2.sol " ;
6
- import {IOrders} from "./IOrders.sol " ;
7
7
8
8
/// @notice Contract capable of processing fulfillment of intent-based Orders.
9
9
abstract contract OrderDestination is IOrders , UsesPermit2 {
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: UNLICENSED
2
2
pragma solidity ^ 0.8.24 ;
3
3
4
+ import {UsesPermit2, Permit2} from "./permit2/UsesPermit2.sol " ;
4
5
import {IERC20 } from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol " ;
5
6
import {ERC20Burnable } from "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol " ;
6
- import {UsesPermit2, Permit2} from "./UsesPermit2.sol " ;
7
7
8
8
/// @notice A contract deployed to Host chain that allows tokens to enter the rollup.
9
9
contract Passage is UsesPermit2 {
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: UNLICENSED
2
2
pragma solidity ^ 0.8.24 ;
3
3
4
- import {Passage} from "./Passage.sol " ;
5
-
6
4
contract Zenith {
7
5
/// @notice The address that is allowed to set/remove sequencers.
8
6
address public immutable sequencerAdmin;
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: UNLICENSED
2
2
pragma solidity ^ 0.8.24 ;
3
3
4
- import {ISignatureTransfer} from "./vendored /ISignatureTransfer.sol " ;
5
- import {IOrders} from "./IOrders.sol " ;
4
+ import {ISignatureTransfer} from "permit2/src/interfaces /ISignatureTransfer.sol " ;
5
+ import {IOrders} from "../interfaces /IOrders.sol " ;
6
6
7
7
/// @param permit - the permit2 batch token transfer details. includes a `deadline` and an unordered `nonce`.
8
8
/// @param signer - the signer of the permit2 info; the owner of the tokens.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ pragma solidity ^0.8.24;
4
4
import {Test, console2} from "forge-std/Test.sol " ;
5
5
import {TestERC20} from "./Helpers.t.sol " ;
6
6
import {ERC20 } from "openzeppelin-contracts/contracts/token/ERC20/ERC20.sol " ;
7
-
8
7
import {RollupOrders, OrderOrigin} from "../src/Orders.sol " ;
9
- import {IOrders} from "../src/IOrders.sol " ;
8
+ import {IOrders} from "../src/interfaces/ IOrders.sol " ;
10
9
11
10
contract OrdersTest is Test {
12
11
RollupOrders public target;
You can’t perform that action at this time.
0 commit comments