@dodoex/dodo-contract-request 1.34.0 → 1.35.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/.cache/contract-info/DFTManager.json +2832 -0
  2. package/.cache/contract-info/ICHIVault.json +787 -0
  3. package/.cache/contract-info/RWAManager.json +1 -0
  4. package/.cache/contract-info/RWAToken.json +1 -0
  5. package/.cache/contract-info/TransparentUpgradeableProxyWithPros.json +2006 -0
  6. package/CHANGELOG.md +85 -21
  7. package/contract-config/arbitrum.json +1 -1
  8. package/contract-config/berachain.json +4 -2
  9. package/contract-config/birdlayer.json +66 -0
  10. package/contract-config/pharos-atlantic-testnet.json +2 -1
  11. package/contract-config/pharos.json +69 -0
  12. package/contract-config/rise.json +67 -0
  13. package/contract-config/sepolia.json +3 -1
  14. package/contract-config/zetachain-testnet.json +68 -0
  15. package/contract-config/zetachain.json +61 -0
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/types/config/birdlayer.d.ts +29 -0
  19. package/dist/types/config/index.d.ts +10 -0
  20. package/dist/types/config/pharos-atlantic-testnet.d.ts +1 -0
  21. package/dist/types/config/pharos.d.ts +33 -0
  22. package/dist/types/config/rise.d.ts +33 -0
  23. package/dist/types/config/sepolia.d.ts +2 -0
  24. package/dist/types/config/zetachain-testnet.d.ts +32 -0
  25. package/dist/types/config/zetachain.d.ts +30 -0
  26. package/dist/types/contract/DFTManager.d.ts +994 -0
  27. package/dist/types/contract/FeeRateDIP3Impl.d.ts +30 -21
  28. package/dist/types/contract/ICHIVault.d.ts +516 -0
  29. package/dist/types/contract/RWAManager.d.ts +264 -0
  30. package/dist/types/contract/RWAToken.d.ts +179 -0
  31. package/dist/types/contract/TransparentUpgradeableProxyWithPros.d.ts +679 -0
  32. package/dist/types/index.d.ts +5 -0
  33. package/package.json +1 -1
  34. package/scripts/contract-generate.ts +1 -0
  35. package/src/config/birdlayer.ts +4 -0
  36. package/src/config/index.ts +21 -1
  37. package/src/config/pharos-atlantic-testnet.ts +1 -1
  38. package/src/config/pharos.ts +4 -0
  39. package/src/config/rise.ts +4 -0
  40. package/src/config/sepolia.ts +1 -1
  41. package/src/config/zetachain-testnet.ts +4 -0
  42. package/src/config/zetachain.ts +4 -0
  43. package/src/contract/CrowdPoolingFactory.ts +1 -1
  44. package/src/contract/DFTManager.ts +1222 -0
  45. package/src/contract/DODOApprove.ts +1 -1
  46. package/src/contract/DODOApproveProxy.ts +1 -1
  47. package/src/contract/DODOCalleeHelper.ts +1 -1
  48. package/src/contract/DODOCpProxy.ts +1 -1
  49. package/src/contract/DODODppProxy.ts +1 -1
  50. package/src/contract/DODODspProxy.ts +1 -1
  51. package/src/contract/DODODspProxyWithoutGSP.ts +1 -1
  52. package/src/contract/DODOFeeRouteProxy1.ts +1 -1
  53. package/src/contract/DODOFeeRouteProxy2.ts +1 -1
  54. package/src/contract/DODOMineV2Factory.ts +1 -1
  55. package/src/contract/DODOMineV3Proxy.ts +1 -1
  56. package/src/contract/DODOMineV3Registry.ts +1 -1
  57. package/src/contract/DODOSellHelper.ts +1 -1
  58. package/src/contract/DODOSwapCalcHelper.ts +1 -1
  59. package/src/contract/DODOV1PmmHelper.ts +1 -1
  60. package/src/contract/DODOV2Adapter.ts +1 -1
  61. package/src/contract/DODOV2Proxy02.ts +1 -1
  62. package/src/contract/DODOV2RouteHelper.ts +1 -1
  63. package/src/contract/DPPFactory.ts +1 -1
  64. package/src/contract/DSPFactory.ts +1 -1
  65. package/src/contract/DVMFactory.ts +1 -1
  66. package/src/contract/ERC20Helper.ts +1 -1
  67. package/src/contract/ERC20V3Factory.ts +1 -1
  68. package/src/contract/FeeRateDIP3Impl.ts +61 -75
  69. package/src/contract/GSPFactory.ts +1 -1
  70. package/src/contract/ICHIVault.ts +863 -0
  71. package/src/contract/Multicall.ts +1 -1
  72. package/src/contract/MulticallWithValid.ts +1 -1
  73. package/src/contract/NonfungiblePositionManager.ts +1 -1
  74. package/src/contract/RWAManager.ts +479 -0
  75. package/src/contract/RWAToken.ts +330 -0
  76. package/src/contract/TransparentUpgradeableProxyWithPros.ts +1226 -0
  77. package/src/contract/UniswapV2Factory.ts +1 -1
  78. package/src/contract/UniswapV2Router02.ts +1 -1
  79. package/src/contract/UniswapV3Factory.ts +1 -1
  80. package/src/index.ts +5 -0
