@wireio/outpost-ethereum-artifacts 0.1.1 → 0.2.1
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 +13 -4
- package/abis/BAR.json +2001 -0
- package/abis/IERC1155.json +299 -0
- package/lib/cjs/Manifest.d.ts +80 -0
- package/lib/cjs/Manifest.js +241 -0
- package/lib/cjs/contracts/BAR.d.ts +563 -0
- package/lib/cjs/contracts/BAR.js +2 -0
- package/lib/cjs/contracts/IERC1155.d.ts +232 -0
- package/lib/cjs/contracts/IERC1155.js +2 -0
- package/lib/cjs/contracts/OPP.d.ts +472 -0
- package/lib/cjs/contracts/OPP.js +2 -0
- package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
- package/lib/cjs/contracts/OPPInbound.js +2 -0
- package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
- package/lib/cjs/contracts/OperatorRegistry.js +2 -0
- package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
- package/lib/cjs/contracts/ReserveManager.js +2 -0
- package/lib/cjs/contracts/common.d.ts +50 -0
- package/lib/cjs/contracts/common.js +2 -0
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
- package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
- package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
- package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
- package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
- package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
- package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
- package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
- package/lib/cjs/contracts/factories/index.d.ts +6 -0
- package/lib/cjs/contracts/factories/index.js +18 -0
- package/lib/cjs/contracts/index.d.ts +13 -0
- package/lib/cjs/contracts/index.js +49 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +18 -0
- package/lib/cjs/package.json +3 -0
- package/lib/esm/Manifest.d.ts +80 -0
- package/lib/esm/Manifest.js +238 -0
- package/lib/esm/contracts/BAR.d.ts +563 -0
- package/lib/esm/contracts/BAR.js +1 -0
- package/lib/esm/contracts/IERC1155.d.ts +232 -0
- package/lib/esm/contracts/IERC1155.js +1 -0
- package/lib/esm/contracts/OPP.d.ts +472 -0
- package/lib/esm/contracts/OPP.js +1 -0
- package/lib/esm/contracts/OPPInbound.d.ts +907 -0
- package/lib/esm/contracts/OPPInbound.js +1 -0
- package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
- package/lib/esm/contracts/OperatorRegistry.js +1 -0
- package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
- package/lib/esm/contracts/ReserveManager.js +1 -0
- package/lib/esm/contracts/common.d.ts +50 -0
- package/lib/esm/contracts/common.js +1 -0
- package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
- package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
- package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
- package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
- package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
- package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
- package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
- package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
- package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
- package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
- package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
- package/lib/esm/contracts/factories/index.d.ts +6 -0
- package/lib/esm/contracts/factories/index.js +9 -0
- package/lib/esm/contracts/index.d.ts +13 -0
- package/lib/esm/contracts/index.js +7 -0
- package/lib/esm/index.d.ts +3 -0
- package/lib/esm/index.js +2 -0
- package/manifest.json +17 -3
- package/package.json +13 -1
- package/runtime/BAR.bin +0 -0
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
|
|
3
|
+
export type ChainIdStruct = {
|
|
4
|
+
kind: BigNumberish;
|
|
5
|
+
id: BigNumberish;
|
|
6
|
+
};
|
|
7
|
+
export type ChainIdStructOutput = [kind: bigint, id: bigint] & {
|
|
8
|
+
kind: bigint;
|
|
9
|
+
id: bigint;
|
|
10
|
+
};
|
|
11
|
+
export type EndpointsStruct = {
|
|
12
|
+
start: ChainIdStruct;
|
|
13
|
+
end: ChainIdStruct;
|
|
14
|
+
};
|
|
15
|
+
export type EndpointsStructOutput = [
|
|
16
|
+
start: ChainIdStructOutput,
|
|
17
|
+
end: ChainIdStructOutput
|
|
18
|
+
] & {
|
|
19
|
+
start: ChainIdStructOutput;
|
|
20
|
+
end: ChainIdStructOutput;
|
|
21
|
+
};
|
|
22
|
+
export type MessageHeaderStruct = {
|
|
23
|
+
endpoints: EndpointsStruct;
|
|
24
|
+
messageId: BytesLike;
|
|
25
|
+
previousMessageId: BytesLike;
|
|
26
|
+
payloadSize: BigNumberish;
|
|
27
|
+
payloadChecksum: BytesLike;
|
|
28
|
+
timestamp: BigNumberish;
|
|
29
|
+
headerChecksum: BytesLike;
|
|
30
|
+
};
|
|
31
|
+
export type MessageHeaderStructOutput = [
|
|
32
|
+
endpoints: EndpointsStructOutput,
|
|
33
|
+
messageId: string,
|
|
34
|
+
previousMessageId: string,
|
|
35
|
+
payloadSize: bigint,
|
|
36
|
+
payloadChecksum: string,
|
|
37
|
+
timestamp: bigint,
|
|
38
|
+
headerChecksum: string
|
|
39
|
+
] & {
|
|
40
|
+
endpoints: EndpointsStructOutput;
|
|
41
|
+
messageId: string;
|
|
42
|
+
previousMessageId: string;
|
|
43
|
+
payloadSize: bigint;
|
|
44
|
+
payloadChecksum: string;
|
|
45
|
+
timestamp: bigint;
|
|
46
|
+
headerChecksum: string;
|
|
47
|
+
};
|
|
48
|
+
export type AttestationEntryStruct = {
|
|
49
|
+
type_: BigNumberish;
|
|
50
|
+
dataSize: BigNumberish;
|
|
51
|
+
data: BytesLike;
|
|
52
|
+
};
|
|
53
|
+
export type AttestationEntryStructOutput = [
|
|
54
|
+
type_: bigint,
|
|
55
|
+
dataSize: bigint,
|
|
56
|
+
data: string
|
|
57
|
+
] & {
|
|
58
|
+
type_: bigint;
|
|
59
|
+
dataSize: bigint;
|
|
60
|
+
data: string;
|
|
61
|
+
};
|
|
62
|
+
export type MessagePayloadStruct = {
|
|
63
|
+
version: BigNumberish;
|
|
64
|
+
attestations: AttestationEntryStruct[];
|
|
65
|
+
};
|
|
66
|
+
export type MessagePayloadStructOutput = [
|
|
67
|
+
version: bigint,
|
|
68
|
+
attestations: AttestationEntryStructOutput[]
|
|
69
|
+
] & {
|
|
70
|
+
version: bigint;
|
|
71
|
+
attestations: AttestationEntryStructOutput[];
|
|
72
|
+
};
|
|
73
|
+
export declare namespace OPPEnvelopeRetention {
|
|
74
|
+
type EnvelopeRecordStruct = {
|
|
75
|
+
epochIndex: BigNumberish;
|
|
76
|
+
emittedAt: BigNumberish;
|
|
77
|
+
checksum: BytesLike;
|
|
78
|
+
};
|
|
79
|
+
type EnvelopeRecordStructOutput = [
|
|
80
|
+
epochIndex: bigint,
|
|
81
|
+
emittedAt: bigint,
|
|
82
|
+
checksum: string
|
|
83
|
+
] & {
|
|
84
|
+
epochIndex: bigint;
|
|
85
|
+
emittedAt: bigint;
|
|
86
|
+
checksum: string;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export interface OPPInterface extends Interface {
|
|
90
|
+
getFunction(nameOrSignature: "ENVELOPE_BASE_BYTES" | "MAX_CHUNK_BYTES" | "MAX_ENVELOPE_BYTES" | "MESSAGE_ESTIMATE_OVERHEAD_BYTES" | "OUTBOUND_WORD_COUNT" | "UPGRADE_INTERFACE_VERSION" | "addAttestation" | "allAuthorizedSenders" | "authority" | "authorizedSenders" | "emitOutboundEnvelope" | "enterSendMode" | "exitSendMode" | "getLatestOutboundEnvelope" | "getOutboundEnvelope" | "inSendMode" | "initialize" | "initializeOutboundQueueBytes" | "isConsumingScheduledOp" | "lastMessageID" | "lastMessageTimestamp" | "latestOutboundEpoch" | "oppInboundAddress" | "outboundEnvelopes" | "outboundLen" | "outboundRetentionConfig" | "pendingAttestationCount" | "prewarmOutbound" | "proxiableUUID" | "pruneOutboundEnvelope" | "queuedEstimatedBytes" | "queuedMessageCount" | "sendModeTag" | "serializeMessage" | "setAuthority" | "setEnvelopeRetentionConfig" | "setInboundDispatch" | "setOPPInbound" | "upgradeToAndCall"): FunctionFragment;
|
|
91
|
+
getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "EnvelopeRetentionCatchUpPruned" | "EnvelopeRetentionConfigUpdated" | "Initialized" | "OPPEnvelope" | "Upgraded"): EventFragment;
|
|
92
|
+
encodeFunctionData(functionFragment: "ENVELOPE_BASE_BYTES", values?: undefined): string;
|
|
93
|
+
encodeFunctionData(functionFragment: "MAX_CHUNK_BYTES", values?: undefined): string;
|
|
94
|
+
encodeFunctionData(functionFragment: "MAX_ENVELOPE_BYTES", values?: undefined): string;
|
|
95
|
+
encodeFunctionData(functionFragment: "MESSAGE_ESTIMATE_OVERHEAD_BYTES", values?: undefined): string;
|
|
96
|
+
encodeFunctionData(functionFragment: "OUTBOUND_WORD_COUNT", values?: undefined): string;
|
|
97
|
+
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
98
|
+
encodeFunctionData(functionFragment: "addAttestation", values: [BigNumberish, BytesLike]): string;
|
|
99
|
+
encodeFunctionData(functionFragment: "allAuthorizedSenders", values: [BigNumberish]): string;
|
|
100
|
+
encodeFunctionData(functionFragment: "authority", values?: undefined): string;
|
|
101
|
+
encodeFunctionData(functionFragment: "authorizedSenders", values: [BytesLike]): string;
|
|
102
|
+
encodeFunctionData(functionFragment: "emitOutboundEnvelope", values: [BigNumberish]): string;
|
|
103
|
+
encodeFunctionData(functionFragment: "enterSendMode", values: [BigNumberish]): string;
|
|
104
|
+
encodeFunctionData(functionFragment: "exitSendMode", values: [BigNumberish]): string;
|
|
105
|
+
encodeFunctionData(functionFragment: "getLatestOutboundEnvelope", values?: undefined): string;
|
|
106
|
+
encodeFunctionData(functionFragment: "getOutboundEnvelope", values: [BigNumberish]): string;
|
|
107
|
+
encodeFunctionData(functionFragment: "inSendMode", values?: undefined): string;
|
|
108
|
+
encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
|
|
109
|
+
encodeFunctionData(functionFragment: "initializeOutboundQueueBytes", values?: undefined): string;
|
|
110
|
+
encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
|
|
111
|
+
encodeFunctionData(functionFragment: "lastMessageID", values?: undefined): string;
|
|
112
|
+
encodeFunctionData(functionFragment: "lastMessageTimestamp", values?: undefined): string;
|
|
113
|
+
encodeFunctionData(functionFragment: "latestOutboundEpoch", values?: undefined): string;
|
|
114
|
+
encodeFunctionData(functionFragment: "oppInboundAddress", values?: undefined): string;
|
|
115
|
+
encodeFunctionData(functionFragment: "outboundEnvelopes", values: [BigNumberish]): string;
|
|
116
|
+
encodeFunctionData(functionFragment: "outboundLen", values?: undefined): string;
|
|
117
|
+
encodeFunctionData(functionFragment: "outboundRetentionConfig", values?: undefined): string;
|
|
118
|
+
encodeFunctionData(functionFragment: "pendingAttestationCount", values?: undefined): string;
|
|
119
|
+
encodeFunctionData(functionFragment: "prewarmOutbound", values: [BigNumberish, BigNumberish]): string;
|
|
120
|
+
encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
|
|
121
|
+
encodeFunctionData(functionFragment: "pruneOutboundEnvelope", values: [BigNumberish]): string;
|
|
122
|
+
encodeFunctionData(functionFragment: "queuedEstimatedBytes", values?: undefined): string;
|
|
123
|
+
encodeFunctionData(functionFragment: "queuedMessageCount", values?: undefined): string;
|
|
124
|
+
encodeFunctionData(functionFragment: "sendModeTag", values?: undefined): string;
|
|
125
|
+
encodeFunctionData(functionFragment: "serializeMessage", values: [MessageHeaderStruct, MessagePayloadStruct]): string;
|
|
126
|
+
encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
|
|
127
|
+
encodeFunctionData(functionFragment: "setEnvelopeRetentionConfig", values: [BigNumberish]): string;
|
|
128
|
+
encodeFunctionData(functionFragment: "setInboundDispatch", values: [boolean]): string;
|
|
129
|
+
encodeFunctionData(functionFragment: "setOPPInbound", values: [AddressLike]): string;
|
|
130
|
+
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
131
|
+
decodeFunctionResult(functionFragment: "ENVELOPE_BASE_BYTES", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "MAX_CHUNK_BYTES", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "MAX_ENVELOPE_BYTES", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "MESSAGE_ESTIMATE_OVERHEAD_BYTES", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "OUTBOUND_WORD_COUNT", data: BytesLike): Result;
|
|
136
|
+
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "addAttestation", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "allAuthorizedSenders", data: BytesLike): Result;
|
|
139
|
+
decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "authorizedSenders", data: BytesLike): Result;
|
|
141
|
+
decodeFunctionResult(functionFragment: "emitOutboundEnvelope", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "enterSendMode", data: BytesLike): Result;
|
|
143
|
+
decodeFunctionResult(functionFragment: "exitSendMode", data: BytesLike): Result;
|
|
144
|
+
decodeFunctionResult(functionFragment: "getLatestOutboundEnvelope", data: BytesLike): Result;
|
|
145
|
+
decodeFunctionResult(functionFragment: "getOutboundEnvelope", data: BytesLike): Result;
|
|
146
|
+
decodeFunctionResult(functionFragment: "inSendMode", data: BytesLike): Result;
|
|
147
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
148
|
+
decodeFunctionResult(functionFragment: "initializeOutboundQueueBytes", data: BytesLike): Result;
|
|
149
|
+
decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "lastMessageID", data: BytesLike): Result;
|
|
151
|
+
decodeFunctionResult(functionFragment: "lastMessageTimestamp", data: BytesLike): Result;
|
|
152
|
+
decodeFunctionResult(functionFragment: "latestOutboundEpoch", data: BytesLike): Result;
|
|
153
|
+
decodeFunctionResult(functionFragment: "oppInboundAddress", data: BytesLike): Result;
|
|
154
|
+
decodeFunctionResult(functionFragment: "outboundEnvelopes", data: BytesLike): Result;
|
|
155
|
+
decodeFunctionResult(functionFragment: "outboundLen", data: BytesLike): Result;
|
|
156
|
+
decodeFunctionResult(functionFragment: "outboundRetentionConfig", data: BytesLike): Result;
|
|
157
|
+
decodeFunctionResult(functionFragment: "pendingAttestationCount", data: BytesLike): Result;
|
|
158
|
+
decodeFunctionResult(functionFragment: "prewarmOutbound", data: BytesLike): Result;
|
|
159
|
+
decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
|
|
160
|
+
decodeFunctionResult(functionFragment: "pruneOutboundEnvelope", data: BytesLike): Result;
|
|
161
|
+
decodeFunctionResult(functionFragment: "queuedEstimatedBytes", data: BytesLike): Result;
|
|
162
|
+
decodeFunctionResult(functionFragment: "queuedMessageCount", data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: "sendModeTag", data: BytesLike): Result;
|
|
164
|
+
decodeFunctionResult(functionFragment: "serializeMessage", data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
|
|
166
|
+
decodeFunctionResult(functionFragment: "setEnvelopeRetentionConfig", data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: "setInboundDispatch", data: BytesLike): Result;
|
|
168
|
+
decodeFunctionResult(functionFragment: "setOPPInbound", data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
|
|
170
|
+
}
|
|
171
|
+
export declare namespace AuthorityUpdatedEvent {
|
|
172
|
+
type InputTuple = [authority: AddressLike];
|
|
173
|
+
type OutputTuple = [authority: string];
|
|
174
|
+
interface OutputObject {
|
|
175
|
+
authority: string;
|
|
176
|
+
}
|
|
177
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
178
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
179
|
+
type Log = TypedEventLog<Event>;
|
|
180
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace EnvelopeRetentionCatchUpPrunedEvent {
|
|
183
|
+
type InputTuple = [epochIndex: BigNumberish];
|
|
184
|
+
type OutputTuple = [epochIndex: bigint];
|
|
185
|
+
interface OutputObject {
|
|
186
|
+
epochIndex: bigint;
|
|
187
|
+
}
|
|
188
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
189
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
190
|
+
type Log = TypedEventLog<Event>;
|
|
191
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
192
|
+
}
|
|
193
|
+
export declare namespace EnvelopeRetentionConfigUpdatedEvent {
|
|
194
|
+
type InputTuple = [
|
|
195
|
+
previousRetentionEpochs: BigNumberish,
|
|
196
|
+
retentionEpochs: BigNumberish
|
|
197
|
+
];
|
|
198
|
+
type OutputTuple = [
|
|
199
|
+
previousRetentionEpochs: bigint,
|
|
200
|
+
retentionEpochs: bigint
|
|
201
|
+
];
|
|
202
|
+
interface OutputObject {
|
|
203
|
+
previousRetentionEpochs: bigint;
|
|
204
|
+
retentionEpochs: bigint;
|
|
205
|
+
}
|
|
206
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
207
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
208
|
+
type Log = TypedEventLog<Event>;
|
|
209
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
210
|
+
}
|
|
211
|
+
export declare namespace InitializedEvent {
|
|
212
|
+
type InputTuple = [version: BigNumberish];
|
|
213
|
+
type OutputTuple = [version: bigint];
|
|
214
|
+
interface OutputObject {
|
|
215
|
+
version: bigint;
|
|
216
|
+
}
|
|
217
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
218
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
219
|
+
type Log = TypedEventLog<Event>;
|
|
220
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
221
|
+
}
|
|
222
|
+
export declare namespace OPPEnvelopeEvent {
|
|
223
|
+
type InputTuple = [data: BytesLike];
|
|
224
|
+
type OutputTuple = [data: string];
|
|
225
|
+
interface OutputObject {
|
|
226
|
+
data: string;
|
|
227
|
+
}
|
|
228
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
229
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
230
|
+
type Log = TypedEventLog<Event>;
|
|
231
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
232
|
+
}
|
|
233
|
+
export declare namespace UpgradedEvent {
|
|
234
|
+
type InputTuple = [implementation: AddressLike];
|
|
235
|
+
type OutputTuple = [implementation: string];
|
|
236
|
+
interface OutputObject {
|
|
237
|
+
implementation: string;
|
|
238
|
+
}
|
|
239
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
240
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
241
|
+
type Log = TypedEventLog<Event>;
|
|
242
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
243
|
+
}
|
|
244
|
+
export interface OPP extends BaseContract {
|
|
245
|
+
connect(runner?: ContractRunner | null): OPP;
|
|
246
|
+
waitForDeployment(): Promise<this>;
|
|
247
|
+
interface: OPPInterface;
|
|
248
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
249
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
250
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
251
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
252
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
253
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
254
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
255
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
256
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
257
|
+
ENVELOPE_BASE_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
258
|
+
MAX_CHUNK_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
259
|
+
MAX_ENVELOPE_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
260
|
+
MESSAGE_ESTIMATE_OVERHEAD_BYTES: TypedContractMethod<[], [bigint], "view">;
|
|
261
|
+
OUTBOUND_WORD_COUNT: TypedContractMethod<[], [bigint], "view">;
|
|
262
|
+
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
263
|
+
addAttestation: TypedContractMethod<[
|
|
264
|
+
attestationType: BigNumberish,
|
|
265
|
+
data: BytesLike
|
|
266
|
+
], [
|
|
267
|
+
void
|
|
268
|
+
], "nonpayable">;
|
|
269
|
+
allAuthorizedSenders: TypedContractMethod<[
|
|
270
|
+
arg0: BigNumberish
|
|
271
|
+
], [
|
|
272
|
+
string
|
|
273
|
+
], "view">;
|
|
274
|
+
authority: TypedContractMethod<[], [string], "view">;
|
|
275
|
+
authorizedSenders: TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
|
|
276
|
+
emitOutboundEnvelope: TypedContractMethod<[
|
|
277
|
+
wireEpochIndex: BigNumberish
|
|
278
|
+
], [
|
|
279
|
+
void
|
|
280
|
+
], "nonpayable">;
|
|
281
|
+
enterSendMode: TypedContractMethod<[tag: BigNumberish], [void], "nonpayable">;
|
|
282
|
+
exitSendMode: TypedContractMethod<[tag: BigNumberish], [void], "nonpayable">;
|
|
283
|
+
getLatestOutboundEnvelope: TypedContractMethod<[
|
|
284
|
+
], [
|
|
285
|
+
[bigint, string] & {
|
|
286
|
+
epoch_: bigint;
|
|
287
|
+
data_: string;
|
|
288
|
+
}
|
|
289
|
+
], "view">;
|
|
290
|
+
getOutboundEnvelope: TypedContractMethod<[
|
|
291
|
+
epochIndex_: BigNumberish
|
|
292
|
+
], [
|
|
293
|
+
OPPEnvelopeRetention.EnvelopeRecordStructOutput
|
|
294
|
+
], "view">;
|
|
295
|
+
inSendMode: TypedContractMethod<[], [boolean], "view">;
|
|
296
|
+
initialize: TypedContractMethod<[
|
|
297
|
+
_authority: AddressLike
|
|
298
|
+
], [
|
|
299
|
+
void
|
|
300
|
+
], "nonpayable">;
|
|
301
|
+
initializeOutboundQueueBytes: TypedContractMethod<[], [void], "nonpayable">;
|
|
302
|
+
isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
|
|
303
|
+
lastMessageID: TypedContractMethod<[], [string], "view">;
|
|
304
|
+
lastMessageTimestamp: TypedContractMethod<[], [bigint], "view">;
|
|
305
|
+
latestOutboundEpoch: TypedContractMethod<[], [bigint], "view">;
|
|
306
|
+
oppInboundAddress: TypedContractMethod<[], [string], "view">;
|
|
307
|
+
outboundEnvelopes: TypedContractMethod<[
|
|
308
|
+
arg0: BigNumberish
|
|
309
|
+
], [
|
|
310
|
+
[
|
|
311
|
+
bigint,
|
|
312
|
+
bigint,
|
|
313
|
+
string
|
|
314
|
+
] & {
|
|
315
|
+
epochIndex: bigint;
|
|
316
|
+
emittedAt: bigint;
|
|
317
|
+
checksum: string;
|
|
318
|
+
}
|
|
319
|
+
], "view">;
|
|
320
|
+
outboundLen: TypedContractMethod<[], [bigint], "view">;
|
|
321
|
+
outboundRetentionConfig: TypedContractMethod<[], [bigint], "view">;
|
|
322
|
+
pendingAttestationCount: TypedContractMethod<[], [bigint], "view">;
|
|
323
|
+
prewarmOutbound: TypedContractMethod<[
|
|
324
|
+
fromWord: BigNumberish,
|
|
325
|
+
toWord: BigNumberish
|
|
326
|
+
], [
|
|
327
|
+
void
|
|
328
|
+
], "nonpayable">;
|
|
329
|
+
proxiableUUID: TypedContractMethod<[], [string], "view">;
|
|
330
|
+
pruneOutboundEnvelope: TypedContractMethod<[
|
|
331
|
+
epochIndex_: BigNumberish
|
|
332
|
+
], [
|
|
333
|
+
void
|
|
334
|
+
], "nonpayable">;
|
|
335
|
+
queuedEstimatedBytes: TypedContractMethod<[], [bigint], "view">;
|
|
336
|
+
queuedMessageCount: TypedContractMethod<[], [bigint], "view">;
|
|
337
|
+
sendModeTag: TypedContractMethod<[], [bigint], "view">;
|
|
338
|
+
serializeMessage: TypedContractMethod<[
|
|
339
|
+
header: MessageHeaderStruct,
|
|
340
|
+
payload: MessagePayloadStruct
|
|
341
|
+
], [
|
|
342
|
+
MessageHeaderStructOutput
|
|
343
|
+
], "view">;
|
|
344
|
+
setAuthority: TypedContractMethod<[
|
|
345
|
+
newAuthority: AddressLike
|
|
346
|
+
], [
|
|
347
|
+
void
|
|
348
|
+
], "nonpayable">;
|
|
349
|
+
setEnvelopeRetentionConfig: TypedContractMethod<[
|
|
350
|
+
retentionEpochs: BigNumberish
|
|
351
|
+
], [
|
|
352
|
+
void
|
|
353
|
+
], "nonpayable">;
|
|
354
|
+
setInboundDispatch: TypedContractMethod<[
|
|
355
|
+
active: boolean
|
|
356
|
+
], [
|
|
357
|
+
void
|
|
358
|
+
], "nonpayable">;
|
|
359
|
+
setOPPInbound: TypedContractMethod<[
|
|
360
|
+
oppInbound_: AddressLike
|
|
361
|
+
], [
|
|
362
|
+
void
|
|
363
|
+
], "nonpayable">;
|
|
364
|
+
upgradeToAndCall: TypedContractMethod<[
|
|
365
|
+
newImplementation: AddressLike,
|
|
366
|
+
data: BytesLike
|
|
367
|
+
], [
|
|
368
|
+
void
|
|
369
|
+
], "payable">;
|
|
370
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
371
|
+
getFunction(nameOrSignature: "ENVELOPE_BASE_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
372
|
+
getFunction(nameOrSignature: "MAX_CHUNK_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
373
|
+
getFunction(nameOrSignature: "MAX_ENVELOPE_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
374
|
+
getFunction(nameOrSignature: "MESSAGE_ESTIMATE_OVERHEAD_BYTES"): TypedContractMethod<[], [bigint], "view">;
|
|
375
|
+
getFunction(nameOrSignature: "OUTBOUND_WORD_COUNT"): TypedContractMethod<[], [bigint], "view">;
|
|
376
|
+
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
377
|
+
getFunction(nameOrSignature: "addAttestation"): TypedContractMethod<[
|
|
378
|
+
attestationType: BigNumberish,
|
|
379
|
+
data: BytesLike
|
|
380
|
+
], [
|
|
381
|
+
void
|
|
382
|
+
], "nonpayable">;
|
|
383
|
+
getFunction(nameOrSignature: "allAuthorizedSenders"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
384
|
+
getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
|
|
385
|
+
getFunction(nameOrSignature: "authorizedSenders"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
|
|
386
|
+
getFunction(nameOrSignature: "emitOutboundEnvelope"): TypedContractMethod<[wireEpochIndex: BigNumberish], [void], "nonpayable">;
|
|
387
|
+
getFunction(nameOrSignature: "enterSendMode"): TypedContractMethod<[tag: BigNumberish], [void], "nonpayable">;
|
|
388
|
+
getFunction(nameOrSignature: "exitSendMode"): TypedContractMethod<[tag: BigNumberish], [void], "nonpayable">;
|
|
389
|
+
getFunction(nameOrSignature: "getLatestOutboundEnvelope"): TypedContractMethod<[
|
|
390
|
+
], [
|
|
391
|
+
[bigint, string] & {
|
|
392
|
+
epoch_: bigint;
|
|
393
|
+
data_: string;
|
|
394
|
+
}
|
|
395
|
+
], "view">;
|
|
396
|
+
getFunction(nameOrSignature: "getOutboundEnvelope"): TypedContractMethod<[
|
|
397
|
+
epochIndex_: BigNumberish
|
|
398
|
+
], [
|
|
399
|
+
OPPEnvelopeRetention.EnvelopeRecordStructOutput
|
|
400
|
+
], "view">;
|
|
401
|
+
getFunction(nameOrSignature: "inSendMode"): TypedContractMethod<[], [boolean], "view">;
|
|
402
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_authority: AddressLike], [void], "nonpayable">;
|
|
403
|
+
getFunction(nameOrSignature: "initializeOutboundQueueBytes"): TypedContractMethod<[], [void], "nonpayable">;
|
|
404
|
+
getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
|
|
405
|
+
getFunction(nameOrSignature: "lastMessageID"): TypedContractMethod<[], [string], "view">;
|
|
406
|
+
getFunction(nameOrSignature: "lastMessageTimestamp"): TypedContractMethod<[], [bigint], "view">;
|
|
407
|
+
getFunction(nameOrSignature: "latestOutboundEpoch"): TypedContractMethod<[], [bigint], "view">;
|
|
408
|
+
getFunction(nameOrSignature: "oppInboundAddress"): TypedContractMethod<[], [string], "view">;
|
|
409
|
+
getFunction(nameOrSignature: "outboundEnvelopes"): TypedContractMethod<[
|
|
410
|
+
arg0: BigNumberish
|
|
411
|
+
], [
|
|
412
|
+
[
|
|
413
|
+
bigint,
|
|
414
|
+
bigint,
|
|
415
|
+
string
|
|
416
|
+
] & {
|
|
417
|
+
epochIndex: bigint;
|
|
418
|
+
emittedAt: bigint;
|
|
419
|
+
checksum: string;
|
|
420
|
+
}
|
|
421
|
+
], "view">;
|
|
422
|
+
getFunction(nameOrSignature: "outboundLen"): TypedContractMethod<[], [bigint], "view">;
|
|
423
|
+
getFunction(nameOrSignature: "outboundRetentionConfig"): TypedContractMethod<[], [bigint], "view">;
|
|
424
|
+
getFunction(nameOrSignature: "pendingAttestationCount"): TypedContractMethod<[], [bigint], "view">;
|
|
425
|
+
getFunction(nameOrSignature: "prewarmOutbound"): TypedContractMethod<[
|
|
426
|
+
fromWord: BigNumberish,
|
|
427
|
+
toWord: BigNumberish
|
|
428
|
+
], [
|
|
429
|
+
void
|
|
430
|
+
], "nonpayable">;
|
|
431
|
+
getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
|
|
432
|
+
getFunction(nameOrSignature: "pruneOutboundEnvelope"): TypedContractMethod<[epochIndex_: BigNumberish], [void], "nonpayable">;
|
|
433
|
+
getFunction(nameOrSignature: "queuedEstimatedBytes"): TypedContractMethod<[], [bigint], "view">;
|
|
434
|
+
getFunction(nameOrSignature: "queuedMessageCount"): TypedContractMethod<[], [bigint], "view">;
|
|
435
|
+
getFunction(nameOrSignature: "sendModeTag"): TypedContractMethod<[], [bigint], "view">;
|
|
436
|
+
getFunction(nameOrSignature: "serializeMessage"): TypedContractMethod<[
|
|
437
|
+
header: MessageHeaderStruct,
|
|
438
|
+
payload: MessagePayloadStruct
|
|
439
|
+
], [
|
|
440
|
+
MessageHeaderStructOutput
|
|
441
|
+
], "view">;
|
|
442
|
+
getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
|
|
443
|
+
getFunction(nameOrSignature: "setEnvelopeRetentionConfig"): TypedContractMethod<[retentionEpochs: BigNumberish], [void], "nonpayable">;
|
|
444
|
+
getFunction(nameOrSignature: "setInboundDispatch"): TypedContractMethod<[active: boolean], [void], "nonpayable">;
|
|
445
|
+
getFunction(nameOrSignature: "setOPPInbound"): TypedContractMethod<[oppInbound_: AddressLike], [void], "nonpayable">;
|
|
446
|
+
getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
|
|
447
|
+
newImplementation: AddressLike,
|
|
448
|
+
data: BytesLike
|
|
449
|
+
], [
|
|
450
|
+
void
|
|
451
|
+
], "payable">;
|
|
452
|
+
getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
453
|
+
getEvent(key: "EnvelopeRetentionCatchUpPruned"): TypedContractEvent<EnvelopeRetentionCatchUpPrunedEvent.InputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputObject>;
|
|
454
|
+
getEvent(key: "EnvelopeRetentionConfigUpdated"): TypedContractEvent<EnvelopeRetentionConfigUpdatedEvent.InputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputObject>;
|
|
455
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
456
|
+
getEvent(key: "OPPEnvelope"): TypedContractEvent<OPPEnvelopeEvent.InputTuple, OPPEnvelopeEvent.OutputTuple, OPPEnvelopeEvent.OutputObject>;
|
|
457
|
+
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
458
|
+
filters: {
|
|
459
|
+
"AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
460
|
+
AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
461
|
+
"EnvelopeRetentionCatchUpPruned(uint32)": TypedContractEvent<EnvelopeRetentionCatchUpPrunedEvent.InputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputObject>;
|
|
462
|
+
EnvelopeRetentionCatchUpPruned: TypedContractEvent<EnvelopeRetentionCatchUpPrunedEvent.InputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputTuple, EnvelopeRetentionCatchUpPrunedEvent.OutputObject>;
|
|
463
|
+
"EnvelopeRetentionConfigUpdated(uint32,uint32)": TypedContractEvent<EnvelopeRetentionConfigUpdatedEvent.InputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputObject>;
|
|
464
|
+
EnvelopeRetentionConfigUpdated: TypedContractEvent<EnvelopeRetentionConfigUpdatedEvent.InputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputTuple, EnvelopeRetentionConfigUpdatedEvent.OutputObject>;
|
|
465
|
+
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
466
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
467
|
+
"OPPEnvelope(bytes)": TypedContractEvent<OPPEnvelopeEvent.InputTuple, OPPEnvelopeEvent.OutputTuple, OPPEnvelopeEvent.OutputObject>;
|
|
468
|
+
OPPEnvelope: TypedContractEvent<OPPEnvelopeEvent.InputTuple, OPPEnvelopeEvent.OutputTuple, OPPEnvelopeEvent.OutputObject>;
|
|
469
|
+
"Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
470
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
471
|
+
};
|
|
472
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|