github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/L2StandardBridge.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": "", 154 "type": "address" 155 }, 156 { 157 "internalType": "address", 158 "name": "", 159 "type": "address" 160 } 161 ], 162 "name": "deposits", 163 "outputs": [ 164 { 165 "internalType": "uint256", 166 "name": "", 167 "type": "uint256" 168 } 169 ], 170 "stateMutability": "view", 171 "type": "function" 172 }, 173 { 174 "inputs": [ 175 { 176 "internalType": "address", 177 "name": "_localToken", 178 "type": "address" 179 }, 180 { 181 "internalType": "address", 182 "name": "_remoteToken", 183 "type": "address" 184 }, 185 { 186 "internalType": "address", 187 "name": "_from", 188 "type": "address" 189 }, 190 { 191 "internalType": "address", 192 "name": "_to", 193 "type": "address" 194 }, 195 { 196 "internalType": "uint256", 197 "name": "_amount", 198 "type": "uint256" 199 }, 200 { 201 "internalType": "bytes", 202 "name": "_extraData", 203 "type": "bytes" 204 } 205 ], 206 "name": "finalizeBridgeERC20", 207 "outputs": [], 208 "stateMutability": "nonpayable", 209 "type": "function" 210 }, 211 { 212 "inputs": [ 213 { 214 "internalType": "address", 215 "name": "_from", 216 "type": "address" 217 }, 218 { 219 "internalType": "address", 220 "name": "_to", 221 "type": "address" 222 }, 223 { 224 "internalType": "uint256", 225 "name": "_amount", 226 "type": "uint256" 227 }, 228 { 229 "internalType": "bytes", 230 "name": "_extraData", 231 "type": "bytes" 232 } 233 ], 234 "name": "finalizeBridgeETH", 235 "outputs": [], 236 "stateMutability": "payable", 237 "type": "function" 238 }, 239 { 240 "inputs": [ 241 { 242 "internalType": "address", 243 "name": "_l1Token", 244 "type": "address" 245 }, 246 { 247 "internalType": "address", 248 "name": "_l2Token", 249 "type": "address" 250 }, 251 { 252 "internalType": "address", 253 "name": "_from", 254 "type": "address" 255 }, 256 { 257 "internalType": "address", 258 "name": "_to", 259 "type": "address" 260 }, 261 { 262 "internalType": "uint256", 263 "name": "_amount", 264 "type": "uint256" 265 }, 266 { 267 "internalType": "bytes", 268 "name": "_extraData", 269 "type": "bytes" 270 } 271 ], 272 "name": "finalizeDeposit", 273 "outputs": [], 274 "stateMutability": "payable", 275 "type": "function" 276 }, 277 { 278 "inputs": [ 279 { 280 "internalType": "contract StandardBridge", 281 "name": "_otherBridge", 282 "type": "address" 283 } 284 ], 285 "name": "initialize", 286 "outputs": [], 287 "stateMutability": "nonpayable", 288 "type": "function" 289 }, 290 { 291 "inputs": [], 292 "name": "l1TokenBridge", 293 "outputs": [ 294 { 295 "internalType": "address", 296 "name": "", 297 "type": "address" 298 } 299 ], 300 "stateMutability": "view", 301 "type": "function" 302 }, 303 { 304 "inputs": [], 305 "name": "messenger", 306 "outputs": [ 307 { 308 "internalType": "contract CrossDomainMessenger", 309 "name": "", 310 "type": "address" 311 } 312 ], 313 "stateMutability": "view", 314 "type": "function" 315 }, 316 { 317 "inputs": [], 318 "name": "otherBridge", 319 "outputs": [ 320 { 321 "internalType": "contract StandardBridge", 322 "name": "", 323 "type": "address" 324 } 325 ], 326 "stateMutability": "view", 327 "type": "function" 328 }, 329 { 330 "inputs": [], 331 "name": "paused", 332 "outputs": [ 333 { 334 "internalType": "bool", 335 "name": "", 336 "type": "bool" 337 } 338 ], 339 "stateMutability": "view", 340 "type": "function" 341 }, 342 { 343 "inputs": [], 344 "name": "version", 345 "outputs": [ 346 { 347 "internalType": "string", 348 "name": "", 349 "type": "string" 350 } 351 ], 352 "stateMutability": "view", 353 "type": "function" 354 }, 355 { 356 "inputs": [ 357 { 358 "internalType": "address", 359 "name": "_l2Token", 360 "type": "address" 361 }, 362 { 363 "internalType": "uint256", 364 "name": "_amount", 365 "type": "uint256" 366 }, 367 { 368 "internalType": "uint32", 369 "name": "_minGasLimit", 370 "type": "uint32" 371 }, 372 { 373 "internalType": "bytes", 374 "name": "_extraData", 375 "type": "bytes" 376 } 377 ], 378 "name": "withdraw", 379 "outputs": [], 380 "stateMutability": "payable", 381 "type": "function" 382 }, 383 { 384 "inputs": [ 385 { 386 "internalType": "address", 387 "name": "_l2Token", 388 "type": "address" 389 }, 390 { 391 "internalType": "address", 392 "name": "_to", 393 "type": "address" 394 }, 395 { 396 "internalType": "uint256", 397 "name": "_amount", 398 "type": "uint256" 399 }, 400 { 401 "internalType": "uint32", 402 "name": "_minGasLimit", 403 "type": "uint32" 404 }, 405 { 406 "internalType": "bytes", 407 "name": "_extraData", 408 "type": "bytes" 409 } 410 ], 411 "name": "withdrawTo", 412 "outputs": [], 413 "stateMutability": "payable", 414 "type": "function" 415 }, 416 { 417 "anonymous": false, 418 "inputs": [ 419 { 420 "indexed": true, 421 "internalType": "address", 422 "name": "l1Token", 423 "type": "address" 424 }, 425 { 426 "indexed": true, 427 "internalType": "address", 428 "name": "l2Token", 429 "type": "address" 430 }, 431 { 432 "indexed": true, 433 "internalType": "address", 434 "name": "from", 435 "type": "address" 436 }, 437 { 438 "indexed": false, 439 "internalType": "address", 440 "name": "to", 441 "type": "address" 442 }, 443 { 444 "indexed": false, 445 "internalType": "uint256", 446 "name": "amount", 447 "type": "uint256" 448 }, 449 { 450 "indexed": false, 451 "internalType": "bytes", 452 "name": "extraData", 453 "type": "bytes" 454 } 455 ], 456 "name": "DepositFinalized", 457 "type": "event" 458 }, 459 { 460 "anonymous": false, 461 "inputs": [ 462 { 463 "indexed": true, 464 "internalType": "address", 465 "name": "localToken", 466 "type": "address" 467 }, 468 { 469 "indexed": true, 470 "internalType": "address", 471 "name": "remoteToken", 472 "type": "address" 473 }, 474 { 475 "indexed": true, 476 "internalType": "address", 477 "name": "from", 478 "type": "address" 479 }, 480 { 481 "indexed": false, 482 "internalType": "address", 483 "name": "to", 484 "type": "address" 485 }, 486 { 487 "indexed": false, 488 "internalType": "uint256", 489 "name": "amount", 490 "type": "uint256" 491 }, 492 { 493 "indexed": false, 494 "internalType": "bytes", 495 "name": "extraData", 496 "type": "bytes" 497 } 498 ], 499 "name": "ERC20BridgeFinalized", 500 "type": "event" 501 }, 502 { 503 "anonymous": false, 504 "inputs": [ 505 { 506 "indexed": true, 507 "internalType": "address", 508 "name": "localToken", 509 "type": "address" 510 }, 511 { 512 "indexed": true, 513 "internalType": "address", 514 "name": "remoteToken", 515 "type": "address" 516 }, 517 { 518 "indexed": true, 519 "internalType": "address", 520 "name": "from", 521 "type": "address" 522 }, 523 { 524 "indexed": false, 525 "internalType": "address", 526 "name": "to", 527 "type": "address" 528 }, 529 { 530 "indexed": false, 531 "internalType": "uint256", 532 "name": "amount", 533 "type": "uint256" 534 }, 535 { 536 "indexed": false, 537 "internalType": "bytes", 538 "name": "extraData", 539 "type": "bytes" 540 } 541 ], 542 "name": "ERC20BridgeInitiated", 543 "type": "event" 544 }, 545 { 546 "anonymous": false, 547 "inputs": [ 548 { 549 "indexed": true, 550 "internalType": "address", 551 "name": "from", 552 "type": "address" 553 }, 554 { 555 "indexed": true, 556 "internalType": "address", 557 "name": "to", 558 "type": "address" 559 }, 560 { 561 "indexed": false, 562 "internalType": "uint256", 563 "name": "amount", 564 "type": "uint256" 565 }, 566 { 567 "indexed": false, 568 "internalType": "bytes", 569 "name": "extraData", 570 "type": "bytes" 571 } 572 ], 573 "name": "ETHBridgeFinalized", 574 "type": "event" 575 }, 576 { 577 "anonymous": false, 578 "inputs": [ 579 { 580 "indexed": true, 581 "internalType": "address", 582 "name": "from", 583 "type": "address" 584 }, 585 { 586 "indexed": true, 587 "internalType": "address", 588 "name": "to", 589 "type": "address" 590 }, 591 { 592 "indexed": false, 593 "internalType": "uint256", 594 "name": "amount", 595 "type": "uint256" 596 }, 597 { 598 "indexed": false, 599 "internalType": "bytes", 600 "name": "extraData", 601 "type": "bytes" 602 } 603 ], 604 "name": "ETHBridgeInitiated", 605 "type": "event" 606 }, 607 { 608 "anonymous": false, 609 "inputs": [ 610 { 611 "indexed": false, 612 "internalType": "uint8", 613 "name": "version", 614 "type": "uint8" 615 } 616 ], 617 "name": "Initialized", 618 "type": "event" 619 }, 620 { 621 "anonymous": false, 622 "inputs": [ 623 { 624 "indexed": true, 625 "internalType": "address", 626 "name": "l1Token", 627 "type": "address" 628 }, 629 { 630 "indexed": true, 631 "internalType": "address", 632 "name": "l2Token", 633 "type": "address" 634 }, 635 { 636 "indexed": true, 637 "internalType": "address", 638 "name": "from", 639 "type": "address" 640 }, 641 { 642 "indexed": false, 643 "internalType": "address", 644 "name": "to", 645 "type": "address" 646 }, 647 { 648 "indexed": false, 649 "internalType": "uint256", 650 "name": "amount", 651 "type": "uint256" 652 }, 653 { 654 "indexed": false, 655 "internalType": "bytes", 656 "name": "extraData", 657 "type": "bytes" 658 } 659 ], 660 "name": "WithdrawalInitiated", 661 "type": "event" 662 } 663 ]