github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/AnchorStateRegistry.json (about) 1 [ 2 { 3 "inputs": [ 4 { 5 "internalType": "contract IDisputeGameFactory", 6 "name": "_disputeGameFactory", 7 "type": "address" 8 } 9 ], 10 "stateMutability": "nonpayable", 11 "type": "constructor" 12 }, 13 { 14 "inputs": [ 15 { 16 "internalType": "GameType", 17 "name": "", 18 "type": "uint32" 19 } 20 ], 21 "name": "anchors", 22 "outputs": [ 23 { 24 "internalType": "Hash", 25 "name": "root", 26 "type": "bytes32" 27 }, 28 { 29 "internalType": "uint256", 30 "name": "l2BlockNumber", 31 "type": "uint256" 32 } 33 ], 34 "stateMutability": "view", 35 "type": "function" 36 }, 37 { 38 "inputs": [], 39 "name": "disputeGameFactory", 40 "outputs": [ 41 { 42 "internalType": "contract IDisputeGameFactory", 43 "name": "", 44 "type": "address" 45 } 46 ], 47 "stateMutability": "view", 48 "type": "function" 49 }, 50 { 51 "inputs": [ 52 { 53 "components": [ 54 { 55 "internalType": "GameType", 56 "name": "gameType", 57 "type": "uint32" 58 }, 59 { 60 "components": [ 61 { 62 "internalType": "Hash", 63 "name": "root", 64 "type": "bytes32" 65 }, 66 { 67 "internalType": "uint256", 68 "name": "l2BlockNumber", 69 "type": "uint256" 70 } 71 ], 72 "internalType": "struct OutputRoot", 73 "name": "outputRoot", 74 "type": "tuple" 75 } 76 ], 77 "internalType": "struct AnchorStateRegistry.StartingAnchorRoot[]", 78 "name": "_startingAnchorRoots", 79 "type": "tuple[]" 80 } 81 ], 82 "name": "initialize", 83 "outputs": [], 84 "stateMutability": "nonpayable", 85 "type": "function" 86 }, 87 { 88 "inputs": [], 89 "name": "tryUpdateAnchorState", 90 "outputs": [], 91 "stateMutability": "nonpayable", 92 "type": "function" 93 }, 94 { 95 "inputs": [], 96 "name": "version", 97 "outputs": [ 98 { 99 "internalType": "string", 100 "name": "", 101 "type": "string" 102 } 103 ], 104 "stateMutability": "view", 105 "type": "function" 106 }, 107 { 108 "anonymous": false, 109 "inputs": [ 110 { 111 "indexed": false, 112 "internalType": "uint8", 113 "name": "version", 114 "type": "uint8" 115 } 116 ], 117 "name": "Initialized", 118 "type": "event" 119 } 120 ]