@wireio/outpost-ethereum-artifacts 0.4.3 → 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 +131 -450
- package/abis/DepositManager.json +1917 -233
- package/abis/LiqEthToken.json +2039 -79
- package/abis/OPP.json +138 -67
- package/abis/OPPInbound.json +298 -388
- package/abis/SyndicationPool.json +266 -99
- package/abis/WithdrawalQueue.json +1926 -77
- package/lib/cjs/Manifest.js +65 -59
- package/lib/cjs/contracts/BAR.d.ts +2 -180
- package/lib/cjs/contracts/DepositManager.d.ts +80 -188
- package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
- package/lib/cjs/contracts/OPP.d.ts +13 -1
- package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
- 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 +105 -353
- package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
- 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 +246 -318
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
- package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
- package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
- package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
- 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 +65 -59
- package/lib/esm/contracts/BAR.d.ts +2 -180
- package/lib/esm/contracts/DepositManager.d.ts +80 -188
- package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
- package/lib/esm/contracts/OPP.d.ts +13 -1
- package/lib/esm/contracts/OPPInbound.d.ts +173 -225
- 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 +105 -353
- package/lib/esm/contracts/factories/BAR__factory.js +131 -450
- 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 +246 -318
- package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
- package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
- package/lib/esm/contracts/factories/OPP__factory.js +138 -67
- package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
- package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
- package/manifest.json +65 -59
- 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
|
@@ -15,15 +15,18 @@ export type AttestationEntryStructOutput = [
|
|
|
15
15
|
data: string;
|
|
16
16
|
};
|
|
17
17
|
export interface SyndicationPoolInterface extends Interface {
|
|
18
|
-
getFunction(nameOrSignature: "COMPRESSED_PUBKEY_LENGTH" | "DESYNDICATE_LIQ_ATTESTATION" | "LIQ_YIELD_ATTESTATION" | "OPPAttestationIn" | "SYNDICATE_LIQ_ATTESTATION" | "UPGRADE_INTERFACE_VERSION" | "authority" | "desyndicationsPaid" | "getSummaryAttestations" | "initialize" | "initializeSyndication" | "isConsumingScheduledOp" | "liqETH" | "liqSequence" | "liqTokenCode" | "liqTokenPrecision" | "maxSyndicationPerTransfer" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "pause" | "paused" | "payPendingDesyndication" | "pendingDesyndications" | "poolBalance" | "poolBalanceDepot" | "proxiableUUID" | "realizeYield" | "setAuthority" | "setLiqETH" | "setLiqTokenCode" | "setLiqTokenPrecision" | "setMaxSyndicationPerTransfer" | "setOPPAddresses" | "setOutpostChainCode" | "setYieldDeadband" | "syndicate" | "syndicatedPrincipal" | "unpause" | "unrealizedYield" | "upgradeToAndCall" | "yieldDeadband"): FunctionFragment;
|
|
19
|
-
getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "CustodyShortfall" | "Desyndicated" | "DesyndicationDeferred" | "DesyndicationDropped" | "Initialized" | "LiqTokenCodeSet" | "LiqTokenPrecisionSet" | "MaxSyndicationPerTransferSet" | "OutpostChainCodeSet" | "Paused" | "PrincipalSeeded" | "Syndicated" | "Unpaused" | "Upgraded" | "YieldDeadbandSet" | "YieldRealized"): EventFragment;
|
|
18
|
+
getFunction(nameOrSignature: "BPS_DENOMINATOR" | "COMPRESSED_PUBKEY_LENGTH" | "DESYNDICATE_LIQ_ATTESTATION" | "LIQ_YIELD_ATTESTATION" | "MAX_CUSTODY_SHORTFALL_BPS" | "OPPAttestationIn" | "SYNDICATE_LIQ_ATTESTATION" | "UPGRADE_INTERFACE_VERSION" | "authority" | "custodyShortfallBps" | "desyndicationsPaid" | "getSummaryAttestations" | "initialize" | "initializeSyndication" | "isConsumingScheduledOp" | "liqETH" | "liqSequence" | "liqTokenCode" | "liqTokenPrecision" | "maxSyndicationPerTransfer" | "minSyndication" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "pause" | "paused" | "payPendingDesyndication" | "pendingDesyndications" | "poolBalance" | "poolBalanceDepot" | "proxiableUUID" | "realizeYield" | "setAuthority" | "setCustodyShortfallBps" | "setLiqETH" | "setLiqTokenCode" | "setLiqTokenPrecision" | "setMaxSyndicationPerTransfer" | "setMinSyndication" | "setOPPAddresses" | "setOutpostChainCode" | "setYieldDeadband" | "syndicate" | "syndicatedPrincipal" | "unpause" | "unrealizedYield" | "upgradeToAndCall" | "yieldDeadband"): FunctionFragment;
|
|
19
|
+
getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "CustodyShortfall" | "CustodyShortfallBpsSet" | "CustodyShortfallTolerated" | "Desyndicated" | "DesyndicationDeferred" | "DesyndicationDropped" | "Initialized" | "LiqTokenCodeSet" | "LiqTokenPrecisionSet" | "MaxSyndicationPerTransferSet" | "MinSyndicationSet" | "OutpostChainCodeSet" | "Paused" | "PrincipalSeeded" | "Syndicated" | "Unpaused" | "Upgraded" | "YieldDeadbandSet" | "YieldRealized"): EventFragment;
|
|
20
|
+
encodeFunctionData(functionFragment: "BPS_DENOMINATOR", values?: undefined): string;
|
|
20
21
|
encodeFunctionData(functionFragment: "COMPRESSED_PUBKEY_LENGTH", values?: undefined): string;
|
|
21
22
|
encodeFunctionData(functionFragment: "DESYNDICATE_LIQ_ATTESTATION", values?: undefined): string;
|
|
22
23
|
encodeFunctionData(functionFragment: "LIQ_YIELD_ATTESTATION", values?: undefined): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "MAX_CUSTODY_SHORTFALL_BPS", values?: undefined): string;
|
|
23
25
|
encodeFunctionData(functionFragment: "OPPAttestationIn", values: [BigNumberish, BytesLike]): string;
|
|
24
26
|
encodeFunctionData(functionFragment: "SYNDICATE_LIQ_ATTESTATION", values?: undefined): string;
|
|
25
27
|
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
26
28
|
encodeFunctionData(functionFragment: "authority", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "custodyShortfallBps", values?: undefined): string;
|
|
27
30
|
encodeFunctionData(functionFragment: "desyndicationsPaid", values: [BigNumberish]): string;
|
|
28
31
|
encodeFunctionData(functionFragment: "getSummaryAttestations", values?: undefined): string;
|
|
29
32
|
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string;
|
|
@@ -40,6 +43,7 @@ export interface SyndicationPoolInterface extends Interface {
|
|
|
40
43
|
encodeFunctionData(functionFragment: "liqTokenCode", values?: undefined): string;
|
|
41
44
|
encodeFunctionData(functionFragment: "liqTokenPrecision", values?: undefined): string;
|
|
42
45
|
encodeFunctionData(functionFragment: "maxSyndicationPerTransfer", values?: undefined): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "minSyndication", values?: undefined): string;
|
|
43
47
|
encodeFunctionData(functionFragment: "oppAddress", values?: undefined): string;
|
|
44
48
|
encodeFunctionData(functionFragment: "oppInboundAddress", values?: undefined): string;
|
|
45
49
|
encodeFunctionData(functionFragment: "outpostChainCode", values?: undefined): string;
|
|
@@ -52,10 +56,12 @@ export interface SyndicationPoolInterface extends Interface {
|
|
|
52
56
|
encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
|
|
53
57
|
encodeFunctionData(functionFragment: "realizeYield", values?: undefined): string;
|
|
54
58
|
encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "setCustodyShortfallBps", values: [BigNumberish]): string;
|
|
55
60
|
encodeFunctionData(functionFragment: "setLiqETH", values: [AddressLike]): string;
|
|
56
61
|
encodeFunctionData(functionFragment: "setLiqTokenCode", values: [BigNumberish]): string;
|
|
57
62
|
encodeFunctionData(functionFragment: "setLiqTokenPrecision", values: [BigNumberish]): string;
|
|
58
63
|
encodeFunctionData(functionFragment: "setMaxSyndicationPerTransfer", values: [BigNumberish]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "setMinSyndication", values: [BigNumberish]): string;
|
|
59
65
|
encodeFunctionData(functionFragment: "setOPPAddresses", values: [AddressLike, AddressLike]): string;
|
|
60
66
|
encodeFunctionData(functionFragment: "setOutpostChainCode", values: [BigNumberish]): string;
|
|
61
67
|
encodeFunctionData(functionFragment: "setYieldDeadband", values: [BigNumberish]): string;
|
|
@@ -65,13 +71,16 @@ export interface SyndicationPoolInterface extends Interface {
|
|
|
65
71
|
encodeFunctionData(functionFragment: "unrealizedYield", values?: undefined): string;
|
|
66
72
|
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
67
73
|
encodeFunctionData(functionFragment: "yieldDeadband", values?: undefined): string;
|
|
74
|
+
decodeFunctionResult(functionFragment: "BPS_DENOMINATOR", data: BytesLike): Result;
|
|
68
75
|
decodeFunctionResult(functionFragment: "COMPRESSED_PUBKEY_LENGTH", data: BytesLike): Result;
|
|
69
76
|
decodeFunctionResult(functionFragment: "DESYNDICATE_LIQ_ATTESTATION", data: BytesLike): Result;
|
|
70
77
|
decodeFunctionResult(functionFragment: "LIQ_YIELD_ATTESTATION", data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: "MAX_CUSTODY_SHORTFALL_BPS", data: BytesLike): Result;
|
|
71
79
|
decodeFunctionResult(functionFragment: "OPPAttestationIn", data: BytesLike): Result;
|
|
72
80
|
decodeFunctionResult(functionFragment: "SYNDICATE_LIQ_ATTESTATION", data: BytesLike): Result;
|
|
73
81
|
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
74
82
|
decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "custodyShortfallBps", data: BytesLike): Result;
|
|
75
84
|
decodeFunctionResult(functionFragment: "desyndicationsPaid", data: BytesLike): Result;
|
|
76
85
|
decodeFunctionResult(functionFragment: "getSummaryAttestations", data: BytesLike): Result;
|
|
77
86
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
@@ -82,6 +91,7 @@ export interface SyndicationPoolInterface extends Interface {
|
|
|
82
91
|
decodeFunctionResult(functionFragment: "liqTokenCode", data: BytesLike): Result;
|
|
83
92
|
decodeFunctionResult(functionFragment: "liqTokenPrecision", data: BytesLike): Result;
|
|
84
93
|
decodeFunctionResult(functionFragment: "maxSyndicationPerTransfer", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "minSyndication", data: BytesLike): Result;
|
|
85
95
|
decodeFunctionResult(functionFragment: "oppAddress", data: BytesLike): Result;
|
|
86
96
|
decodeFunctionResult(functionFragment: "oppInboundAddress", data: BytesLike): Result;
|
|
87
97
|
decodeFunctionResult(functionFragment: "outpostChainCode", data: BytesLike): Result;
|
|
@@ -94,10 +104,12 @@ export interface SyndicationPoolInterface extends Interface {
|
|
|
94
104
|
decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
|
|
95
105
|
decodeFunctionResult(functionFragment: "realizeYield", data: BytesLike): Result;
|
|
96
106
|
decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "setCustodyShortfallBps", data: BytesLike): Result;
|
|
97
108
|
decodeFunctionResult(functionFragment: "setLiqETH", data: BytesLike): Result;
|
|
98
109
|
decodeFunctionResult(functionFragment: "setLiqTokenCode", data: BytesLike): Result;
|
|
99
110
|
decodeFunctionResult(functionFragment: "setLiqTokenPrecision", data: BytesLike): Result;
|
|
100
111
|
decodeFunctionResult(functionFragment: "setMaxSyndicationPerTransfer", data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: "setMinSyndication", data: BytesLike): Result;
|
|
101
113
|
decodeFunctionResult(functionFragment: "setOPPAddresses", data: BytesLike): Result;
|
|
102
114
|
decodeFunctionResult(functionFragment: "setOutpostChainCode", data: BytesLike): Result;
|
|
103
115
|
decodeFunctionResult(functionFragment: "setYieldDeadband", data: BytesLike): Result;
|
|
@@ -140,6 +152,41 @@ export declare namespace CustodyShortfallEvent {
|
|
|
140
152
|
type Log = TypedEventLog<Event>;
|
|
141
153
|
type LogDescription = TypedLogDescription<Event>;
|
|
142
154
|
}
|
|
155
|
+
export declare namespace CustodyShortfallBpsSetEvent {
|
|
156
|
+
type InputTuple = [shortfallBps: BigNumberish];
|
|
157
|
+
type OutputTuple = [shortfallBps: bigint];
|
|
158
|
+
interface OutputObject {
|
|
159
|
+
shortfallBps: bigint;
|
|
160
|
+
}
|
|
161
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
162
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
163
|
+
type Log = TypedEventLog<Event>;
|
|
164
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
165
|
+
}
|
|
166
|
+
export declare namespace CustodyShortfallToleratedEvent {
|
|
167
|
+
type InputTuple = [
|
|
168
|
+
requestId: BigNumberish,
|
|
169
|
+
postPayoutBalanceDepot: BigNumberish,
|
|
170
|
+
totalSyndicated: BigNumberish,
|
|
171
|
+
toleranceBps: BigNumberish
|
|
172
|
+
];
|
|
173
|
+
type OutputTuple = [
|
|
174
|
+
requestId: bigint,
|
|
175
|
+
postPayoutBalanceDepot: bigint,
|
|
176
|
+
totalSyndicated: bigint,
|
|
177
|
+
toleranceBps: bigint
|
|
178
|
+
];
|
|
179
|
+
interface OutputObject {
|
|
180
|
+
requestId: bigint;
|
|
181
|
+
postPayoutBalanceDepot: bigint;
|
|
182
|
+
totalSyndicated: bigint;
|
|
183
|
+
toleranceBps: bigint;
|
|
184
|
+
}
|
|
185
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
186
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
187
|
+
type Log = TypedEventLog<Event>;
|
|
188
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
189
|
+
}
|
|
143
190
|
export declare namespace DesyndicatedEvent {
|
|
144
191
|
type InputTuple = [
|
|
145
192
|
recipient: AddressLike,
|
|
@@ -253,6 +300,17 @@ export declare namespace MaxSyndicationPerTransferSetEvent {
|
|
|
253
300
|
type Log = TypedEventLog<Event>;
|
|
254
301
|
type LogDescription = TypedLogDescription<Event>;
|
|
255
302
|
}
|
|
303
|
+
export declare namespace MinSyndicationSetEvent {
|
|
304
|
+
type InputTuple = [minimum: BigNumberish];
|
|
305
|
+
type OutputTuple = [minimum: bigint];
|
|
306
|
+
interface OutputObject {
|
|
307
|
+
minimum: bigint;
|
|
308
|
+
}
|
|
309
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
310
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
311
|
+
type Log = TypedEventLog<Event>;
|
|
312
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
313
|
+
}
|
|
256
314
|
export declare namespace OutpostChainCodeSetEvent {
|
|
257
315
|
type InputTuple = [chainCode: BigNumberish];
|
|
258
316
|
type OutputTuple = [chainCode: bigint];
|
|
@@ -384,9 +442,11 @@ export interface SyndicationPool extends BaseContract {
|
|
|
384
442
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
385
443
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
386
444
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
445
|
+
BPS_DENOMINATOR: TypedContractMethod<[], [bigint], "view">;
|
|
387
446
|
COMPRESSED_PUBKEY_LENGTH: TypedContractMethod<[], [bigint], "view">;
|
|
388
447
|
DESYNDICATE_LIQ_ATTESTATION: TypedContractMethod<[], [bigint], "view">;
|
|
389
448
|
LIQ_YIELD_ATTESTATION: TypedContractMethod<[], [bigint], "view">;
|
|
449
|
+
MAX_CUSTODY_SHORTFALL_BPS: TypedContractMethod<[], [bigint], "view">;
|
|
390
450
|
OPPAttestationIn: TypedContractMethod<[
|
|
391
451
|
attestationType: BigNumberish,
|
|
392
452
|
data: BytesLike
|
|
@@ -396,6 +456,7 @@ export interface SyndicationPool extends BaseContract {
|
|
|
396
456
|
SYNDICATE_LIQ_ATTESTATION: TypedContractMethod<[], [bigint], "view">;
|
|
397
457
|
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
398
458
|
authority: TypedContractMethod<[], [string], "view">;
|
|
459
|
+
custodyShortfallBps: TypedContractMethod<[], [bigint], "view">;
|
|
399
460
|
desyndicationsPaid: TypedContractMethod<[
|
|
400
461
|
arg0: BigNumberish
|
|
401
462
|
], [
|
|
@@ -426,6 +487,7 @@ export interface SyndicationPool extends BaseContract {
|
|
|
426
487
|
liqTokenCode: TypedContractMethod<[], [bigint], "view">;
|
|
427
488
|
liqTokenPrecision: TypedContractMethod<[], [bigint], "view">;
|
|
428
489
|
maxSyndicationPerTransfer: TypedContractMethod<[], [bigint], "view">;
|
|
490
|
+
minSyndication: TypedContractMethod<[], [bigint], "view">;
|
|
429
491
|
oppAddress: TypedContractMethod<[], [string], "view">;
|
|
430
492
|
oppInboundAddress: TypedContractMethod<[], [string], "view">;
|
|
431
493
|
outpostChainCode: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -458,6 +520,11 @@ export interface SyndicationPool extends BaseContract {
|
|
|
458
520
|
], [
|
|
459
521
|
void
|
|
460
522
|
], "nonpayable">;
|
|
523
|
+
setCustodyShortfallBps: TypedContractMethod<[
|
|
524
|
+
shortfallBps: BigNumberish
|
|
525
|
+
], [
|
|
526
|
+
void
|
|
527
|
+
], "nonpayable">;
|
|
461
528
|
setLiqETH: TypedContractMethod<[_liqETH: AddressLike], [void], "nonpayable">;
|
|
462
529
|
setLiqTokenCode: TypedContractMethod<[
|
|
463
530
|
tokenCode: BigNumberish
|
|
@@ -474,6 +541,11 @@ export interface SyndicationPool extends BaseContract {
|
|
|
474
541
|
], [
|
|
475
542
|
void
|
|
476
543
|
], "nonpayable">;
|
|
544
|
+
setMinSyndication: TypedContractMethod<[
|
|
545
|
+
minimum: BigNumberish
|
|
546
|
+
], [
|
|
547
|
+
void
|
|
548
|
+
], "nonpayable">;
|
|
477
549
|
setOPPAddresses: TypedContractMethod<[
|
|
478
550
|
_oppAddress: AddressLike,
|
|
479
551
|
_oppInboundAddress: AddressLike
|
|
@@ -507,9 +579,11 @@ export interface SyndicationPool extends BaseContract {
|
|
|
507
579
|
], "payable">;
|
|
508
580
|
yieldDeadband: TypedContractMethod<[], [bigint], "view">;
|
|
509
581
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
582
|
+
getFunction(nameOrSignature: "BPS_DENOMINATOR"): TypedContractMethod<[], [bigint], "view">;
|
|
510
583
|
getFunction(nameOrSignature: "COMPRESSED_PUBKEY_LENGTH"): TypedContractMethod<[], [bigint], "view">;
|
|
511
584
|
getFunction(nameOrSignature: "DESYNDICATE_LIQ_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
|
|
512
585
|
getFunction(nameOrSignature: "LIQ_YIELD_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
|
|
586
|
+
getFunction(nameOrSignature: "MAX_CUSTODY_SHORTFALL_BPS"): TypedContractMethod<[], [bigint], "view">;
|
|
513
587
|
getFunction(nameOrSignature: "OPPAttestationIn"): TypedContractMethod<[
|
|
514
588
|
attestationType: BigNumberish,
|
|
515
589
|
data: BytesLike
|
|
@@ -519,6 +593,7 @@ export interface SyndicationPool extends BaseContract {
|
|
|
519
593
|
getFunction(nameOrSignature: "SYNDICATE_LIQ_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
|
|
520
594
|
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
521
595
|
getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
|
|
596
|
+
getFunction(nameOrSignature: "custodyShortfallBps"): TypedContractMethod<[], [bigint], "view">;
|
|
522
597
|
getFunction(nameOrSignature: "desyndicationsPaid"): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
523
598
|
getFunction(nameOrSignature: "getSummaryAttestations"): TypedContractMethod<[], [AttestationEntryStructOutput[]], "nonpayable">;
|
|
524
599
|
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
@@ -542,6 +617,7 @@ export interface SyndicationPool extends BaseContract {
|
|
|
542
617
|
getFunction(nameOrSignature: "liqTokenCode"): TypedContractMethod<[], [bigint], "view">;
|
|
543
618
|
getFunction(nameOrSignature: "liqTokenPrecision"): TypedContractMethod<[], [bigint], "view">;
|
|
544
619
|
getFunction(nameOrSignature: "maxSyndicationPerTransfer"): TypedContractMethod<[], [bigint], "view">;
|
|
620
|
+
getFunction(nameOrSignature: "minSyndication"): TypedContractMethod<[], [bigint], "view">;
|
|
545
621
|
getFunction(nameOrSignature: "oppAddress"): TypedContractMethod<[], [string], "view">;
|
|
546
622
|
getFunction(nameOrSignature: "oppInboundAddress"): TypedContractMethod<[], [string], "view">;
|
|
547
623
|
getFunction(nameOrSignature: "outpostChainCode"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -566,10 +642,12 @@ export interface SyndicationPool extends BaseContract {
|
|
|
566
642
|
getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
|
|
567
643
|
getFunction(nameOrSignature: "realizeYield"): TypedContractMethod<[], [void], "nonpayable">;
|
|
568
644
|
getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
|
|
645
|
+
getFunction(nameOrSignature: "setCustodyShortfallBps"): TypedContractMethod<[shortfallBps: BigNumberish], [void], "nonpayable">;
|
|
569
646
|
getFunction(nameOrSignature: "setLiqETH"): TypedContractMethod<[_liqETH: AddressLike], [void], "nonpayable">;
|
|
570
647
|
getFunction(nameOrSignature: "setLiqTokenCode"): TypedContractMethod<[tokenCode: BigNumberish], [void], "nonpayable">;
|
|
571
648
|
getFunction(nameOrSignature: "setLiqTokenPrecision"): TypedContractMethod<[precision: BigNumberish], [void], "nonpayable">;
|
|
572
649
|
getFunction(nameOrSignature: "setMaxSyndicationPerTransfer"): TypedContractMethod<[maximum: BigNumberish], [void], "nonpayable">;
|
|
650
|
+
getFunction(nameOrSignature: "setMinSyndication"): TypedContractMethod<[minimum: BigNumberish], [void], "nonpayable">;
|
|
573
651
|
getFunction(nameOrSignature: "setOPPAddresses"): TypedContractMethod<[
|
|
574
652
|
_oppAddress: AddressLike,
|
|
575
653
|
_oppInboundAddress: AddressLike
|
|
@@ -596,6 +674,8 @@ export interface SyndicationPool extends BaseContract {
|
|
|
596
674
|
getFunction(nameOrSignature: "yieldDeadband"): TypedContractMethod<[], [bigint], "view">;
|
|
597
675
|
getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
598
676
|
getEvent(key: "CustodyShortfall"): TypedContractEvent<CustodyShortfallEvent.InputTuple, CustodyShortfallEvent.OutputTuple, CustodyShortfallEvent.OutputObject>;
|
|
677
|
+
getEvent(key: "CustodyShortfallBpsSet"): TypedContractEvent<CustodyShortfallBpsSetEvent.InputTuple, CustodyShortfallBpsSetEvent.OutputTuple, CustodyShortfallBpsSetEvent.OutputObject>;
|
|
678
|
+
getEvent(key: "CustodyShortfallTolerated"): TypedContractEvent<CustodyShortfallToleratedEvent.InputTuple, CustodyShortfallToleratedEvent.OutputTuple, CustodyShortfallToleratedEvent.OutputObject>;
|
|
599
679
|
getEvent(key: "Desyndicated"): TypedContractEvent<DesyndicatedEvent.InputTuple, DesyndicatedEvent.OutputTuple, DesyndicatedEvent.OutputObject>;
|
|
600
680
|
getEvent(key: "DesyndicationDeferred"): TypedContractEvent<DesyndicationDeferredEvent.InputTuple, DesyndicationDeferredEvent.OutputTuple, DesyndicationDeferredEvent.OutputObject>;
|
|
601
681
|
getEvent(key: "DesyndicationDropped"): TypedContractEvent<DesyndicationDroppedEvent.InputTuple, DesyndicationDroppedEvent.OutputTuple, DesyndicationDroppedEvent.OutputObject>;
|
|
@@ -603,6 +683,7 @@ export interface SyndicationPool extends BaseContract {
|
|
|
603
683
|
getEvent(key: "LiqTokenCodeSet"): TypedContractEvent<LiqTokenCodeSetEvent.InputTuple, LiqTokenCodeSetEvent.OutputTuple, LiqTokenCodeSetEvent.OutputObject>;
|
|
604
684
|
getEvent(key: "LiqTokenPrecisionSet"): TypedContractEvent<LiqTokenPrecisionSetEvent.InputTuple, LiqTokenPrecisionSetEvent.OutputTuple, LiqTokenPrecisionSetEvent.OutputObject>;
|
|
605
685
|
getEvent(key: "MaxSyndicationPerTransferSet"): TypedContractEvent<MaxSyndicationPerTransferSetEvent.InputTuple, MaxSyndicationPerTransferSetEvent.OutputTuple, MaxSyndicationPerTransferSetEvent.OutputObject>;
|
|
686
|
+
getEvent(key: "MinSyndicationSet"): TypedContractEvent<MinSyndicationSetEvent.InputTuple, MinSyndicationSetEvent.OutputTuple, MinSyndicationSetEvent.OutputObject>;
|
|
606
687
|
getEvent(key: "OutpostChainCodeSet"): TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
|
|
607
688
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
608
689
|
getEvent(key: "PrincipalSeeded"): TypedContractEvent<PrincipalSeededEvent.InputTuple, PrincipalSeededEvent.OutputTuple, PrincipalSeededEvent.OutputObject>;
|
|
@@ -616,6 +697,10 @@ export interface SyndicationPool extends BaseContract {
|
|
|
616
697
|
AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
617
698
|
"CustodyShortfall(uint64,uint64,uint64)": TypedContractEvent<CustodyShortfallEvent.InputTuple, CustodyShortfallEvent.OutputTuple, CustodyShortfallEvent.OutputObject>;
|
|
618
699
|
CustodyShortfall: TypedContractEvent<CustodyShortfallEvent.InputTuple, CustodyShortfallEvent.OutputTuple, CustodyShortfallEvent.OutputObject>;
|
|
700
|
+
"CustodyShortfallBpsSet(uint32)": TypedContractEvent<CustodyShortfallBpsSetEvent.InputTuple, CustodyShortfallBpsSetEvent.OutputTuple, CustodyShortfallBpsSetEvent.OutputObject>;
|
|
701
|
+
CustodyShortfallBpsSet: TypedContractEvent<CustodyShortfallBpsSetEvent.InputTuple, CustodyShortfallBpsSetEvent.OutputTuple, CustodyShortfallBpsSetEvent.OutputObject>;
|
|
702
|
+
"CustodyShortfallTolerated(uint64,uint64,uint64,uint32)": TypedContractEvent<CustodyShortfallToleratedEvent.InputTuple, CustodyShortfallToleratedEvent.OutputTuple, CustodyShortfallToleratedEvent.OutputObject>;
|
|
703
|
+
CustodyShortfallTolerated: TypedContractEvent<CustodyShortfallToleratedEvent.InputTuple, CustodyShortfallToleratedEvent.OutputTuple, CustodyShortfallToleratedEvent.OutputObject>;
|
|
619
704
|
"Desyndicated(address,uint256,uint64,uint64)": TypedContractEvent<DesyndicatedEvent.InputTuple, DesyndicatedEvent.OutputTuple, DesyndicatedEvent.OutputObject>;
|
|
620
705
|
Desyndicated: TypedContractEvent<DesyndicatedEvent.InputTuple, DesyndicatedEvent.OutputTuple, DesyndicatedEvent.OutputObject>;
|
|
621
706
|
"DesyndicationDeferred(uint64,address,uint64,uint8)": TypedContractEvent<DesyndicationDeferredEvent.InputTuple, DesyndicationDeferredEvent.OutputTuple, DesyndicationDeferredEvent.OutputObject>;
|
|
@@ -630,6 +715,8 @@ export interface SyndicationPool extends BaseContract {
|
|
|
630
715
|
LiqTokenPrecisionSet: TypedContractEvent<LiqTokenPrecisionSetEvent.InputTuple, LiqTokenPrecisionSetEvent.OutputTuple, LiqTokenPrecisionSetEvent.OutputObject>;
|
|
631
716
|
"MaxSyndicationPerTransferSet(uint256)": TypedContractEvent<MaxSyndicationPerTransferSetEvent.InputTuple, MaxSyndicationPerTransferSetEvent.OutputTuple, MaxSyndicationPerTransferSetEvent.OutputObject>;
|
|
632
717
|
MaxSyndicationPerTransferSet: TypedContractEvent<MaxSyndicationPerTransferSetEvent.InputTuple, MaxSyndicationPerTransferSetEvent.OutputTuple, MaxSyndicationPerTransferSetEvent.OutputObject>;
|
|
718
|
+
"MinSyndicationSet(uint64)": TypedContractEvent<MinSyndicationSetEvent.InputTuple, MinSyndicationSetEvent.OutputTuple, MinSyndicationSetEvent.OutputObject>;
|
|
719
|
+
MinSyndicationSet: TypedContractEvent<MinSyndicationSetEvent.InputTuple, MinSyndicationSetEvent.OutputTuple, MinSyndicationSetEvent.OutputObject>;
|
|
633
720
|
"OutpostChainCodeSet(uint64)": TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
|
|
634
721
|
OutpostChainCodeSet: TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
|
|
635
722
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
@@ -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
|