github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/OptimistInviter.json (about) 1 [ 2 { 3 "inputs": [ 4 { 5 "internalType": "address", 6 "name": "_inviteGranter", 7 "type": "address" 8 }, 9 { 10 "internalType": "contract AttestationStation", 11 "name": "_attestationStation", 12 "type": "address" 13 } 14 ], 15 "stateMutability": "nonpayable", 16 "type": "constructor" 17 }, 18 { 19 "inputs": [], 20 "name": "ATTESTATION_STATION", 21 "outputs": [ 22 { 23 "internalType": "contract AttestationStation", 24 "name": "", 25 "type": "address" 26 } 27 ], 28 "stateMutability": "view", 29 "type": "function" 30 }, 31 { 32 "inputs": [], 33 "name": "CAN_INVITE_ATTESTATION_KEY", 34 "outputs": [ 35 { 36 "internalType": "bytes32", 37 "name": "", 38 "type": "bytes32" 39 } 40 ], 41 "stateMutability": "view", 42 "type": "function" 43 }, 44 { 45 "inputs": [], 46 "name": "CLAIMABLE_INVITE_TYPEHASH", 47 "outputs": [ 48 { 49 "internalType": "bytes32", 50 "name": "", 51 "type": "bytes32" 52 } 53 ], 54 "stateMutability": "view", 55 "type": "function" 56 }, 57 { 58 "inputs": [], 59 "name": "EIP712_VERSION", 60 "outputs": [ 61 { 62 "internalType": "string", 63 "name": "", 64 "type": "string" 65 } 66 ], 67 "stateMutability": "view", 68 "type": "function" 69 }, 70 { 71 "inputs": [], 72 "name": "INVITE_GRANTER", 73 "outputs": [ 74 { 75 "internalType": "address", 76 "name": "", 77 "type": "address" 78 } 79 ], 80 "stateMutability": "view", 81 "type": "function" 82 }, 83 { 84 "inputs": [], 85 "name": "MIN_COMMITMENT_PERIOD", 86 "outputs": [ 87 { 88 "internalType": "uint256", 89 "name": "", 90 "type": "uint256" 91 } 92 ], 93 "stateMutability": "view", 94 "type": "function" 95 }, 96 { 97 "inputs": [ 98 { 99 "internalType": "address", 100 "name": "_claimer", 101 "type": "address" 102 }, 103 { 104 "components": [ 105 { 106 "internalType": "address", 107 "name": "issuer", 108 "type": "address" 109 }, 110 { 111 "internalType": "bytes32", 112 "name": "nonce", 113 "type": "bytes32" 114 } 115 ], 116 "internalType": "struct OptimistInviter.ClaimableInvite", 117 "name": "_claimableInvite", 118 "type": "tuple" 119 }, 120 { 121 "internalType": "bytes", 122 "name": "_signature", 123 "type": "bytes" 124 } 125 ], 126 "name": "claimInvite", 127 "outputs": [], 128 "stateMutability": "nonpayable", 129 "type": "function" 130 }, 131 { 132 "inputs": [ 133 { 134 "internalType": "bytes32", 135 "name": "_commitment", 136 "type": "bytes32" 137 } 138 ], 139 "name": "commitInvite", 140 "outputs": [], 141 "stateMutability": "nonpayable", 142 "type": "function" 143 }, 144 { 145 "inputs": [ 146 { 147 "internalType": "bytes32", 148 "name": "", 149 "type": "bytes32" 150 } 151 ], 152 "name": "commitmentTimestamps", 153 "outputs": [ 154 { 155 "internalType": "uint256", 156 "name": "", 157 "type": "uint256" 158 } 159 ], 160 "stateMutability": "view", 161 "type": "function" 162 }, 163 { 164 "inputs": [ 165 { 166 "internalType": "string", 167 "name": "_name", 168 "type": "string" 169 } 170 ], 171 "name": "initialize", 172 "outputs": [], 173 "stateMutability": "nonpayable", 174 "type": "function" 175 }, 176 { 177 "inputs": [ 178 { 179 "internalType": "address", 180 "name": "", 181 "type": "address" 182 } 183 ], 184 "name": "inviteCounts", 185 "outputs": [ 186 { 187 "internalType": "uint256", 188 "name": "", 189 "type": "uint256" 190 } 191 ], 192 "stateMutability": "view", 193 "type": "function" 194 }, 195 { 196 "inputs": [ 197 { 198 "internalType": "address[]", 199 "name": "_accounts", 200 "type": "address[]" 201 }, 202 { 203 "internalType": "uint256", 204 "name": "_inviteCount", 205 "type": "uint256" 206 } 207 ], 208 "name": "setInviteCounts", 209 "outputs": [], 210 "stateMutability": "nonpayable", 211 "type": "function" 212 }, 213 { 214 "inputs": [ 215 { 216 "internalType": "address", 217 "name": "", 218 "type": "address" 219 }, 220 { 221 "internalType": "bytes32", 222 "name": "", 223 "type": "bytes32" 224 } 225 ], 226 "name": "usedNonces", 227 "outputs": [ 228 { 229 "internalType": "bool", 230 "name": "", 231 "type": "bool" 232 } 233 ], 234 "stateMutability": "view", 235 "type": "function" 236 }, 237 { 238 "inputs": [], 239 "name": "version", 240 "outputs": [ 241 { 242 "internalType": "string", 243 "name": "", 244 "type": "string" 245 } 246 ], 247 "stateMutability": "view", 248 "type": "function" 249 }, 250 { 251 "anonymous": false, 252 "inputs": [ 253 { 254 "indexed": false, 255 "internalType": "uint8", 256 "name": "version", 257 "type": "uint8" 258 } 259 ], 260 "name": "Initialized", 261 "type": "event" 262 }, 263 { 264 "anonymous": false, 265 "inputs": [ 266 { 267 "indexed": true, 268 "internalType": "address", 269 "name": "issuer", 270 "type": "address" 271 }, 272 { 273 "indexed": true, 274 "internalType": "address", 275 "name": "claimer", 276 "type": "address" 277 } 278 ], 279 "name": "InviteClaimed", 280 "type": "event" 281 } 282 ]