File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
contracts/src/gateway/xdai Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
2+
3+ pragma solidity ^ 0.8.0 ;
4+
5+ import "../../bridge/xdai/xDaiL1Bridge.sol " ;
6+ import "../../bridge/xdai/interfaces/IAMB.sol " ;
7+
8+ import "../interfaces/IForeignGateway.sol " ;
9+ import "../BaseForeignGateway.sol " ;
10+
11+ contract EthereumGateway is BaseForeignGateway , xDaiL1Bridge {
12+ constructor (
13+ uint256 _arbitrationCost ,
14+ IHomeGateway _homeGateway ,
15+ address _l2Target ,
16+ IAMB _amb
17+ ) BaseForeignGateway (_arbitrationCost, _homeGateway) xDaiL1Bridge (_l2Target, _amb) {}
18+ }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
2+
3+ pragma solidity ^ 0.8.0 ;
4+
5+ import "../../arbitration/IArbitrator.sol " ;
6+ import "../../bridge/xdai/xDaiL2Bridge.sol " ;
7+ import "../../bridge/xdai/interfaces/IAMB.sol " ;
8+
9+ import "../interfaces/IHomeGateway.sol " ;
10+ import "../BaseHomeGateway.sol " ;
11+
12+ contract xDaiGateway is BaseHomeGateway , xDaiL2Bridge {
13+ constructor (
14+ IArbitrator _arbitrator ,
15+ IForeignGateway _foreignGateway ,
16+ address _l1Target ,
17+ IAMB _amb
18+ ) BaseHomeGateway (_arbitrator, _foreignGateway) xDaiL2Bridge (_l1Target, _amb) {}
19+ }
You can’t perform that action at this time.
0 commit comments