@axonfi/sdk 0.1.2 → 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.
- package/README.md +186 -0
- package/dist/index.cjs +1688 -1646
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +72 -24
- package/dist/index.d.ts +72 -24
- package/dist/index.js +1688 -1648
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { keccak256, stringToBytes, createPublicClient, http, createWalletClient } from 'viem';
|
|
1
|
+
import { keccak256, stringToBytes, createPublicClient, http, createWalletClient, parseUnits } from 'viem';
|
|
2
2
|
import { privateKeyToAccount } from 'viem/accounts';
|
|
3
3
|
import { arbitrumSepolia, arbitrum, baseSepolia, base } from 'viem/chains';
|
|
4
4
|
import { scryptAsync } from '@noble/hashes/scrypt';
|
|
@@ -251,2322 +251,2322 @@ function encodeRef(memo) {
|
|
|
251
251
|
// src/abis/AxonVault.ts
|
|
252
252
|
var AxonVaultAbi = [
|
|
253
253
|
{
|
|
254
|
-
type: "constructor",
|
|
255
|
-
inputs: [
|
|
254
|
+
"type": "constructor",
|
|
255
|
+
"inputs": [
|
|
256
256
|
{
|
|
257
|
-
name: "_owner",
|
|
258
|
-
type: "address",
|
|
259
|
-
internalType: "address"
|
|
257
|
+
"name": "_owner",
|
|
258
|
+
"type": "address",
|
|
259
|
+
"internalType": "address"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
|
-
name: "_axonRegistry",
|
|
263
|
-
type: "address",
|
|
264
|
-
internalType: "address"
|
|
262
|
+
"name": "_axonRegistry",
|
|
263
|
+
"type": "address",
|
|
264
|
+
"internalType": "address"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
|
-
name: "_trackUsedIntents",
|
|
268
|
-
type: "bool",
|
|
269
|
-
internalType: "bool"
|
|
267
|
+
"name": "_trackUsedIntents",
|
|
268
|
+
"type": "bool",
|
|
269
|
+
"internalType": "bool"
|
|
270
270
|
}
|
|
271
271
|
],
|
|
272
|
-
stateMutability: "nonpayable"
|
|
272
|
+
"stateMutability": "nonpayable"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
type: "receive",
|
|
276
|
-
stateMutability: "payable"
|
|
275
|
+
"type": "receive",
|
|
276
|
+
"stateMutability": "payable"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
type: "function",
|
|
280
|
-
name: "DOMAIN_SEPARATOR",
|
|
281
|
-
inputs: [],
|
|
282
|
-
outputs: [
|
|
279
|
+
"type": "function",
|
|
280
|
+
"name": "DOMAIN_SEPARATOR",
|
|
281
|
+
"inputs": [],
|
|
282
|
+
"outputs": [
|
|
283
283
|
{
|
|
284
|
-
name: "",
|
|
285
|
-
type: "bytes32",
|
|
286
|
-
internalType: "bytes32"
|
|
284
|
+
"name": "",
|
|
285
|
+
"type": "bytes32",
|
|
286
|
+
"internalType": "bytes32"
|
|
287
287
|
}
|
|
288
288
|
],
|
|
289
|
-
stateMutability: "view"
|
|
289
|
+
"stateMutability": "view"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
|
-
type: "function",
|
|
293
|
-
name: "MAX_SPENDING_LIMITS",
|
|
294
|
-
inputs: [],
|
|
295
|
-
outputs: [
|
|
292
|
+
"type": "function",
|
|
293
|
+
"name": "MAX_SPENDING_LIMITS",
|
|
294
|
+
"inputs": [],
|
|
295
|
+
"outputs": [
|
|
296
296
|
{
|
|
297
|
-
name: "",
|
|
298
|
-
type: "uint8",
|
|
299
|
-
internalType: "uint8"
|
|
297
|
+
"name": "",
|
|
298
|
+
"type": "uint8",
|
|
299
|
+
"internalType": "uint8"
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
|
-
stateMutability: "view"
|
|
302
|
+
"stateMutability": "view"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
|
-
type: "function",
|
|
306
|
-
name: "NATIVE_ETH",
|
|
307
|
-
inputs: [],
|
|
308
|
-
outputs: [
|
|
305
|
+
"type": "function",
|
|
306
|
+
"name": "NATIVE_ETH",
|
|
307
|
+
"inputs": [],
|
|
308
|
+
"outputs": [
|
|
309
309
|
{
|
|
310
|
-
name: "",
|
|
311
|
-
type: "address",
|
|
312
|
-
internalType: "address"
|
|
310
|
+
"name": "",
|
|
311
|
+
"type": "address",
|
|
312
|
+
"internalType": "address"
|
|
313
313
|
}
|
|
314
314
|
],
|
|
315
|
-
stateMutability: "view"
|
|
315
|
+
"stateMutability": "view"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
|
-
type: "function",
|
|
319
|
-
name: "VERSION",
|
|
320
|
-
inputs: [],
|
|
321
|
-
outputs: [
|
|
318
|
+
"type": "function",
|
|
319
|
+
"name": "VERSION",
|
|
320
|
+
"inputs": [],
|
|
321
|
+
"outputs": [
|
|
322
322
|
{
|
|
323
|
-
name: "",
|
|
324
|
-
type: "uint16",
|
|
325
|
-
internalType: "uint16"
|
|
323
|
+
"name": "",
|
|
324
|
+
"type": "uint16",
|
|
325
|
+
"internalType": "uint16"
|
|
326
326
|
}
|
|
327
327
|
],
|
|
328
|
-
stateMutability: "view"
|
|
328
|
+
"stateMutability": "view"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
type: "function",
|
|
332
|
-
name: "acceptOwnership",
|
|
333
|
-
inputs: [],
|
|
334
|
-
outputs: [],
|
|
335
|
-
stateMutability: "nonpayable"
|
|
331
|
+
"type": "function",
|
|
332
|
+
"name": "acceptOwnership",
|
|
333
|
+
"inputs": [],
|
|
334
|
+
"outputs": [],
|
|
335
|
+
"stateMutability": "nonpayable"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
type: "function",
|
|
339
|
-
name: "addBot",
|
|
340
|
-
inputs: [
|
|
338
|
+
"type": "function",
|
|
339
|
+
"name": "addBot",
|
|
340
|
+
"inputs": [
|
|
341
341
|
{
|
|
342
|
-
name: "bot",
|
|
343
|
-
type: "address",
|
|
344
|
-
internalType: "address"
|
|
342
|
+
"name": "bot",
|
|
343
|
+
"type": "address",
|
|
344
|
+
"internalType": "address"
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
|
-
name: "params",
|
|
348
|
-
type: "tuple",
|
|
349
|
-
internalType: "struct AxonVault.BotConfigParams",
|
|
350
|
-
components: [
|
|
347
|
+
"name": "params",
|
|
348
|
+
"type": "tuple",
|
|
349
|
+
"internalType": "struct AxonVault.BotConfigParams",
|
|
350
|
+
"components": [
|
|
351
351
|
{
|
|
352
|
-
name: "maxPerTxAmount",
|
|
353
|
-
type: "uint256",
|
|
354
|
-
internalType: "uint256"
|
|
352
|
+
"name": "maxPerTxAmount",
|
|
353
|
+
"type": "uint256",
|
|
354
|
+
"internalType": "uint256"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
|
-
name: "maxRebalanceAmount",
|
|
358
|
-
type: "uint256",
|
|
359
|
-
internalType: "uint256"
|
|
357
|
+
"name": "maxRebalanceAmount",
|
|
358
|
+
"type": "uint256",
|
|
359
|
+
"internalType": "uint256"
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
|
-
name: "spendingLimits",
|
|
363
|
-
type: "tuple[]",
|
|
364
|
-
internalType: "struct AxonVault.SpendingLimit[]",
|
|
365
|
-
components: [
|
|
362
|
+
"name": "spendingLimits",
|
|
363
|
+
"type": "tuple[]",
|
|
364
|
+
"internalType": "struct AxonVault.SpendingLimit[]",
|
|
365
|
+
"components": [
|
|
366
366
|
{
|
|
367
|
-
name: "amount",
|
|
368
|
-
type: "uint256",
|
|
369
|
-
internalType: "uint256"
|
|
367
|
+
"name": "amount",
|
|
368
|
+
"type": "uint256",
|
|
369
|
+
"internalType": "uint256"
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
|
-
name: "maxCount",
|
|
373
|
-
type: "uint256",
|
|
374
|
-
internalType: "uint256"
|
|
372
|
+
"name": "maxCount",
|
|
373
|
+
"type": "uint256",
|
|
374
|
+
"internalType": "uint256"
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
|
-
name: "windowSeconds",
|
|
378
|
-
type: "uint256",
|
|
379
|
-
internalType: "uint256"
|
|
377
|
+
"name": "windowSeconds",
|
|
378
|
+
"type": "uint256",
|
|
379
|
+
"internalType": "uint256"
|
|
380
380
|
}
|
|
381
381
|
]
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
|
-
name: "aiTriggerThreshold",
|
|
385
|
-
type: "uint256",
|
|
386
|
-
internalType: "uint256"
|
|
384
|
+
"name": "aiTriggerThreshold",
|
|
385
|
+
"type": "uint256",
|
|
386
|
+
"internalType": "uint256"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
|
-
name: "requireAiVerification",
|
|
390
|
-
type: "bool",
|
|
391
|
-
internalType: "bool"
|
|
389
|
+
"name": "requireAiVerification",
|
|
390
|
+
"type": "bool",
|
|
391
|
+
"internalType": "bool"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
}
|
|
395
395
|
],
|
|
396
|
-
outputs: [],
|
|
397
|
-
stateMutability: "nonpayable"
|
|
396
|
+
"outputs": [],
|
|
397
|
+
"stateMutability": "nonpayable"
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
type: "function",
|
|
401
|
-
name: "addBotDestination",
|
|
402
|
-
inputs: [
|
|
400
|
+
"type": "function",
|
|
401
|
+
"name": "addBotDestination",
|
|
402
|
+
"inputs": [
|
|
403
403
|
{
|
|
404
|
-
name: "bot",
|
|
405
|
-
type: "address",
|
|
406
|
-
internalType: "address"
|
|
404
|
+
"name": "bot",
|
|
405
|
+
"type": "address",
|
|
406
|
+
"internalType": "address"
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
|
-
name: "destination",
|
|
410
|
-
type: "address",
|
|
411
|
-
internalType: "address"
|
|
409
|
+
"name": "destination",
|
|
410
|
+
"type": "address",
|
|
411
|
+
"internalType": "address"
|
|
412
412
|
}
|
|
413
413
|
],
|
|
414
|
-
outputs: [],
|
|
415
|
-
stateMutability: "nonpayable"
|
|
414
|
+
"outputs": [],
|
|
415
|
+
"stateMutability": "nonpayable"
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
|
-
type: "function",
|
|
419
|
-
name: "addGlobalBlacklist",
|
|
420
|
-
inputs: [
|
|
418
|
+
"type": "function",
|
|
419
|
+
"name": "addGlobalBlacklist",
|
|
420
|
+
"inputs": [
|
|
421
421
|
{
|
|
422
|
-
name: "destination",
|
|
423
|
-
type: "address",
|
|
424
|
-
internalType: "address"
|
|
422
|
+
"name": "destination",
|
|
423
|
+
"type": "address",
|
|
424
|
+
"internalType": "address"
|
|
425
425
|
}
|
|
426
426
|
],
|
|
427
|
-
outputs: [],
|
|
428
|
-
stateMutability: "nonpayable"
|
|
427
|
+
"outputs": [],
|
|
428
|
+
"stateMutability": "nonpayable"
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
|
-
type: "function",
|
|
432
|
-
name: "addGlobalDestination",
|
|
433
|
-
inputs: [
|
|
431
|
+
"type": "function",
|
|
432
|
+
"name": "addGlobalDestination",
|
|
433
|
+
"inputs": [
|
|
434
434
|
{
|
|
435
|
-
name: "destination",
|
|
436
|
-
type: "address",
|
|
437
|
-
internalType: "address"
|
|
435
|
+
"name": "destination",
|
|
436
|
+
"type": "address",
|
|
437
|
+
"internalType": "address"
|
|
438
438
|
}
|
|
439
439
|
],
|
|
440
|
-
outputs: [],
|
|
441
|
-
stateMutability: "nonpayable"
|
|
440
|
+
"outputs": [],
|
|
441
|
+
"stateMutability": "nonpayable"
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
|
-
type: "function",
|
|
445
|
-
name: "addProtocol",
|
|
446
|
-
inputs: [
|
|
444
|
+
"type": "function",
|
|
445
|
+
"name": "addProtocol",
|
|
446
|
+
"inputs": [
|
|
447
447
|
{
|
|
448
|
-
name: "protocol",
|
|
449
|
-
type: "address",
|
|
450
|
-
internalType: "address"
|
|
448
|
+
"name": "protocol",
|
|
449
|
+
"type": "address",
|
|
450
|
+
"internalType": "address"
|
|
451
451
|
}
|
|
452
452
|
],
|
|
453
|
-
outputs: [],
|
|
454
|
-
stateMutability: "nonpayable"
|
|
453
|
+
"outputs": [],
|
|
454
|
+
"stateMutability": "nonpayable"
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
|
-
type: "function",
|
|
458
|
-
name: "addRebalanceTokens",
|
|
459
|
-
inputs: [
|
|
457
|
+
"type": "function",
|
|
458
|
+
"name": "addRebalanceTokens",
|
|
459
|
+
"inputs": [
|
|
460
460
|
{
|
|
461
|
-
name: "tokens",
|
|
462
|
-
type: "address[]",
|
|
463
|
-
internalType: "address[]"
|
|
461
|
+
"name": "tokens",
|
|
462
|
+
"type": "address[]",
|
|
463
|
+
"internalType": "address[]"
|
|
464
464
|
}
|
|
465
465
|
],
|
|
466
|
-
outputs: [],
|
|
467
|
-
stateMutability: "nonpayable"
|
|
466
|
+
"outputs": [],
|
|
467
|
+
"stateMutability": "nonpayable"
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
|
-
type: "function",
|
|
471
|
-
name: "approvedProtocolCount",
|
|
472
|
-
inputs: [],
|
|
473
|
-
outputs: [
|
|
470
|
+
"type": "function",
|
|
471
|
+
"name": "approvedProtocolCount",
|
|
472
|
+
"inputs": [],
|
|
473
|
+
"outputs": [
|
|
474
474
|
{
|
|
475
|
-
name: "",
|
|
476
|
-
type: "uint256",
|
|
477
|
-
internalType: "uint256"
|
|
475
|
+
"name": "",
|
|
476
|
+
"type": "uint256",
|
|
477
|
+
"internalType": "uint256"
|
|
478
478
|
}
|
|
479
479
|
],
|
|
480
|
-
stateMutability: "view"
|
|
480
|
+
"stateMutability": "view"
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
type: "function",
|
|
484
|
-
name: "approvedProtocols",
|
|
485
|
-
inputs: [
|
|
483
|
+
"type": "function",
|
|
484
|
+
"name": "approvedProtocols",
|
|
485
|
+
"inputs": [
|
|
486
486
|
{
|
|
487
|
-
name: "",
|
|
488
|
-
type: "address",
|
|
489
|
-
internalType: "address"
|
|
487
|
+
"name": "",
|
|
488
|
+
"type": "address",
|
|
489
|
+
"internalType": "address"
|
|
490
490
|
}
|
|
491
491
|
],
|
|
492
|
-
outputs: [
|
|
492
|
+
"outputs": [
|
|
493
493
|
{
|
|
494
|
-
name: "",
|
|
495
|
-
type: "bool",
|
|
496
|
-
internalType: "bool"
|
|
494
|
+
"name": "",
|
|
495
|
+
"type": "bool",
|
|
496
|
+
"internalType": "bool"
|
|
497
497
|
}
|
|
498
498
|
],
|
|
499
|
-
stateMutability: "view"
|
|
499
|
+
"stateMutability": "view"
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
|
-
type: "function",
|
|
503
|
-
name: "axonRegistry",
|
|
504
|
-
inputs: [],
|
|
505
|
-
outputs: [
|
|
502
|
+
"type": "function",
|
|
503
|
+
"name": "axonRegistry",
|
|
504
|
+
"inputs": [],
|
|
505
|
+
"outputs": [
|
|
506
506
|
{
|
|
507
|
-
name: "",
|
|
508
|
-
type: "address",
|
|
509
|
-
internalType: "address"
|
|
507
|
+
"name": "",
|
|
508
|
+
"type": "address",
|
|
509
|
+
"internalType": "address"
|
|
510
510
|
}
|
|
511
511
|
],
|
|
512
|
-
stateMutability: "view"
|
|
512
|
+
"stateMutability": "view"
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
|
-
type: "function",
|
|
516
|
-
name: "botAddedByOperator",
|
|
517
|
-
inputs: [
|
|
515
|
+
"type": "function",
|
|
516
|
+
"name": "botAddedByOperator",
|
|
517
|
+
"inputs": [
|
|
518
518
|
{
|
|
519
|
-
name: "",
|
|
520
|
-
type: "address",
|
|
521
|
-
internalType: "address"
|
|
519
|
+
"name": "",
|
|
520
|
+
"type": "address",
|
|
521
|
+
"internalType": "address"
|
|
522
522
|
}
|
|
523
523
|
],
|
|
524
|
-
outputs: [
|
|
524
|
+
"outputs": [
|
|
525
525
|
{
|
|
526
|
-
name: "",
|
|
527
|
-
type: "bool",
|
|
528
|
-
internalType: "bool"
|
|
526
|
+
"name": "",
|
|
527
|
+
"type": "bool",
|
|
528
|
+
"internalType": "bool"
|
|
529
529
|
}
|
|
530
530
|
],
|
|
531
|
-
stateMutability: "view"
|
|
531
|
+
"stateMutability": "view"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
|
-
type: "function",
|
|
535
|
-
name: "botDestinationCount",
|
|
536
|
-
inputs: [
|
|
534
|
+
"type": "function",
|
|
535
|
+
"name": "botDestinationCount",
|
|
536
|
+
"inputs": [
|
|
537
537
|
{
|
|
538
|
-
name: "",
|
|
539
|
-
type: "address",
|
|
540
|
-
internalType: "address"
|
|
538
|
+
"name": "",
|
|
539
|
+
"type": "address",
|
|
540
|
+
"internalType": "address"
|
|
541
541
|
}
|
|
542
542
|
],
|
|
543
|
-
outputs: [
|
|
543
|
+
"outputs": [
|
|
544
544
|
{
|
|
545
|
-
name: "",
|
|
546
|
-
type: "uint256",
|
|
547
|
-
internalType: "uint256"
|
|
545
|
+
"name": "",
|
|
546
|
+
"type": "uint256",
|
|
547
|
+
"internalType": "uint256"
|
|
548
548
|
}
|
|
549
549
|
],
|
|
550
|
-
stateMutability: "view"
|
|
550
|
+
"stateMutability": "view"
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
|
-
type: "function",
|
|
554
|
-
name: "botDestinationWhitelist",
|
|
555
|
-
inputs: [
|
|
553
|
+
"type": "function",
|
|
554
|
+
"name": "botDestinationWhitelist",
|
|
555
|
+
"inputs": [
|
|
556
556
|
{
|
|
557
|
-
name: "",
|
|
558
|
-
type: "address",
|
|
559
|
-
internalType: "address"
|
|
557
|
+
"name": "",
|
|
558
|
+
"type": "address",
|
|
559
|
+
"internalType": "address"
|
|
560
560
|
},
|
|
561
561
|
{
|
|
562
|
-
name: "",
|
|
563
|
-
type: "address",
|
|
564
|
-
internalType: "address"
|
|
562
|
+
"name": "",
|
|
563
|
+
"type": "address",
|
|
564
|
+
"internalType": "address"
|
|
565
565
|
}
|
|
566
566
|
],
|
|
567
|
-
outputs: [
|
|
567
|
+
"outputs": [
|
|
568
568
|
{
|
|
569
|
-
name: "",
|
|
570
|
-
type: "bool",
|
|
571
|
-
internalType: "bool"
|
|
569
|
+
"name": "",
|
|
570
|
+
"type": "bool",
|
|
571
|
+
"internalType": "bool"
|
|
572
572
|
}
|
|
573
573
|
],
|
|
574
|
-
stateMutability: "view"
|
|
574
|
+
"stateMutability": "view"
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
|
-
type: "function",
|
|
578
|
-
name: "deposit",
|
|
579
|
-
inputs: [
|
|
577
|
+
"type": "function",
|
|
578
|
+
"name": "deposit",
|
|
579
|
+
"inputs": [
|
|
580
580
|
{
|
|
581
|
-
name: "token",
|
|
582
|
-
type: "address",
|
|
583
|
-
internalType: "address"
|
|
581
|
+
"name": "token",
|
|
582
|
+
"type": "address",
|
|
583
|
+
"internalType": "address"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
|
-
name: "amount",
|
|
587
|
-
type: "uint256",
|
|
588
|
-
internalType: "uint256"
|
|
586
|
+
"name": "amount",
|
|
587
|
+
"type": "uint256",
|
|
588
|
+
"internalType": "uint256"
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
|
-
name: "ref",
|
|
592
|
-
type: "bytes32",
|
|
593
|
-
internalType: "bytes32"
|
|
591
|
+
"name": "ref",
|
|
592
|
+
"type": "bytes32",
|
|
593
|
+
"internalType": "bytes32"
|
|
594
594
|
}
|
|
595
595
|
],
|
|
596
|
-
outputs: [],
|
|
597
|
-
stateMutability: "payable"
|
|
596
|
+
"outputs": [],
|
|
597
|
+
"stateMutability": "payable"
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
|
-
type: "function",
|
|
601
|
-
name: "eip712Domain",
|
|
602
|
-
inputs: [],
|
|
603
|
-
outputs: [
|
|
600
|
+
"type": "function",
|
|
601
|
+
"name": "eip712Domain",
|
|
602
|
+
"inputs": [],
|
|
603
|
+
"outputs": [
|
|
604
604
|
{
|
|
605
|
-
name: "fields",
|
|
606
|
-
type: "bytes1",
|
|
607
|
-
internalType: "bytes1"
|
|
605
|
+
"name": "fields",
|
|
606
|
+
"type": "bytes1",
|
|
607
|
+
"internalType": "bytes1"
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
|
-
name: "name",
|
|
611
|
-
type: "string",
|
|
612
|
-
internalType: "string"
|
|
610
|
+
"name": "name",
|
|
611
|
+
"type": "string",
|
|
612
|
+
"internalType": "string"
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
name: "version",
|
|
616
|
-
type: "string",
|
|
617
|
-
internalType: "string"
|
|
615
|
+
"name": "version",
|
|
616
|
+
"type": "string",
|
|
617
|
+
"internalType": "string"
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
|
-
name: "chainId",
|
|
621
|
-
type: "uint256",
|
|
622
|
-
internalType: "uint256"
|
|
620
|
+
"name": "chainId",
|
|
621
|
+
"type": "uint256",
|
|
622
|
+
"internalType": "uint256"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
|
-
name: "verifyingContract",
|
|
626
|
-
type: "address",
|
|
627
|
-
internalType: "address"
|
|
625
|
+
"name": "verifyingContract",
|
|
626
|
+
"type": "address",
|
|
627
|
+
"internalType": "address"
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
|
-
name: "salt",
|
|
631
|
-
type: "bytes32",
|
|
632
|
-
internalType: "bytes32"
|
|
630
|
+
"name": "salt",
|
|
631
|
+
"type": "bytes32",
|
|
632
|
+
"internalType": "bytes32"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
|
-
name: "extensions",
|
|
636
|
-
type: "uint256[]",
|
|
637
|
-
internalType: "uint256[]"
|
|
635
|
+
"name": "extensions",
|
|
636
|
+
"type": "uint256[]",
|
|
637
|
+
"internalType": "uint256[]"
|
|
638
638
|
}
|
|
639
639
|
],
|
|
640
|
-
stateMutability: "view"
|
|
640
|
+
"stateMutability": "view"
|
|
641
641
|
},
|
|
642
642
|
{
|
|
643
|
-
type: "function",
|
|
644
|
-
name: "executePayment",
|
|
645
|
-
inputs: [
|
|
643
|
+
"type": "function",
|
|
644
|
+
"name": "executePayment",
|
|
645
|
+
"inputs": [
|
|
646
646
|
{
|
|
647
|
-
name: "intent",
|
|
648
|
-
type: "tuple",
|
|
649
|
-
internalType: "struct AxonVault.PaymentIntent",
|
|
650
|
-
components: [
|
|
647
|
+
"name": "intent",
|
|
648
|
+
"type": "tuple",
|
|
649
|
+
"internalType": "struct AxonVault.PaymentIntent",
|
|
650
|
+
"components": [
|
|
651
651
|
{
|
|
652
|
-
name: "bot",
|
|
653
|
-
type: "address",
|
|
654
|
-
internalType: "address"
|
|
652
|
+
"name": "bot",
|
|
653
|
+
"type": "address",
|
|
654
|
+
"internalType": "address"
|
|
655
655
|
},
|
|
656
656
|
{
|
|
657
|
-
name: "to",
|
|
658
|
-
type: "address",
|
|
659
|
-
internalType: "address"
|
|
657
|
+
"name": "to",
|
|
658
|
+
"type": "address",
|
|
659
|
+
"internalType": "address"
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
|
-
name: "token",
|
|
663
|
-
type: "address",
|
|
664
|
-
internalType: "address"
|
|
662
|
+
"name": "token",
|
|
663
|
+
"type": "address",
|
|
664
|
+
"internalType": "address"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
|
-
name: "amount",
|
|
668
|
-
type: "uint256",
|
|
669
|
-
internalType: "uint256"
|
|
667
|
+
"name": "amount",
|
|
668
|
+
"type": "uint256",
|
|
669
|
+
"internalType": "uint256"
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
name: "deadline",
|
|
673
|
-
type: "uint256",
|
|
674
|
-
internalType: "uint256"
|
|
672
|
+
"name": "deadline",
|
|
673
|
+
"type": "uint256",
|
|
674
|
+
"internalType": "uint256"
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
|
-
name: "ref",
|
|
678
|
-
type: "bytes32",
|
|
679
|
-
internalType: "bytes32"
|
|
677
|
+
"name": "ref",
|
|
678
|
+
"type": "bytes32",
|
|
679
|
+
"internalType": "bytes32"
|
|
680
680
|
}
|
|
681
681
|
]
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
|
-
name: "signature",
|
|
685
|
-
type: "bytes",
|
|
686
|
-
internalType: "bytes"
|
|
684
|
+
"name": "signature",
|
|
685
|
+
"type": "bytes",
|
|
686
|
+
"internalType": "bytes"
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
|
-
name: "fromToken",
|
|
690
|
-
type: "address",
|
|
691
|
-
internalType: "address"
|
|
689
|
+
"name": "fromToken",
|
|
690
|
+
"type": "address",
|
|
691
|
+
"internalType": "address"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
|
-
name: "maxFromAmount",
|
|
695
|
-
type: "uint256",
|
|
696
|
-
internalType: "uint256"
|
|
694
|
+
"name": "maxFromAmount",
|
|
695
|
+
"type": "uint256",
|
|
696
|
+
"internalType": "uint256"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
name: "swapRouter",
|
|
700
|
-
type: "address",
|
|
701
|
-
internalType: "address"
|
|
699
|
+
"name": "swapRouter",
|
|
700
|
+
"type": "address",
|
|
701
|
+
"internalType": "address"
|
|
702
702
|
},
|
|
703
703
|
{
|
|
704
|
-
name: "swapCalldata",
|
|
705
|
-
type: "bytes",
|
|
706
|
-
internalType: "bytes"
|
|
704
|
+
"name": "swapCalldata",
|
|
705
|
+
"type": "bytes",
|
|
706
|
+
"internalType": "bytes"
|
|
707
707
|
}
|
|
708
708
|
],
|
|
709
|
-
outputs: [],
|
|
710
|
-
stateMutability: "nonpayable"
|
|
709
|
+
"outputs": [],
|
|
710
|
+
"stateMutability": "nonpayable"
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
|
-
type: "function",
|
|
714
|
-
name: "executeProtocol",
|
|
715
|
-
inputs: [
|
|
713
|
+
"type": "function",
|
|
714
|
+
"name": "executeProtocol",
|
|
715
|
+
"inputs": [
|
|
716
716
|
{
|
|
717
|
-
name: "intent",
|
|
718
|
-
type: "tuple",
|
|
719
|
-
internalType: "struct AxonVault.ExecuteIntent",
|
|
720
|
-
components: [
|
|
717
|
+
"name": "intent",
|
|
718
|
+
"type": "tuple",
|
|
719
|
+
"internalType": "struct AxonVault.ExecuteIntent",
|
|
720
|
+
"components": [
|
|
721
721
|
{
|
|
722
|
-
name: "bot",
|
|
723
|
-
type: "address",
|
|
724
|
-
internalType: "address"
|
|
722
|
+
"name": "bot",
|
|
723
|
+
"type": "address",
|
|
724
|
+
"internalType": "address"
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
|
-
name: "protocol",
|
|
728
|
-
type: "address",
|
|
729
|
-
internalType: "address"
|
|
727
|
+
"name": "protocol",
|
|
728
|
+
"type": "address",
|
|
729
|
+
"internalType": "address"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
name: "calldataHash",
|
|
733
|
-
type: "bytes32",
|
|
734
|
-
internalType: "bytes32"
|
|
732
|
+
"name": "calldataHash",
|
|
733
|
+
"type": "bytes32",
|
|
734
|
+
"internalType": "bytes32"
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
|
-
name: "token",
|
|
738
|
-
type: "address",
|
|
739
|
-
internalType: "address"
|
|
737
|
+
"name": "token",
|
|
738
|
+
"type": "address",
|
|
739
|
+
"internalType": "address"
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
name: "amount",
|
|
743
|
-
type: "uint256",
|
|
744
|
-
internalType: "uint256"
|
|
742
|
+
"name": "amount",
|
|
743
|
+
"type": "uint256",
|
|
744
|
+
"internalType": "uint256"
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
|
-
name: "deadline",
|
|
748
|
-
type: "uint256",
|
|
749
|
-
internalType: "uint256"
|
|
747
|
+
"name": "deadline",
|
|
748
|
+
"type": "uint256",
|
|
749
|
+
"internalType": "uint256"
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
|
-
name: "ref",
|
|
753
|
-
type: "bytes32",
|
|
754
|
-
internalType: "bytes32"
|
|
752
|
+
"name": "ref",
|
|
753
|
+
"type": "bytes32",
|
|
754
|
+
"internalType": "bytes32"
|
|
755
755
|
}
|
|
756
756
|
]
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
-
name: "signature",
|
|
760
|
-
type: "bytes",
|
|
761
|
-
internalType: "bytes"
|
|
759
|
+
"name": "signature",
|
|
760
|
+
"type": "bytes",
|
|
761
|
+
"internalType": "bytes"
|
|
762
762
|
},
|
|
763
763
|
{
|
|
764
|
-
name: "callData",
|
|
765
|
-
type: "bytes",
|
|
766
|
-
internalType: "bytes"
|
|
764
|
+
"name": "callData",
|
|
765
|
+
"type": "bytes",
|
|
766
|
+
"internalType": "bytes"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
name: "fromToken",
|
|
770
|
-
type: "address",
|
|
771
|
-
internalType: "address"
|
|
769
|
+
"name": "fromToken",
|
|
770
|
+
"type": "address",
|
|
771
|
+
"internalType": "address"
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
|
-
name: "maxFromAmount",
|
|
775
|
-
type: "uint256",
|
|
776
|
-
internalType: "uint256"
|
|
774
|
+
"name": "maxFromAmount",
|
|
775
|
+
"type": "uint256",
|
|
776
|
+
"internalType": "uint256"
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
|
-
name: "swapRouter",
|
|
780
|
-
type: "address",
|
|
781
|
-
internalType: "address"
|
|
779
|
+
"name": "swapRouter",
|
|
780
|
+
"type": "address",
|
|
781
|
+
"internalType": "address"
|
|
782
782
|
},
|
|
783
783
|
{
|
|
784
|
-
name: "swapCalldata",
|
|
785
|
-
type: "bytes",
|
|
786
|
-
internalType: "bytes"
|
|
784
|
+
"name": "swapCalldata",
|
|
785
|
+
"type": "bytes",
|
|
786
|
+
"internalType": "bytes"
|
|
787
787
|
}
|
|
788
788
|
],
|
|
789
|
-
outputs: [
|
|
789
|
+
"outputs": [
|
|
790
790
|
{
|
|
791
|
-
name: "",
|
|
792
|
-
type: "bytes",
|
|
793
|
-
internalType: "bytes"
|
|
791
|
+
"name": "",
|
|
792
|
+
"type": "bytes",
|
|
793
|
+
"internalType": "bytes"
|
|
794
794
|
}
|
|
795
795
|
],
|
|
796
|
-
stateMutability: "nonpayable"
|
|
796
|
+
"stateMutability": "nonpayable"
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
|
-
type: "function",
|
|
800
|
-
name: "executeSwap",
|
|
801
|
-
inputs: [
|
|
799
|
+
"type": "function",
|
|
800
|
+
"name": "executeSwap",
|
|
801
|
+
"inputs": [
|
|
802
802
|
{
|
|
803
|
-
name: "intent",
|
|
804
|
-
type: "tuple",
|
|
805
|
-
internalType: "struct AxonVault.SwapIntent",
|
|
806
|
-
components: [
|
|
803
|
+
"name": "intent",
|
|
804
|
+
"type": "tuple",
|
|
805
|
+
"internalType": "struct AxonVault.SwapIntent",
|
|
806
|
+
"components": [
|
|
807
807
|
{
|
|
808
|
-
name: "bot",
|
|
809
|
-
type: "address",
|
|
810
|
-
internalType: "address"
|
|
808
|
+
"name": "bot",
|
|
809
|
+
"type": "address",
|
|
810
|
+
"internalType": "address"
|
|
811
811
|
},
|
|
812
812
|
{
|
|
813
|
-
name: "toToken",
|
|
814
|
-
type: "address",
|
|
815
|
-
internalType: "address"
|
|
813
|
+
"name": "toToken",
|
|
814
|
+
"type": "address",
|
|
815
|
+
"internalType": "address"
|
|
816
816
|
},
|
|
817
817
|
{
|
|
818
|
-
name: "minToAmount",
|
|
819
|
-
type: "uint256",
|
|
820
|
-
internalType: "uint256"
|
|
818
|
+
"name": "minToAmount",
|
|
819
|
+
"type": "uint256",
|
|
820
|
+
"internalType": "uint256"
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
|
-
name: "deadline",
|
|
824
|
-
type: "uint256",
|
|
825
|
-
internalType: "uint256"
|
|
823
|
+
"name": "deadline",
|
|
824
|
+
"type": "uint256",
|
|
825
|
+
"internalType": "uint256"
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
|
-
name: "ref",
|
|
829
|
-
type: "bytes32",
|
|
830
|
-
internalType: "bytes32"
|
|
828
|
+
"name": "ref",
|
|
829
|
+
"type": "bytes32",
|
|
830
|
+
"internalType": "bytes32"
|
|
831
831
|
}
|
|
832
832
|
]
|
|
833
833
|
},
|
|
834
834
|
{
|
|
835
|
-
name: "signature",
|
|
836
|
-
type: "bytes",
|
|
837
|
-
internalType: "bytes"
|
|
835
|
+
"name": "signature",
|
|
836
|
+
"type": "bytes",
|
|
837
|
+
"internalType": "bytes"
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
|
-
name: "fromToken",
|
|
841
|
-
type: "address",
|
|
842
|
-
internalType: "address"
|
|
840
|
+
"name": "fromToken",
|
|
841
|
+
"type": "address",
|
|
842
|
+
"internalType": "address"
|
|
843
843
|
},
|
|
844
844
|
{
|
|
845
|
-
name: "maxFromAmount",
|
|
846
|
-
type: "uint256",
|
|
847
|
-
internalType: "uint256"
|
|
845
|
+
"name": "maxFromAmount",
|
|
846
|
+
"type": "uint256",
|
|
847
|
+
"internalType": "uint256"
|
|
848
848
|
},
|
|
849
849
|
{
|
|
850
|
-
name: "swapRouter",
|
|
851
|
-
type: "address",
|
|
852
|
-
internalType: "address"
|
|
850
|
+
"name": "swapRouter",
|
|
851
|
+
"type": "address",
|
|
852
|
+
"internalType": "address"
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
name: "swapCalldata",
|
|
856
|
-
type: "bytes",
|
|
857
|
-
internalType: "bytes"
|
|
855
|
+
"name": "swapCalldata",
|
|
856
|
+
"type": "bytes",
|
|
857
|
+
"internalType": "bytes"
|
|
858
858
|
}
|
|
859
859
|
],
|
|
860
|
-
outputs: [],
|
|
861
|
-
stateMutability: "nonpayable"
|
|
860
|
+
"outputs": [],
|
|
861
|
+
"stateMutability": "nonpayable"
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
|
-
type: "function",
|
|
865
|
-
name: "getBotConfig",
|
|
866
|
-
inputs: [
|
|
864
|
+
"type": "function",
|
|
865
|
+
"name": "getBotConfig",
|
|
866
|
+
"inputs": [
|
|
867
867
|
{
|
|
868
|
-
name: "bot",
|
|
869
|
-
type: "address",
|
|
870
|
-
internalType: "address"
|
|
868
|
+
"name": "bot",
|
|
869
|
+
"type": "address",
|
|
870
|
+
"internalType": "address"
|
|
871
871
|
}
|
|
872
872
|
],
|
|
873
|
-
outputs: [
|
|
873
|
+
"outputs": [
|
|
874
874
|
{
|
|
875
|
-
name: "",
|
|
876
|
-
type: "tuple",
|
|
877
|
-
internalType: "struct AxonVault.BotConfig",
|
|
878
|
-
components: [
|
|
875
|
+
"name": "",
|
|
876
|
+
"type": "tuple",
|
|
877
|
+
"internalType": "struct AxonVault.BotConfig",
|
|
878
|
+
"components": [
|
|
879
879
|
{
|
|
880
|
-
name: "isActive",
|
|
881
|
-
type: "bool",
|
|
882
|
-
internalType: "bool"
|
|
880
|
+
"name": "isActive",
|
|
881
|
+
"type": "bool",
|
|
882
|
+
"internalType": "bool"
|
|
883
883
|
},
|
|
884
884
|
{
|
|
885
|
-
name: "registeredAt",
|
|
886
|
-
type: "uint256",
|
|
887
|
-
internalType: "uint256"
|
|
885
|
+
"name": "registeredAt",
|
|
886
|
+
"type": "uint256",
|
|
887
|
+
"internalType": "uint256"
|
|
888
888
|
},
|
|
889
889
|
{
|
|
890
|
-
name: "maxPerTxAmount",
|
|
891
|
-
type: "uint256",
|
|
892
|
-
internalType: "uint256"
|
|
890
|
+
"name": "maxPerTxAmount",
|
|
891
|
+
"type": "uint256",
|
|
892
|
+
"internalType": "uint256"
|
|
893
893
|
},
|
|
894
894
|
{
|
|
895
|
-
name: "maxRebalanceAmount",
|
|
896
|
-
type: "uint256",
|
|
897
|
-
internalType: "uint256"
|
|
895
|
+
"name": "maxRebalanceAmount",
|
|
896
|
+
"type": "uint256",
|
|
897
|
+
"internalType": "uint256"
|
|
898
898
|
},
|
|
899
899
|
{
|
|
900
|
-
name: "spendingLimits",
|
|
901
|
-
type: "tuple[]",
|
|
902
|
-
internalType: "struct AxonVault.SpendingLimit[]",
|
|
903
|
-
components: [
|
|
900
|
+
"name": "spendingLimits",
|
|
901
|
+
"type": "tuple[]",
|
|
902
|
+
"internalType": "struct AxonVault.SpendingLimit[]",
|
|
903
|
+
"components": [
|
|
904
904
|
{
|
|
905
|
-
name: "amount",
|
|
906
|
-
type: "uint256",
|
|
907
|
-
internalType: "uint256"
|
|
905
|
+
"name": "amount",
|
|
906
|
+
"type": "uint256",
|
|
907
|
+
"internalType": "uint256"
|
|
908
908
|
},
|
|
909
909
|
{
|
|
910
|
-
name: "maxCount",
|
|
911
|
-
type: "uint256",
|
|
912
|
-
internalType: "uint256"
|
|
910
|
+
"name": "maxCount",
|
|
911
|
+
"type": "uint256",
|
|
912
|
+
"internalType": "uint256"
|
|
913
913
|
},
|
|
914
914
|
{
|
|
915
|
-
name: "windowSeconds",
|
|
916
|
-
type: "uint256",
|
|
917
|
-
internalType: "uint256"
|
|
915
|
+
"name": "windowSeconds",
|
|
916
|
+
"type": "uint256",
|
|
917
|
+
"internalType": "uint256"
|
|
918
918
|
}
|
|
919
919
|
]
|
|
920
920
|
},
|
|
921
921
|
{
|
|
922
|
-
name: "aiTriggerThreshold",
|
|
923
|
-
type: "uint256",
|
|
924
|
-
internalType: "uint256"
|
|
922
|
+
"name": "aiTriggerThreshold",
|
|
923
|
+
"type": "uint256",
|
|
924
|
+
"internalType": "uint256"
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
|
-
name: "requireAiVerification",
|
|
928
|
-
type: "bool",
|
|
929
|
-
internalType: "bool"
|
|
927
|
+
"name": "requireAiVerification",
|
|
928
|
+
"type": "bool",
|
|
929
|
+
"internalType": "bool"
|
|
930
930
|
}
|
|
931
931
|
]
|
|
932
932
|
}
|
|
933
933
|
],
|
|
934
|
-
stateMutability: "view"
|
|
934
|
+
"stateMutability": "view"
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
|
-
type: "function",
|
|
938
|
-
name: "globalBlacklistCount",
|
|
939
|
-
inputs: [],
|
|
940
|
-
outputs: [
|
|
937
|
+
"type": "function",
|
|
938
|
+
"name": "globalBlacklistCount",
|
|
939
|
+
"inputs": [],
|
|
940
|
+
"outputs": [
|
|
941
941
|
{
|
|
942
|
-
name: "",
|
|
943
|
-
type: "uint256",
|
|
944
|
-
internalType: "uint256"
|
|
942
|
+
"name": "",
|
|
943
|
+
"type": "uint256",
|
|
944
|
+
"internalType": "uint256"
|
|
945
945
|
}
|
|
946
946
|
],
|
|
947
|
-
stateMutability: "view"
|
|
947
|
+
"stateMutability": "view"
|
|
948
948
|
},
|
|
949
949
|
{
|
|
950
|
-
type: "function",
|
|
951
|
-
name: "globalDestinationBlacklist",
|
|
952
|
-
inputs: [
|
|
950
|
+
"type": "function",
|
|
951
|
+
"name": "globalDestinationBlacklist",
|
|
952
|
+
"inputs": [
|
|
953
953
|
{
|
|
954
|
-
name: "",
|
|
955
|
-
type: "address",
|
|
956
|
-
internalType: "address"
|
|
954
|
+
"name": "",
|
|
955
|
+
"type": "address",
|
|
956
|
+
"internalType": "address"
|
|
957
957
|
}
|
|
958
958
|
],
|
|
959
|
-
outputs: [
|
|
959
|
+
"outputs": [
|
|
960
960
|
{
|
|
961
|
-
name: "",
|
|
962
|
-
type: "bool",
|
|
963
|
-
internalType: "bool"
|
|
961
|
+
"name": "",
|
|
962
|
+
"type": "bool",
|
|
963
|
+
"internalType": "bool"
|
|
964
964
|
}
|
|
965
965
|
],
|
|
966
|
-
stateMutability: "view"
|
|
966
|
+
"stateMutability": "view"
|
|
967
967
|
},
|
|
968
968
|
{
|
|
969
|
-
type: "function",
|
|
970
|
-
name: "globalDestinationCount",
|
|
971
|
-
inputs: [],
|
|
972
|
-
outputs: [
|
|
969
|
+
"type": "function",
|
|
970
|
+
"name": "globalDestinationCount",
|
|
971
|
+
"inputs": [],
|
|
972
|
+
"outputs": [
|
|
973
973
|
{
|
|
974
|
-
name: "",
|
|
975
|
-
type: "uint256",
|
|
976
|
-
internalType: "uint256"
|
|
974
|
+
"name": "",
|
|
975
|
+
"type": "uint256",
|
|
976
|
+
"internalType": "uint256"
|
|
977
977
|
}
|
|
978
978
|
],
|
|
979
|
-
stateMutability: "view"
|
|
979
|
+
"stateMutability": "view"
|
|
980
980
|
},
|
|
981
981
|
{
|
|
982
|
-
type: "function",
|
|
983
|
-
name: "globalDestinationWhitelist",
|
|
984
|
-
inputs: [
|
|
982
|
+
"type": "function",
|
|
983
|
+
"name": "globalDestinationWhitelist",
|
|
984
|
+
"inputs": [
|
|
985
985
|
{
|
|
986
|
-
name: "",
|
|
987
|
-
type: "address",
|
|
988
|
-
internalType: "address"
|
|
986
|
+
"name": "",
|
|
987
|
+
"type": "address",
|
|
988
|
+
"internalType": "address"
|
|
989
989
|
}
|
|
990
990
|
],
|
|
991
|
-
outputs: [
|
|
991
|
+
"outputs": [
|
|
992
992
|
{
|
|
993
|
-
name: "",
|
|
994
|
-
type: "bool",
|
|
995
|
-
internalType: "bool"
|
|
993
|
+
"name": "",
|
|
994
|
+
"type": "bool",
|
|
995
|
+
"internalType": "bool"
|
|
996
996
|
}
|
|
997
997
|
],
|
|
998
|
-
stateMutability: "view"
|
|
998
|
+
"stateMutability": "view"
|
|
999
999
|
},
|
|
1000
1000
|
{
|
|
1001
|
-
type: "function",
|
|
1002
|
-
name: "isBotActive",
|
|
1003
|
-
inputs: [
|
|
1001
|
+
"type": "function",
|
|
1002
|
+
"name": "isBotActive",
|
|
1003
|
+
"inputs": [
|
|
1004
1004
|
{
|
|
1005
|
-
name: "bot",
|
|
1006
|
-
type: "address",
|
|
1007
|
-
internalType: "address"
|
|
1005
|
+
"name": "bot",
|
|
1006
|
+
"type": "address",
|
|
1007
|
+
"internalType": "address"
|
|
1008
1008
|
}
|
|
1009
1009
|
],
|
|
1010
|
-
outputs: [
|
|
1010
|
+
"outputs": [
|
|
1011
1011
|
{
|
|
1012
|
-
name: "",
|
|
1013
|
-
type: "bool",
|
|
1014
|
-
internalType: "bool"
|
|
1012
|
+
"name": "",
|
|
1013
|
+
"type": "bool",
|
|
1014
|
+
"internalType": "bool"
|
|
1015
1015
|
}
|
|
1016
1016
|
],
|
|
1017
|
-
stateMutability: "view"
|
|
1017
|
+
"stateMutability": "view"
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
|
-
type: "function",
|
|
1021
|
-
name: "isProtocolApproved",
|
|
1022
|
-
inputs: [
|
|
1020
|
+
"type": "function",
|
|
1021
|
+
"name": "isProtocolApproved",
|
|
1022
|
+
"inputs": [
|
|
1023
1023
|
{
|
|
1024
|
-
name: "protocol",
|
|
1025
|
-
type: "address",
|
|
1026
|
-
internalType: "address"
|
|
1024
|
+
"name": "protocol",
|
|
1025
|
+
"type": "address",
|
|
1026
|
+
"internalType": "address"
|
|
1027
1027
|
}
|
|
1028
1028
|
],
|
|
1029
|
-
outputs: [
|
|
1029
|
+
"outputs": [
|
|
1030
1030
|
{
|
|
1031
|
-
name: "",
|
|
1032
|
-
type: "bool",
|
|
1033
|
-
internalType: "bool"
|
|
1031
|
+
"name": "",
|
|
1032
|
+
"type": "bool",
|
|
1033
|
+
"internalType": "bool"
|
|
1034
1034
|
}
|
|
1035
1035
|
],
|
|
1036
|
-
stateMutability: "view"
|
|
1036
|
+
"stateMutability": "view"
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
|
-
type: "function",
|
|
1040
|
-
name: "operator",
|
|
1041
|
-
inputs: [],
|
|
1042
|
-
outputs: [
|
|
1039
|
+
"type": "function",
|
|
1040
|
+
"name": "operator",
|
|
1041
|
+
"inputs": [],
|
|
1042
|
+
"outputs": [
|
|
1043
1043
|
{
|
|
1044
|
-
name: "",
|
|
1045
|
-
type: "address",
|
|
1046
|
-
internalType: "address"
|
|
1044
|
+
"name": "",
|
|
1045
|
+
"type": "address",
|
|
1046
|
+
"internalType": "address"
|
|
1047
1047
|
}
|
|
1048
1048
|
],
|
|
1049
|
-
stateMutability: "view"
|
|
1049
|
+
"stateMutability": "view"
|
|
1050
1050
|
},
|
|
1051
1051
|
{
|
|
1052
|
-
type: "function",
|
|
1053
|
-
name: "operatorBotCount",
|
|
1054
|
-
inputs: [],
|
|
1055
|
-
outputs: [
|
|
1052
|
+
"type": "function",
|
|
1053
|
+
"name": "operatorBotCount",
|
|
1054
|
+
"inputs": [],
|
|
1055
|
+
"outputs": [
|
|
1056
1056
|
{
|
|
1057
|
-
name: "",
|
|
1058
|
-
type: "uint256",
|
|
1059
|
-
internalType: "uint256"
|
|
1057
|
+
"name": "",
|
|
1058
|
+
"type": "uint256",
|
|
1059
|
+
"internalType": "uint256"
|
|
1060
1060
|
}
|
|
1061
1061
|
],
|
|
1062
|
-
stateMutability: "view"
|
|
1062
|
+
"stateMutability": "view"
|
|
1063
1063
|
},
|
|
1064
1064
|
{
|
|
1065
|
-
type: "function",
|
|
1066
|
-
name: "operatorCeilings",
|
|
1067
|
-
inputs: [],
|
|
1068
|
-
outputs: [
|
|
1065
|
+
"type": "function",
|
|
1066
|
+
"name": "operatorCeilings",
|
|
1067
|
+
"inputs": [],
|
|
1068
|
+
"outputs": [
|
|
1069
1069
|
{
|
|
1070
|
-
name: "maxPerTxAmount",
|
|
1071
|
-
type: "uint256",
|
|
1072
|
-
internalType: "uint256"
|
|
1070
|
+
"name": "maxPerTxAmount",
|
|
1071
|
+
"type": "uint256",
|
|
1072
|
+
"internalType": "uint256"
|
|
1073
1073
|
},
|
|
1074
1074
|
{
|
|
1075
|
-
name: "maxBotDailyLimit",
|
|
1076
|
-
type: "uint256",
|
|
1077
|
-
internalType: "uint256"
|
|
1075
|
+
"name": "maxBotDailyLimit",
|
|
1076
|
+
"type": "uint256",
|
|
1077
|
+
"internalType": "uint256"
|
|
1078
1078
|
},
|
|
1079
1079
|
{
|
|
1080
|
-
name: "maxOperatorBots",
|
|
1081
|
-
type: "uint256",
|
|
1082
|
-
internalType: "uint256"
|
|
1080
|
+
"name": "maxOperatorBots",
|
|
1081
|
+
"type": "uint256",
|
|
1082
|
+
"internalType": "uint256"
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
|
-
name: "vaultDailyAggregate",
|
|
1086
|
-
type: "uint256",
|
|
1087
|
-
internalType: "uint256"
|
|
1085
|
+
"name": "vaultDailyAggregate",
|
|
1086
|
+
"type": "uint256",
|
|
1087
|
+
"internalType": "uint256"
|
|
1088
1088
|
},
|
|
1089
1089
|
{
|
|
1090
|
-
name: "minAiTriggerFloor",
|
|
1091
|
-
type: "uint256",
|
|
1092
|
-
internalType: "uint256"
|
|
1090
|
+
"name": "minAiTriggerFloor",
|
|
1091
|
+
"type": "uint256",
|
|
1092
|
+
"internalType": "uint256"
|
|
1093
1093
|
}
|
|
1094
1094
|
],
|
|
1095
|
-
stateMutability: "view"
|
|
1095
|
+
"stateMutability": "view"
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
type: "function",
|
|
1099
|
-
name: "operatorMaxDrainPerDay",
|
|
1100
|
-
inputs: [],
|
|
1101
|
-
outputs: [
|
|
1098
|
+
"type": "function",
|
|
1099
|
+
"name": "operatorMaxDrainPerDay",
|
|
1100
|
+
"inputs": [],
|
|
1101
|
+
"outputs": [
|
|
1102
1102
|
{
|
|
1103
|
-
name: "",
|
|
1104
|
-
type: "uint256",
|
|
1105
|
-
internalType: "uint256"
|
|
1103
|
+
"name": "",
|
|
1104
|
+
"type": "uint256",
|
|
1105
|
+
"internalType": "uint256"
|
|
1106
1106
|
}
|
|
1107
1107
|
],
|
|
1108
|
-
stateMutability: "view"
|
|
1108
|
+
"stateMutability": "view"
|
|
1109
1109
|
},
|
|
1110
1110
|
{
|
|
1111
|
-
type: "function",
|
|
1112
|
-
name: "owner",
|
|
1113
|
-
inputs: [],
|
|
1114
|
-
outputs: [
|
|
1111
|
+
"type": "function",
|
|
1112
|
+
"name": "owner",
|
|
1113
|
+
"inputs": [],
|
|
1114
|
+
"outputs": [
|
|
1115
1115
|
{
|
|
1116
|
-
name: "",
|
|
1117
|
-
type: "address",
|
|
1118
|
-
internalType: "address"
|
|
1116
|
+
"name": "",
|
|
1117
|
+
"type": "address",
|
|
1118
|
+
"internalType": "address"
|
|
1119
1119
|
}
|
|
1120
1120
|
],
|
|
1121
|
-
stateMutability: "view"
|
|
1121
|
+
"stateMutability": "view"
|
|
1122
1122
|
},
|
|
1123
1123
|
{
|
|
1124
|
-
type: "function",
|
|
1125
|
-
name: "pause",
|
|
1126
|
-
inputs: [],
|
|
1127
|
-
outputs: [],
|
|
1128
|
-
stateMutability: "nonpayable"
|
|
1124
|
+
"type": "function",
|
|
1125
|
+
"name": "pause",
|
|
1126
|
+
"inputs": [],
|
|
1127
|
+
"outputs": [],
|
|
1128
|
+
"stateMutability": "nonpayable"
|
|
1129
1129
|
},
|
|
1130
1130
|
{
|
|
1131
|
-
type: "function",
|
|
1132
|
-
name: "paused",
|
|
1133
|
-
inputs: [],
|
|
1134
|
-
outputs: [
|
|
1131
|
+
"type": "function",
|
|
1132
|
+
"name": "paused",
|
|
1133
|
+
"inputs": [],
|
|
1134
|
+
"outputs": [
|
|
1135
1135
|
{
|
|
1136
|
-
name: "",
|
|
1137
|
-
type: "bool",
|
|
1138
|
-
internalType: "bool"
|
|
1136
|
+
"name": "",
|
|
1137
|
+
"type": "bool",
|
|
1138
|
+
"internalType": "bool"
|
|
1139
1139
|
}
|
|
1140
1140
|
],
|
|
1141
|
-
stateMutability: "view"
|
|
1141
|
+
"stateMutability": "view"
|
|
1142
1142
|
},
|
|
1143
1143
|
{
|
|
1144
|
-
type: "function",
|
|
1145
|
-
name: "pendingOwner",
|
|
1146
|
-
inputs: [],
|
|
1147
|
-
outputs: [
|
|
1144
|
+
"type": "function",
|
|
1145
|
+
"name": "pendingOwner",
|
|
1146
|
+
"inputs": [],
|
|
1147
|
+
"outputs": [
|
|
1148
1148
|
{
|
|
1149
|
-
name: "",
|
|
1150
|
-
type: "address",
|
|
1151
|
-
internalType: "address"
|
|
1149
|
+
"name": "",
|
|
1150
|
+
"type": "address",
|
|
1151
|
+
"internalType": "address"
|
|
1152
1152
|
}
|
|
1153
1153
|
],
|
|
1154
|
-
stateMutability: "view"
|
|
1154
|
+
"stateMutability": "view"
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
1157
|
-
type: "function",
|
|
1158
|
-
name: "rebalanceTokenCount",
|
|
1159
|
-
inputs: [],
|
|
1160
|
-
outputs: [
|
|
1157
|
+
"type": "function",
|
|
1158
|
+
"name": "rebalanceTokenCount",
|
|
1159
|
+
"inputs": [],
|
|
1160
|
+
"outputs": [
|
|
1161
1161
|
{
|
|
1162
|
-
name: "",
|
|
1163
|
-
type: "uint256",
|
|
1164
|
-
internalType: "uint256"
|
|
1162
|
+
"name": "",
|
|
1163
|
+
"type": "uint256",
|
|
1164
|
+
"internalType": "uint256"
|
|
1165
1165
|
}
|
|
1166
1166
|
],
|
|
1167
|
-
stateMutability: "view"
|
|
1167
|
+
"stateMutability": "view"
|
|
1168
1168
|
},
|
|
1169
1169
|
{
|
|
1170
|
-
type: "function",
|
|
1171
|
-
name: "rebalanceTokenWhitelist",
|
|
1172
|
-
inputs: [
|
|
1170
|
+
"type": "function",
|
|
1171
|
+
"name": "rebalanceTokenWhitelist",
|
|
1172
|
+
"inputs": [
|
|
1173
1173
|
{
|
|
1174
|
-
name: "",
|
|
1175
|
-
type: "address",
|
|
1176
|
-
internalType: "address"
|
|
1174
|
+
"name": "",
|
|
1175
|
+
"type": "address",
|
|
1176
|
+
"internalType": "address"
|
|
1177
1177
|
}
|
|
1178
1178
|
],
|
|
1179
|
-
outputs: [
|
|
1179
|
+
"outputs": [
|
|
1180
1180
|
{
|
|
1181
|
-
name: "",
|
|
1182
|
-
type: "bool",
|
|
1183
|
-
internalType: "bool"
|
|
1181
|
+
"name": "",
|
|
1182
|
+
"type": "bool",
|
|
1183
|
+
"internalType": "bool"
|
|
1184
1184
|
}
|
|
1185
1185
|
],
|
|
1186
|
-
stateMutability: "view"
|
|
1186
|
+
"stateMutability": "view"
|
|
1187
1187
|
},
|
|
1188
1188
|
{
|
|
1189
|
-
type: "function",
|
|
1190
|
-
name: "removeBot",
|
|
1191
|
-
inputs: [
|
|
1189
|
+
"type": "function",
|
|
1190
|
+
"name": "removeBot",
|
|
1191
|
+
"inputs": [
|
|
1192
1192
|
{
|
|
1193
|
-
name: "bot",
|
|
1194
|
-
type: "address",
|
|
1195
|
-
internalType: "address"
|
|
1193
|
+
"name": "bot",
|
|
1194
|
+
"type": "address",
|
|
1195
|
+
"internalType": "address"
|
|
1196
1196
|
}
|
|
1197
1197
|
],
|
|
1198
|
-
outputs: [],
|
|
1199
|
-
stateMutability: "nonpayable"
|
|
1198
|
+
"outputs": [],
|
|
1199
|
+
"stateMutability": "nonpayable"
|
|
1200
1200
|
},
|
|
1201
1201
|
{
|
|
1202
|
-
type: "function",
|
|
1203
|
-
name: "removeBotDestination",
|
|
1204
|
-
inputs: [
|
|
1202
|
+
"type": "function",
|
|
1203
|
+
"name": "removeBotDestination",
|
|
1204
|
+
"inputs": [
|
|
1205
1205
|
{
|
|
1206
|
-
name: "bot",
|
|
1207
|
-
type: "address",
|
|
1208
|
-
internalType: "address"
|
|
1206
|
+
"name": "bot",
|
|
1207
|
+
"type": "address",
|
|
1208
|
+
"internalType": "address"
|
|
1209
1209
|
},
|
|
1210
1210
|
{
|
|
1211
|
-
name: "destination",
|
|
1212
|
-
type: "address",
|
|
1213
|
-
internalType: "address"
|
|
1211
|
+
"name": "destination",
|
|
1212
|
+
"type": "address",
|
|
1213
|
+
"internalType": "address"
|
|
1214
1214
|
}
|
|
1215
1215
|
],
|
|
1216
|
-
outputs: [],
|
|
1217
|
-
stateMutability: "nonpayable"
|
|
1216
|
+
"outputs": [],
|
|
1217
|
+
"stateMutability": "nonpayable"
|
|
1218
1218
|
},
|
|
1219
1219
|
{
|
|
1220
|
-
type: "function",
|
|
1221
|
-
name: "removeGlobalBlacklist",
|
|
1222
|
-
inputs: [
|
|
1220
|
+
"type": "function",
|
|
1221
|
+
"name": "removeGlobalBlacklist",
|
|
1222
|
+
"inputs": [
|
|
1223
1223
|
{
|
|
1224
|
-
name: "destination",
|
|
1225
|
-
type: "address",
|
|
1226
|
-
internalType: "address"
|
|
1224
|
+
"name": "destination",
|
|
1225
|
+
"type": "address",
|
|
1226
|
+
"internalType": "address"
|
|
1227
1227
|
}
|
|
1228
1228
|
],
|
|
1229
|
-
outputs: [],
|
|
1230
|
-
stateMutability: "nonpayable"
|
|
1229
|
+
"outputs": [],
|
|
1230
|
+
"stateMutability": "nonpayable"
|
|
1231
1231
|
},
|
|
1232
1232
|
{
|
|
1233
|
-
type: "function",
|
|
1234
|
-
name: "removeGlobalDestination",
|
|
1235
|
-
inputs: [
|
|
1233
|
+
"type": "function",
|
|
1234
|
+
"name": "removeGlobalDestination",
|
|
1235
|
+
"inputs": [
|
|
1236
1236
|
{
|
|
1237
|
-
name: "destination",
|
|
1238
|
-
type: "address",
|
|
1239
|
-
internalType: "address"
|
|
1237
|
+
"name": "destination",
|
|
1238
|
+
"type": "address",
|
|
1239
|
+
"internalType": "address"
|
|
1240
1240
|
}
|
|
1241
1241
|
],
|
|
1242
|
-
outputs: [],
|
|
1243
|
-
stateMutability: "nonpayable"
|
|
1242
|
+
"outputs": [],
|
|
1243
|
+
"stateMutability": "nonpayable"
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
type: "function",
|
|
1247
|
-
name: "removeProtocol",
|
|
1248
|
-
inputs: [
|
|
1246
|
+
"type": "function",
|
|
1247
|
+
"name": "removeProtocol",
|
|
1248
|
+
"inputs": [
|
|
1249
1249
|
{
|
|
1250
|
-
name: "protocol",
|
|
1251
|
-
type: "address",
|
|
1252
|
-
internalType: "address"
|
|
1250
|
+
"name": "protocol",
|
|
1251
|
+
"type": "address",
|
|
1252
|
+
"internalType": "address"
|
|
1253
1253
|
}
|
|
1254
1254
|
],
|
|
1255
|
-
outputs: [],
|
|
1256
|
-
stateMutability: "nonpayable"
|
|
1255
|
+
"outputs": [],
|
|
1256
|
+
"stateMutability": "nonpayable"
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
|
-
type: "function",
|
|
1260
|
-
name: "removeRebalanceTokens",
|
|
1261
|
-
inputs: [
|
|
1259
|
+
"type": "function",
|
|
1260
|
+
"name": "removeRebalanceTokens",
|
|
1261
|
+
"inputs": [
|
|
1262
1262
|
{
|
|
1263
|
-
name: "tokens",
|
|
1264
|
-
type: "address[]",
|
|
1265
|
-
internalType: "address[]"
|
|
1263
|
+
"name": "tokens",
|
|
1264
|
+
"type": "address[]",
|
|
1265
|
+
"internalType": "address[]"
|
|
1266
1266
|
}
|
|
1267
1267
|
],
|
|
1268
|
-
outputs: [],
|
|
1269
|
-
stateMutability: "nonpayable"
|
|
1268
|
+
"outputs": [],
|
|
1269
|
+
"stateMutability": "nonpayable"
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
|
-
type: "function",
|
|
1273
|
-
name: "renounceOwnership",
|
|
1274
|
-
inputs: [],
|
|
1275
|
-
outputs: [],
|
|
1276
|
-
stateMutability: "nonpayable"
|
|
1272
|
+
"type": "function",
|
|
1273
|
+
"name": "renounceOwnership",
|
|
1274
|
+
"inputs": [],
|
|
1275
|
+
"outputs": [],
|
|
1276
|
+
"stateMutability": "nonpayable"
|
|
1277
1277
|
},
|
|
1278
1278
|
{
|
|
1279
|
-
type: "function",
|
|
1280
|
-
name: "setOperator",
|
|
1281
|
-
inputs: [
|
|
1279
|
+
"type": "function",
|
|
1280
|
+
"name": "setOperator",
|
|
1281
|
+
"inputs": [
|
|
1282
1282
|
{
|
|
1283
|
-
name: "_operator",
|
|
1284
|
-
type: "address",
|
|
1285
|
-
internalType: "address"
|
|
1283
|
+
"name": "_operator",
|
|
1284
|
+
"type": "address",
|
|
1285
|
+
"internalType": "address"
|
|
1286
1286
|
}
|
|
1287
1287
|
],
|
|
1288
|
-
outputs: [],
|
|
1289
|
-
stateMutability: "nonpayable"
|
|
1288
|
+
"outputs": [],
|
|
1289
|
+
"stateMutability": "nonpayable"
|
|
1290
1290
|
},
|
|
1291
1291
|
{
|
|
1292
|
-
type: "function",
|
|
1293
|
-
name: "setOperatorCeilings",
|
|
1294
|
-
inputs: [
|
|
1292
|
+
"type": "function",
|
|
1293
|
+
"name": "setOperatorCeilings",
|
|
1294
|
+
"inputs": [
|
|
1295
1295
|
{
|
|
1296
|
-
name: "ceilings",
|
|
1297
|
-
type: "tuple",
|
|
1298
|
-
internalType: "struct AxonVault.OperatorCeilings",
|
|
1299
|
-
components: [
|
|
1296
|
+
"name": "ceilings",
|
|
1297
|
+
"type": "tuple",
|
|
1298
|
+
"internalType": "struct AxonVault.OperatorCeilings",
|
|
1299
|
+
"components": [
|
|
1300
1300
|
{
|
|
1301
|
-
name: "maxPerTxAmount",
|
|
1302
|
-
type: "uint256",
|
|
1303
|
-
internalType: "uint256"
|
|
1301
|
+
"name": "maxPerTxAmount",
|
|
1302
|
+
"type": "uint256",
|
|
1303
|
+
"internalType": "uint256"
|
|
1304
1304
|
},
|
|
1305
1305
|
{
|
|
1306
|
-
name: "maxBotDailyLimit",
|
|
1307
|
-
type: "uint256",
|
|
1308
|
-
internalType: "uint256"
|
|
1306
|
+
"name": "maxBotDailyLimit",
|
|
1307
|
+
"type": "uint256",
|
|
1308
|
+
"internalType": "uint256"
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
|
-
name: "maxOperatorBots",
|
|
1312
|
-
type: "uint256",
|
|
1313
|
-
internalType: "uint256"
|
|
1311
|
+
"name": "maxOperatorBots",
|
|
1312
|
+
"type": "uint256",
|
|
1313
|
+
"internalType": "uint256"
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
|
-
name: "vaultDailyAggregate",
|
|
1317
|
-
type: "uint256",
|
|
1318
|
-
internalType: "uint256"
|
|
1316
|
+
"name": "vaultDailyAggregate",
|
|
1317
|
+
"type": "uint256",
|
|
1318
|
+
"internalType": "uint256"
|
|
1319
1319
|
},
|
|
1320
1320
|
{
|
|
1321
|
-
name: "minAiTriggerFloor",
|
|
1322
|
-
type: "uint256",
|
|
1323
|
-
internalType: "uint256"
|
|
1321
|
+
"name": "minAiTriggerFloor",
|
|
1322
|
+
"type": "uint256",
|
|
1323
|
+
"internalType": "uint256"
|
|
1324
1324
|
}
|
|
1325
1325
|
]
|
|
1326
1326
|
}
|
|
1327
1327
|
],
|
|
1328
|
-
outputs: [],
|
|
1329
|
-
stateMutability: "nonpayable"
|
|
1328
|
+
"outputs": [],
|
|
1329
|
+
"stateMutability": "nonpayable"
|
|
1330
1330
|
},
|
|
1331
1331
|
{
|
|
1332
|
-
type: "function",
|
|
1333
|
-
name: "trackUsedIntents",
|
|
1334
|
-
inputs: [],
|
|
1335
|
-
outputs: [
|
|
1332
|
+
"type": "function",
|
|
1333
|
+
"name": "trackUsedIntents",
|
|
1334
|
+
"inputs": [],
|
|
1335
|
+
"outputs": [
|
|
1336
1336
|
{
|
|
1337
|
-
name: "",
|
|
1338
|
-
type: "bool",
|
|
1339
|
-
internalType: "bool"
|
|
1337
|
+
"name": "",
|
|
1338
|
+
"type": "bool",
|
|
1339
|
+
"internalType": "bool"
|
|
1340
1340
|
}
|
|
1341
1341
|
],
|
|
1342
|
-
stateMutability: "view"
|
|
1342
|
+
"stateMutability": "view"
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
|
-
type: "function",
|
|
1346
|
-
name: "transferOwnership",
|
|
1347
|
-
inputs: [
|
|
1345
|
+
"type": "function",
|
|
1346
|
+
"name": "transferOwnership",
|
|
1347
|
+
"inputs": [
|
|
1348
1348
|
{
|
|
1349
|
-
name: "newOwner",
|
|
1350
|
-
type: "address",
|
|
1351
|
-
internalType: "address"
|
|
1349
|
+
"name": "newOwner",
|
|
1350
|
+
"type": "address",
|
|
1351
|
+
"internalType": "address"
|
|
1352
1352
|
}
|
|
1353
1353
|
],
|
|
1354
|
-
outputs: [],
|
|
1355
|
-
stateMutability: "nonpayable"
|
|
1354
|
+
"outputs": [],
|
|
1355
|
+
"stateMutability": "nonpayable"
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
|
-
type: "function",
|
|
1359
|
-
name: "unpause",
|
|
1360
|
-
inputs: [],
|
|
1361
|
-
outputs: [],
|
|
1362
|
-
stateMutability: "nonpayable"
|
|
1358
|
+
"type": "function",
|
|
1359
|
+
"name": "unpause",
|
|
1360
|
+
"inputs": [],
|
|
1361
|
+
"outputs": [],
|
|
1362
|
+
"stateMutability": "nonpayable"
|
|
1363
1363
|
},
|
|
1364
1364
|
{
|
|
1365
|
-
type: "function",
|
|
1366
|
-
name: "updateBotConfig",
|
|
1367
|
-
inputs: [
|
|
1365
|
+
"type": "function",
|
|
1366
|
+
"name": "updateBotConfig",
|
|
1367
|
+
"inputs": [
|
|
1368
1368
|
{
|
|
1369
|
-
name: "bot",
|
|
1370
|
-
type: "address",
|
|
1371
|
-
internalType: "address"
|
|
1369
|
+
"name": "bot",
|
|
1370
|
+
"type": "address",
|
|
1371
|
+
"internalType": "address"
|
|
1372
1372
|
},
|
|
1373
1373
|
{
|
|
1374
|
-
name: "params",
|
|
1375
|
-
type: "tuple",
|
|
1376
|
-
internalType: "struct AxonVault.BotConfigParams",
|
|
1377
|
-
components: [
|
|
1374
|
+
"name": "params",
|
|
1375
|
+
"type": "tuple",
|
|
1376
|
+
"internalType": "struct AxonVault.BotConfigParams",
|
|
1377
|
+
"components": [
|
|
1378
1378
|
{
|
|
1379
|
-
name: "maxPerTxAmount",
|
|
1380
|
-
type: "uint256",
|
|
1381
|
-
internalType: "uint256"
|
|
1379
|
+
"name": "maxPerTxAmount",
|
|
1380
|
+
"type": "uint256",
|
|
1381
|
+
"internalType": "uint256"
|
|
1382
1382
|
},
|
|
1383
1383
|
{
|
|
1384
|
-
name: "maxRebalanceAmount",
|
|
1385
|
-
type: "uint256",
|
|
1386
|
-
internalType: "uint256"
|
|
1384
|
+
"name": "maxRebalanceAmount",
|
|
1385
|
+
"type": "uint256",
|
|
1386
|
+
"internalType": "uint256"
|
|
1387
1387
|
},
|
|
1388
1388
|
{
|
|
1389
|
-
name: "spendingLimits",
|
|
1390
|
-
type: "tuple[]",
|
|
1391
|
-
internalType: "struct AxonVault.SpendingLimit[]",
|
|
1392
|
-
components: [
|
|
1389
|
+
"name": "spendingLimits",
|
|
1390
|
+
"type": "tuple[]",
|
|
1391
|
+
"internalType": "struct AxonVault.SpendingLimit[]",
|
|
1392
|
+
"components": [
|
|
1393
1393
|
{
|
|
1394
|
-
name: "amount",
|
|
1395
|
-
type: "uint256",
|
|
1396
|
-
internalType: "uint256"
|
|
1394
|
+
"name": "amount",
|
|
1395
|
+
"type": "uint256",
|
|
1396
|
+
"internalType": "uint256"
|
|
1397
1397
|
},
|
|
1398
1398
|
{
|
|
1399
|
-
name: "maxCount",
|
|
1400
|
-
type: "uint256",
|
|
1401
|
-
internalType: "uint256"
|
|
1399
|
+
"name": "maxCount",
|
|
1400
|
+
"type": "uint256",
|
|
1401
|
+
"internalType": "uint256"
|
|
1402
1402
|
},
|
|
1403
1403
|
{
|
|
1404
|
-
name: "windowSeconds",
|
|
1405
|
-
type: "uint256",
|
|
1406
|
-
internalType: "uint256"
|
|
1404
|
+
"name": "windowSeconds",
|
|
1405
|
+
"type": "uint256",
|
|
1406
|
+
"internalType": "uint256"
|
|
1407
1407
|
}
|
|
1408
1408
|
]
|
|
1409
1409
|
},
|
|
1410
1410
|
{
|
|
1411
|
-
name: "aiTriggerThreshold",
|
|
1412
|
-
type: "uint256",
|
|
1413
|
-
internalType: "uint256"
|
|
1411
|
+
"name": "aiTriggerThreshold",
|
|
1412
|
+
"type": "uint256",
|
|
1413
|
+
"internalType": "uint256"
|
|
1414
1414
|
},
|
|
1415
1415
|
{
|
|
1416
|
-
name: "requireAiVerification",
|
|
1417
|
-
type: "bool",
|
|
1418
|
-
internalType: "bool"
|
|
1416
|
+
"name": "requireAiVerification",
|
|
1417
|
+
"type": "bool",
|
|
1418
|
+
"internalType": "bool"
|
|
1419
1419
|
}
|
|
1420
1420
|
]
|
|
1421
1421
|
}
|
|
1422
1422
|
],
|
|
1423
|
-
outputs: [],
|
|
1424
|
-
stateMutability: "nonpayable"
|
|
1423
|
+
"outputs": [],
|
|
1424
|
+
"stateMutability": "nonpayable"
|
|
1425
1425
|
},
|
|
1426
1426
|
{
|
|
1427
|
-
type: "function",
|
|
1428
|
-
name: "usedIntents",
|
|
1429
|
-
inputs: [
|
|
1427
|
+
"type": "function",
|
|
1428
|
+
"name": "usedIntents",
|
|
1429
|
+
"inputs": [
|
|
1430
1430
|
{
|
|
1431
|
-
name: "",
|
|
1432
|
-
type: "bytes32",
|
|
1433
|
-
internalType: "bytes32"
|
|
1431
|
+
"name": "",
|
|
1432
|
+
"type": "bytes32",
|
|
1433
|
+
"internalType": "bytes32"
|
|
1434
1434
|
}
|
|
1435
1435
|
],
|
|
1436
|
-
outputs: [
|
|
1436
|
+
"outputs": [
|
|
1437
1437
|
{
|
|
1438
|
-
name: "",
|
|
1439
|
-
type: "bool",
|
|
1440
|
-
internalType: "bool"
|
|
1438
|
+
"name": "",
|
|
1439
|
+
"type": "bool",
|
|
1440
|
+
"internalType": "bool"
|
|
1441
1441
|
}
|
|
1442
1442
|
],
|
|
1443
|
-
stateMutability: "view"
|
|
1443
|
+
"stateMutability": "view"
|
|
1444
1444
|
},
|
|
1445
1445
|
{
|
|
1446
|
-
type: "function",
|
|
1447
|
-
name: "withdraw",
|
|
1448
|
-
inputs: [
|
|
1446
|
+
"type": "function",
|
|
1447
|
+
"name": "withdraw",
|
|
1448
|
+
"inputs": [
|
|
1449
1449
|
{
|
|
1450
|
-
name: "token",
|
|
1451
|
-
type: "address",
|
|
1452
|
-
internalType: "address"
|
|
1450
|
+
"name": "token",
|
|
1451
|
+
"type": "address",
|
|
1452
|
+
"internalType": "address"
|
|
1453
1453
|
},
|
|
1454
1454
|
{
|
|
1455
|
-
name: "amount",
|
|
1456
|
-
type: "uint256",
|
|
1457
|
-
internalType: "uint256"
|
|
1455
|
+
"name": "amount",
|
|
1456
|
+
"type": "uint256",
|
|
1457
|
+
"internalType": "uint256"
|
|
1458
1458
|
},
|
|
1459
1459
|
{
|
|
1460
|
-
name: "to",
|
|
1461
|
-
type: "address",
|
|
1462
|
-
internalType: "address"
|
|
1460
|
+
"name": "to",
|
|
1461
|
+
"type": "address",
|
|
1462
|
+
"internalType": "address"
|
|
1463
1463
|
}
|
|
1464
1464
|
],
|
|
1465
|
-
outputs: [],
|
|
1466
|
-
stateMutability: "nonpayable"
|
|
1465
|
+
"outputs": [],
|
|
1466
|
+
"stateMutability": "nonpayable"
|
|
1467
1467
|
},
|
|
1468
1468
|
{
|
|
1469
|
-
type: "event",
|
|
1470
|
-
name: "BotAdded",
|
|
1471
|
-
inputs: [
|
|
1469
|
+
"type": "event",
|
|
1470
|
+
"name": "BotAdded",
|
|
1471
|
+
"inputs": [
|
|
1472
1472
|
{
|
|
1473
|
-
name: "bot",
|
|
1474
|
-
type: "address",
|
|
1475
|
-
indexed: true,
|
|
1476
|
-
internalType: "address"
|
|
1473
|
+
"name": "bot",
|
|
1474
|
+
"type": "address",
|
|
1475
|
+
"indexed": true,
|
|
1476
|
+
"internalType": "address"
|
|
1477
1477
|
},
|
|
1478
1478
|
{
|
|
1479
|
-
name: "addedBy",
|
|
1480
|
-
type: "address",
|
|
1481
|
-
indexed: true,
|
|
1482
|
-
internalType: "address"
|
|
1479
|
+
"name": "addedBy",
|
|
1480
|
+
"type": "address",
|
|
1481
|
+
"indexed": true,
|
|
1482
|
+
"internalType": "address"
|
|
1483
1483
|
}
|
|
1484
1484
|
],
|
|
1485
|
-
anonymous: false
|
|
1485
|
+
"anonymous": false
|
|
1486
1486
|
},
|
|
1487
1487
|
{
|
|
1488
|
-
type: "event",
|
|
1489
|
-
name: "BotConfigUpdated",
|
|
1490
|
-
inputs: [
|
|
1488
|
+
"type": "event",
|
|
1489
|
+
"name": "BotConfigUpdated",
|
|
1490
|
+
"inputs": [
|
|
1491
1491
|
{
|
|
1492
|
-
name: "bot",
|
|
1493
|
-
type: "address",
|
|
1494
|
-
indexed: true,
|
|
1495
|
-
internalType: "address"
|
|
1492
|
+
"name": "bot",
|
|
1493
|
+
"type": "address",
|
|
1494
|
+
"indexed": true,
|
|
1495
|
+
"internalType": "address"
|
|
1496
1496
|
},
|
|
1497
1497
|
{
|
|
1498
|
-
name: "updatedBy",
|
|
1499
|
-
type: "address",
|
|
1500
|
-
indexed: true,
|
|
1501
|
-
internalType: "address"
|
|
1498
|
+
"name": "updatedBy",
|
|
1499
|
+
"type": "address",
|
|
1500
|
+
"indexed": true,
|
|
1501
|
+
"internalType": "address"
|
|
1502
1502
|
}
|
|
1503
1503
|
],
|
|
1504
|
-
anonymous: false
|
|
1504
|
+
"anonymous": false
|
|
1505
1505
|
},
|
|
1506
1506
|
{
|
|
1507
|
-
type: "event",
|
|
1508
|
-
name: "BotDestinationAdded",
|
|
1509
|
-
inputs: [
|
|
1507
|
+
"type": "event",
|
|
1508
|
+
"name": "BotDestinationAdded",
|
|
1509
|
+
"inputs": [
|
|
1510
1510
|
{
|
|
1511
|
-
name: "bot",
|
|
1512
|
-
type: "address",
|
|
1513
|
-
indexed: true,
|
|
1514
|
-
internalType: "address"
|
|
1511
|
+
"name": "bot",
|
|
1512
|
+
"type": "address",
|
|
1513
|
+
"indexed": true,
|
|
1514
|
+
"internalType": "address"
|
|
1515
1515
|
},
|
|
1516
1516
|
{
|
|
1517
|
-
name: "destination",
|
|
1518
|
-
type: "address",
|
|
1519
|
-
indexed: true,
|
|
1520
|
-
internalType: "address"
|
|
1517
|
+
"name": "destination",
|
|
1518
|
+
"type": "address",
|
|
1519
|
+
"indexed": true,
|
|
1520
|
+
"internalType": "address"
|
|
1521
1521
|
}
|
|
1522
1522
|
],
|
|
1523
|
-
anonymous: false
|
|
1523
|
+
"anonymous": false
|
|
1524
1524
|
},
|
|
1525
1525
|
{
|
|
1526
|
-
type: "event",
|
|
1527
|
-
name: "BotDestinationRemoved",
|
|
1528
|
-
inputs: [
|
|
1526
|
+
"type": "event",
|
|
1527
|
+
"name": "BotDestinationRemoved",
|
|
1528
|
+
"inputs": [
|
|
1529
1529
|
{
|
|
1530
|
-
name: "bot",
|
|
1531
|
-
type: "address",
|
|
1532
|
-
indexed: true,
|
|
1533
|
-
internalType: "address"
|
|
1530
|
+
"name": "bot",
|
|
1531
|
+
"type": "address",
|
|
1532
|
+
"indexed": true,
|
|
1533
|
+
"internalType": "address"
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
|
-
name: "destination",
|
|
1537
|
-
type: "address",
|
|
1538
|
-
indexed: true,
|
|
1539
|
-
internalType: "address"
|
|
1536
|
+
"name": "destination",
|
|
1537
|
+
"type": "address",
|
|
1538
|
+
"indexed": true,
|
|
1539
|
+
"internalType": "address"
|
|
1540
1540
|
}
|
|
1541
1541
|
],
|
|
1542
|
-
anonymous: false
|
|
1542
|
+
"anonymous": false
|
|
1543
1543
|
},
|
|
1544
1544
|
{
|
|
1545
|
-
type: "event",
|
|
1546
|
-
name: "BotRemoved",
|
|
1547
|
-
inputs: [
|
|
1545
|
+
"type": "event",
|
|
1546
|
+
"name": "BotRemoved",
|
|
1547
|
+
"inputs": [
|
|
1548
1548
|
{
|
|
1549
|
-
name: "bot",
|
|
1550
|
-
type: "address",
|
|
1551
|
-
indexed: true,
|
|
1552
|
-
internalType: "address"
|
|
1549
|
+
"name": "bot",
|
|
1550
|
+
"type": "address",
|
|
1551
|
+
"indexed": true,
|
|
1552
|
+
"internalType": "address"
|
|
1553
1553
|
},
|
|
1554
1554
|
{
|
|
1555
|
-
name: "removedBy",
|
|
1556
|
-
type: "address",
|
|
1557
|
-
indexed: true,
|
|
1558
|
-
internalType: "address"
|
|
1555
|
+
"name": "removedBy",
|
|
1556
|
+
"type": "address",
|
|
1557
|
+
"indexed": true,
|
|
1558
|
+
"internalType": "address"
|
|
1559
1559
|
}
|
|
1560
1560
|
],
|
|
1561
|
-
anonymous: false
|
|
1561
|
+
"anonymous": false
|
|
1562
1562
|
},
|
|
1563
1563
|
{
|
|
1564
|
-
type: "event",
|
|
1565
|
-
name: "Deposited",
|
|
1566
|
-
inputs: [
|
|
1564
|
+
"type": "event",
|
|
1565
|
+
"name": "Deposited",
|
|
1566
|
+
"inputs": [
|
|
1567
1567
|
{
|
|
1568
|
-
name: "from",
|
|
1569
|
-
type: "address",
|
|
1570
|
-
indexed: true,
|
|
1571
|
-
internalType: "address"
|
|
1568
|
+
"name": "from",
|
|
1569
|
+
"type": "address",
|
|
1570
|
+
"indexed": true,
|
|
1571
|
+
"internalType": "address"
|
|
1572
1572
|
},
|
|
1573
1573
|
{
|
|
1574
|
-
name: "token",
|
|
1575
|
-
type: "address",
|
|
1576
|
-
indexed: true,
|
|
1577
|
-
internalType: "address"
|
|
1574
|
+
"name": "token",
|
|
1575
|
+
"type": "address",
|
|
1576
|
+
"indexed": true,
|
|
1577
|
+
"internalType": "address"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
1580
|
-
name: "amount",
|
|
1581
|
-
type: "uint256",
|
|
1582
|
-
indexed: false,
|
|
1583
|
-
internalType: "uint256"
|
|
1580
|
+
"name": "amount",
|
|
1581
|
+
"type": "uint256",
|
|
1582
|
+
"indexed": false,
|
|
1583
|
+
"internalType": "uint256"
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
|
-
name: "ref",
|
|
1587
|
-
type: "bytes32",
|
|
1588
|
-
indexed: false,
|
|
1589
|
-
internalType: "bytes32"
|
|
1586
|
+
"name": "ref",
|
|
1587
|
+
"type": "bytes32",
|
|
1588
|
+
"indexed": false,
|
|
1589
|
+
"internalType": "bytes32"
|
|
1590
1590
|
}
|
|
1591
1591
|
],
|
|
1592
|
-
anonymous: false
|
|
1592
|
+
"anonymous": false
|
|
1593
1593
|
},
|
|
1594
1594
|
{
|
|
1595
|
-
type: "event",
|
|
1596
|
-
name: "EIP712DomainChanged",
|
|
1597
|
-
inputs: [],
|
|
1598
|
-
anonymous: false
|
|
1595
|
+
"type": "event",
|
|
1596
|
+
"name": "EIP712DomainChanged",
|
|
1597
|
+
"inputs": [],
|
|
1598
|
+
"anonymous": false
|
|
1599
1599
|
},
|
|
1600
1600
|
{
|
|
1601
|
-
type: "event",
|
|
1602
|
-
name: "GlobalBlacklistAdded",
|
|
1603
|
-
inputs: [
|
|
1601
|
+
"type": "event",
|
|
1602
|
+
"name": "GlobalBlacklistAdded",
|
|
1603
|
+
"inputs": [
|
|
1604
1604
|
{
|
|
1605
|
-
name: "destination",
|
|
1606
|
-
type: "address",
|
|
1607
|
-
indexed: true,
|
|
1608
|
-
internalType: "address"
|
|
1605
|
+
"name": "destination",
|
|
1606
|
+
"type": "address",
|
|
1607
|
+
"indexed": true,
|
|
1608
|
+
"internalType": "address"
|
|
1609
1609
|
}
|
|
1610
1610
|
],
|
|
1611
|
-
anonymous: false
|
|
1611
|
+
"anonymous": false
|
|
1612
1612
|
},
|
|
1613
1613
|
{
|
|
1614
|
-
type: "event",
|
|
1615
|
-
name: "GlobalBlacklistRemoved",
|
|
1616
|
-
inputs: [
|
|
1614
|
+
"type": "event",
|
|
1615
|
+
"name": "GlobalBlacklistRemoved",
|
|
1616
|
+
"inputs": [
|
|
1617
1617
|
{
|
|
1618
|
-
name: "destination",
|
|
1619
|
-
type: "address",
|
|
1620
|
-
indexed: true,
|
|
1621
|
-
internalType: "address"
|
|
1618
|
+
"name": "destination",
|
|
1619
|
+
"type": "address",
|
|
1620
|
+
"indexed": true,
|
|
1621
|
+
"internalType": "address"
|
|
1622
1622
|
}
|
|
1623
1623
|
],
|
|
1624
|
-
anonymous: false
|
|
1624
|
+
"anonymous": false
|
|
1625
1625
|
},
|
|
1626
1626
|
{
|
|
1627
|
-
type: "event",
|
|
1628
|
-
name: "GlobalDestinationAdded",
|
|
1629
|
-
inputs: [
|
|
1627
|
+
"type": "event",
|
|
1628
|
+
"name": "GlobalDestinationAdded",
|
|
1629
|
+
"inputs": [
|
|
1630
1630
|
{
|
|
1631
|
-
name: "destination",
|
|
1632
|
-
type: "address",
|
|
1633
|
-
indexed: true,
|
|
1634
|
-
internalType: "address"
|
|
1631
|
+
"name": "destination",
|
|
1632
|
+
"type": "address",
|
|
1633
|
+
"indexed": true,
|
|
1634
|
+
"internalType": "address"
|
|
1635
1635
|
}
|
|
1636
1636
|
],
|
|
1637
|
-
anonymous: false
|
|
1637
|
+
"anonymous": false
|
|
1638
1638
|
},
|
|
1639
1639
|
{
|
|
1640
|
-
type: "event",
|
|
1641
|
-
name: "GlobalDestinationRemoved",
|
|
1642
|
-
inputs: [
|
|
1640
|
+
"type": "event",
|
|
1641
|
+
"name": "GlobalDestinationRemoved",
|
|
1642
|
+
"inputs": [
|
|
1643
1643
|
{
|
|
1644
|
-
name: "destination",
|
|
1645
|
-
type: "address",
|
|
1646
|
-
indexed: true,
|
|
1647
|
-
internalType: "address"
|
|
1644
|
+
"name": "destination",
|
|
1645
|
+
"type": "address",
|
|
1646
|
+
"indexed": true,
|
|
1647
|
+
"internalType": "address"
|
|
1648
1648
|
}
|
|
1649
1649
|
],
|
|
1650
|
-
anonymous: false
|
|
1650
|
+
"anonymous": false
|
|
1651
1651
|
},
|
|
1652
1652
|
{
|
|
1653
|
-
type: "event",
|
|
1654
|
-
name: "OperatorCeilingsUpdated",
|
|
1655
|
-
inputs: [
|
|
1653
|
+
"type": "event",
|
|
1654
|
+
"name": "OperatorCeilingsUpdated",
|
|
1655
|
+
"inputs": [
|
|
1656
1656
|
{
|
|
1657
|
-
name: "ceilings",
|
|
1658
|
-
type: "tuple",
|
|
1659
|
-
indexed: false,
|
|
1660
|
-
internalType: "struct AxonVault.OperatorCeilings",
|
|
1661
|
-
components: [
|
|
1657
|
+
"name": "ceilings",
|
|
1658
|
+
"type": "tuple",
|
|
1659
|
+
"indexed": false,
|
|
1660
|
+
"internalType": "struct AxonVault.OperatorCeilings",
|
|
1661
|
+
"components": [
|
|
1662
1662
|
{
|
|
1663
|
-
name: "maxPerTxAmount",
|
|
1664
|
-
type: "uint256",
|
|
1665
|
-
internalType: "uint256"
|
|
1663
|
+
"name": "maxPerTxAmount",
|
|
1664
|
+
"type": "uint256",
|
|
1665
|
+
"internalType": "uint256"
|
|
1666
1666
|
},
|
|
1667
1667
|
{
|
|
1668
|
-
name: "maxBotDailyLimit",
|
|
1669
|
-
type: "uint256",
|
|
1670
|
-
internalType: "uint256"
|
|
1668
|
+
"name": "maxBotDailyLimit",
|
|
1669
|
+
"type": "uint256",
|
|
1670
|
+
"internalType": "uint256"
|
|
1671
1671
|
},
|
|
1672
1672
|
{
|
|
1673
|
-
name: "maxOperatorBots",
|
|
1674
|
-
type: "uint256",
|
|
1675
|
-
internalType: "uint256"
|
|
1673
|
+
"name": "maxOperatorBots",
|
|
1674
|
+
"type": "uint256",
|
|
1675
|
+
"internalType": "uint256"
|
|
1676
1676
|
},
|
|
1677
1677
|
{
|
|
1678
|
-
name: "vaultDailyAggregate",
|
|
1679
|
-
type: "uint256",
|
|
1680
|
-
internalType: "uint256"
|
|
1678
|
+
"name": "vaultDailyAggregate",
|
|
1679
|
+
"type": "uint256",
|
|
1680
|
+
"internalType": "uint256"
|
|
1681
1681
|
},
|
|
1682
1682
|
{
|
|
1683
|
-
name: "minAiTriggerFloor",
|
|
1684
|
-
type: "uint256",
|
|
1685
|
-
internalType: "uint256"
|
|
1683
|
+
"name": "minAiTriggerFloor",
|
|
1684
|
+
"type": "uint256",
|
|
1685
|
+
"internalType": "uint256"
|
|
1686
1686
|
}
|
|
1687
1687
|
]
|
|
1688
1688
|
}
|
|
1689
1689
|
],
|
|
1690
|
-
anonymous: false
|
|
1690
|
+
"anonymous": false
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
|
-
type: "event",
|
|
1694
|
-
name: "OperatorSet",
|
|
1695
|
-
inputs: [
|
|
1693
|
+
"type": "event",
|
|
1694
|
+
"name": "OperatorSet",
|
|
1695
|
+
"inputs": [
|
|
1696
1696
|
{
|
|
1697
|
-
name: "oldOperator",
|
|
1698
|
-
type: "address",
|
|
1699
|
-
indexed: true,
|
|
1700
|
-
internalType: "address"
|
|
1697
|
+
"name": "oldOperator",
|
|
1698
|
+
"type": "address",
|
|
1699
|
+
"indexed": true,
|
|
1700
|
+
"internalType": "address"
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
|
-
name: "newOperator",
|
|
1704
|
-
type: "address",
|
|
1705
|
-
indexed: true,
|
|
1706
|
-
internalType: "address"
|
|
1703
|
+
"name": "newOperator",
|
|
1704
|
+
"type": "address",
|
|
1705
|
+
"indexed": true,
|
|
1706
|
+
"internalType": "address"
|
|
1707
1707
|
}
|
|
1708
1708
|
],
|
|
1709
|
-
anonymous: false
|
|
1709
|
+
"anonymous": false
|
|
1710
1710
|
},
|
|
1711
1711
|
{
|
|
1712
|
-
type: "event",
|
|
1713
|
-
name: "OwnershipTransferStarted",
|
|
1714
|
-
inputs: [
|
|
1712
|
+
"type": "event",
|
|
1713
|
+
"name": "OwnershipTransferStarted",
|
|
1714
|
+
"inputs": [
|
|
1715
1715
|
{
|
|
1716
|
-
name: "previousOwner",
|
|
1717
|
-
type: "address",
|
|
1718
|
-
indexed: true,
|
|
1719
|
-
internalType: "address"
|
|
1716
|
+
"name": "previousOwner",
|
|
1717
|
+
"type": "address",
|
|
1718
|
+
"indexed": true,
|
|
1719
|
+
"internalType": "address"
|
|
1720
1720
|
},
|
|
1721
1721
|
{
|
|
1722
|
-
name: "newOwner",
|
|
1723
|
-
type: "address",
|
|
1724
|
-
indexed: true,
|
|
1725
|
-
internalType: "address"
|
|
1722
|
+
"name": "newOwner",
|
|
1723
|
+
"type": "address",
|
|
1724
|
+
"indexed": true,
|
|
1725
|
+
"internalType": "address"
|
|
1726
1726
|
}
|
|
1727
1727
|
],
|
|
1728
|
-
anonymous: false
|
|
1728
|
+
"anonymous": false
|
|
1729
1729
|
},
|
|
1730
1730
|
{
|
|
1731
|
-
type: "event",
|
|
1732
|
-
name: "OwnershipTransferred",
|
|
1733
|
-
inputs: [
|
|
1731
|
+
"type": "event",
|
|
1732
|
+
"name": "OwnershipTransferred",
|
|
1733
|
+
"inputs": [
|
|
1734
1734
|
{
|
|
1735
|
-
name: "previousOwner",
|
|
1736
|
-
type: "address",
|
|
1737
|
-
indexed: true,
|
|
1738
|
-
internalType: "address"
|
|
1735
|
+
"name": "previousOwner",
|
|
1736
|
+
"type": "address",
|
|
1737
|
+
"indexed": true,
|
|
1738
|
+
"internalType": "address"
|
|
1739
1739
|
},
|
|
1740
1740
|
{
|
|
1741
|
-
name: "newOwner",
|
|
1742
|
-
type: "address",
|
|
1743
|
-
indexed: true,
|
|
1744
|
-
internalType: "address"
|
|
1741
|
+
"name": "newOwner",
|
|
1742
|
+
"type": "address",
|
|
1743
|
+
"indexed": true,
|
|
1744
|
+
"internalType": "address"
|
|
1745
1745
|
}
|
|
1746
1746
|
],
|
|
1747
|
-
anonymous: false
|
|
1747
|
+
"anonymous": false
|
|
1748
1748
|
},
|
|
1749
1749
|
{
|
|
1750
|
-
type: "event",
|
|
1751
|
-
name: "Paused",
|
|
1752
|
-
inputs: [
|
|
1750
|
+
"type": "event",
|
|
1751
|
+
"name": "Paused",
|
|
1752
|
+
"inputs": [
|
|
1753
1753
|
{
|
|
1754
|
-
name: "account",
|
|
1755
|
-
type: "address",
|
|
1756
|
-
indexed: false,
|
|
1757
|
-
internalType: "address"
|
|
1754
|
+
"name": "account",
|
|
1755
|
+
"type": "address",
|
|
1756
|
+
"indexed": false,
|
|
1757
|
+
"internalType": "address"
|
|
1758
1758
|
}
|
|
1759
1759
|
],
|
|
1760
|
-
anonymous: false
|
|
1760
|
+
"anonymous": false
|
|
1761
1761
|
},
|
|
1762
1762
|
{
|
|
1763
|
-
type: "event",
|
|
1764
|
-
name: "PaymentExecuted",
|
|
1765
|
-
inputs: [
|
|
1763
|
+
"type": "event",
|
|
1764
|
+
"name": "PaymentExecuted",
|
|
1765
|
+
"inputs": [
|
|
1766
1766
|
{
|
|
1767
|
-
name: "bot",
|
|
1768
|
-
type: "address",
|
|
1769
|
-
indexed: true,
|
|
1770
|
-
internalType: "address"
|
|
1767
|
+
"name": "bot",
|
|
1768
|
+
"type": "address",
|
|
1769
|
+
"indexed": true,
|
|
1770
|
+
"internalType": "address"
|
|
1771
1771
|
},
|
|
1772
1772
|
{
|
|
1773
|
-
name: "to",
|
|
1774
|
-
type: "address",
|
|
1775
|
-
indexed: true,
|
|
1776
|
-
internalType: "address"
|
|
1773
|
+
"name": "to",
|
|
1774
|
+
"type": "address",
|
|
1775
|
+
"indexed": true,
|
|
1776
|
+
"internalType": "address"
|
|
1777
1777
|
},
|
|
1778
1778
|
{
|
|
1779
|
-
name: "token",
|
|
1780
|
-
type: "address",
|
|
1781
|
-
indexed: true,
|
|
1782
|
-
internalType: "address"
|
|
1779
|
+
"name": "token",
|
|
1780
|
+
"type": "address",
|
|
1781
|
+
"indexed": true,
|
|
1782
|
+
"internalType": "address"
|
|
1783
1783
|
},
|
|
1784
1784
|
{
|
|
1785
|
-
name: "amount",
|
|
1786
|
-
type: "uint256",
|
|
1787
|
-
indexed: false,
|
|
1788
|
-
internalType: "uint256"
|
|
1785
|
+
"name": "amount",
|
|
1786
|
+
"type": "uint256",
|
|
1787
|
+
"indexed": false,
|
|
1788
|
+
"internalType": "uint256"
|
|
1789
1789
|
},
|
|
1790
1790
|
{
|
|
1791
|
-
name: "ref",
|
|
1792
|
-
type: "bytes32",
|
|
1793
|
-
indexed: false,
|
|
1794
|
-
internalType: "bytes32"
|
|
1791
|
+
"name": "ref",
|
|
1792
|
+
"type": "bytes32",
|
|
1793
|
+
"indexed": false,
|
|
1794
|
+
"internalType": "bytes32"
|
|
1795
1795
|
}
|
|
1796
1796
|
],
|
|
1797
|
-
anonymous: false
|
|
1797
|
+
"anonymous": false
|
|
1798
1798
|
},
|
|
1799
1799
|
{
|
|
1800
|
-
type: "event",
|
|
1801
|
-
name: "ProtocolAdded",
|
|
1802
|
-
inputs: [
|
|
1800
|
+
"type": "event",
|
|
1801
|
+
"name": "ProtocolAdded",
|
|
1802
|
+
"inputs": [
|
|
1803
1803
|
{
|
|
1804
|
-
name: "protocol",
|
|
1805
|
-
type: "address",
|
|
1806
|
-
indexed: true,
|
|
1807
|
-
internalType: "address"
|
|
1804
|
+
"name": "protocol",
|
|
1805
|
+
"type": "address",
|
|
1806
|
+
"indexed": true,
|
|
1807
|
+
"internalType": "address"
|
|
1808
1808
|
}
|
|
1809
1809
|
],
|
|
1810
|
-
anonymous: false
|
|
1810
|
+
"anonymous": false
|
|
1811
1811
|
},
|
|
1812
1812
|
{
|
|
1813
|
-
type: "event",
|
|
1814
|
-
name: "ProtocolExecuted",
|
|
1815
|
-
inputs: [
|
|
1813
|
+
"type": "event",
|
|
1814
|
+
"name": "ProtocolExecuted",
|
|
1815
|
+
"inputs": [
|
|
1816
1816
|
{
|
|
1817
|
-
name: "bot",
|
|
1818
|
-
type: "address",
|
|
1819
|
-
indexed: true,
|
|
1820
|
-
internalType: "address"
|
|
1817
|
+
"name": "bot",
|
|
1818
|
+
"type": "address",
|
|
1819
|
+
"indexed": true,
|
|
1820
|
+
"internalType": "address"
|
|
1821
1821
|
},
|
|
1822
1822
|
{
|
|
1823
|
-
name: "protocol",
|
|
1824
|
-
type: "address",
|
|
1825
|
-
indexed: true,
|
|
1826
|
-
internalType: "address"
|
|
1823
|
+
"name": "protocol",
|
|
1824
|
+
"type": "address",
|
|
1825
|
+
"indexed": true,
|
|
1826
|
+
"internalType": "address"
|
|
1827
1827
|
},
|
|
1828
1828
|
{
|
|
1829
|
-
name: "token",
|
|
1830
|
-
type: "address",
|
|
1831
|
-
indexed: false,
|
|
1832
|
-
internalType: "address"
|
|
1829
|
+
"name": "token",
|
|
1830
|
+
"type": "address",
|
|
1831
|
+
"indexed": false,
|
|
1832
|
+
"internalType": "address"
|
|
1833
1833
|
},
|
|
1834
1834
|
{
|
|
1835
|
-
name: "amount",
|
|
1836
|
-
type: "uint256",
|
|
1837
|
-
indexed: false,
|
|
1838
|
-
internalType: "uint256"
|
|
1835
|
+
"name": "amount",
|
|
1836
|
+
"type": "uint256",
|
|
1837
|
+
"indexed": false,
|
|
1838
|
+
"internalType": "uint256"
|
|
1839
1839
|
},
|
|
1840
1840
|
{
|
|
1841
|
-
name: "ref",
|
|
1842
|
-
type: "bytes32",
|
|
1843
|
-
indexed: false,
|
|
1844
|
-
internalType: "bytes32"
|
|
1841
|
+
"name": "ref",
|
|
1842
|
+
"type": "bytes32",
|
|
1843
|
+
"indexed": false,
|
|
1844
|
+
"internalType": "bytes32"
|
|
1845
1845
|
}
|
|
1846
1846
|
],
|
|
1847
|
-
anonymous: false
|
|
1847
|
+
"anonymous": false
|
|
1848
1848
|
},
|
|
1849
1849
|
{
|
|
1850
|
-
type: "event",
|
|
1851
|
-
name: "ProtocolRemoved",
|
|
1852
|
-
inputs: [
|
|
1850
|
+
"type": "event",
|
|
1851
|
+
"name": "ProtocolRemoved",
|
|
1852
|
+
"inputs": [
|
|
1853
1853
|
{
|
|
1854
|
-
name: "protocol",
|
|
1855
|
-
type: "address",
|
|
1856
|
-
indexed: true,
|
|
1857
|
-
internalType: "address"
|
|
1854
|
+
"name": "protocol",
|
|
1855
|
+
"type": "address",
|
|
1856
|
+
"indexed": true,
|
|
1857
|
+
"internalType": "address"
|
|
1858
1858
|
}
|
|
1859
1859
|
],
|
|
1860
|
-
anonymous: false
|
|
1860
|
+
"anonymous": false
|
|
1861
1861
|
},
|
|
1862
1862
|
{
|
|
1863
|
-
type: "event",
|
|
1864
|
-
name: "RebalanceTokenAdded",
|
|
1865
|
-
inputs: [
|
|
1863
|
+
"type": "event",
|
|
1864
|
+
"name": "RebalanceTokenAdded",
|
|
1865
|
+
"inputs": [
|
|
1866
1866
|
{
|
|
1867
|
-
name: "token",
|
|
1868
|
-
type: "address",
|
|
1869
|
-
indexed: true,
|
|
1870
|
-
internalType: "address"
|
|
1867
|
+
"name": "token",
|
|
1868
|
+
"type": "address",
|
|
1869
|
+
"indexed": true,
|
|
1870
|
+
"internalType": "address"
|
|
1871
1871
|
}
|
|
1872
1872
|
],
|
|
1873
|
-
anonymous: false
|
|
1873
|
+
"anonymous": false
|
|
1874
1874
|
},
|
|
1875
1875
|
{
|
|
1876
|
-
type: "event",
|
|
1877
|
-
name: "RebalanceTokenRemoved",
|
|
1878
|
-
inputs: [
|
|
1876
|
+
"type": "event",
|
|
1877
|
+
"name": "RebalanceTokenRemoved",
|
|
1878
|
+
"inputs": [
|
|
1879
1879
|
{
|
|
1880
|
-
name: "token",
|
|
1881
|
-
type: "address",
|
|
1882
|
-
indexed: true,
|
|
1883
|
-
internalType: "address"
|
|
1880
|
+
"name": "token",
|
|
1881
|
+
"type": "address",
|
|
1882
|
+
"indexed": true,
|
|
1883
|
+
"internalType": "address"
|
|
1884
1884
|
}
|
|
1885
1885
|
],
|
|
1886
|
-
anonymous: false
|
|
1886
|
+
"anonymous": false
|
|
1887
1887
|
},
|
|
1888
1888
|
{
|
|
1889
|
-
type: "event",
|
|
1890
|
-
name: "SwapExecuted",
|
|
1891
|
-
inputs: [
|
|
1889
|
+
"type": "event",
|
|
1890
|
+
"name": "SwapExecuted",
|
|
1891
|
+
"inputs": [
|
|
1892
1892
|
{
|
|
1893
|
-
name: "bot",
|
|
1894
|
-
type: "address",
|
|
1895
|
-
indexed: true,
|
|
1896
|
-
internalType: "address"
|
|
1893
|
+
"name": "bot",
|
|
1894
|
+
"type": "address",
|
|
1895
|
+
"indexed": true,
|
|
1896
|
+
"internalType": "address"
|
|
1897
1897
|
},
|
|
1898
1898
|
{
|
|
1899
|
-
name: "fromToken",
|
|
1900
|
-
type: "address",
|
|
1901
|
-
indexed: false,
|
|
1902
|
-
internalType: "address"
|
|
1899
|
+
"name": "fromToken",
|
|
1900
|
+
"type": "address",
|
|
1901
|
+
"indexed": false,
|
|
1902
|
+
"internalType": "address"
|
|
1903
1903
|
},
|
|
1904
1904
|
{
|
|
1905
|
-
name: "toToken",
|
|
1906
|
-
type: "address",
|
|
1907
|
-
indexed: false,
|
|
1908
|
-
internalType: "address"
|
|
1905
|
+
"name": "toToken",
|
|
1906
|
+
"type": "address",
|
|
1907
|
+
"indexed": false,
|
|
1908
|
+
"internalType": "address"
|
|
1909
1909
|
},
|
|
1910
1910
|
{
|
|
1911
|
-
name: "fromAmount",
|
|
1912
|
-
type: "uint256",
|
|
1913
|
-
indexed: false,
|
|
1914
|
-
internalType: "uint256"
|
|
1911
|
+
"name": "fromAmount",
|
|
1912
|
+
"type": "uint256",
|
|
1913
|
+
"indexed": false,
|
|
1914
|
+
"internalType": "uint256"
|
|
1915
1915
|
},
|
|
1916
1916
|
{
|
|
1917
|
-
name: "toAmount",
|
|
1918
|
-
type: "uint256",
|
|
1919
|
-
indexed: false,
|
|
1920
|
-
internalType: "uint256"
|
|
1917
|
+
"name": "toAmount",
|
|
1918
|
+
"type": "uint256",
|
|
1919
|
+
"indexed": false,
|
|
1920
|
+
"internalType": "uint256"
|
|
1921
1921
|
},
|
|
1922
1922
|
{
|
|
1923
|
-
name: "ref",
|
|
1924
|
-
type: "bytes32",
|
|
1925
|
-
indexed: false,
|
|
1926
|
-
internalType: "bytes32"
|
|
1923
|
+
"name": "ref",
|
|
1924
|
+
"type": "bytes32",
|
|
1925
|
+
"indexed": false,
|
|
1926
|
+
"internalType": "bytes32"
|
|
1927
1927
|
}
|
|
1928
1928
|
],
|
|
1929
|
-
anonymous: false
|
|
1929
|
+
"anonymous": false
|
|
1930
1930
|
},
|
|
1931
1931
|
{
|
|
1932
|
-
type: "event",
|
|
1933
|
-
name: "SwapPaymentExecuted",
|
|
1934
|
-
inputs: [
|
|
1932
|
+
"type": "event",
|
|
1933
|
+
"name": "SwapPaymentExecuted",
|
|
1934
|
+
"inputs": [
|
|
1935
1935
|
{
|
|
1936
|
-
name: "bot",
|
|
1937
|
-
type: "address",
|
|
1938
|
-
indexed: true,
|
|
1939
|
-
internalType: "address"
|
|
1936
|
+
"name": "bot",
|
|
1937
|
+
"type": "address",
|
|
1938
|
+
"indexed": true,
|
|
1939
|
+
"internalType": "address"
|
|
1940
1940
|
},
|
|
1941
1941
|
{
|
|
1942
|
-
name: "to",
|
|
1943
|
-
type: "address",
|
|
1944
|
-
indexed: true,
|
|
1945
|
-
internalType: "address"
|
|
1942
|
+
"name": "to",
|
|
1943
|
+
"type": "address",
|
|
1944
|
+
"indexed": true,
|
|
1945
|
+
"internalType": "address"
|
|
1946
1946
|
},
|
|
1947
1947
|
{
|
|
1948
|
-
name: "fromToken",
|
|
1949
|
-
type: "address",
|
|
1950
|
-
indexed: false,
|
|
1951
|
-
internalType: "address"
|
|
1948
|
+
"name": "fromToken",
|
|
1949
|
+
"type": "address",
|
|
1950
|
+
"indexed": false,
|
|
1951
|
+
"internalType": "address"
|
|
1952
1952
|
},
|
|
1953
1953
|
{
|
|
1954
|
-
name: "toToken",
|
|
1955
|
-
type: "address",
|
|
1956
|
-
indexed: false,
|
|
1957
|
-
internalType: "address"
|
|
1954
|
+
"name": "toToken",
|
|
1955
|
+
"type": "address",
|
|
1956
|
+
"indexed": false,
|
|
1957
|
+
"internalType": "address"
|
|
1958
1958
|
},
|
|
1959
1959
|
{
|
|
1960
|
-
name: "fromAmount",
|
|
1961
|
-
type: "uint256",
|
|
1962
|
-
indexed: false,
|
|
1963
|
-
internalType: "uint256"
|
|
1960
|
+
"name": "fromAmount",
|
|
1961
|
+
"type": "uint256",
|
|
1962
|
+
"indexed": false,
|
|
1963
|
+
"internalType": "uint256"
|
|
1964
1964
|
},
|
|
1965
1965
|
{
|
|
1966
|
-
name: "toAmount",
|
|
1967
|
-
type: "uint256",
|
|
1968
|
-
indexed: false,
|
|
1969
|
-
internalType: "uint256"
|
|
1966
|
+
"name": "toAmount",
|
|
1967
|
+
"type": "uint256",
|
|
1968
|
+
"indexed": false,
|
|
1969
|
+
"internalType": "uint256"
|
|
1970
1970
|
},
|
|
1971
1971
|
{
|
|
1972
|
-
name: "ref",
|
|
1973
|
-
type: "bytes32",
|
|
1974
|
-
indexed: false,
|
|
1975
|
-
internalType: "bytes32"
|
|
1972
|
+
"name": "ref",
|
|
1973
|
+
"type": "bytes32",
|
|
1974
|
+
"indexed": false,
|
|
1975
|
+
"internalType": "bytes32"
|
|
1976
1976
|
}
|
|
1977
1977
|
],
|
|
1978
|
-
anonymous: false
|
|
1978
|
+
"anonymous": false
|
|
1979
1979
|
},
|
|
1980
1980
|
{
|
|
1981
|
-
type: "event",
|
|
1982
|
-
name: "Unpaused",
|
|
1983
|
-
inputs: [
|
|
1981
|
+
"type": "event",
|
|
1982
|
+
"name": "Unpaused",
|
|
1983
|
+
"inputs": [
|
|
1984
1984
|
{
|
|
1985
|
-
name: "account",
|
|
1986
|
-
type: "address",
|
|
1987
|
-
indexed: false,
|
|
1988
|
-
internalType: "address"
|
|
1985
|
+
"name": "account",
|
|
1986
|
+
"type": "address",
|
|
1987
|
+
"indexed": false,
|
|
1988
|
+
"internalType": "address"
|
|
1989
1989
|
}
|
|
1990
1990
|
],
|
|
1991
|
-
anonymous: false
|
|
1991
|
+
"anonymous": false
|
|
1992
1992
|
},
|
|
1993
1993
|
{
|
|
1994
|
-
type: "event",
|
|
1995
|
-
name: "Withdrawn",
|
|
1996
|
-
inputs: [
|
|
1994
|
+
"type": "event",
|
|
1995
|
+
"name": "Withdrawn",
|
|
1996
|
+
"inputs": [
|
|
1997
1997
|
{
|
|
1998
|
-
name: "token",
|
|
1999
|
-
type: "address",
|
|
2000
|
-
indexed: true,
|
|
2001
|
-
internalType: "address"
|
|
1998
|
+
"name": "token",
|
|
1999
|
+
"type": "address",
|
|
2000
|
+
"indexed": true,
|
|
2001
|
+
"internalType": "address"
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
|
-
name: "amount",
|
|
2005
|
-
type: "uint256",
|
|
2006
|
-
indexed: false,
|
|
2007
|
-
internalType: "uint256"
|
|
2004
|
+
"name": "amount",
|
|
2005
|
+
"type": "uint256",
|
|
2006
|
+
"indexed": false,
|
|
2007
|
+
"internalType": "uint256"
|
|
2008
2008
|
},
|
|
2009
2009
|
{
|
|
2010
|
-
name: "to",
|
|
2011
|
-
type: "address",
|
|
2012
|
-
indexed: true,
|
|
2013
|
-
internalType: "address"
|
|
2010
|
+
"name": "to",
|
|
2011
|
+
"type": "address",
|
|
2012
|
+
"indexed": true,
|
|
2013
|
+
"internalType": "address"
|
|
2014
2014
|
}
|
|
2015
2015
|
],
|
|
2016
|
-
anonymous: false
|
|
2016
|
+
"anonymous": false
|
|
2017
2017
|
},
|
|
2018
2018
|
{
|
|
2019
|
-
type: "error",
|
|
2020
|
-
name: "AlreadyApprovedProtocol",
|
|
2021
|
-
inputs: []
|
|
2019
|
+
"type": "error",
|
|
2020
|
+
"name": "AlreadyApprovedProtocol",
|
|
2021
|
+
"inputs": []
|
|
2022
2022
|
},
|
|
2023
2023
|
{
|
|
2024
|
-
type: "error",
|
|
2025
|
-
name: "AmountMismatch",
|
|
2026
|
-
inputs: []
|
|
2024
|
+
"type": "error",
|
|
2025
|
+
"name": "AmountMismatch",
|
|
2026
|
+
"inputs": []
|
|
2027
2027
|
},
|
|
2028
2028
|
{
|
|
2029
|
-
type: "error",
|
|
2030
|
-
name: "BotAlreadyExists",
|
|
2031
|
-
inputs: []
|
|
2029
|
+
"type": "error",
|
|
2030
|
+
"name": "BotAlreadyExists",
|
|
2031
|
+
"inputs": []
|
|
2032
2032
|
},
|
|
2033
2033
|
{
|
|
2034
|
-
type: "error",
|
|
2035
|
-
name: "BotDoesNotExist",
|
|
2036
|
-
inputs: []
|
|
2034
|
+
"type": "error",
|
|
2035
|
+
"name": "BotDoesNotExist",
|
|
2036
|
+
"inputs": []
|
|
2037
2037
|
},
|
|
2038
2038
|
{
|
|
2039
|
-
type: "error",
|
|
2040
|
-
name: "BotNotActive",
|
|
2041
|
-
inputs: []
|
|
2039
|
+
"type": "error",
|
|
2040
|
+
"name": "BotNotActive",
|
|
2041
|
+
"inputs": []
|
|
2042
2042
|
},
|
|
2043
2043
|
{
|
|
2044
|
-
type: "error",
|
|
2045
|
-
name: "CalldataHashMismatch",
|
|
2046
|
-
inputs: []
|
|
2044
|
+
"type": "error",
|
|
2045
|
+
"name": "CalldataHashMismatch",
|
|
2046
|
+
"inputs": []
|
|
2047
2047
|
},
|
|
2048
2048
|
{
|
|
2049
|
-
type: "error",
|
|
2050
|
-
name: "DeadlineExpired",
|
|
2051
|
-
inputs: []
|
|
2049
|
+
"type": "error",
|
|
2050
|
+
"name": "DeadlineExpired",
|
|
2051
|
+
"inputs": []
|
|
2052
2052
|
},
|
|
2053
2053
|
{
|
|
2054
|
-
type: "error",
|
|
2055
|
-
name: "DestinationBlacklisted",
|
|
2056
|
-
inputs: []
|
|
2054
|
+
"type": "error",
|
|
2055
|
+
"name": "DestinationBlacklisted",
|
|
2056
|
+
"inputs": []
|
|
2057
2057
|
},
|
|
2058
2058
|
{
|
|
2059
|
-
type: "error",
|
|
2060
|
-
name: "DestinationNotWhitelisted",
|
|
2061
|
-
inputs: []
|
|
2059
|
+
"type": "error",
|
|
2060
|
+
"name": "DestinationNotWhitelisted",
|
|
2061
|
+
"inputs": []
|
|
2062
2062
|
},
|
|
2063
2063
|
{
|
|
2064
|
-
type: "error",
|
|
2065
|
-
name: "ECDSAInvalidSignature",
|
|
2066
|
-
inputs: []
|
|
2064
|
+
"type": "error",
|
|
2065
|
+
"name": "ECDSAInvalidSignature",
|
|
2066
|
+
"inputs": []
|
|
2067
2067
|
},
|
|
2068
2068
|
{
|
|
2069
|
-
type: "error",
|
|
2070
|
-
name: "ECDSAInvalidSignatureLength",
|
|
2071
|
-
inputs: [
|
|
2069
|
+
"type": "error",
|
|
2070
|
+
"name": "ECDSAInvalidSignatureLength",
|
|
2071
|
+
"inputs": [
|
|
2072
2072
|
{
|
|
2073
|
-
name: "length",
|
|
2074
|
-
type: "uint256",
|
|
2075
|
-
internalType: "uint256"
|
|
2073
|
+
"name": "length",
|
|
2074
|
+
"type": "uint256",
|
|
2075
|
+
"internalType": "uint256"
|
|
2076
2076
|
}
|
|
2077
2077
|
]
|
|
2078
2078
|
},
|
|
2079
2079
|
{
|
|
2080
|
-
type: "error",
|
|
2081
|
-
name: "ECDSAInvalidSignatureS",
|
|
2082
|
-
inputs: [
|
|
2080
|
+
"type": "error",
|
|
2081
|
+
"name": "ECDSAInvalidSignatureS",
|
|
2082
|
+
"inputs": [
|
|
2083
2083
|
{
|
|
2084
|
-
name: "s",
|
|
2085
|
-
type: "bytes32",
|
|
2086
|
-
internalType: "bytes32"
|
|
2084
|
+
"name": "s",
|
|
2085
|
+
"type": "bytes32",
|
|
2086
|
+
"internalType": "bytes32"
|
|
2087
2087
|
}
|
|
2088
2088
|
]
|
|
2089
2089
|
},
|
|
2090
2090
|
{
|
|
2091
|
-
type: "error",
|
|
2092
|
-
name: "EnforcedPause",
|
|
2093
|
-
inputs: []
|
|
2091
|
+
"type": "error",
|
|
2092
|
+
"name": "EnforcedPause",
|
|
2093
|
+
"inputs": []
|
|
2094
2094
|
},
|
|
2095
2095
|
{
|
|
2096
|
-
type: "error",
|
|
2097
|
-
name: "ExceedsOperatorCeiling",
|
|
2098
|
-
inputs: []
|
|
2096
|
+
"type": "error",
|
|
2097
|
+
"name": "ExceedsOperatorCeiling",
|
|
2098
|
+
"inputs": []
|
|
2099
2099
|
},
|
|
2100
2100
|
{
|
|
2101
|
-
type: "error",
|
|
2102
|
-
name: "ExpectedPause",
|
|
2103
|
-
inputs: []
|
|
2101
|
+
"type": "error",
|
|
2102
|
+
"name": "ExpectedPause",
|
|
2103
|
+
"inputs": []
|
|
2104
2104
|
},
|
|
2105
2105
|
{
|
|
2106
|
-
type: "error",
|
|
2107
|
-
name: "InsufficientBalance",
|
|
2108
|
-
inputs: []
|
|
2106
|
+
"type": "error",
|
|
2107
|
+
"name": "InsufficientBalance",
|
|
2108
|
+
"inputs": []
|
|
2109
2109
|
},
|
|
2110
2110
|
{
|
|
2111
|
-
type: "error",
|
|
2112
|
-
name: "IntentAlreadyUsed",
|
|
2113
|
-
inputs: []
|
|
2111
|
+
"type": "error",
|
|
2112
|
+
"name": "IntentAlreadyUsed",
|
|
2113
|
+
"inputs": []
|
|
2114
2114
|
},
|
|
2115
2115
|
{
|
|
2116
|
-
type: "error",
|
|
2117
|
-
name: "InvalidShortString",
|
|
2118
|
-
inputs: []
|
|
2116
|
+
"type": "error",
|
|
2117
|
+
"name": "InvalidShortString",
|
|
2118
|
+
"inputs": []
|
|
2119
2119
|
},
|
|
2120
2120
|
{
|
|
2121
|
-
type: "error",
|
|
2122
|
-
name: "InvalidSignature",
|
|
2123
|
-
inputs: []
|
|
2121
|
+
"type": "error",
|
|
2122
|
+
"name": "InvalidSignature",
|
|
2123
|
+
"inputs": []
|
|
2124
2124
|
},
|
|
2125
2125
|
{
|
|
2126
|
-
type: "error",
|
|
2127
|
-
name: "MaxPerTxExceeded",
|
|
2128
|
-
inputs: []
|
|
2126
|
+
"type": "error",
|
|
2127
|
+
"name": "MaxPerTxExceeded",
|
|
2128
|
+
"inputs": []
|
|
2129
2129
|
},
|
|
2130
2130
|
{
|
|
2131
|
-
type: "error",
|
|
2132
|
-
name: "MaxRebalanceAmountExceeded",
|
|
2133
|
-
inputs: []
|
|
2131
|
+
"type": "error",
|
|
2132
|
+
"name": "MaxRebalanceAmountExceeded",
|
|
2133
|
+
"inputs": []
|
|
2134
2134
|
},
|
|
2135
2135
|
{
|
|
2136
|
-
type: "error",
|
|
2137
|
-
name: "NativeTransferFailed",
|
|
2138
|
-
inputs: []
|
|
2136
|
+
"type": "error",
|
|
2137
|
+
"name": "NativeTransferFailed",
|
|
2138
|
+
"inputs": []
|
|
2139
2139
|
},
|
|
2140
2140
|
{
|
|
2141
|
-
type: "error",
|
|
2142
|
-
name: "NotAuthorized",
|
|
2143
|
-
inputs: []
|
|
2141
|
+
"type": "error",
|
|
2142
|
+
"name": "NotAuthorized",
|
|
2143
|
+
"inputs": []
|
|
2144
2144
|
},
|
|
2145
2145
|
{
|
|
2146
|
-
type: "error",
|
|
2147
|
-
name: "NotAuthorizedRelayer",
|
|
2148
|
-
inputs: []
|
|
2146
|
+
"type": "error",
|
|
2147
|
+
"name": "NotAuthorizedRelayer",
|
|
2148
|
+
"inputs": []
|
|
2149
2149
|
},
|
|
2150
2150
|
{
|
|
2151
|
-
type: "error",
|
|
2152
|
-
name: "OperatorBotLimitReached",
|
|
2153
|
-
inputs: []
|
|
2151
|
+
"type": "error",
|
|
2152
|
+
"name": "OperatorBotLimitReached",
|
|
2153
|
+
"inputs": []
|
|
2154
2154
|
},
|
|
2155
2155
|
{
|
|
2156
|
-
type: "error",
|
|
2157
|
-
name: "OperatorCannotBeOwner",
|
|
2158
|
-
inputs: []
|
|
2156
|
+
"type": "error",
|
|
2157
|
+
"name": "OperatorCannotBeOwner",
|
|
2158
|
+
"inputs": []
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
|
-
type: "error",
|
|
2162
|
-
name: "OracleNotConfigured",
|
|
2163
|
-
inputs: []
|
|
2161
|
+
"type": "error",
|
|
2162
|
+
"name": "OracleNotConfigured",
|
|
2163
|
+
"inputs": []
|
|
2164
2164
|
},
|
|
2165
2165
|
{
|
|
2166
|
-
type: "error",
|
|
2167
|
-
name: "OracleUnavailable",
|
|
2168
|
-
inputs: []
|
|
2166
|
+
"type": "error",
|
|
2167
|
+
"name": "OracleUnavailable",
|
|
2168
|
+
"inputs": []
|
|
2169
2169
|
},
|
|
2170
2170
|
{
|
|
2171
|
-
type: "error",
|
|
2172
|
-
name: "OwnableInvalidOwner",
|
|
2173
|
-
inputs: [
|
|
2171
|
+
"type": "error",
|
|
2172
|
+
"name": "OwnableInvalidOwner",
|
|
2173
|
+
"inputs": [
|
|
2174
2174
|
{
|
|
2175
|
-
name: "owner",
|
|
2176
|
-
type: "address",
|
|
2177
|
-
internalType: "address"
|
|
2175
|
+
"name": "owner",
|
|
2176
|
+
"type": "address",
|
|
2177
|
+
"internalType": "address"
|
|
2178
2178
|
}
|
|
2179
2179
|
]
|
|
2180
2180
|
},
|
|
2181
2181
|
{
|
|
2182
|
-
type: "error",
|
|
2183
|
-
name: "OwnableUnauthorizedAccount",
|
|
2184
|
-
inputs: [
|
|
2182
|
+
"type": "error",
|
|
2183
|
+
"name": "OwnableUnauthorizedAccount",
|
|
2184
|
+
"inputs": [
|
|
2185
2185
|
{
|
|
2186
|
-
name: "account",
|
|
2187
|
-
type: "address",
|
|
2188
|
-
internalType: "address"
|
|
2186
|
+
"name": "account",
|
|
2187
|
+
"type": "address",
|
|
2188
|
+
"internalType": "address"
|
|
2189
2189
|
}
|
|
2190
2190
|
]
|
|
2191
2191
|
},
|
|
2192
2192
|
{
|
|
2193
|
-
type: "error",
|
|
2194
|
-
name: "OwnerCannotBeBot",
|
|
2195
|
-
inputs: []
|
|
2193
|
+
"type": "error",
|
|
2194
|
+
"name": "OwnerCannotBeBot",
|
|
2195
|
+
"inputs": []
|
|
2196
2196
|
},
|
|
2197
2197
|
{
|
|
2198
|
-
type: "error",
|
|
2199
|
-
name: "PaymentToZeroAddress",
|
|
2200
|
-
inputs: []
|
|
2198
|
+
"type": "error",
|
|
2199
|
+
"name": "PaymentToZeroAddress",
|
|
2200
|
+
"inputs": []
|
|
2201
2201
|
},
|
|
2202
2202
|
{
|
|
2203
|
-
type: "error",
|
|
2204
|
-
name: "ProtocolCallFailed",
|
|
2205
|
-
inputs: []
|
|
2203
|
+
"type": "error",
|
|
2204
|
+
"name": "ProtocolCallFailed",
|
|
2205
|
+
"inputs": []
|
|
2206
2206
|
},
|
|
2207
2207
|
{
|
|
2208
|
-
type: "error",
|
|
2209
|
-
name: "ProtocolNotApproved",
|
|
2210
|
-
inputs: []
|
|
2208
|
+
"type": "error",
|
|
2209
|
+
"name": "ProtocolNotApproved",
|
|
2210
|
+
"inputs": []
|
|
2211
2211
|
},
|
|
2212
2212
|
{
|
|
2213
|
-
type: "error",
|
|
2214
|
-
name: "ProtocolNotInList",
|
|
2215
|
-
inputs: []
|
|
2213
|
+
"type": "error",
|
|
2214
|
+
"name": "ProtocolNotInList",
|
|
2215
|
+
"inputs": []
|
|
2216
2216
|
},
|
|
2217
2217
|
{
|
|
2218
|
-
type: "error",
|
|
2219
|
-
name: "RebalanceTokenNotAllowed",
|
|
2220
|
-
inputs: []
|
|
2218
|
+
"type": "error",
|
|
2219
|
+
"name": "RebalanceTokenNotAllowed",
|
|
2220
|
+
"inputs": []
|
|
2221
2221
|
},
|
|
2222
2222
|
{
|
|
2223
|
-
type: "error",
|
|
2224
|
-
name: "ReentrancyGuardReentrantCall",
|
|
2225
|
-
inputs: []
|
|
2223
|
+
"type": "error",
|
|
2224
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
2225
|
+
"inputs": []
|
|
2226
2226
|
},
|
|
2227
2227
|
{
|
|
2228
|
-
type: "error",
|
|
2229
|
-
name: "RouterNotApproved",
|
|
2230
|
-
inputs: []
|
|
2228
|
+
"type": "error",
|
|
2229
|
+
"name": "RouterNotApproved",
|
|
2230
|
+
"inputs": []
|
|
2231
2231
|
},
|
|
2232
2232
|
{
|
|
2233
|
-
type: "error",
|
|
2234
|
-
name: "SafeERC20FailedOperation",
|
|
2235
|
-
inputs: [
|
|
2233
|
+
"type": "error",
|
|
2234
|
+
"name": "SafeERC20FailedOperation",
|
|
2235
|
+
"inputs": [
|
|
2236
2236
|
{
|
|
2237
|
-
name: "token",
|
|
2238
|
-
type: "address",
|
|
2239
|
-
internalType: "address"
|
|
2237
|
+
"name": "token",
|
|
2238
|
+
"type": "address",
|
|
2239
|
+
"internalType": "address"
|
|
2240
2240
|
}
|
|
2241
2241
|
]
|
|
2242
2242
|
},
|
|
2243
2243
|
{
|
|
2244
|
-
type: "error",
|
|
2245
|
-
name: "SelfPayment",
|
|
2246
|
-
inputs: []
|
|
2244
|
+
"type": "error",
|
|
2245
|
+
"name": "SelfPayment",
|
|
2246
|
+
"inputs": []
|
|
2247
2247
|
},
|
|
2248
2248
|
{
|
|
2249
|
-
type: "error",
|
|
2250
|
-
name: "StringTooLong",
|
|
2251
|
-
inputs: [
|
|
2249
|
+
"type": "error",
|
|
2250
|
+
"name": "StringTooLong",
|
|
2251
|
+
"inputs": [
|
|
2252
2252
|
{
|
|
2253
|
-
name: "str",
|
|
2254
|
-
type: "string",
|
|
2255
|
-
internalType: "string"
|
|
2253
|
+
"name": "str",
|
|
2254
|
+
"type": "string",
|
|
2255
|
+
"internalType": "string"
|
|
2256
2256
|
}
|
|
2257
2257
|
]
|
|
2258
2258
|
},
|
|
2259
2259
|
{
|
|
2260
|
-
type: "error",
|
|
2261
|
-
name: "SwapFailed",
|
|
2262
|
-
inputs: []
|
|
2260
|
+
"type": "error",
|
|
2261
|
+
"name": "SwapFailed",
|
|
2262
|
+
"inputs": []
|
|
2263
2263
|
},
|
|
2264
2264
|
{
|
|
2265
|
-
type: "error",
|
|
2266
|
-
name: "SwapOutputInsufficient",
|
|
2267
|
-
inputs: []
|
|
2265
|
+
"type": "error",
|
|
2266
|
+
"name": "SwapOutputInsufficient",
|
|
2267
|
+
"inputs": []
|
|
2268
2268
|
},
|
|
2269
2269
|
{
|
|
2270
|
-
type: "error",
|
|
2271
|
-
name: "TooManySpendingLimits",
|
|
2272
|
-
inputs: []
|
|
2270
|
+
"type": "error",
|
|
2271
|
+
"name": "TooManySpendingLimits",
|
|
2272
|
+
"inputs": []
|
|
2273
2273
|
},
|
|
2274
2274
|
{
|
|
2275
|
-
type: "error",
|
|
2276
|
-
name: "UnexpectedETH",
|
|
2277
|
-
inputs: []
|
|
2275
|
+
"type": "error",
|
|
2276
|
+
"name": "UnexpectedETH",
|
|
2277
|
+
"inputs": []
|
|
2278
2278
|
},
|
|
2279
2279
|
{
|
|
2280
|
-
type: "error",
|
|
2281
|
-
name: "ZeroAddress",
|
|
2282
|
-
inputs: []
|
|
2280
|
+
"type": "error",
|
|
2281
|
+
"name": "ZeroAddress",
|
|
2282
|
+
"inputs": []
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
2285
|
-
type: "error",
|
|
2286
|
-
name: "ZeroAmount",
|
|
2287
|
-
inputs: []
|
|
2285
|
+
"type": "error",
|
|
2286
|
+
"name": "ZeroAmount",
|
|
2287
|
+
"inputs": []
|
|
2288
2288
|
}
|
|
2289
2289
|
];
|
|
2290
2290
|
|
|
2291
2291
|
// src/abis/AxonVaultFactory.ts
|
|
2292
2292
|
var AxonVaultFactoryAbi = [
|
|
2293
2293
|
{
|
|
2294
|
-
type: "constructor",
|
|
2295
|
-
inputs: [
|
|
2294
|
+
"type": "constructor",
|
|
2295
|
+
"inputs": [
|
|
2296
2296
|
{
|
|
2297
|
-
name: "_axonRegistry",
|
|
2298
|
-
type: "address",
|
|
2299
|
-
internalType: "address"
|
|
2297
|
+
"name": "_axonRegistry",
|
|
2298
|
+
"type": "address",
|
|
2299
|
+
"internalType": "address"
|
|
2300
2300
|
},
|
|
2301
2301
|
{
|
|
2302
|
-
name: "factoryOwner",
|
|
2303
|
-
type: "address",
|
|
2304
|
-
internalType: "address"
|
|
2302
|
+
"name": "factoryOwner",
|
|
2303
|
+
"type": "address",
|
|
2304
|
+
"internalType": "address"
|
|
2305
2305
|
}
|
|
2306
2306
|
],
|
|
2307
|
-
stateMutability: "nonpayable"
|
|
2307
|
+
"stateMutability": "nonpayable"
|
|
2308
2308
|
},
|
|
2309
2309
|
{
|
|
2310
|
-
type: "function",
|
|
2311
|
-
name: "acceptOwnership",
|
|
2312
|
-
inputs: [],
|
|
2313
|
-
outputs: [],
|
|
2314
|
-
stateMutability: "nonpayable"
|
|
2310
|
+
"type": "function",
|
|
2311
|
+
"name": "acceptOwnership",
|
|
2312
|
+
"inputs": [],
|
|
2313
|
+
"outputs": [],
|
|
2314
|
+
"stateMutability": "nonpayable"
|
|
2315
2315
|
},
|
|
2316
2316
|
{
|
|
2317
|
-
type: "function",
|
|
2318
|
-
name: "allVaults",
|
|
2319
|
-
inputs: [
|
|
2317
|
+
"type": "function",
|
|
2318
|
+
"name": "allVaults",
|
|
2319
|
+
"inputs": [
|
|
2320
2320
|
{
|
|
2321
|
-
name: "",
|
|
2322
|
-
type: "uint256",
|
|
2323
|
-
internalType: "uint256"
|
|
2321
|
+
"name": "",
|
|
2322
|
+
"type": "uint256",
|
|
2323
|
+
"internalType": "uint256"
|
|
2324
2324
|
}
|
|
2325
2325
|
],
|
|
2326
|
-
outputs: [
|
|
2326
|
+
"outputs": [
|
|
2327
2327
|
{
|
|
2328
|
-
name: "",
|
|
2329
|
-
type: "address",
|
|
2330
|
-
internalType: "address"
|
|
2328
|
+
"name": "",
|
|
2329
|
+
"type": "address",
|
|
2330
|
+
"internalType": "address"
|
|
2331
2331
|
}
|
|
2332
2332
|
],
|
|
2333
|
-
stateMutability: "view"
|
|
2333
|
+
"stateMutability": "view"
|
|
2334
2334
|
},
|
|
2335
2335
|
{
|
|
2336
|
-
type: "function",
|
|
2337
|
-
name: "axonRegistry",
|
|
2338
|
-
inputs: [],
|
|
2339
|
-
outputs: [
|
|
2336
|
+
"type": "function",
|
|
2337
|
+
"name": "axonRegistry",
|
|
2338
|
+
"inputs": [],
|
|
2339
|
+
"outputs": [
|
|
2340
2340
|
{
|
|
2341
|
-
name: "",
|
|
2342
|
-
type: "address",
|
|
2343
|
-
internalType: "address"
|
|
2341
|
+
"name": "",
|
|
2342
|
+
"type": "address",
|
|
2343
|
+
"internalType": "address"
|
|
2344
2344
|
}
|
|
2345
2345
|
],
|
|
2346
|
-
stateMutability: "view"
|
|
2346
|
+
"stateMutability": "view"
|
|
2347
2347
|
},
|
|
2348
2348
|
{
|
|
2349
|
-
type: "function",
|
|
2350
|
-
name: "deployVault",
|
|
2351
|
-
inputs: [
|
|
2349
|
+
"type": "function",
|
|
2350
|
+
"name": "deployVault",
|
|
2351
|
+
"inputs": [
|
|
2352
2352
|
{
|
|
2353
|
-
name: "trackUsedIntents",
|
|
2354
|
-
type: "bool",
|
|
2355
|
-
internalType: "bool"
|
|
2353
|
+
"name": "trackUsedIntents",
|
|
2354
|
+
"type": "bool",
|
|
2355
|
+
"internalType": "bool"
|
|
2356
2356
|
}
|
|
2357
2357
|
],
|
|
2358
|
-
outputs: [
|
|
2358
|
+
"outputs": [
|
|
2359
2359
|
{
|
|
2360
|
-
name: "vault",
|
|
2361
|
-
type: "address",
|
|
2362
|
-
internalType: "address"
|
|
2360
|
+
"name": "vault",
|
|
2361
|
+
"type": "address",
|
|
2362
|
+
"internalType": "address"
|
|
2363
2363
|
}
|
|
2364
2364
|
],
|
|
2365
|
-
stateMutability: "nonpayable"
|
|
2365
|
+
"stateMutability": "nonpayable"
|
|
2366
2366
|
},
|
|
2367
2367
|
{
|
|
2368
|
-
type: "function",
|
|
2369
|
-
name: "owner",
|
|
2370
|
-
inputs: [],
|
|
2371
|
-
outputs: [
|
|
2368
|
+
"type": "function",
|
|
2369
|
+
"name": "owner",
|
|
2370
|
+
"inputs": [],
|
|
2371
|
+
"outputs": [
|
|
2372
2372
|
{
|
|
2373
|
-
name: "",
|
|
2374
|
-
type: "address",
|
|
2375
|
-
internalType: "address"
|
|
2373
|
+
"name": "",
|
|
2374
|
+
"type": "address",
|
|
2375
|
+
"internalType": "address"
|
|
2376
2376
|
}
|
|
2377
2377
|
],
|
|
2378
|
-
stateMutability: "view"
|
|
2378
|
+
"stateMutability": "view"
|
|
2379
2379
|
},
|
|
2380
2380
|
{
|
|
2381
|
-
type: "function",
|
|
2382
|
-
name: "ownerVaultCount",
|
|
2383
|
-
inputs: [
|
|
2381
|
+
"type": "function",
|
|
2382
|
+
"name": "ownerVaultCount",
|
|
2383
|
+
"inputs": [
|
|
2384
2384
|
{
|
|
2385
|
-
name: "owner",
|
|
2386
|
-
type: "address",
|
|
2387
|
-
internalType: "address"
|
|
2385
|
+
"name": "owner",
|
|
2386
|
+
"type": "address",
|
|
2387
|
+
"internalType": "address"
|
|
2388
2388
|
}
|
|
2389
2389
|
],
|
|
2390
|
-
outputs: [
|
|
2390
|
+
"outputs": [
|
|
2391
2391
|
{
|
|
2392
|
-
name: "",
|
|
2393
|
-
type: "uint256",
|
|
2394
|
-
internalType: "uint256"
|
|
2392
|
+
"name": "",
|
|
2393
|
+
"type": "uint256",
|
|
2394
|
+
"internalType": "uint256"
|
|
2395
2395
|
}
|
|
2396
2396
|
],
|
|
2397
|
-
stateMutability: "view"
|
|
2397
|
+
"stateMutability": "view"
|
|
2398
2398
|
},
|
|
2399
2399
|
{
|
|
2400
|
-
type: "function",
|
|
2401
|
-
name: "ownerVaults",
|
|
2402
|
-
inputs: [
|
|
2400
|
+
"type": "function",
|
|
2401
|
+
"name": "ownerVaults",
|
|
2402
|
+
"inputs": [
|
|
2403
2403
|
{
|
|
2404
|
-
name: "",
|
|
2405
|
-
type: "address",
|
|
2406
|
-
internalType: "address"
|
|
2404
|
+
"name": "",
|
|
2405
|
+
"type": "address",
|
|
2406
|
+
"internalType": "address"
|
|
2407
2407
|
},
|
|
2408
2408
|
{
|
|
2409
|
-
name: "",
|
|
2410
|
-
type: "uint256",
|
|
2411
|
-
internalType: "uint256"
|
|
2409
|
+
"name": "",
|
|
2410
|
+
"type": "uint256",
|
|
2411
|
+
"internalType": "uint256"
|
|
2412
2412
|
}
|
|
2413
2413
|
],
|
|
2414
|
-
outputs: [
|
|
2414
|
+
"outputs": [
|
|
2415
2415
|
{
|
|
2416
|
-
name: "",
|
|
2417
|
-
type: "address",
|
|
2418
|
-
internalType: "address"
|
|
2416
|
+
"name": "",
|
|
2417
|
+
"type": "address",
|
|
2418
|
+
"internalType": "address"
|
|
2419
2419
|
}
|
|
2420
2420
|
],
|
|
2421
|
-
stateMutability: "view"
|
|
2421
|
+
"stateMutability": "view"
|
|
2422
2422
|
},
|
|
2423
2423
|
{
|
|
2424
|
-
type: "function",
|
|
2425
|
-
name: "pendingOwner",
|
|
2426
|
-
inputs: [],
|
|
2427
|
-
outputs: [
|
|
2424
|
+
"type": "function",
|
|
2425
|
+
"name": "pendingOwner",
|
|
2426
|
+
"inputs": [],
|
|
2427
|
+
"outputs": [
|
|
2428
2428
|
{
|
|
2429
|
-
name: "",
|
|
2430
|
-
type: "address",
|
|
2431
|
-
internalType: "address"
|
|
2429
|
+
"name": "",
|
|
2430
|
+
"type": "address",
|
|
2431
|
+
"internalType": "address"
|
|
2432
2432
|
}
|
|
2433
2433
|
],
|
|
2434
|
-
stateMutability: "view"
|
|
2434
|
+
"stateMutability": "view"
|
|
2435
2435
|
},
|
|
2436
2436
|
{
|
|
2437
|
-
type: "function",
|
|
2438
|
-
name: "renounceOwnership",
|
|
2439
|
-
inputs: [],
|
|
2440
|
-
outputs: [],
|
|
2441
|
-
stateMutability: "nonpayable"
|
|
2437
|
+
"type": "function",
|
|
2438
|
+
"name": "renounceOwnership",
|
|
2439
|
+
"inputs": [],
|
|
2440
|
+
"outputs": [],
|
|
2441
|
+
"stateMutability": "nonpayable"
|
|
2442
2442
|
},
|
|
2443
2443
|
{
|
|
2444
|
-
type: "function",
|
|
2445
|
-
name: "transferOwnership",
|
|
2446
|
-
inputs: [
|
|
2444
|
+
"type": "function",
|
|
2445
|
+
"name": "transferOwnership",
|
|
2446
|
+
"inputs": [
|
|
2447
2447
|
{
|
|
2448
|
-
name: "newOwner",
|
|
2449
|
-
type: "address",
|
|
2450
|
-
internalType: "address"
|
|
2448
|
+
"name": "newOwner",
|
|
2449
|
+
"type": "address",
|
|
2450
|
+
"internalType": "address"
|
|
2451
2451
|
}
|
|
2452
2452
|
],
|
|
2453
|
-
outputs: [],
|
|
2454
|
-
stateMutability: "nonpayable"
|
|
2453
|
+
"outputs": [],
|
|
2454
|
+
"stateMutability": "nonpayable"
|
|
2455
2455
|
},
|
|
2456
2456
|
{
|
|
2457
|
-
type: "function",
|
|
2458
|
-
name: "vaultCount",
|
|
2459
|
-
inputs: [],
|
|
2460
|
-
outputs: [
|
|
2457
|
+
"type": "function",
|
|
2458
|
+
"name": "vaultCount",
|
|
2459
|
+
"inputs": [],
|
|
2460
|
+
"outputs": [
|
|
2461
2461
|
{
|
|
2462
|
-
name: "",
|
|
2463
|
-
type: "uint256",
|
|
2464
|
-
internalType: "uint256"
|
|
2462
|
+
"name": "",
|
|
2463
|
+
"type": "uint256",
|
|
2464
|
+
"internalType": "uint256"
|
|
2465
2465
|
}
|
|
2466
2466
|
],
|
|
2467
|
-
stateMutability: "view"
|
|
2467
|
+
"stateMutability": "view"
|
|
2468
2468
|
},
|
|
2469
2469
|
{
|
|
2470
|
-
type: "event",
|
|
2471
|
-
name: "OwnershipTransferStarted",
|
|
2472
|
-
inputs: [
|
|
2470
|
+
"type": "event",
|
|
2471
|
+
"name": "OwnershipTransferStarted",
|
|
2472
|
+
"inputs": [
|
|
2473
2473
|
{
|
|
2474
|
-
name: "previousOwner",
|
|
2475
|
-
type: "address",
|
|
2476
|
-
indexed: true,
|
|
2477
|
-
internalType: "address"
|
|
2474
|
+
"name": "previousOwner",
|
|
2475
|
+
"type": "address",
|
|
2476
|
+
"indexed": true,
|
|
2477
|
+
"internalType": "address"
|
|
2478
2478
|
},
|
|
2479
2479
|
{
|
|
2480
|
-
name: "newOwner",
|
|
2481
|
-
type: "address",
|
|
2482
|
-
indexed: true,
|
|
2483
|
-
internalType: "address"
|
|
2480
|
+
"name": "newOwner",
|
|
2481
|
+
"type": "address",
|
|
2482
|
+
"indexed": true,
|
|
2483
|
+
"internalType": "address"
|
|
2484
2484
|
}
|
|
2485
2485
|
],
|
|
2486
|
-
anonymous: false
|
|
2486
|
+
"anonymous": false
|
|
2487
2487
|
},
|
|
2488
2488
|
{
|
|
2489
|
-
type: "event",
|
|
2490
|
-
name: "OwnershipTransferred",
|
|
2491
|
-
inputs: [
|
|
2489
|
+
"type": "event",
|
|
2490
|
+
"name": "OwnershipTransferred",
|
|
2491
|
+
"inputs": [
|
|
2492
2492
|
{
|
|
2493
|
-
name: "previousOwner",
|
|
2494
|
-
type: "address",
|
|
2495
|
-
indexed: true,
|
|
2496
|
-
internalType: "address"
|
|
2493
|
+
"name": "previousOwner",
|
|
2494
|
+
"type": "address",
|
|
2495
|
+
"indexed": true,
|
|
2496
|
+
"internalType": "address"
|
|
2497
2497
|
},
|
|
2498
2498
|
{
|
|
2499
|
-
name: "newOwner",
|
|
2500
|
-
type: "address",
|
|
2501
|
-
indexed: true,
|
|
2502
|
-
internalType: "address"
|
|
2499
|
+
"name": "newOwner",
|
|
2500
|
+
"type": "address",
|
|
2501
|
+
"indexed": true,
|
|
2502
|
+
"internalType": "address"
|
|
2503
2503
|
}
|
|
2504
2504
|
],
|
|
2505
|
-
anonymous: false
|
|
2505
|
+
"anonymous": false
|
|
2506
2506
|
},
|
|
2507
2507
|
{
|
|
2508
|
-
type: "event",
|
|
2509
|
-
name: "VaultDeployed",
|
|
2510
|
-
inputs: [
|
|
2508
|
+
"type": "event",
|
|
2509
|
+
"name": "VaultDeployed",
|
|
2510
|
+
"inputs": [
|
|
2511
2511
|
{
|
|
2512
|
-
name: "owner",
|
|
2513
|
-
type: "address",
|
|
2514
|
-
indexed: true,
|
|
2515
|
-
internalType: "address"
|
|
2512
|
+
"name": "owner",
|
|
2513
|
+
"type": "address",
|
|
2514
|
+
"indexed": true,
|
|
2515
|
+
"internalType": "address"
|
|
2516
2516
|
},
|
|
2517
2517
|
{
|
|
2518
|
-
name: "vault",
|
|
2519
|
-
type: "address",
|
|
2520
|
-
indexed: true,
|
|
2521
|
-
internalType: "address"
|
|
2518
|
+
"name": "vault",
|
|
2519
|
+
"type": "address",
|
|
2520
|
+
"indexed": true,
|
|
2521
|
+
"internalType": "address"
|
|
2522
2522
|
},
|
|
2523
2523
|
{
|
|
2524
|
-
name: "version",
|
|
2525
|
-
type: "uint16",
|
|
2526
|
-
indexed: false,
|
|
2527
|
-
internalType: "uint16"
|
|
2524
|
+
"name": "version",
|
|
2525
|
+
"type": "uint16",
|
|
2526
|
+
"indexed": false,
|
|
2527
|
+
"internalType": "uint16"
|
|
2528
2528
|
},
|
|
2529
2529
|
{
|
|
2530
|
-
name: "axonRegistry",
|
|
2531
|
-
type: "address",
|
|
2532
|
-
indexed: false,
|
|
2533
|
-
internalType: "address"
|
|
2530
|
+
"name": "axonRegistry",
|
|
2531
|
+
"type": "address",
|
|
2532
|
+
"indexed": false,
|
|
2533
|
+
"internalType": "address"
|
|
2534
2534
|
},
|
|
2535
2535
|
{
|
|
2536
|
-
name: "trackUsedIntents",
|
|
2537
|
-
type: "bool",
|
|
2538
|
-
indexed: false,
|
|
2539
|
-
internalType: "bool"
|
|
2536
|
+
"name": "trackUsedIntents",
|
|
2537
|
+
"type": "bool",
|
|
2538
|
+
"indexed": false,
|
|
2539
|
+
"internalType": "bool"
|
|
2540
2540
|
}
|
|
2541
2541
|
],
|
|
2542
|
-
anonymous: false
|
|
2542
|
+
"anonymous": false
|
|
2543
2543
|
},
|
|
2544
2544
|
{
|
|
2545
|
-
type: "error",
|
|
2546
|
-
name: "OwnableInvalidOwner",
|
|
2547
|
-
inputs: [
|
|
2545
|
+
"type": "error",
|
|
2546
|
+
"name": "OwnableInvalidOwner",
|
|
2547
|
+
"inputs": [
|
|
2548
2548
|
{
|
|
2549
|
-
name: "owner",
|
|
2550
|
-
type: "address",
|
|
2551
|
-
internalType: "address"
|
|
2549
|
+
"name": "owner",
|
|
2550
|
+
"type": "address",
|
|
2551
|
+
"internalType": "address"
|
|
2552
2552
|
}
|
|
2553
2553
|
]
|
|
2554
2554
|
},
|
|
2555
2555
|
{
|
|
2556
|
-
type: "error",
|
|
2557
|
-
name: "OwnableUnauthorizedAccount",
|
|
2558
|
-
inputs: [
|
|
2556
|
+
"type": "error",
|
|
2557
|
+
"name": "OwnableUnauthorizedAccount",
|
|
2558
|
+
"inputs": [
|
|
2559
2559
|
{
|
|
2560
|
-
name: "account",
|
|
2561
|
-
type: "address",
|
|
2562
|
-
internalType: "address"
|
|
2560
|
+
"name": "account",
|
|
2561
|
+
"type": "address",
|
|
2562
|
+
"internalType": "address"
|
|
2563
2563
|
}
|
|
2564
2564
|
]
|
|
2565
2565
|
},
|
|
2566
2566
|
{
|
|
2567
|
-
type: "error",
|
|
2568
|
-
name: "ZeroAddress",
|
|
2569
|
-
inputs: []
|
|
2567
|
+
"type": "error",
|
|
2568
|
+
"name": "ZeroAddress",
|
|
2569
|
+
"inputs": []
|
|
2570
2570
|
}
|
|
2571
2571
|
];
|
|
2572
2572
|
|
|
@@ -3005,6 +3005,42 @@ function resolveToken(token, chainId) {
|
|
|
3005
3005
|
}
|
|
3006
3006
|
return addr;
|
|
3007
3007
|
}
|
|
3008
|
+
function resolveTokenDecimals(token, chainId) {
|
|
3009
|
+
if (typeof token === "string" && token.startsWith("0x")) {
|
|
3010
|
+
const symbol = getTokenSymbolByAddress(token);
|
|
3011
|
+
if (!symbol) {
|
|
3012
|
+
throw new Error(
|
|
3013
|
+
`Unknown token address ${token} \u2014 cannot determine decimals. Use a bigint amount instead, or pass a known token symbol.`
|
|
3014
|
+
);
|
|
3015
|
+
}
|
|
3016
|
+
const entry2 = KNOWN_TOKENS[symbol];
|
|
3017
|
+
return entry2.decimals;
|
|
3018
|
+
}
|
|
3019
|
+
const entry = KNOWN_TOKENS[token];
|
|
3020
|
+
if (!entry) {
|
|
3021
|
+
throw new Error(
|
|
3022
|
+
`Unknown token symbol "${token}" \u2014 cannot determine decimals. Use a bigint amount instead, or use a known symbol (${Object.keys(KNOWN_TOKENS).join(", ")}).`
|
|
3023
|
+
);
|
|
3024
|
+
}
|
|
3025
|
+
return entry.decimals;
|
|
3026
|
+
}
|
|
3027
|
+
function parseAmount(amount, token, chainId) {
|
|
3028
|
+
if (typeof amount === "bigint") {
|
|
3029
|
+
return amount;
|
|
3030
|
+
}
|
|
3031
|
+
const decimals = resolveTokenDecimals(token);
|
|
3032
|
+
const str = typeof amount === "number" ? amount.toString() : amount;
|
|
3033
|
+
const dotIndex = str.indexOf(".");
|
|
3034
|
+
if (dotIndex !== -1) {
|
|
3035
|
+
const decimalPlaces = str.length - dotIndex - 1;
|
|
3036
|
+
if (decimalPlaces > decimals) {
|
|
3037
|
+
throw new Error(
|
|
3038
|
+
`Amount "${str}" has ${decimalPlaces} decimal places, but ${typeof token === "string" && token.startsWith("0x") ? "this token" : token} only supports ${decimals}. Truncate or round your amount.`
|
|
3039
|
+
);
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
return parseUnits(str, decimals);
|
|
3043
|
+
}
|
|
3008
3044
|
|
|
3009
3045
|
// src/utils.ts
|
|
3010
3046
|
function generateUuid() {
|
|
@@ -3282,7 +3318,7 @@ Timestamp: ${timestamp}`;
|
|
|
3282
3318
|
bot: this.botAddress,
|
|
3283
3319
|
to: input.to,
|
|
3284
3320
|
token: resolveToken(input.token, this.chainId),
|
|
3285
|
-
amount: input.amount,
|
|
3321
|
+
amount: parseAmount(input.amount, input.token, this.chainId),
|
|
3286
3322
|
deadline: input.deadline ?? this._defaultDeadline(),
|
|
3287
3323
|
ref: this._resolveRef(input.memo, input.ref)
|
|
3288
3324
|
};
|
|
@@ -3293,7 +3329,7 @@ Timestamp: ${timestamp}`;
|
|
|
3293
3329
|
protocol: input.protocol,
|
|
3294
3330
|
calldataHash: keccak256(input.callData),
|
|
3295
3331
|
token: resolveToken(input.token, this.chainId),
|
|
3296
|
-
amount: input.amount,
|
|
3332
|
+
amount: parseAmount(input.amount, input.token, this.chainId),
|
|
3297
3333
|
deadline: input.deadline ?? this._defaultDeadline(),
|
|
3298
3334
|
ref: this._resolveRef(input.memo, input.ref)
|
|
3299
3335
|
};
|
|
@@ -3302,7 +3338,7 @@ Timestamp: ${timestamp}`;
|
|
|
3302
3338
|
return {
|
|
3303
3339
|
bot: this.botAddress,
|
|
3304
3340
|
toToken: resolveToken(input.toToken, this.chainId),
|
|
3305
|
-
minToAmount: input.minToAmount,
|
|
3341
|
+
minToAmount: parseAmount(input.minToAmount, input.toToken, this.chainId),
|
|
3306
3342
|
deadline: input.deadline ?? this._defaultDeadline(),
|
|
3307
3343
|
ref: this._resolveRef(input.memo, input.ref)
|
|
3308
3344
|
};
|
|
@@ -3334,6 +3370,8 @@ Timestamp: ${timestamp}`;
|
|
|
3334
3370
|
}
|
|
3335
3371
|
async _submitExecute(intent, signature, input) {
|
|
3336
3372
|
const idempotencyKey = input.idempotencyKey ?? generateUuid();
|
|
3373
|
+
const fromToken = input.fromToken !== void 0 ? resolveToken(input.fromToken, this.chainId) : void 0;
|
|
3374
|
+
const maxFromAmount = input.maxFromAmount !== void 0 ? parseAmount(input.maxFromAmount, input.fromToken ?? input.token, this.chainId) : void 0;
|
|
3337
3375
|
const body = {
|
|
3338
3376
|
chainId: this.chainId,
|
|
3339
3377
|
vaultAddress: this.vaultAddress,
|
|
@@ -3349,8 +3387,8 @@ Timestamp: ${timestamp}`;
|
|
|
3349
3387
|
// Protocol calldata
|
|
3350
3388
|
callData: input.callData,
|
|
3351
3389
|
// Optional pre-swap
|
|
3352
|
-
...
|
|
3353
|
-
...
|
|
3390
|
+
...fromToken !== void 0 && { fromToken },
|
|
3391
|
+
...maxFromAmount !== void 0 && { maxFromAmount: maxFromAmount.toString() },
|
|
3354
3392
|
// Off-chain metadata
|
|
3355
3393
|
idempotencyKey,
|
|
3356
3394
|
...input.memo !== void 0 && { memo: input.memo },
|
|
@@ -3361,6 +3399,8 @@ Timestamp: ${timestamp}`;
|
|
|
3361
3399
|
}
|
|
3362
3400
|
async _submitSwap(intent, signature, input) {
|
|
3363
3401
|
const idempotencyKey = input.idempotencyKey ?? generateUuid();
|
|
3402
|
+
const fromToken = input.fromToken !== void 0 ? resolveToken(input.fromToken, this.chainId) : void 0;
|
|
3403
|
+
const maxFromAmount = input.maxFromAmount !== void 0 ? parseAmount(input.maxFromAmount, input.fromToken ?? input.toToken, this.chainId) : void 0;
|
|
3364
3404
|
const body = {
|
|
3365
3405
|
chainId: this.chainId,
|
|
3366
3406
|
vaultAddress: this.vaultAddress,
|
|
@@ -3372,8 +3412,8 @@ Timestamp: ${timestamp}`;
|
|
|
3372
3412
|
ref: intent.ref,
|
|
3373
3413
|
signature,
|
|
3374
3414
|
// Optional source token
|
|
3375
|
-
...
|
|
3376
|
-
...
|
|
3415
|
+
...fromToken !== void 0 && { fromToken },
|
|
3416
|
+
...maxFromAmount !== void 0 && { maxFromAmount: maxFromAmount.toString() },
|
|
3377
3417
|
// Off-chain metadata
|
|
3378
3418
|
idempotencyKey,
|
|
3379
3419
|
...input.memo !== void 0 && { memo: input.memo }
|
|
@@ -3504,385 +3544,385 @@ async function decryptKeystore(keystore, passphrase) {
|
|
|
3504
3544
|
// src/abis/AxonRegistry.ts
|
|
3505
3545
|
var AxonRegistryAbi = [
|
|
3506
3546
|
{
|
|
3507
|
-
type: "constructor",
|
|
3508
|
-
inputs: [
|
|
3547
|
+
"type": "constructor",
|
|
3548
|
+
"inputs": [
|
|
3509
3549
|
{
|
|
3510
|
-
name: "initialOwner",
|
|
3511
|
-
type: "address",
|
|
3512
|
-
internalType: "address"
|
|
3550
|
+
"name": "initialOwner",
|
|
3551
|
+
"type": "address",
|
|
3552
|
+
"internalType": "address"
|
|
3513
3553
|
}
|
|
3514
3554
|
],
|
|
3515
|
-
stateMutability: "nonpayable"
|
|
3555
|
+
"stateMutability": "nonpayable"
|
|
3516
3556
|
},
|
|
3517
3557
|
{
|
|
3518
|
-
type: "function",
|
|
3519
|
-
name: "acceptOwnership",
|
|
3520
|
-
inputs: [],
|
|
3521
|
-
outputs: [],
|
|
3522
|
-
stateMutability: "nonpayable"
|
|
3558
|
+
"type": "function",
|
|
3559
|
+
"name": "acceptOwnership",
|
|
3560
|
+
"inputs": [],
|
|
3561
|
+
"outputs": [],
|
|
3562
|
+
"stateMutability": "nonpayable"
|
|
3523
3563
|
},
|
|
3524
3564
|
{
|
|
3525
|
-
type: "function",
|
|
3526
|
-
name: "addRelayer",
|
|
3527
|
-
inputs: [
|
|
3565
|
+
"type": "function",
|
|
3566
|
+
"name": "addRelayer",
|
|
3567
|
+
"inputs": [
|
|
3528
3568
|
{
|
|
3529
|
-
name: "relayer",
|
|
3530
|
-
type: "address",
|
|
3531
|
-
internalType: "address"
|
|
3569
|
+
"name": "relayer",
|
|
3570
|
+
"type": "address",
|
|
3571
|
+
"internalType": "address"
|
|
3532
3572
|
}
|
|
3533
3573
|
],
|
|
3534
|
-
outputs: [],
|
|
3535
|
-
stateMutability: "nonpayable"
|
|
3574
|
+
"outputs": [],
|
|
3575
|
+
"stateMutability": "nonpayable"
|
|
3536
3576
|
},
|
|
3537
3577
|
{
|
|
3538
|
-
type: "function",
|
|
3539
|
-
name: "addSwapRouter",
|
|
3540
|
-
inputs: [
|
|
3578
|
+
"type": "function",
|
|
3579
|
+
"name": "addSwapRouter",
|
|
3580
|
+
"inputs": [
|
|
3541
3581
|
{
|
|
3542
|
-
name: "router",
|
|
3543
|
-
type: "address",
|
|
3544
|
-
internalType: "address"
|
|
3582
|
+
"name": "router",
|
|
3583
|
+
"type": "address",
|
|
3584
|
+
"internalType": "address"
|
|
3545
3585
|
}
|
|
3546
3586
|
],
|
|
3547
|
-
outputs: [],
|
|
3548
|
-
stateMutability: "nonpayable"
|
|
3587
|
+
"outputs": [],
|
|
3588
|
+
"stateMutability": "nonpayable"
|
|
3549
3589
|
},
|
|
3550
3590
|
{
|
|
3551
|
-
type: "function",
|
|
3552
|
-
name: "isApprovedSwapRouter",
|
|
3553
|
-
inputs: [
|
|
3591
|
+
"type": "function",
|
|
3592
|
+
"name": "isApprovedSwapRouter",
|
|
3593
|
+
"inputs": [
|
|
3554
3594
|
{
|
|
3555
|
-
name: "router",
|
|
3556
|
-
type: "address",
|
|
3557
|
-
internalType: "address"
|
|
3595
|
+
"name": "router",
|
|
3596
|
+
"type": "address",
|
|
3597
|
+
"internalType": "address"
|
|
3558
3598
|
}
|
|
3559
3599
|
],
|
|
3560
|
-
outputs: [
|
|
3600
|
+
"outputs": [
|
|
3561
3601
|
{
|
|
3562
|
-
name: "",
|
|
3563
|
-
type: "bool",
|
|
3564
|
-
internalType: "bool"
|
|
3602
|
+
"name": "",
|
|
3603
|
+
"type": "bool",
|
|
3604
|
+
"internalType": "bool"
|
|
3565
3605
|
}
|
|
3566
3606
|
],
|
|
3567
|
-
stateMutability: "view"
|
|
3607
|
+
"stateMutability": "view"
|
|
3568
3608
|
},
|
|
3569
3609
|
{
|
|
3570
|
-
type: "function",
|
|
3571
|
-
name: "isAuthorized",
|
|
3572
|
-
inputs: [
|
|
3610
|
+
"type": "function",
|
|
3611
|
+
"name": "isAuthorized",
|
|
3612
|
+
"inputs": [
|
|
3573
3613
|
{
|
|
3574
|
-
name: "relayer",
|
|
3575
|
-
type: "address",
|
|
3576
|
-
internalType: "address"
|
|
3614
|
+
"name": "relayer",
|
|
3615
|
+
"type": "address",
|
|
3616
|
+
"internalType": "address"
|
|
3577
3617
|
}
|
|
3578
3618
|
],
|
|
3579
|
-
outputs: [
|
|
3619
|
+
"outputs": [
|
|
3580
3620
|
{
|
|
3581
|
-
name: "",
|
|
3582
|
-
type: "bool",
|
|
3583
|
-
internalType: "bool"
|
|
3621
|
+
"name": "",
|
|
3622
|
+
"type": "bool",
|
|
3623
|
+
"internalType": "bool"
|
|
3584
3624
|
}
|
|
3585
3625
|
],
|
|
3586
|
-
stateMutability: "view"
|
|
3626
|
+
"stateMutability": "view"
|
|
3587
3627
|
},
|
|
3588
3628
|
{
|
|
3589
|
-
type: "function",
|
|
3590
|
-
name: "owner",
|
|
3591
|
-
inputs: [],
|
|
3592
|
-
outputs: [
|
|
3629
|
+
"type": "function",
|
|
3630
|
+
"name": "owner",
|
|
3631
|
+
"inputs": [],
|
|
3632
|
+
"outputs": [
|
|
3593
3633
|
{
|
|
3594
|
-
name: "",
|
|
3595
|
-
type: "address",
|
|
3596
|
-
internalType: "address"
|
|
3634
|
+
"name": "",
|
|
3635
|
+
"type": "address",
|
|
3636
|
+
"internalType": "address"
|
|
3597
3637
|
}
|
|
3598
3638
|
],
|
|
3599
|
-
stateMutability: "view"
|
|
3639
|
+
"stateMutability": "view"
|
|
3600
3640
|
},
|
|
3601
3641
|
{
|
|
3602
|
-
type: "function",
|
|
3603
|
-
name: "pendingOwner",
|
|
3604
|
-
inputs: [],
|
|
3605
|
-
outputs: [
|
|
3642
|
+
"type": "function",
|
|
3643
|
+
"name": "pendingOwner",
|
|
3644
|
+
"inputs": [],
|
|
3645
|
+
"outputs": [
|
|
3606
3646
|
{
|
|
3607
|
-
name: "",
|
|
3608
|
-
type: "address",
|
|
3609
|
-
internalType: "address"
|
|
3647
|
+
"name": "",
|
|
3648
|
+
"type": "address",
|
|
3649
|
+
"internalType": "address"
|
|
3610
3650
|
}
|
|
3611
3651
|
],
|
|
3612
|
-
stateMutability: "view"
|
|
3652
|
+
"stateMutability": "view"
|
|
3613
3653
|
},
|
|
3614
3654
|
{
|
|
3615
|
-
type: "function",
|
|
3616
|
-
name: "removeRelayer",
|
|
3617
|
-
inputs: [
|
|
3655
|
+
"type": "function",
|
|
3656
|
+
"name": "removeRelayer",
|
|
3657
|
+
"inputs": [
|
|
3618
3658
|
{
|
|
3619
|
-
name: "relayer",
|
|
3620
|
-
type: "address",
|
|
3621
|
-
internalType: "address"
|
|
3659
|
+
"name": "relayer",
|
|
3660
|
+
"type": "address",
|
|
3661
|
+
"internalType": "address"
|
|
3622
3662
|
}
|
|
3623
3663
|
],
|
|
3624
|
-
outputs: [],
|
|
3625
|
-
stateMutability: "nonpayable"
|
|
3664
|
+
"outputs": [],
|
|
3665
|
+
"stateMutability": "nonpayable"
|
|
3626
3666
|
},
|
|
3627
3667
|
{
|
|
3628
|
-
type: "function",
|
|
3629
|
-
name: "removeSwapRouter",
|
|
3630
|
-
inputs: [
|
|
3668
|
+
"type": "function",
|
|
3669
|
+
"name": "removeSwapRouter",
|
|
3670
|
+
"inputs": [
|
|
3631
3671
|
{
|
|
3632
|
-
name: "router",
|
|
3633
|
-
type: "address",
|
|
3634
|
-
internalType: "address"
|
|
3672
|
+
"name": "router",
|
|
3673
|
+
"type": "address",
|
|
3674
|
+
"internalType": "address"
|
|
3635
3675
|
}
|
|
3636
3676
|
],
|
|
3637
|
-
outputs: [],
|
|
3638
|
-
stateMutability: "nonpayable"
|
|
3677
|
+
"outputs": [],
|
|
3678
|
+
"stateMutability": "nonpayable"
|
|
3639
3679
|
},
|
|
3640
3680
|
{
|
|
3641
|
-
type: "function",
|
|
3642
|
-
name: "renounceOwnership",
|
|
3643
|
-
inputs: [],
|
|
3644
|
-
outputs: [],
|
|
3645
|
-
stateMutability: "nonpayable"
|
|
3681
|
+
"type": "function",
|
|
3682
|
+
"name": "renounceOwnership",
|
|
3683
|
+
"inputs": [],
|
|
3684
|
+
"outputs": [],
|
|
3685
|
+
"stateMutability": "nonpayable"
|
|
3646
3686
|
},
|
|
3647
3687
|
{
|
|
3648
|
-
type: "function",
|
|
3649
|
-
name: "setOracleConfig",
|
|
3650
|
-
inputs: [
|
|
3688
|
+
"type": "function",
|
|
3689
|
+
"name": "setOracleConfig",
|
|
3690
|
+
"inputs": [
|
|
3651
3691
|
{
|
|
3652
|
-
name: "uniV3Factory",
|
|
3653
|
-
type: "address",
|
|
3654
|
-
internalType: "address"
|
|
3692
|
+
"name": "uniV3Factory",
|
|
3693
|
+
"type": "address",
|
|
3694
|
+
"internalType": "address"
|
|
3655
3695
|
},
|
|
3656
3696
|
{
|
|
3657
|
-
name: "usdc",
|
|
3658
|
-
type: "address",
|
|
3659
|
-
internalType: "address"
|
|
3697
|
+
"name": "usdc",
|
|
3698
|
+
"type": "address",
|
|
3699
|
+
"internalType": "address"
|
|
3660
3700
|
},
|
|
3661
3701
|
{
|
|
3662
|
-
name: "weth",
|
|
3663
|
-
type: "address",
|
|
3664
|
-
internalType: "address"
|
|
3702
|
+
"name": "weth",
|
|
3703
|
+
"type": "address",
|
|
3704
|
+
"internalType": "address"
|
|
3665
3705
|
}
|
|
3666
3706
|
],
|
|
3667
|
-
outputs: [],
|
|
3668
|
-
stateMutability: "nonpayable"
|
|
3707
|
+
"outputs": [],
|
|
3708
|
+
"stateMutability": "nonpayable"
|
|
3669
3709
|
},
|
|
3670
3710
|
{
|
|
3671
|
-
type: "function",
|
|
3672
|
-
name: "transferOwnership",
|
|
3673
|
-
inputs: [
|
|
3711
|
+
"type": "function",
|
|
3712
|
+
"name": "transferOwnership",
|
|
3713
|
+
"inputs": [
|
|
3674
3714
|
{
|
|
3675
|
-
name: "newOwner",
|
|
3676
|
-
type: "address",
|
|
3677
|
-
internalType: "address"
|
|
3715
|
+
"name": "newOwner",
|
|
3716
|
+
"type": "address",
|
|
3717
|
+
"internalType": "address"
|
|
3678
3718
|
}
|
|
3679
3719
|
],
|
|
3680
|
-
outputs: [],
|
|
3681
|
-
stateMutability: "nonpayable"
|
|
3720
|
+
"outputs": [],
|
|
3721
|
+
"stateMutability": "nonpayable"
|
|
3682
3722
|
},
|
|
3683
3723
|
{
|
|
3684
|
-
type: "function",
|
|
3685
|
-
name: "uniswapV3Factory",
|
|
3686
|
-
inputs: [],
|
|
3687
|
-
outputs: [
|
|
3724
|
+
"type": "function",
|
|
3725
|
+
"name": "uniswapV3Factory",
|
|
3726
|
+
"inputs": [],
|
|
3727
|
+
"outputs": [
|
|
3688
3728
|
{
|
|
3689
|
-
name: "",
|
|
3690
|
-
type: "address",
|
|
3691
|
-
internalType: "address"
|
|
3729
|
+
"name": "",
|
|
3730
|
+
"type": "address",
|
|
3731
|
+
"internalType": "address"
|
|
3692
3732
|
}
|
|
3693
3733
|
],
|
|
3694
|
-
stateMutability: "view"
|
|
3734
|
+
"stateMutability": "view"
|
|
3695
3735
|
},
|
|
3696
3736
|
{
|
|
3697
|
-
type: "function",
|
|
3698
|
-
name: "usdcAddress",
|
|
3699
|
-
inputs: [],
|
|
3700
|
-
outputs: [
|
|
3737
|
+
"type": "function",
|
|
3738
|
+
"name": "usdcAddress",
|
|
3739
|
+
"inputs": [],
|
|
3740
|
+
"outputs": [
|
|
3701
3741
|
{
|
|
3702
|
-
name: "",
|
|
3703
|
-
type: "address",
|
|
3704
|
-
internalType: "address"
|
|
3742
|
+
"name": "",
|
|
3743
|
+
"type": "address",
|
|
3744
|
+
"internalType": "address"
|
|
3705
3745
|
}
|
|
3706
3746
|
],
|
|
3707
|
-
stateMutability: "view"
|
|
3747
|
+
"stateMutability": "view"
|
|
3708
3748
|
},
|
|
3709
3749
|
{
|
|
3710
|
-
type: "function",
|
|
3711
|
-
name: "wethAddress",
|
|
3712
|
-
inputs: [],
|
|
3713
|
-
outputs: [
|
|
3750
|
+
"type": "function",
|
|
3751
|
+
"name": "wethAddress",
|
|
3752
|
+
"inputs": [],
|
|
3753
|
+
"outputs": [
|
|
3714
3754
|
{
|
|
3715
|
-
name: "",
|
|
3716
|
-
type: "address",
|
|
3717
|
-
internalType: "address"
|
|
3755
|
+
"name": "",
|
|
3756
|
+
"type": "address",
|
|
3757
|
+
"internalType": "address"
|
|
3718
3758
|
}
|
|
3719
3759
|
],
|
|
3720
|
-
stateMutability: "view"
|
|
3760
|
+
"stateMutability": "view"
|
|
3721
3761
|
},
|
|
3722
3762
|
{
|
|
3723
|
-
type: "event",
|
|
3724
|
-
name: "OracleConfigUpdated",
|
|
3725
|
-
inputs: [
|
|
3763
|
+
"type": "event",
|
|
3764
|
+
"name": "OracleConfigUpdated",
|
|
3765
|
+
"inputs": [
|
|
3726
3766
|
{
|
|
3727
|
-
name: "uniswapV3Factory",
|
|
3728
|
-
type: "address",
|
|
3729
|
-
indexed: false,
|
|
3730
|
-
internalType: "address"
|
|
3767
|
+
"name": "uniswapV3Factory",
|
|
3768
|
+
"type": "address",
|
|
3769
|
+
"indexed": false,
|
|
3770
|
+
"internalType": "address"
|
|
3731
3771
|
},
|
|
3732
3772
|
{
|
|
3733
|
-
name: "usdc",
|
|
3734
|
-
type: "address",
|
|
3735
|
-
indexed: false,
|
|
3736
|
-
internalType: "address"
|
|
3773
|
+
"name": "usdc",
|
|
3774
|
+
"type": "address",
|
|
3775
|
+
"indexed": false,
|
|
3776
|
+
"internalType": "address"
|
|
3737
3777
|
},
|
|
3738
3778
|
{
|
|
3739
|
-
name: "weth",
|
|
3740
|
-
type: "address",
|
|
3741
|
-
indexed: false,
|
|
3742
|
-
internalType: "address"
|
|
3779
|
+
"name": "weth",
|
|
3780
|
+
"type": "address",
|
|
3781
|
+
"indexed": false,
|
|
3782
|
+
"internalType": "address"
|
|
3743
3783
|
}
|
|
3744
3784
|
],
|
|
3745
|
-
anonymous: false
|
|
3785
|
+
"anonymous": false
|
|
3746
3786
|
},
|
|
3747
3787
|
{
|
|
3748
|
-
type: "event",
|
|
3749
|
-
name: "OwnershipTransferStarted",
|
|
3750
|
-
inputs: [
|
|
3788
|
+
"type": "event",
|
|
3789
|
+
"name": "OwnershipTransferStarted",
|
|
3790
|
+
"inputs": [
|
|
3751
3791
|
{
|
|
3752
|
-
name: "previousOwner",
|
|
3753
|
-
type: "address",
|
|
3754
|
-
indexed: true,
|
|
3755
|
-
internalType: "address"
|
|
3792
|
+
"name": "previousOwner",
|
|
3793
|
+
"type": "address",
|
|
3794
|
+
"indexed": true,
|
|
3795
|
+
"internalType": "address"
|
|
3756
3796
|
},
|
|
3757
3797
|
{
|
|
3758
|
-
name: "newOwner",
|
|
3759
|
-
type: "address",
|
|
3760
|
-
indexed: true,
|
|
3761
|
-
internalType: "address"
|
|
3798
|
+
"name": "newOwner",
|
|
3799
|
+
"type": "address",
|
|
3800
|
+
"indexed": true,
|
|
3801
|
+
"internalType": "address"
|
|
3762
3802
|
}
|
|
3763
3803
|
],
|
|
3764
|
-
anonymous: false
|
|
3804
|
+
"anonymous": false
|
|
3765
3805
|
},
|
|
3766
3806
|
{
|
|
3767
|
-
type: "event",
|
|
3768
|
-
name: "OwnershipTransferred",
|
|
3769
|
-
inputs: [
|
|
3807
|
+
"type": "event",
|
|
3808
|
+
"name": "OwnershipTransferred",
|
|
3809
|
+
"inputs": [
|
|
3770
3810
|
{
|
|
3771
|
-
name: "previousOwner",
|
|
3772
|
-
type: "address",
|
|
3773
|
-
indexed: true,
|
|
3774
|
-
internalType: "address"
|
|
3811
|
+
"name": "previousOwner",
|
|
3812
|
+
"type": "address",
|
|
3813
|
+
"indexed": true,
|
|
3814
|
+
"internalType": "address"
|
|
3775
3815
|
},
|
|
3776
3816
|
{
|
|
3777
|
-
name: "newOwner",
|
|
3778
|
-
type: "address",
|
|
3779
|
-
indexed: true,
|
|
3780
|
-
internalType: "address"
|
|
3817
|
+
"name": "newOwner",
|
|
3818
|
+
"type": "address",
|
|
3819
|
+
"indexed": true,
|
|
3820
|
+
"internalType": "address"
|
|
3781
3821
|
}
|
|
3782
3822
|
],
|
|
3783
|
-
anonymous: false
|
|
3823
|
+
"anonymous": false
|
|
3784
3824
|
},
|
|
3785
3825
|
{
|
|
3786
|
-
type: "event",
|
|
3787
|
-
name: "RelayerAdded",
|
|
3788
|
-
inputs: [
|
|
3826
|
+
"type": "event",
|
|
3827
|
+
"name": "RelayerAdded",
|
|
3828
|
+
"inputs": [
|
|
3789
3829
|
{
|
|
3790
|
-
name: "relayer",
|
|
3791
|
-
type: "address",
|
|
3792
|
-
indexed: true,
|
|
3793
|
-
internalType: "address"
|
|
3830
|
+
"name": "relayer",
|
|
3831
|
+
"type": "address",
|
|
3832
|
+
"indexed": true,
|
|
3833
|
+
"internalType": "address"
|
|
3794
3834
|
}
|
|
3795
3835
|
],
|
|
3796
|
-
anonymous: false
|
|
3836
|
+
"anonymous": false
|
|
3797
3837
|
},
|
|
3798
3838
|
{
|
|
3799
|
-
type: "event",
|
|
3800
|
-
name: "RelayerRemoved",
|
|
3801
|
-
inputs: [
|
|
3839
|
+
"type": "event",
|
|
3840
|
+
"name": "RelayerRemoved",
|
|
3841
|
+
"inputs": [
|
|
3802
3842
|
{
|
|
3803
|
-
name: "relayer",
|
|
3804
|
-
type: "address",
|
|
3805
|
-
indexed: true,
|
|
3806
|
-
internalType: "address"
|
|
3843
|
+
"name": "relayer",
|
|
3844
|
+
"type": "address",
|
|
3845
|
+
"indexed": true,
|
|
3846
|
+
"internalType": "address"
|
|
3807
3847
|
}
|
|
3808
3848
|
],
|
|
3809
|
-
anonymous: false
|
|
3849
|
+
"anonymous": false
|
|
3810
3850
|
},
|
|
3811
3851
|
{
|
|
3812
|
-
type: "event",
|
|
3813
|
-
name: "SwapRouterAdded",
|
|
3814
|
-
inputs: [
|
|
3852
|
+
"type": "event",
|
|
3853
|
+
"name": "SwapRouterAdded",
|
|
3854
|
+
"inputs": [
|
|
3815
3855
|
{
|
|
3816
|
-
name: "router",
|
|
3817
|
-
type: "address",
|
|
3818
|
-
indexed: true,
|
|
3819
|
-
internalType: "address"
|
|
3856
|
+
"name": "router",
|
|
3857
|
+
"type": "address",
|
|
3858
|
+
"indexed": true,
|
|
3859
|
+
"internalType": "address"
|
|
3820
3860
|
}
|
|
3821
3861
|
],
|
|
3822
|
-
anonymous: false
|
|
3862
|
+
"anonymous": false
|
|
3823
3863
|
},
|
|
3824
3864
|
{
|
|
3825
|
-
type: "event",
|
|
3826
|
-
name: "SwapRouterRemoved",
|
|
3827
|
-
inputs: [
|
|
3865
|
+
"type": "event",
|
|
3866
|
+
"name": "SwapRouterRemoved",
|
|
3867
|
+
"inputs": [
|
|
3828
3868
|
{
|
|
3829
|
-
name: "router",
|
|
3830
|
-
type: "address",
|
|
3831
|
-
indexed: true,
|
|
3832
|
-
internalType: "address"
|
|
3869
|
+
"name": "router",
|
|
3870
|
+
"type": "address",
|
|
3871
|
+
"indexed": true,
|
|
3872
|
+
"internalType": "address"
|
|
3833
3873
|
}
|
|
3834
3874
|
],
|
|
3835
|
-
anonymous: false
|
|
3875
|
+
"anonymous": false
|
|
3836
3876
|
},
|
|
3837
3877
|
{
|
|
3838
|
-
type: "error",
|
|
3839
|
-
name: "AlreadyApproved",
|
|
3840
|
-
inputs: []
|
|
3878
|
+
"type": "error",
|
|
3879
|
+
"name": "AlreadyApproved",
|
|
3880
|
+
"inputs": []
|
|
3841
3881
|
},
|
|
3842
3882
|
{
|
|
3843
|
-
type: "error",
|
|
3844
|
-
name: "AlreadyAuthorized",
|
|
3845
|
-
inputs: []
|
|
3883
|
+
"type": "error",
|
|
3884
|
+
"name": "AlreadyAuthorized",
|
|
3885
|
+
"inputs": []
|
|
3846
3886
|
},
|
|
3847
3887
|
{
|
|
3848
|
-
type: "error",
|
|
3849
|
-
name: "NotApproved",
|
|
3850
|
-
inputs: []
|
|
3888
|
+
"type": "error",
|
|
3889
|
+
"name": "NotApproved",
|
|
3890
|
+
"inputs": []
|
|
3851
3891
|
},
|
|
3852
3892
|
{
|
|
3853
|
-
type: "error",
|
|
3854
|
-
name: "NotAuthorized",
|
|
3855
|
-
inputs: []
|
|
3893
|
+
"type": "error",
|
|
3894
|
+
"name": "NotAuthorized",
|
|
3895
|
+
"inputs": []
|
|
3856
3896
|
},
|
|
3857
3897
|
{
|
|
3858
|
-
type: "error",
|
|
3859
|
-
name: "OwnableInvalidOwner",
|
|
3860
|
-
inputs: [
|
|
3898
|
+
"type": "error",
|
|
3899
|
+
"name": "OwnableInvalidOwner",
|
|
3900
|
+
"inputs": [
|
|
3861
3901
|
{
|
|
3862
|
-
name: "owner",
|
|
3863
|
-
type: "address",
|
|
3864
|
-
internalType: "address"
|
|
3902
|
+
"name": "owner",
|
|
3903
|
+
"type": "address",
|
|
3904
|
+
"internalType": "address"
|
|
3865
3905
|
}
|
|
3866
3906
|
]
|
|
3867
3907
|
},
|
|
3868
3908
|
{
|
|
3869
|
-
type: "error",
|
|
3870
|
-
name: "OwnableUnauthorizedAccount",
|
|
3871
|
-
inputs: [
|
|
3909
|
+
"type": "error",
|
|
3910
|
+
"name": "OwnableUnauthorizedAccount",
|
|
3911
|
+
"inputs": [
|
|
3872
3912
|
{
|
|
3873
|
-
name: "account",
|
|
3874
|
-
type: "address",
|
|
3875
|
-
internalType: "address"
|
|
3913
|
+
"name": "account",
|
|
3914
|
+
"type": "address",
|
|
3915
|
+
"internalType": "address"
|
|
3876
3916
|
}
|
|
3877
3917
|
]
|
|
3878
3918
|
},
|
|
3879
3919
|
{
|
|
3880
|
-
type: "error",
|
|
3881
|
-
name: "ZeroAddress",
|
|
3882
|
-
inputs: []
|
|
3920
|
+
"type": "error",
|
|
3921
|
+
"name": "ZeroAddress",
|
|
3922
|
+
"inputs": []
|
|
3883
3923
|
}
|
|
3884
3924
|
];
|
|
3885
3925
|
|
|
3886
|
-
export { AxonClient, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, CHAIN_NAMES, Chain, DEFAULT_DEADLINE_SECONDS, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, KNOWN_TOKENS, NATIVE_ETH, PAYMENT_INTENT_TYPEHASH, PaymentErrorCode, RELAYER_API, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, Token, USDC, WINDOW, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, encodeRef, encryptKeystore, getBotConfig, getChain, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getTrackUsedIntents, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, resolveToken, signExecuteIntent, signPayment, signSwapIntent };
|
|
3926
|
+
export { AxonClient, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, CHAIN_NAMES, Chain, DEFAULT_DEADLINE_SECONDS, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, KNOWN_TOKENS, NATIVE_ETH, PAYMENT_INTENT_TYPEHASH, PaymentErrorCode, RELAYER_API, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, Token, USDC, WINDOW, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, encodeRef, encryptKeystore, getBotConfig, getChain, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getTrackUsedIntents, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signSwapIntent };
|
|
3887
3927
|
//# sourceMappingURL=index.js.map
|
|
3888
3928
|
//# sourceMappingURL=index.js.map
|