-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2f5406
commit 67283a1
Showing
5 changed files
with
41 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.20; | ||
|
||
import {MultiOwnable} from "@solarity/solidity-lib/access/MultiOwnable.sol"; | ||
|
||
contract CorePropertiesL2 is MultiOwnable { | ||
address public arbitrumGateway; | ||
address public treasuryAddress; | ||
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; | ||
|
||
contract CorePropertiesL2 is Ownable { | ||
address public lZEnpointAddress; | ||
address public lZGatewayAddress; | ||
uint16 public l1ChainId; | ||
|
||
uint256 public destinationChainId; // arbitrum | ||
function setDeployParams( | ||
address lZEnpointAddress_, | ||
address lZGatewayAddress_, | ||
uint16 l1ChainId_ | ||
) external onlyOwner { | ||
lZEnpointAddress = lZEnpointAddress_; | ||
lZGatewayAddress = lZGatewayAddress_; | ||
l1ChainId = l1ChainId_; | ||
} | ||
|
||
constructor() { | ||
__MultiOwnable_init(); | ||
function getDeployParams() external view returns (address, address, uint16) { | ||
return (lZEnpointAddress, lZGatewayAddress, l1ChainId); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters