github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/L2CrossDomainMessenger.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": "RELAY_CALL_OVERHEAD", 75 "outputs": [ 76 { 77 "internalType": "uint64", 78 "name": "", 79 "type": "uint64" 80 } 81 ], 82 "stateMutability": "view", 83 "type": "function" 84 }, 85 { 86 "inputs": [], 87 "name": "RELAY_CONSTANT_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_GAS_CHECK_BUFFER", 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_RESERVED_GAS", 114 "outputs": [ 115 { 116 "internalType": "uint64", 117 "name": "", 118 "type": "uint64" 119 } 120 ], 121 "stateMutability": "view", 122 "type": "function" 123 }, 124 { 125 "inputs": [ 126 { 127 "internalType": "bytes", 128 "name": "_message", 129 "type": "bytes" 130 }, 131 { 132 "internalType": "uint32", 133 "name": "_minGasLimit", 134 "type": "uint32" 135 } 136 ], 137 "name": "baseGas", 138 "outputs": [ 139 { 140 "internalType": "uint64", 141 "name": "", 142 "type": "uint64" 143 } 144 ], 145 "stateMutability": "pure", 146 "type": "function" 147 }, 148 { 149 "inputs": [ 150 { 151 "internalType": "bytes32", 152 "name": "", 153 "type": "bytes32" 154 } 155 ], 156 "name": "failedMessages", 157 "outputs": [ 158 { 159 "internalType": "bool", 160 "name": "", 161 "type": "bool" 162 } 163 ], 164 "stateMutability": "view", 165 "type": "function" 166 }, 167 { 168 "inputs": [ 169 { 170 "internalType": "contract CrossDomainMessenger", 171 "name": "_l1CrossDomainMessenger", 172 "type": "address" 173 } 174 ], 175 "name": "initialize", 176 "outputs": [], 177 "stateMutability": "nonpayable", 178 "type": "function" 179 }, 180 { 181 "inputs": [], 182 "name": "l1CrossDomainMessenger", 183 "outputs": [ 184 { 185 "internalType": "contract CrossDomainMessenger", 186 "name": "", 187 "type": "address" 188 } 189 ], 190 "stateMutability": "view", 191 "type": "function" 192 }, 193 { 194 "inputs": [], 195 "name": "messageNonce", 196 "outputs": [ 197 { 198 "internalType": "uint256", 199 "name": "", 200 "type": "uint256" 201 } 202 ], 203 "stateMutability": "view", 204 "type": "function" 205 }, 206 { 207 "inputs": [], 208 "name": "otherMessenger", 209 "outputs": [ 210 { 211 "internalType": "contract CrossDomainMessenger", 212 "name": "", 213 "type": "address" 214 } 215 ], 216 "stateMutability": "view", 217 "type": "function" 218 }, 219 { 220 "inputs": [], 221 "name": "paused", 222 "outputs": [ 223 { 224 "internalType": "bool", 225 "name": "", 226 "type": "bool" 227 } 228 ], 229 "stateMutability": "view", 230 "type": "function" 231 }, 232 { 233 "inputs": [ 234 { 235 "internalType": "uint256", 236 "name": "_nonce", 237 "type": "uint256" 238 }, 239 { 240 "internalType": "address", 241 "name": "_sender", 242 "type": "address" 243 }, 244 { 245 "internalType": "address", 246 "name": "_target", 247 "type": "address" 248 }, 249 { 250 "internalType": "uint256", 251 "name": "_value", 252 "type": "uint256" 253 }, 254 { 255 "internalType": "uint256", 256 "name": "_minGasLimit", 257 "type": "uint256" 258 }, 259 { 260 "internalType": "bytes", 261 "name": "_message", 262 "type": "bytes" 263 } 264 ], 265 "name": "relayMessage", 266 "outputs": [], 267 "stateMutability": "payable", 268 "type": "function" 269 }, 270 { 271 "inputs": [ 272 { 273 "internalType": "address", 274 "name": "_target", 275 "type": "address" 276 }, 277 { 278 "internalType": "bytes", 279 "name": "_message", 280 "type": "bytes" 281 }, 282 { 283 "internalType": "uint32", 284 "name": "_minGasLimit", 285 "type": "uint32" 286 } 287 ], 288 "name": "sendMessage", 289 "outputs": [], 290 "stateMutability": "payable", 291 "type": "function" 292 }, 293 { 294 "inputs": [ 295 { 296 "internalType": "bytes32", 297 "name": "", 298 "type": "bytes32" 299 } 300 ], 301 "name": "successfulMessages", 302 "outputs": [ 303 { 304 "internalType": "bool", 305 "name": "", 306 "type": "bool" 307 } 308 ], 309 "stateMutability": "view", 310 "type": "function" 311 }, 312 { 313 "inputs": [], 314 "name": "version", 315 "outputs": [ 316 { 317 "internalType": "string", 318 "name": "", 319 "type": "string" 320 } 321 ], 322 "stateMutability": "view", 323 "type": "function" 324 }, 325 { 326 "inputs": [], 327 "name": "xDomainMessageSender", 328 "outputs": [ 329 { 330 "internalType": "address", 331 "name": "", 332 "type": "address" 333 } 334 ], 335 "stateMutability": "view", 336 "type": "function" 337 }, 338 { 339 "anonymous": false, 340 "inputs": [ 341 { 342 "indexed": true, 343 "internalType": "bytes32", 344 "name": "msgHash", 345 "type": "bytes32" 346 } 347 ], 348 "name": "FailedRelayedMessage", 349 "type": "event" 350 }, 351 { 352 "anonymous": false, 353 "inputs": [ 354 { 355 "indexed": false, 356 "internalType": "uint8", 357 "name": "version", 358 "type": "uint8" 359 } 360 ], 361 "name": "Initialized", 362 "type": "event" 363 }, 364 { 365 "anonymous": false, 366 "inputs": [ 367 { 368 "indexed": true, 369 "internalType": "bytes32", 370 "name": "msgHash", 371 "type": "bytes32" 372 } 373 ], 374 "name": "RelayedMessage", 375 "type": "event" 376 }, 377 { 378 "anonymous": false, 379 "inputs": [ 380 { 381 "indexed": true, 382 "internalType": "address", 383 "name": "target", 384 "type": "address" 385 }, 386 { 387 "indexed": false, 388 "internalType": "address", 389 "name": "sender", 390 "type": "address" 391 }, 392 { 393 "indexed": false, 394 "internalType": "bytes", 395 "name": "message", 396 "type": "bytes" 397 }, 398 { 399 "indexed": false, 400 "internalType": "uint256", 401 "name": "messageNonce", 402 "type": "uint256" 403 }, 404 { 405 "indexed": false, 406 "internalType": "uint256", 407 "name": "gasLimit", 408 "type": "uint256" 409 } 410 ], 411 "name": "SentMessage", 412 "type": "event" 413 }, 414 { 415 "anonymous": false, 416 "inputs": [ 417 { 418 "indexed": true, 419 "internalType": "address", 420 "name": "sender", 421 "type": "address" 422 }, 423 { 424 "indexed": false, 425 "internalType": "uint256", 426 "name": "value", 427 "type": "uint256" 428 } 429 ], 430 "name": "SentMessageExtension1", 431 "type": "event" 432 } 433 ]