This project contains the verified contract code from Etherscan for the contract deployed at 0xa0cFbe3402d6E0a74e96D3C360F74D5ea4Fa6893
.
This contract is an instance of OP Stack's PermissionedDisputeGame, which was created using the early version of op-deployer tool by calling the OP Stack's OCMP contract at 0x9bc0a1ed534bfb31a6be69e5b767cba332f14347
. The deployment transaction can be found here.
During the deployment using op-deployer, the following contract versions were used:
- L1 Contracts:
tag://op-contracts/v1.6.0
- L2 Contracts:
tag://op-contracts/v1.7.0-beta.1+l2-contracts
The code has been converted into a Forge project structure, allowing you to deploy any of the contracts using the forge create
command.
The project follows a standard Forge project structure:
src/
- Contains all the smart contract source codecannon/
- Cannon-related contractsuniversal/
- Universal contractsdispute/
- Dispute-related contractsL1/
- Layer 1 contractslibraries/
- Utility libraries
- Install Foundry
- Clone this repository
- Build:
forge build
To deploy any contract from this project, use the forge create
command:
forge create <contract_path>:<contract_name> --rpc-url <your_rpc_url> --private-key <your_private_key>
The code is available under the same license as the original contract.