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