viem 2.10.0 → 2.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/_cjs/chains/definitions/celo.js +2 -2
  3. package/_cjs/chains/definitions/celo.js.map +1 -1
  4. package/_cjs/chains/definitions/dodochainTestnet.js +23 -0
  5. package/_cjs/chains/definitions/dodochainTestnet.js.map +1 -0
  6. package/_cjs/chains/definitions/otimDevnet.js +2 -2
  7. package/_cjs/chains/definitions/otimDevnet.js.map +1 -1
  8. package/_cjs/chains/index.js +7 -5
  9. package/_cjs/chains/index.js.map +1 -1
  10. package/_cjs/errors/version.js +1 -1
  11. package/_cjs/op-stack/abis.js +142 -359
  12. package/_cjs/op-stack/abis.js.map +1 -1
  13. package/_cjs/op-stack/actions/getTimeToFinalize.js +14 -6
  14. package/_cjs/op-stack/actions/getTimeToFinalize.js.map +1 -1
  15. package/_cjs/op-stack/actions/getWithdrawalStatus.js +10 -2
  16. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  17. package/_esm/chains/definitions/celo.js +2 -2
  18. package/_esm/chains/definitions/celo.js.map +1 -1
  19. package/_esm/chains/definitions/dodochainTestnet.js +20 -0
  20. package/_esm/chains/definitions/dodochainTestnet.js.map +1 -0
  21. package/_esm/chains/definitions/otimDevnet.js +2 -2
  22. package/_esm/chains/definitions/otimDevnet.js.map +1 -1
  23. package/_esm/chains/index.js +1 -0
  24. package/_esm/chains/index.js.map +1 -1
  25. package/_esm/errors/version.js +1 -1
  26. package/_esm/op-stack/abis.js +142 -359
  27. package/_esm/op-stack/abis.js.map +1 -1
  28. package/_esm/op-stack/actions/getTimeToFinalize.js +14 -6
  29. package/_esm/op-stack/actions/getTimeToFinalize.js.map +1 -1
  30. package/_esm/op-stack/actions/getWithdrawalStatus.js +10 -2
  31. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  32. package/_types/celo/chainConfig.d.ts +20 -20
  33. package/_types/celo/formatters.d.ts +10 -10
  34. package/_types/chains/definitions/ancient8.d.ts +8 -8
  35. package/_types/chains/definitions/ancient8Sepolia.d.ts +8 -8
  36. package/_types/chains/definitions/base.d.ts +8 -8
  37. package/_types/chains/definitions/baseGoerli.d.ts +8 -8
  38. package/_types/chains/definitions/baseSepolia.d.ts +8 -8
  39. package/_types/chains/definitions/celo.d.ts +22 -22
  40. package/_types/chains/definitions/celoAlfajores.d.ts +20 -20
  41. package/_types/chains/definitions/dodochainTestnet.d.ts +36 -0
  42. package/_types/chains/definitions/dodochainTestnet.d.ts.map +1 -0
  43. package/_types/chains/definitions/fraxtal.d.ts +8 -8
  44. package/_types/chains/definitions/fraxtalTestnet.d.ts +8 -8
  45. package/_types/chains/definitions/liskSepolia.d.ts +8 -8
  46. package/_types/chains/definitions/optimism.d.ts +8 -8
  47. package/_types/chains/definitions/optimismGoerli.d.ts +8 -8
  48. package/_types/chains/definitions/optimismSepolia.d.ts +8 -8
  49. package/_types/chains/definitions/otimDevnet.d.ts +2 -2
  50. package/_types/chains/definitions/pgn.d.ts +8 -8
  51. package/_types/chains/definitions/pgnTestnet.d.ts +8 -8
  52. package/_types/chains/definitions/playfiAlbireo.d.ts +3 -3
  53. package/_types/chains/definitions/rss3.d.ts +8 -8
  54. package/_types/chains/definitions/rss3Sepolia.d.ts +8 -8
  55. package/_types/chains/definitions/zkSync.d.ts +3 -3
  56. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +3 -3
  57. package/_types/chains/definitions/zkSyncLocalNode.d.ts +3 -3
  58. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +3 -3
  59. package/_types/chains/definitions/zkSyncTestnet.d.ts +3 -3
  60. package/_types/chains/definitions/zora.d.ts +8 -8
  61. package/_types/chains/definitions/zoraSepolia.d.ts +8 -8
  62. package/_types/chains/definitions/zoraTestnet.d.ts +8 -8
  63. package/_types/chains/index.d.ts +1 -0
  64. package/_types/chains/index.d.ts.map +1 -1
  65. package/_types/errors/version.d.ts +1 -1
  66. package/_types/op-stack/abis.d.ts +174 -87
  67. package/_types/op-stack/abis.d.ts.map +1 -1
  68. package/_types/op-stack/actions/getTimeToFinalize.d.ts.map +1 -1
  69. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  70. package/_types/op-stack/chainConfig.d.ts +8 -8
  71. package/_types/op-stack/formatters.d.ts +8 -8
  72. package/_types/types/eip1193.d.ts +9 -7
  73. package/_types/types/eip1193.d.ts.map +1 -1
  74. package/_types/types/transaction.d.ts +1 -1
  75. package/_types/types/transaction.d.ts.map +1 -1
  76. package/_types/utils/formatters/transaction.d.ts +4 -4
  77. package/_types/zksync/chainConfig.d.ts +3 -3
  78. package/_types/zksync/formatters.d.ts +3 -3
  79. package/chains/definitions/celo.ts +2 -2
  80. package/chains/definitions/dodochainTestnet.ts +20 -0
  81. package/chains/definitions/otimDevnet.ts +2 -2
  82. package/chains/index.ts +1 -0
  83. package/errors/version.ts +1 -1
  84. package/op-stack/abis.ts +142 -359
  85. package/op-stack/actions/getTimeToFinalize.ts +15 -6
  86. package/op-stack/actions/getWithdrawalStatus.ts +13 -2
  87. package/package.json +1 -1
  88. package/types/eip1193.ts +13 -8
  89. package/types/transaction.ts +1 -1
