github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/L1CrossDomainMessenger.json (about) 1 [ 2 { 3 "inputs": [], 4 "stateMutability": "nonpayable", 5 "type": "constructor" 6 }, 7 { 8 "inputs": [], 9 "name": "MESSAGE_VERSION", 10 "outputs": [ 11 { 12 "internalType": "uint16", 13 "name": "", 14 "type": "uint16" 15 } 16 ], 17 "stateMutability": "view", 18 "type": "function" 19 }, 20 { 21 "inputs": [], 22 "name": "MIN_GAS_CALLDATA_OVERHEAD", 23 "outputs": [ 24 { 25 "internalType": "uint64", 26 "name": "", 27 "type": "uint64" 28 } 29 ], 30 "stateMutability": "view", 31 "type": "function" 32 }, 33 { 34 "inputs": [], 35 "name": "MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR", 36 "outputs": [ 37 { 38 "internalType": "uint64", 39 "name": "", 40 "type": "uint64" 41 } 42 ], 43 "stateMutability": "view", 44 "type": "function" 45 }, 46 { 47 "inputs": [], 48 "name": "MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR", 49 "outputs": [ 50 { 51 "internalType": "uint64", 52 "name": "", 53 "type": "uint64" 54 } 55 ], 56 "stateMutability": "view", 57 "type": "function" 58 }, 59 { 60 "inputs": [], 61 "name": "OTHER_MESSENGER", 62 "outputs": [ 63 { 64 "internalType": "contract CrossDomainMessenger", 65 "name": "", 66 "type": "address" 67 } 68 ], 69 "stateMutability": "view", 70 "type": "function" 71 }, 72 { 73 "inputs": [], 74 "name": "PORTAL", 75 "outputs": [ 76 { 77 "internalType": "contract OptimismPortal", 78 "name": "", 79 "type": "address" 80 } 81 ], 82 "stateMutability": "view", 83 "type": "function" 84 }, 85 { 86 "inputs": [], 87 "name": "RELAY_CALL_OVERHEAD", 88 "outputs": [ 89 { 90 "internalType": "uint64", 91 "name": "", 92 "type": "uint64" 93 } 94 ], 95 "stateMutability": "view", 96 "type": "function" 97 }, 98 { 99 "inputs": [], 100 "name": "RELAY_CONSTANT_OVERHEAD", 101 "outputs": [ 102 { 103 "internalType": "uint64", 104 "name": "", 105 "type": "uint64" 106 } 107 ], 108 "stateMutability": "view", 109 "type": "function" 110 }, 111 { 112 "inputs": [], 113 "name": "RELAY_GAS_CHECK_BUFFER", 114 "outputs": [ 115 { 116 "internalType": "uint64", 117 "name": "", 118 "type": "uint64" 119 } 120 ], 121 "stateMutability": "view", 122 "type": "function" 123 }, 124 { 125 "inputs": [], 126 "name": "RELAY_RESERVED_GAS", 127 "outputs": [ 128 { 129 "internalType": "uint64", 130 "name": "", 131 "type": "uint64" 132 } 133 ], 134 "stateMutability": "view", 135 "type": "function" 136 }, 137 { 138 "inputs": [ 139 { 140 "internalType": "bytes", 141 "name": "_message", 142 "type": "bytes" 143 }, 144 { 145 "internalType": "uint32", 146 "name": "_minGasLimit", 147 "type": "uint32" 148 } 149 ], 150 "name": "baseGas", 151 "outputs": [ 152 { 153 "internalType": "uint64", 154 "name": "", 155 "type": "uint64" 156 } 157 ], 158 "stateMutability": "pure", 159 "type": "function" 160 }, 161 { 162 "inputs": [ 163 { 164 "internalType": "bytes32", 165 "name": "", 166 "type": "bytes32" 167 } 168 ], 169 "name": "failedMessages", 170 "outputs": [ 171 { 172 "internalType": "bool", 173 "name": "", 174 "type": "bool" 175 } 176 ], 177 "stateMutability": "view", 178 "type": "function" 179 }, 180 { 181 "inputs": [ 182 { 183 "internalType": "contract SuperchainConfig", 184 "name": "_superchainConfig", 185 "type": "address" 186 }, 187 { 188 "internalType": "contract OptimismPortal", 189 "name": "_portal", 190 "type": "address" 191 } 192 ], 193 "name": "initialize", 194 "outputs": [], 195 "stateMutability": "nonpayable", 196 "type": "function" 197 }, 198 { 199 "inputs": [], 200 "name": "messageNonce", 201 "outputs": [ 202 { 203 "internalType": "uint256", 204 "name": "", 205 "type": "uint256" 206 } 207 ], 208 "stateMutability": "view", 209 "type": "function" 210 }, 211 { 212 "inputs": [], 213 "name": "otherMessenger", 214 "outputs": [ 215 { 216 "internalType": "contract CrossDomainMessenger", 217 "name": "", 218 "type": "address" 219 } 220 ], 221 "stateMutability": "view", 222 "type": "function" 223 }, 224 { 225 "inputs": [], 226 "name": "paused", 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": "portal", 240 "outputs": [ 241 { 242 "internalType": "contract OptimismPortal", 243 "name": "", 244 "type": "address" 245 } 246 ], 247 "stateMutability": "view", 248 "type": "function" 249 }, 250 { 251 "inputs": [ 252 { 253 "internalType": "uint256", 254 "name": "_nonce", 255 "type": "uint256" 256 }, 257 { 258 "internalType": "address", 259 "name": "_sender", 260 "type": "address" 261 }, 262 { 263 "internalType": "address", 264 "name": "_target", 265 "type": "address" 266 }, 267 { 268 "internalType": "uint256", 269 "name": "_value", 270 "type": "uint256" 271 }, 272 { 273 "internalType": "uint256", 274 "name": "_minGasLimit", 275 "type": "uint256" 276 }, 277 { 278 "internalType": "bytes", 279 "name": "_message", 280 "type": "bytes" 281 } 282 ], 283 "name": "relayMessage", 284 "outputs": [], 285 "stateMutability": "payable", 286 "type": "function" 287 }, 288 { 289 "inputs": [ 290 { 291 "internalType": "address", 292 "name": "_target", 293 "type": "address" 294 }, 295 { 296 "internalType": "bytes", 297 "name": "_message", 298 "type": "bytes" 299 }, 300 { 301 "internalType": "uint32", 302 "name": "_minGasLimit", 303 "type": "uint32" 304 } 305 ], 306 "name": "sendMessage", 307 "outputs": [], 308 "stateMutability": "payable", 309 "type": "function" 310 }, 311 { 312 "inputs": [ 313 { 314 "internalType": "bytes32", 315 "name": "", 316 "type": "bytes32" 317 } 318 ], 319 "name": "successfulMessages", 320 "outputs": [ 321 { 322 "internalType": "bool", 323 "name": "", 324 "type": "bool" 325 } 326 ], 327 "stateMutability": "view", 328 "type": "function" 329 }, 330 { 331 "inputs": [], 332 "name": "superchainConfig", 333 "outputs": [ 334 { 335 "internalType": "contract SuperchainConfig", 336 "name": "", 337 "type": "address" 338 } 339 ], 340 "stateMutability": "view", 341 "type": "function" 342 }, 343 { 344 "inputs": [], 345 "name": "version", 346 "outputs": [ 347 { 348 "internalType": "string", 349 "name": "", 350 "type": "string" 351 } 352 ], 353 "stateMutability": "view", 354 "type": "function" 355 }, 356 { 357 "inputs": [], 358 "name": "xDomainMessageSender", 359 "outputs": [ 360 { 361 "internalType": "address", 362 "name": "", 363 "type": "address" 364 } 365 ], 366 "stateMutability": "view", 367 "type": "function" 368 }, 369 { 370 "anonymous": false, 371 "inputs": [ 372 { 373 "indexed": true, 374 "internalType": "bytes32", 375 "name": "msgHash", 376 "type": "bytes32" 377 } 378 ], 379 "name": "FailedRelayedMessage", 380 "type": "event" 381 }, 382 { 383 "anonymous": false, 384 "inputs": [ 385 { 386 "indexed": false, 387 "internalType": "uint8", 388 "name": "version", 389 "type": "uint8" 390 } 391 ], 392 "name": "Initialized", 393 "type": "event" 394 }, 395 { 396 "anonymous": false, 397 "inputs": [ 398 { 399 "indexed": true, 400 "internalType": "bytes32", 401 "name": "msgHash", 402 "type": "bytes32" 403 } 404 ], 405 "name": "RelayedMessage", 406 "type": "event" 407 }, 408 { 409 "anonymous": false, 410 "inputs": [ 411 { 412 "indexed": true, 413 "internalType": "address", 414 "name": "target", 415 "type": "address" 416 }, 417 { 418 "indexed": false, 419 "internalType": "address", 420 "name": "sender", 421 "type": "address" 422 }, 423 { 424 "indexed": false, 425 "internalType": "bytes", 426 "name": "message", 427 "type": "bytes" 428 }, 429 { 430 "indexed": false, 431 "internalType": "uint256", 432 "name": "messageNonce", 433 "type": "uint256" 434 }, 435 { 436 "indexed": false, 437 "internalType": "uint256", 438 "name": "gasLimit", 439 "type": "uint256" 440 } 441 ], 442 "name": "SentMessage", 443 "type": "event" 444 }, 445 { 446 "anonymous": false, 447 "inputs": [ 448 { 449 "indexed": true, 450 "internalType": "address", 451 "name": "sender", 452 "type": "address" 453 }, 454 { 455 "indexed": false, 456 "internalType": "uint256", 457 "name": "value", 458 "type": "uint256" 459 } 460 ], 461 "name": "SentMessageExtension1", 462 "type": "event" 463 } 464 ]