github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/L1StandardBridge.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": "MESSENGER", 14 "outputs": [ 15 { 16 "internalType": "contract CrossDomainMessenger", 17 "name": "", 18 "type": "address" 19 } 20 ], 21 "stateMutability": "view", 22 "type": "function" 23 }, 24 { 25 "inputs": [], 26 "name": "OTHER_BRIDGE", 27 "outputs": [ 28 { 29 "internalType": "contract StandardBridge", 30 "name": "", 31 "type": "address" 32 } 33 ], 34 "stateMutability": "view", 35 "type": "function" 36 }, 37 { 38 "inputs": [ 39 { 40 "internalType": "address", 41 "name": "_localToken", 42 "type": "address" 43 }, 44 { 45 "internalType": "address", 46 "name": "_remoteToken", 47 "type": "address" 48 }, 49 { 50 "internalType": "uint256", 51 "name": "_amount", 52 "type": "uint256" 53 }, 54 { 55 "internalType": "uint32", 56 "name": "_minGasLimit", 57 "type": "uint32" 58 }, 59 { 60 "internalType": "bytes", 61 "name": "_extraData", 62 "type": "bytes" 63 } 64 ], 65 "name": "bridgeERC20", 66 "outputs": [], 67 "stateMutability": "nonpayable", 68 "type": "function" 69 }, 70 { 71 "inputs": [ 72 { 73 "internalType": "address", 74 "name": "_localToken", 75 "type": "address" 76 }, 77 { 78 "internalType": "address", 79 "name": "_remoteToken", 80 "type": "address" 81 }, 82 { 83 "internalType": "address", 84 "name": "_to", 85 "type": "address" 86 }, 87 { 88 "internalType": "uint256", 89 "name": "_amount", 90 "type": "uint256" 91 }, 92 { 93 "internalType": "uint32", 94 "name": "_minGasLimit", 95 "type": "uint32" 96 }, 97 { 98 "internalType": "bytes", 99 "name": "_extraData", 100 "type": "bytes" 101 } 102 ], 103 "name": "bridgeERC20To", 104 "outputs": [], 105 "stateMutability": "nonpayable", 106 "type": "function" 107 }, 108 { 109 "inputs": [ 110 { 111 "internalType": "uint32", 112 "name": "_minGasLimit", 113 "type": "uint32" 114 }, 115 { 116 "internalType": "bytes", 117 "name": "_extraData", 118 "type": "bytes" 119 } 120 ], 121 "name": "bridgeETH", 122 "outputs": [], 123 "stateMutability": "payable", 124 "type": "function" 125 }, 126 { 127 "inputs": [ 128 { 129 "internalType": "address", 130 "name": "_to", 131 "type": "address" 132 }, 133 { 134 "internalType": "uint32", 135 "name": "_minGasLimit", 136 "type": "uint32" 137 }, 138 { 139 "internalType": "bytes", 140 "name": "_extraData", 141 "type": "bytes" 142 } 143 ], 144 "name": "bridgeETHTo", 145 "outputs": [], 146 "stateMutability": "payable", 147 "type": "function" 148 }, 149 { 150 "inputs": [ 151 { 152 "internalType": "address", 153 "name": "_l1Token", 154 "type": "address" 155 }, 156 { 157 "internalType": "address", 158 "name": "_l2Token", 159 "type": "address" 160 }, 161 { 162 "internalType": "uint256", 163 "name": "_amount", 164 "type": "uint256" 165 }, 166 { 167 "internalType": "uint32", 168 "name": "_minGasLimit", 169 "type": "uint32" 170 }, 171 { 172 "internalType": "bytes", 173 "name": "_extraData", 174 "type": "bytes" 175 } 176 ], 177 "name": "depositERC20", 178 "outputs": [], 179 "stateMutability": "nonpayable", 180 "type": "function" 181 }, 182 { 183 "inputs": [ 184 { 185 "internalType": "address", 186 "name": "_l1Token", 187 "type": "address" 188 }, 189 { 190 "internalType": "address", 191 "name": "_l2Token", 192 "type": "address" 193 }, 194 { 195 "internalType": "address", 196 "name": "_to", 197 "type": "address" 198 }, 199 { 200 "internalType": "uint256", 201 "name": "_amount", 202 "type": "uint256" 203 }, 204 { 205 "internalType": "uint32", 206 "name": "_minGasLimit", 207 "type": "uint32" 208 }, 209 { 210 "internalType": "bytes", 211 "name": "_extraData", 212 "type": "bytes" 213 } 214 ], 215 "name": "depositERC20To", 216 "outputs": [], 217 "stateMutability": "nonpayable", 218 "type": "function" 219 }, 220 { 221 "inputs": [ 222 { 223 "internalType": "uint32", 224 "name": "_minGasLimit", 225 "type": "uint32" 226 }, 227 { 228 "internalType": "bytes", 229 "name": "_extraData", 230 "type": "bytes" 231 } 232 ], 233 "name": "depositETH", 234 "outputs": [], 235 "stateMutability": "payable", 236 "type": "function" 237 }, 238 { 239 "inputs": [ 240 { 241 "internalType": "address", 242 "name": "_to", 243 "type": "address" 244 }, 245 { 246 "internalType": "uint32", 247 "name": "_minGasLimit", 248 "type": "uint32" 249 }, 250 { 251 "internalType": "bytes", 252 "name": "_extraData", 253 "type": "bytes" 254 } 255 ], 256 "name": "depositETHTo", 257 "outputs": [], 258 "stateMutability": "payable", 259 "type": "function" 260 }, 261 { 262 "inputs": [ 263 { 264 "internalType": "address", 265 "name": "", 266 "type": "address" 267 }, 268 { 269 "internalType": "address", 270 "name": "", 271 "type": "address" 272 } 273 ], 274 "name": "deposits", 275 "outputs": [ 276 { 277 "internalType": "uint256", 278 "name": "", 279 "type": "uint256" 280 } 281 ], 282 "stateMutability": "view", 283 "type": "function" 284 }, 285 { 286 "inputs": [ 287 { 288 "internalType": "address", 289 "name": "_localToken", 290 "type": "address" 291 }, 292 { 293 "internalType": "address", 294 "name": "_remoteToken", 295 "type": "address" 296 }, 297 { 298 "internalType": "address", 299 "name": "_from", 300 "type": "address" 301 }, 302 { 303 "internalType": "address", 304 "name": "_to", 305 "type": "address" 306 }, 307 { 308 "internalType": "uint256", 309 "name": "_amount", 310 "type": "uint256" 311 }, 312 { 313 "internalType": "bytes", 314 "name": "_extraData", 315 "type": "bytes" 316 } 317 ], 318 "name": "finalizeBridgeERC20", 319 "outputs": [], 320 "stateMutability": "nonpayable", 321 "type": "function" 322 }, 323 { 324 "inputs": [ 325 { 326 "internalType": "address", 327 "name": "_from", 328 "type": "address" 329 }, 330 { 331 "internalType": "address", 332 "name": "_to", 333 "type": "address" 334 }, 335 { 336 "internalType": "uint256", 337 "name": "_amount", 338 "type": "uint256" 339 }, 340 { 341 "internalType": "bytes", 342 "name": "_extraData", 343 "type": "bytes" 344 } 345 ], 346 "name": "finalizeBridgeETH", 347 "outputs": [], 348 "stateMutability": "payable", 349 "type": "function" 350 }, 351 { 352 "inputs": [ 353 { 354 "internalType": "address", 355 "name": "_l1Token", 356 "type": "address" 357 }, 358 { 359 "internalType": "address", 360 "name": "_l2Token", 361 "type": "address" 362 }, 363 { 364 "internalType": "address", 365 "name": "_from", 366 "type": "address" 367 }, 368 { 369 "internalType": "address", 370 "name": "_to", 371 "type": "address" 372 }, 373 { 374 "internalType": "uint256", 375 "name": "_amount", 376 "type": "uint256" 377 }, 378 { 379 "internalType": "bytes", 380 "name": "_extraData", 381 "type": "bytes" 382 } 383 ], 384 "name": "finalizeERC20Withdrawal", 385 "outputs": [], 386 "stateMutability": "nonpayable", 387 "type": "function" 388 }, 389 { 390 "inputs": [ 391 { 392 "internalType": "address", 393 "name": "_from", 394 "type": "address" 395 }, 396 { 397 "internalType": "address", 398 "name": "_to", 399 "type": "address" 400 }, 401 { 402 "internalType": "uint256", 403 "name": "_amount", 404 "type": "uint256" 405 }, 406 { 407 "internalType": "bytes", 408 "name": "_extraData", 409 "type": "bytes" 410 } 411 ], 412 "name": "finalizeETHWithdrawal", 413 "outputs": [], 414 "stateMutability": "payable", 415 "type": "function" 416 }, 417 { 418 "inputs": [ 419 { 420 "internalType": "contract CrossDomainMessenger", 421 "name": "_messenger", 422 "type": "address" 423 }, 424 { 425 "internalType": "contract SuperchainConfig", 426 "name": "_superchainConfig", 427 "type": "address" 428 } 429 ], 430 "name": "initialize", 431 "outputs": [], 432 "stateMutability": "nonpayable", 433 "type": "function" 434 }, 435 { 436 "inputs": [], 437 "name": "l2TokenBridge", 438 "outputs": [ 439 { 440 "internalType": "address", 441 "name": "", 442 "type": "address" 443 } 444 ], 445 "stateMutability": "view", 446 "type": "function" 447 }, 448 { 449 "inputs": [], 450 "name": "messenger", 451 "outputs": [ 452 { 453 "internalType": "contract CrossDomainMessenger", 454 "name": "", 455 "type": "address" 456 } 457 ], 458 "stateMutability": "view", 459 "type": "function" 460 }, 461 { 462 "inputs": [], 463 "name": "otherBridge", 464 "outputs": [ 465 { 466 "internalType": "contract StandardBridge", 467 "name": "", 468 "type": "address" 469 } 470 ], 471 "stateMutability": "view", 472 "type": "function" 473 }, 474 { 475 "inputs": [], 476 "name": "paused", 477 "outputs": [ 478 { 479 "internalType": "bool", 480 "name": "", 481 "type": "bool" 482 } 483 ], 484 "stateMutability": "view", 485 "type": "function" 486 }, 487 { 488 "inputs": [], 489 "name": "superchainConfig", 490 "outputs": [ 491 { 492 "internalType": "contract SuperchainConfig", 493 "name": "", 494 "type": "address" 495 } 496 ], 497 "stateMutability": "view", 498 "type": "function" 499 }, 500 { 501 "inputs": [], 502 "name": "version", 503 "outputs": [ 504 { 505 "internalType": "string", 506 "name": "", 507 "type": "string" 508 } 509 ], 510 "stateMutability": "view", 511 "type": "function" 512 }, 513 { 514 "anonymous": false, 515 "inputs": [ 516 { 517 "indexed": true, 518 "internalType": "address", 519 "name": "localToken", 520 "type": "address" 521 }, 522 { 523 "indexed": true, 524 "internalType": "address", 525 "name": "remoteToken", 526 "type": "address" 527 }, 528 { 529 "indexed": true, 530 "internalType": "address", 531 "name": "from", 532 "type": "address" 533 }, 534 { 535 "indexed": false, 536 "internalType": "address", 537 "name": "to", 538 "type": "address" 539 }, 540 { 541 "indexed": false, 542 "internalType": "uint256", 543 "name": "amount", 544 "type": "uint256" 545 }, 546 { 547 "indexed": false, 548 "internalType": "bytes", 549 "name": "extraData", 550 "type": "bytes" 551 } 552 ], 553 "name": "ERC20BridgeFinalized", 554 "type": "event" 555 }, 556 { 557 "anonymous": false, 558 "inputs": [ 559 { 560 "indexed": true, 561 "internalType": "address", 562 "name": "localToken", 563 "type": "address" 564 }, 565 { 566 "indexed": true, 567 "internalType": "address", 568 "name": "remoteToken", 569 "type": "address" 570 }, 571 { 572 "indexed": true, 573 "internalType": "address", 574 "name": "from", 575 "type": "address" 576 }, 577 { 578 "indexed": false, 579 "internalType": "address", 580 "name": "to", 581 "type": "address" 582 }, 583 { 584 "indexed": false, 585 "internalType": "uint256", 586 "name": "amount", 587 "type": "uint256" 588 }, 589 { 590 "indexed": false, 591 "internalType": "bytes", 592 "name": "extraData", 593 "type": "bytes" 594 } 595 ], 596 "name": "ERC20BridgeInitiated", 597 "type": "event" 598 }, 599 { 600 "anonymous": false, 601 "inputs": [ 602 { 603 "indexed": true, 604 "internalType": "address", 605 "name": "l1Token", 606 "type": "address" 607 }, 608 { 609 "indexed": true, 610 "internalType": "address", 611 "name": "l2Token", 612 "type": "address" 613 }, 614 { 615 "indexed": true, 616 "internalType": "address", 617 "name": "from", 618 "type": "address" 619 }, 620 { 621 "indexed": false, 622 "internalType": "address", 623 "name": "to", 624 "type": "address" 625 }, 626 { 627 "indexed": false, 628 "internalType": "uint256", 629 "name": "amount", 630 "type": "uint256" 631 }, 632 { 633 "indexed": false, 634 "internalType": "bytes", 635 "name": "extraData", 636 "type": "bytes" 637 } 638 ], 639 "name": "ERC20DepositInitiated", 640 "type": "event" 641 }, 642 { 643 "anonymous": false, 644 "inputs": [ 645 { 646 "indexed": true, 647 "internalType": "address", 648 "name": "l1Token", 649 "type": "address" 650 }, 651 { 652 "indexed": true, 653 "internalType": "address", 654 "name": "l2Token", 655 "type": "address" 656 }, 657 { 658 "indexed": true, 659 "internalType": "address", 660 "name": "from", 661 "type": "address" 662 }, 663 { 664 "indexed": false, 665 "internalType": "address", 666 "name": "to", 667 "type": "address" 668 }, 669 { 670 "indexed": false, 671 "internalType": "uint256", 672 "name": "amount", 673 "type": "uint256" 674 }, 675 { 676 "indexed": false, 677 "internalType": "bytes", 678 "name": "extraData", 679 "type": "bytes" 680 } 681 ], 682 "name": "ERC20WithdrawalFinalized", 683 "type": "event" 684 }, 685 { 686 "anonymous": false, 687 "inputs": [ 688 { 689 "indexed": true, 690 "internalType": "address", 691 "name": "from", 692 "type": "address" 693 }, 694 { 695 "indexed": true, 696 "internalType": "address", 697 "name": "to", 698 "type": "address" 699 }, 700 { 701 "indexed": false, 702 "internalType": "uint256", 703 "name": "amount", 704 "type": "uint256" 705 }, 706 { 707 "indexed": false, 708 "internalType": "bytes", 709 "name": "extraData", 710 "type": "bytes" 711 } 712 ], 713 "name": "ETHBridgeFinalized", 714 "type": "event" 715 }, 716 { 717 "anonymous": false, 718 "inputs": [ 719 { 720 "indexed": true, 721 "internalType": "address", 722 "name": "from", 723 "type": "address" 724 }, 725 { 726 "indexed": true, 727 "internalType": "address", 728 "name": "to", 729 "type": "address" 730 }, 731 { 732 "indexed": false, 733 "internalType": "uint256", 734 "name": "amount", 735 "type": "uint256" 736 }, 737 { 738 "indexed": false, 739 "internalType": "bytes", 740 "name": "extraData", 741 "type": "bytes" 742 } 743 ], 744 "name": "ETHBridgeInitiated", 745 "type": "event" 746 }, 747 { 748 "anonymous": false, 749 "inputs": [ 750 { 751 "indexed": true, 752 "internalType": "address", 753 "name": "from", 754 "type": "address" 755 }, 756 { 757 "indexed": true, 758 "internalType": "address", 759 "name": "to", 760 "type": "address" 761 }, 762 { 763 "indexed": false, 764 "internalType": "uint256", 765 "name": "amount", 766 "type": "uint256" 767 }, 768 { 769 "indexed": false, 770 "internalType": "bytes", 771 "name": "extraData", 772 "type": "bytes" 773 } 774 ], 775 "name": "ETHDepositInitiated", 776 "type": "event" 777 }, 778 { 779 "anonymous": false, 780 "inputs": [ 781 { 782 "indexed": true, 783 "internalType": "address", 784 "name": "from", 785 "type": "address" 786 }, 787 { 788 "indexed": true, 789 "internalType": "address", 790 "name": "to", 791 "type": "address" 792 }, 793 { 794 "indexed": false, 795 "internalType": "uint256", 796 "name": "amount", 797 "type": "uint256" 798 }, 799 { 800 "indexed": false, 801 "internalType": "bytes", 802 "name": "extraData", 803 "type": "bytes" 804 } 805 ], 806 "name": "ETHWithdrawalFinalized", 807 "type": "event" 808 }, 809 { 810 "anonymous": false, 811 "inputs": [ 812 { 813 "indexed": false, 814 "internalType": "uint8", 815 "name": "version", 816 "type": "uint8" 817 } 818 ], 819 "name": "Initialized", 820 "type": "event" 821 } 822 ]