-
Notifications
You must be signed in to change notification settings - Fork 0
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
2305343
commit 2dbebf9
Showing
8 changed files
with
4,075 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,359 @@ | ||
[ | ||
{ | ||
"type": "constructor", | ||
"inputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "fallback", | ||
"stateMutability": "payable" | ||
}, | ||
{ | ||
"type": "receive", | ||
"stateMutability": "payable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "addBuilderAddress", | ||
"inputs": [ | ||
{ | ||
"name": "builderName", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "builderAddress", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "blockBuilderNameToAddress", | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "blockWinners", | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "blocksPerWindow", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "currentWindow", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getBlockWinner", | ||
"inputs": [ | ||
{ | ||
"name": "blockNumber", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getBlocksPerWindow", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getBuilder", | ||
"inputs": [ | ||
{ | ||
"name": "builderNameGrafiti", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getCurrentWindow", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getWindowFromBlockNumber", | ||
"inputs": [ | ||
{ | ||
"name": "blockNumber", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "initialize", | ||
"inputs": [ | ||
{ | ||
"name": "_owner", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "owner", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "recordL1Block", | ||
"inputs": [ | ||
{ | ||
"name": "_blockNumber", | ||
"type": "uint256", | ||
"internalType": "uint256" | ||
}, | ||
{ | ||
"name": "_winnerGraffiti", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "renounceOwnership", | ||
"inputs": [], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "transferOwnership", | ||
"inputs": [ | ||
{ | ||
"name": "newOwner", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "Initialized", | ||
"inputs": [ | ||
{ | ||
"name": "version", | ||
"type": "uint64", | ||
"indexed": false, | ||
"internalType": "uint64" | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "NewBlocksPerWindow", | ||
"inputs": [ | ||
{ | ||
"name": "blocksPerWindow", | ||
"type": "uint256", | ||
"indexed": false, | ||
"internalType": "uint256" | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "NewL1Block", | ||
"inputs": [ | ||
{ | ||
"name": "blockNumber", | ||
"type": "uint256", | ||
"indexed": true, | ||
"internalType": "uint256" | ||
}, | ||
{ | ||
"name": "winner", | ||
"type": "address", | ||
"indexed": true, | ||
"internalType": "address" | ||
}, | ||
{ | ||
"name": "window", | ||
"type": "uint256", | ||
"indexed": true, | ||
"internalType": "uint256" | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "NewWindow", | ||
"inputs": [ | ||
{ | ||
"name": "window", | ||
"type": "uint256", | ||
"indexed": true, | ||
"internalType": "uint256" | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "OwnershipTransferred", | ||
"inputs": [ | ||
{ | ||
"name": "previousOwner", | ||
"type": "address", | ||
"indexed": true, | ||
"internalType": "address" | ||
}, | ||
{ | ||
"name": "newOwner", | ||
"type": "address", | ||
"indexed": true, | ||
"internalType": "address" | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "InvalidInitialization", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "NotInitializing", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "OwnableInvalidOwner", | ||
"inputs": [ | ||
{ | ||
"name": "owner", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "OwnableUnauthorizedAccount", | ||
"inputs": [ | ||
{ | ||
"name": "account", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.