github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/OptimismPortal.json (about) 1 [ 2 { 3 "inputs": [], 4 "stateMutability": "nonpayable", 5 "type": "constructor" 6 }, 7 { 8 "stateMutability": "payable", 9 "type": "receive" 10 }, 11 { 12 "inputs": [], 13 "name": "GUARDIAN", 14 "outputs": [ 15 { 16 "internalType": "address", 17 "name": "", 18 "type": "address" 19 } 20 ], 21 "stateMutability": "view", 22 "type": "function" 23 }, 24 { 25 "inputs": [], 26 "name": "L2_ORACLE", 27 "outputs": [ 28 { 29 "internalType": "contract L2OutputOracle", 30 "name": "", 31 "type": "address" 32 } 33 ], 34 "stateMutability": "view", 35 "type": "function" 36 }, 37 { 38 "inputs": [], 39 "name": "SYSTEM_CONFIG", 40 "outputs": [ 41 { 42 "internalType": "contract SystemConfig", 43 "name": "", 44 "type": "address" 45 } 46 ], 47 "stateMutability": "view", 48 "type": "function" 49 }, 50 { 51 "inputs": [ 52 { 53 "internalType": "address", 54 "name": "_to", 55 "type": "address" 56 }, 57 { 58 "internalType": "uint256", 59 "name": "_value", 60 "type": "uint256" 61 }, 62 { 63 "internalType": "uint64", 64 "name": "_gasLimit", 65 "type": "uint64" 66 }, 67 { 68 "internalType": "bool", 69 "name": "_isCreation", 70 "type": "bool" 71 }, 72 { 73 "internalType": "bytes", 74 "name": "_data", 75 "type": "bytes" 76 } 77 ], 78 "name": "depositTransaction", 79 "outputs": [], 80 "stateMutability": "payable", 81 "type": "function" 82 }, 83 { 84 "inputs": [], 85 "name": "donateETH", 86 "outputs": [], 87 "stateMutability": "payable", 88 "type": "function" 89 }, 90 { 91 "inputs": [ 92 { 93 "components": [ 94 { 95 "internalType": "uint256", 96 "name": "nonce", 97 "type": "uint256" 98 }, 99 { 100 "internalType": "address", 101 "name": "sender", 102 "type": "address" 103 }, 104 { 105 "internalType": "address", 106 "name": "target", 107 "type": "address" 108 }, 109 { 110 "internalType": "uint256", 111 "name": "value", 112 "type": "uint256" 113 }, 114 { 115 "internalType": "uint256", 116 "name": "gasLimit", 117 "type": "uint256" 118 }, 119 { 120 "internalType": "bytes", 121 "name": "data", 122 "type": "bytes" 123 } 124 ], 125 "internalType": "struct Types.WithdrawalTransaction", 126 "name": "_tx", 127 "type": "tuple" 128 } 129 ], 130 "name": "finalizeWithdrawalTransaction", 131 "outputs": [], 132 "stateMutability": "nonpayable", 133 "type": "function" 134 }, 135 { 136 "inputs": [ 137 { 138 "internalType": "bytes32", 139 "name": "", 140 "type": "bytes32" 141 } 142 ], 143 "name": "finalizedWithdrawals", 144 "outputs": [ 145 { 146 "internalType": "bool", 147 "name": "", 148 "type": "bool" 149 } 150 ], 151 "stateMutability": "view", 152 "type": "function" 153 }, 154 { 155 "inputs": [], 156 "name": "guardian", 157 "outputs": [ 158 { 159 "internalType": "address", 160 "name": "", 161 "type": "address" 162 } 163 ], 164 "stateMutability": "view", 165 "type": "function" 166 }, 167 { 168 "inputs": [ 169 { 170 "internalType": "contract L2OutputOracle", 171 "name": "_l2Oracle", 172 "type": "address" 173 }, 174 { 175 "internalType": "contract SystemConfig", 176 "name": "_systemConfig", 177 "type": "address" 178 }, 179 { 180 "internalType": "contract SuperchainConfig", 181 "name": "_superchainConfig", 182 "type": "address" 183 } 184 ], 185 "name": "initialize", 186 "outputs": [], 187 "stateMutability": "nonpayable", 188 "type": "function" 189 }, 190 { 191 "inputs": [ 192 { 193 "internalType": "uint256", 194 "name": "_l2OutputIndex", 195 "type": "uint256" 196 } 197 ], 198 "name": "isOutputFinalized", 199 "outputs": [ 200 { 201 "internalType": "bool", 202 "name": "", 203 "type": "bool" 204 } 205 ], 206 "stateMutability": "view", 207 "type": "function" 208 }, 209 { 210 "inputs": [], 211 "name": "l2Oracle", 212 "outputs": [ 213 { 214 "internalType": "contract L2OutputOracle", 215 "name": "", 216 "type": "address" 217 } 218 ], 219 "stateMutability": "view", 220 "type": "function" 221 }, 222 { 223 "inputs": [], 224 "name": "l2Sender", 225 "outputs": [ 226 { 227 "internalType": "address", 228 "name": "", 229 "type": "address" 230 } 231 ], 232 "stateMutability": "view", 233 "type": "function" 234 }, 235 { 236 "inputs": [ 237 { 238 "internalType": "uint64", 239 "name": "_byteCount", 240 "type": "uint64" 241 } 242 ], 243 "name": "minimumGasLimit", 244 "outputs": [ 245 { 246 "internalType": "uint64", 247 "name": "", 248 "type": "uint64" 249 } 250 ], 251 "stateMutability": "pure", 252 "type": "function" 253 }, 254 { 255 "inputs": [], 256 "name": "params", 257 "outputs": [ 258 { 259 "internalType": "uint128", 260 "name": "prevBaseFee", 261 "type": "uint128" 262 }, 263 { 264 "internalType": "uint64", 265 "name": "prevBoughtGas", 266 "type": "uint64" 267 }, 268 { 269 "internalType": "uint64", 270 "name": "prevBlockNum", 271 "type": "uint64" 272 } 273 ], 274 "stateMutability": "view", 275 "type": "function" 276 }, 277 { 278 "inputs": [], 279 "name": "paused", 280 "outputs": [ 281 { 282 "internalType": "bool", 283 "name": "paused_", 284 "type": "bool" 285 } 286 ], 287 "stateMutability": "view", 288 "type": "function" 289 }, 290 { 291 "inputs": [ 292 { 293 "components": [ 294 { 295 "internalType": "uint256", 296 "name": "nonce", 297 "type": "uint256" 298 }, 299 { 300 "internalType": "address", 301 "name": "sender", 302 "type": "address" 303 }, 304 { 305 "internalType": "address", 306 "name": "target", 307 "type": "address" 308 }, 309 { 310 "internalType": "uint256", 311 "name": "value", 312 "type": "uint256" 313 }, 314 { 315 "internalType": "uint256", 316 "name": "gasLimit", 317 "type": "uint256" 318 }, 319 { 320 "internalType": "bytes", 321 "name": "data", 322 "type": "bytes" 323 } 324 ], 325 "internalType": "struct Types.WithdrawalTransaction", 326 "name": "_tx", 327 "type": "tuple" 328 }, 329 { 330 "internalType": "uint256", 331 "name": "_l2OutputIndex", 332 "type": "uint256" 333 }, 334 { 335 "components": [ 336 { 337 "internalType": "bytes32", 338 "name": "version", 339 "type": "bytes32" 340 }, 341 { 342 "internalType": "bytes32", 343 "name": "stateRoot", 344 "type": "bytes32" 345 }, 346 { 347 "internalType": "bytes32", 348 "name": "messagePasserStorageRoot", 349 "type": "bytes32" 350 }, 351 { 352 "internalType": "bytes32", 353 "name": "latestBlockhash", 354 "type": "bytes32" 355 } 356 ], 357 "internalType": "struct Types.OutputRootProof", 358 "name": "_outputRootProof", 359 "type": "tuple" 360 }, 361 { 362 "internalType": "bytes[]", 363 "name": "_withdrawalProof", 364 "type": "bytes[]" 365 } 366 ], 367 "name": "proveWithdrawalTransaction", 368 "outputs": [], 369 "stateMutability": "nonpayable", 370 "type": "function" 371 }, 372 { 373 "inputs": [ 374 { 375 "internalType": "bytes32", 376 "name": "", 377 "type": "bytes32" 378 } 379 ], 380 "name": "provenWithdrawals", 381 "outputs": [ 382 { 383 "internalType": "bytes32", 384 "name": "outputRoot", 385 "type": "bytes32" 386 }, 387 { 388 "internalType": "uint128", 389 "name": "timestamp", 390 "type": "uint128" 391 }, 392 { 393 "internalType": "uint128", 394 "name": "l2OutputIndex", 395 "type": "uint128" 396 } 397 ], 398 "stateMutability": "view", 399 "type": "function" 400 }, 401 { 402 "inputs": [], 403 "name": "superchainConfig", 404 "outputs": [ 405 { 406 "internalType": "contract SuperchainConfig", 407 "name": "", 408 "type": "address" 409 } 410 ], 411 "stateMutability": "view", 412 "type": "function" 413 }, 414 { 415 "inputs": [], 416 "name": "systemConfig", 417 "outputs": [ 418 { 419 "internalType": "contract SystemConfig", 420 "name": "", 421 "type": "address" 422 } 423 ], 424 "stateMutability": "view", 425 "type": "function" 426 }, 427 { 428 "inputs": [], 429 "name": "version", 430 "outputs": [ 431 { 432 "internalType": "string", 433 "name": "", 434 "type": "string" 435 } 436 ], 437 "stateMutability": "view", 438 "type": "function" 439 }, 440 { 441 "anonymous": false, 442 "inputs": [ 443 { 444 "indexed": false, 445 "internalType": "uint8", 446 "name": "version", 447 "type": "uint8" 448 } 449 ], 450 "name": "Initialized", 451 "type": "event" 452 }, 453 { 454 "anonymous": false, 455 "inputs": [ 456 { 457 "indexed": true, 458 "internalType": "address", 459 "name": "from", 460 "type": "address" 461 }, 462 { 463 "indexed": true, 464 "internalType": "address", 465 "name": "to", 466 "type": "address" 467 }, 468 { 469 "indexed": true, 470 "internalType": "uint256", 471 "name": "version", 472 "type": "uint256" 473 }, 474 { 475 "indexed": false, 476 "internalType": "bytes", 477 "name": "opaqueData", 478 "type": "bytes" 479 } 480 ], 481 "name": "TransactionDeposited", 482 "type": "event" 483 }, 484 { 485 "anonymous": false, 486 "inputs": [ 487 { 488 "indexed": true, 489 "internalType": "bytes32", 490 "name": "withdrawalHash", 491 "type": "bytes32" 492 }, 493 { 494 "indexed": false, 495 "internalType": "bool", 496 "name": "success", 497 "type": "bool" 498 } 499 ], 500 "name": "WithdrawalFinalized", 501 "type": "event" 502 }, 503 { 504 "anonymous": false, 505 "inputs": [ 506 { 507 "indexed": true, 508 "internalType": "bytes32", 509 "name": "withdrawalHash", 510 "type": "bytes32" 511 }, 512 { 513 "indexed": true, 514 "internalType": "address", 515 "name": "from", 516 "type": "address" 517 }, 518 { 519 "indexed": true, 520 "internalType": "address", 521 "name": "to", 522 "type": "address" 523 } 524 ], 525 "name": "WithdrawalProven", 526 "type": "event" 527 } 528 ]