@wireio/outpost-ethereum-artifacts 0.2.2 → 0.4.0
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 +1 -1
- package/abis/BAR.json +244 -182
- package/abis/OPP.json +127 -16
- package/abis/OPPInbound.json +343 -59
- package/lib/cjs/Manifest.d.ts +0 -34
- package/lib/cjs/Manifest.js +29 -181
- package/lib/cjs/contracts/BAR.d.ts +1 -9
- package/lib/cjs/contracts/OPPInbound.d.ts +139 -43
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +188 -146
- package/lib/cjs/contracts/factories/BAR__factory.js +243 -181
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +264 -48
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +343 -59
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +96 -12
- package/lib/cjs/contracts/factories/OPP__factory.js +127 -16
- package/lib/cjs/contracts/factories/index.d.ts +0 -2
- package/lib/cjs/contracts/factories/index.js +1 -5
- package/lib/cjs/contracts/index.d.ts +0 -4
- package/lib/cjs/contracts/index.js +1 -5
- package/lib/cjs/index.d.ts +0 -1
- package/lib/esm/Manifest.d.ts +0 -34
- package/lib/esm/Manifest.js +29 -181
- package/lib/esm/contracts/BAR.d.ts +1 -9
- package/lib/esm/contracts/OPPInbound.d.ts +139 -43
- package/lib/esm/contracts/factories/BAR__factory.d.ts +188 -146
- package/lib/esm/contracts/factories/BAR__factory.js +243 -181
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +264 -48
- package/lib/esm/contracts/factories/OPPInbound__factory.js +343 -59
- package/lib/esm/contracts/factories/OPP__factory.d.ts +96 -12
- package/lib/esm/contracts/factories/OPP__factory.js +127 -16
- package/lib/esm/contracts/factories/index.d.ts +0 -2
- package/lib/esm/contracts/factories/index.js +0 -2
- package/lib/esm/contracts/index.d.ts +0 -4
- package/lib/esm/contracts/index.js +0 -2
- package/lib/esm/index.d.ts +0 -1
- package/manifest.json +29 -181
- package/package.json +1 -1
- package/runtime/BAR.bin +0 -0
- package/runtime/OPP.bin +0 -0
- package/runtime/OPPInbound.bin +0 -0
- package/abis/OperatorRegistry.json +0 -1978
- package/abis/ReserveManager.json +0 -2770
- package/lib/cjs/contracts/OperatorRegistry.d.ts +0 -592
- package/lib/cjs/contracts/OperatorRegistry.js +0 -2
- package/lib/cjs/contracts/ReserveManager.d.ts +0 -1138
- package/lib/cjs/contracts/ReserveManager.js +0 -2
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +0 -1991
- package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +0 -2146
- package/lib/cjs/contracts/factories/ReserveManager__factory.js +0 -2783
- package/lib/esm/contracts/OperatorRegistry.d.ts +0 -592
- package/lib/esm/contracts/OperatorRegistry.js +0 -1
- package/lib/esm/contracts/ReserveManager.d.ts +0 -1138
- package/lib/esm/contracts/ReserveManager.js +0 -1
- package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
- package/lib/esm/contracts/factories/OperatorRegistry__factory.js +0 -1987
- package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +0 -2146
- package/lib/esm/contracts/factories/ReserveManager__factory.js +0 -2779
- package/runtime/OperatorRegistry.bin +0 -0
- package/runtime/ReserveManager.bin +0 -0
|
@@ -1,5 +1,38 @@
|
|
|
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
|
+
export type ChainAddressStruct = {
|
|
4
|
+
kind: BigNumberish;
|
|
5
|
+
address_: BytesLike;
|
|
6
|
+
};
|
|
7
|
+
export type ChainAddressStructOutput = [kind: bigint, address_: string] & {
|
|
8
|
+
kind: bigint;
|
|
9
|
+
address_: string;
|
|
10
|
+
};
|
|
11
|
+
export type BatchOperatorGroupStruct = {
|
|
12
|
+
operators: ChainAddressStruct[];
|
|
13
|
+
};
|
|
14
|
+
export type BatchOperatorGroupStructOutput = [
|
|
15
|
+
operators: ChainAddressStructOutput[]
|
|
16
|
+
] & {
|
|
17
|
+
operators: ChainAddressStructOutput[];
|
|
18
|
+
};
|
|
19
|
+
export type BatchOperatorGroupsStruct = {
|
|
20
|
+
activeGroupIndex: BigNumberish;
|
|
21
|
+
epochIndex: BigNumberish;
|
|
22
|
+
groups: BatchOperatorGroupStruct[];
|
|
23
|
+
epochDurationSec: BigNumberish;
|
|
24
|
+
};
|
|
25
|
+
export type BatchOperatorGroupsStructOutput = [
|
|
26
|
+
activeGroupIndex: bigint,
|
|
27
|
+
epochIndex: bigint,
|
|
28
|
+
groups: BatchOperatorGroupStructOutput[],
|
|
29
|
+
epochDurationSec: bigint
|
|
30
|
+
] & {
|
|
31
|
+
activeGroupIndex: bigint;
|
|
32
|
+
epochIndex: bigint;
|
|
33
|
+
groups: BatchOperatorGroupStructOutput[];
|
|
34
|
+
epochDurationSec: bigint;
|
|
35
|
+
};
|
|
3
36
|
export type ChainIdStruct = {
|
|
4
37
|
kind: BigNumberish;
|
|
5
38
|
id: BigNumberish;
|
|
@@ -36,19 +69,20 @@ export declare namespace OPPEnvelopeRetention {
|
|
|
36
69
|
};
|
|
37
70
|
}
|
|
38
71
|
export interface OPPInboundInterface extends Interface {
|
|
39
|
-
getFunction(nameOrSignature: "
|
|
40
|
-
getEvent(nameOrSignatureOrTopic: "AttestationBlackholed" | "AttestationDelivered" | "AttestationHandlerSet" | "AttestationUnhandled" | "AuthorityUpdated" | "EnvelopeChunksDiscarded" | "EnvelopeRetentionCatchUpPruned" | "EnvelopeRetentionConfigUpdated" | "EpochChunk" | "EpochComplete" | "EpochConsensus" | "EpochDelivery" | "EpochReceived" | "
|
|
72
|
+
getFunction(nameOrSignature: "FIRST_INBOUND_EPOCH_INDEX" | "MAX_CHUNKS" | "MAX_CHUNK_BYTES" | "MAX_CHUNK_SLOTS" | "MAX_ENVELOPE_BYTES" | "OPERATORS_PER_GROUP" | "SLOT_EMPTY" | "UPGRADE_INTERFACE_VERSION" | "activeGroupIndex" | "attestationHandlers" | "authority" | "authorizedGroupIndexFor" | "batchOpGroups" | "chunkCellCount" | "chunkHeaderCount" | "chunkHeaderOf" | "consensusReached" | "currentEpochStartedAt" | "discardEnvelopeChunks" | "envelopeChunkState" | "epochDeliveries" | "epochDeliveryCount" | "epochDigestCount" | "epochDurationSec" | "epochIn" | "getInboundEnvelope" | "inboundEnvelopes" | "inboundMessageTip" | "inboundRetentionConfig" | "initialize" | "initializeChunkSlots" | "installInitialRoster" | "isActiveOperator" | "isActiveOperatorForEpoch" | "isConsumingScheduledOp" | "lastMessageID" | "nextEpochIndex" | "operatorEthAddress" | "operatorRosterEntryGeneration" | "operatorRosterEntryStatus" | "operatorRosterEntryType" | "operatorRosterGeneration" | "oppContract" | "pendingConsensus" | "pendingConsensusForDigest" | "pendingEpoch" | "pendingEpochHash" | "pendingMessageCount" | "previousEpochHash" | "proxiableUUID" | "pruneInboundEnvelope" | "pubkeyAddressCache" | "rosterEpochIndex" | "rosterInitialized" | "setAttestationHandler" | "setAuthority" | "setEnvelopeRetentionConfig" | "setEpochDurationSec" | "setOPPContract" | "upgradeToAndCall"): FunctionFragment;
|
|
73
|
+
getEvent(nameOrSignatureOrTopic: "AttestationBlackholed" | "AttestationDelivered" | "AttestationHandlerSet" | "AttestationUnhandled" | "AuthorityUpdated" | "BatchOperatorGroupsRejected" | "EnvelopeChunksDiscarded" | "EnvelopeRetentionCatchUpPruned" | "EnvelopeRetentionConfigUpdated" | "EpochChunk" | "EpochComplete" | "EpochConsensus" | "EpochDelivery" | "EpochReceived" | "InitialRosterInstalled" | "Initialized" | "Upgraded"): EventFragment;
|
|
74
|
+
encodeFunctionData(functionFragment: "FIRST_INBOUND_EPOCH_INDEX", values?: undefined): string;
|
|
41
75
|
encodeFunctionData(functionFragment: "MAX_CHUNKS", values?: undefined): string;
|
|
42
76
|
encodeFunctionData(functionFragment: "MAX_CHUNK_BYTES", values?: undefined): string;
|
|
43
77
|
encodeFunctionData(functionFragment: "MAX_CHUNK_SLOTS", values?: undefined): string;
|
|
44
78
|
encodeFunctionData(functionFragment: "MAX_ENVELOPE_BYTES", values?: undefined): string;
|
|
45
|
-
encodeFunctionData(functionFragment: "MIN_SIG_WEIGHT", values?: undefined): string;
|
|
46
79
|
encodeFunctionData(functionFragment: "OPERATORS_PER_GROUP", values?: undefined): string;
|
|
47
80
|
encodeFunctionData(functionFragment: "SLOT_EMPTY", values?: undefined): string;
|
|
48
81
|
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
49
82
|
encodeFunctionData(functionFragment: "activeGroupIndex", values?: undefined): string;
|
|
50
83
|
encodeFunctionData(functionFragment: "attestationHandlers", values: [BigNumberish]): string;
|
|
51
84
|
encodeFunctionData(functionFragment: "authority", values?: undefined): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "authorizedGroupIndexFor", values: [BigNumberish]): string;
|
|
52
86
|
encodeFunctionData(functionFragment: "batchOpGroups", values: [BigNumberish, BigNumberish]): string;
|
|
53
87
|
encodeFunctionData(functionFragment: "chunkCellCount", values?: undefined): string;
|
|
54
88
|
encodeFunctionData(functionFragment: "chunkHeaderCount", values?: undefined): string;
|
|
@@ -64,10 +98,13 @@ export interface OPPInboundInterface extends Interface {
|
|
|
64
98
|
encodeFunctionData(functionFragment: "epochIn", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BytesLike]): string;
|
|
65
99
|
encodeFunctionData(functionFragment: "getInboundEnvelope", values: [BigNumberish]): string;
|
|
66
100
|
encodeFunctionData(functionFragment: "inboundEnvelopes", values: [BigNumberish]): string;
|
|
101
|
+
encodeFunctionData(functionFragment: "inboundMessageTip", values?: undefined): string;
|
|
67
102
|
encodeFunctionData(functionFragment: "inboundRetentionConfig", values?: undefined): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
|
|
103
|
+
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, BatchOperatorGroupsStruct]): string;
|
|
69
104
|
encodeFunctionData(functionFragment: "initializeChunkSlots", values?: undefined): string;
|
|
105
|
+
encodeFunctionData(functionFragment: "installInitialRoster", values: [BatchOperatorGroupsStruct]): string;
|
|
70
106
|
encodeFunctionData(functionFragment: "isActiveOperator", values: [AddressLike]): string;
|
|
107
|
+
encodeFunctionData(functionFragment: "isActiveOperatorForEpoch", values: [AddressLike, BigNumberish]): string;
|
|
71
108
|
encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
|
|
72
109
|
encodeFunctionData(functionFragment: "lastMessageID", values?: undefined): string;
|
|
73
110
|
encodeFunctionData(functionFragment: "nextEpochIndex", values?: undefined): string;
|
|
@@ -86,26 +123,26 @@ export interface OPPInboundInterface extends Interface {
|
|
|
86
123
|
encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
|
|
87
124
|
encodeFunctionData(functionFragment: "pruneInboundEnvelope", values: [BigNumberish]): string;
|
|
88
125
|
encodeFunctionData(functionFragment: "pubkeyAddressCache", values: [BytesLike]): string;
|
|
89
|
-
encodeFunctionData(functionFragment: "
|
|
126
|
+
encodeFunctionData(functionFragment: "rosterEpochIndex", values?: undefined): string;
|
|
90
127
|
encodeFunctionData(functionFragment: "rosterInitialized", values?: undefined): string;
|
|
91
128
|
encodeFunctionData(functionFragment: "setAttestationHandler", values: [BigNumberish, AddressLike]): string;
|
|
92
129
|
encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
|
|
93
130
|
encodeFunctionData(functionFragment: "setEnvelopeRetentionConfig", values: [BigNumberish]): string;
|
|
94
131
|
encodeFunctionData(functionFragment: "setEpochDurationSec", values: [BigNumberish]): string;
|
|
95
132
|
encodeFunctionData(functionFragment: "setOPPContract", values: [AddressLike]): string;
|
|
96
|
-
encodeFunctionData(functionFragment: "setReserveManagerAddress", values: [AddressLike]): string;
|
|
97
133
|
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
134
|
+
decodeFunctionResult(functionFragment: "FIRST_INBOUND_EPOCH_INDEX", data: BytesLike): Result;
|
|
98
135
|
decodeFunctionResult(functionFragment: "MAX_CHUNKS", data: BytesLike): Result;
|
|
99
136
|
decodeFunctionResult(functionFragment: "MAX_CHUNK_BYTES", data: BytesLike): Result;
|
|
100
137
|
decodeFunctionResult(functionFragment: "MAX_CHUNK_SLOTS", data: BytesLike): Result;
|
|
101
138
|
decodeFunctionResult(functionFragment: "MAX_ENVELOPE_BYTES", data: BytesLike): Result;
|
|
102
|
-
decodeFunctionResult(functionFragment: "MIN_SIG_WEIGHT", data: BytesLike): Result;
|
|
103
139
|
decodeFunctionResult(functionFragment: "OPERATORS_PER_GROUP", data: BytesLike): Result;
|
|
104
140
|
decodeFunctionResult(functionFragment: "SLOT_EMPTY", data: BytesLike): Result;
|
|
105
141
|
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
106
142
|
decodeFunctionResult(functionFragment: "activeGroupIndex", data: BytesLike): Result;
|
|
107
143
|
decodeFunctionResult(functionFragment: "attestationHandlers", data: BytesLike): Result;
|
|
108
144
|
decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
|
|
145
|
+
decodeFunctionResult(functionFragment: "authorizedGroupIndexFor", data: BytesLike): Result;
|
|
109
146
|
decodeFunctionResult(functionFragment: "batchOpGroups", data: BytesLike): Result;
|
|
110
147
|
decodeFunctionResult(functionFragment: "chunkCellCount", data: BytesLike): Result;
|
|
111
148
|
decodeFunctionResult(functionFragment: "chunkHeaderCount", data: BytesLike): Result;
|
|
@@ -121,10 +158,13 @@ export interface OPPInboundInterface extends Interface {
|
|
|
121
158
|
decodeFunctionResult(functionFragment: "epochIn", data: BytesLike): Result;
|
|
122
159
|
decodeFunctionResult(functionFragment: "getInboundEnvelope", data: BytesLike): Result;
|
|
123
160
|
decodeFunctionResult(functionFragment: "inboundEnvelopes", data: BytesLike): Result;
|
|
161
|
+
decodeFunctionResult(functionFragment: "inboundMessageTip", data: BytesLike): Result;
|
|
124
162
|
decodeFunctionResult(functionFragment: "inboundRetentionConfig", data: BytesLike): Result;
|
|
125
163
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
126
164
|
decodeFunctionResult(functionFragment: "initializeChunkSlots", data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: "installInitialRoster", data: BytesLike): Result;
|
|
127
166
|
decodeFunctionResult(functionFragment: "isActiveOperator", data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: "isActiveOperatorForEpoch", data: BytesLike): Result;
|
|
128
168
|
decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
|
|
129
169
|
decodeFunctionResult(functionFragment: "lastMessageID", data: BytesLike): Result;
|
|
130
170
|
decodeFunctionResult(functionFragment: "nextEpochIndex", data: BytesLike): Result;
|
|
@@ -143,14 +183,13 @@ export interface OPPInboundInterface extends Interface {
|
|
|
143
183
|
decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
|
|
144
184
|
decodeFunctionResult(functionFragment: "pruneInboundEnvelope", data: BytesLike): Result;
|
|
145
185
|
decodeFunctionResult(functionFragment: "pubkeyAddressCache", data: BytesLike): Result;
|
|
146
|
-
decodeFunctionResult(functionFragment: "
|
|
186
|
+
decodeFunctionResult(functionFragment: "rosterEpochIndex", data: BytesLike): Result;
|
|
147
187
|
decodeFunctionResult(functionFragment: "rosterInitialized", data: BytesLike): Result;
|
|
148
188
|
decodeFunctionResult(functionFragment: "setAttestationHandler", data: BytesLike): Result;
|
|
149
189
|
decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
|
|
150
190
|
decodeFunctionResult(functionFragment: "setEnvelopeRetentionConfig", data: BytesLike): Result;
|
|
151
191
|
decodeFunctionResult(functionFragment: "setEpochDurationSec", data: BytesLike): Result;
|
|
152
192
|
decodeFunctionResult(functionFragment: "setOPPContract", data: BytesLike): Result;
|
|
153
|
-
decodeFunctionResult(functionFragment: "setReserveManagerAddress", data: BytesLike): Result;
|
|
154
193
|
decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
|
|
155
194
|
}
|
|
156
195
|
export declare namespace AttestationBlackholedEvent {
|
|
@@ -251,6 +290,27 @@ export declare namespace AuthorityUpdatedEvent {
|
|
|
251
290
|
type Log = TypedEventLog<Event>;
|
|
252
291
|
type LogDescription = TypedLogDescription<Event>;
|
|
253
292
|
}
|
|
293
|
+
export declare namespace BatchOperatorGroupsRejectedEvent {
|
|
294
|
+
type InputTuple = [
|
|
295
|
+
epochIndex: BigNumberish,
|
|
296
|
+
attestedEpochIndex: BigNumberish,
|
|
297
|
+
rejection: BigNumberish
|
|
298
|
+
];
|
|
299
|
+
type OutputTuple = [
|
|
300
|
+
epochIndex: bigint,
|
|
301
|
+
attestedEpochIndex: bigint,
|
|
302
|
+
rejection: bigint
|
|
303
|
+
];
|
|
304
|
+
interface OutputObject {
|
|
305
|
+
epochIndex: bigint;
|
|
306
|
+
attestedEpochIndex: bigint;
|
|
307
|
+
rejection: 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
|
+
}
|
|
254
314
|
export declare namespace EnvelopeChunksDiscardedEvent {
|
|
255
315
|
type InputTuple = [epochIndex: BigNumberish, operator_: AddressLike];
|
|
256
316
|
type OutputTuple = [epochIndex: bigint, operator_: string];
|
|
@@ -390,29 +450,26 @@ export declare namespace EpochReceivedEvent {
|
|
|
390
450
|
type Log = TypedEventLog<Event>;
|
|
391
451
|
type LogDescription = TypedLogDescription<Event>;
|
|
392
452
|
}
|
|
393
|
-
export declare namespace
|
|
394
|
-
type InputTuple = [
|
|
395
|
-
|
|
453
|
+
export declare namespace InitialRosterInstalledEvent {
|
|
454
|
+
type InputTuple = [
|
|
455
|
+
groupCount: BigNumberish,
|
|
456
|
+
operatorCount: BigNumberish
|
|
457
|
+
];
|
|
458
|
+
type OutputTuple = [groupCount: bigint, operatorCount: bigint];
|
|
396
459
|
interface OutputObject {
|
|
397
|
-
|
|
460
|
+
groupCount: bigint;
|
|
461
|
+
operatorCount: bigint;
|
|
398
462
|
}
|
|
399
463
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
400
464
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
401
465
|
type Log = TypedEventLog<Event>;
|
|
402
466
|
type LogDescription = TypedLogDescription<Event>;
|
|
403
467
|
}
|
|
404
|
-
export declare namespace
|
|
405
|
-
type InputTuple = [
|
|
406
|
-
|
|
407
|
-
oldReserveManager: AddressLike
|
|
408
|
-
];
|
|
409
|
-
type OutputTuple = [
|
|
410
|
-
newReserveManager: string,
|
|
411
|
-
oldReserveManager: string
|
|
412
|
-
];
|
|
468
|
+
export declare namespace InitializedEvent {
|
|
469
|
+
type InputTuple = [version: BigNumberish];
|
|
470
|
+
type OutputTuple = [version: bigint];
|
|
413
471
|
interface OutputObject {
|
|
414
|
-
|
|
415
|
-
oldReserveManager: string;
|
|
472
|
+
version: bigint;
|
|
416
473
|
}
|
|
417
474
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
418
475
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -443,11 +500,11 @@ export interface OPPInbound extends BaseContract {
|
|
|
443
500
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
444
501
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
445
502
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
503
|
+
FIRST_INBOUND_EPOCH_INDEX: TypedContractMethod<[], [bigint], "view">;
|
|
446
504
|
MAX_CHUNKS: TypedContractMethod<[], [bigint], "view">;
|
|
447
505
|
MAX_CHUNK_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
448
506
|
MAX_CHUNK_SLOTS: TypedContractMethod<[], [bigint], "view">;
|
|
449
507
|
MAX_ENVELOPE_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
450
|
-
MIN_SIG_WEIGHT: TypedContractMethod<[], [bigint], "view">;
|
|
451
508
|
OPERATORS_PER_GROUP: TypedContractMethod<[], [bigint], "view">;
|
|
452
509
|
SLOT_EMPTY: TypedContractMethod<[], [bigint], "view">;
|
|
453
510
|
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
@@ -458,6 +515,14 @@ export interface OPPInbound extends BaseContract {
|
|
|
458
515
|
string
|
|
459
516
|
], "view">;
|
|
460
517
|
authority: TypedContractMethod<[], [string], "view">;
|
|
518
|
+
authorizedGroupIndexFor: TypedContractMethod<[
|
|
519
|
+
epochIndex_: BigNumberish
|
|
520
|
+
], [
|
|
521
|
+
[bigint, boolean] & {
|
|
522
|
+
groupIndex: bigint;
|
|
523
|
+
ok: boolean;
|
|
524
|
+
}
|
|
525
|
+
], "view">;
|
|
461
526
|
batchOpGroups: TypedContractMethod<[
|
|
462
527
|
arg0: BigNumberish,
|
|
463
528
|
arg1: BigNumberish
|
|
@@ -541,18 +606,31 @@ export interface OPPInbound extends BaseContract {
|
|
|
541
606
|
checksum: string;
|
|
542
607
|
}
|
|
543
608
|
], "view">;
|
|
609
|
+
inboundMessageTip: TypedContractMethod<[], [string], "view">;
|
|
544
610
|
inboundRetentionConfig: TypedContractMethod<[], [bigint], "view">;
|
|
545
611
|
initialize: TypedContractMethod<[
|
|
546
|
-
oppManager: AddressLike
|
|
612
|
+
oppManager: AddressLike,
|
|
613
|
+
initialGroups: BatchOperatorGroupsStruct
|
|
547
614
|
], [
|
|
548
615
|
void
|
|
549
616
|
], "nonpayable">;
|
|
550
617
|
initializeChunkSlots: TypedContractMethod<[], [void], "nonpayable">;
|
|
618
|
+
installInitialRoster: TypedContractMethod<[
|
|
619
|
+
initialGroups: BatchOperatorGroupsStruct
|
|
620
|
+
], [
|
|
621
|
+
void
|
|
622
|
+
], "nonpayable">;
|
|
551
623
|
isActiveOperator: TypedContractMethod<[
|
|
552
624
|
operator_: AddressLike
|
|
553
625
|
], [
|
|
554
626
|
boolean
|
|
555
627
|
], "view">;
|
|
628
|
+
isActiveOperatorForEpoch: TypedContractMethod<[
|
|
629
|
+
operator_: AddressLike,
|
|
630
|
+
epochIndex_: BigNumberish
|
|
631
|
+
], [
|
|
632
|
+
boolean
|
|
633
|
+
], "view">;
|
|
556
634
|
isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
|
|
557
635
|
lastMessageID: TypedContractMethod<[], [string], "view">;
|
|
558
636
|
nextEpochIndex: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -635,7 +713,7 @@ export interface OPPInbound extends BaseContract {
|
|
|
635
713
|
void
|
|
636
714
|
], "nonpayable">;
|
|
637
715
|
pubkeyAddressCache: TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
638
|
-
|
|
716
|
+
rosterEpochIndex: TypedContractMethod<[], [bigint], "view">;
|
|
639
717
|
rosterInitialized: TypedContractMethod<[], [boolean], "view">;
|
|
640
718
|
setAttestationHandler: TypedContractMethod<[
|
|
641
719
|
attestationType: BigNumberish,
|
|
@@ -659,11 +737,6 @@ export interface OPPInbound extends BaseContract {
|
|
|
659
737
|
void
|
|
660
738
|
], "nonpayable">;
|
|
661
739
|
setOPPContract: TypedContractMethod<[opp: AddressLike], [void], "nonpayable">;
|
|
662
|
-
setReserveManagerAddress: TypedContractMethod<[
|
|
663
|
-
newReserveManager: AddressLike
|
|
664
|
-
], [
|
|
665
|
-
void
|
|
666
|
-
], "nonpayable">;
|
|
667
740
|
upgradeToAndCall: TypedContractMethod<[
|
|
668
741
|
newImplementation: AddressLike,
|
|
669
742
|
data: BytesLike
|
|
@@ -671,17 +744,25 @@ export interface OPPInbound extends BaseContract {
|
|
|
671
744
|
void
|
|
672
745
|
], "payable">;
|
|
673
746
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
747
|
+
getFunction(nameOrSignature: "FIRST_INBOUND_EPOCH_INDEX"): TypedContractMethod<[], [bigint], "view">;
|
|
674
748
|
getFunction(nameOrSignature: "MAX_CHUNKS"): TypedContractMethod<[], [bigint], "view">;
|
|
675
749
|
getFunction(nameOrSignature: "MAX_CHUNK_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
676
750
|
getFunction(nameOrSignature: "MAX_CHUNK_SLOTS"): TypedContractMethod<[], [bigint], "view">;
|
|
677
751
|
getFunction(nameOrSignature: "MAX_ENVELOPE_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
678
|
-
getFunction(nameOrSignature: "MIN_SIG_WEIGHT"): TypedContractMethod<[], [bigint], "view">;
|
|
679
752
|
getFunction(nameOrSignature: "OPERATORS_PER_GROUP"): TypedContractMethod<[], [bigint], "view">;
|
|
680
753
|
getFunction(nameOrSignature: "SLOT_EMPTY"): TypedContractMethod<[], [bigint], "view">;
|
|
681
754
|
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
682
755
|
getFunction(nameOrSignature: "activeGroupIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
683
756
|
getFunction(nameOrSignature: "attestationHandlers"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
684
757
|
getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
|
|
758
|
+
getFunction(nameOrSignature: "authorizedGroupIndexFor"): TypedContractMethod<[
|
|
759
|
+
epochIndex_: BigNumberish
|
|
760
|
+
], [
|
|
761
|
+
[bigint, boolean] & {
|
|
762
|
+
groupIndex: bigint;
|
|
763
|
+
ok: boolean;
|
|
764
|
+
}
|
|
765
|
+
], "view">;
|
|
685
766
|
getFunction(nameOrSignature: "batchOpGroups"): TypedContractMethod<[
|
|
686
767
|
arg0: BigNumberish,
|
|
687
768
|
arg1: BigNumberish
|
|
@@ -761,10 +842,27 @@ export interface OPPInbound extends BaseContract {
|
|
|
761
842
|
checksum: string;
|
|
762
843
|
}
|
|
763
844
|
], "view">;
|
|
845
|
+
getFunction(nameOrSignature: "inboundMessageTip"): TypedContractMethod<[], [string], "view">;
|
|
764
846
|
getFunction(nameOrSignature: "inboundRetentionConfig"): TypedContractMethod<[], [bigint], "view">;
|
|
765
|
-
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
847
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
848
|
+
oppManager: AddressLike,
|
|
849
|
+
initialGroups: BatchOperatorGroupsStruct
|
|
850
|
+
], [
|
|
851
|
+
void
|
|
852
|
+
], "nonpayable">;
|
|
766
853
|
getFunction(nameOrSignature: "initializeChunkSlots"): TypedContractMethod<[], [void], "nonpayable">;
|
|
854
|
+
getFunction(nameOrSignature: "installInitialRoster"): TypedContractMethod<[
|
|
855
|
+
initialGroups: BatchOperatorGroupsStruct
|
|
856
|
+
], [
|
|
857
|
+
void
|
|
858
|
+
], "nonpayable">;
|
|
767
859
|
getFunction(nameOrSignature: "isActiveOperator"): TypedContractMethod<[operator_: AddressLike], [boolean], "view">;
|
|
860
|
+
getFunction(nameOrSignature: "isActiveOperatorForEpoch"): TypedContractMethod<[
|
|
861
|
+
operator_: AddressLike,
|
|
862
|
+
epochIndex_: BigNumberish
|
|
863
|
+
], [
|
|
864
|
+
boolean
|
|
865
|
+
], "view">;
|
|
768
866
|
getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
|
|
769
867
|
getFunction(nameOrSignature: "lastMessageID"): TypedContractMethod<[], [string], "view">;
|
|
770
868
|
getFunction(nameOrSignature: "nextEpochIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -831,7 +929,7 @@ export interface OPPInbound extends BaseContract {
|
|
|
831
929
|
getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
|
|
832
930
|
getFunction(nameOrSignature: "pruneInboundEnvelope"): TypedContractMethod<[epochIndex_: BigNumberish], [void], "nonpayable">;
|
|
833
931
|
getFunction(nameOrSignature: "pubkeyAddressCache"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
834
|
-
getFunction(nameOrSignature: "
|
|
932
|
+
getFunction(nameOrSignature: "rosterEpochIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
835
933
|
getFunction(nameOrSignature: "rosterInitialized"): TypedContractMethod<[], [boolean], "view">;
|
|
836
934
|
getFunction(nameOrSignature: "setAttestationHandler"): TypedContractMethod<[
|
|
837
935
|
attestationType: BigNumberish,
|
|
@@ -843,11 +941,6 @@ export interface OPPInbound extends BaseContract {
|
|
|
843
941
|
getFunction(nameOrSignature: "setEnvelopeRetentionConfig"): TypedContractMethod<[retentionEpochs: BigNumberish], [void], "nonpayable">;
|
|
844
942
|
getFunction(nameOrSignature: "setEpochDurationSec"): TypedContractMethod<[durationSec: BigNumberish], [void], "nonpayable">;
|
|
845
943
|
getFunction(nameOrSignature: "setOPPContract"): TypedContractMethod<[opp: AddressLike], [void], "nonpayable">;
|
|
846
|
-
getFunction(nameOrSignature: "setReserveManagerAddress"): TypedContractMethod<[
|
|
847
|
-
newReserveManager: AddressLike
|
|
848
|
-
], [
|
|
849
|
-
void
|
|
850
|
-
], "nonpayable">;
|
|
851
944
|
getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
|
|
852
945
|
newImplementation: AddressLike,
|
|
853
946
|
data: BytesLike
|
|
@@ -859,6 +952,7 @@ export interface OPPInbound extends BaseContract {
|
|
|
859
952
|
getEvent(key: "AttestationHandlerSet"): TypedContractEvent<AttestationHandlerSetEvent.InputTuple, AttestationHandlerSetEvent.OutputTuple, AttestationHandlerSetEvent.OutputObject>;
|
|
860
953
|
getEvent(key: "AttestationUnhandled"): TypedContractEvent<AttestationUnhandledEvent.InputTuple, AttestationUnhandledEvent.OutputTuple, AttestationUnhandledEvent.OutputObject>;
|
|
861
954
|
getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
955
|
+
getEvent(key: "BatchOperatorGroupsRejected"): TypedContractEvent<BatchOperatorGroupsRejectedEvent.InputTuple, BatchOperatorGroupsRejectedEvent.OutputTuple, BatchOperatorGroupsRejectedEvent.OutputObject>;
|
|
862
956
|
getEvent(key: "EnvelopeChunksDiscarded"): TypedContractEvent<EnvelopeChunksDiscardedEvent.InputTuple, EnvelopeChunksDiscardedEvent.OutputTuple, EnvelopeChunksDiscardedEvent.OutputObject>;
|
|
863
957
|
getEvent(key: "EnvelopeRetentionCatchUpPruned"): TypedContractEvent<EnvelopeRetentionCatchUpPrunedEvent.InputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputObject>;
|
|
864
958
|
getEvent(key: "EnvelopeRetentionConfigUpdated"): TypedContractEvent<EnvelopeRetentionConfigUpdatedEvent.InputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputObject>;
|
|
@@ -867,8 +961,8 @@ export interface OPPInbound extends BaseContract {
|
|
|
867
961
|
getEvent(key: "EpochConsensus"): TypedContractEvent<EpochConsensusEvent.InputTuple, EpochConsensusEvent.OutputTuple, EpochConsensusEvent.OutputObject>;
|
|
868
962
|
getEvent(key: "EpochDelivery"): TypedContractEvent<EpochDeliveryEvent.InputTuple, EpochDeliveryEvent.OutputTuple, EpochDeliveryEvent.OutputObject>;
|
|
869
963
|
getEvent(key: "EpochReceived"): TypedContractEvent<EpochReceivedEvent.InputTuple, EpochReceivedEvent.OutputTuple, EpochReceivedEvent.OutputObject>;
|
|
964
|
+
getEvent(key: "InitialRosterInstalled"): TypedContractEvent<InitialRosterInstalledEvent.InputTuple, InitialRosterInstalledEvent.OutputTuple, InitialRosterInstalledEvent.OutputObject>;
|
|
870
965
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
871
|
-
getEvent(key: "ReserveManagerAddressSet"): TypedContractEvent<ReserveManagerAddressSetEvent.InputTuple, ReserveManagerAddressSetEvent.OutputTuple, ReserveManagerAddressSetEvent.OutputObject>;
|
|
872
966
|
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
873
967
|
filters: {
|
|
874
968
|
"AttestationBlackholed(bytes,uint16,uint64)": TypedContractEvent<AttestationBlackholedEvent.InputTuple, AttestationBlackholedEvent.OutputTuple, AttestationBlackholedEvent.OutputObject>;
|
|
@@ -881,6 +975,8 @@ export interface OPPInbound extends BaseContract {
|
|
|
881
975
|
AttestationUnhandled: TypedContractEvent<AttestationUnhandledEvent.InputTuple, AttestationUnhandledEvent.OutputTuple, AttestationUnhandledEvent.OutputObject>;
|
|
882
976
|
"AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
883
977
|
AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
978
|
+
"BatchOperatorGroupsRejected(uint32,uint32,uint8)": TypedContractEvent<BatchOperatorGroupsRejectedEvent.InputTuple, BatchOperatorGroupsRejectedEvent.OutputTuple, BatchOperatorGroupsRejectedEvent.OutputObject>;
|
|
979
|
+
BatchOperatorGroupsRejected: TypedContractEvent<BatchOperatorGroupsRejectedEvent.InputTuple, BatchOperatorGroupsRejectedEvent.OutputTuple, BatchOperatorGroupsRejectedEvent.OutputObject>;
|
|
884
980
|
"EnvelopeChunksDiscarded(uint32,address)": TypedContractEvent<EnvelopeChunksDiscardedEvent.InputTuple, EnvelopeChunksDiscardedEvent.OutputTuple, EnvelopeChunksDiscardedEvent.OutputObject>;
|
|
885
981
|
EnvelopeChunksDiscarded: TypedContractEvent<EnvelopeChunksDiscardedEvent.InputTuple, EnvelopeChunksDiscardedEvent.OutputTuple, EnvelopeChunksDiscardedEvent.OutputObject>;
|
|
886
982
|
"EnvelopeRetentionCatchUpPruned(uint32)": TypedContractEvent<EnvelopeRetentionCatchUpPrunedEvent.InputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputObject>;
|
|
@@ -897,10 +993,10 @@ export interface OPPInbound extends BaseContract {
|
|
|
897
993
|
EpochDelivery: TypedContractEvent<EpochDeliveryEvent.InputTuple, EpochDeliveryEvent.OutputTuple, EpochDeliveryEvent.OutputObject>;
|
|
898
994
|
"EpochReceived(uint32,bytes32,uint256)": TypedContractEvent<EpochReceivedEvent.InputTuple, EpochReceivedEvent.OutputTuple, EpochReceivedEvent.OutputObject>;
|
|
899
995
|
EpochReceived: TypedContractEvent<EpochReceivedEvent.InputTuple, EpochReceivedEvent.OutputTuple, EpochReceivedEvent.OutputObject>;
|
|
996
|
+
"InitialRosterInstalled(uint32,uint32)": TypedContractEvent<InitialRosterInstalledEvent.InputTuple, InitialRosterInstalledEvent.OutputTuple, InitialRosterInstalledEvent.OutputObject>;
|
|
997
|
+
InitialRosterInstalled: TypedContractEvent<InitialRosterInstalledEvent.InputTuple, InitialRosterInstalledEvent.OutputTuple, InitialRosterInstalledEvent.OutputObject>;
|
|
900
998
|
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
901
999
|
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
902
|
-
"ReserveManagerAddressSet(address,address)": TypedContractEvent<ReserveManagerAddressSetEvent.InputTuple, ReserveManagerAddressSetEvent.OutputTuple, ReserveManagerAddressSetEvent.OutputObject>;
|
|
903
|
-
ReserveManagerAddressSet: TypedContractEvent<ReserveManagerAddressSetEvent.InputTuple, ReserveManagerAddressSetEvent.OutputTuple, ReserveManagerAddressSetEvent.OutputObject>;
|
|
904
1000
|
"Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
905
1001
|
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
906
1002
|
};
|