@zkp2p/contracts-v2 0.0.8 → 0.0.9

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 (74) hide show
  1. package/_cjs/abis/baseStaging/AcrossBridgeHook.js +458 -0
  2. package/_cjs/abis/baseStaging/AcrossBridgeHook.json +456 -0
  3. package/_cjs/abis/baseStaging/index.js +1 -0
  4. package/_cjs/abis/baseStaging.cjs +1 -0
  5. package/_cjs/abis/baseStaging.mjs +1 -0
  6. package/_cjs/addresses/base.js +1 -1
  7. package/_cjs/addresses/base.json +1 -1
  8. package/_cjs/addresses/baseSepolia.js +1 -1
  9. package/_cjs/addresses/baseSepolia.json +1 -1
  10. package/_cjs/addresses/baseStaging.js +2 -1
  11. package/_cjs/addresses/baseStaging.json +2 -1
  12. package/_cjs/addresses/index.json +1 -1
  13. package/_cjs/constants/index.json +1 -1
  14. package/_cjs/paymentMethods/base.js +9 -1
  15. package/_cjs/paymentMethods/base.json +9 -1
  16. package/_cjs/paymentMethods/baseSepolia.js +1 -1
  17. package/_cjs/paymentMethods/baseSepolia.json +1 -1
  18. package/_cjs/paymentMethods/baseStaging.js +9 -1
  19. package/_cjs/paymentMethods/baseStaging.json +9 -1
  20. package/_cjs/paymentMethods/index.json +1 -1
  21. package/_cjs/types/contracts/external/Interfaces/IAcrossSpokePool.js +238 -0
  22. package/_cjs/types/contracts/external/Interfaces/index.js +4 -0
  23. package/_cjs/types/contracts/external/index.js +5 -0
  24. package/_cjs/types/contracts/hooks/AcrossBridgeHook.js +505 -0
  25. package/_cjs/types/contracts/hooks/index.js +4 -0
  26. package/_cjs/types/contracts/index.js +4 -0
  27. package/_esm/abis/baseStaging/AcrossBridgeHook.js +457 -0
  28. package/_esm/abis/baseStaging/AcrossBridgeHook.json +456 -0
  29. package/_esm/abis/baseStaging/index.js +1 -0
  30. package/_esm/abis/baseStaging.cjs +1 -0
  31. package/_esm/abis/baseStaging.mjs +1 -0
  32. package/_esm/addresses/base.js +1 -1
  33. package/_esm/addresses/base.json +1 -1
  34. package/_esm/addresses/baseSepolia.js +1 -1
  35. package/_esm/addresses/baseSepolia.json +1 -1
  36. package/_esm/addresses/baseStaging.js +2 -1
  37. package/_esm/addresses/baseStaging.json +2 -1
  38. package/_esm/addresses/index.json +1 -1
  39. package/_esm/constants/index.json +1 -1
  40. package/_esm/paymentMethods/base.js +9 -1
  41. package/_esm/paymentMethods/base.json +9 -1
  42. package/_esm/paymentMethods/baseSepolia.js +1 -1
  43. package/_esm/paymentMethods/baseSepolia.json +1 -1
  44. package/_esm/paymentMethods/baseStaging.js +9 -1
  45. package/_esm/paymentMethods/baseStaging.json +9 -1
  46. package/_esm/paymentMethods/index.json +1 -1
  47. package/_esm/types/contracts/external/Interfaces/IAcrossSpokePool.js +238 -0
  48. package/_esm/types/contracts/external/Interfaces/index.js +4 -0
  49. package/_esm/types/contracts/external/index.js +5 -0
  50. package/_esm/types/contracts/hooks/AcrossBridgeHook.js +505 -0
  51. package/_esm/types/contracts/hooks/index.js +4 -0
  52. package/_esm/types/contracts/index.js +4 -0
  53. package/_types/abis/baseStaging.d.ts +1 -0
  54. package/abis/baseStaging/AcrossBridgeHook.json +456 -0
  55. package/abis/baseStaging/index.ts +1 -0
  56. package/abis/baseStaging.cjs +1 -0
  57. package/abis/baseStaging.d.ts +1 -0
  58. package/abis/baseStaging.mjs +1 -0
  59. package/addresses/base.json +1 -1
  60. package/addresses/baseSepolia.json +1 -1
  61. package/addresses/baseStaging.json +2 -1
  62. package/addresses/index.json +1 -1
  63. package/constants/index.json +1 -1
  64. package/package.json +1 -1
  65. package/paymentMethods/base.json +9 -1
  66. package/paymentMethods/baseSepolia.json +1 -1
  67. package/paymentMethods/baseStaging.json +9 -1
  68. package/paymentMethods/index.json +1 -1
  69. package/types/contracts/external/Interfaces/IAcrossSpokePool.ts +238 -0
  70. package/types/contracts/external/Interfaces/index.ts +4 -0
  71. package/types/contracts/external/index.ts +5 -0
  72. package/types/contracts/hooks/AcrossBridgeHook.ts +505 -0
  73. package/types/contracts/hooks/index.ts +4 -0
  74. package/types/contracts/index.ts +4 -0
