@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
@@ -1,18 +1,19 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
3
3
  export interface WithdrawalQueueInterface extends Interface {
4
- getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "approve" | "authority" | "balanceOf" | "burnClaimed" | "ethNeeded" | "exists" | "getApproved" | "info" | "initialize" | "isApprovedForAll" | "isConsumingScheduledOp" | "mintRequest" | "name" | "nextId" | "ownerOf" | "proxiableUUID" | "requests" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setAuthority" | "setWithdrawDelay" | "supportsInterface" | "symbol" | "tokenByIndex" | "tokenOfOwnerByIndex" | "tokenURI" | "totalSupply" | "transferFrom" | "upgradeToAndCall" | "withdrawDelay"): FunctionFragment;
4
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "approve" | "authority" | "balanceOf" | "claim" | "coverClaimValue" | "ethNeeded" | "exists" | "getApproved" | "info" | "initializeV2" | "isApprovedForAll" | "isConsumingScheduledOp" | "mintRequest" | "name" | "nextId" | "ownerOf" | "proxiableUUID" | "requests" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setAuthority" | "setWithdrawDelay" | "supportsInterface" | "symbol" | "tokenByIndex" | "tokenOfOwnerByIndex" | "tokenURI" | "totalSupply" | "transferFrom" | "upgradeToAndCall" | "withdrawDelay"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "AuthorityUpdated" | "Initialized" | "RequestClaimed" | "Transfer" | "Upgraded" | "WithdrawRequested"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
8
8
  encodeFunctionData(functionFragment: "authority", values?: undefined): string;
9
9
  encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
10
- encodeFunctionData(functionFragment: "burnClaimed", values: [BigNumberish, AddressLike]): string;
10
+ encodeFunctionData(functionFragment: "claim", values: [BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: "coverClaimValue", values?: undefined): string;
11
12
  encodeFunctionData(functionFragment: "ethNeeded", values?: undefined): string;
12
13
  encodeFunctionData(functionFragment: "exists", values: [BigNumberish]): string;
13
14
  encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
14
15
  encodeFunctionData(functionFragment: "info", values: [BigNumberish]): string;
15
- encodeFunctionData(functionFragment: "initialize", values: [AddressLike, BigNumberish]): string;
16
+ encodeFunctionData(functionFragment: "initializeV2", values?: undefined): string;
16
17
  encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
17
18
  encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
18
19
  encodeFunctionData(functionFragment: "mintRequest", values: [AddressLike, BigNumberish]): string;
@@ -39,12 +40,13 @@ export interface WithdrawalQueueInterface extends Interface {
39
40
  decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
40
41
  decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
41
42
  decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
42
- decodeFunctionResult(functionFragment: "burnClaimed", data: BytesLike): Result;
43
+ decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result;
44
+ decodeFunctionResult(functionFragment: "coverClaimValue", data: BytesLike): Result;
43
45
  decodeFunctionResult(functionFragment: "ethNeeded", data: BytesLike): Result;
44
46
  decodeFunctionResult(functionFragment: "exists", data: BytesLike): Result;
45
47
  decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
46
48
  decodeFunctionResult(functionFragment: "info", data: BytesLike): Result;
47
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
49
+ decodeFunctionResult(functionFragment: "initializeV2", data: BytesLike): Result;
48
50
  decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
49
51
  decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
50
52
  decodeFunctionResult(functionFragment: "mintRequest", data: BytesLike): Result;
@@ -214,12 +216,8 @@ export interface WithdrawalQueue extends BaseContract {
214
216
  ], "nonpayable">;
215
217
  authority: TypedContractMethod<[], [string], "view">;
216
218
  balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
217
- burnClaimed: TypedContractMethod<[
218
- id: BigNumberish,
219
- sender: AddressLike
220
- ], [
221
- bigint
222
- ], "nonpayable">;
219
+ claim: TypedContractMethod<[id: BigNumberish], [void], "nonpayable">;
220
+ coverClaimValue: TypedContractMethod<[], [void], "payable">;
223
221
  ethNeeded: TypedContractMethod<[], [bigint], "view">;
224
222
  exists: TypedContractMethod<[id: BigNumberish], [boolean], "view">;
225
223
  getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
@@ -231,12 +229,7 @@ export interface WithdrawalQueue extends BaseContract {
231
229
  readyAt: bigint;
232
230
  }
233
231
  ], "view">;
234
- initialize: TypedContractMethod<[
235
- manager: AddressLike,
236
- _withdrawDelay: BigNumberish
237
- ], [
238
- void
239
- ], "nonpayable">;
232
+ initializeV2: TypedContractMethod<[], [void], "nonpayable">;
240
233
  isApprovedForAll: TypedContractMethod<[
241
234
  owner: AddressLike,
242
235
  operator: AddressLike
@@ -332,12 +325,8 @@ export interface WithdrawalQueue extends BaseContract {
332
325
  ], "nonpayable">;
333
326
  getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
334
327
  getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
335
- getFunction(nameOrSignature: "burnClaimed"): TypedContractMethod<[
336
- id: BigNumberish,
337
- sender: AddressLike
338
- ], [
339
- bigint
340
- ], "nonpayable">;
328
+ getFunction(nameOrSignature: "claim"): TypedContractMethod<[id: BigNumberish], [void], "nonpayable">;
329
+ getFunction(nameOrSignature: "coverClaimValue"): TypedContractMethod<[], [void], "payable">;
341
330
  getFunction(nameOrSignature: "ethNeeded"): TypedContractMethod<[], [bigint], "view">;
342
331
  getFunction(nameOrSignature: "exists"): TypedContractMethod<[id: BigNumberish], [boolean], "view">;
343
332
  getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
@@ -349,12 +338,7 @@ export interface WithdrawalQueue extends BaseContract {
349
338
  readyAt: bigint;
350
339
  }
351
340
  ], "view">;
352
- getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
353
- manager: AddressLike,
354
- _withdrawDelay: BigNumberish
355
- ], [
356
- void
357
- ], "nonpayable">;
341
+ getFunction(nameOrSignature: "initializeV2"): TypedContractMethod<[], [void], "nonpayable">;
358
342
  getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
359
343
  owner: AddressLike,
360
344
  operator: AddressLike
@@ -421,6 +421,14 @@ export declare class BAR__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 BAR__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";
@@ -533,18 +545,6 @@ export declare class BAR__factory {
533
545
  }];