@@ -0,0 +1,2006 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "spender",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "allowance",
12
+ "type": "uint256"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "needed",
17
+ "type": "uint256"
18
+ }
19
+ ],
20
+ "name": "ERC20InsufficientAllowance",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "inputs": [
25
+ {
26
+ "internalType": "address",
27
+ "name": "sender",
28
+ "type": "address"
29
+ },
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "balance",
33
+ "type": "uint256"
34
+ },
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "needed",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "name": "ERC20InsufficientBalance",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "approver",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ERC20InvalidApprover",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "receiver",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ERC20InvalidReceiver",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "sender",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ERC20InvalidSender",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "spender",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ERC20InvalidSpender",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "receiver",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "assets",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "max",
103
+ "type": "uint256"
104
+ }
105
+ ],
106
+ "name": "ERC4626ExceededMaxDeposit",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "receiver",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "shares",
119
+ "type": "uint256"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "max",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "ERC4626ExceededMaxMint",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "owner",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "shares",
140
+ "type": "uint256"
141
+ },
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "max",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "ERC4626ExceededMaxRedeem",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "owner",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "assets",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "max",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "name": "ERC4626ExceededMaxWithdraw",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "EnforcedPause",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [],
179
+ "name": "EthNotSent",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "EthTransferFailed",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "withdrawCount",
192
+ "type": "uint256"
193
+ }
194
+ ],
195
+ "name": "ExceedMaxWithdrawCount",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "tokenAmount",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "internalType": "uint256",
207
+ "name": "pendingAmount",
208
+ "type": "uint256"
209
+ }
210
+ ],
211
+ "name": "ExceedPermittedAmount",
212
+ "type": "error"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "ExpectedPause",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "tokenAmount",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "availableAmount",
229
+ "type": "uint256"
230
+ }
231
+ ],
232
+ "name": "InsufficientWithdrawAmount",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "address",
239
+ "name": "data",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "internalType": "address",
244
+ "name": "expectedBridgeVault",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "name": "InvalidDataParameter",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "InvalidInitialization",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "NotInitializing",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "address",
265
+ "name": "account",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "name": "NotRoleAdmin",
270
+ "type": "error"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "address",
276
+ "name": "account",
277
+ "type": "address"
278
+ }
279
+ ],
280
+ "name": "NotTriggerAddress",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "internalType": "address",
287
+ "name": "owner",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "name": "OwnableInvalidOwner",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "account",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "OwnableUnauthorizedAccount",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "ReentrancyGuardReentrantCall",
308
+ "type": "error"
309
+ },
310
+ {
311
+ "inputs": [
312
+ {
313
+ "internalType": "address",
314
+ "name": "token",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "name": "SafeERC20FailedOperation",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": true,
326
+ "internalType": "address",
327
+ "name": "owner",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": true,
332
+ "internalType": "address",
333
+ "name": "spender",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "value",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "Approval",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "uint256",
352
+ "name": "tokenAmount",
353
+ "type": "uint256"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "uint256",
358
+ "name": "vTokenAmount",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "AsyncMintCompleted",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": false,
370
+ "internalType": "uint256",
371
+ "name": "vTokenAmount",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "name": "AsyncRedeemCompleted",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "anonymous": false,
380
+ "inputs": [
381
+ {
382
+ "indexed": false,
383
+ "internalType": "bytes",
384
+ "name": "oldBifrostDest",
385
+ "type": "bytes"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "bytes",
390
+ "name": "newBifrostDest",
391
+ "type": "bytes"
392
+ }
393
+ ],
394
+ "name": "BifrostDestChanged",
395
+ "type": "event"
396
+ },
397
+ {
398
+ "anonymous": false,
399
+ "inputs": [
400
+ {
401
+ "indexed": true,
402
+ "internalType": "address",
403
+ "name": "oldBridgeVault",
404
+ "type": "address"
405
+ },
406
+ {
407
+ "indexed": true,
408
+ "internalType": "address",
409
+ "name": "newBridgeVault",
410
+ "type": "address"
411
+ }
412
+ ],
413
+ "name": "BridgeVaultChanged",
414
+ "type": "event"
415
+ },
416
+ {
417
+ "anonymous": false,
418
+ "inputs": [
419
+ {
420
+ "indexed": false,
421
+ "internalType": "uint256",
422
+ "name": "currentCycleMintTokenAmount",
423
+ "type": "uint256"
424
+ },
425
+ {
426
+ "indexed": false,
427
+ "internalType": "uint256",
428
+ "name": "currentCycleMintVTokenAmount",
429
+ "type": "uint256"
430
+ },
431
+ {
432
+ "indexed": false,
433
+ "internalType": "uint256",
434
+ "name": "currentCycleRedeemVTokenAmount",
435
+ "type": "uint256"
436
+ }
437
+ ],
438
+ "name": "CurrentCycleTokenAmountIncreased",
439
+ "type": "event"
440
+ },
441
+ {
442
+ "anonymous": false,
443
+ "inputs": [
444
+ {
445
+ "indexed": true,
446
+ "internalType": "address",
447
+ "name": "sender",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "indexed": true,
452
+ "internalType": "address",
453
+ "name": "owner",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "uint256",
459
+ "name": "assets",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "indexed": false,
464
+ "internalType": "uint256",
465
+ "name": "shares",
466
+ "type": "uint256"
467
+ }
468
+ ],
469
+ "name": "Deposit",
470
+ "type": "event"
471
+ },
472
+ {
473
+ "anonymous": false,
474
+ "inputs": [
475
+ {
476
+ "indexed": true,
477
+ "internalType": "address",
478
+ "name": "sender",
479
+ "type": "address"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "uint256",
484
+ "name": "amount",
485
+ "type": "uint256"
486
+ }
487
+ ],
488
+ "name": "EthReceived",
489
+ "type": "event"
490
+ },
491
+ {
492
+ "anonymous": false,
493
+ "inputs": [
494
+ {
495
+ "indexed": false,
496
+ "internalType": "uint64",
497
+ "name": "version",
498
+ "type": "uint64"
499
+ }
500
+ ],
501
+ "name": "Initialized",
502
+ "type": "event"
503
+ },
504
+ {
505
+ "anonymous": false,
506
+ "inputs": [
507
+ {
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "maxWithdrawCount",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "name": "MaxWithdrawCountChanged",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "anonymous": false,
519
+ "inputs": [
520
+ {
521
+ "indexed": true,
522
+ "internalType": "address",
523
+ "name": "oldOracle",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "indexed": true,
528
+ "internalType": "address",
529
+ "name": "newOracle",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "name": "OracleChanged",
534
+ "type": "event"
535
+ },
536
+ {
537
+ "anonymous": false,
538
+ "inputs": [
539
+ {
540
+ "indexed": true,
541
+ "internalType": "address",
542
+ "name": "previousOwner",
543
+ "type": "address"
544
+ },
545
+ {
546
+ "indexed": true,
547
+ "internalType": "address",
548
+ "name": "newOwner",
549
+ "type": "address"
550
+ }
551
+ ],
552
+ "name": "OwnershipTransferred",
553
+ "type": "event"
554
+ },
555
+ {
556
+ "anonymous": false,
557
+ "inputs": [
558
+ {
559
+ "indexed": false,
560
+ "internalType": "address",
561
+ "name": "account",
562
+ "type": "address"
563
+ }
564
+ ],
565
+ "name": "Paused",
566
+ "type": "event"
567
+ },
568
+ {
569
+ "anonymous": false,
570
+ "inputs": [
571
+ {
572
+ "indexed": true,
573
+ "internalType": "address",
574
+ "name": "account",
575
+ "type": "address"
576
+ },
577
+ {
578
+ "indexed": false,
579
+ "internalType": "bool",
580
+ "name": "isAdmin",
581
+ "type": "bool"
582
+ }
583
+ ],
584
+ "name": "RoleAdminChanged",
585
+ "type": "event"
586
+ },
587
+ {
588
+ "anonymous": false,
589
+ "inputs": [
590
+ {
591
+ "indexed": true,
592
+ "internalType": "address",
593
+ "name": "oldTokenGateway",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "indexed": true,
598
+ "internalType": "address",
599
+ "name": "newTokenGateway",
600
+ "type": "address"
601
+ }
602
+ ],
603
+ "name": "TokenGatewayChanged",
604
+ "type": "event"
605
+ },
606
+ {
607
+ "anonymous": false,
608
+ "inputs": [
609
+ {
610
+ "indexed": true,
611
+ "internalType": "address",
612
+ "name": "from",
613
+ "type": "address"
614
+ },
615
+ {
616
+ "indexed": true,
617
+ "internalType": "address",
618
+ "name": "to",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "indexed": false,
623
+ "internalType": "uint256",
624
+ "name": "value",
625
+ "type": "uint256"
626
+ }
627
+ ],
628
+ "name": "Transfer",
629
+ "type": "event"
630
+ },
631
+ {
632
+ "anonymous": false,
633
+ "inputs": [
634
+ {
635
+ "indexed": true,
636
+ "internalType": "address",
637
+ "name": "oldAddress",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "indexed": true,
642
+ "internalType": "address",
643
+ "name": "newAddress",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "name": "TriggerAddressChanged",
648
+ "type": "event"
649
+ },
650
+ {
651
+ "anonymous": false,
652
+ "inputs": [
653
+ {
654
+ "indexed": false,
655
+ "internalType": "address",
656
+ "name": "account",
657
+ "type": "address"
658
+ }
659
+ ],
660
+ "name": "Unpaused",
661
+ "type": "event"
662
+ },
663
+ {
664
+ "anonymous": false,
665
+ "inputs": [
666
+ {
667
+ "indexed": true,
668
+ "internalType": "address",
669
+ "name": "sender",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "indexed": true,
674
+ "internalType": "address",
675
+ "name": "receiver",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "indexed": true,
680
+ "internalType": "address",
681
+ "name": "owner",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "indexed": false,
686
+ "internalType": "uint256",
687
+ "name": "assets",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "indexed": false,
692
+ "internalType": "uint256",
693
+ "name": "shares",
694
+ "type": "uint256"
695
+ }
696
+ ],
697
+ "name": "Withdraw",
698
+ "type": "event"
699
+ },
700
+ {
701
+ "anonymous": false,
702
+ "inputs": [
703
+ {
704
+ "indexed": true,
705
+ "internalType": "address",
706
+ "name": "receiver",
707
+ "type": "address"
708
+ },
709
+ {
710
+ "indexed": false,
711
+ "internalType": "uint256",
712
+ "name": "tokenAmount",
713
+ "type": "uint256"
714
+ }
715
+ ],
716
+ "name": "WithdrawalCompleted",
717
+ "type": "event"
718
+ },
719
+ {
720
+ "anonymous": false,
721
+ "inputs": [
722
+ {
723
+ "indexed": true,
724
+ "internalType": "address",
725
+ "name": "caller",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "indexed": true,
730
+ "internalType": "address",
731
+ "name": "receiver",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "indexed": false,
736
+ "internalType": "uint256",
737
+ "name": "tokenAmount",
738
+ "type": "uint256"
739
+ }
740
+ ],
741
+ "name": "WithdrawalCompletedTo",
742
+ "type": "event"
743
+ },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "address",
748
+ "name": "owner",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "internalType": "address",
753
+ "name": "spender",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "name": "allowance",
758
+ "outputs": [
759
+ {
760
+ "internalType": "uint256",
761
+ "name": "",
762
+ "type": "uint256"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "spender",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "uint256",
777
+ "name": "value",
778
+ "type": "uint256"
779
+ }
780
+ ],
781
+ "name": "approve",
782
+ "outputs": [
783
+ {
784
+ "internalType": "bool",
785
+ "name": "",
786
+ "type": "bool"
787
+ }
788
+ ],
789
+ "stateMutability": "nonpayable",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [
794
+ {
795
+ "internalType": "address",
796
+ "name": "token",
797
+ "type": "address"
798
+ }
799
+ ],
800
+ "name": "approveTokenGateway",
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [],
807
+ "name": "asset",
808
+ "outputs": [
809
+ {
810
+ "internalType": "address",
811
+ "name": "",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "stateMutability": "view",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "uint256",
822
+ "name": "relayerFee",
823
+ "type": "uint256"
824
+ },
825
+ {
826
+ "internalType": "uint64",
827
+ "name": "timeout",
828
+ "type": "uint64"
829
+ }
830
+ ],
831
+ "name": "asyncMint",
832
+ "outputs": [],
833
+ "stateMutability": "payable",
834
+ "type": "function"
835
+ },
836
+ {
837
+ "inputs": [
838
+ {
839
+ "internalType": "bytes32",
840
+ "name": "assetId",
841
+ "type": "bytes32"
842
+ },
843
+ {
844
+ "internalType": "bool",
845
+ "name": "isRedeem",
846
+ "type": "bool"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "relayerFee",
851
+ "type": "uint256"
852
+ },
853
+ {
854
+ "internalType": "uint64",
855
+ "name": "timeout",
856
+ "type": "uint64"
857
+ }
858
+ ],
859
+ "name": "asyncMintWithETH",
860
+ "outputs": [],
861
+ "stateMutability": "payable",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [
866
+ {
867
+ "internalType": "bytes32",
868
+ "name": "assetId",
869
+ "type": "bytes32"
870
+ },
871
+ {
872
+ "internalType": "bool",
873
+ "name": "isRedeem",
874
+ "type": "bool"
875
+ },
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "relayerFee",
879
+ "type": "uint256"
880
+ },
881
+ {
882
+ "internalType": "uint64",
883
+ "name": "timeout",
884
+ "type": "uint64"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "nativeCost",
889
+ "type": "uint256"
890
+ }
891
+ ],
892
+ "name": "asyncMintWithNativeCost",
893
+ "outputs": [],
894
+ "stateMutability": "payable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "relayerFee",
902
+ "type": "uint256"
903
+ },
904
+ {
905
+ "internalType": "uint64",
906
+ "name": "timeout",
907
+ "type": "uint64"
908
+ },
909
+ {
910
+ "internalType": "bytes32",
911
+ "name": "to",
912
+ "type": "bytes32"
913
+ },
914
+ {
915
+ "internalType": "bytes",
916
+ "name": "data",
917
+ "type": "bytes"
918
+ }
919
+ ],
920
+ "name": "asyncRedeem",
921
+ "outputs": [],
922
+ "stateMutability": "payable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "bytes32",
929
+ "name": "assetId",
930
+ "type": "bytes32"
931
+ },
932
+ {
933
+ "internalType": "bool",
934
+ "name": "isRedeem",
935
+ "type": "bool"
936
+ },
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "relayerFee",
940
+ "type": "uint256"
941
+ },
942
+ {
943
+ "internalType": "uint64",
944
+ "name": "timeout",
945
+ "type": "uint64"
946
+ },
947
+ {
948
+ "internalType": "bytes32",
949
+ "name": "to",
950
+ "type": "bytes32"
951
+ },
952
+ {
953
+ "internalType": "bytes",
954
+ "name": "data",
955
+ "type": "bytes"
956
+ },
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "nativeCost",
960
+ "type": "uint256"
961
+ }
962
+ ],
963
+ "name": "asyncRedeemWithNativeCost",
964
+ "outputs": [],
965
+ "stateMutability": "payable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [
970
+ {
971
+ "internalType": "address",
972
+ "name": "account",
973
+ "type": "address"
974
+ }
975
+ ],
976
+ "name": "balanceOf",
977
+ "outputs": [
978
+ {
979
+ "internalType": "uint256",
980
+ "name": "",
981
+ "type": "uint256"
982
+ }
983
+ ],
984
+ "stateMutability": "view",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [],
989
+ "name": "bifrostDest",
990
+ "outputs": [
991
+ {
992
+ "internalType": "bytes",
993
+ "name": "",
994
+ "type": "bytes"
995
+ }
996
+ ],
997
+ "stateMutability": "view",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [],
1002
+ "name": "bridgeVault",
1003
+ "outputs": [
1004
+ {
1005
+ "internalType": "contract BridgeVault",
1006
+ "name": "",
1007
+ "type": "address"
1008
+ }
1009
+ ],
1010
+ "stateMutability": "view",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [
1015
+ {
1016
+ "internalType": "address",
1017
+ "name": "_from",
1018
+ "type": "address"
1019
+ },
1020
+ {
1021
+ "internalType": "uint256",
1022
+ "name": "_amount",
1023
+ "type": "uint256"
1024
+ }
1025
+ ],
1026
+ "name": "burn",
1027
+ "outputs": [],
1028
+ "stateMutability": "nonpayable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "target",
1036
+ "type": "address"
1037
+ }
1038
+ ],
1039
+ "name": "canWithdrawalAmount",
1040
+ "outputs": [
1041
+ {
1042
+ "internalType": "uint256",
1043
+ "name": "",
1044
+ "type": "uint256"
1045
+ },
1046
+ {
1047
+ "internalType": "uint256",
1048
+ "name": "",
1049
+ "type": "uint256"
1050
+ },
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "",
1054
+ "type": "uint256"
1055
+ }
1056
+ ],
1057
+ "stateMutability": "view",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "address",
1064
+ "name": "_account",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "internalType": "bool",
1069
+ "name": "_isAdmin",
1070
+ "type": "bool"
1071
+ }
1072
+ ],
1073
+ "name": "changeRoleAdmin",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [],
1080
+ "name": "completedWithdrawal",
1081
+ "outputs": [
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "",
1085
+ "type": "uint256"
1086
+ }
1087
+ ],
1088
+ "stateMutability": "view",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [
1093
+ {
1094
+ "internalType": "uint256",
1095
+ "name": "shares",
1096
+ "type": "uint256"
1097
+ }
1098
+ ],
1099
+ "name": "convertToAssets",
1100
+ "outputs": [
1101
+ {
1102
+ "internalType": "uint256",
1103
+ "name": "",
1104
+ "type": "uint256"
1105
+ }
1106
+ ],
1107
+ "stateMutability": "view",
1108
+ "type": "function"
1109
+ },
1110
+ {
1111
+ "inputs": [
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "assets",
1115
+ "type": "uint256"
1116
+ }
1117
+ ],
1118
+ "name": "convertToShares",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "",
1123
+ "type": "uint256"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [],
1131
+ "name": "currentCycleMintTokenAmount",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
1142
+ {
1143
+ "inputs": [],
1144
+ "name": "currentCycleMintVTokenAmount",
1145
+ "outputs": [
1146
+ {
1147
+ "internalType": "uint256",
1148
+ "name": "",
1149
+ "type": "uint256"
1150
+ }
1151
+ ],
1152
+ "stateMutability": "view",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [],
1157
+ "name": "currentCycleRedeemVTokenAmount",
1158
+ "outputs": [
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "",
1162
+ "type": "uint256"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [],
1170
+ "name": "decimals",
1171
+ "outputs": [
1172
+ {
1173
+ "internalType": "uint8",
1174
+ "name": "",
1175
+ "type": "uint8"
1176
+ }
1177
+ ],
1178
+ "stateMutability": "view",
1179
+ "type": "function"
1180
+ },
1181
+ {
1182
+ "inputs": [
1183
+ {
1184
+ "internalType": "uint256",
1185
+ "name": "assets",
1186
+ "type": "uint256"
1187
+ },
1188
+ {
1189
+ "internalType": "address",
1190
+ "name": "receiver",
1191
+ "type": "address"
1192
+ }
1193
+ ],
1194
+ "name": "deposit",
1195
+ "outputs": [
1196
+ {
1197
+ "internalType": "uint256",
1198
+ "name": "",
1199
+ "type": "uint256"
1200
+ }
1201
+ ],
1202
+ "stateMutability": "nonpayable",
1203
+ "type": "function"
1204
+ },
1205
+ {
1206
+ "inputs": [],
1207
+ "name": "depositWithPROS",
1208
+ "outputs": [
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "",
1212
+ "type": "uint256"
1213
+ }
1214
+ ],
1215
+ "stateMutability": "payable",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [],
1220
+ "name": "getTotalBalance",
1221
+ "outputs": [
1222
+ {
1223
+ "internalType": "uint256",
1224
+ "name": "",
1225
+ "type": "uint256"
1226
+ }
1227
+ ],
1228
+ "stateMutability": "view",
1229
+ "type": "function"
1230
+ },
1231
+ {
1232
+ "inputs": [
1233
+ {
1234
+ "internalType": "address",
1235
+ "name": "target",
1236
+ "type": "address"
1237
+ }
1238
+ ],
1239
+ "name": "getWithdrawals",
1240
+ "outputs": [
1241
+ {
1242
+ "components": [
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "queued",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "pending",
1251
+ "type": "uint256"
1252
+ }
1253
+ ],
1254
+ "internalType": "struct VTokenBase.Withdrawal[]",
1255
+ "name": "",
1256
+ "type": "tuple[]"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "view",
1260
+ "type": "function"
1261
+ },
1262
+ {
1263
+ "inputs": [
1264
+ {
1265
+ "internalType": "uint256",
1266
+ "name": "_currentCycleTokenAmount",
1267
+ "type": "uint256"
1268
+ },
1269
+ {
1270
+ "internalType": "uint256",
1271
+ "name": "_currentCycleVTokenAmount",
1272
+ "type": "uint256"
1273
+ },
1274
+ {
1275
+ "internalType": "uint256",
1276
+ "name": "_currentCycleRedeemVTokenAmount",
1277
+ "type": "uint256"
1278
+ }
1279
+ ],
1280
+ "name": "increaseCurrentCycleAmount",
1281
+ "outputs": [],
1282
+ "stateMutability": "nonpayable",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "contract IERC20",
1289
+ "name": "asset",
1290
+ "type": "address"
1291
+ },
1292
+ {
1293
+ "internalType": "address",
1294
+ "name": "owner",
1295
+ "type": "address"
1296
+ },
1297
+ {
1298
+ "internalType": "string",
1299
+ "name": "name",
1300
+ "type": "string"
1301
+ },
1302
+ {
1303
+ "internalType": "string",
1304
+ "name": "symbol",
1305
+ "type": "string"
1306
+ }
1307
+ ],
1308
+ "name": "initialize",
1309
+ "outputs": [],
1310
+ "stateMutability": "nonpayable",
1311
+ "type": "function"
1312
+ },
1313
+ {
1314
+ "inputs": [
1315
+ {
1316
+ "internalType": "address",
1317
+ "name": "",
1318
+ "type": "address"
1319
+ }
1320
+ ],
1321
+ "name": "maxDeposit",
1322
+ "outputs": [
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "",
1326
+ "type": "uint256"
1327
+ }
1328
+ ],
1329
+ "stateMutability": "view",
1330
+ "type": "function"
1331
+ },
1332
+ {
1333
+ "inputs": [
1334
+ {
1335
+ "internalType": "address",
1336
+ "name": "",
1337
+ "type": "address"
1338
+ }
1339
+ ],
1340
+ "name": "maxMint",
1341
+ "outputs": [
1342
+ {
1343
+ "internalType": "uint256",
1344
+ "name": "",
1345
+ "type": "uint256"
1346
+ }
1347
+ ],
1348
+ "stateMutability": "view",
1349
+ "type": "function"
1350
+ },
1351
+ {
1352
+ "inputs": [
1353
+ {
1354
+ "internalType": "address",
1355
+ "name": "owner",
1356
+ "type": "address"
1357
+ }
1358
+ ],
1359
+ "name": "maxRedeem",
1360
+ "outputs": [
1361
+ {
1362
+ "internalType": "uint256",
1363
+ "name": "",
1364
+ "type": "uint256"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "view",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [
1372
+ {
1373
+ "internalType": "address",
1374
+ "name": "owner",
1375
+ "type": "address"
1376
+ }
1377
+ ],
1378
+ "name": "maxWithdraw",
1379
+ "outputs": [
1380
+ {
1381
+ "internalType": "uint256",
1382
+ "name": "",
1383
+ "type": "uint256"
1384
+ }
1385
+ ],
1386
+ "stateMutability": "view",
1387
+ "type": "function"
1388
+ },
1389
+ {
1390
+ "inputs": [],
1391
+ "name": "maxWithdrawCount",
1392
+ "outputs": [
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "",
1396
+ "type": "uint256"
1397
+ }
1398
+ ],
1399
+ "stateMutability": "view",
1400
+ "type": "function"
1401
+ },
1402
+ {
1403
+ "inputs": [
1404
+ {
1405
+ "internalType": "address",
1406
+ "name": "_to",
1407
+ "type": "address"
1408
+ },
1409
+ {
1410
+ "internalType": "uint256",
1411
+ "name": "_amount",
1412
+ "type": "uint256"
1413
+ }
1414
+ ],
1415
+ "name": "mint",
1416
+ "outputs": [],
1417
+ "stateMutability": "nonpayable",
1418
+ "type": "function"
1419
+ },
1420
+ {
1421
+ "inputs": [
1422
+ {
1423
+ "internalType": "uint256",
1424
+ "name": "shares",
1425
+ "type": "uint256"
1426
+ },
1427
+ {
1428
+ "internalType": "address",
1429
+ "name": "receiver",
1430
+ "type": "address"
1431
+ }
1432
+ ],
1433
+ "name": "mint",
1434
+ "outputs": [
1435
+ {
1436
+ "internalType": "uint256",
1437
+ "name": "",
1438
+ "type": "uint256"
1439
+ }
1440
+ ],
1441
+ "stateMutability": "nonpayable",
1442
+ "type": "function"
1443
+ },
1444
+ {
1445
+ "inputs": [],
1446
+ "name": "name",
1447
+ "outputs": [
1448
+ {
1449
+ "internalType": "string",
1450
+ "name": "",
1451
+ "type": "string"
1452
+ }
1453
+ ],
1454
+ "stateMutability": "view",
1455
+ "type": "function"
1456
+ },
1457
+ {
1458
+ "inputs": [],
1459
+ "name": "oracle",
1460
+ "outputs": [
1461
+ {
1462
+ "internalType": "contract Oracle",
1463
+ "name": "",
1464
+ "type": "address"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "view",
1468
+ "type": "function"
1469
+ },
1470
+ {
1471
+ "inputs": [],
1472
+ "name": "owner",
1473
+ "outputs": [
1474
+ {
1475
+ "internalType": "address",
1476
+ "name": "",
1477
+ "type": "address"
1478
+ }
1479
+ ],
1480
+ "stateMutability": "view",
1481
+ "type": "function"
1482
+ },
1483
+ {
1484
+ "inputs": [],
1485
+ "name": "pause",
1486
+ "outputs": [],
1487
+ "stateMutability": "nonpayable",
1488
+ "type": "function"
1489
+ },
1490
+ {
1491
+ "inputs": [],
1492
+ "name": "paused",
1493
+ "outputs": [
1494
+ {
1495
+ "internalType": "bool",
1496
+ "name": "",
1497
+ "type": "bool"
1498
+ }
1499
+ ],
1500
+ "stateMutability": "view",
1501
+ "type": "function"
1502
+ },
1503
+ {
1504
+ "inputs": [
1505
+ {
1506
+ "internalType": "uint256",
1507
+ "name": "assets",
1508
+ "type": "uint256"
1509
+ }
1510
+ ],
1511
+ "name": "previewDeposit",
1512
+ "outputs": [
1513
+ {
1514
+ "internalType": "uint256",
1515
+ "name": "",
1516
+ "type": "uint256"
1517
+ }
1518
+ ],
1519
+ "stateMutability": "view",
1520
+ "type": "function"
1521
+ },
1522
+ {
1523
+ "inputs": [
1524
+ {
1525
+ "internalType": "uint256",
1526
+ "name": "shares",
1527
+ "type": "uint256"
1528
+ }
1529
+ ],
1530
+ "name": "previewMint",
1531
+ "outputs": [
1532
+ {
1533
+ "internalType": "uint256",
1534
+ "name": "",
1535
+ "type": "uint256"
1536
+ }
1537
+ ],
1538
+ "stateMutability": "view",
1539
+ "type": "function"
1540
+ },
1541
+ {
1542
+ "inputs": [
1543
+ {
1544
+ "internalType": "uint256",
1545
+ "name": "shares",
1546
+ "type": "uint256"
1547
+ }
1548
+ ],
1549
+ "name": "previewRedeem",
1550
+ "outputs": [
1551
+ {
1552
+ "internalType": "uint256",
1553
+ "name": "",
1554
+ "type": "uint256"
1555
+ }
1556
+ ],
1557
+ "stateMutability": "view",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1562
+ {
1563
+ "internalType": "uint256",
1564
+ "name": "assets",
1565
+ "type": "uint256"
1566
+ }
1567
+ ],
1568
+ "name": "previewWithdraw",
1569
+ "outputs": [
1570
+ {
1571
+ "internalType": "uint256",
1572
+ "name": "",
1573
+ "type": "uint256"
1574
+ }
1575
+ ],
1576
+ "stateMutability": "view",
1577
+ "type": "function"
1578
+ },
1579
+ {
1580
+ "inputs": [],
1581
+ "name": "queuedWithdrawal",
1582
+ "outputs": [
1583
+ {
1584
+ "internalType": "uint256",
1585
+ "name": "",
1586
+ "type": "uint256"
1587
+ }
1588
+ ],
1589
+ "stateMutability": "view",
1590
+ "type": "function"
1591
+ },
1592
+ {
1593
+ "inputs": [
1594
+ {
1595
+ "internalType": "uint256",
1596
+ "name": "shares",
1597
+ "type": "uint256"
1598
+ },
1599
+ {
1600
+ "internalType": "address",
1601
+ "name": "receiver",
1602
+ "type": "address"
1603
+ },
1604
+ {
1605
+ "internalType": "address",
1606
+ "name": "owner",
1607
+ "type": "address"
1608
+ }
1609
+ ],
1610
+ "name": "redeem",
1611
+ "outputs": [
1612
+ {
1613
+ "internalType": "uint256",
1614
+ "name": "",
1615
+ "type": "uint256"
1616
+ }
1617
+ ],
1618
+ "stateMutability": "nonpayable",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [],
1623
+ "name": "renounceOwnership",
1624
+ "outputs": [],
1625
+ "stateMutability": "nonpayable",
1626
+ "type": "function"
1627
+ },
1628
+ {
1629
+ "inputs": [
1630
+ {
1631
+ "internalType": "address",
1632
+ "name": "",
1633
+ "type": "address"
1634
+ }
1635
+ ],
1636
+ "name": "rolesAdmin",
1637
+ "outputs": [
1638
+ {
1639
+ "internalType": "bool",
1640
+ "name": "",
1641
+ "type": "bool"
1642
+ }
1643
+ ],
1644
+ "stateMutability": "view",
1645
+ "type": "function"
1646
+ },
1647
+ {
1648
+ "inputs": [
1649
+ {
1650
+ "internalType": "bytes",
1651
+ "name": "_bifrostDest",
1652
+ "type": "bytes"
1653
+ }
1654
+ ],
1655
+ "name": "setBifrostDest",
1656
+ "outputs": [],
1657
+ "stateMutability": "nonpayable",
1658
+ "type": "function"
1659
+ },
1660
+ {
1661
+ "inputs": [
1662
+ {
1663
+ "internalType": "address payable",
1664
+ "name": "_bridgeVault",
1665
+ "type": "address"
1666
+ }
1667
+ ],
1668
+ "name": "setBridgeVault",
1669
+ "outputs": [],
1670
+ "stateMutability": "nonpayable",
1671
+ "type": "function"
1672
+ },
1673
+ {
1674
+ "inputs": [
1675
+ {
1676
+ "internalType": "uint256",
1677
+ "name": "_maxWithdrawCount",
1678
+ "type": "uint256"
1679
+ }
1680
+ ],
1681
+ "name": "setMaxWithdrawCount",
1682
+ "outputs": [],
1683
+ "stateMutability": "nonpayable",
1684
+ "type": "function"
1685
+ },
1686
+ {
1687
+ "inputs": [
1688
+ {
1689
+ "internalType": "address",
1690
+ "name": "_oracle",
1691
+ "type": "address"
1692
+ }
1693
+ ],
1694
+ "name": "setOracle",
1695
+ "outputs": [],
1696
+ "stateMutability": "nonpayable",
1697
+ "type": "function"
1698
+ },
1699
+ {
1700
+ "inputs": [
1701
+ {
1702
+ "internalType": "address",
1703
+ "name": "_tokenGateway",
1704
+ "type": "address"
1705
+ }
1706
+ ],
1707
+ "name": "setTokenGateway",
1708
+ "outputs": [],
1709
+ "stateMutability": "nonpayable",
1710
+ "type": "function"
1711
+ },
1712
+ {
1713
+ "inputs": [
1714
+ {
1715
+ "internalType": "address",
1716
+ "name": "_triggerAddress",
1717
+ "type": "address"
1718
+ }
1719
+ ],
1720
+ "name": "setTriggerAddress",
1721
+ "outputs": [],
1722
+ "stateMutability": "nonpayable",
1723
+ "type": "function"
1724
+ },
1725
+ {
1726
+ "inputs": [
1727
+ {
1728
+ "internalType": "bytes4",
1729
+ "name": "interfaceId",
1730
+ "type": "bytes4"
1731
+ }
1732
+ ],
1733
+ "name": "supportsInterface",
1734
+ "outputs": [
1735
+ {
1736
+ "internalType": "bool",
1737
+ "name": "",
1738
+ "type": "bool"
1739
+ }
1740
+ ],
1741
+ "stateMutability": "view",
1742
+ "type": "function"
1743
+ },
1744
+ {
1745
+ "inputs": [],
1746
+ "name": "symbol",
1747
+ "outputs": [
1748
+ {
1749
+ "internalType": "string",
1750
+ "name": "",
1751
+ "type": "string"
1752
+ }
1753
+ ],
1754
+ "stateMutability": "view",
1755
+ "type": "function"
1756
+ },
1757
+ {
1758
+ "inputs": [],
1759
+ "name": "tokenGateway",
1760
+ "outputs": [
1761
+ {
1762
+ "internalType": "contract ITokenGateway",
1763
+ "name": "",
1764
+ "type": "address"
1765
+ }
1766
+ ],
1767
+ "stateMutability": "view",
1768
+ "type": "function"
1769
+ },
1770
+ {
1771
+ "inputs": [],
1772
+ "name": "totalAssets",
1773
+ "outputs": [
1774
+ {
1775
+ "internalType": "uint256",
1776
+ "name": "",
1777
+ "type": "uint256"
1778
+ }
1779
+ ],
1780
+ "stateMutability": "view",
1781
+ "type": "function"
1782
+ },
1783
+ {
1784
+ "inputs": [],
1785
+ "name": "totalSupply",
1786
+ "outputs": [
1787
+ {
1788
+ "internalType": "uint256",
1789
+ "name": "",
1790
+ "type": "uint256"
1791
+ }
1792
+ ],
1793
+ "stateMutability": "view",
1794
+ "type": "function"
1795
+ },
1796
+ {
1797
+ "inputs": [
1798
+ {
1799
+ "internalType": "address",
1800
+ "name": "to",
1801
+ "type": "address"
1802
+ },
1803
+ {
1804
+ "internalType": "uint256",
1805
+ "name": "value",
1806
+ "type": "uint256"
1807
+ }
1808
+ ],
1809
+ "name": "transfer",
1810
+ "outputs": [
1811
+ {
1812
+ "internalType": "bool",
1813
+ "name": "",
1814
+ "type": "bool"
1815
+ }
1816
+ ],
1817
+ "stateMutability": "nonpayable",
1818
+ "type": "function"
1819
+ },
1820
+ {
1821
+ "inputs": [
1822
+ {
1823
+ "internalType": "address",
1824
+ "name": "from",
1825
+ "type": "address"
1826
+ },
1827
+ {
1828
+ "internalType": "address",
1829
+ "name": "to",
1830
+ "type": "address"
1831
+ },
1832
+ {
1833
+ "internalType": "uint256",
1834
+ "name": "value",
1835
+ "type": "uint256"
1836
+ }
1837
+ ],
1838
+ "name": "transferFrom",
1839
+ "outputs": [
1840
+ {
1841
+ "internalType": "bool",
1842
+ "name": "",
1843
+ "type": "bool"
1844
+ }
1845
+ ],
1846
+ "stateMutability": "nonpayable",
1847
+ "type": "function"
1848
+ },
1849
+ {
1850
+ "inputs": [
1851
+ {
1852
+ "internalType": "address",
1853
+ "name": "newOwner",
1854
+ "type": "address"
1855
+ }
1856
+ ],
1857
+ "name": "transferOwnership",
1858
+ "outputs": [],
1859
+ "stateMutability": "nonpayable",
1860
+ "type": "function"
1861
+ },
1862
+ {
1863
+ "inputs": [],
1864
+ "name": "triggerAddress",
1865
+ "outputs": [
1866
+ {
1867
+ "internalType": "address",
1868
+ "name": "",
1869
+ "type": "address"
1870
+ }
1871
+ ],
1872
+ "stateMutability": "view",
1873
+ "type": "function"
1874
+ },
1875
+ {
1876
+ "inputs": [],
1877
+ "name": "unpause",
1878
+ "outputs": [],
1879
+ "stateMutability": "nonpayable",
1880
+ "type": "function"
1881
+ },
1882
+ {
1883
+ "inputs": [
1884
+ {
1885
+ "internalType": "uint256",
1886
+ "name": "assets",
1887
+ "type": "uint256"
1888
+ },
1889
+ {
1890
+ "internalType": "address",
1891
+ "name": "receiver",
1892
+ "type": "address"
1893
+ },
1894
+ {
1895
+ "internalType": "address",
1896
+ "name": "owner",
1897
+ "type": "address"
1898
+ }
1899
+ ],
1900
+ "name": "withdraw",
1901
+ "outputs": [
1902
+ {
1903
+ "internalType": "uint256",
1904
+ "name": "",
1905
+ "type": "uint256"
1906
+ }
1907
+ ],
1908
+ "stateMutability": "nonpayable",
1909
+ "type": "function"
1910
+ },
1911
+ {
1912
+ "inputs": [],
1913
+ "name": "withdrawComplete",
1914
+ "outputs": [],
1915
+ "stateMutability": "nonpayable",
1916
+ "type": "function"
1917
+ },
1918
+ {
1919
+ "inputs": [
1920
+ {
1921
+ "internalType": "address",
1922
+ "name": "receiver",
1923
+ "type": "address"
1924
+ }
1925
+ ],
1926
+ "name": "withdrawCompleteTo",
1927
+ "outputs": [
1928
+ {
1929
+ "internalType": "uint256",
1930
+ "name": "",
1931
+ "type": "uint256"
1932
+ }
1933
+ ],
1934
+ "stateMutability": "nonpayable",
1935
+ "type": "function"
1936
+ },
1937
+ {
1938
+ "inputs": [],
1939
+ "name": "withdrawCompleteToPROS",
1940
+ "outputs": [
1941
+ {
1942
+ "internalType": "uint256",
1943
+ "name": "",
1944
+ "type": "uint256"
1945
+ }
1946
+ ],
1947
+ "stateMutability": "nonpayable",
1948
+ "type": "function"
1949
+ },
1950
+ {
1951
+ "inputs": [
1952
+ {
1953
+ "internalType": "address",
1954
+ "name": "token",
1955
+ "type": "address"
1956
+ },
1957
+ {
1958
+ "internalType": "uint256",
1959
+ "name": "amount",
1960
+ "type": "uint256"
1961
+ },
1962
+ {
1963
+ "internalType": "address",
1964
+ "name": "to",
1965
+ "type": "address"
1966
+ }
1967
+ ],
1968
+ "name": "withdrawFeeToken",
1969
+ "outputs": [],
1970
+ "stateMutability": "nonpayable",
1971
+ "type": "function"
1972
+ },
1973
+ {
1974
+ "inputs": [
1975
+ {
1976
+ "internalType": "address",
1977
+ "name": "",
1978
+ "type": "address"
1979
+ },
1980
+ {
1981
+ "internalType": "uint256",
1982
+ "name": "",
1983
+ "type": "uint256"
1984
+ }
1985
+ ],
1986
+ "name": "withdrawals",
1987
+ "outputs": [
1988
+ {
1989
+ "internalType": "uint256",
1990
+ "name": "queued",
1991
+ "type": "uint256"
1992
+ },
1993
+ {
1994
+ "internalType": "uint256",
1995
+ "name": "pending",
1996
+ "type": "uint256"
1997
+ }
1998
+ ],
1999
+ "stateMutability": "view",
2000
+ "type": "function"
2001
+ },
2002
+ {
2003
+ "stateMutability": "payable",
2004
+ "type": "receive"
2005
+ }
2006
+ ]