@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.
- package/README.md +2 -4
- package/abis/BAR.json +48 -16
- package/abis/DepositManager.json +1917 -233
- package/abis/LiqEthToken.json +2039 -79
- package/abis/OPP.json +16 -0
- package/abis/OPPInbound.json +100 -49
- package/abis/SyndicationPool.json +183 -16
- package/abis/WithdrawalQueue.json +1926 -77
- package/lib/cjs/Manifest.js +48 -48
- package/lib/cjs/contracts/DepositManager.d.ts +80 -188
- package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
- package/lib/cjs/contracts/OPPInbound.d.ts +78 -52
- package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
- package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +36 -12
- package/lib/cjs/contracts/factories/BAR__factory.js +48 -16
- package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
- package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
- package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
- package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +81 -43
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +99 -48
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +12 -0
- package/lib/cjs/contracts/factories/OPP__factory.js +16 -0
- package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +141 -12
- package/lib/cjs/contracts/factories/SyndicationPool__factory.js +183 -16
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
- package/lib/esm/Manifest.js +48 -48
- package/lib/esm/contracts/DepositManager.d.ts +80 -188
- package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
- package/lib/esm/contracts/OPPInbound.d.ts +78 -52
- package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
- package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
- package/lib/esm/contracts/factories/BAR__factory.d.ts +36 -12
- package/lib/esm/contracts/factories/BAR__factory.js +48 -16
- package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
- package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
- package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
- package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +81 -43
- package/lib/esm/contracts/factories/OPPInbound__factory.js +99 -48
- package/lib/esm/contracts/factories/OPP__factory.d.ts +12 -0
- package/lib/esm/contracts/factories/OPP__factory.js +16 -0
- package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +141 -12
- package/lib/esm/contracts/factories/SyndicationPool__factory.js +183 -16
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
- package/manifest.json +48 -48
- package/package.json +1 -1
- package/runtime/BAR.bin +0 -0
- package/runtime/DepositManager.bin +0 -0
- package/runtime/LiqEthToken.bin +0 -0
- package/runtime/OPP.bin +0 -0
- package/runtime/OPPInbound.bin +0 -0
- package/runtime/SyndicationPool.bin +0 -0
- 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" | "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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
|
-
|
|
218
|
-
|
|
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
|
-
|
|
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: "
|
|
336
|
-
|
|
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: "
|
|
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";
|
|
@@ -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",
|
|
@@ -714,22 +730,6 @@ const _abi = [
|
|
|
714
730
|
name: "WIRE_DepositorKeyMismatch",
|
|
715
731
|
type: "error",
|
|
716
732
|
},
|
|
717
|
-
{
|
|
718
|
-
inputs: [
|
|
719
|
-
{
|
|
720
|
-
internalType: "address",
|
|
721
|
-
name: "to",
|
|
722
|
-
type: "address",
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
internalType: "uint256",
|
|
726
|
-
name: "amount",
|
|
727
|
-
type: "uint256",
|
|
728
|
-
},
|
|
729
|
-
],
|
|
730
|
-
name: "WIRE_EthSendFailed",
|
|
731
|
-
type: "error",
|
|
732
|
-
},
|
|
733
733
|
{
|
|
734
734
|
inputs: [],
|
|
735
735
|
name: "WIRE_GoLiveInProgress",
|
|
@@ -762,6 +762,22 @@ const _abi = [
|
|
|
762
762
|
name: "WIRE_InvalidDepositorKey",
|
|
763
763
|
type: "error",
|
|
764
764
|
},
|
|
765
|
+
{
|
|
766
|
+
inputs: [
|
|
767
|
+
{
|
|
768
|
+
internalType: "uint64",
|
|
769
|
+
name: "minimum",
|
|
770
|
+
type: "uint64",
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
internalType: "uint256",
|
|
774
|
+
name: "maximum",
|
|
775
|
+
type: "uint256",
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
name: "WIRE_InvalidMinSyndication",
|
|
779
|
+
type: "error",
|
|
780
|
+
},
|
|
765
781
|
{
|
|
766
782
|
inputs: [
|
|
767
783
|
{
|
|
@@ -1038,6 +1054,22 @@ const _abi = [
|
|
|
1038
1054
|
name: "WIRE_SyndicationAboveMaximum",
|
|
1039
1055
|
type: "error",
|
|
1040
1056
|
},
|
|
1057
|
+
{
|
|
1058
|
+
inputs: [
|
|
1059
|
+
{
|
|
1060
|
+
internalType: "uint64",
|
|
1061
|
+
name: "amount",
|
|
1062
|
+
type: "uint64",
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
internalType: "uint64",
|
|
1066
|
+
name: "minimum",
|
|
1067
|
+
type: "uint64",
|
|
1068
|
+
},
|
|
1069
|
+
],
|
|
1070
|
+
name: "WIRE_SyndicationBelowMinimum",
|
|
1071
|
+
type: "error",
|
|
1072
|
+
},
|
|
1041
1073
|
{
|
|
1042
1074
|
inputs: [
|
|
1043
1075
|
{
|