Skip to content

alt-research/opstack-permissioned-dispute-game-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PermissionedDisputeGame

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.

Project Structure

The project follows a standard Forge project structure:

  • src/ - Contains all the smart contract source code
    • cannon/ - Cannon-related contracts
    • universal/ - Universal contracts
    • dispute/ - Dispute-related contracts
    • L1/ - Layer 1 contracts
    • libraries/ - Utility libraries

Setup

  1. Install Foundry
  2. Clone this repository
  3. Build:
    forge build

Deployment

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>

License

The code is available under the same license as the original contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published