@wireio/outpost-ethereum-artifacts 0.4.4 → 0.4.5

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 (57) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +48 -16
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +16 -0
  6. package/abis/OPPInbound.json +100 -49
  7. package/abis/SyndicationPool.json +183 -16
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +48 -48
  10. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  11. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  12. package/lib/cjs/contracts/OPPInbound.d.ts +78 -52
  13. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  14. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  15. package/lib/cjs/contracts/factories/BAR__factory.d.ts +36 -12
  16. package/lib/cjs/contracts/factories/BAR__factory.js +48 -16
  17. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  18. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  19. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  20. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  21. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +81 -43
  22. package/lib/cjs/contracts/factories/OPPInbound__factory.js +99 -48
  23. package/lib/cjs/contracts/factories/OPP__factory.d.ts +12 -0
  24. package/lib/cjs/contracts/factories/OPP__factory.js +16 -0
  25. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +141 -12
  26. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +183 -16
  27. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  28. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  29. package/lib/esm/Manifest.js +48 -48
  30. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  31. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  32. package/lib/esm/contracts/OPPInbound.d.ts +78 -52
  33. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  34. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  35. package/lib/esm/contracts/factories/BAR__factory.d.ts +36 -12
  36. package/lib/esm/contracts/factories/BAR__factory.js +48 -16
  37. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  38. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  39. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  40. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  41. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +81 -43
  42. package/lib/esm/contracts/factories/OPPInbound__factory.js +99 -48
  43. package/lib/esm/contracts/factories/OPP__factory.d.ts +12 -0
  44. package/lib/esm/contracts/factories/OPP__factory.js +16 -0
  45. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +141 -12
  46. package/lib/esm/contracts/factories/SyndicationPool__factory.js +183 -16
  47. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  48. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  49. package/manifest.json +48 -48
  50. package/package.json +1 -1
  51. package/runtime/BAR.bin +0 -0
  52. package/runtime/DepositManager.bin +0 -0
  53. package/runtime/LiqEthToken.bin +0 -0
  54. package/runtime/OPP.bin +0 -0
  55. package/runtime/OPPInbound.bin +0 -0
  56. package/runtime/SyndicationPool.bin +0 -0
  57. package/runtime/WithdrawalQueue.bin +0 -0
@@ -445,6 +445,14 @@ export declare class OPPInbound__factory {
445
445
  }];
446
446
  readonly name: "OPP_UnauthorizedAttestationType";
447
447
  readonly type: "error";
448
+ }, {
449
+ readonly inputs: readonly [{
450
+ readonly internalType: "AttestationType";
451
+ readonly name: "attestationType";
452
+ readonly type: "uint16";
453
+ }];
454
+ readonly name: "OPP_UnhandledAttestationType";
455
+ readonly type: "error";
448
456
  }, {
449
457
  readonly inputs: readonly [{
450
458
  readonly internalType: "uint32";
@@ -481,6 +489,10 @@ export declare class OPPInbound__factory {
481
489
  }];
482
490
  readonly name: "OPP_WrongDestinationChain";
483
491
  readonly type: "error";
492
+ }, {
493
+ readonly inputs: readonly [];
494
+ readonly name: "OPP_ZeroEpochDuration";
495
+ readonly type: "error";
484
496
  }, {
485
497
  readonly inputs: readonly [];
486
498
  readonly name: "OPP_ZeroTag";
@@ -596,26 +608,6 @@ export declare class OPPInbound__factory {
596
608
  }];
597
609
  readonly name: "AttestationHandlerSet";
598
610
  readonly type: "event";
599
- }, {
600
- readonly anonymous: false;
601
- readonly inputs: readonly [{
602
- readonly indexed: false;
603
- readonly internalType: "bytes";
604
- readonly name: "messageID";
605
- readonly type: "bytes";
606
- }, {
607
- readonly indexed: false;
608
- readonly internalType: "AttestationType";
609
- readonly name: "attestationType";
610
- readonly type: "uint16";
611
- }, {
612
- readonly indexed: false;
613
- readonly internalType: "uint64";
614
- readonly name: "sequenceNumber";
615
- readonly type: "uint64";
616
- }];
617
- readonly name: "AttestationUnhandled";
618
- readonly type: "event";
619
611
  }, {
620
612
  readonly anonymous: false;
621
613
  readonly inputs: readonly [{
@@ -916,8 +908,12 @@ export declare class OPPInbound__factory {
916
908
  readonly name: "batchOpGroups";
917
909
  readonly outputs: readonly [{
918
910
  readonly internalType: "address";
919
- readonly name: "";
911
+ readonly name: "operator";
920
912
  readonly type: "address";
913
+ }, {
914
+ readonly internalType: "SysName";
915
+ readonly name: "account";
916
+ readonly type: "uint64";
921
917
  }];
922
918
  readonly stateMutability: "view";
923
919
  readonly type: "function";
@@ -1077,13 +1073,13 @@ export declare class OPPInbound__factory {
1077
1073
  readonly internalType: "bytes";
1078
1074
  readonly name: "data";
1079
1075
  readonly type: "bytes";
1080
- }, {
1081
- readonly internalType: "uint32";
1082
- readonly name: "epochIndex_";
1083
- readonly type: "uint32";
1084
1076
  }];
1085
1077
  readonly name: "handleInternalAttestation";
1086
- readonly outputs: readonly [];
1078
+ readonly outputs: readonly [{
1079
+ readonly internalType: "enum OPPInboundLib.RosterProgress";
1080
+ readonly name: "progress";
1081
+ readonly type: "uint8";
1082
+ }];
1087
1083
  readonly stateMutability: "nonpayable";
1088
1084
  readonly type: "function";
1089
1085
  }, {
@@ -1268,37 +1264,45 @@ export declare class OPPInbound__factory {
1268
1264
  readonly type: "function";
1269
1265
  }, {
1270
1266
  readonly inputs: readonly [{
1271
- readonly internalType: "bytes32";
1272
- readonly name: "";
1273
- readonly type: "bytes32";
1274
- }];
1275
- readonly name: "operatorEthAddress";
1276
- readonly outputs: readonly [{
1277
1267
  readonly internalType: "address";
1278
1268
  readonly name: "";
1279
1269
  readonly type: "address";
1280
1270
  }];
1271
+ readonly name: "operatorAddressClaims";
1272
+ readonly outputs: readonly [{
1273
+ readonly internalType: "uint64";
1274
+ readonly name: "generation";
1275
+ readonly type: "uint64";
1276
+ }, {
1277
+ readonly internalType: "SysName";
1278
+ readonly name: "account";
1279
+ readonly type: "uint64";
1280
+ }, {
1281
+ readonly internalType: "uint32";
1282
+ readonly name: "claimants";
1283
+ readonly type: "uint32";
1284
+ }];
1281
1285
  readonly stateMutability: "view";
1282
1286
  readonly type: "function";
1283
1287
  }, {
1284
1288
  readonly inputs: readonly [{
1285
- readonly internalType: "address";
1289
+ readonly internalType: "SysName";
1286
1290
  readonly name: "";
1287
- readonly type: "address";
1291
+ readonly type: "uint64";
1288
1292
  }];
1289
- readonly name: "operatorRosterAddressDuplicateGeneration";
1293
+ readonly name: "operatorEthAddress";
1290
1294
  readonly outputs: readonly [{
1291
- readonly internalType: "uint64";
1295
+ readonly internalType: "address";
1292
1296
  readonly name: "";
1293
- readonly type: "uint64";
1297
+ readonly type: "address";
1294
1298
  }];
1295
1299
  readonly stateMutability: "view";
1296
1300
  readonly type: "function";
1297
1301
  }, {
1298
1302
  readonly inputs: readonly [{
1299
- readonly internalType: "bytes32";
1303
+ readonly internalType: "SysName";
1300
1304
  readonly name: "";
1301
- readonly type: "bytes32";
1305
+ readonly type: "uint64";
1302
1306
  }];
1303
1307
  readonly name: "operatorRosterEntryGeneration";
1304
1308
  readonly outputs: readonly [{
@@ -1310,9 +1314,9 @@ export declare class OPPInbound__factory {
1310
1314
  readonly type: "function";
1311
1315
  }, {
1312
1316
  readonly inputs: readonly [{
1313
- readonly internalType: "bytes32";
1317
+ readonly internalType: "SysName";
1314
1318
  readonly name: "";
1315
- readonly type: "bytes32";
1319
+ readonly type: "uint64";
1316
1320
  }];
1317
1321
  readonly name: "operatorRosterEntryStatus";
1318
1322
  readonly outputs: readonly [{
@@ -1324,9 +1328,9 @@ export declare class OPPInbound__factory {
1324
1328
  readonly type: "function";
1325
1329
  }, {
1326
1330
  readonly inputs: readonly [{
1327
- readonly internalType: "bytes32";
1331
+ readonly internalType: "SysName";
1328
1332
  readonly name: "";
1329
- readonly type: "bytes32";
1333
+ readonly type: "uint64";
1330
1334
  }];
1331
1335
  readonly name: "operatorRosterEntryType";
1332
1336
  readonly outputs: readonly [{
@@ -1466,6 +1470,16 @@ export declare class OPPInbound__factory {
1466
1470
  }];
1467
1471
  readonly stateMutability: "view";
1468
1472
  readonly type: "function";
1473
+ }, {
1474
+ readonly inputs: readonly [];
1475
+ readonly name: "rosterEntriesApplied";
1476
+ readonly outputs: readonly [{
1477
+ readonly internalType: "uint32";
1478
+ readonly name: "";
1479
+ readonly type: "uint32";
1480
+ }];
1481
+ readonly stateMutability: "view";
1482
+ readonly type: "function";
1469
1483
  }, {
1470
1484
  readonly inputs: readonly [];
1471
1485
  readonly name: "rosterEpochIndex";
@@ -1486,6 +1500,30 @@ export declare class OPPInbound__factory {
1486
1500
  }];
1487
1501
  readonly stateMutability: "view";
1488
1502
  readonly type: "function";
1503
+ }, {
1504
+ readonly inputs: readonly [];
1505
+ readonly name: "rosterSeatsSwept";
1506
+ readonly outputs: readonly [{
1507
+ readonly internalType: "uint32";
1508
+ readonly name: "";
1509
+ readonly type: "uint32";
1510
+ }];
1511
+ readonly stateMutability: "view";
1512
+ readonly type: "function";
1513
+ }, {
1514
+ readonly inputs: readonly [{
1515
+ readonly internalType: "bytes";
1516
+ readonly name: "data";
1517
+ readonly type: "bytes";
1518
+ }, {
1519
+ readonly internalType: "uint32";
1520
+ readonly name: "epochIndex_";
1521
+ readonly type: "uint32";
1522
+ }];
1523
+ readonly name: "seatPendingGroups";
1524
+ readonly outputs: readonly [];
1525
+ readonly stateMutability: "nonpayable";
1526
+ readonly type: "function";
1489
1527
  }, {
1490
1528
  readonly inputs: readonly [{
1491
1529
  readonly internalType: "AttestationType";
@@ -596,6 +596,17 @@ const _abi = [
596
596
  name: "OPP_UnauthorizedAttestationType",
597
597
  type: "error",
598
598
  },
599
+ {
600
+ inputs: [
601
+ {
602
+ internalType: "AttestationType",
603
+ name: "attestationType",
604
+ type: "uint16",
605
+ },
606
+ ],
607
+ name: "OPP_UnhandledAttestationType",
608
+ type: "error",
609
+ },
599
610
  {
600
611
  inputs: [
601
612
  {
@@ -643,6 +654,11 @@ const _abi = [
643
654
  name: "OPP_WrongDestinationChain",
644
655
  type: "error",
645
656
  },
657
+ {
658
+ inputs: [],
659
+ name: "OPP_ZeroEpochDuration",
660
+ type: "error",
661
+ },
646
662
  {
647
663
  inputs: [],
648
664
  name: "OPP_ZeroTag",
@@ -787,31 +803,6 @@ const _abi = [
787
803
  name: "AttestationHandlerSet",
788
804
  type: "event",
789
805
  },
790
- {
791
- anonymous: false,
792
- inputs: [
793
- {
794
- indexed: false,
795
- internalType: "bytes",
796
- name: "messageID",
797
- type: "bytes",
798
- },
799
- {
800
- indexed: false,
801
- internalType: "AttestationType",
802
- name: "attestationType",
803
- type: "uint16",
804
- },
805
- {
806
- indexed: false,
807
- internalType: "uint64",
808
- name: "sequenceNumber",
809
- type: "uint64",
810
- },
811
- ],
812
- name: "AttestationUnhandled",
813
- type: "event",
814
- },
815
806
  {
816
807
  anonymous: false,
817
808
  inputs: [
@@ -1197,9 +1188,14 @@ const _abi = [
1197
1188
  outputs: [
1198
1189
  {
1199
1190
  internalType: "address",
1200
- name: "",
1191
+ name: "operator",
1201
1192
  type: "address",
1202
1193
  },
1194
+ {
1195
+ internalType: "SysName",
1196
+ name: "account",
1197
+ type: "uint64",
1198
+ },
1203
1199
  ],
1204
1200
  stateMutability: "view",
1205
1201
  type: "function",
@@ -1410,14 +1406,15 @@ const _abi = [
1410
1406
  name: "data",
1411
1407
  type: "bytes",
1412
1408
  },
1409
+ ],
1410
+ name: "handleInternalAttestation",
1411
+ outputs: [
1413
1412
  {
1414
- internalType: "uint32",
1415
- name: "epochIndex_",
1416
- type: "uint32",
1413
+ internalType: "enum OPPInboundLib.RosterProgress",
1414
+ name: "progress",
1415
+ type: "uint8",
1417
1416
  },
1418
1417
  ],
1419
- name: "handleInternalAttestation",
1420
- outputs: [],
1421
1418
  stateMutability: "nonpayable",
1422
1419
  type: "function",
1423
1420
  },
@@ -1661,17 +1658,27 @@ const _abi = [
1661
1658
  {
1662
1659
  inputs: [
1663
1660
  {
1664
- internalType: "bytes32",
1661
+ internalType: "address",
1665
1662
  name: "",
1666
- type: "bytes32",
1663
+ type: "address",
1667
1664
  },
1668
1665
  ],
1669
- name: "operatorEthAddress",
1666
+ name: "operatorAddressClaims",
1670
1667
  outputs: [
1671
1668
  {
1672
- internalType: "address",
1673
- name: "",
1674
- type: "address",
1669
+ internalType: "uint64",
1670
+ name: "generation",
1671
+ type: "uint64",
1672
+ },
1673
+ {
1674
+ internalType: "SysName",
1675
+ name: "account",
1676
+ type: "uint64",
1677
+ },
1678
+ {
1679
+ internalType: "uint32",
1680
+ name: "claimants",
1681
+ type: "uint32",
1675
1682
  },
1676
1683
  ],
1677
1684
  stateMutability: "view",
@@ -1680,17 +1687,17 @@ const _abi = [
1680
1687
  {
1681
1688
  inputs: [
1682
1689
  {
1683
- internalType: "address",
1690
+ internalType: "SysName",
1684
1691
  name: "",
1685
- type: "address",
1692
+ type: "uint64",
1686
1693
  },
1687
1694
  ],
1688
- name: "operatorRosterAddressDuplicateGeneration",
1695
+ name: "operatorEthAddress",
1689
1696
  outputs: [
1690
1697
  {
1691
- internalType: "uint64",
1698
+ internalType: "address",
1692
1699
  name: "",
1693
- type: "uint64",
1700
+ type: "address",
1694
1701
  },
1695
1702
  ],
1696
1703
  stateMutability: "view",
@@ -1699,9 +1706,9 @@ const _abi = [
1699
1706
  {
1700
1707
  inputs: [
1701
1708
  {
1702
- internalType: "bytes32",
1709
+ internalType: "SysName",
1703
1710
  name: "",
1704
- type: "bytes32",
1711
+ type: "uint64",
1705
1712
  },
1706
1713
  ],
1707
1714
  name: "operatorRosterEntryGeneration",
@@ -1718,9 +1725,9 @@ const _abi = [
1718
1725
  {
1719
1726
  inputs: [
1720
1727
  {
1721
- internalType: "bytes32",
1728
+ internalType: "SysName",
1722
1729
  name: "",
1723
- type: "bytes32",
1730
+ type: "uint64",
1724
1731
  },
1725
1732
  ],
1726
1733
  name: "operatorRosterEntryStatus",
@@ -1737,9 +1744,9 @@ const _abi = [
1737
1744
  {
1738
1745
  inputs: [
1739
1746
  {
1740
- internalType: "bytes32",
1747
+ internalType: "SysName",
1741
1748
  name: "",
1742
- type: "bytes32",
1749
+ type: "uint64",
1743
1750
  },
1744
1751
  ],
1745
1752
  name: "operatorRosterEntryType",
@@ -1922,6 +1929,19 @@ const _abi = [
1922
1929
  stateMutability: "view",
1923
1930
  type: "function",
1924
1931
  },
1932
+ {
1933
+ inputs: [],
1934
+ name: "rosterEntriesApplied",
1935
+ outputs: [
1936
+ {
1937
+ internalType: "uint32",
1938
+ name: "",
1939
+ type: "uint32",
1940
+ },
1941
+ ],
1942
+ stateMutability: "view",
1943
+ type: "function",
1944
+ },
1925
1945
  {
1926
1946
  inputs: [],
1927
1947
  name: "rosterEpochIndex",
@@ -1948,6 +1968,37 @@ const _abi = [
1948
1968
  stateMutability: "view",
1949
1969
  type: "function",
1950
1970
  },
1971
+ {
1972
+ inputs: [],
1973
+ name: "rosterSeatsSwept",
1974
+ outputs: [
1975
+ {
1976
+ internalType: "uint32",
1977
+ name: "",
1978
+ type: "uint32",
1979
+ },
1980
+ ],
1981
+ stateMutability: "view",
1982
+ type: "function",
1983
+ },
1984
+ {
1985
+ inputs: [
1986
+ {
1987
+ internalType: "bytes",
1988
+ name: "data",
1989
+ type: "bytes",
1990
+ },
1991
+ {
1992
+ internalType: "uint32",
1993
+ name: "epochIndex_",
1994
+ type: "uint32",
1995
+ },
1996
+ ],
1997
+ name: "seatPendingGroups",
1998
+ outputs: [],
1999
+ stateMutability: "nonpayable",
2000
+ type: "function",
2001
+ },
1951
2002
  {
1952
2003
  inputs: [
1953
2004
  {
@@ -421,6 +421,14 @@ export declare class OPP__factory {
421
421
  }];
422
422
  readonly name: "OPP_UnauthorizedAttestationType";
423
423
  readonly type: "error";
424
+ }, {
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "AttestationType";
427
+ readonly name: "attestationType";
428
+ readonly type: "uint16";
429
+ }];
430
+ readonly name: "OPP_UnhandledAttestationType";
431
+ readonly type: "error";
424
432
  }, {
425
433
  readonly inputs: readonly [{
426
434
  readonly internalType: "uint32";
@@ -457,6 +465,10 @@ export declare class OPP__factory {
457
465
  }];
458
466
  readonly name: "OPP_WrongDestinationChain";
459
467
  readonly type: "error";
468
+ }, {
469
+ readonly inputs: readonly [];
470
+ readonly name: "OPP_ZeroEpochDuration";
471
+ readonly type: "error";
460
472
  }, {
461
473
  readonly inputs: readonly [];
462
474
  readonly name: "OPP_ZeroTag";
@@ -563,6 +563,17 @@ const _abi = [
563
563
  name: "OPP_UnauthorizedAttestationType",
564
564
  type: "error",
565
565
  },
566
+ {
567
+ inputs: [
568
+ {
569
+ internalType: "AttestationType",
570
+ name: "attestationType",
571
+ type: "uint16",
572
+ },
573
+ ],
574
+ name: "OPP_UnhandledAttestationType",
575
+ type: "error",
576
+ },
566
577
  {
567
578
  inputs: [
568
579
  {
@@ -610,6 +621,11 @@ const _abi = [
610
621
  name: "OPP_WrongDestinationChain",
611
622
  type: "error",
612
623
  },
624
+ {
625
+ inputs: [],
626
+ name: "OPP_ZeroEpochDuration",
627
+ type: "error",
628
+ },
613
629
  {
614
630
  inputs: [],
615
631
  name: "OPP_ZeroTag",