@@ -0,0 +1,505 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import type {
17
+ FunctionFragment,
18
+ Result,
19
+ EventFragment,
20
+ } from "@ethersproject/abi";
21
+ import type { Listener, Provider } from "@ethersproject/providers";
22
+ import type {
23
+ TypedEventFilter,
24
+ TypedEvent,
25
+ TypedListener,
26
+ OnEvent,
27
+ PromiseOrValue,
28
+ } from "../../common";
29
+
30
+ export declare namespace IOrchestrator {
31
+ export type IntentStruct = {
32
+ owner: PromiseOrValue<string>;
33
+ to: PromiseOrValue<string>;
34
+ escrow: PromiseOrValue<string>;
35
+ depositId: PromiseOrValue<BigNumberish>;
36
+ amount: PromiseOrValue<BigNumberish>;
37
+ timestamp: PromiseOrValue<BigNumberish>;
38
+ paymentMethod: PromiseOrValue<BytesLike>;
39
+ fiatCurrency: PromiseOrValue<BytesLike>;
40
+ conversionRate: PromiseOrValue<BigNumberish>;
41
+ payeeId: PromiseOrValue<BytesLike>;
42
+ referrer: PromiseOrValue<string>;
43
+ referrerFee: PromiseOrValue<BigNumberish>;
44
+ postIntentHook: PromiseOrValue<string>;
45
+ data: PromiseOrValue<BytesLike>;
46
+ };
47
+
48
+ export type IntentStructOutput = [
49
+ string,
50
+ string,
51
+ string,
52
+ BigNumber,
53
+ BigNumber,
54
+ BigNumber,
55
+ string,
56
+ string,
57
+ BigNumber,
58
+ string,
59
+ string,
60
+ BigNumber,
61
+ string,
62
+ string
63
+ ] & {
64
+ owner: string;
65
+ to: string;
66
+ escrow: string;
67
+ depositId: BigNumber;
68
+ amount: BigNumber;
69
+ timestamp: BigNumber;
70
+ paymentMethod: string;
71
+ fiatCurrency: string;
72
+ conversionRate: BigNumber;
73
+ payeeId: string;
74
+ referrer: string;
75
+ referrerFee: BigNumber;
76
+ postIntentHook: string;
77
+ data: string;
78
+ };
79
+ }
80
+
81
+ export interface AcrossBridgeHookInterface extends utils.Interface {
82
+ functions: {
83
+ "execute((address,address,address,uint256,uint256,uint256,bytes32,bytes32,uint256,bytes32,address,uint256,address,bytes),uint256,bytes)": FunctionFragment;
84
+ "inputToken()": FunctionFragment;
85
+ "orchestrator()": FunctionFragment;
86
+ "owner()": FunctionFragment;
87
+ "renounceOwnership()": FunctionFragment;
88
+ "rescueERC20(address,address,uint256)": FunctionFragment;
89
+ "rescueNative(address,uint256)": FunctionFragment;
90
+ "spokePool()": FunctionFragment;
91
+ "transferOwnership(address)": FunctionFragment;
92
+ };
93
+
94
+ getFunction(
95
+ nameOrSignatureOrTopic:
96
+ | "execute"
97
+ | "inputToken"
98
+ | "orchestrator"
99
+ | "owner"
100
+ | "renounceOwnership"
101
+ | "rescueERC20"
102
+ | "rescueNative"
103
+ | "spokePool"
104
+ | "transferOwnership"
105
+ ): FunctionFragment;
106
+
107
+ encodeFunctionData(
108
+ functionFragment: "execute",
109
+ values: [
110
+ IOrchestrator.IntentStruct,
111
+ PromiseOrValue<BigNumberish>,
112
+ PromiseOrValue<BytesLike>
113
+ ]
114
+ ): string;
115
+ encodeFunctionData(
116
+ functionFragment: "inputToken",
117
+ values?: undefined
118
+ ): string;
119
+ encodeFunctionData(
120
+ functionFragment: "orchestrator",
121
+ values?: undefined
122
+ ): string;
123
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
124
+ encodeFunctionData(
125
+ functionFragment: "renounceOwnership",
126
+ values?: undefined
127
+ ): string;
128
+ encodeFunctionData(
129
+ functionFragment: "rescueERC20",
130
+ values: [
131
+ PromiseOrValue<string>,
132
+ PromiseOrValue<string>,
133
+ PromiseOrValue<BigNumberish>
134
+ ]
135
+ ): string;
136
+ encodeFunctionData(
137
+ functionFragment: "rescueNative",
138
+ values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
139
+ ): string;
140
+ encodeFunctionData(functionFragment: "spokePool", values?: undefined): string;
141
+ encodeFunctionData(
142
+ functionFragment: "transferOwnership",
143
+ values: [PromiseOrValue<string>]
144
+ ): string;
145
+
146
+ decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
147
+ decodeFunctionResult(functionFragment: "inputToken", data: BytesLike): Result;
148
+ decodeFunctionResult(
149
+ functionFragment: "orchestrator",
150
+ data: BytesLike
151
+ ): Result;
152
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
153
+ decodeFunctionResult(
154
+ functionFragment: "renounceOwnership",
155
+ data: BytesLike
156
+ ): Result;
157
+ decodeFunctionResult(
158
+ functionFragment: "rescueERC20",
159
+ data: BytesLike
160
+ ): Result;
161
+ decodeFunctionResult(
162
+ functionFragment: "rescueNative",
163
+ data: BytesLike
164
+ ): Result;
165
+ decodeFunctionResult(functionFragment: "spokePool", data: BytesLike): Result;
166
+ decodeFunctionResult(
167
+ functionFragment: "transferOwnership",
168
+ data: BytesLike
169
+ ): Result;
170
+
171
+ events: {
172
+ "AcrossBridgeInitiated(bytes32,uint256,address,address,uint256,uint256,uint32,uint32)": EventFragment;
173
+ "OwnershipTransferred(address,address)": EventFragment;
174
+ "RescueERC20(address,address,uint256)": EventFragment;
175
+ "RescueNative(address,uint256)": EventFragment;
176
+ };
177
+
178
+ getEvent(nameOrSignatureOrTopic: "AcrossBridgeInitiated"): EventFragment;
179
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
180
+ getEvent(nameOrSignatureOrTopic: "RescueERC20"): EventFragment;
181
+ getEvent(nameOrSignatureOrTopic: "RescueNative"): EventFragment;
182
+ }
183
+
184
+ export interface AcrossBridgeInitiatedEventObject {
185
+ intentHash: string;
186
+ destinationChainId: BigNumber;
187
+ outputToken: string;
188
+ recipient: string;
189
+ inputAmount: BigNumber;
190
+ outputAmount: BigNumber;
191
+ quoteTimestamp: number;
192
+ fillDeadline: number;
193
+ }
194
+ export type AcrossBridgeInitiatedEvent = TypedEvent<
195
+ [string, BigNumber, string, string, BigNumber, BigNumber, number, number],
196
+ AcrossBridgeInitiatedEventObject
197
+ >;
198
+
199
+ export type AcrossBridgeInitiatedEventFilter =
200
+ TypedEventFilter<AcrossBridgeInitiatedEvent>;
201
+
202
+ export interface OwnershipTransferredEventObject {
203
+ previousOwner: string;
204
+ newOwner: string;
205
+ }
206
+ export type OwnershipTransferredEvent = TypedEvent<
207
+ [string, string],
208
+ OwnershipTransferredEventObject
209
+ >;
210
+
211
+ export type OwnershipTransferredEventFilter =
212
+ TypedEventFilter<OwnershipTransferredEvent>;
213
+
214
+ export interface RescueERC20EventObject {
215
+ token: string;
216
+ to: string;
217
+ amount: BigNumber;
218
+ }
219
+ export type RescueERC20Event = TypedEvent<
220
+ [string, string, BigNumber],
221
+ RescueERC20EventObject
222
+ >;
223
+
224
+ export type RescueERC20EventFilter = TypedEventFilter<RescueERC20Event>;
225
+
226
+ export interface RescueNativeEventObject {
227
+ to: string;
228
+ amount: BigNumber;
229
+ }
230
+ export type RescueNativeEvent = TypedEvent<
231
+ [string, BigNumber],
232
+ RescueNativeEventObject
233
+ >;
234
+
235
+ export type RescueNativeEventFilter = TypedEventFilter<RescueNativeEvent>;
236
+
237
+ export interface AcrossBridgeHook extends BaseContract {
238
+ connect(signerOrProvider: Signer | Provider | string): this;
239
+ attach(addressOrName: string): this;
240
+ deployed(): Promise<this>;
241
+
242
+ interface: AcrossBridgeHookInterface;
243
+
244
+ queryFilter<TEvent extends TypedEvent>(
245
+ event: TypedEventFilter<TEvent>,
246
+ fromBlockOrBlockhash?: string | number | undefined,
247
+ toBlock?: string | number | undefined
248
+ ): Promise<Array<TEvent>>;
249
+
250
+ listeners<TEvent extends TypedEvent>(
251
+ eventFilter?: TypedEventFilter<TEvent>
252
+ ): Array<TypedListener<TEvent>>;
253
+ listeners(eventName?: string): Array<Listener>;
254
+ removeAllListeners<TEvent extends TypedEvent>(
255
+ eventFilter: TypedEventFilter<TEvent>
256
+ ): this;
257
+ removeAllListeners(eventName?: string): this;
258
+ off: OnEvent<this>;
259
+ on: OnEvent<this>;
260
+ once: OnEvent<this>;
261
+ removeListener: OnEvent<this>;
262
+
263
+ functions: {
264
+ execute(
265
+ _intent: IOrchestrator.IntentStruct,
266
+ _amountNetFees: PromiseOrValue<BigNumberish>,
267
+ _fulfillIntentData: PromiseOrValue<BytesLike>,
268
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
269
+ ): Promise<ContractTransaction>;
270
+
271
+ inputToken(overrides?: CallOverrides): Promise<[string]>;
272
+
273
+ orchestrator(overrides?: CallOverrides): Promise<[string]>;
274
+
275
+ owner(overrides?: CallOverrides): Promise<[string]>;
276
+
277
+ renounceOwnership(
278
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
279
+ ): Promise<ContractTransaction>;
280
+
281
+ rescueERC20(
282
+ _token: PromiseOrValue<string>,
283
+ _to: PromiseOrValue<string>,
284
+ _amount: PromiseOrValue<BigNumberish>,
285
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
286
+ ): Promise<ContractTransaction>;
287
+
288
+ rescueNative(
289
+ _to: PromiseOrValue<string>,
290
+ _amount: PromiseOrValue<BigNumberish>,
291
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
292
+ ): Promise<ContractTransaction>;
293
+
294
+ spokePool(overrides?: CallOverrides): Promise<[string]>;
295
+
296
+ transferOwnership(
297
+ newOwner: PromiseOrValue<string>,
298
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
299
+ ): Promise<ContractTransaction>;
300
+ };
301
+
302
+ execute(
303
+ _intent: IOrchestrator.IntentStruct,
304
+ _amountNetFees: PromiseOrValue<BigNumberish>,
305
+ _fulfillIntentData: PromiseOrValue<BytesLike>,
306
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
307
+ ): Promise<ContractTransaction>;
308
+
309
+ inputToken(overrides?: CallOverrides): Promise<string>;
310
+
311
+ orchestrator(overrides?: CallOverrides): Promise<string>;
312
+
313
+ owner(overrides?: CallOverrides): Promise<string>;
314
+
315
+ renounceOwnership(
316
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
317
+ ): Promise<ContractTransaction>;
318
+
319
+ rescueERC20(
320
+ _token: PromiseOrValue<string>,
321
+ _to: PromiseOrValue<string>,
322
+ _amount: PromiseOrValue<BigNumberish>,
323
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
324
+ ): Promise<ContractTransaction>;
325
+
326
+ rescueNative(
327
+ _to: PromiseOrValue<string>,
328
+ _amount: PromiseOrValue<BigNumberish>,
329
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
330
+ ): Promise<ContractTransaction>;
331
+
332
+ spokePool(overrides?: CallOverrides): Promise<string>;
333
+
334
+ transferOwnership(
335
+ newOwner: PromiseOrValue<string>,
336
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
337
+ ): Promise<ContractTransaction>;
338
+
339
+ callStatic: {
340
+ execute(
341
+ _intent: IOrchestrator.IntentStruct,
342
+ _amountNetFees: PromiseOrValue<BigNumberish>,
343
+ _fulfillIntentData: PromiseOrValue<BytesLike>,
344
+ overrides?: CallOverrides
345
+ ): Promise<void>;
346
+
347
+ inputToken(overrides?: CallOverrides): Promise<string>;
348
+
349
+ orchestrator(overrides?: CallOverrides): Promise<string>;
350
+
351
+ owner(overrides?: CallOverrides): Promise<string>;
352
+
353
+ renounceOwnership(overrides?: CallOverrides): Promise<void>;
354
+
355
+ rescueERC20(
356
+ _token: PromiseOrValue<string>,
357
+ _to: PromiseOrValue<string>,
358
+ _amount: PromiseOrValue<BigNumberish>,
359
+ overrides?: CallOverrides
360
+ ): Promise<void>;
361
+
362
+ rescueNative(
363
+ _to: PromiseOrValue<string>,
364
+ _amount: PromiseOrValue<BigNumberish>,
365
+ overrides?: CallOverrides
366
+ ): Promise<void>;
367
+
368
+ spokePool(overrides?: CallOverrides): Promise<string>;
369
+
370
+ transferOwnership(
371
+ newOwner: PromiseOrValue<string>,
372
+ overrides?: CallOverrides
373
+ ): Promise<void>;
374
+ };
375
+
376
+ filters: {
377
+ "AcrossBridgeInitiated(bytes32,uint256,address,address,uint256,uint256,uint32,uint32)"(
378
+ intentHash?: PromiseOrValue<BytesLike> | null,
379
+ destinationChainId?: null,
380
+ outputToken?: null,
381
+ recipient?: null,
382
+ inputAmount?: null,
383
+ outputAmount?: null,
384
+ quoteTimestamp?: null,
385
+ fillDeadline?: null
386
+ ): AcrossBridgeInitiatedEventFilter;
387
+ AcrossBridgeInitiated(
388
+ intentHash?: PromiseOrValue<BytesLike> | null,
389
+ destinationChainId?: null,
390
+ outputToken?: null,
391
+ recipient?: null,
392
+ inputAmount?: null,
393
+ outputAmount?: null,
394
+ quoteTimestamp?: null,
395
+ fillDeadline?: null
396
+ ): AcrossBridgeInitiatedEventFilter;
397
+
398
+ "OwnershipTransferred(address,address)"(
399
+ previousOwner?: PromiseOrValue<string> | null,
400
+ newOwner?: PromiseOrValue<string> | null
401
+ ): OwnershipTransferredEventFilter;
402
+ OwnershipTransferred(
403
+ previousOwner?: PromiseOrValue<string> | null,
404
+ newOwner?: PromiseOrValue<string> | null
405
+ ): OwnershipTransferredEventFilter;
406
+
407
+ "RescueERC20(address,address,uint256)"(
408
+ token?: PromiseOrValue<string> | null,
409
+ to?: PromiseOrValue<string> | null,
410
+ amount?: null
411
+ ): RescueERC20EventFilter;
412
+ RescueERC20(
413
+ token?: PromiseOrValue<string> | null,
414
+ to?: PromiseOrValue<string> | null,
415
+ amount?: null
416
+ ): RescueERC20EventFilter;
417
+
418
+ "RescueNative(address,uint256)"(
419
+ to?: PromiseOrValue<string> | null,
420
+ amount?: null
421
+ ): RescueNativeEventFilter;
422
+ RescueNative(
423
+ to?: PromiseOrValue<string> | null,
424
+ amount?: null
425
+ ): RescueNativeEventFilter;
426
+ };
427
+
428
+ estimateGas: {
429
+ execute(
430
+ _intent: IOrchestrator.IntentStruct,
431
+ _amountNetFees: PromiseOrValue<BigNumberish>,
432
+ _fulfillIntentData: PromiseOrValue<BytesLike>,
433
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
434
+ ): Promise<BigNumber>;
435
+
436
+ inputToken(overrides?: CallOverrides): Promise<BigNumber>;
437
+
438
+ orchestrator(overrides?: CallOverrides): Promise<BigNumber>;
439
+
440
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
441
+
442
+ renounceOwnership(
443
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
444
+ ): Promise<BigNumber>;
445
+
446
+ rescueERC20(
447
+ _token: PromiseOrValue<string>,
448
+ _to: PromiseOrValue<string>,
449
+ _amount: PromiseOrValue<BigNumberish>,
450
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
451
+ ): Promise<BigNumber>;
452
+
453
+ rescueNative(
454
+ _to: PromiseOrValue<string>,
455
+ _amount: PromiseOrValue<BigNumberish>,
456
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
457
+ ): Promise<BigNumber>;
458
+
459
+ spokePool(overrides?: CallOverrides): Promise<BigNumber>;
460
+
461
+ transferOwnership(
462
+ newOwner: PromiseOrValue<string>,
463
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
464
+ ): Promise<BigNumber>;
465
+ };
466
+
467
+ populateTransaction: {
468
+ execute(
469
+ _intent: IOrchestrator.IntentStruct,
470
+ _amountNetFees: PromiseOrValue<BigNumberish>,
471
+ _fulfillIntentData: PromiseOrValue<BytesLike>,
472
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
473
+ ): Promise<PopulatedTransaction>;
474
+
475
+ inputToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
476
+
477
+ orchestrator(overrides?: CallOverrides): Promise<PopulatedTransaction>;
478
+
479
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
480
+
481
+ renounceOwnership(
482
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
483
+ ): Promise<PopulatedTransaction>;
484
+
485
+ rescueERC20(
486
+ _token: PromiseOrValue<string>,
487
+ _to: PromiseOrValue<string>,
488
+ _amount: PromiseOrValue<BigNumberish>,
489
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
490
+ ): Promise<PopulatedTransaction>;
491
+
492
+ rescueNative(
493
+ _to: PromiseOrValue<string>,
494
+ _amount: PromiseOrValue<BigNumberish>,
495
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
496
+ ): Promise<PopulatedTransaction>;
497
+
498
+ spokePool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
499
+
500
+ transferOwnership(
501
+ newOwner: PromiseOrValue<string>,
502
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
503
+ ): Promise<PopulatedTransaction>;
504
+ };
505
+ }
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { AcrossBridgeHook } from "./AcrossBridgeHook";
@@ -1,6 +1,10 @@
1
1
  /* Autogenerated file. Do not edit manually. */
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
+ import type * as external from "./external";
5
+ export type { external };
6
+ import type * as hooks from "./hooks";
7
+ export type { hooks };
4
8
  import type * as interfaces from "./interfaces";
5
9
  export type { interfaces };
6
10
  import type * as registries from "./registries";
@@ -1,5 +1,6 @@
1
1
  // Auto-generated TypeScript definitions for baseStaging ABIs
2
2
  import type { Abi } from 'abitype';
3
+ export declare const AcrossBridgeHook: Abi;
3
4
  export declare const Escrow: Abi;
4
5
  export declare const EscrowRegistry: Abi;
5
6
  export declare const NullifierRegistry: Abi;