534
546
  readonly name: "WIRE_DepositorKeyMismatch";
535
547
  readonly type: "error";
536
- }, {
537
- readonly inputs: readonly [{
538
- readonly internalType: "address";
539
- readonly name: "to";
540
- readonly type: "address";
541
- }, {
542
- readonly internalType: "uint256";
543
- readonly name: "amount";
544
- readonly type: "uint256";
545
- }];
546
- readonly name: "WIRE_EthSendFailed";
547
- readonly type: "error";
548
548
  }, {
549
549
  readonly inputs: readonly [];
550
550
  readonly name: "WIRE_GoLiveInProgress";
@@ -569,6 +569,18 @@ export declare class BAR__factory {
569
569
  }];
570
570
  readonly name: "WIRE_InvalidDepositorKey";
571
571
  readonly type: "error";
572
+ }, {
573
+ readonly inputs: readonly [{
574
+ readonly internalType: "uint64";
575
+ readonly name: "minimum";
576
+ readonly type: "uint64";
577
+ }, {
578
+ readonly internalType: "uint256";
579
+ readonly name: "maximum";
580
+ readonly type: "uint256";
581
+ }];
582
+ readonly name: "WIRE_InvalidMinSyndication";
583
+ readonly type: "error";
572
584
  }, {
573
585
  readonly inputs: readonly [{
574
586
  readonly internalType: "uint256";
@@ -777,6 +789,18 @@ export declare class BAR__factory {
777
789
  }];
778
790
  readonly name: "WIRE_SyndicationAboveMaximum";
779
791
  readonly type: "error";
792
+ }, {
793
+ readonly inputs: readonly [{
794
+ readonly internalType: "uint64";
795
+ readonly name: "amount";
796
+ readonly type: "uint64";
797
+ }, {
798
+ readonly internalType: "uint64";
799
+ readonly name: "minimum";
800
+ readonly type: "uint64";
801
+ }];
802
+ readonly name: "WIRE_SyndicationBelowMinimum";
803
+ readonly type: "error";
780
804
  }, {
781
805
  readonly inputs: readonly [{
782
806
  readonly internalType: "uint8";
@@ -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",
@@ -711,22 +727,6 @@ const _abi = [
711
727
  name: "WIRE_DepositorKeyMismatch",
712
728
  type: "error",
713
729
  },
714
- {
715
- inputs: [
716
- {
717
- internalType: "address",
718
- name: "to",
719
- type: "address",
720
- },
721
- {
722
- internalType: "uint256",
723
- name: "amount",
724
- type: "uint256",
725
- },
726
- ],
727
- name: "WIRE_EthSendFailed",
728
- type: "error",
729
- },
730
730
  {
731
731
  inputs: [],
732
732
  name: "WIRE_GoLiveInProgress",
@@ -759,6 +759,22 @@ const _abi = [
759
759
  name: "WIRE_InvalidDepositorKey",
760
760
  type: "error",
761
761
  },
762
+ {
763
+ inputs: [
764
+ {
765
+ internalType: "uint64",
766
+ name: "minimum",
767
+ type: "uint64",
768
+ },
769
+ {
770
+ internalType: "uint256",
771
+ name: "maximum",
772
+ type: "uint256",
773
+ },
774
+ ],
775
+ name: "WIRE_InvalidMinSyndication",
776
+ type: "error",
777
+ },
762
778
  {
763
779
  inputs: [
764
780
  {
@@ -1035,6 +1051,22 @@ const _abi = [
1035
1051
  name: "WIRE_SyndicationAboveMaximum",
1036
1052
  type: "error",
1037
1053
  },
1054
+ {
1055
+ inputs: [
1056
+ {
1057
+ internalType: "uint64",
1058
+ name: "amount",
1059
+ type: "uint64",
1060
+ },
1061
+ {
1062
+ internalType: "uint64",
1063
+ name: "minimum",
1064
+ type: "uint64",
1065
+ },
1066
+ ],
1067
+ name: "WIRE_SyndicationBelowMinimum",
1068
+ type: "error",
1069
+ },
1038
1070
  {
1039
1071
  inputs: [
1040
1072
  {