@@ -1362,44 +1362,74 @@ export const portal2Abi = [
1362
1362
  name: '_disputeGameFinalityDelaySeconds',
1363
1363
  type: 'uint256',
1364
1364
  },
1365
- {
1366
- internalType: 'GameType',
1367
- name: '_initialRespectedGameType',
1368
- type: 'uint32',
1369
- },
1370
1365
  ],
1371
1366
  stateMutability: 'nonpayable',
1372
1367
  type: 'constructor',
1373
1368
  },
1369
+ { inputs: [], name: 'BadTarget', type: 'error' },
1370
+ { inputs: [], name: 'CallPaused', type: 'error' },
1371
+ { inputs: [], name: 'GasEstimation', type: 'error' },
1372
+ { inputs: [], name: 'LargeCalldata', type: 'error' },
1373
+ { inputs: [], name: 'OutOfGas', type: 'error' },
1374
+ { inputs: [], name: 'SmallGasLimit', type: 'error' },
1375
+ { inputs: [], name: 'Unauthorized', type: 'error' },
1374
1376
  {
1375
- stateMutability: 'payable',
1376
- type: 'receive',
1377
+ anonymous: false,
1378
+ inputs: [
1379
+ { indexed: false, internalType: 'uint8', name: 'version', type: 'uint8' },
1380
+ ],
1381
+ name: 'Initialized',
1382
+ type: 'event',
1377
1383
  },
