@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";
@@ -599,6 +599,17 @@ const _abi = [
599
599
  name: "OPP_UnauthorizedAttestationType",
600
600
  type: "error",
601
601
  },
602
+ {
603
+ inputs: [
604
+ {
605
+ internalType: "AttestationType",
606
+ name: "attestationType",
607
+ type: "uint16",
608
+ },
609
+ ],
610
+ name: "OPP_UnhandledAttestationType",
611
+ type: "error",
612
+ },
602
613
  {
603
614
  inputs: [
604
615
  {
@@ -646,6 +657,11 @@ const _abi = [
646
657
  name: "OPP_WrongDestinationChain",
647
658
  type: "error",
648
659
  },
660
+ {
661
+ inputs: [],
662
+ name: "OPP_ZeroEpochDuration",
663
+ type: "error",
664
+ },
649
665
  {
650
666
  inputs: [],
651
667
  name: "OPP_ZeroTag",
@@ -790,31 +806,6 @@ const _abi = [
790
806
  name: "AttestationHandlerSet",
791
807
  type: "event",
792
808
  },
793
- {
794
- anonymous: false,
795
- inputs: [
796
- {
797
- indexed: false,
798
- internalType: "bytes",
799
- name: "messageID",
800
- type: "bytes",
801
- },
802
- {
803
- indexed: false,
804
- internalType: "AttestationType",
805
- name: "attestationType",
806
- type: "uint16",
807
- },
808
- {
809
- indexed: false,
810
- internalType: "uint64",
811
- name: "sequenceNumber",
812
- type: "uint64",
813
- },
814
- ],
815
- name: "AttestationUnhandled",
816
- type: "event",
817
- },
818
809
  {
819
810
  anonymous: false,
820
811
  inputs: [
@@ -1200,9 +1191,14 @@ const _abi = [
1200
1191
  outputs: [
1201
1192
  {
1202
1193
  internalType: "address",
1203
- name: "",
1194
+ name: "operator",
1204
1195
  type: "address",
1205
1196
  },
1197
+ {
1198
+ internalType: "SysName",
1199
+ name: "account",
1200
+ type: "uint64",
1201
+ },
1206
1202
  ],
1207
1203
  stateMutability: "view",
1208
1204
  type: "function",
@@ -1413,14 +1409,15 @@ const _abi = [
1413
1409
  name: "data",
1414
1410
  type: "bytes",
1415
1411
  },
1412
+ ],
1413
+ name: "handleInternalAttestation",
1414
+ outputs: [
1416
1415
  {
1417
- internalType: "uint32",
1418
- name: "epochIndex_",
1419
- type: "uint32",
1416
+ internalType: "enum OPPInboundLib.RosterProgress",
1417
+ name: "progress",
1418
+ type: "uint8",
1420
1419
  },
1421
1420
  ],
1422
- name: "handleInternalAttestation",
1423
- outputs: [],
1424
1421
  stateMutability: "nonpayable",
1425
1422
  type: "function",
1426
1423
  },
@@ -1664,17 +1661,27 @@ const _abi = [
1664
1661
  {
1665
1662
  inputs: [
1666
1663
  {
1667
- internalType: "bytes32",
1664
+ internalType: "address",
1668
1665
  name: "",
1669
- type: "bytes32",
1666
+ type: "address",
1670
1667
  },
1671
1668
  ],
1672
- name: "operatorEthAddress",
1669
+ name: "operatorAddressClaims",
1673
1670
  outputs: [
1674
1671
  {
1675
- internalType: "address",
1676
- name: "",
1677
- type: "address",
1672
+ internalType: "uint64",
1673
+ name: "generation",
1674
+ type: "uint64",
1675
+ },
1676
+ {
1677
+ internalType: "SysName",
1678
+ name: "account",
1679
+ type: "uint64",
1680
+ },
1681
+ {
1682
+ internalType: "uint32",
1683
+ name: "claimants",
1684
+ type: "uint32",
1678
1685
  },
1679
1686
  ],
1680
1687
  stateMutability: "view",
@@ -1683,17 +1690,17 @@ const _abi = [
1683
1690
  {
1684
1691
  inputs: [
1685
1692
  {
1686
- internalType: "address",
1693
+ internalType: "SysName",
1687
1694
  name: "",
1688
- type: "address",
1695
+ type: "uint64",
1689
1696
  },
1690
1697
  ],
1691
- name: "operatorRosterAddressDuplicateGeneration",
1698
+ name: "operatorEthAddress",
1692
1699
  outputs: [
1693
1700
  {
1694
- internalType: "uint64",
1701
+ internalType: "address",
1695
1702
  name: "",
1696
- type: "uint64",
1703
+ type: "address",
1697
1704
  },
1698
1705
  ],
1699
1706
  stateMutability: "view",
@@ -1702,9 +1709,9 @@ const _abi = [
1702
1709
  {
1703
1710
  inputs: [
1704
1711
  {
1705
- internalType: "bytes32",
1712
+ internalType: "SysName",
1706
1713
  name: "",
1707
- type: "bytes32",
1714
+ type: "uint64",
1708
1715
  },
1709
1716
  ],
1710
1717
  name: "operatorRosterEntryGeneration",
@@ -1721,9 +1728,9 @@ const _abi = [
1721
1728
  {
1722
1729
  inputs: [
1723
1730
  {
1724
- internalType: "bytes32",
1731
+ internalType: "SysName",
1725
1732
  name: "",
1726
- type: "bytes32",
1733
+ type: "uint64",
1727
1734
  },
1728
1735
  ],
1729
1736
  name: "operatorRosterEntryStatus",
@@ -1740,9 +1747,9 @@ const _abi = [
1740
1747
  {
1741
1748
  inputs: [
1742
1749
  {
1743
- internalType: "bytes32",
1750
+ internalType: "SysName",
1744
1751
  name: "",
1745
- type: "bytes32",
1752
+ type: "uint64",
1746
1753
  },
1747
1754
  ],
1748
1755
  name: "operatorRosterEntryType",
@@ -1925,6 +1932,19 @@ const _abi = [
1925
1932
  stateMutability: "view",
1926
1933
  type: "function",
1927
1934
  },
1935
+ {
1936
+ inputs: [],
1937
+ name: "rosterEntriesApplied",
1938
+ outputs: [
1939
+ {
1940
+ internalType: "uint32",
1941
+ name: "",
1942
+ type: "uint32",
1943
+ },
1944
+ ],
1945
+ stateMutability: "view",
1946
+ type: "function",
1947
+ },
1928
1948
  {
1929
1949
  inputs: [],
1930
1950
  name: "rosterEpochIndex",
@@ -1951,6 +1971,37 @@ const _abi = [
1951
1971
  stateMutability: "view",
1952
1972
  type: "function",
1953
1973
  },
1974
+ {
1975
+ inputs: [],
1976
+ name: "rosterSeatsSwept",
1977
+ outputs: [
1978
+ {
1979
+ internalType: "uint32",
1980
+ name: "",
1981
+ type: "uint32",
1982
+ },
1983
+ ],
1984
+ stateMutability: "view",
1985
+ type: "function",
1986
+ },
1987
+ {
1988
+ inputs: [
1989
+ {
1990
+ internalType: "bytes",
1991
+ name: "data",
1992
+ type: "bytes",
1993
+ },
1994
+ {
1995
+ internalType: "uint32",
1996
+ name: "epochIndex_",
1997
+ type: "uint32",
1998
+ },
1999
+ ],
2000
+ name: "seatPendingGroups",
2001
+ outputs: [],
2002
+ stateMutability: "nonpayable",
2003
+ type: "function",
2004
+ },
1954
2005
  {
1955
2006
  inputs: [
1956
2007
  {
@@ -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";
@@ -566,6 +566,17 @@ const _abi = [
566
566
  name: "OPP_UnauthorizedAttestationType",
567
567
  type: "error",
568
568
  },
569
+ {
570
+ inputs: [
571
+ {
572
+ internalType: "AttestationType",
573
+ name: "attestationType",
574
+ type: "uint16",
575
+ },
576
+ ],
577
+ name: "OPP_UnhandledAttestationType",
578
+ type: "error",
579
+ },
569
580
  {
570
581
  inputs: [
571
582
  {
@@ -613,6 +624,11 @@ const _abi = [
613
624
  name: "OPP_WrongDestinationChain",
614
625
  type: "error",
615
626
  },
627
+ {
628
+ inputs: [],
629
+ name: "OPP_ZeroEpochDuration",
630
+ type: "error",
631
+ },
616
632
  {
617
633
  inputs: [],
618
634
  name: "OPP_ZeroTag",