@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.
Files changed (75) hide show
  1. package/README.md +13 -4
  2. package/abis/BAR.json +2001 -0
  3. package/abis/IERC1155.json +299 -0
  4. package/lib/cjs/Manifest.d.ts +80 -0
  5. package/lib/cjs/Manifest.js +241 -0
  6. package/lib/cjs/contracts/BAR.d.ts +563 -0
  7. package/lib/cjs/contracts/BAR.js +2 -0
  8. package/lib/cjs/contracts/IERC1155.d.ts +232 -0
  9. package/lib/cjs/contracts/IERC1155.js +2 -0
  10. package/lib/cjs/contracts/OPP.d.ts +472 -0
  11. package/lib/cjs/contracts/OPP.js +2 -0
  12. package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
  13. package/lib/cjs/contracts/OPPInbound.js +2 -0
  14. package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
  15. package/lib/cjs/contracts/OperatorRegistry.js +2 -0
  16. package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
  17. package/lib/cjs/contracts/ReserveManager.js +2 -0
  18. package/lib/cjs/contracts/common.d.ts +50 -0
  19. package/lib/cjs/contracts/common.js +2 -0
  20. package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
  21. package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
  22. package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
  23. package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  25. package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
  26. package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
  27. package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
  28. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  29. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
  30. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  31. package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
  32. package/lib/cjs/contracts/factories/index.d.ts +6 -0
  33. package/lib/cjs/contracts/factories/index.js +18 -0
  34. package/lib/cjs/contracts/index.d.ts +13 -0
  35. package/lib/cjs/contracts/index.js +49 -0
  36. package/lib/cjs/index.d.ts +3 -0
  37. package/lib/cjs/index.js +18 -0
  38. package/lib/cjs/package.json +3 -0
  39. package/lib/esm/Manifest.d.ts +80 -0
  40. package/lib/esm/Manifest.js +238 -0
  41. package/lib/esm/contracts/BAR.d.ts +563 -0
  42. package/lib/esm/contracts/BAR.js +1 -0
  43. package/lib/esm/contracts/IERC1155.d.ts +232 -0
  44. package/lib/esm/contracts/IERC1155.js +1 -0
  45. package/lib/esm/contracts/OPP.d.ts +472 -0
  46. package/lib/esm/contracts/OPP.js +1 -0
  47. package/lib/esm/contracts/OPPInbound.d.ts +907 -0
  48. package/lib/esm/contracts/OPPInbound.js +1 -0
  49. package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
  50. package/lib/esm/contracts/OperatorRegistry.js +1 -0
  51. package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
  52. package/lib/esm/contracts/ReserveManager.js +1 -0
  53. package/lib/esm/contracts/common.d.ts +50 -0
  54. package/lib/esm/contracts/common.js +1 -0
  55. package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
  56. package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
  57. package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
  58. package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
  59. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  60. package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
  61. package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
  62. package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
  63. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  64. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
  65. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  66. package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
  67. package/lib/esm/contracts/factories/index.d.ts +6 -0
  68. package/lib/esm/contracts/factories/index.js +9 -0
  69. package/lib/esm/contracts/index.d.ts +13 -0
  70. package/lib/esm/contracts/index.js +7 -0
  71. package/lib/esm/index.d.ts +3 -0
  72. package/lib/esm/index.js +2 -0
  73. package/manifest.json +17 -3
  74. package/package.json +13 -1
  75. package/runtime/BAR.bin +0 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,592 @@
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 AttestationEntryStruct = {
4
+ type_: BigNumberish;
5
+ dataSize: BigNumberish;
6
+ data: BytesLike;
7
+ };
8
+ export type AttestationEntryStructOutput = [
9
+ type_: bigint,
10
+ dataSize: bigint,
11
+ data: string
12
+ ] & {
13
+ type_: bigint;
14
+ dataSize: bigint;
15
+ data: string;
16
+ };
17
+ export interface OperatorRegistryInterface extends Interface {
18
+ getFunction(nameOrSignature: "DEPOSIT_REVERT_ATTESTATION" | "DEPOSIT_REVERT_GAS_MULTIPLIER" | "MAX_UIC_LEG_BYTES" | "OPERATOR_ACTION_ATTESTATION" | "OPPAttestationIn" | "UNDERWRITE_INTENT_COMMIT_ATTESTATION" | "UPGRADE_INTERFACE_VERSION" | "__OPPEndpointManaged_init" | "authority" | "commit" | "deposit" | "depositNonNative" | "depositedByCode" | "getSummaryAttestations" | "initialize" | "isConsumingScheduledOp" | "liqToken" | "liqTokenCode" | "nativeTokenCode" | "operators" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "outpostId" | "proxiableUUID" | "reserveManagerAddress" | "setAuthority" | "setLiqToken" | "setLiqTokenCode" | "setNativeTokenCode" | "setOPPAddresses" | "setOutpostChainCode" | "setOutpostId" | "setReserveManagerAddress" | "slash" | "upgradeToAndCall" | "withdraw"): FunctionFragment;
19
+ getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "DepositReverted" | "Initialized" | "LiqTokenCodeSet" | "NativeTokenCodeSet" | "OperatorDeposited" | "OperatorSlashed" | "OutpostChainCodeSet" | "UnderwriteCommitRelayed" | "Upgraded" | "WithdrawRemitted" | "WithdrawRequested"): EventFragment;
20
+ encodeFunctionData(functionFragment: "DEPOSIT_REVERT_ATTESTATION", values?: undefined): string;
21
+ encodeFunctionData(functionFragment: "DEPOSIT_REVERT_GAS_MULTIPLIER", values?: undefined): string;
22
+ encodeFunctionData(functionFragment: "MAX_UIC_LEG_BYTES", values?: undefined): string;
23
+ encodeFunctionData(functionFragment: "OPERATOR_ACTION_ATTESTATION", values?: undefined): string;
24
+ encodeFunctionData(functionFragment: "OPPAttestationIn", values: [BigNumberish, BytesLike]): string;
25
+ encodeFunctionData(functionFragment: "UNDERWRITE_INTENT_COMMIT_ATTESTATION", values?: undefined): string;
26
+ encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
27
+ encodeFunctionData(functionFragment: "__OPPEndpointManaged_init", values: [AddressLike]): string;
28
+ encodeFunctionData(functionFragment: "authority", values?: undefined): string;
29
+ encodeFunctionData(functionFragment: "commit", values: [BytesLike]): string;
30
+ encodeFunctionData(functionFragment: "deposit", values: [BigNumberish, BytesLike, BigNumberish, BigNumberish]): string;
31
+ encodeFunctionData(functionFragment: "depositNonNative", values: [
32
+ BigNumberish,
33
+ BigNumberish,
34
+ BigNumberish,
35
+ BigNumberish,
36
+ BytesLike,
37
+ BigNumberish
38
+ ]): string;
39
+ encodeFunctionData(functionFragment: "depositedByCode", values: [AddressLike, BigNumberish]): string;
40
+ encodeFunctionData(functionFragment: "getSummaryAttestations", values?: undefined): string;
41
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
42
+ encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
43
+ encodeFunctionData(functionFragment: "liqToken", values?: undefined): string;
44
+ encodeFunctionData(functionFragment: "liqTokenCode", values?: undefined): string;
45
+ encodeFunctionData(functionFragment: "nativeTokenCode", values?: undefined): string;
46
+ encodeFunctionData(functionFragment: "operators", values: [AddressLike]): string;
47
+ encodeFunctionData(functionFragment: "oppAddress", values?: undefined): string;
48
+ encodeFunctionData(functionFragment: "oppInboundAddress", values?: undefined): string;
49
+ encodeFunctionData(functionFragment: "outpostChainCode", values?: undefined): string;
50
+ encodeFunctionData(functionFragment: "outpostId", values?: undefined): string;
51
+ encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
52
+ encodeFunctionData(functionFragment: "reserveManagerAddress", values?: undefined): string;
53
+ encodeFunctionData(functionFragment: "setAuthority", values: [AddressLike]): string;
54
+ encodeFunctionData(functionFragment: "setLiqToken", values: [AddressLike]): string;
55
+ encodeFunctionData(functionFragment: "setLiqTokenCode", values: [BigNumberish]): string;
56
+ encodeFunctionData(functionFragment: "setNativeTokenCode", values: [BigNumberish]): string;
57
+ encodeFunctionData(functionFragment: "setOPPAddresses", values: [AddressLike, AddressLike]): string;
58
+ encodeFunctionData(functionFragment: "setOutpostChainCode", values: [BigNumberish]): string;
59
+ encodeFunctionData(functionFragment: "setOutpostId", values: [BigNumberish]): string;
60
+ encodeFunctionData(functionFragment: "setReserveManagerAddress", values: [AddressLike]): string;
61
+ encodeFunctionData(functionFragment: "slash", values: [AddressLike, BigNumberish, BigNumberish, string]): string;
62
+ encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
63
+ encodeFunctionData(functionFragment: "withdraw", values: [BytesLike, BigNumberish, BigNumberish]): string;
64
+ decodeFunctionResult(functionFragment: "DEPOSIT_REVERT_ATTESTATION", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "DEPOSIT_REVERT_GAS_MULTIPLIER", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "MAX_UIC_LEG_BYTES", data: BytesLike): Result;
67
+ decodeFunctionResult(functionFragment: "OPERATOR_ACTION_ATTESTATION", data: BytesLike): Result;
68
+ decodeFunctionResult(functionFragment: "OPPAttestationIn", data: BytesLike): Result;
69
+ decodeFunctionResult(functionFragment: "UNDERWRITE_INTENT_COMMIT_ATTESTATION", data: BytesLike): Result;
70
+ decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "__OPPEndpointManaged_init", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "commit", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
75
+ decodeFunctionResult(functionFragment: "depositNonNative", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "depositedByCode", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "getSummaryAttestations", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
79
+ decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "liqToken", data: BytesLike): Result;
81
+ decodeFunctionResult(functionFragment: "liqTokenCode", data: BytesLike): Result;
82
+ decodeFunctionResult(functionFragment: "nativeTokenCode", data: BytesLike): Result;
83
+ decodeFunctionResult(functionFragment: "operators", data: BytesLike): Result;
84
+ decodeFunctionResult(functionFragment: "oppAddress", data: BytesLike): Result;
85
+ decodeFunctionResult(functionFragment: "oppInboundAddress", data: BytesLike): Result;
86
+ decodeFunctionResult(functionFragment: "outpostChainCode", data: BytesLike): Result;
87
+ decodeFunctionResult(functionFragment: "outpostId", data: BytesLike): Result;
88
+ decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
89
+ decodeFunctionResult(functionFragment: "reserveManagerAddress", data: BytesLike): Result;
90
+ decodeFunctionResult(functionFragment: "setAuthority", data: BytesLike): Result;
91
+ decodeFunctionResult(functionFragment: "setLiqToken", data: BytesLike): Result;
92
+ decodeFunctionResult(functionFragment: "setLiqTokenCode", data: BytesLike): Result;
93
+ decodeFunctionResult(functionFragment: "setNativeTokenCode", data: BytesLike): Result;
94
+ decodeFunctionResult(functionFragment: "setOPPAddresses", data: BytesLike): Result;
95
+ decodeFunctionResult(functionFragment: "setOutpostChainCode", data: BytesLike): Result;
96
+ decodeFunctionResult(functionFragment: "setOutpostId", data: BytesLike): Result;
97
+ decodeFunctionResult(functionFragment: "setReserveManagerAddress", data: BytesLike): Result;
98
+ decodeFunctionResult(functionFragment: "slash", data: BytesLike): Result;
99
+ decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
100
+ decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
101
+ }
102
+ export declare namespace AuthorityUpdatedEvent {
103
+ type InputTuple = [authority: AddressLike];
104
+ type OutputTuple = [authority: string];
105
+ interface OutputObject {
106
+ authority: string;
107
+ }
108
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
109
+ type Filter = TypedDeferredTopicFilter<Event>;
110
+ type Log = TypedEventLog<Event>;
111
+ type LogDescription = TypedLogDescription<Event>;
112
+ }
113
+ export declare namespace DepositRevertedEvent {
114
+ type InputTuple = [
115
+ depositor: AddressLike,
116
+ tokenCode: BigNumberish,
117
+ refundedToDepositor: BigNumberish,
118
+ penaltyToReserve: BigNumberish,
119
+ originalMessageId: BytesLike,
120
+ reason: string
121
+ ];
122
+ type OutputTuple = [
123
+ depositor: string,
124
+ tokenCode: bigint,
125
+ refundedToDepositor: bigint,
126
+ penaltyToReserve: bigint,
127
+ originalMessageId: string,
128
+ reason: string
129
+ ];
130
+ interface OutputObject {
131
+ depositor: string;
132
+ tokenCode: bigint;
133
+ refundedToDepositor: bigint;
134
+ penaltyToReserve: bigint;
135
+ originalMessageId: string;
136
+ reason: string;
137
+ }
138
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
139
+ type Filter = TypedDeferredTopicFilter<Event>;
140
+ type Log = TypedEventLog<Event>;
141
+ type LogDescription = TypedLogDescription<Event>;
142
+ }
143
+ export declare namespace InitializedEvent {
144
+ type InputTuple = [version: BigNumberish];
145
+ type OutputTuple = [version: bigint];
146
+ interface OutputObject {
147
+ version: bigint;
148
+ }
149
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
150
+ type Filter = TypedDeferredTopicFilter<Event>;
151
+ type Log = TypedEventLog<Event>;
152
+ type LogDescription = TypedLogDescription<Event>;
153
+ }
154
+ export declare namespace LiqTokenCodeSetEvent {
155
+ type InputTuple = [tokenCode: BigNumberish];
156
+ type OutputTuple = [tokenCode: bigint];
157
+ interface OutputObject {
158
+ tokenCode: bigint;
159
+ }
160
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
161
+ type Filter = TypedDeferredTopicFilter<Event>;
162
+ type Log = TypedEventLog<Event>;
163
+ type LogDescription = TypedLogDescription<Event>;
164
+ }
165
+ export declare namespace NativeTokenCodeSetEvent {
166
+ type InputTuple = [tokenCode: BigNumberish];
167
+ type OutputTuple = [tokenCode: bigint];
168
+ interface OutputObject {
169
+ tokenCode: bigint;
170
+ }
171
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
172
+ type Filter = TypedDeferredTopicFilter<Event>;
173
+ type Log = TypedEventLog<Event>;
174
+ type LogDescription = TypedLogDescription<Event>;
175
+ }
176
+ export declare namespace OperatorDepositedEvent {
177
+ type InputTuple = [
178
+ operator: AddressLike,
179
+ operatorType: BigNumberish,
180
+ tokenCode: BigNumberish,
181
+ amount: BigNumberish
182
+ ];
183
+ type OutputTuple = [
184
+ operator: string,
185
+ operatorType: bigint,
186
+ tokenCode: bigint,
187
+ amount: bigint
188
+ ];
189
+ interface OutputObject {
190
+ operator: string;
191
+ operatorType: bigint;
192
+ tokenCode: bigint;
193
+ amount: bigint;
194
+ }
195
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
196
+ type Filter = TypedDeferredTopicFilter<Event>;
197
+ type Log = TypedEventLog<Event>;
198
+ type LogDescription = TypedLogDescription<Event>;
199
+ }
200
+ export declare namespace OperatorSlashedEvent {
201
+ type InputTuple = [
202
+ operator: AddressLike,
203
+ tokenCode: BigNumberish,
204
+ amount: BigNumberish,
205
+ reserveCode: BigNumberish,
206
+ reserveTarget: AddressLike,
207
+ reason: string
208
+ ];
209
+ type OutputTuple = [
210
+ operator: string,
211
+ tokenCode: bigint,
212
+ amount: bigint,
213
+ reserveCode: bigint,
214
+ reserveTarget: string,
215
+ reason: string
216
+ ];
217
+ interface OutputObject {
218
+ operator: string;
219
+ tokenCode: bigint;
220
+ amount: bigint;
221
+ reserveCode: bigint;
222
+ reserveTarget: string;
223
+ reason: string;
224
+ }
225
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
226
+ type Filter = TypedDeferredTopicFilter<Event>;
227
+ type Log = TypedEventLog<Event>;
228
+ type LogDescription = TypedLogDescription<Event>;
229
+ }
230
+ export declare namespace OutpostChainCodeSetEvent {
231
+ type InputTuple = [chainCode: BigNumberish];
232
+ type OutputTuple = [chainCode: bigint];
233
+ interface OutputObject {
234
+ chainCode: bigint;
235
+ }
236
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
237
+ type Filter = TypedDeferredTopicFilter<Event>;
238
+ type Log = TypedEventLog<Event>;
239
+ type LogDescription = TypedLogDescription<Event>;
240
+ }
241
+ export declare namespace UnderwriteCommitRelayedEvent {
242
+ type InputTuple = [underwriter: AddressLike, uicBytes: BytesLike];
243
+ type OutputTuple = [underwriter: string, uicBytes: string];
244
+ interface OutputObject {
245
+ underwriter: string;
246
+ uicBytes: string;
247
+ }
248
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
249
+ type Filter = TypedDeferredTopicFilter<Event>;
250
+ type Log = TypedEventLog<Event>;
251
+ type LogDescription = TypedLogDescription<Event>;
252
+ }
253
+ export declare namespace UpgradedEvent {
254
+ type InputTuple = [implementation: AddressLike];
255
+ type OutputTuple = [implementation: string];
256
+ interface OutputObject {
257
+ implementation: string;
258
+ }
259
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
260
+ type Filter = TypedDeferredTopicFilter<Event>;
261
+ type Log = TypedEventLog<Event>;
262
+ type LogDescription = TypedLogDescription<Event>;
263
+ }
264
+ export declare namespace WithdrawRemittedEvent {
265
+ type InputTuple = [
266
+ operator: AddressLike,
267
+ tokenCode: BigNumberish,
268
+ amount: BigNumberish,
269
+ requestId: BigNumberish
270
+ ];
271
+ type OutputTuple = [
272
+ operator: string,
273
+ tokenCode: bigint,
274
+ amount: bigint,
275
+ requestId: bigint
276
+ ];
277
+ interface OutputObject {
278
+ operator: string;
279
+ tokenCode: bigint;
280
+ amount: bigint;
281
+ requestId: bigint;
282
+ }
283
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
284
+ type Filter = TypedDeferredTopicFilter<Event>;
285
+ type Log = TypedEventLog<Event>;
286
+ type LogDescription = TypedLogDescription<Event>;
287
+ }
288
+ export declare namespace WithdrawRequestedEvent {
289
+ type InputTuple = [
290
+ operator: AddressLike,
291
+ tokenCode: BigNumberish,
292
+ amount: BigNumberish,
293
+ requestId: BigNumberish
294
+ ];
295
+ type OutputTuple = [
296
+ operator: string,
297
+ tokenCode: bigint,
298
+ amount: bigint,
299
+ requestId: bigint
300
+ ];
301
+ interface OutputObject {
302
+ operator: string;
303
+ tokenCode: bigint;
304
+ amount: bigint;
305
+ requestId: bigint;
306
+ }
307
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
308
+ type Filter = TypedDeferredTopicFilter<Event>;
309
+ type Log = TypedEventLog<Event>;
310
+ type LogDescription = TypedLogDescription<Event>;
311
+ }
312
+ export interface OperatorRegistry extends BaseContract {
313
+ connect(runner?: ContractRunner | null): OperatorRegistry;
314
+ waitForDeployment(): Promise<this>;
315
+ interface: OperatorRegistryInterface;
316
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
317
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
318
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
319
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
320
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
321
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
322
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
323
+ listeners(eventName?: string): Promise<Array<Listener>>;
324
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
325
+ DEPOSIT_REVERT_ATTESTATION: TypedContractMethod<[], [bigint], "view">;
326
+ DEPOSIT_REVERT_GAS_MULTIPLIER: TypedContractMethod<[], [bigint], "view">;
327
+ MAX_UIC_LEG_BYTES: TypedContractMethod<[], [bigint], "view">;
328
+ OPERATOR_ACTION_ATTESTATION: TypedContractMethod<[], [bigint], "view">;
329
+ OPPAttestationIn: TypedContractMethod<[
330
+ attestationType: BigNumberish,
331
+ data: BytesLike
332
+ ], [
333
+ void
334
+ ], "nonpayable">;
335
+ UNDERWRITE_INTENT_COMMIT_ATTESTATION: TypedContractMethod<[
336
+ ], [
337
+ bigint
338
+ ], "view">;
339
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
340
+ __OPPEndpointManaged_init: TypedContractMethod<[
341
+ owner: AddressLike
342
+ ], [
343
+ void
344
+ ], "nonpayable">;
345
+ authority: TypedContractMethod<[], [string], "view">;
346
+ commit: TypedContractMethod<[uicBytes: BytesLike], [void], "nonpayable">;
347
+ deposit: TypedContractMethod<[
348
+ operatorType: BigNumberish,
349
+ compressedPubkey: BytesLike,
350
+ tokenCode: BigNumberish,
351
+ amount: BigNumberish
352
+ ], [
353
+ void
354
+ ], "payable">;
355
+ depositNonNative: TypedContractMethod<[
356
+ chainCode: BigNumberish,
357
+ tokenCode: BigNumberish,
358
+ reserveCode: BigNumberish,
359
+ operatorType: BigNumberish,
360
+ compressedPubkey: BytesLike,
361
+ amount: BigNumberish
362
+ ], [
363
+ void
364
+ ], "nonpayable">;
365
+ depositedByCode: TypedContractMethod<[
366
+ arg0: AddressLike,
367
+ arg1: BigNumberish
368
+ ], [
369
+ bigint
370
+ ], "view">;
371
+ getSummaryAttestations: TypedContractMethod<[
372
+ ], [
373
+ AttestationEntryStructOutput[]
374
+ ], "nonpayable">;
375
+ initialize: TypedContractMethod<[
376
+ _authority: AddressLike
377
+ ], [
378
+ void
379
+ ], "nonpayable">;
380
+ isConsumingScheduledOp: TypedContractMethod<[], [string], "view">;
381
+ liqToken: TypedContractMethod<[], [string], "view">;
382
+ liqTokenCode: TypedContractMethod<[], [bigint], "view">;
383
+ nativeTokenCode: TypedContractMethod<[], [bigint], "view">;
384
+ operators: TypedContractMethod<[
385
+ arg0: AddressLike
386
+ ], [
387
+ [bigint, bigint] & {
388
+ operatorType: bigint;
389
+ status: bigint;
390
+ }
391
+ ], "view">;
392
+ oppAddress: TypedContractMethod<[], [string], "view">;
393
+ oppInboundAddress: TypedContractMethod<[], [string], "view">;
394
+ outpostChainCode: TypedContractMethod<[], [bigint], "view">;
395
+ outpostId: TypedContractMethod<[], [bigint], "view">;
396
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
397
+ reserveManagerAddress: TypedContractMethod<[], [string], "view">;
398
+ setAuthority: TypedContractMethod<[
399
+ newAuthority: AddressLike
400
+ ], [
401
+ void
402
+ ], "nonpayable">;
403
+ setLiqToken: TypedContractMethod<[
404
+ _liqToken: AddressLike
405
+ ], [
406
+ void
407
+ ], "nonpayable">;
408
+ setLiqTokenCode: TypedContractMethod<[
409
+ tokenCode: BigNumberish
410
+ ], [
411
+ void
412
+ ], "nonpayable">;
413
+ setNativeTokenCode: TypedContractMethod<[
414
+ tokenCode: BigNumberish
415
+ ], [
416
+ void
417
+ ], "nonpayable">;
418
+ setOPPAddresses: TypedContractMethod<[
419
+ _oppAddress: AddressLike,
420
+ _oppInboundAddress: AddressLike
421
+ ], [
422
+ void
423
+ ], "nonpayable">;
424
+ setOutpostChainCode: TypedContractMethod<[
425
+ chainCode: BigNumberish
426
+ ], [
427
+ void
428
+ ], "nonpayable">;
429
+ setOutpostId: TypedContractMethod<[
430
+ _outpostId: BigNumberish
431
+ ], [
432
+ void
433
+ ], "nonpayable">;
434
+ setReserveManagerAddress: TypedContractMethod<[
435
+ _reserveManager: AddressLike
436
+ ], [
437
+ void
438
+ ], "nonpayable">;
439
+ slash: TypedContractMethod<[
440
+ operator: AddressLike,
441
+ tokenCode: BigNumberish,
442
+ reserveCode: BigNumberish,
443
+ reason: string
444
+ ], [
445
+ void
446
+ ], "nonpayable">;
447
+ upgradeToAndCall: TypedContractMethod<[
448
+ newImplementation: AddressLike,
449
+ data: BytesLike
450
+ ], [
451
+ void
452
+ ], "payable">;
453
+ withdraw: TypedContractMethod<[
454
+ compressedPubkey: BytesLike,
455
+ tokenCode: BigNumberish,
456
+ amount: BigNumberish
457
+ ], [
458
+ void
459
+ ], "nonpayable">;
460
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
461
+ getFunction(nameOrSignature: "DEPOSIT_REVERT_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
462
+ getFunction(nameOrSignature: "DEPOSIT_REVERT_GAS_MULTIPLIER"): TypedContractMethod<[], [bigint], "view">;
463
+ getFunction(nameOrSignature: "MAX_UIC_LEG_BYTES"): TypedContractMethod<[], [bigint], "view">;
464
+ getFunction(nameOrSignature: "OPERATOR_ACTION_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
465
+ getFunction(nameOrSignature: "OPPAttestationIn"): TypedContractMethod<[
466
+ attestationType: BigNumberish,
467
+ data: BytesLike
468
+ ], [
469
+ void
470
+ ], "nonpayable">;
471
+ getFunction(nameOrSignature: "UNDERWRITE_INTENT_COMMIT_ATTESTATION"): TypedContractMethod<[], [bigint], "view">;
472
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
473
+ getFunction(nameOrSignature: "__OPPEndpointManaged_init"): TypedContractMethod<[owner: AddressLike], [void], "nonpayable">;
474
+ getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
475
+ getFunction(nameOrSignature: "commit"): TypedContractMethod<[uicBytes: BytesLike], [void], "nonpayable">;
476
+ getFunction(nameOrSignature: "deposit"): TypedContractMethod<[
477
+ operatorType: BigNumberish,
478
+ compressedPubkey: BytesLike,
479
+ tokenCode: BigNumberish,
480
+ amount: BigNumberish
481
+ ], [
482
+ void
483
+ ], "payable">;
484
+ getFunction(nameOrSignature: "depositNonNative"): TypedContractMethod<[
485
+ chainCode: BigNumberish,
486
+ tokenCode: BigNumberish,
487
+ reserveCode: BigNumberish,
488
+ operatorType: BigNumberish,
489
+ compressedPubkey: BytesLike,
490
+ amount: BigNumberish
491
+ ], [
492
+ void
493
+ ], "nonpayable">;
494
+ getFunction(nameOrSignature: "depositedByCode"): TypedContractMethod<[
495
+ arg0: AddressLike,
496
+ arg1: BigNumberish
497
+ ], [
498
+ bigint
499
+ ], "view">;
500
+ getFunction(nameOrSignature: "getSummaryAttestations"): TypedContractMethod<[], [AttestationEntryStructOutput[]], "nonpayable">;
501
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_authority: AddressLike], [void], "nonpayable">;
502
+ getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
503
+ getFunction(nameOrSignature: "liqToken"): TypedContractMethod<[], [string], "view">;
504
+ getFunction(nameOrSignature: "liqTokenCode"): TypedContractMethod<[], [bigint], "view">;
505
+ getFunction(nameOrSignature: "nativeTokenCode"): TypedContractMethod<[], [bigint], "view">;
506
+ getFunction(nameOrSignature: "operators"): TypedContractMethod<[
507
+ arg0: AddressLike
508
+ ], [
509
+ [bigint, bigint] & {
510
+ operatorType: bigint;
511
+ status: bigint;
512
+ }
513
+ ], "view">;
514
+ getFunction(nameOrSignature: "oppAddress"): TypedContractMethod<[], [string], "view">;
515
+ getFunction(nameOrSignature: "oppInboundAddress"): TypedContractMethod<[], [string], "view">;
516
+ getFunction(nameOrSignature: "outpostChainCode"): TypedContractMethod<[], [bigint], "view">;
517
+ getFunction(nameOrSignature: "outpostId"): TypedContractMethod<[], [bigint], "view">;
518
+ getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
519
+ getFunction(nameOrSignature: "reserveManagerAddress"): TypedContractMethod<[], [string], "view">;
520
+ getFunction(nameOrSignature: "setAuthority"): TypedContractMethod<[newAuthority: AddressLike], [void], "nonpayable">;
521
+ getFunction(nameOrSignature: "setLiqToken"): TypedContractMethod<[_liqToken: AddressLike], [void], "nonpayable">;
522
+ getFunction(nameOrSignature: "setLiqTokenCode"): TypedContractMethod<[tokenCode: BigNumberish], [void], "nonpayable">;
523
+ getFunction(nameOrSignature: "setNativeTokenCode"): TypedContractMethod<[tokenCode: BigNumberish], [void], "nonpayable">;
524
+ getFunction(nameOrSignature: "setOPPAddresses"): TypedContractMethod<[
525
+ _oppAddress: AddressLike,
526
+ _oppInboundAddress: AddressLike
527
+ ], [
528
+ void
529
+ ], "nonpayable">;
530
+ getFunction(nameOrSignature: "setOutpostChainCode"): TypedContractMethod<[chainCode: BigNumberish], [void], "nonpayable">;
531
+ getFunction(nameOrSignature: "setOutpostId"): TypedContractMethod<[_outpostId: BigNumberish], [void], "nonpayable">;
532
+ getFunction(nameOrSignature: "setReserveManagerAddress"): TypedContractMethod<[_reserveManager: AddressLike], [void], "nonpayable">;
533
+ getFunction(nameOrSignature: "slash"): TypedContractMethod<[
534
+ operator: AddressLike,
535
+ tokenCode: BigNumberish,
536
+ reserveCode: BigNumberish,
537
+ reason: string
538
+ ], [
539
+ void
540
+ ], "nonpayable">;
541
+ getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
542
+ newImplementation: AddressLike,
543
+ data: BytesLike
544
+ ], [
545
+ void
546
+ ], "payable">;
547
+ getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
548
+ compressedPubkey: BytesLike,
549
+ tokenCode: BigNumberish,
550
+ amount: BigNumberish
551
+ ], [
552
+ void
553
+ ], "nonpayable">;
554
+ getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
555
+ getEvent(key: "DepositReverted"): TypedContractEvent<DepositRevertedEvent.InputTuple, DepositRevertedEvent.OutputTuple, DepositRevertedEvent.OutputObject>;
556
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
557
+ getEvent(key: "LiqTokenCodeSet"): TypedContractEvent<LiqTokenCodeSetEvent.InputTuple, LiqTokenCodeSetEvent.OutputTuple, LiqTokenCodeSetEvent.OutputObject>;
558
+ getEvent(key: "NativeTokenCodeSet"): TypedContractEvent<NativeTokenCodeSetEvent.InputTuple, NativeTokenCodeSetEvent.OutputTuple, NativeTokenCodeSetEvent.OutputObject>;
559
+ getEvent(key: "OperatorDeposited"): TypedContractEvent<OperatorDepositedEvent.InputTuple, OperatorDepositedEvent.OutputTuple, OperatorDepositedEvent.OutputObject>;
560
+ getEvent(key: "OperatorSlashed"): TypedContractEvent<OperatorSlashedEvent.InputTuple, OperatorSlashedEvent.OutputTuple, OperatorSlashedEvent.OutputObject>;
561
+ getEvent(key: "OutpostChainCodeSet"): TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
562
+ getEvent(key: "UnderwriteCommitRelayed"): TypedContractEvent<UnderwriteCommitRelayedEvent.InputTuple, UnderwriteCommitRelayedEvent.OutputTuple, UnderwriteCommitRelayedEvent.OutputObject>;
563
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
564
+ getEvent(key: "WithdrawRemitted"): TypedContractEvent<WithdrawRemittedEvent.InputTuple, WithdrawRemittedEvent.OutputTuple, WithdrawRemittedEvent.OutputObject>;
565
+ getEvent(key: "WithdrawRequested"): TypedContractEvent<WithdrawRequestedEvent.InputTuple, WithdrawRequestedEvent.OutputTuple, WithdrawRequestedEvent.OutputObject>;
566
+ filters: {
567
+ "AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
568
+ AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
569
+ "DepositReverted(address,uint64,uint256,uint256,bytes,string)": TypedContractEvent<DepositRevertedEvent.InputTuple, DepositRevertedEvent.OutputTuple, DepositRevertedEvent.OutputObject>;
570
+ DepositReverted: TypedContractEvent<DepositRevertedEvent.InputTuple, DepositRevertedEvent.OutputTuple, DepositRevertedEvent.OutputObject>;
571
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
572
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
573
+ "LiqTokenCodeSet(uint64)": TypedContractEvent<LiqTokenCodeSetEvent.InputTuple, LiqTokenCodeSetEvent.OutputTuple, LiqTokenCodeSetEvent.OutputObject>;
574
+ LiqTokenCodeSet: TypedContractEvent<LiqTokenCodeSetEvent.InputTuple, LiqTokenCodeSetEvent.OutputTuple, LiqTokenCodeSetEvent.OutputObject>;
575
+ "NativeTokenCodeSet(uint64)": TypedContractEvent<NativeTokenCodeSetEvent.InputTuple, NativeTokenCodeSetEvent.OutputTuple, NativeTokenCodeSetEvent.OutputObject>;
576
+ NativeTokenCodeSet: TypedContractEvent<NativeTokenCodeSetEvent.InputTuple, NativeTokenCodeSetEvent.OutputTuple, NativeTokenCodeSetEvent.OutputObject>;
577
+ "OperatorDeposited(address,uint8,uint64,uint256)": TypedContractEvent<OperatorDepositedEvent.InputTuple, OperatorDepositedEvent.OutputTuple, OperatorDepositedEvent.OutputObject>;
578
+ OperatorDeposited: TypedContractEvent<OperatorDepositedEvent.InputTuple, OperatorDepositedEvent.OutputTuple, OperatorDepositedEvent.OutputObject>;
579
+ "OperatorSlashed(address,uint64,uint256,uint64,address,string)": TypedContractEvent<OperatorSlashedEvent.InputTuple, OperatorSlashedEvent.OutputTuple, OperatorSlashedEvent.OutputObject>;
580
+ OperatorSlashed: TypedContractEvent<OperatorSlashedEvent.InputTuple, OperatorSlashedEvent.OutputTuple, OperatorSlashedEvent.OutputObject>;
581
+ "OutpostChainCodeSet(uint64)": TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
582
+ OutpostChainCodeSet: TypedContractEvent<OutpostChainCodeSetEvent.InputTuple, OutpostChainCodeSetEvent.OutputTuple, OutpostChainCodeSetEvent.OutputObject>;
583
+ "UnderwriteCommitRelayed(address,bytes)": TypedContractEvent<UnderwriteCommitRelayedEvent.InputTuple, UnderwriteCommitRelayedEvent.OutputTuple, UnderwriteCommitRelayedEvent.OutputObject>;
584
+ UnderwriteCommitRelayed: TypedContractEvent<UnderwriteCommitRelayedEvent.InputTuple, UnderwriteCommitRelayedEvent.OutputTuple, UnderwriteCommitRelayedEvent.OutputObject>;
585
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
586
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
587
+ "WithdrawRemitted(address,uint64,uint256,uint64)": TypedContractEvent<WithdrawRemittedEvent.InputTuple, WithdrawRemittedEvent.OutputTuple, WithdrawRemittedEvent.OutputObject>;
588
+ WithdrawRemitted: TypedContractEvent<WithdrawRemittedEvent.InputTuple, WithdrawRemittedEvent.OutputTuple, WithdrawRemittedEvent.OutputObject>;
589
+ "WithdrawRequested(address,uint64,uint256,uint64)": TypedContractEvent<WithdrawRequestedEvent.InputTuple, WithdrawRequestedEvent.OutputTuple, WithdrawRequestedEvent.OutputObject>;
590
+ WithdrawRequested: TypedContractEvent<WithdrawRequestedEvent.InputTuple, WithdrawRequestedEvent.OutputTuple, WithdrawRequestedEvent.OutputObject>;
591
+ };
592
+ }
@@ -0,0 +1 @@
1
+ export {};