1378
1384
  {
1379
- inputs: [],
1380
- name: 'GUARDIAN',
1381
- outputs: [
1385
+ anonymous: false,
1386
+ inputs: [
1387
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
1388
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
1382
1389
  {
1383
- internalType: 'address',
1384
- name: '',
1385
- type: 'address',
1390
+ indexed: true,
1391
+ internalType: 'uint256',
1392
+ name: 'version',
1393
+ type: 'uint256',
1394
+ },
1395
+ {
1396
+ indexed: false,
1397
+ internalType: 'bytes',
1398
+ name: 'opaqueData',
1399
+ type: 'bytes',
1386
1400
  },
1387
1401
  ],
1388
- stateMutability: 'view',
1389
- type: 'function',
1402
+ name: 'TransactionDeposited',
1403
+ type: 'event',
1390
1404
  },
1391
1405
  {
1392
- inputs: [],
1393
- name: 'SYSTEM_CONFIG',
1394
- outputs: [
1406
+ anonymous: false,
1407
+ inputs: [
1395
1408
  {
1396
- internalType: 'contract SystemConfig',
1397
- name: '',
1398
- type: 'address',
1409
+ indexed: true,
1410
+ internalType: 'bytes32',
1411
+ name: 'withdrawalHash',
1412
+ type: 'bytes32',
1399
1413
  },
1414
+ { indexed: false, internalType: 'bool', name: 'success', type: 'bool' },
1400
1415
  ],
1401
- stateMutability: 'view',
1402
- type: 'function',
1416
+ name: 'WithdrawalFinalized',
1417
+ type: 'event',
1418
+ },
1419
+ {
1420
+ anonymous: false,
1421
+ inputs: [
1422
+ {
1423
+ indexed: true,
1424
+ internalType: 'bytes32',
1425
+ name: 'withdrawalHash',
1426
+ type: 'bytes32',
1427
+ },
1428
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
1429
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
1430
+ ],
1431
+ name: 'WithdrawalProven',
1432
+ type: 'event',
1403
1433
  },
1404
1434
  {
1405
1435
  inputs: [
@@ -1416,11 +1446,8 @@ export const portal2Abi = [
1416
1446
  },
1417
1447
  {
1418
1448
  inputs: [
1419
- {
1420
- internalType: 'bytes32',
1421
- name: '_withdrawalHash',
1422
- type: 'bytes32',
1423
- },
1449
+ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' },
1450
+ { internalType: 'address', name: '_proofSubmitter', type: 'address' },
1424
1451
  ],
1425
1452
  name: 'checkWithdrawal',
1426
1453
  outputs: [],
@@ -1429,31 +1456,11 @@ export const portal2Abi = [
1429
1456
  },
1430
1457
  {
1431
1458
  inputs: [
1432
- {
1433
- internalType: 'address',
1434
- name: '_to',
1435
- type: 'address',
1436
- },
1437
- {
1438
- internalType: 'uint256',
1439
- name: '_value',
1440
- type: 'uint256',
1441
- },
1442
- {
1443
- internalType: 'uint64',
1444
- name: '_gasLimit',
1445
- type: 'uint64',
1446
- },
1447
- {
1448
- internalType: 'bool',
1449
- name: '_isCreation',
1450
- type: 'bool',
1451
- },
1452
- {
1453
- internalType: 'bytes',
1454
- name: '_data',
1455
- type: 'bytes',
1456
- },
1459
+ { internalType: 'address', name: '_to', type: 'address' },
1460
+ { internalType: 'uint256', name: '_value', type: 'uint256' },
1461
+ { internalType: 'uint64', name: '_gasLimit', type: 'uint64' },
1462
+ { internalType: 'bool', name: '_isCreation', type: 'bool' },
1463
+ { internalType: 'bytes', name: '_data', type: 'bytes' },
1457
1464
  ],
1458
1465
  name: 'depositTransaction',
1459
1466
  outputs: [],
@@ -1462,20 +1469,10 @@ export const portal2Abi = [
1462
1469
  },
1463
1470
  {
1464
1471
  inputs: [
1465
- {
1466
- internalType: 'contract IDisputeGame',
1467
- name: '',
1468
- type: 'address',
1469
- },
1472
+ { internalType: 'contract IDisputeGame', name: '', type: 'address' },
1470
1473
  ],
1471
1474
  name: 'disputeGameBlacklist',
1472
- outputs: [
1473
- {
1474
- internalType: 'bool',
1475
- name: '',
1476
- type: 'bool',
1477
- },
1478
- ],
1475
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1479
1476
  stateMutability: 'view',
1480
1477
  type: 'function',
1481
1478
  },
@@ -1495,13 +1492,7 @@ export const portal2Abi = [
1495
1492
  {
1496
1493
  inputs: [],
1497
1494
  name: 'disputeGameFinalityDelaySeconds',
1498
- outputs: [
1499
- {
1500
- internalType: 'uint256',
1501
- name: '',
1502
- type: 'uint256',
1503
- },
1504
- ],
1495
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1505
1496
  stateMutability: 'view',
1506
1497
  type: 'function',
1507
1498
  },
@@ -1516,36 +1507,12 @@ export const portal2Abi = [
1516
1507
  inputs: [
1517
1508
  {
1518
1509
  components: [
1519
- {
1520
- internalType: 'uint256',
1521
- name: 'nonce',
1522
- type: 'uint256',
1523
- },
1524
- {
1525
- internalType: 'address',
1526
- name: 'sender',
1527
- type: 'address',
1528
- },
1529
- {
1530
- internalType: 'address',
1531
- name: 'target',
1532
- type: 'address',
1533
- },
1534
- {
1535
- internalType: 'uint256',
1536
- name: 'value',
1537
- type: 'uint256',
1538
- },
1539
- {
1540
- internalType: 'uint256',
1541
- name: 'gasLimit',
1542
- type: 'uint256',
1543
- },
1544
- {
1545
- internalType: 'bytes',
1546
- name: 'data',
1547
- type: 'bytes',
1548
- },
1510
+ { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1511
+ { internalType: 'address', name: 'sender', type: 'address' },
1512
+ { internalType: 'address', name: 'target', type: 'address' },
1513
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1514
+ { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
1515
+ { internalType: 'bytes', name: 'data', type: 'bytes' },
1549
1516
  ],
1550
1517
  internalType: 'struct Types.WithdrawalTransaction',
1551
1518
  name: '_tx',
@@ -1560,32 +1527,36 @@ export const portal2Abi = [
1560
1527
  {
1561
1528
  inputs: [
1562
1529
  {
1563
- internalType: 'bytes32',
1564
- name: '',
1565
- type: 'bytes32',
1530
+ components: [
1531
+ { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1532
+ { internalType: 'address', name: 'sender', type: 'address' },
1533
+ { internalType: 'address', name: 'target', type: 'address' },
1534
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1535
+ { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
1536
+ { internalType: 'bytes', name: 'data', type: 'bytes' },
1537
+ ],
1538
+ internalType: 'struct Types.WithdrawalTransaction',
1539
+ name: '_tx',
1540
+ type: 'tuple',
1566
1541
  },
1542
+ { internalType: 'address', name: '_proofSubmitter', type: 'address' },
1567
1543
  ],
1544
+ name: 'finalizeWithdrawalTransactionExternalProof',
1545
+ outputs: [],
1546
+ stateMutability: 'nonpayable',
1547
+ type: 'function',
1548
+ },
1549
+ {
1550
+ inputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1568
1551
  name: 'finalizedWithdrawals',
1569
- outputs: [
1570
- {
1571
- internalType: 'bool',
1572
- name: '',
1573
- type: 'bool',
1574
- },
1575
- ],
1552
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1576
1553
  stateMutability: 'view',
1577
1554
  type: 'function',
1578
1555
  },
1579
1556
  {
1580
1557
  inputs: [],
1581
1558
  name: 'guardian',
1582
- outputs: [
1583
- {
1584
- internalType: 'address',
1585
- name: '',
1586
- type: 'address',
1587
- },
1588
- ],
1559
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1589
1560
  stateMutability: 'view',
1590
1561
  type: 'function',
1591
1562
  },
@@ -1606,6 +1577,11 @@ export const portal2Abi = [
1606
1577
  name: '_superchainConfig',
1607
1578
  type: 'address',
1608
1579
  },
1580
+ {
1581
+ internalType: 'GameType',
1582
+ name: '_initialRespectedGameType',
1583
+ type: 'uint32',
1584
+ },
1609
1585
  ],
1610
1586
  name: 'initialize',
1611
1587
  outputs: [],
@@ -1615,54 +1591,33 @@ export const portal2Abi = [
1615
1591
  {
1616
1592
  inputs: [],
1617
1593
  name: 'l2Sender',
1618
- outputs: [
1619
- {
1620
- internalType: 'address',
1621
- name: '',
1622
- type: 'address',
1623
- },
1624
- ],
1594
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1625
1595
  stateMutability: 'view',
1626
1596
  type: 'function',
1627
1597
  },
1628
1598
  {
1629
- inputs: [
1630
- {
1631
- internalType: 'uint64',
1632
- name: '_byteCount',
1633
- type: 'uint64',
1634
- },
1635
- ],
1599
+ inputs: [{ internalType: 'uint64', name: '_byteCount', type: 'uint64' }],
1636
1600
  name: 'minimumGasLimit',
1637
- outputs: [
1638
- {
1639
- internalType: 'uint64',
1640
- name: '',
1641
- type: 'uint64',
1642
- },
1643
- ],
1601
+ outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],
1644
1602
  stateMutability: 'pure',
1645
1603
  type: 'function',
1646
1604
  },
1605
+ {
1606
+ inputs: [
1607
+ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' },
1608
+ ],
1609
+ name: 'numProofSubmitters',
1610
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1611
+ stateMutability: 'view',
1612
+ type: 'function',
1613
+ },
1647
1614
  {
1648
1615
  inputs: [],
1649
1616
  name: 'params',
1650
1617
  outputs: [
1651
- {
1652
- internalType: 'uint128',
1653
- name: 'prevBaseFee',
1654
- type: 'uint128',
1655
- },
1656
- {
1657
- internalType: 'uint64',
1658
- name: 'prevBoughtGas',
1659
- type: 'uint64',
1660
- },
1661
- {
1662
- internalType: 'uint64',
1663
- name: 'prevBlockNum',
1664
- type: 'uint64',
1665
- },
1618
+ { internalType: 'uint128', name: 'prevBaseFee', type: 'uint128' },
1619
+ { internalType: 'uint64', name: 'prevBoughtGas', type: 'uint64' },
1620
+ { internalType: 'uint64', name: 'prevBlockNum', type: 'uint64' },
1666
1621
  ],
1667
1622
  stateMutability: 'view',
1668
1623
  type: 'function',
@@ -1670,26 +1625,24 @@ export const portal2Abi = [
1670
1625
  {
1671
1626
  inputs: [],
1672
1627
  name: 'paused',
1673
- outputs: [
1674
- {
1675
- internalType: 'bool',
1676
- name: '',
1677
- type: 'bool',
1678
- },
1679
- ],
1628
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1680
1629
  stateMutability: 'view',
1681
1630
  type: 'function',
1682
1631
  },
1683
1632
  {
1684
1633
  inputs: [],
1685
1634
  name: 'proofMaturityDelaySeconds',
1686
- outputs: [
1687
- {
1688
- internalType: 'uint256',
1689
- name: '',
1690
- type: 'uint256',
1691
- },
1635
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1636
+ stateMutability: 'view',
1637
+ type: 'function',
1638
+ },
1639
+ {
1640
+ inputs: [
1641
+ { internalType: 'bytes32', name: '', type: 'bytes32' },
1642
+ { internalType: 'uint256', name: '', type: 'uint256' },
1692
1643
  ],
1644
+ name: 'proofSubmitters',
1645
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1693
1646
  stateMutability: 'view',
1694
1647
  type: 'function',
1695
1648
  },
@@ -1697,78 +1650,34 @@ export const portal2Abi = [
1697
1650
  inputs: [
1698
1651
  {
1699
1652
  components: [
1700
- {
1701
- internalType: 'uint256',
1702
- name: 'nonce',
1703
- type: 'uint256',
1704
- },
1705
- {
1706
- internalType: 'address',
1707
- name: 'sender',
1708
- type: 'address',
1709
- },
1710
- {
1711
- internalType: 'address',
1712
- name: 'target',
1713
- type: 'address',
1714
- },
1715
- {
1716
- internalType: 'uint256',
1717
- name: 'value',
1718
- type: 'uint256',
1719
- },
1720
- {
1721
- internalType: 'uint256',
1722
- name: 'gasLimit',
1723
- type: 'uint256',
1724
- },
1725
- {
1726
- internalType: 'bytes',
1727
- name: 'data',
1728
- type: 'bytes',
1729
- },
1653
+ { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1654
+ { internalType: 'address', name: 'sender', type: 'address' },
1655
+ { internalType: 'address', name: 'target', type: 'address' },
1656
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1657
+ { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
1658
+ { internalType: 'bytes', name: 'data', type: 'bytes' },
1730
1659
  ],
1731
1660
  internalType: 'struct Types.WithdrawalTransaction',
1732
1661
  name: '_tx',
1733
1662
  type: 'tuple',
1734
1663
  },
1735
- {
1736
- internalType: 'uint256',
1737
- name: '_disputeGameIndex',
1738
- type: 'uint256',
1739
- },
1664
+ { internalType: 'uint256', name: '_disputeGameIndex', type: 'uint256' },
1740
1665
  {
1741
1666
  components: [
1742
- {
1743
- internalType: 'bytes32',
1744
- name: 'version',
1745
- type: 'bytes32',
1746
- },
1747
- {
1748
- internalType: 'bytes32',
1749
- name: 'stateRoot',
1750
- type: 'bytes32',
1751
- },
1667
+ { internalType: 'bytes32', name: 'version', type: 'bytes32' },
1668
+ { internalType: 'bytes32', name: 'stateRoot', type: 'bytes32' },
1752
1669
  {
1753
1670
  internalType: 'bytes32',
1754
1671
  name: 'messagePasserStorageRoot',
1755
1672
  type: 'bytes32',
1756
1673
  },
1757
- {
1758
- internalType: 'bytes32',
1759
- name: 'latestBlockhash',
1760
- type: 'bytes32',
1761
- },
1674
+ { internalType: 'bytes32', name: 'latestBlockhash', type: 'bytes32' },
1762
1675
  ],
1763
1676
  internalType: 'struct Types.OutputRootProof',
1764
1677
  name: '_outputRootProof',
1765
1678
  type: 'tuple',
1766
1679
  },
1767
- {
1768
- internalType: 'bytes[]',
1769
- name: '_withdrawalProof',
1770
- type: 'bytes[]',
1771
- },
1680
+ { internalType: 'bytes[]', name: '_withdrawalProof', type: 'bytes[]' },
1772
1681
  ],
1773
1682
  name: 'proveWithdrawalTransaction',
1774
1683
  outputs: [],
@@ -1777,11 +1686,8 @@ export const portal2Abi = [
1777
1686
  },
1778
1687
  {
1779
1688
  inputs: [
1780
- {
1781
- internalType: 'bytes32',
1782
- name: '',
1783
- type: 'bytes32',
1784
- },
1689
+ { internalType: 'bytes32', name: '', type: 'bytes32' },
1690
+ { internalType: 'address', name: '', type: 'address' },
1785
1691
  ],
1786
1692
  name: 'provenWithdrawals',
1787
1693
  outputs: [
@@ -1790,11 +1696,7 @@ export const portal2Abi = [
1790
1696
  name: 'disputeGameProxy',
1791
1697
  type: 'address',
1792
1698
  },
1793
- {
1794
- internalType: 'uint64',
1795
- name: 'timestamp',
1796
- type: 'uint64',
1797
- },
1699
+ { internalType: 'uint64', name: 'timestamp', type: 'uint64' },
1798
1700
  ],
1799
1701
  stateMutability: 'view',
1800
1702
  type: 'function',
@@ -1802,37 +1704,19 @@ export const portal2Abi = [
1802
1704
  {
1803
1705
  inputs: [],
1804
1706
  name: 'respectedGameType',
1805
- outputs: [
1806
- {
1807
- internalType: 'GameType',
1808
- name: '',
1809
- type: 'uint32',
1810
- },
1811
- ],
1707
+ outputs: [{ internalType: 'GameType', name: '', type: 'uint32' }],
1812
1708
  stateMutability: 'view',
1813
1709
  type: 'function',
1814
1710
  },
1815
1711
  {
1816
1712
  inputs: [],
1817
1713
  name: 'respectedGameTypeUpdatedAt',
1818
- outputs: [
1819
- {
1820
- internalType: 'uint64',
1821
- name: '',
1822
- type: 'uint64',
1823
- },
1824
- ],
1714
+ outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],
1825
1715
  stateMutability: 'view',
1826
1716
  type: 'function',
1827
1717
  },
1828
1718
  {
1829
- inputs: [
1830
- {
1831
- internalType: 'GameType',
1832
- name: '_gameType',
1833
- type: 'uint32',
1834
- },
1835
- ],
1719
+ inputs: [{ internalType: 'GameType', name: '_gameType', type: 'uint32' }],
1836
1720
  name: 'setRespectedGameType',
1837
1721
  outputs: [],
1838
1722
  stateMutability: 'nonpayable',
@@ -1842,11 +1726,7 @@ export const portal2Abi = [
1842
1726
  inputs: [],
1843
1727
  name: 'superchainConfig',
1844
1728
  outputs: [
1845
- {
1846
- internalType: 'contract SuperchainConfig',
1847
- name: '',
1848
- type: 'address',
1849
- },
1729
+ { internalType: 'contract SuperchainConfig', name: '', type: 'address' },
1850
1730
  ],
1851
1731
  stateMutability: 'view',
1852
1732
  type: 'function',
@@ -1855,11 +1735,7 @@ export const portal2Abi = [
1855
1735
  inputs: [],
1856
1736
  name: 'systemConfig',
1857
1737
  outputs: [
1858
- {
1859
- internalType: 'contract SystemConfig',
1860
- name: '',
1861
- type: 'address',
1862
- },
1738
+ { internalType: 'contract SystemConfig', name: '', type: 'address' },
1863
1739
  ],
1864
1740
  stateMutability: 'view',
1865
1741
  type: 'function',
@@ -1867,104 +1743,11 @@ export const portal2Abi = [
1867
1743
  {
1868
1744
  inputs: [],
1869
1745
  name: 'version',
1870
- outputs: [
1871
- {
1872
- internalType: 'string',
1873
- name: '',
1874
- type: 'string',
1875
- },
1876
- ],
1746
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1877
1747
  stateMutability: 'view',
1878
1748
  type: 'function',
1879
1749
  },
1880
- {
1881
- anonymous: false,
1882
- inputs: [
1883
- {
1884
- indexed: false,
1885
- internalType: 'uint8',
1886
- name: 'version',
1887
- type: 'uint8',
1888
- },
1889
- ],
1890
- name: 'Initialized',
1891
- type: 'event',
1892
- },
1893
- {
1894
- anonymous: false,
1895
- inputs: [
1896
- {
1897
- indexed: true,
1898
- internalType: 'address',
1899
- name: 'from',
1900
- type: 'address',
1901
- },
1902
- {
1903
- indexed: true,
1904
- internalType: 'address',
1905
- name: 'to',
1906
- type: 'address',
1907
- },
1908
- {
1909
- indexed: true,
1910
- internalType: 'uint256',
1911
- name: 'version',
1912
- type: 'uint256',
1913
- },
1914
- {
1915
- indexed: false,
1916
- internalType: 'bytes',
1917
- name: 'opaqueData',
1918
- type: 'bytes',
1919
- },
1920
- ],
1921
- name: 'TransactionDeposited',
1922
- type: 'event',
1923
- },
1924
- {
1925
- anonymous: false,
1926
- inputs: [
1927
- {
1928
- indexed: true,
1929
- internalType: 'bytes32',
1930
- name: 'withdrawalHash',
1931
- type: 'bytes32',
1932
- },
1933
- {
1934
- indexed: false,
1935
- internalType: 'bool',
1936
- name: 'success',
1937
- type: 'bool',
1938
- },
1939
- ],
1940
- name: 'WithdrawalFinalized',
1941
- type: 'event',
1942
- },
1943
- {
1944
- anonymous: false,
1945
- inputs: [
1946
- {
1947
- indexed: true,
1948
- internalType: 'bytes32',
1949
- name: 'withdrawalHash',
1950
- type: 'bytes32',
1951
- },
1952
- {
1953
- indexed: true,
1954
- internalType: 'address',
1955
- name: 'from',
1956
- type: 'address',
1957
- },
1958
- {
1959
- indexed: true,
1960
- internalType: 'address',
1961
- name: 'to',
1962
- type: 'address',
1963
- },
1964
- ],
1965
- name: 'WithdrawalProven',
1966
- type: 'event',
1967
- },
1750
+ { stateMutability: 'payable', type: 'receive' },
1968
1751
  ];
1969
1752
  export const portalAbi = [
1970
1753
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },