@snowbridge/contract-types 0.1.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.
@@ -0,0 +1,479 @@
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";
3
+ export type MultiAddressStruct = {
4
+ kind: BigNumberish;
5
+ data: BytesLike;
6
+ };
7
+ export type MultiAddressStructOutput = [kind: bigint, data: string] & {
8
+ kind: bigint;
9
+ data: string;
10
+ };
11
+ export type InboundMessageStruct = {
12
+ channelID: BytesLike;
13
+ nonce: BigNumberish;
14
+ command: BigNumberish;
15
+ params: BytesLike;
16
+ maxDispatchGas: BigNumberish;
17
+ maxFeePerGas: BigNumberish;
18
+ reward: BigNumberish;
19
+ id: BytesLike;
20
+ };
21
+ export type InboundMessageStructOutput = [
22
+ channelID: string,
23
+ nonce: bigint,
24
+ command: bigint,
25
+ params: string,
26
+ maxDispatchGas: bigint,
27
+ maxFeePerGas: bigint,
28
+ reward: bigint,
29
+ id: string
30
+ ] & {
31
+ channelID: string;
32
+ nonce: bigint;
33
+ command: bigint;
34
+ params: string;
35
+ maxDispatchGas: bigint;
36
+ maxFeePerGas: bigint;
37
+ reward: bigint;
38
+ id: string;
39
+ };
40
+ export declare namespace Verification {
41
+ type DigestItemStruct = {
42
+ kind: BigNumberish;
43
+ consensusEngineID: BytesLike;
44
+ data: BytesLike;
45
+ };
46
+ type DigestItemStructOutput = [
47
+ kind: bigint,
48
+ consensusEngineID: string,
49
+ data: string
50
+ ] & {
51
+ kind: bigint;
52
+ consensusEngineID: string;
53
+ data: string;
54
+ };
55
+ type ParachainHeaderStruct = {
56
+ parentHash: BytesLike;
57
+ number: BigNumberish;
58
+ stateRoot: BytesLike;
59
+ extrinsicsRoot: BytesLike;
60
+ digestItems: Verification.DigestItemStruct[];
61
+ };
62
+ type ParachainHeaderStructOutput = [
63
+ parentHash: string,
64
+ number: bigint,
65
+ stateRoot: string,
66
+ extrinsicsRoot: string,
67
+ digestItems: Verification.DigestItemStructOutput[]
68
+ ] & {
69
+ parentHash: string;
70
+ number: bigint;
71
+ stateRoot: string;
72
+ extrinsicsRoot: string;
73
+ digestItems: Verification.DigestItemStructOutput[];
74
+ };
75
+ type HeadProofStruct = {
76
+ pos: BigNumberish;
77
+ width: BigNumberish;
78
+ proof: BytesLike[];
79
+ };
80
+ type HeadProofStructOutput = [
81
+ pos: bigint,
82
+ width: bigint,
83
+ proof: string[]
84
+ ] & {
85
+ pos: bigint;
86
+ width: bigint;
87
+ proof: string[];
88
+ };
89
+ type MMRLeafPartialStruct = {
90
+ version: BigNumberish;
91
+ parentNumber: BigNumberish;
92
+ parentHash: BytesLike;
93
+ nextAuthoritySetID: BigNumberish;
94
+ nextAuthoritySetLen: BigNumberish;
95
+ nextAuthoritySetRoot: BytesLike;
96
+ };
97
+ type MMRLeafPartialStructOutput = [
98
+ version: bigint,
99
+ parentNumber: bigint,
100
+ parentHash: string,
101
+ nextAuthoritySetID: bigint,
102
+ nextAuthoritySetLen: bigint,
103
+ nextAuthoritySetRoot: string
104
+ ] & {
105
+ version: bigint;
106
+ parentNumber: bigint;
107
+ parentHash: string;
108
+ nextAuthoritySetID: bigint;
109
+ nextAuthoritySetLen: bigint;
110
+ nextAuthoritySetRoot: string;
111
+ };
112
+ type ProofStruct = {
113
+ header: Verification.ParachainHeaderStruct;
114
+ headProof: Verification.HeadProofStruct;
115
+ leafPartial: Verification.MMRLeafPartialStruct;
116
+ leafProof: BytesLike[];
117
+ leafProofOrder: BigNumberish;
118
+ };
119
+ type ProofStructOutput = [
120
+ header: Verification.ParachainHeaderStructOutput,
121
+ headProof: Verification.HeadProofStructOutput,
122
+ leafPartial: Verification.MMRLeafPartialStructOutput,
123
+ leafProof: string[],
124
+ leafProofOrder: bigint
125
+ ] & {
126
+ header: Verification.ParachainHeaderStructOutput;
127
+ headProof: Verification.HeadProofStructOutput;
128
+ leafPartial: Verification.MMRLeafPartialStructOutput;
129
+ leafProof: string[];
130
+ leafProofOrder: bigint;
131
+ };
132
+ }
133
+ export interface IGatewayInterface extends Interface {
134
+ getFunction(nameOrSignature: "agentOf" | "channelNoncesOf" | "channelOperatingModeOf" | "implementation" | "isTokenRegistered" | "operatingMode" | "pricingParameters" | "quoteRegisterTokenFee" | "quoteSendTokenFee" | "registerToken" | "sendToken" | "submitV1"): FunctionFragment;
135
+ getEvent(nameOrSignatureOrTopic: "AgentCreated" | "AgentFundsWithdrawn" | "ChannelCreated" | "ChannelUpdated" | "InboundMessageDispatched" | "OperatingModeChanged" | "OutboundMessageAccepted" | "PricingParametersChanged" | "TokenRegistrationSent" | "TokenSent" | "TokenTransferFeesChanged" | "Upgraded"): EventFragment;
136
+ encodeFunctionData(functionFragment: "agentOf", values: [BytesLike]): string;
137
+ encodeFunctionData(functionFragment: "channelNoncesOf", values: [BytesLike]): string;
138
+ encodeFunctionData(functionFragment: "channelOperatingModeOf", values: [BytesLike]): string;
139
+ encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
140
+ encodeFunctionData(functionFragment: "isTokenRegistered", values: [AddressLike]): string;
141
+ encodeFunctionData(functionFragment: "operatingMode", values?: undefined): string;
142
+ encodeFunctionData(functionFragment: "pricingParameters", values?: undefined): string;
143
+ encodeFunctionData(functionFragment: "quoteRegisterTokenFee", values?: undefined): string;
144
+ encodeFunctionData(functionFragment: "quoteSendTokenFee", values: [AddressLike, BigNumberish, BigNumberish]): string;
145
+ encodeFunctionData(functionFragment: "registerToken", values: [AddressLike]): string;
146
+ encodeFunctionData(functionFragment: "sendToken", values: [
147
+ AddressLike,
148
+ BigNumberish,
149
+ MultiAddressStruct,
150
+ BigNumberish,
151
+ BigNumberish
152
+ ]): string;
153
+ encodeFunctionData(functionFragment: "submitV1", values: [InboundMessageStruct, BytesLike[], Verification.ProofStruct]): string;
154
+ decodeFunctionResult(functionFragment: "agentOf", data: BytesLike): Result;
155
+ decodeFunctionResult(functionFragment: "channelNoncesOf", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "channelOperatingModeOf", data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "isTokenRegistered", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "operatingMode", data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: "pricingParameters", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "quoteRegisterTokenFee", data: BytesLike): Result;
162
+ decodeFunctionResult(functionFragment: "quoteSendTokenFee", data: BytesLike): Result;
163
+ decodeFunctionResult(functionFragment: "registerToken", data: BytesLike): Result;
164
+ decodeFunctionResult(functionFragment: "sendToken", data: BytesLike): Result;
165
+ decodeFunctionResult(functionFragment: "submitV1", data: BytesLike): Result;
166
+ }
167
+ export declare namespace AgentCreatedEvent {
168
+ type InputTuple = [agentID: BytesLike, agent: AddressLike];
169
+ type OutputTuple = [agentID: string, agent: string];
170
+ interface OutputObject {
171
+ agentID: string;
172
+ agent: string;
173
+ }
174
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
175
+ type Filter = TypedDeferredTopicFilter<Event>;
176
+ type Log = TypedEventLog<Event>;
177
+ type LogDescription = TypedLogDescription<Event>;
178
+ }
179
+ export declare namespace AgentFundsWithdrawnEvent {
180
+ type InputTuple = [
181
+ agentID: BytesLike,
182
+ recipient: AddressLike,
183
+ amount: BigNumberish
184
+ ];
185
+ type OutputTuple = [
186
+ agentID: string,
187
+ recipient: string,
188
+ amount: bigint
189
+ ];
190
+ interface OutputObject {
191
+ agentID: string;
192
+ recipient: string;
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 ChannelCreatedEvent {
201
+ type InputTuple = [channelID: BytesLike];
202
+ type OutputTuple = [channelID: string];
203
+ interface OutputObject {
204
+ channelID: string;
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 ChannelUpdatedEvent {
212
+ type InputTuple = [channelID: BytesLike];
213
+ type OutputTuple = [channelID: string];
214
+ interface OutputObject {
215
+ channelID: string;
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 InboundMessageDispatchedEvent {
223
+ type InputTuple = [
224
+ channelID: BytesLike,
225
+ nonce: BigNumberish,
226
+ messageID: BytesLike,
227
+ success: boolean
228
+ ];
229
+ type OutputTuple = [
230
+ channelID: string,
231
+ nonce: bigint,
232
+ messageID: string,
233
+ success: boolean
234
+ ];
235
+ interface OutputObject {
236
+ channelID: string;
237
+ nonce: bigint;
238
+ messageID: string;
239
+ success: boolean;
240
+ }
241
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
242
+ type Filter = TypedDeferredTopicFilter<Event>;
243
+ type Log = TypedEventLog<Event>;
244
+ type LogDescription = TypedLogDescription<Event>;
245
+ }
246
+ export declare namespace OperatingModeChangedEvent {
247
+ type InputTuple = [mode: BigNumberish];
248
+ type OutputTuple = [mode: bigint];
249
+ interface OutputObject {
250
+ mode: bigint;
251
+ }
252
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
253
+ type Filter = TypedDeferredTopicFilter<Event>;
254
+ type Log = TypedEventLog<Event>;
255
+ type LogDescription = TypedLogDescription<Event>;
256
+ }
257
+ export declare namespace OutboundMessageAcceptedEvent {
258
+ type InputTuple = [
259
+ channelID: BytesLike,
260
+ nonce: BigNumberish,
261
+ messageID: BytesLike,
262
+ payload: BytesLike
263
+ ];
264
+ type OutputTuple = [
265
+ channelID: string,
266
+ nonce: bigint,
267
+ messageID: string,
268
+ payload: string
269
+ ];
270
+ interface OutputObject {
271
+ channelID: string;
272
+ nonce: bigint;
273
+ messageID: string;
274
+ payload: string;
275
+ }
276
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
277
+ type Filter = TypedDeferredTopicFilter<Event>;
278
+ type Log = TypedEventLog<Event>;
279
+ type LogDescription = TypedLogDescription<Event>;
280
+ }
281
+ export declare namespace PricingParametersChangedEvent {
282
+ type InputTuple = [];
283
+ type OutputTuple = [];
284
+ interface OutputObject {
285
+ }
286
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
287
+ type Filter = TypedDeferredTopicFilter<Event>;
288
+ type Log = TypedEventLog<Event>;
289
+ type LogDescription = TypedLogDescription<Event>;
290
+ }
291
+ export declare namespace TokenRegistrationSentEvent {
292
+ type InputTuple = [token: AddressLike];
293
+ type OutputTuple = [token: string];
294
+ interface OutputObject {
295
+ token: string;
296
+ }
297
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
298
+ type Filter = TypedDeferredTopicFilter<Event>;
299
+ type Log = TypedEventLog<Event>;
300
+ type LogDescription = TypedLogDescription<Event>;
301
+ }
302
+ export declare namespace TokenSentEvent {
303
+ type InputTuple = [
304
+ token: AddressLike,
305
+ sender: AddressLike,
306
+ destinationChain: BigNumberish,
307
+ destinationAddress: MultiAddressStruct,
308
+ amount: BigNumberish
309
+ ];
310
+ type OutputTuple = [
311
+ token: string,
312
+ sender: string,
313
+ destinationChain: bigint,
314
+ destinationAddress: MultiAddressStructOutput,
315
+ amount: bigint
316
+ ];
317
+ interface OutputObject {
318
+ token: string;
319
+ sender: string;
320
+ destinationChain: bigint;
321
+ destinationAddress: MultiAddressStructOutput;
322
+ amount: bigint;
323
+ }
324
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
325
+ type Filter = TypedDeferredTopicFilter<Event>;
326
+ type Log = TypedEventLog<Event>;
327
+ type LogDescription = TypedLogDescription<Event>;
328
+ }
329
+ export declare namespace TokenTransferFeesChangedEvent {
330
+ type InputTuple = [];
331
+ type OutputTuple = [];
332
+ interface OutputObject {
333
+ }
334
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
335
+ type Filter = TypedDeferredTopicFilter<Event>;
336
+ type Log = TypedEventLog<Event>;
337
+ type LogDescription = TypedLogDescription<Event>;
338
+ }
339
+ export declare namespace UpgradedEvent {
340
+ type InputTuple = [implementation: AddressLike];
341
+ type OutputTuple = [implementation: string];
342
+ interface OutputObject {
343
+ implementation: string;
344
+ }
345
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
346
+ type Filter = TypedDeferredTopicFilter<Event>;
347
+ type Log = TypedEventLog<Event>;
348
+ type LogDescription = TypedLogDescription<Event>;
349
+ }
350
+ export interface IGateway extends BaseContract {
351
+ connect(runner?: ContractRunner | null): IGateway;
352
+ waitForDeployment(): Promise<this>;
353
+ interface: IGatewayInterface;
354
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
355
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
356
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
357
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
358
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
359
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
360
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
361
+ listeners(eventName?: string): Promise<Array<Listener>>;
362
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
363
+ agentOf: TypedContractMethod<[agentID: BytesLike], [string], "view">;
364
+ channelNoncesOf: TypedContractMethod<[
365
+ channelID: BytesLike
366
+ ], [
367
+ [bigint, bigint]
368
+ ], "view">;
369
+ channelOperatingModeOf: TypedContractMethod<[
370
+ channelID: BytesLike
371
+ ], [
372
+ bigint
373
+ ], "view">;
374
+ implementation: TypedContractMethod<[], [string], "view">;
375
+ isTokenRegistered: TypedContractMethod<[
376
+ token: AddressLike
377
+ ], [
378
+ boolean
379
+ ], "view">;
380
+ operatingMode: TypedContractMethod<[], [bigint], "view">;
381
+ pricingParameters: TypedContractMethod<[], [[bigint, bigint]], "view">;
382
+ quoteRegisterTokenFee: TypedContractMethod<[], [bigint], "view">;
383
+ quoteSendTokenFee: TypedContractMethod<[
384
+ token: AddressLike,
385
+ destinationChain: BigNumberish,
386
+ destinationFee: BigNumberish
387
+ ], [
388
+ bigint
389
+ ], "view">;
390
+ registerToken: TypedContractMethod<[token: AddressLike], [void], "payable">;
391
+ sendToken: TypedContractMethod<[
392
+ token: AddressLike,
393
+ destinationChain: BigNumberish,
394
+ destinationAddress: MultiAddressStruct,
395
+ destinationFee: BigNumberish,
396
+ amount: BigNumberish
397
+ ], [
398
+ void
399
+ ], "payable">;
400
+ submitV1: TypedContractMethod<[
401
+ message: InboundMessageStruct,
402
+ leafProof: BytesLike[],
403
+ headerProof: Verification.ProofStruct
404
+ ], [
405
+ void
406
+ ], "nonpayable">;
407
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
408
+ getFunction(nameOrSignature: "agentOf"): TypedContractMethod<[agentID: BytesLike], [string], "view">;
409
+ getFunction(nameOrSignature: "channelNoncesOf"): TypedContractMethod<[channelID: BytesLike], [[bigint, bigint]], "view">;
410
+ getFunction(nameOrSignature: "channelOperatingModeOf"): TypedContractMethod<[channelID: BytesLike], [bigint], "view">;
411
+ getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
412
+ getFunction(nameOrSignature: "isTokenRegistered"): TypedContractMethod<[token: AddressLike], [boolean], "view">;
413
+ getFunction(nameOrSignature: "operatingMode"): TypedContractMethod<[], [bigint], "view">;
414
+ getFunction(nameOrSignature: "pricingParameters"): TypedContractMethod<[], [[bigint, bigint]], "view">;
415
+ getFunction(nameOrSignature: "quoteRegisterTokenFee"): TypedContractMethod<[], [bigint], "view">;
416
+ getFunction(nameOrSignature: "quoteSendTokenFee"): TypedContractMethod<[
417
+ token: AddressLike,
418
+ destinationChain: BigNumberish,
419
+ destinationFee: BigNumberish
420
+ ], [
421
+ bigint
422
+ ], "view">;
423
+ getFunction(nameOrSignature: "registerToken"): TypedContractMethod<[token: AddressLike], [void], "payable">;
424
+ getFunction(nameOrSignature: "sendToken"): TypedContractMethod<[
425
+ token: AddressLike,
426
+ destinationChain: BigNumberish,
427
+ destinationAddress: MultiAddressStruct,
428
+ destinationFee: BigNumberish,
429
+ amount: BigNumberish
430
+ ], [
431
+ void
432
+ ], "payable">;
433
+ getFunction(nameOrSignature: "submitV1"): TypedContractMethod<[
434
+ message: InboundMessageStruct,
435
+ leafProof: BytesLike[],
436
+ headerProof: Verification.ProofStruct
437
+ ], [
438
+ void
439
+ ], "nonpayable">;
440
+ getEvent(key: "AgentCreated"): TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
441
+ getEvent(key: "AgentFundsWithdrawn"): TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
442
+ getEvent(key: "ChannelCreated"): TypedContractEvent<ChannelCreatedEvent.InputTuple, ChannelCreatedEvent.OutputTuple, ChannelCreatedEvent.OutputObject>;
443
+ getEvent(key: "ChannelUpdated"): TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
444
+ getEvent(key: "InboundMessageDispatched"): TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
445
+ getEvent(key: "OperatingModeChanged"): TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
446
+ getEvent(key: "OutboundMessageAccepted"): TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
447
+ getEvent(key: "PricingParametersChanged"): TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
448
+ getEvent(key: "TokenRegistrationSent"): TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
449
+ getEvent(key: "TokenSent"): TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
450
+ getEvent(key: "TokenTransferFeesChanged"): TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
451
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
452
+ filters: {
453
+ "AgentCreated(bytes32,address)": TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
454
+ AgentCreated: TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
455
+ "AgentFundsWithdrawn(bytes32,address,uint256)": TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
456
+ AgentFundsWithdrawn: TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
457
+ "ChannelCreated(bytes32)": TypedContractEvent<ChannelCreatedEvent.InputTuple, ChannelCreatedEvent.OutputTuple, ChannelCreatedEvent.OutputObject>;
458
+ ChannelCreated: TypedContractEvent<ChannelCreatedEvent.InputTuple, ChannelCreatedEvent.OutputTuple, ChannelCreatedEvent.OutputObject>;
459
+ "ChannelUpdated(bytes32)": TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
460
+ ChannelUpdated: TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
461
+ "InboundMessageDispatched(bytes32,uint64,bytes32,bool)": TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
462
+ InboundMessageDispatched: TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
463
+ "OperatingModeChanged(uint8)": TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
464
+ OperatingModeChanged: TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
465
+ "OutboundMessageAccepted(bytes32,uint64,bytes32,bytes)": TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
466
+ OutboundMessageAccepted: TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
467
+ "PricingParametersChanged()": TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
468
+ PricingParametersChanged: TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
469
+ "TokenRegistrationSent(address)": TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
470
+ TokenRegistrationSent: TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
471
+ "TokenSent(address,address,uint32,tuple,uint128)": TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
472
+ TokenSent: TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
473
+ "TokenTransferFeesChanged()": TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
474
+ TokenTransferFeesChanged: TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
475
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
476
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
477
+ };
478
+ }
479
+ //# sourceMappingURL=IGateway.d.ts.map
@@ -0,0 +1 @@
1
+ {"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S,EAAE,kBAAkB,CAC3B,cAAc,CAAC,UAAU,EACzB,cAAc,CAAC,WAAW,EAC1B,cAAc,CAAC,YAAY,CAC5B,CAAC;QAEF,4BAA4B,EAAE,kBAAkB,CAC9C,6BAA6B,CAAC,UAAU,EACxC,6BAA6B,CAAC,WAAW,EACzC,6BAA6B,CAAC,YAAY,CAC3C,CAAC;QACF,wBAAwB,EAAE,kBAAkB,CAC1C,6BAA6B,CAAC,UAAU,EACxC,6BAA6B,CAAC,WAAW,EACzC,6BAA6B,CAAC,YAAY,CAC3C,CAAC;QAEF,mBAAmB,EAAE,kBAAkB,CACrC,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;KACH,CAAC;CACH"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ import type { FunctionFragment, Typed, EventFragment, ContractTransaction, ContractTransactionResponse, DeferredTopicFilter, EventLog, TransactionRequest, LogDescription } from "ethers";
2
+ export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> extends DeferredTopicFilter {
3
+ }
4
+ export interface TypedContractEvent<InputTuple extends Array<any> = any, OutputTuple extends Array<any> = any, OutputObject = any> {
5
+ (...args: Partial<InputTuple>): TypedDeferredTopicFilter<TypedContractEvent<InputTuple, OutputTuple, OutputObject>>;
6
+ name: string;
7
+ fragment: EventFragment;
8
+ getFragment(...args: Partial<InputTuple>): EventFragment;
9
+ }
10
+ type __TypechainAOutputTuple<T> = T extends TypedContractEvent<infer _U, infer W> ? W : never;
11
+ type __TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? V : never;
12
+ export interface TypedEventLog<TCEvent extends TypedContractEvent> extends Omit<EventLog, "args"> {
13
+ args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
14
+ }
15
+ export interface TypedLogDescription<TCEvent extends TypedContractEvent> extends Omit<LogDescription, "args"> {
16
+ args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
17
+ }
18
+ export type TypedListener<TCEvent extends TypedContractEvent> = (...listenerArg: [
19
+ ...__TypechainAOutputTuple<TCEvent>,
20
+ TypedEventLog<TCEvent>,
21
+ ...undefined[]
22
+ ]) => void;
23
+ export type MinEthersFactory<C, ARGS> = {
24
+ deploy(...a: ARGS[]): Promise<C>;
25
+ };
26
+ export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<infer C, any> ? C : never;
27
+ export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any> ? Parameters<F["deploy"]> : never;
28
+ export type StateMutability = "nonpayable" | "payable" | "view";
29
+ export type BaseOverrides = Omit<TransactionRequest, "to" | "data">;
30
+ export type NonPayableOverrides = Omit<BaseOverrides, "value" | "blockTag" | "enableCcipRead">;
31
+ export type PayableOverrides = Omit<BaseOverrides, "blockTag" | "enableCcipRead">;
32
+ export type ViewOverrides = Omit<TransactionRequest, "to" | "data">;
33
+ export type Overrides<S extends StateMutability> = S extends "nonpayable" ? NonPayableOverrides : S extends "payable" ? PayableOverrides : ViewOverrides;
34
+ export type PostfixOverrides<A extends Array<any>, S extends StateMutability> = A | [...A, Overrides<S>];
35
+ export type ContractMethodArgs<A extends Array<any>, S extends StateMutability> = PostfixOverrides<{
36
+ [I in keyof A]-?: A[I] | Typed;
37
+ }, S>;
38
+ export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
39
+ export interface TypedContractMethod<A extends Array<any> = Array<any>, R = any, S extends StateMutability = "payable"> {
40
+ (...args: ContractMethodArgs<A, S>): S extends "view" ? Promise<DefaultReturnType<R>> : Promise<ContractTransactionResponse>;
41
+ name: string;
42
+ fragment: FunctionFragment;
43
+ getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
44
+ populateTransaction(...args: ContractMethodArgs<A, S>): Promise<ContractTransaction>;
45
+ staticCall(...args: ContractMethodArgs<A, "view">): Promise<DefaultReturnType<R>>;
46
+ send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
47
+ estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
48
+ staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
49
+ }
50
+ export {};
51
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACf,MAAM,QAAQ,CAAC;AAEhB,MAAM,WAAW,wBAAwB,CAAC,QAAQ,SAAS,kBAAkB,CAC3E,SAAQ,mBAAmB;CAAG;AAEhC,MAAM,WAAW,kBAAkB,CACjC,UAAU,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,EACnC,WAAW,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,EACpC,YAAY,GAAG,GAAG;IAElB,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,wBAAwB,CACtD,kBAAkB,CAAC,UAAU,EAAE,WAAW,EAAE,YAAY,CAAC,CAC1D,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,aAAa,CAAC;CAC1D;AAED,KAAK,uBAAuB,CAAC,CAAC,IAAI,CAAC,SAAS,kBAAkB,CAC5D,MAAM,EAAE,EACR,MAAM,CAAC,CACR,GACG,CAAC,GACD,KAAK,CAAC;AACV,KAAK,uBAAuB,CAAC,C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