@augustdigital/sdk 8.0.0 → 8.2.0

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,739 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ABI_SWAP_ROUTER = void 0;
4
+ exports.ABI_SWAP_ROUTER = [
5
+ { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
6
+ { inputs: [], name: 'AlreadyConfigured', type: 'error' },
7
+ { inputs: [], name: 'AssetNotAcceptedByVault', type: 'error' },
8
+ { inputs: [], name: 'ContractIsPaused', type: 'error' },
9
+ { inputs: [], name: 'ContractNotPaused', type: 'error' },
10
+ { inputs: [], name: 'EmptySwapParams', type: 'error' },
11
+ {
12
+ inputs: [{ internalType: 'uint256', name: 'errorCode', type: 'uint256' }],
13
+ name: 'FailedToAcquireLpTokenAddressErrorCode',
14
+ type: 'error',
15
+ },
16
+ {
17
+ inputs: [{ internalType: 'bytes', name: 'lowLevelData', type: 'bytes' }],
18
+ name: 'FailedToAcquireLpTokenAddressLowLevelError',
19
+ type: 'error',
20
+ },
21
+ {
22
+ inputs: [{ internalType: 'string', name: 'reason', type: 'string' }],
23
+ name: 'FailedToAcquireLpTokenAddressStringError',
24
+ type: 'error',
25
+ },
26
+ {
27
+ inputs: [{ internalType: 'uint256', name: 'errorCode', type: 'uint256' }],
28
+ name: 'FailedToAcquireLpTokenDecimalsErrorCode',
29
+ type: 'error',
30
+ },
31
+ {
32
+ inputs: [{ internalType: 'bytes', name: 'lowLevelData', type: 'bytes' }],
33
+ name: 'FailedToAcquireLpTokenDecimalsLowLevelError',
34
+ type: 'error',
35
+ },
36
+ {
37
+ inputs: [{ internalType: 'string', name: 'reason', type: 'string' }],
38
+ name: 'FailedToAcquireLpTokenDecimalsStringError',
39
+ type: 'error',
40
+ },
41
+ { inputs: [], name: 'FeeCollectorNotSet', type: 'error' },
42
+ { inputs: [], name: 'FeesCollectorNoOp', type: 'error' },
43
+ {
44
+ inputs: [{ internalType: 'address', name: 'tokenAddr', type: 'address' }],
45
+ name: 'InputTokenNotSwapped',
46
+ type: 'error',
47
+ },
48
+ {
49
+ inputs: [{ internalType: 'address', name: 'tokenAddr', type: 'address' }],
50
+ name: 'InputTokenNotWhitelisted',
51
+ type: 'error',
52
+ },
53
+ { inputs: [], name: 'InvalidAddress', type: 'error' },
54
+ { inputs: [], name: 'InvalidErc20Token', type: 'error' },
55
+ { inputs: [], name: 'InvalidFeeCollector', type: 'error' },
56
+ { inputs: [], name: 'InvalidLpTokenDecimals', type: 'error' },
57
+ { inputs: [], name: 'InvalidNotWhitelisted', type: 'error' },
58
+ { inputs: [], name: 'InvalidOrigin', type: 'error' },
59
+ { inputs: [], name: 'InvalidPair', type: 'error' },
60
+ { inputs: [], name: 'InvalidPayload', type: 'error' },
61
+ { inputs: [], name: 'InvalidReceiver', type: 'error' },
62
+ { inputs: [], name: 'InvalidRouter', type: 'error' },
63
+ {
64
+ inputs: [
65
+ { internalType: 'address', name: 'routerAddr', type: 'address' },
66
+ { internalType: 'address', name: 'tokenApprovalAddr', type: 'address' },
67
+ ],
68
+ name: 'InvalidRouterPath',
69
+ type: 'error',
70
+ },
71
+ { inputs: [], name: 'InvalidVault', type: 'error' },
72
+ { inputs: [], name: 'InvalidVaultType', type: 'error' },
73
+ { inputs: [], name: 'MissingSlippageProtection', type: 'error' },
74
+ { inputs: [], name: 'NativeReferenceAssetNotSupported', type: 'error' },
75
+ { inputs: [], name: 'NativeSwapFailed', type: 'error' },
76
+ { inputs: [], name: 'NativeTokenTransferFailed', type: 'error' },
77
+ { inputs: [], name: 'NotConfigured', type: 'error' },
78
+ { inputs: [], name: 'OriginAlreadyExists', type: 'error' },
79
+ { inputs: [], name: 'OriginFeeTooHigh', type: 'error' },
80
+ { inputs: [], name: 'OriginFeeTooLow', type: 'error' },
81
+ { inputs: [], name: 'OutputTokenCannotBeNativeToken', type: 'error' },
82
+ {
83
+ inputs: [{ internalType: 'address', name: 'tokenAddr', type: 'address' }],
84
+ name: 'OutputTokenNotWhitelisted',
85
+ type: 'error',
86
+ },
87
+ { inputs: [], name: 'OwnerAddressRequired', type: 'error' },
88
+ { inputs: [], name: 'OwnerOnly', type: 'error' },
89
+ { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
90
+ {
91
+ inputs: [{ internalType: 'address', name: 'routerAddr', type: 'address' }],
92
+ name: 'RouterPathAlreadyDisabled',
93
+ type: 'error',
94
+ },
95
+ { inputs: [], name: 'SelectorRequired', type: 'error' },
96
+ {
97
+ inputs: [
98
+ { internalType: 'address', name: 'tokenAddr', type: 'address' },
99
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
100
+ { internalType: 'uint256', name: 'minAmountOut', type: 'uint256' },
101
+ ],
102
+ name: 'SlippageError',
103
+ type: 'error',
104
+ },
105
+ {
106
+ inputs: [{ internalType: 'bytes', name: 'returnData', type: 'bytes' }],
107
+ name: 'SwapFailed',
108
+ type: 'error',
109
+ },
110
+ { inputs: [], name: 'SwapFeeAmountTooLow', type: 'error' },
111
+ { inputs: [], name: 'SwapFeeTooHigh', type: 'error' },
112
+ { inputs: [], name: 'TokenAlreadyDisabled', type: 'error' },
113
+ { inputs: [], name: 'TokenAlreadyEnabled', type: 'error' },
114
+ { inputs: [], name: 'TooManySwaps', type: 'error' },
115
+ { inputs: [], name: 'WrappedNativeTokenAddressNotDefined', type: 'error' },
116
+ { inputs: [], name: 'ZeroAddress', type: 'error' },
117
+ { inputs: [], name: 'ZeroAmount', type: 'error' },
118
+ { inputs: [], name: 'ZeroSharesReceived', type: 'error' },
119
+ { anonymous: false, inputs: [], name: 'ContractConfigured', type: 'event' },
120
+ { anonymous: false, inputs: [], name: 'ContractPaused', type: 'event' },
121
+ { anonymous: false, inputs: [], name: 'ContractResumed', type: 'event' },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ {
126
+ indexed: true,
127
+ internalType: 'address',
128
+ name: 'newAddr',
129
+ type: 'address',
130
+ },
131
+ ],
132
+ name: 'FeesCollectorUpdated',
133
+ type: 'event',
134
+ },
135
+ {
136
+ anonymous: false,
137
+ inputs: [
138
+ {
139
+ indexed: true,
140
+ internalType: 'bytes32',
141
+ name: 'originCode',
142
+ type: 'bytes32',
143
+ },
144
+ {
145
+ indexed: false,
146
+ internalType: 'uint256',
147
+ name: 'originFee',
148
+ type: 'uint256',
149
+ },
150
+ {
151
+ indexed: false,
152
+ internalType: 'address',
153
+ name: 'originFeeCollector',
154
+ type: 'address',
155
+ },
156
+ ],
157
+ name: 'OriginAdded',
158
+ type: 'event',
159
+ },
160
+ {
161
+ anonymous: false,
162
+ inputs: [
163
+ {
164
+ indexed: true,
165
+ internalType: 'address',
166
+ name: 'vaultAddr',
167
+ type: 'address',
168
+ },
169
+ {
170
+ indexed: true,
171
+ internalType: 'address',
172
+ name: 'assetAddr',
173
+ type: 'address',
174
+ },
175
+ {
176
+ indexed: false,
177
+ internalType: 'uint256',
178
+ name: 'consumableAmount',
179
+ type: 'uint256',
180
+ },
181
+ {
182
+ indexed: false,
183
+ internalType: 'uint256',
184
+ name: 'feeAmount',
185
+ type: 'uint256',
186
+ },
187
+ {
188
+ indexed: true,
189
+ internalType: 'bytes32',
190
+ name: 'originCode',
191
+ type: 'bytes32',
192
+ },
193
+ ],
194
+ name: 'OriginFeeApplied',
195
+ type: 'event',
196
+ },
197
+ {
198
+ anonymous: false,
199
+ inputs: [
200
+ {
201
+ indexed: true,
202
+ internalType: 'bytes32',
203
+ name: 'originCode',
204
+ type: 'bytes32',
205
+ },
206
+ ],
207
+ name: 'OriginRevoked',
208
+ type: 'event',
209
+ },
210
+ {
211
+ anonymous: false,
212
+ inputs: [
213
+ {
214
+ indexed: true,
215
+ internalType: 'bytes32',
216
+ name: 'originCode',
217
+ type: 'bytes32',
218
+ },
219
+ {
220
+ indexed: false,
221
+ internalType: 'uint256',
222
+ name: 'originFee',
223
+ type: 'uint256',
224
+ },
225
+ {
226
+ indexed: false,
227
+ internalType: 'address',
228
+ name: 'originFeeCollector',
229
+ type: 'address',
230
+ },
231
+ ],
232
+ name: 'OriginUpdated',
233
+ type: 'event',
234
+ },
235
+ {
236
+ anonymous: false,
237
+ inputs: [
238
+ {
239
+ indexed: true,
240
+ internalType: 'address',
241
+ name: 'previousOwner',
242
+ type: 'address',
243
+ },
244
+ {
245
+ indexed: true,
246
+ internalType: 'address',
247
+ name: 'newOwner',
248
+ type: 'address',
249
+ },
250
+ ],
251
+ name: 'OwnershipTransferred',
252
+ type: 'event',
253
+ },
254
+ {
255
+ anonymous: false,
256
+ inputs: [
257
+ {
258
+ indexed: true,
259
+ internalType: 'address',
260
+ name: 'token',
261
+ type: 'address',
262
+ },
263
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
264
+ {
265
+ indexed: false,
266
+ internalType: 'uint256',
267
+ name: 'amount',
268
+ type: 'uint256',
269
+ },
270
+ ],
271
+ name: 'ResidualBalanceSwept',
272
+ type: 'event',
273
+ },
274
+ {
275
+ anonymous: false,
276
+ inputs: [
277
+ {
278
+ indexed: true,
279
+ internalType: 'address',
280
+ name: 'token',
281
+ type: 'address',
282
+ },
283
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
284
+ {
285
+ indexed: false,
286
+ internalType: 'uint256',
287
+ name: 'amount',
288
+ type: 'uint256',
289
+ },
290
+ ],
291
+ name: 'ResidualRefund',
292
+ type: 'event',
293
+ },
294
+ {
295
+ anonymous: false,
296
+ inputs: [
297
+ {
298
+ indexed: true,
299
+ internalType: 'address',
300
+ name: 'routerAddr',
301
+ type: 'address',
302
+ },
303
+ ],
304
+ name: 'RouterPathDisabled',
305
+ type: 'event',
306
+ },
307
+ {
308
+ anonymous: false,
309
+ inputs: [
310
+ {
311
+ indexed: true,
312
+ internalType: 'address',
313
+ name: 'routerAddr',
314
+ type: 'address',
315
+ },
316
+ {
317
+ indexed: true,
318
+ internalType: 'address',
319
+ name: 'tokenApprovalAddr',
320
+ type: 'address',
321
+ },
322
+ ],
323
+ name: 'RouterPathEnabled',
324
+ type: 'event',
325
+ },
326
+ {
327
+ anonymous: false,
328
+ inputs: [
329
+ {
330
+ indexed: true,
331
+ internalType: 'address',
332
+ name: 'vaultAddr',
333
+ type: 'address',
334
+ },
335
+ {
336
+ indexed: true,
337
+ internalType: 'address',
338
+ name: 'tokenOutAddress',
339
+ type: 'address',
340
+ },
341
+ {
342
+ indexed: false,
343
+ internalType: 'uint256',
344
+ name: 'swapAmountOut',
345
+ type: 'uint256',
346
+ },
347
+ {
348
+ indexed: false,
349
+ internalType: 'uint256',
350
+ name: 'feeAmount',
351
+ type: 'uint256',
352
+ },
353
+ ],
354
+ name: 'SwapFeeApplied',
355
+ type: 'event',
356
+ },
357
+ {
358
+ anonymous: false,
359
+ inputs: [
360
+ {
361
+ indexed: true,
362
+ internalType: 'address',
363
+ name: 'tokenAddr',
364
+ type: 'address',
365
+ },
366
+ ],
367
+ name: 'TokenDisabled',
368
+ type: 'event',
369
+ },
370
+ {
371
+ anonymous: false,
372
+ inputs: [
373
+ {
374
+ indexed: true,
375
+ internalType: 'address',
376
+ name: 'tokenAddr',
377
+ type: 'address',
378
+ },
379
+ ],
380
+ name: 'TokenEnabled',
381
+ type: 'event',
382
+ },
383
+ {
384
+ anonymous: false,
385
+ inputs: [
386
+ {
387
+ indexed: true,
388
+ internalType: 'address',
389
+ name: 'vaultAddr',
390
+ type: 'address',
391
+ },
392
+ ],
393
+ name: 'VaultDisabled',
394
+ type: 'event',
395
+ },
396
+ {
397
+ anonymous: false,
398
+ inputs: [
399
+ {
400
+ indexed: true,
401
+ internalType: 'address',
402
+ name: 'vaultAddr',
403
+ type: 'address',
404
+ },
405
+ ],
406
+ name: 'VaultEnabled',
407
+ type: 'event',
408
+ },
409
+ {
410
+ inputs: [],
411
+ name: 'BPS_DENOMINATOR',
412
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
413
+ stateMutability: 'view',
414
+ type: 'function',
415
+ },
416
+ {
417
+ inputs: [],
418
+ name: 'MAX_ORIGIN_FEE_BPS',
419
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
420
+ stateMutability: 'view',
421
+ type: 'function',
422
+ },
423
+ {
424
+ inputs: [],
425
+ name: 'MAX_SWAPS',
426
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
427
+ stateMutability: 'view',
428
+ type: 'function',
429
+ },
430
+ {
431
+ inputs: [],
432
+ name: 'MAX_SWAP_FEE_BPS',
433
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
434
+ stateMutability: 'view',
435
+ type: 'function',
436
+ },
437
+ {
438
+ inputs: [],
439
+ name: 'NATIVE_TOKEN_ADDRESS',
440
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
441
+ stateMutability: 'view',
442
+ type: 'function',
443
+ },
444
+ {
445
+ inputs: [],
446
+ name: 'VAULT_TYPE_ERC4626',
447
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
448
+ stateMutability: 'view',
449
+ type: 'function',
450
+ },
451
+ {
452
+ inputs: [],
453
+ name: 'VAULT_TYPE_TOKENIZED_VAULT_V2',
454
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
455
+ stateMutability: 'view',
456
+ type: 'function',
457
+ },
458
+ {
459
+ inputs: [
460
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
461
+ { internalType: 'uint256', name: 'originFee', type: 'uint256' },
462
+ { internalType: 'address', name: 'originFeeCollector', type: 'address' },
463
+ ],
464
+ name: 'addOrigin',
465
+ outputs: [],
466
+ stateMutability: 'nonpayable',
467
+ type: 'function',
468
+ },
469
+ {
470
+ inputs: [
471
+ {
472
+ internalType: 'address',
473
+ name: 'newFeesCollectorAddr',
474
+ type: 'address',
475
+ },
476
+ {
477
+ internalType: 'address',
478
+ name: 'wrappedNativeTokenAddr',
479
+ type: 'address',
480
+ },
481
+ ],
482
+ name: 'configure',
483
+ outputs: [],
484
+ stateMutability: 'nonpayable',
485
+ type: 'function',
486
+ },
487
+ {
488
+ inputs: [
489
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
490
+ { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },
491
+ { internalType: 'address', name: 'vaultAddr', type: 'address' },
492
+ { internalType: 'address', name: 'assetAddr', type: 'address' },
493
+ { internalType: 'address', name: 'receiverAddr', type: 'address' },
494
+ ],
495
+ name: 'deposit',
496
+ outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
497
+ stateMutability: 'nonpayable',
498
+ type: 'function',
499
+ },
500
+ {
501
+ inputs: [
502
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
503
+ { internalType: 'address', name: 'vaultAddr', type: 'address' },
504
+ { internalType: 'address', name: 'receiverAddr', type: 'address' },
505
+ ],
506
+ name: 'depositNativeToken',
507
+ outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
508
+ stateMutability: 'payable',
509
+ type: 'function',
510
+ },
511
+ {
512
+ inputs: [
513
+ { internalType: 'address', name: 'routerAddr', type: 'address' },
514
+ { internalType: 'bytes4', name: 'authorizedSelector', type: 'bytes4' },
515
+ ],
516
+ name: 'disableRouter',
517
+ outputs: [],
518
+ stateMutability: 'nonpayable',
519
+ type: 'function',
520
+ },
521
+ {
522
+ inputs: [{ internalType: 'address', name: 'tokenAddr', type: 'address' }],
523
+ name: 'disableToken',
524
+ outputs: [],
525
+ stateMutability: 'nonpayable',
526
+ type: 'function',
527
+ },
528
+ {
529
+ inputs: [{ internalType: 'address', name: 'vaultAddr', type: 'address' }],
530
+ name: 'disableVault',
531
+ outputs: [],
532
+ stateMutability: 'nonpayable',
533
+ type: 'function',
534
+ },
535
+ {
536
+ inputs: [
537
+ { internalType: 'address', name: 'routerAddr', type: 'address' },
538
+ { internalType: 'address', name: 'tokenApprovalAddr', type: 'address' },
539
+ { internalType: 'bytes4', name: 'authorizedSelector', type: 'bytes4' },
540
+ ],
541
+ name: 'enableRouter',
542
+ outputs: [],
543
+ stateMutability: 'nonpayable',
544
+ type: 'function',
545
+ },
546
+ {
547
+ inputs: [
548
+ {
549
+ internalType: 'contract IERC20Metadata',
550
+ name: 'token',
551
+ type: 'address',
552
+ },
553
+ ],
554
+ name: 'enableToken',
555
+ outputs: [],
556
+ stateMutability: 'nonpayable',
557
+ type: 'function',
558
+ },
559
+ {
560
+ inputs: [
561
+ { internalType: 'address', name: 'vaultAddr', type: 'address' },
562
+ { internalType: 'uint8', name: 'vaultType', type: 'uint8' },
563
+ { internalType: 'uint256', name: 'swapFee', type: 'uint256' },
564
+ ],
565
+ name: 'enableVault',
566
+ outputs: [],
567
+ stateMutability: 'nonpayable',
568
+ type: 'function',
569
+ },
570
+ {
571
+ inputs: [],
572
+ name: 'feesCollector',
573
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
574
+ stateMutability: 'view',
575
+ type: 'function',
576
+ },
577
+ {
578
+ inputs: [
579
+ { internalType: 'address', name: 'routerAddr', type: 'address' },
580
+ { internalType: 'bytes4', name: 'selector', type: 'bytes4' },
581
+ ],
582
+ name: 'isAuthorizedSelector',
583
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
584
+ stateMutability: 'view',
585
+ type: 'function',
586
+ },
587
+ {
588
+ inputs: [],
589
+ name: 'isConfigured',
590
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
591
+ stateMutability: 'view',
592
+ type: 'function',
593
+ },
594
+ {
595
+ inputs: [],
596
+ name: 'isPaused',
597
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
598
+ stateMutability: 'view',
599
+ type: 'function',
600
+ },
601
+ {
602
+ inputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
603
+ name: 'origins',
604
+ outputs: [
605
+ { internalType: 'uint256', name: 'originFee', type: 'uint256' },
606
+ { internalType: 'address', name: 'originFeeCollector', type: 'address' },
607
+ ],
608
+ stateMutability: 'view',
609
+ type: 'function',
610
+ },
611
+ {
612
+ inputs: [],
613
+ name: 'owner',
614
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
615
+ stateMutability: 'view',
616
+ type: 'function',
617
+ },
618
+ {
619
+ inputs: [],
620
+ name: 'pause',
621
+ outputs: [],
622
+ stateMutability: 'nonpayable',
623
+ type: 'function',
624
+ },
625
+ {
626
+ inputs: [{ internalType: 'bytes32', name: 'originCode', type: 'bytes32' }],
627
+ name: 'revokeOrigin',
628
+ outputs: [],
629
+ stateMutability: 'nonpayable',
630
+ type: 'function',
631
+ },
632
+ {
633
+ inputs: [
634
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
635
+ { internalType: 'address', name: 'vaultAddr', type: 'address' },
636
+ { internalType: 'address', name: 'receiverAddr', type: 'address' },
637
+ {
638
+ components: [
639
+ { internalType: 'address', name: 'tokenIn', type: 'address' },
640
+ { internalType: 'address', name: 'tokenOut', type: 'address' },
641
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
642
+ { internalType: 'uint256', name: 'minAmountOut', type: 'uint256' },
643
+ { internalType: 'address', name: 'router', type: 'address' },
644
+ { internalType: 'bytes', name: 'payload', type: 'bytes' },
645
+ ],
646
+ internalType: 'struct ISwapRouter.SwapParams[]',
647
+ name: 'swapParams',
648
+ type: 'tuple[]',
649
+ },
650
+ ],
651
+ name: 'swapAndDeposit',
652
+ outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
653
+ stateMutability: 'nonpayable',
654
+ type: 'function',
655
+ },
656
+ {
657
+ inputs: [
658
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
659
+ { internalType: 'address', name: 'vaultAddr', type: 'address' },
660
+ { internalType: 'address', name: 'receiverAddr', type: 'address' },
661
+ ],
662
+ name: 'swapAndDepositNativeToken',
663
+ outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
664
+ stateMutability: 'payable',
665
+ type: 'function',
666
+ },
667
+ {
668
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
669
+ name: 'tokenTransferProxies',
670
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
671
+ stateMutability: 'view',
672
+ type: 'function',
673
+ },
674
+ {
675
+ inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
676
+ name: 'transferOwnership',
677
+ outputs: [],
678
+ stateMutability: 'nonpayable',
679
+ type: 'function',
680
+ },
681
+ {
682
+ inputs: [],
683
+ name: 'unPause',
684
+ outputs: [],
685
+ stateMutability: 'nonpayable',
686
+ type: 'function',
687
+ },
688
+ {
689
+ inputs: [
690
+ {
691
+ internalType: 'address',
692
+ name: 'newFeesCollectorAddr',
693
+ type: 'address',
694
+ },
695
+ ],
696
+ name: 'updateFeesCollector',
697
+ outputs: [],
698
+ stateMutability: 'nonpayable',
699
+ type: 'function',
700
+ },
701
+ {
702
+ inputs: [
703
+ { internalType: 'bytes32', name: 'originCode', type: 'bytes32' },
704
+ { internalType: 'uint256', name: 'originFee', type: 'uint256' },
705
+ { internalType: 'address', name: 'originFeeCollector', type: 'address' },
706
+ ],
707
+ name: 'updateOrigin',
708
+ outputs: [],
709
+ stateMutability: 'nonpayable',
710
+ type: 'function',
711
+ },
712
+ {
713
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
714
+ name: 'vaultInfo',
715
+ outputs: [
716
+ { internalType: 'uint256', name: 'swapFee', type: 'uint256' },
717
+ { internalType: 'uint8', name: 'vaultType', type: 'uint8' },
718
+ { internalType: 'address', name: 'referenceAsset', type: 'address' },
719
+ { internalType: 'address', name: 'lpTokenAddress', type: 'address' },
720
+ ],
721
+ stateMutability: 'view',
722
+ type: 'function',
723
+ },
724
+ {
725
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
726
+ name: 'whitelistedTokens',
727
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
728
+ stateMutability: 'view',
729
+ type: 'function',
730
+ },
731
+ {
732
+ inputs: [],
733
+ name: 'wrappedNativeTokenAddress',
734
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
735
+ stateMutability: 'view',
736
+ type: 'function',
737
+ },
738
+ ];
739
+ //# sourceMappingURL=SwapRouter.js.map