@venusprotocol/venus-protocol 6.0.0-dev.3 → 6.0.0-dev.4

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 (81) hide show
  1. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  2. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  3. package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +1 -1
  4. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  5. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  6. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  7. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  8. package/artifacts/build-info/{be526bde3c9f762e8b7ab739bfe67388.json → 78edc7ac6eda44c0b19ccd746ae3d40c.json} +1 -1
  9. package/artifacts/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.dbg.json +1 -1
  10. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IProtocolShareReserve.dbg.json +1 -1
  11. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IWBNB.dbg.json +1 -1
  12. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VBNBAdminStorage.dbg.json +1 -1
  13. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VTokenInterface.dbg.json +1 -1
  14. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller.dbg.json +1 -1
  15. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.dbg.json +1 -1
  16. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken.dbg.json +1 -1
  17. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/SwapDebtDelegate.dbg.json +1 -1
  18. package/artifacts/contracts/Liquidator/BUSDLiquidator.sol/BUSDLiquidator.dbg.json +1 -1
  19. package/artifacts/contracts/Liquidator/Interfaces.sol/IComptroller.dbg.json +1 -1
  20. package/artifacts/contracts/Liquidator/Interfaces.sol/ILiquidator.dbg.json +1 -1
  21. package/artifacts/contracts/Liquidator/Interfaces.sol/IVAIController.dbg.json +1 -1
  22. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBNB.dbg.json +1 -1
  23. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBep20.dbg.json +1 -1
  24. package/artifacts/contracts/Liquidator/Interfaces.sol/IVToken.dbg.json +1 -1
  25. package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.dbg.json +1 -1
  26. package/artifacts/contracts/PegStability/IVAI.sol/IVAI.dbg.json +1 -1
  27. package/artifacts/contracts/PegStability/PegStability.sol/PegStability.dbg.json +1 -1
  28. package/artifacts/contracts/Swap/IRouterHelper.sol/IRouterHelper.dbg.json +1 -1
  29. package/artifacts/contracts/Swap/RouterHelper.sol/RouterHelper.dbg.json +1 -1
  30. package/artifacts/contracts/Swap/SwapRouter.sol/SwapRouter.dbg.json +1 -1
  31. package/artifacts/contracts/Swap/interfaces/IPancakePair.sol/IPancakePair.dbg.json +1 -1
  32. package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Factory.sol/IPancakeSwapV2Factory.dbg.json +1 -1
  33. package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Router.sol/IPancakeSwapV2Router.dbg.json +1 -1
  34. package/artifacts/contracts/Swap/interfaces/IVBNB.sol/IVBNB.dbg.json +1 -1
  35. package/artifacts/contracts/Swap/interfaces/IVtoken.sol/IVToken.dbg.json +1 -1
  36. package/artifacts/contracts/Swap/interfaces/IWBNB.sol/IWBNB.dbg.json +1 -1
  37. package/artifacts/contracts/Swap/interfaces/InterfaceComptroller.sol/InterfaceComptroller.dbg.json +1 -1
  38. package/artifacts/contracts/Swap/lib/PancakeLibrary.sol/PancakeLibrary.dbg.json +1 -1
  39. package/artifacts/contracts/Swap/lib/TransferHelper.sol/TransferHelper.dbg.json +1 -1
  40. package/artifacts/contracts/Tokens/Prime/Interfaces/IPrime.sol/IPrime.dbg.json +1 -1
  41. package/artifacts/contracts/Tokens/Prime/Interfaces/IPrimeLiquidityProvider.sol/IPrimeLiquidityProvider.dbg.json +1 -1
  42. package/artifacts/contracts/Tokens/Prime/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
  43. package/artifacts/contracts/Tokens/Prime/Interfaces/IXVSVault.sol/IXVSVault.dbg.json +1 -1
  44. package/artifacts/contracts/Tokens/Prime/Interfaces/InterfaceComptroller.sol/InterfaceComptroller.dbg.json +1 -1
  45. package/artifacts/contracts/Tokens/Prime/Prime.sol/Prime.dbg.json +1 -1
  46. package/artifacts/contracts/Tokens/Prime/Prime.sol/Prime.json +2 -2
  47. package/artifacts/contracts/Tokens/Prime/PrimeLiquidityProvider.sol/PrimeLiquidityProvider.dbg.json +1 -1
  48. package/artifacts/contracts/Tokens/Prime/PrimeStorage.sol/PrimeStorageV1.dbg.json +1 -1
  49. package/artifacts/contracts/Tokens/Prime/libs/FixedMath.sol/FixedMath.dbg.json +1 -1
  50. package/artifacts/contracts/Tokens/Prime/libs/FixedMath0x.sol/FixedMath0x.dbg.json +1 -1
  51. package/artifacts/contracts/Tokens/Prime/libs/Scores.sol/Scores.dbg.json +1 -1
  52. package/artifacts/contracts/test/AccessControlManagerMock.sol/AccessControlManagerMock.dbg.json +1 -1
  53. package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.dbg.json +1 -1
  54. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IComptroller.dbg.json +1 -1
  55. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IIncomeDestination.dbg.json +1 -1
  56. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IMockProtocolShareReserve.dbg.json +1 -1
  57. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IPoolRegistry.dbg.json +1 -1
  58. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IPrime.dbg.json +1 -1
  59. package/artifacts/contracts/test/MockProtocolShareReserve.sol/IVToken.dbg.json +1 -1
  60. package/artifacts/contracts/test/MockProtocolShareReserve.sol/MaxLoopsLimitHelper.dbg.json +1 -1
  61. package/artifacts/contracts/test/MockProtocolShareReserve.sol/MockProtocolShareReserve.dbg.json +1 -1
  62. package/artifacts/contracts/test/PrimeScenario.sol/PrimeScenario.dbg.json +1 -1
  63. package/artifacts/contracts/test/PrimeScenario.sol/PrimeScenario.json +2 -2
  64. package/contracts/Tokens/Prime/Prime.sol +4 -0
  65. package/deployments/bscmainnet/Prime_Implementation.json +1 -1
  66. package/deployments/bscmainnet/solcInputs/001fa85dbfdb864dac723a9fb4abdbf2.json +111 -0
  67. package/deployments/bscmainnet.json +1 -1
  68. package/deployments/bsctestnet/Prime_Implementation.json +1 -1
  69. package/deployments/bsctestnet/solcInputs/001fa85dbfdb864dac723a9fb4abdbf2.json +111 -0
  70. package/deployments/bsctestnet.json +1 -3428
  71. package/dist/typechain/factories/contracts/Tokens/Prime/Prime__factory.d.ts +1 -1
  72. package/dist/typechain/factories/contracts/Tokens/Prime/Prime__factory.js +1 -1
  73. package/dist/typechain/factories/contracts/test/PrimeScenario__factory.d.ts +1 -1
  74. package/dist/typechain/factories/contracts/test/PrimeScenario__factory.js +1 -1
  75. package/package.json +1 -1
  76. package/deploy/009-deploy-prime-test.ts +0 -158
  77. package/deployments/bsctestnet/PrimeTest.json +0 -1847
  78. package/deployments/bsctestnet/PrimeTest_Implementation.json +0 -2685
  79. package/deployments/bsctestnet/PrimeTest_Proxy.json +0 -287
  80. package/dist/deploy/009-deploy-prime-test.d.ts +0 -3
  81. package/dist/deploy/009-deploy-prime-test.js +0 -129
@@ -10334,3435 +10334,8 @@
10334
10334
  }
10335
10335
  ]
10336
10336
  },
10337
- "PrimeTest": {
10338
- "address": "0x6b808c703FEf99BdA96cd447Cde068E196E7aa08",
10339
- "abi": [
10340
- {
10341
- "anonymous": false,
10342
- "inputs": [
10343
- {
10344
- "indexed": false,
10345
- "internalType": "address",
10346
- "name": "previousAdmin",
10347
- "type": "address"
10348
- },
10349
- {
10350
- "indexed": false,
10351
- "internalType": "address",
10352
- "name": "newAdmin",
10353
- "type": "address"
10354
- }
10355
- ],
10356
- "name": "AdminChanged",
10357
- "type": "event"
10358
- },
10359
- {
10360
- "anonymous": false,
10361
- "inputs": [
10362
- {
10363
- "indexed": true,
10364
- "internalType": "address",
10365
- "name": "beacon",
10366
- "type": "address"
10367
- }
10368
- ],
10369
- "name": "BeaconUpgraded",
10370
- "type": "event"
10371
- },
10372
- {
10373
- "anonymous": false,
10374
- "inputs": [
10375
- {
10376
- "indexed": true,
10377
- "internalType": "address",
10378
- "name": "implementation",
10379
- "type": "address"
10380
- }
10381
- ],
10382
- "name": "Upgraded",
10383
- "type": "event"
10384
- },
10385
- {
10386
- "stateMutability": "payable",
10387
- "type": "fallback"
10388
- },
10389
- {
10390
- "inputs": [],
10391
- "name": "admin",
10392
- "outputs": [
10393
- {
10394
- "internalType": "address",
10395
- "name": "admin_",
10396
- "type": "address"
10397
- }
10398
- ],
10399
- "stateMutability": "nonpayable",
10400
- "type": "function"
10401
- },
10402
- {
10403
- "inputs": [
10404
- {
10405
- "internalType": "address",
10406
- "name": "newAdmin",
10407
- "type": "address"
10408
- }
10409
- ],
10410
- "name": "changeAdmin",
10411
- "outputs": [],
10412
- "stateMutability": "nonpayable",
10413
- "type": "function"
10414
- },
10415
- {
10416
- "inputs": [],
10417
- "name": "implementation",
10418
- "outputs": [
10419
- {
10420
- "internalType": "address",
10421
- "name": "implementation_",
10422
- "type": "address"
10423
- }
10424
- ],
10425
- "stateMutability": "nonpayable",
10426
- "type": "function"
10427
- },
10428
- {
10429
- "inputs": [
10430
- {
10431
- "internalType": "address",
10432
- "name": "newImplementation",
10433
- "type": "address"
10434
- }
10435
- ],
10436
- "name": "upgradeTo",
10437
- "outputs": [],
10438
- "stateMutability": "nonpayable",
10439
- "type": "function"
10440
- },
10441
- {
10442
- "inputs": [
10443
- {
10444
- "internalType": "address",
10445
- "name": "newImplementation",
10446
- "type": "address"
10447
- },
10448
- {
10449
- "internalType": "bytes",
10450
- "name": "data",
10451
- "type": "bytes"
10452
- }
10453
- ],
10454
- "name": "upgradeToAndCall",
10455
- "outputs": [],
10456
- "stateMutability": "payable",
10457
- "type": "function"
10458
- },
10459
- {
10460
- "stateMutability": "payable",
10461
- "type": "receive"
10462
- },
10463
- {
10464
- "inputs": [],
10465
- "name": "AssetAlreadyExists",
10466
- "type": "error"
10467
- },
10468
- {
10469
- "inputs": [
10470
- {
10471
- "internalType": "int256",
10472
- "name": "x",
10473
- "type": "int256"
10474
- }
10475
- ],
10476
- "name": "ExpTooLarge",
10477
- "type": "error"
10478
- },
10479
- {
10480
- "inputs": [],
10481
- "name": "IneligibleToClaim",
10482
- "type": "error"
10483
- },
10484
- {
10485
- "inputs": [],
10486
- "name": "InvalidAddress",
10487
- "type": "error"
10488
- },
10489
- {
10490
- "inputs": [],
10491
- "name": "InvalidAlphaArguments",
10492
- "type": "error"
10493
- },
10494
- {
10495
- "inputs": [],
10496
- "name": "InvalidBlocksPerYear",
10497
- "type": "error"
10498
- },
10499
- {
10500
- "inputs": [],
10501
- "name": "InvalidCaller",
10502
- "type": "error"
10503
- },
10504
- {
10505
- "inputs": [],
10506
- "name": "InvalidComptroller",
10507
- "type": "error"
10508
- },
10509
- {
10510
- "inputs": [],
10511
- "name": "InvalidFixedPoint",
10512
- "type": "error"
10513
- },
10514
- {
10515
- "inputs": [
10516
- {
10517
- "internalType": "uint256",
10518
- "name": "n",
10519
- "type": "uint256"
10520
- },
10521
- {
10522
- "internalType": "uint256",
10523
- "name": "d",
10524
- "type": "uint256"
10525
- }
10526
- ],
10527
- "name": "InvalidFraction",
10528
- "type": "error"
10529
- },
10530
- {
10531
- "inputs": [],
10532
- "name": "InvalidLength",
10533
- "type": "error"
10534
- },
10535
- {
10536
- "inputs": [],
10537
- "name": "InvalidLimit",
10538
- "type": "error"
10539
- },
10540
- {
10541
- "inputs": [],
10542
- "name": "InvalidVToken",
10543
- "type": "error"
10544
- },
10545
- {
10546
- "inputs": [
10547
- {
10548
- "internalType": "int256",
10549
- "name": "x",
10550
- "type": "int256"
10551
- }
10552
- ],
10553
- "name": "LnNonRealResult",
10554
- "type": "error"
10555
- },
10556
- {
10557
- "inputs": [
10558
- {
10559
- "internalType": "int256",
10560
- "name": "x",
10561
- "type": "int256"
10562
- }
10563
- ],
10564
- "name": "LnTooLarge",
10565
- "type": "error"
10566
- },
10567
- {
10568
- "inputs": [],
10569
- "name": "MarketAlreadyExists",
10570
- "type": "error"
10571
- },
10572
- {
10573
- "inputs": [],
10574
- "name": "MarketNotSupported",
10575
- "type": "error"
10576
- },
10577
- {
10578
- "inputs": [
10579
- {
10580
- "internalType": "uint256",
10581
- "name": "loopsLimit",
10582
- "type": "uint256"
10583
- },
10584
- {
10585
- "internalType": "uint256",
10586
- "name": "requiredLoops",
10587
- "type": "uint256"
10588
- }
10589
- ],
10590
- "name": "MaxLoopsLimitExceeded",
10591
- "type": "error"
10592
- },
10593
- {
10594
- "inputs": [],
10595
- "name": "NoScoreUpdatesRequired",
10596
- "type": "error"
10597
- },
10598
- {
10599
- "inputs": [
10600
- {
10601
- "internalType": "address",
10602
- "name": "sender",
10603
- "type": "address"
10604
- },
10605
- {
10606
- "internalType": "address",
10607
- "name": "calledContract",
10608
- "type": "address"
10609
- },
10610
- {
10611
- "internalType": "string",
10612
- "name": "methodSignature",
10613
- "type": "string"
10614
- }
10615
- ],
10616
- "name": "Unauthorized",
10617
- "type": "error"
10618
- },
10619
- {
10620
- "inputs": [],
10621
- "name": "UserHasNoPrimeToken",
10622
- "type": "error"
10623
- },
10624
- {
10625
- "inputs": [],
10626
- "name": "WaitMoreTime",
10627
- "type": "error"
10628
- },
10629
- {
10630
- "anonymous": false,
10631
- "inputs": [
10632
- {
10633
- "indexed": true,
10634
- "internalType": "uint128",
10635
- "name": "oldNumerator",
10636
- "type": "uint128"
10637
- },
10638
- {
10639
- "indexed": true,
10640
- "internalType": "uint128",
10641
- "name": "oldDenominator",
10642
- "type": "uint128"
10643
- },
10644
- {
10645
- "indexed": true,
10646
- "internalType": "uint128",
10647
- "name": "newNumerator",
10648
- "type": "uint128"
10649
- },
10650
- {
10651
- "indexed": false,
10652
- "internalType": "uint128",
10653
- "name": "newDenominator",
10654
- "type": "uint128"
10655
- }
10656
- ],
10657
- "name": "AlphaUpdated",
10658
- "type": "event"
10659
- },
10660
- {
10661
- "anonymous": false,
10662
- "inputs": [
10663
- {
10664
- "indexed": true,
10665
- "internalType": "address",
10666
- "name": "user",
10667
- "type": "address"
10668
- }
10669
- ],
10670
- "name": "Burn",
10671
- "type": "event"
10672
- },
10673
- {
10674
- "anonymous": false,
10675
- "inputs": [
10676
- {
10677
- "indexed": false,
10678
- "internalType": "uint8",
10679
- "name": "version",
10680
- "type": "uint8"
10681
- }
10682
- ],
10683
- "name": "Initialized",
10684
- "type": "event"
10685
- },
10686
- {
10687
- "anonymous": false,
10688
- "inputs": [
10689
- {
10690
- "indexed": true,
10691
- "internalType": "address",
10692
- "name": "user",
10693
- "type": "address"
10694
- },
10695
- {
10696
- "indexed": true,
10697
- "internalType": "address",
10698
- "name": "market",
10699
- "type": "address"
10700
- },
10701
- {
10702
- "indexed": false,
10703
- "internalType": "uint256",
10704
- "name": "amount",
10705
- "type": "uint256"
10706
- }
10707
- ],
10708
- "name": "InterestClaimed",
10709
- "type": "event"
10710
- },
10711
- {
10712
- "anonymous": false,
10713
- "inputs": [
10714
- {
10715
- "indexed": true,
10716
- "internalType": "address",
10717
- "name": "market",
10718
- "type": "address"
10719
- },
10720
- {
10721
- "indexed": true,
10722
- "internalType": "uint256",
10723
- "name": "supplyMultiplier",
10724
- "type": "uint256"
10725
- },
10726
- {
10727
- "indexed": true,
10728
- "internalType": "uint256",
10729
- "name": "borrowMultiplier",
10730
- "type": "uint256"
10731
- }
10732
- ],
10733
- "name": "MarketAdded",
10734
- "type": "event"
10735
- },
10736
- {
10737
- "anonymous": false,
10738
- "inputs": [
10739
- {
10740
- "indexed": false,
10741
- "internalType": "uint256",
10742
- "name": "oldMaxLoopsLimit",
10743
- "type": "uint256"
10744
- },
10745
- {
10746
- "indexed": false,
10747
- "internalType": "uint256",
10748
- "name": "newmaxLoopsLimit",
10749
- "type": "uint256"
10750
- }
10751
- ],
10752
- "name": "MaxLoopsLimitUpdated",
10753
- "type": "event"
10754
- },
10755
- {
10756
- "anonymous": false,
10757
- "inputs": [
10758
- {
10759
- "indexed": true,
10760
- "internalType": "address",
10761
- "name": "user",
10762
- "type": "address"
10763
- },
10764
- {
10765
- "indexed": false,
10766
- "internalType": "bool",
10767
- "name": "isIrrevocable",
10768
- "type": "bool"
10769
- }
10770
- ],
10771
- "name": "Mint",
10772
- "type": "event"
10773
- },
10774
- {
10775
- "anonymous": false,
10776
- "inputs": [
10777
- {
10778
- "indexed": true,
10779
- "internalType": "uint256",
10780
- "name": "oldIrrevocableLimit",
10781
- "type": "uint256"
10782
- },
10783
- {
10784
- "indexed": true,
10785
- "internalType": "uint256",
10786
- "name": "oldRevocableLimit",
10787
- "type": "uint256"
10788
- },
10789
- {
10790
- "indexed": true,
10791
- "internalType": "uint256",
10792
- "name": "newIrrevocableLimit",
10793
- "type": "uint256"
10794
- },
10795
- {
10796
- "indexed": false,
10797
- "internalType": "uint256",
10798
- "name": "newRevocableLimit",
10799
- "type": "uint256"
10800
- }
10801
- ],
10802
- "name": "MintLimitsUpdated",
10803
- "type": "event"
10804
- },
10805
- {
10806
- "anonymous": false,
10807
- "inputs": [
10808
- {
10809
- "indexed": true,
10810
- "internalType": "address",
10811
- "name": "market",
10812
- "type": "address"
10813
- },
10814
- {
10815
- "indexed": true,
10816
- "internalType": "uint256",
10817
- "name": "oldSupplyMultiplier",
10818
- "type": "uint256"
10819
- },
10820
- {
10821
- "indexed": true,
10822
- "internalType": "uint256",
10823
- "name": "oldBorrowMultiplier",
10824
- "type": "uint256"
10825
- },
10826
- {
10827
- "indexed": false,
10828
- "internalType": "uint256",
10829
- "name": "newSupplyMultiplier",
10830
- "type": "uint256"
10831
- },
10832
- {
10833
- "indexed": false,
10834
- "internalType": "uint256",
10835
- "name": "newBorrowMultiplier",
10836
- "type": "uint256"
10837
- }
10838
- ],
10839
- "name": "MultiplierUpdated",
10840
- "type": "event"
10841
- },
10842
- {
10843
- "anonymous": false,
10844
- "inputs": [
10845
- {
10846
- "indexed": false,
10847
- "internalType": "address",
10848
- "name": "oldAccessControlManager",
10849
- "type": "address"
10850
- },
10851
- {
10852
- "indexed": false,
10853
- "internalType": "address",
10854
- "name": "newAccessControlManager",
10855
- "type": "address"
10856
- }
10857
- ],
10858
- "name": "NewAccessControlManager",
10859
- "type": "event"
10860
- },
10861
- {
10862
- "anonymous": false,
10863
- "inputs": [
10864
- {
10865
- "indexed": true,
10866
- "internalType": "address",
10867
- "name": "previousOwner",
10868
- "type": "address"
10869
- },
10870
- {
10871
- "indexed": true,
10872
- "internalType": "address",
10873
- "name": "newOwner",
10874
- "type": "address"
10875
- }
10876
- ],
10877
- "name": "OwnershipTransferStarted",
10878
- "type": "event"
10879
- },
10880
- {
10881
- "anonymous": false,
10882
- "inputs": [
10883
- {
10884
- "indexed": true,
10885
- "internalType": "address",
10886
- "name": "previousOwner",
10887
- "type": "address"
10888
- },
10889
- {
10890
- "indexed": true,
10891
- "internalType": "address",
10892
- "name": "newOwner",
10893
- "type": "address"
10894
- }
10895
- ],
10896
- "name": "OwnershipTransferred",
10897
- "type": "event"
10898
- },
10899
- {
10900
- "anonymous": false,
10901
- "inputs": [
10902
- {
10903
- "indexed": false,
10904
- "internalType": "address",
10905
- "name": "account",
10906
- "type": "address"
10907
- }
10908
- ],
10909
- "name": "Paused",
10910
- "type": "event"
10911
- },
10912
- {
10913
- "anonymous": false,
10914
- "inputs": [
10915
- {
10916
- "indexed": true,
10917
- "internalType": "address",
10918
- "name": "user",
10919
- "type": "address"
10920
- },
10921
- {
10922
- "indexed": false,
10923
- "internalType": "uint256",
10924
- "name": "timestamp",
10925
- "type": "uint256"
10926
- }
10927
- ],
10928
- "name": "StakedAtUpdated",
10929
- "type": "event"
10930
- },
10931
- {
10932
- "anonymous": false,
10933
- "inputs": [
10934
- {
10935
- "indexed": true,
10936
- "internalType": "address",
10937
- "name": "user",
10938
- "type": "address"
10939
- }
10940
- ],
10941
- "name": "TokenUpgraded",
10942
- "type": "event"
10943
- },
10944
- {
10945
- "anonymous": false,
10946
- "inputs": [
10947
- {
10948
- "indexed": false,
10949
- "internalType": "address",
10950
- "name": "account",
10951
- "type": "address"
10952
- }
10953
- ],
10954
- "name": "Unpaused",
10955
- "type": "event"
10956
- },
10957
- {
10958
- "anonymous": false,
10959
- "inputs": [
10960
- {
10961
- "indexed": true,
10962
- "internalType": "address",
10963
- "name": "user",
10964
- "type": "address"
10965
- }
10966
- ],
10967
- "name": "UserScoreUpdated",
10968
- "type": "event"
10969
- },
10970
- {
10971
- "inputs": [],
10972
- "name": "BLOCKS_PER_YEAR",
10973
- "outputs": [
10974
- {
10975
- "internalType": "uint256",
10976
- "name": "",
10977
- "type": "uint256"
10978
- }
10979
- ],
10980
- "stateMutability": "view",
10981
- "type": "function"
10982
- },
10983
- {
10984
- "inputs": [],
10985
- "name": "MAXIMUM_XVS_CAP",
10986
- "outputs": [
10987
- {
10988
- "internalType": "uint256",
10989
- "name": "",
10990
- "type": "uint256"
10991
- }
10992
- ],
10993
- "stateMutability": "view",
10994
- "type": "function"
10995
- },
10996
- {
10997
- "inputs": [],
10998
- "name": "MINIMUM_STAKED_XVS",
10999
- "outputs": [
11000
- {
11001
- "internalType": "uint256",
11002
- "name": "",
11003
- "type": "uint256"
11004
- }
11005
- ],
11006
- "stateMutability": "view",
11007
- "type": "function"
11008
- },
11009
- {
11010
- "inputs": [],
11011
- "name": "STAKING_PERIOD",
11012
- "outputs": [
11013
- {
11014
- "internalType": "uint256",
11015
- "name": "",
11016
- "type": "uint256"
11017
- }
11018
- ],
11019
- "stateMutability": "view",
11020
- "type": "function"
11021
- },
11022
- {
11023
- "inputs": [],
11024
- "name": "VBNB",
11025
- "outputs": [
11026
- {
11027
- "internalType": "address",
11028
- "name": "",
11029
- "type": "address"
11030
- }
11031
- ],
11032
- "stateMutability": "view",
11033
- "type": "function"
11034
- },
11035
- {
11036
- "inputs": [],
11037
- "name": "WBNB",
11038
- "outputs": [
11039
- {
11040
- "internalType": "address",
11041
- "name": "",
11042
- "type": "address"
11043
- }
11044
- ],
11045
- "stateMutability": "view",
11046
- "type": "function"
11047
- },
11048
- {
11049
- "inputs": [],
11050
- "name": "acceptOwnership",
11051
- "outputs": [],
11052
- "stateMutability": "nonpayable",
11053
- "type": "function"
11054
- },
11055
- {
11056
- "inputs": [],
11057
- "name": "accessControlManager",
11058
- "outputs": [
11059
- {
11060
- "internalType": "contract IAccessControlManagerV8",
11061
- "name": "",
11062
- "type": "address"
11063
- }
11064
- ],
11065
- "stateMutability": "view",
11066
- "type": "function"
11067
- },
11068
- {
11069
- "inputs": [
11070
- {
11071
- "internalType": "address",
11072
- "name": "vToken",
11073
- "type": "address"
11074
- }
11075
- ],
11076
- "name": "accrueInterest",
11077
- "outputs": [],
11078
- "stateMutability": "nonpayable",
11079
- "type": "function"
11080
- },
11081
- {
11082
- "inputs": [
11083
- {
11084
- "internalType": "address",
11085
- "name": "user",
11086
- "type": "address"
11087
- },
11088
- {
11089
- "internalType": "address",
11090
- "name": "market",
11091
- "type": "address"
11092
- }
11093
- ],
11094
- "name": "accrueInterestAndUpdateScore",
11095
- "outputs": [],
11096
- "stateMutability": "nonpayable",
11097
- "type": "function"
11098
- },
11099
- {
11100
- "inputs": [
11101
- {
11102
- "internalType": "address",
11103
- "name": "market",
11104
- "type": "address"
11105
- },
11106
- {
11107
- "internalType": "uint256",
11108
- "name": "supplyMultiplier",
11109
- "type": "uint256"
11110
- },
11111
- {
11112
- "internalType": "uint256",
11113
- "name": "borrowMultiplier",
11114
- "type": "uint256"
11115
- }
11116
- ],
11117
- "name": "addMarket",
11118
- "outputs": [],
11119
- "stateMutability": "nonpayable",
11120
- "type": "function"
11121
- },
11122
- {
11123
- "inputs": [],
11124
- "name": "alphaDenominator",
11125
- "outputs": [
11126
- {
11127
- "internalType": "uint128",
11128
- "name": "",
11129
- "type": "uint128"
11130
- }
11131
- ],
11132
- "stateMutability": "view",
11133
- "type": "function"
11134
- },
11135
- {
11136
- "inputs": [],
11137
- "name": "alphaNumerator",
11138
- "outputs": [
11139
- {
11140
- "internalType": "uint128",
11141
- "name": "",
11142
- "type": "uint128"
11143
- }
11144
- ],
11145
- "stateMutability": "view",
11146
- "type": "function"
11147
- },
11148
- {
11149
- "inputs": [
11150
- {
11151
- "internalType": "address",
11152
- "name": "user",
11153
- "type": "address"
11154
- }
11155
- ],
11156
- "name": "burn",
11157
- "outputs": [],
11158
- "stateMutability": "nonpayable",
11159
- "type": "function"
11160
- },
11161
- {
11162
- "inputs": [
11163
- {
11164
- "internalType": "address",
11165
- "name": "market",
11166
- "type": "address"
11167
- },
11168
- {
11169
- "internalType": "address",
11170
- "name": "user",
11171
- "type": "address"
11172
- }
11173
- ],
11174
- "name": "calculateAPR",
11175
- "outputs": [
11176
- {
11177
- "internalType": "uint256",
11178
- "name": "supplyAPR",
11179
- "type": "uint256"
11180
- },
11181
- {
11182
- "internalType": "uint256",
11183
- "name": "borrowAPR",
11184
- "type": "uint256"
11185
- }
11186
- ],
11187
- "stateMutability": "view",
11188
- "type": "function"
11189
- },
11190
- {
11191
- "inputs": [],
11192
- "name": "claim",
11193
- "outputs": [],
11194
- "stateMutability": "nonpayable",
11195
- "type": "function"
11196
- },
11197
- {
11198
- "inputs": [
11199
- {
11200
- "internalType": "address",
11201
- "name": "vToken",
11202
- "type": "address"
11203
- }
11204
- ],
11205
- "name": "claimInterest",
11206
- "outputs": [
11207
- {
11208
- "internalType": "uint256",
11209
- "name": "",
11210
- "type": "uint256"
11211
- }
11212
- ],
11213
- "stateMutability": "nonpayable",
11214
- "type": "function"
11215
- },
11216
- {
11217
- "inputs": [
11218
- {
11219
- "internalType": "address",
11220
- "name": "vToken",
11221
- "type": "address"
11222
- },
11223
- {
11224
- "internalType": "address",
11225
- "name": "user",
11226
- "type": "address"
11227
- }
11228
- ],
11229
- "name": "claimInterest",
11230
- "outputs": [
11231
- {
11232
- "internalType": "uint256",
11233
- "name": "",
11234
- "type": "uint256"
11235
- }
11236
- ],
11237
- "stateMutability": "nonpayable",
11238
- "type": "function"
11239
- },
11240
- {
11241
- "inputs": [
11242
- {
11243
- "internalType": "address",
11244
- "name": "user",
11245
- "type": "address"
11246
- }
11247
- ],
11248
- "name": "claimTimeRemaining",
11249
- "outputs": [
11250
- {
11251
- "internalType": "uint256",
11252
- "name": "",
11253
- "type": "uint256"
11254
- }
11255
- ],
11256
- "stateMutability": "view",
11257
- "type": "function"
11258
- },
11259
- {
11260
- "inputs": [],
11261
- "name": "comptroller",
11262
- "outputs": [
11263
- {
11264
- "internalType": "address",
11265
- "name": "",
11266
- "type": "address"
11267
- }
11268
- ],
11269
- "stateMutability": "view",
11270
- "type": "function"
11271
- },
11272
- {
11273
- "inputs": [
11274
- {
11275
- "internalType": "address",
11276
- "name": "market",
11277
- "type": "address"
11278
- },
11279
- {
11280
- "internalType": "address",
11281
- "name": "user",
11282
- "type": "address"
11283
- },
11284
- {
11285
- "internalType": "uint256",
11286
- "name": "borrow",
11287
- "type": "uint256"
11288
- },
11289
- {
11290
- "internalType": "uint256",
11291
- "name": "supply",
11292
- "type": "uint256"
11293
- },
11294
- {
11295
- "internalType": "uint256",
11296
- "name": "xvsStaked",
11297
- "type": "uint256"
11298
- }
11299
- ],
11300
- "name": "estimateAPR",
11301
- "outputs": [
11302
- {
11303
- "internalType": "uint256",
11304
- "name": "supplyAPR",
11305
- "type": "uint256"
11306
- },
11307
- {
11308
- "internalType": "uint256",
11309
- "name": "borrowAPR",
11310
- "type": "uint256"
11311
- }
11312
- ],
11313
- "stateMutability": "view",
11314
- "type": "function"
11315
- },
11316
- {
11317
- "inputs": [],
11318
- "name": "getAllMarkets",
11319
- "outputs": [
11320
- {
11321
- "internalType": "address[]",
11322
- "name": "",
11323
- "type": "address[]"
11324
- }
11325
- ],
11326
- "stateMutability": "view",
11327
- "type": "function"
11328
- },
11329
- {
11330
- "inputs": [
11331
- {
11332
- "internalType": "address",
11333
- "name": "vToken",
11334
- "type": "address"
11335
- },
11336
- {
11337
- "internalType": "address",
11338
- "name": "user",
11339
- "type": "address"
11340
- }
11341
- ],
11342
- "name": "getInterestAccrued",
11343
- "outputs": [
11344
- {
11345
- "internalType": "uint256",
11346
- "name": "",
11347
- "type": "uint256"
11348
- }
11349
- ],
11350
- "stateMutability": "nonpayable",
11351
- "type": "function"
11352
- },
11353
- {
11354
- "inputs": [
11355
- {
11356
- "internalType": "address",
11357
- "name": "user",
11358
- "type": "address"
11359
- }
11360
- ],
11361
- "name": "getPendingRewards",
11362
- "outputs": [
11363
- {
11364
- "components": [
11365
- {
11366
- "internalType": "address",
11367
- "name": "vToken",
11368
- "type": "address"
11369
- },
11370
- {
11371
- "internalType": "address",
11372
- "name": "rewardToken",
11373
- "type": "address"
11374
- },
11375
- {
11376
- "internalType": "uint256",
11377
- "name": "amount",
11378
- "type": "uint256"
11379
- }
11380
- ],
11381
- "internalType": "struct PrimeStorageV1.PendingReward[]",
11382
- "name": "pendingRewards",
11383
- "type": "tuple[]"
11384
- }
11385
- ],
11386
- "stateMutability": "nonpayable",
11387
- "type": "function"
11388
- },
11389
- {
11390
- "inputs": [
11391
- {
11392
- "internalType": "address",
11393
- "name": "xvsVault_",
11394
- "type": "address"
11395
- },
11396
- {
11397
- "internalType": "address",
11398
- "name": "xvsVaultRewardToken_",
11399
- "type": "address"
11400
- },
11401
- {
11402
- "internalType": "uint256",
11403
- "name": "xvsVaultPoolId_",
11404
- "type": "uint256"
11405
- },
11406
- {
11407
- "internalType": "uint128",
11408
- "name": "alphaNumerator_",
11409
- "type": "uint128"
11410
- },
11411
- {
11412
- "internalType": "uint128",
11413
- "name": "alphaDenominator_",
11414
- "type": "uint128"
11415
- },
11416
- {
11417
- "internalType": "address",
11418
- "name": "accessControlManager_",
11419
- "type": "address"
11420
- },
11421
- {
11422
- "internalType": "address",
11423
- "name": "primeLiquidityProvider_",
11424
- "type": "address"
11425
- },
11426
- {
11427
- "internalType": "address",
11428
- "name": "comptroller_",
11429
- "type": "address"
11430
- },
11431
- {
11432
- "internalType": "address",
11433
- "name": "oracle_",
11434
- "type": "address"
11435
- },
11436
- {
11437
- "internalType": "uint256",
11438
- "name": "loopsLimit_",
11439
- "type": "uint256"
11440
- }
11441
- ],
11442
- "name": "initialize",
11443
- "outputs": [],
11444
- "stateMutability": "nonpayable",
11445
- "type": "function"
11446
- },
11447
- {
11448
- "inputs": [
11449
- {
11450
- "internalType": "address",
11451
- "name": "",
11452
- "type": "address"
11453
- },
11454
- {
11455
- "internalType": "address",
11456
- "name": "",
11457
- "type": "address"
11458
- }
11459
- ],
11460
- "name": "interests",
11461
- "outputs": [
11462
- {
11463
- "internalType": "uint256",
11464
- "name": "accrued",
11465
- "type": "uint256"
11466
- },
11467
- {
11468
- "internalType": "uint256",
11469
- "name": "score",
11470
- "type": "uint256"
11471
- },
11472
- {
11473
- "internalType": "uint256",
11474
- "name": "rewardIndex",
11475
- "type": "uint256"
11476
- }
11477
- ],
11478
- "stateMutability": "view",
11479
- "type": "function"
11480
- },
11481
- {
11482
- "inputs": [],
11483
- "name": "irrevocableLimit",
11484
- "outputs": [
11485
- {
11486
- "internalType": "uint256",
11487
- "name": "",
11488
- "type": "uint256"
11489
- }
11490
- ],
11491
- "stateMutability": "view",
11492
- "type": "function"
11493
- },
11494
- {
11495
- "inputs": [
11496
- {
11497
- "internalType": "uint256",
11498
- "name": "",
11499
- "type": "uint256"
11500
- },
11501
- {
11502
- "internalType": "address",
11503
- "name": "",
11504
- "type": "address"
11505
- }
11506
- ],
11507
- "name": "isScoreUpdated",
11508
- "outputs": [
11509
- {
11510
- "internalType": "bool",
11511
- "name": "",
11512
- "type": "bool"
11513
- }
11514
- ],
11515
- "stateMutability": "view",
11516
- "type": "function"
11517
- },
11518
- {
11519
- "inputs": [
11520
- {
11521
- "internalType": "bool",
11522
- "name": "isIrrevocable",
11523
- "type": "bool"
11524
- },
11525
- {
11526
- "internalType": "address[]",
11527
- "name": "users",
11528
- "type": "address[]"
11529
- }
11530
- ],
11531
- "name": "issue",
11532
- "outputs": [],
11533
- "stateMutability": "nonpayable",
11534
- "type": "function"
11535
- },
11536
- {
11537
- "inputs": [
11538
- {
11539
- "internalType": "address",
11540
- "name": "",
11541
- "type": "address"
11542
- }
11543
- ],
11544
- "name": "markets",
11545
- "outputs": [
11546
- {
11547
- "internalType": "uint256",
11548
- "name": "supplyMultiplier",
11549
- "type": "uint256"
11550
- },
11551
- {
11552
- "internalType": "uint256",
11553
- "name": "borrowMultiplier",
11554
- "type": "uint256"
11555
- },
11556
- {
11557
- "internalType": "uint256",
11558
- "name": "rewardIndex",
11559
- "type": "uint256"
11560
- },
11561
- {
11562
- "internalType": "uint256",
11563
- "name": "sumOfMembersScore",
11564
- "type": "uint256"
11565
- },
11566
- {
11567
- "internalType": "bool",
11568
- "name": "exists",
11569
- "type": "bool"
11570
- }
11571
- ],
11572
- "stateMutability": "view",
11573
- "type": "function"
11574
- },
11575
- {
11576
- "inputs": [],
11577
- "name": "maxLoopsLimit",
11578
- "outputs": [
11579
- {
11580
- "internalType": "uint256",
11581
- "name": "",
11582
- "type": "uint256"
11583
- }
11584
- ],
11585
- "stateMutability": "view",
11586
- "type": "function"
11587
- },
11588
- {
11589
- "inputs": [],
11590
- "name": "nextScoreUpdateRoundId",
11591
- "outputs": [
11592
- {
11593
- "internalType": "uint256",
11594
- "name": "",
11595
- "type": "uint256"
11596
- }
11597
- ],
11598
- "stateMutability": "view",
11599
- "type": "function"
11600
- },
11601
- {
11602
- "inputs": [],
11603
- "name": "oracle",
11604
- "outputs": [
11605
- {
11606
- "internalType": "contract ResilientOracleInterface",
11607
- "name": "",
11608
- "type": "address"
11609
- }
11610
- ],
11611
- "stateMutability": "view",
11612
- "type": "function"
11613
- },
11614
- {
11615
- "inputs": [],
11616
- "name": "owner",
11617
- "outputs": [
11618
- {
11619
- "internalType": "address",
11620
- "name": "",
11621
- "type": "address"
11622
- }
11623
- ],
11624
- "stateMutability": "view",
11625
- "type": "function"
11626
- },
11627
- {
11628
- "inputs": [],
11629
- "name": "paused",
11630
- "outputs": [
11631
- {
11632
- "internalType": "bool",
11633
- "name": "",
11634
- "type": "bool"
11635
- }
11636
- ],
11637
- "stateMutability": "view",
11638
- "type": "function"
11639
- },
11640
- {
11641
- "inputs": [],
11642
- "name": "pendingOwner",
11643
- "outputs": [
11644
- {
11645
- "internalType": "address",
11646
- "name": "",
11647
- "type": "address"
11648
- }
11649
- ],
11650
- "stateMutability": "view",
11651
- "type": "function"
11652
- },
11653
- {
11654
- "inputs": [],
11655
- "name": "pendingScoreUpdates",
11656
- "outputs": [
11657
- {
11658
- "internalType": "uint256",
11659
- "name": "",
11660
- "type": "uint256"
11661
- }
11662
- ],
11663
- "stateMutability": "view",
11664
- "type": "function"
11665
- },
11666
- {
11667
- "inputs": [],
11668
- "name": "primeLiquidityProvider",
11669
- "outputs": [
11670
- {
11671
- "internalType": "address",
11672
- "name": "",
11673
- "type": "address"
11674
- }
11675
- ],
11676
- "stateMutability": "view",
11677
- "type": "function"
11678
- },
11679
- {
11680
- "inputs": [],
11681
- "name": "renounceOwnership",
11682
- "outputs": [],
11683
- "stateMutability": "nonpayable",
11684
- "type": "function"
11685
- },
11686
- {
11687
- "inputs": [],
11688
- "name": "revocableLimit",
11689
- "outputs": [
11690
- {
11691
- "internalType": "uint256",
11692
- "name": "",
11693
- "type": "uint256"
11694
- }
11695
- ],
11696
- "stateMutability": "view",
11697
- "type": "function"
11698
- },
11699
- {
11700
- "inputs": [
11701
- {
11702
- "internalType": "address",
11703
- "name": "accessControlManager_",
11704
- "type": "address"
11705
- }
11706
- ],
11707
- "name": "setAccessControlManager",
11708
- "outputs": [],
11709
- "stateMutability": "nonpayable",
11710
- "type": "function"
11711
- },
11712
- {
11713
- "inputs": [
11714
- {
11715
- "internalType": "uint256",
11716
- "name": "_irrevocableLimit",
11717
- "type": "uint256"
11718
- },
11719
- {
11720
- "internalType": "uint256",
11721
- "name": "_revocableLimit",
11722
- "type": "uint256"
11723
- }
11724
- ],
11725
- "name": "setLimit",
11726
- "outputs": [],
11727
- "stateMutability": "nonpayable",
11728
- "type": "function"
11729
- },
11730
- {
11731
- "inputs": [
11732
- {
11733
- "internalType": "uint256",
11734
- "name": "loopsLimit",
11735
- "type": "uint256"
11736
- }
11737
- ],
11738
- "name": "setMaxLoopsLimit",
11739
- "outputs": [],
11740
- "stateMutability": "nonpayable",
11741
- "type": "function"
11742
- },
11743
- {
11744
- "inputs": [
11745
- {
11746
- "internalType": "address[]",
11747
- "name": "users",
11748
- "type": "address[]"
11749
- },
11750
- {
11751
- "internalType": "uint256[]",
11752
- "name": "timestamps",
11753
- "type": "uint256[]"
11754
- }
11755
- ],
11756
- "name": "setStakedAt",
11757
- "outputs": [],
11758
- "stateMutability": "nonpayable",
11759
- "type": "function"
11760
- },
11761
- {
11762
- "inputs": [
11763
- {
11764
- "internalType": "address",
11765
- "name": "",
11766
- "type": "address"
11767
- }
11768
- ],
11769
- "name": "stakedAt",
11770
- "outputs": [
11771
- {
11772
- "internalType": "uint256",
11773
- "name": "",
11774
- "type": "uint256"
11775
- }
11776
- ],
11777
- "stateMutability": "view",
11778
- "type": "function"
11779
- },
11780
- {
11781
- "inputs": [],
11782
- "name": "togglePause",
11783
- "outputs": [],
11784
- "stateMutability": "nonpayable",
11785
- "type": "function"
11786
- },
11787
- {
11788
- "inputs": [
11789
- {
11790
- "internalType": "address",
11791
- "name": "",
11792
- "type": "address"
11793
- }
11794
- ],
11795
- "name": "tokens",
11796
- "outputs": [
11797
- {
11798
- "internalType": "bool",
11799
- "name": "exists",
11800
- "type": "bool"
11801
- },
11802
- {
11803
- "internalType": "bool",
11804
- "name": "isIrrevocable",
11805
- "type": "bool"
11806
- }
11807
- ],
11808
- "stateMutability": "view",
11809
- "type": "function"
11810
- },
11811
- {
11812
- "inputs": [],
11813
- "name": "totalIrrevocable",
11814
- "outputs": [
11815
- {
11816
- "internalType": "uint256",
11817
- "name": "",
11818
- "type": "uint256"
11819
- }
11820
- ],
11821
- "stateMutability": "view",
11822
- "type": "function"
11823
- },
11824
- {
11825
- "inputs": [],
11826
- "name": "totalRevocable",
11827
- "outputs": [
11828
- {
11829
- "internalType": "uint256",
11830
- "name": "",
11831
- "type": "uint256"
11832
- }
11833
- ],
11834
- "stateMutability": "view",
11835
- "type": "function"
11836
- },
11837
- {
11838
- "inputs": [],
11839
- "name": "totalScoreUpdatesRequired",
11840
- "outputs": [
11841
- {
11842
- "internalType": "uint256",
11843
- "name": "",
11844
- "type": "uint256"
11845
- }
11846
- ],
11847
- "stateMutability": "view",
11848
- "type": "function"
11849
- },
11850
- {
11851
- "inputs": [
11852
- {
11853
- "internalType": "address",
11854
- "name": "newOwner",
11855
- "type": "address"
11856
- }
11857
- ],
11858
- "name": "transferOwnership",
11859
- "outputs": [],
11860
- "stateMutability": "nonpayable",
11861
- "type": "function"
11862
- },
11863
- {
11864
- "inputs": [
11865
- {
11866
- "internalType": "address",
11867
- "name": "",
11868
- "type": "address"
11869
- }
11870
- ],
11871
- "name": "unreleasedPLPIncome",
11872
- "outputs": [
11873
- {
11874
- "internalType": "uint256",
11875
- "name": "",
11876
- "type": "uint256"
11877
- }
11878
- ],
11879
- "stateMutability": "view",
11880
- "type": "function"
11881
- },
11882
- {
11883
- "inputs": [
11884
- {
11885
- "internalType": "uint128",
11886
- "name": "_alphaNumerator",
11887
- "type": "uint128"
11888
- },
11889
- {
11890
- "internalType": "uint128",
11891
- "name": "_alphaDenominator",
11892
- "type": "uint128"
11893
- }
11894
- ],
11895
- "name": "updateAlpha",
11896
- "outputs": [],
11897
- "stateMutability": "nonpayable",
11898
- "type": "function"
11899
- },
11900
- {
11901
- "inputs": [
11902
- {
11903
- "internalType": "address",
11904
- "name": "market",
11905
- "type": "address"
11906
- },
11907
- {
11908
- "internalType": "uint256",
11909
- "name": "supplyMultiplier",
11910
- "type": "uint256"
11911
- },
11912
- {
11913
- "internalType": "uint256",
11914
- "name": "borrowMultiplier",
11915
- "type": "uint256"
11916
- }
11917
- ],
11918
- "name": "updateMultipliers",
11919
- "outputs": [],
11920
- "stateMutability": "nonpayable",
11921
- "type": "function"
11922
- },
11923
- {
11924
- "inputs": [
11925
- {
11926
- "internalType": "address[]",
11927
- "name": "users",
11928
- "type": "address[]"
11929
- }
11930
- ],
11931
- "name": "updateScores",
11932
- "outputs": [],
11933
- "stateMutability": "nonpayable",
11934
- "type": "function"
11935
- },
11936
- {
11937
- "inputs": [
11938
- {
11939
- "internalType": "address",
11940
- "name": "",
11941
- "type": "address"
11942
- }
11943
- ],
11944
- "name": "vTokenForAsset",
11945
- "outputs": [
11946
- {
11947
- "internalType": "address",
11948
- "name": "",
11949
- "type": "address"
11950
- }
11951
- ],
11952
- "stateMutability": "view",
11953
- "type": "function"
11954
- },
11955
- {
11956
- "inputs": [
11957
- {
11958
- "internalType": "address",
11959
- "name": "user",
11960
- "type": "address"
11961
- }
11962
- ],
11963
- "name": "xvsUpdated",
11964
- "outputs": [],
11965
- "stateMutability": "nonpayable",
11966
- "type": "function"
11967
- },
11968
- {
11969
- "inputs": [],
11970
- "name": "xvsVault",
11971
- "outputs": [
11972
- {
11973
- "internalType": "address",
11974
- "name": "",
11975
- "type": "address"
11976
- }
11977
- ],
11978
- "stateMutability": "view",
11979
- "type": "function"
11980
- },
11981
- {
11982
- "inputs": [],
11983
- "name": "xvsVaultPoolId",
11984
- "outputs": [
11985
- {
11986
- "internalType": "uint256",
11987
- "name": "",
11988
- "type": "uint256"
11989
- }
11990
- ],
11991
- "stateMutability": "view",
11992
- "type": "function"
11993
- },
11994
- {
11995
- "inputs": [],
11996
- "name": "xvsVaultRewardToken",
11997
- "outputs": [
11998
- {
11999
- "internalType": "address",
12000
- "name": "",
12001
- "type": "address"
12002
- }
12003
- ],
12004
- "stateMutability": "view",
12005
- "type": "function"
12006
- },
12007
- {
12008
- "inputs": [
12009
- {
12010
- "internalType": "address",
12011
- "name": "_logic",
12012
- "type": "address"
12013
- },
12014
- {
12015
- "internalType": "address",
12016
- "name": "admin_",
12017
- "type": "address"
12018
- },
12019
- {
12020
- "internalType": "bytes",
12021
- "name": "_data",
12022
- "type": "bytes"
12023
- }
12024
- ],
12025
- "stateMutability": "payable",
12026
- "type": "constructor"
12027
- }
12028
- ]
12029
- },
12030
- "PrimeTest_Implementation": {
12031
- "address": "0x7c4E806f02aabBd04C07226F4Fe1b2EF3C1E726D",
12032
- "abi": [
12033
- {
12034
- "inputs": [
12035
- {
12036
- "internalType": "address",
12037
- "name": "_wbnb",
12038
- "type": "address"
12039
- },
12040
- {
12041
- "internalType": "address",
12042
- "name": "_vbnb",
12043
- "type": "address"
12044
- },
12045
- {
12046
- "internalType": "uint256",
12047
- "name": "_blocksPerYear",
12048
- "type": "uint256"
12049
- },
12050
- {
12051
- "internalType": "uint256",
12052
- "name": "_stakingPeriod",
12053
- "type": "uint256"
12054
- },
12055
- {
12056
- "internalType": "uint256",
12057
- "name": "_minimumStakedXVS",
12058
- "type": "uint256"
12059
- },
12060
- {
12061
- "internalType": "uint256",
12062
- "name": "_maximumXVSCap",
12063
- "type": "uint256"
12064
- }
12065
- ],
12066
- "stateMutability": "nonpayable",
12067
- "type": "constructor"
12068
- },
12069
- {
12070
- "inputs": [],
12071
- "name": "AssetAlreadyExists",
12072
- "type": "error"
12073
- },
12074
- {
12075
- "inputs": [
12076
- {
12077
- "internalType": "int256",
12078
- "name": "x",
12079
- "type": "int256"
12080
- }
12081
- ],
12082
- "name": "ExpTooLarge",
12083
- "type": "error"
12084
- },
12085
- {
12086
- "inputs": [],
12087
- "name": "IneligibleToClaim",
12088
- "type": "error"
12089
- },
12090
- {
12091
- "inputs": [],
12092
- "name": "InvalidAddress",
12093
- "type": "error"
12094
- },
12095
- {
12096
- "inputs": [],
12097
- "name": "InvalidAlphaArguments",
12098
- "type": "error"
12099
- },
12100
- {
12101
- "inputs": [],
12102
- "name": "InvalidBlocksPerYear",
12103
- "type": "error"
12104
- },
12105
- {
12106
- "inputs": [],
12107
- "name": "InvalidCaller",
12108
- "type": "error"
12109
- },
12110
- {
12111
- "inputs": [],
12112
- "name": "InvalidComptroller",
12113
- "type": "error"
12114
- },
12115
- {
12116
- "inputs": [],
12117
- "name": "InvalidFixedPoint",
12118
- "type": "error"
12119
- },
12120
- {
12121
- "inputs": [
12122
- {
12123
- "internalType": "uint256",
12124
- "name": "n",
12125
- "type": "uint256"
12126
- },
12127
- {
12128
- "internalType": "uint256",
12129
- "name": "d",
12130
- "type": "uint256"
12131
- }
12132
- ],
12133
- "name": "InvalidFraction",
12134
- "type": "error"
12135
- },
12136
- {
12137
- "inputs": [],
12138
- "name": "InvalidLength",
12139
- "type": "error"
12140
- },
12141
- {
12142
- "inputs": [],
12143
- "name": "InvalidLimit",
12144
- "type": "error"
12145
- },
12146
- {
12147
- "inputs": [],
12148
- "name": "InvalidVToken",
12149
- "type": "error"
12150
- },
12151
- {
12152
- "inputs": [
12153
- {
12154
- "internalType": "int256",
12155
- "name": "x",
12156
- "type": "int256"
12157
- }
12158
- ],
12159
- "name": "LnNonRealResult",
12160
- "type": "error"
12161
- },
12162
- {
12163
- "inputs": [
12164
- {
12165
- "internalType": "int256",
12166
- "name": "x",
12167
- "type": "int256"
12168
- }
12169
- ],
12170
- "name": "LnTooLarge",
12171
- "type": "error"
12172
- },
12173
- {
12174
- "inputs": [],
12175
- "name": "MarketAlreadyExists",
12176
- "type": "error"
12177
- },
12178
- {
12179
- "inputs": [],
12180
- "name": "MarketNotSupported",
12181
- "type": "error"
12182
- },
12183
- {
12184
- "inputs": [
12185
- {
12186
- "internalType": "uint256",
12187
- "name": "loopsLimit",
12188
- "type": "uint256"
12189
- },
12190
- {
12191
- "internalType": "uint256",
12192
- "name": "requiredLoops",
12193
- "type": "uint256"
12194
- }
12195
- ],
12196
- "name": "MaxLoopsLimitExceeded",
12197
- "type": "error"
12198
- },
12199
- {
12200
- "inputs": [],
12201
- "name": "NoScoreUpdatesRequired",
12202
- "type": "error"
12203
- },
12204
- {
12205
- "inputs": [
12206
- {
12207
- "internalType": "address",
12208
- "name": "sender",
12209
- "type": "address"
12210
- },
12211
- {
12212
- "internalType": "address",
12213
- "name": "calledContract",
12214
- "type": "address"
12215
- },
12216
- {
12217
- "internalType": "string",
12218
- "name": "methodSignature",
12219
- "type": "string"
12220
- }
12221
- ],
12222
- "name": "Unauthorized",
12223
- "type": "error"
12224
- },
12225
- {
12226
- "inputs": [],
12227
- "name": "UserHasNoPrimeToken",
12228
- "type": "error"
12229
- },
12230
- {
12231
- "inputs": [],
12232
- "name": "WaitMoreTime",
12233
- "type": "error"
12234
- },
12235
- {
12236
- "anonymous": false,
12237
- "inputs": [
12238
- {
12239
- "indexed": true,
12240
- "internalType": "uint128",
12241
- "name": "oldNumerator",
12242
- "type": "uint128"
12243
- },
12244
- {
12245
- "indexed": true,
12246
- "internalType": "uint128",
12247
- "name": "oldDenominator",
12248
- "type": "uint128"
12249
- },
12250
- {
12251
- "indexed": true,
12252
- "internalType": "uint128",
12253
- "name": "newNumerator",
12254
- "type": "uint128"
12255
- },
12256
- {
12257
- "indexed": false,
12258
- "internalType": "uint128",
12259
- "name": "newDenominator",
12260
- "type": "uint128"
12261
- }
12262
- ],
12263
- "name": "AlphaUpdated",
12264
- "type": "event"
12265
- },
12266
- {
12267
- "anonymous": false,
12268
- "inputs": [
12269
- {
12270
- "indexed": true,
12271
- "internalType": "address",
12272
- "name": "user",
12273
- "type": "address"
12274
- }
12275
- ],
12276
- "name": "Burn",
12277
- "type": "event"
12278
- },
12279
- {
12280
- "anonymous": false,
12281
- "inputs": [
12282
- {
12283
- "indexed": false,
12284
- "internalType": "uint8",
12285
- "name": "version",
12286
- "type": "uint8"
12287
- }
12288
- ],
12289
- "name": "Initialized",
12290
- "type": "event"
12291
- },
12292
- {
12293
- "anonymous": false,
12294
- "inputs": [
12295
- {
12296
- "indexed": true,
12297
- "internalType": "address",
12298
- "name": "user",
12299
- "type": "address"
12300
- },
12301
- {
12302
- "indexed": true,
12303
- "internalType": "address",
12304
- "name": "market",
12305
- "type": "address"
12306
- },
12307
- {
12308
- "indexed": false,
12309
- "internalType": "uint256",
12310
- "name": "amount",
12311
- "type": "uint256"
12312
- }
12313
- ],
12314
- "name": "InterestClaimed",
12315
- "type": "event"
12316
- },
12317
- {
12318
- "anonymous": false,
12319
- "inputs": [
12320
- {
12321
- "indexed": true,
12322
- "internalType": "address",
12323
- "name": "market",
12324
- "type": "address"
12325
- },
12326
- {
12327
- "indexed": true,
12328
- "internalType": "uint256",
12329
- "name": "supplyMultiplier",
12330
- "type": "uint256"
12331
- },
12332
- {
12333
- "indexed": true,
12334
- "internalType": "uint256",
12335
- "name": "borrowMultiplier",
12336
- "type": "uint256"
12337
- }
12338
- ],
12339
- "name": "MarketAdded",
12340
- "type": "event"
12341
- },
12342
- {
12343
- "anonymous": false,
12344
- "inputs": [
12345
- {
12346
- "indexed": false,
12347
- "internalType": "uint256",
12348
- "name": "oldMaxLoopsLimit",
12349
- "type": "uint256"
12350
- },
12351
- {
12352
- "indexed": false,
12353
- "internalType": "uint256",
12354
- "name": "newmaxLoopsLimit",
12355
- "type": "uint256"
12356
- }
12357
- ],
12358
- "name": "MaxLoopsLimitUpdated",
12359
- "type": "event"
12360
- },
12361
- {
12362
- "anonymous": false,
12363
- "inputs": [
12364
- {
12365
- "indexed": true,
12366
- "internalType": "address",
12367
- "name": "user",
12368
- "type": "address"
12369
- },
12370
- {
12371
- "indexed": false,
12372
- "internalType": "bool",
12373
- "name": "isIrrevocable",
12374
- "type": "bool"
12375
- }
12376
- ],
12377
- "name": "Mint",
12378
- "type": "event"
12379
- },
12380
- {
12381
- "anonymous": false,
12382
- "inputs": [
12383
- {
12384
- "indexed": true,
12385
- "internalType": "uint256",
12386
- "name": "oldIrrevocableLimit",
12387
- "type": "uint256"
12388
- },
12389
- {
12390
- "indexed": true,
12391
- "internalType": "uint256",
12392
- "name": "oldRevocableLimit",
12393
- "type": "uint256"
12394
- },
12395
- {
12396
- "indexed": true,
12397
- "internalType": "uint256",
12398
- "name": "newIrrevocableLimit",
12399
- "type": "uint256"
12400
- },
12401
- {
12402
- "indexed": false,
12403
- "internalType": "uint256",
12404
- "name": "newRevocableLimit",
12405
- "type": "uint256"
12406
- }
12407
- ],
12408
- "name": "MintLimitsUpdated",
12409
- "type": "event"
12410
- },
12411
- {
12412
- "anonymous": false,
12413
- "inputs": [
12414
- {
12415
- "indexed": true,
12416
- "internalType": "address",
12417
- "name": "market",
12418
- "type": "address"
12419
- },
12420
- {
12421
- "indexed": true,
12422
- "internalType": "uint256",
12423
- "name": "oldSupplyMultiplier",
12424
- "type": "uint256"
12425
- },
12426
- {
12427
- "indexed": true,
12428
- "internalType": "uint256",
12429
- "name": "oldBorrowMultiplier",
12430
- "type": "uint256"
12431
- },
12432
- {
12433
- "indexed": false,
12434
- "internalType": "uint256",
12435
- "name": "newSupplyMultiplier",
12436
- "type": "uint256"
12437
- },
12438
- {
12439
- "indexed": false,
12440
- "internalType": "uint256",
12441
- "name": "newBorrowMultiplier",
12442
- "type": "uint256"
12443
- }
12444
- ],
12445
- "name": "MultiplierUpdated",
12446
- "type": "event"
12447
- },
12448
- {
12449
- "anonymous": false,
12450
- "inputs": [
12451
- {
12452
- "indexed": false,
12453
- "internalType": "address",
12454
- "name": "oldAccessControlManager",
12455
- "type": "address"
12456
- },
12457
- {
12458
- "indexed": false,
12459
- "internalType": "address",
12460
- "name": "newAccessControlManager",
12461
- "type": "address"
12462
- }
12463
- ],
12464
- "name": "NewAccessControlManager",
12465
- "type": "event"
12466
- },
12467
- {
12468
- "anonymous": false,
12469
- "inputs": [
12470
- {
12471
- "indexed": true,
12472
- "internalType": "address",
12473
- "name": "previousOwner",
12474
- "type": "address"
12475
- },
12476
- {
12477
- "indexed": true,
12478
- "internalType": "address",
12479
- "name": "newOwner",
12480
- "type": "address"
12481
- }
12482
- ],
12483
- "name": "OwnershipTransferStarted",
12484
- "type": "event"
12485
- },
12486
- {
12487
- "anonymous": false,
12488
- "inputs": [
12489
- {
12490
- "indexed": true,
12491
- "internalType": "address",
12492
- "name": "previousOwner",
12493
- "type": "address"
12494
- },
12495
- {
12496
- "indexed": true,
12497
- "internalType": "address",
12498
- "name": "newOwner",
12499
- "type": "address"
12500
- }
12501
- ],
12502
- "name": "OwnershipTransferred",
12503
- "type": "event"
12504
- },
12505
- {
12506
- "anonymous": false,
12507
- "inputs": [
12508
- {
12509
- "indexed": false,
12510
- "internalType": "address",
12511
- "name": "account",
12512
- "type": "address"
12513
- }
12514
- ],
12515
- "name": "Paused",
12516
- "type": "event"
12517
- },
12518
- {
12519
- "anonymous": false,
12520
- "inputs": [
12521
- {
12522
- "indexed": true,
12523
- "internalType": "address",
12524
- "name": "user",
12525
- "type": "address"
12526
- },
12527
- {
12528
- "indexed": false,
12529
- "internalType": "uint256",
12530
- "name": "timestamp",
12531
- "type": "uint256"
12532
- }
12533
- ],
12534
- "name": "StakedAtUpdated",
12535
- "type": "event"
12536
- },
12537
- {
12538
- "anonymous": false,
12539
- "inputs": [
12540
- {
12541
- "indexed": true,
12542
- "internalType": "address",
12543
- "name": "user",
12544
- "type": "address"
12545
- }
12546
- ],
12547
- "name": "TokenUpgraded",
12548
- "type": "event"
12549
- },
12550
- {
12551
- "anonymous": false,
12552
- "inputs": [
12553
- {
12554
- "indexed": false,
12555
- "internalType": "address",
12556
- "name": "account",
12557
- "type": "address"
12558
- }
12559
- ],
12560
- "name": "Unpaused",
12561
- "type": "event"
12562
- },
12563
- {
12564
- "anonymous": false,
12565
- "inputs": [
12566
- {
12567
- "indexed": true,
12568
- "internalType": "address",
12569
- "name": "user",
12570
- "type": "address"
12571
- }
12572
- ],
12573
- "name": "UserScoreUpdated",
12574
- "type": "event"
12575
- },
12576
- {
12577
- "inputs": [],
12578
- "name": "BLOCKS_PER_YEAR",
12579
- "outputs": [
12580
- {
12581
- "internalType": "uint256",
12582
- "name": "",
12583
- "type": "uint256"
12584
- }
12585
- ],
12586
- "stateMutability": "view",
12587
- "type": "function"
12588
- },
12589
- {
12590
- "inputs": [],
12591
- "name": "MAXIMUM_XVS_CAP",
12592
- "outputs": [
12593
- {
12594
- "internalType": "uint256",
12595
- "name": "",
12596
- "type": "uint256"
12597
- }
12598
- ],
12599
- "stateMutability": "view",
12600
- "type": "function"
12601
- },
12602
- {
12603
- "inputs": [],
12604
- "name": "MINIMUM_STAKED_XVS",
12605
- "outputs": [
12606
- {
12607
- "internalType": "uint256",
12608
- "name": "",
12609
- "type": "uint256"
12610
- }
12611
- ],
12612
- "stateMutability": "view",
12613
- "type": "function"
12614
- },
12615
- {
12616
- "inputs": [],
12617
- "name": "STAKING_PERIOD",
12618
- "outputs": [
12619
- {
12620
- "internalType": "uint256",
12621
- "name": "",
12622
- "type": "uint256"
12623
- }
12624
- ],
12625
- "stateMutability": "view",
12626
- "type": "function"
12627
- },
12628
- {
12629
- "inputs": [],
12630
- "name": "VBNB",
12631
- "outputs": [
12632
- {
12633
- "internalType": "address",
12634
- "name": "",
12635
- "type": "address"
12636
- }
12637
- ],
12638
- "stateMutability": "view",
12639
- "type": "function"
12640
- },
12641
- {
12642
- "inputs": [],
12643
- "name": "WBNB",
12644
- "outputs": [
12645
- {
12646
- "internalType": "address",
12647
- "name": "",
12648
- "type": "address"
12649
- }
12650
- ],
12651
- "stateMutability": "view",
12652
- "type": "function"
12653
- },
12654
- {
12655
- "inputs": [],
12656
- "name": "acceptOwnership",
12657
- "outputs": [],
12658
- "stateMutability": "nonpayable",
12659
- "type": "function"
12660
- },
12661
- {
12662
- "inputs": [],
12663
- "name": "accessControlManager",
12664
- "outputs": [
12665
- {
12666
- "internalType": "contract IAccessControlManagerV8",
12667
- "name": "",
12668
- "type": "address"
12669
- }
12670
- ],
12671
- "stateMutability": "view",
12672
- "type": "function"
12673
- },
12674
- {
12675
- "inputs": [
12676
- {
12677
- "internalType": "address",
12678
- "name": "vToken",
12679
- "type": "address"
12680
- }
12681
- ],
12682
- "name": "accrueInterest",
12683
- "outputs": [],
12684
- "stateMutability": "nonpayable",
12685
- "type": "function"
12686
- },
12687
- {
12688
- "inputs": [
12689
- {
12690
- "internalType": "address",
12691
- "name": "user",
12692
- "type": "address"
12693
- },
12694
- {
12695
- "internalType": "address",
12696
- "name": "market",
12697
- "type": "address"
12698
- }
12699
- ],
12700
- "name": "accrueInterestAndUpdateScore",
12701
- "outputs": [],
12702
- "stateMutability": "nonpayable",
12703
- "type": "function"
12704
- },
12705
- {
12706
- "inputs": [
12707
- {
12708
- "internalType": "address",
12709
- "name": "market",
12710
- "type": "address"
12711
- },
12712
- {
12713
- "internalType": "uint256",
12714
- "name": "supplyMultiplier",
12715
- "type": "uint256"
12716
- },
12717
- {
12718
- "internalType": "uint256",
12719
- "name": "borrowMultiplier",
12720
- "type": "uint256"
12721
- }
12722
- ],
12723
- "name": "addMarket",
12724
- "outputs": [],
12725
- "stateMutability": "nonpayable",
12726
- "type": "function"
12727
- },
12728
- {
12729
- "inputs": [],
12730
- "name": "alphaDenominator",
12731
- "outputs": [
12732
- {
12733
- "internalType": "uint128",
12734
- "name": "",
12735
- "type": "uint128"
12736
- }
12737
- ],
12738
- "stateMutability": "view",
12739
- "type": "function"
12740
- },
12741
- {
12742
- "inputs": [],
12743
- "name": "alphaNumerator",
12744
- "outputs": [
12745
- {
12746
- "internalType": "uint128",
12747
- "name": "",
12748
- "type": "uint128"
12749
- }
12750
- ],
12751
- "stateMutability": "view",
12752
- "type": "function"
12753
- },
12754
- {
12755
- "inputs": [
12756
- {
12757
- "internalType": "address",
12758
- "name": "user",
12759
- "type": "address"
12760
- }
12761
- ],
12762
- "name": "burn",
12763
- "outputs": [],
12764
- "stateMutability": "nonpayable",
12765
- "type": "function"
12766
- },
12767
- {
12768
- "inputs": [
12769
- {
12770
- "internalType": "address",
12771
- "name": "market",
12772
- "type": "address"
12773
- },
12774
- {
12775
- "internalType": "address",
12776
- "name": "user",
12777
- "type": "address"
12778
- }
12779
- ],
12780
- "name": "calculateAPR",
12781
- "outputs": [
12782
- {
12783
- "internalType": "uint256",
12784
- "name": "supplyAPR",
12785
- "type": "uint256"
12786
- },
12787
- {
12788
- "internalType": "uint256",
12789
- "name": "borrowAPR",
12790
- "type": "uint256"
12791
- }
12792
- ],
12793
- "stateMutability": "view",
12794
- "type": "function"
12795
- },
12796
- {
12797
- "inputs": [],
12798
- "name": "claim",
12799
- "outputs": [],
12800
- "stateMutability": "nonpayable",
12801
- "type": "function"
12802
- },
12803
- {
12804
- "inputs": [
12805
- {
12806
- "internalType": "address",
12807
- "name": "vToken",
12808
- "type": "address"
12809
- }
12810
- ],
12811
- "name": "claimInterest",
12812
- "outputs": [
12813
- {
12814
- "internalType": "uint256",
12815
- "name": "",
12816
- "type": "uint256"
12817
- }
12818
- ],
12819
- "stateMutability": "nonpayable",
12820
- "type": "function"
12821
- },
12822
- {
12823
- "inputs": [
12824
- {
12825
- "internalType": "address",
12826
- "name": "vToken",
12827
- "type": "address"
12828
- },
12829
- {
12830
- "internalType": "address",
12831
- "name": "user",
12832
- "type": "address"
12833
- }
12834
- ],
12835
- "name": "claimInterest",
12836
- "outputs": [
12837
- {
12838
- "internalType": "uint256",
12839
- "name": "",
12840
- "type": "uint256"
12841
- }
12842
- ],
12843
- "stateMutability": "nonpayable",
12844
- "type": "function"
12845
- },
12846
- {
12847
- "inputs": [
12848
- {
12849
- "internalType": "address",
12850
- "name": "user",
12851
- "type": "address"
12852
- }
12853
- ],
12854
- "name": "claimTimeRemaining",
12855
- "outputs": [
12856
- {
12857
- "internalType": "uint256",
12858
- "name": "",
12859
- "type": "uint256"
12860
- }
12861
- ],
12862
- "stateMutability": "view",
12863
- "type": "function"
12864
- },
12865
- {
12866
- "inputs": [],
12867
- "name": "comptroller",
12868
- "outputs": [
12869
- {
12870
- "internalType": "address",
12871
- "name": "",
12872
- "type": "address"
12873
- }
12874
- ],
12875
- "stateMutability": "view",
12876
- "type": "function"
12877
- },
12878
- {
12879
- "inputs": [
12880
- {
12881
- "internalType": "address",
12882
- "name": "market",
12883
- "type": "address"
12884
- },
12885
- {
12886
- "internalType": "address",
12887
- "name": "user",
12888
- "type": "address"
12889
- },
12890
- {
12891
- "internalType": "uint256",
12892
- "name": "borrow",
12893
- "type": "uint256"
12894
- },
12895
- {
12896
- "internalType": "uint256",
12897
- "name": "supply",
12898
- "type": "uint256"
12899
- },
12900
- {
12901
- "internalType": "uint256",
12902
- "name": "xvsStaked",
12903
- "type": "uint256"
12904
- }
12905
- ],
12906
- "name": "estimateAPR",
12907
- "outputs": [
12908
- {
12909
- "internalType": "uint256",
12910
- "name": "supplyAPR",
12911
- "type": "uint256"
12912
- },
12913
- {
12914
- "internalType": "uint256",
12915
- "name": "borrowAPR",
12916
- "type": "uint256"
12917
- }
12918
- ],
12919
- "stateMutability": "view",
12920
- "type": "function"
12921
- },
12922
- {
12923
- "inputs": [],
12924
- "name": "getAllMarkets",
12925
- "outputs": [
12926
- {
12927
- "internalType": "address[]",
12928
- "name": "",
12929
- "type": "address[]"
12930
- }
12931
- ],
12932
- "stateMutability": "view",
12933
- "type": "function"
12934
- },
12935
- {
12936
- "inputs": [
12937
- {
12938
- "internalType": "address",
12939
- "name": "vToken",
12940
- "type": "address"
12941
- },
12942
- {
12943
- "internalType": "address",
12944
- "name": "user",
12945
- "type": "address"
12946
- }
12947
- ],
12948
- "name": "getInterestAccrued",
12949
- "outputs": [
12950
- {
12951
- "internalType": "uint256",
12952
- "name": "",
12953
- "type": "uint256"
12954
- }
12955
- ],
12956
- "stateMutability": "nonpayable",
12957
- "type": "function"
12958
- },
12959
- {
12960
- "inputs": [
12961
- {
12962
- "internalType": "address",
12963
- "name": "user",
12964
- "type": "address"
12965
- }
12966
- ],
12967
- "name": "getPendingRewards",
12968
- "outputs": [
12969
- {
12970
- "components": [
12971
- {
12972
- "internalType": "address",
12973
- "name": "vToken",
12974
- "type": "address"
12975
- },
12976
- {
12977
- "internalType": "address",
12978
- "name": "rewardToken",
12979
- "type": "address"
12980
- },
12981
- {
12982
- "internalType": "uint256",
12983
- "name": "amount",
12984
- "type": "uint256"
12985
- }
12986
- ],
12987
- "internalType": "struct PrimeStorageV1.PendingReward[]",
12988
- "name": "pendingRewards",
12989
- "type": "tuple[]"
12990
- }
12991
- ],
12992
- "stateMutability": "nonpayable",
12993
- "type": "function"
12994
- },
12995
- {
12996
- "inputs": [
12997
- {
12998
- "internalType": "address",
12999
- "name": "xvsVault_",
13000
- "type": "address"
13001
- },
13002
- {
13003
- "internalType": "address",
13004
- "name": "xvsVaultRewardToken_",
13005
- "type": "address"
13006
- },
13007
- {
13008
- "internalType": "uint256",
13009
- "name": "xvsVaultPoolId_",
13010
- "type": "uint256"
13011
- },
13012
- {
13013
- "internalType": "uint128",
13014
- "name": "alphaNumerator_",
13015
- "type": "uint128"
13016
- },
13017
- {
13018
- "internalType": "uint128",
13019
- "name": "alphaDenominator_",
13020
- "type": "uint128"
13021
- },
13022
- {
13023
- "internalType": "address",
13024
- "name": "accessControlManager_",
13025
- "type": "address"
13026
- },
13027
- {
13028
- "internalType": "address",
13029
- "name": "primeLiquidityProvider_",
13030
- "type": "address"
13031
- },
13032
- {
13033
- "internalType": "address",
13034
- "name": "comptroller_",
13035
- "type": "address"
13036
- },
13037
- {
13038
- "internalType": "address",
13039
- "name": "oracle_",
13040
- "type": "address"
13041
- },
13042
- {
13043
- "internalType": "uint256",
13044
- "name": "loopsLimit_",
13045
- "type": "uint256"
13046
- }
13047
- ],
13048
- "name": "initialize",
13049
- "outputs": [],
13050
- "stateMutability": "nonpayable",
13051
- "type": "function"
13052
- },
13053
- {
13054
- "inputs": [
13055
- {
13056
- "internalType": "address",
13057
- "name": "",
13058
- "type": "address"
13059
- },
13060
- {
13061
- "internalType": "address",
13062
- "name": "",
13063
- "type": "address"
13064
- }
13065
- ],
13066
- "name": "interests",
13067
- "outputs": [
13068
- {
13069
- "internalType": "uint256",
13070
- "name": "accrued",
13071
- "type": "uint256"
13072
- },
13073
- {
13074
- "internalType": "uint256",
13075
- "name": "score",
13076
- "type": "uint256"
13077
- },
13078
- {
13079
- "internalType": "uint256",
13080
- "name": "rewardIndex",
13081
- "type": "uint256"
13082
- }
13083
- ],
13084
- "stateMutability": "view",
13085
- "type": "function"
13086
- },
13087
- {
13088
- "inputs": [],
13089
- "name": "irrevocableLimit",
13090
- "outputs": [
13091
- {
13092
- "internalType": "uint256",
13093
- "name": "",
13094
- "type": "uint256"
13095
- }
13096
- ],
13097
- "stateMutability": "view",
13098
- "type": "function"
13099
- },
13100
- {
13101
- "inputs": [
13102
- {
13103
- "internalType": "uint256",
13104
- "name": "",
13105
- "type": "uint256"
13106
- },
13107
- {
13108
- "internalType": "address",
13109
- "name": "",
13110
- "type": "address"
13111
- }
13112
- ],
13113
- "name": "isScoreUpdated",
13114
- "outputs": [
13115
- {
13116
- "internalType": "bool",
13117
- "name": "",
13118
- "type": "bool"
13119
- }
13120
- ],
13121
- "stateMutability": "view",
13122
- "type": "function"
13123
- },
13124
- {
13125
- "inputs": [
13126
- {
13127
- "internalType": "bool",
13128
- "name": "isIrrevocable",
13129
- "type": "bool"
13130
- },
13131
- {
13132
- "internalType": "address[]",
13133
- "name": "users",
13134
- "type": "address[]"
13135
- }
13136
- ],
13137
- "name": "issue",
13138
- "outputs": [],
13139
- "stateMutability": "nonpayable",
13140
- "type": "function"
13141
- },
13142
- {
13143
- "inputs": [
13144
- {
13145
- "internalType": "address",
13146
- "name": "",
13147
- "type": "address"
13148
- }
13149
- ],
13150
- "name": "markets",
13151
- "outputs": [
13152
- {
13153
- "internalType": "uint256",
13154
- "name": "supplyMultiplier",
13155
- "type": "uint256"
13156
- },
13157
- {
13158
- "internalType": "uint256",
13159
- "name": "borrowMultiplier",
13160
- "type": "uint256"
13161
- },
13162
- {
13163
- "internalType": "uint256",
13164
- "name": "rewardIndex",
13165
- "type": "uint256"
13166
- },
13167
- {
13168
- "internalType": "uint256",
13169
- "name": "sumOfMembersScore",
13170
- "type": "uint256"
13171
- },
13172
- {
13173
- "internalType": "bool",
13174
- "name": "exists",
13175
- "type": "bool"
13176
- }
13177
- ],
13178
- "stateMutability": "view",
13179
- "type": "function"
13180
- },
13181
- {
13182
- "inputs": [],
13183
- "name": "maxLoopsLimit",
13184
- "outputs": [
13185
- {
13186
- "internalType": "uint256",
13187
- "name": "",
13188
- "type": "uint256"
13189
- }
13190
- ],
13191
- "stateMutability": "view",
13192
- "type": "function"
13193
- },
13194
- {
13195
- "inputs": [],
13196
- "name": "nextScoreUpdateRoundId",
13197
- "outputs": [
13198
- {
13199
- "internalType": "uint256",
13200
- "name": "",
13201
- "type": "uint256"
13202
- }
13203
- ],
13204
- "stateMutability": "view",
13205
- "type": "function"
13206
- },
13207
- {
13208
- "inputs": [],
13209
- "name": "oracle",
13210
- "outputs": [
13211
- {
13212
- "internalType": "contract ResilientOracleInterface",
13213
- "name": "",
13214
- "type": "address"
13215
- }
13216
- ],
13217
- "stateMutability": "view",
13218
- "type": "function"
13219
- },
13220
- {
13221
- "inputs": [],
13222
- "name": "owner",
13223
- "outputs": [
13224
- {
13225
- "internalType": "address",
13226
- "name": "",
13227
- "type": "address"
13228
- }
13229
- ],
13230
- "stateMutability": "view",
13231
- "type": "function"
13232
- },
13233
- {
13234
- "inputs": [],
13235
- "name": "paused",
13236
- "outputs": [
13237
- {
13238
- "internalType": "bool",
13239
- "name": "",
13240
- "type": "bool"
13241
- }
13242
- ],
13243
- "stateMutability": "view",
13244
- "type": "function"
13245
- },
13246
- {
13247
- "inputs": [],
13248
- "name": "pendingOwner",
13249
- "outputs": [
13250
- {
13251
- "internalType": "address",
13252
- "name": "",
13253
- "type": "address"
13254
- }
13255
- ],
13256
- "stateMutability": "view",
13257
- "type": "function"
13258
- },
13259
- {
13260
- "inputs": [],
13261
- "name": "pendingScoreUpdates",
13262
- "outputs": [
13263
- {
13264
- "internalType": "uint256",
13265
- "name": "",
13266
- "type": "uint256"
13267
- }
13268
- ],
13269
- "stateMutability": "view",
13270
- "type": "function"
13271
- },
13272
- {
13273
- "inputs": [],
13274
- "name": "primeLiquidityProvider",
13275
- "outputs": [
13276
- {
13277
- "internalType": "address",
13278
- "name": "",
13279
- "type": "address"
13280
- }
13281
- ],
13282
- "stateMutability": "view",
13283
- "type": "function"
13284
- },
13285
- {
13286
- "inputs": [],
13287
- "name": "renounceOwnership",
13288
- "outputs": [],
13289
- "stateMutability": "nonpayable",
13290
- "type": "function"
13291
- },
13292
- {
13293
- "inputs": [],
13294
- "name": "revocableLimit",
13295
- "outputs": [
13296
- {
13297
- "internalType": "uint256",
13298
- "name": "",
13299
- "type": "uint256"
13300
- }
13301
- ],
13302
- "stateMutability": "view",
13303
- "type": "function"
13304
- },
13305
- {
13306
- "inputs": [
13307
- {
13308
- "internalType": "address",
13309
- "name": "accessControlManager_",
13310
- "type": "address"
13311
- }
13312
- ],
13313
- "name": "setAccessControlManager",
13314
- "outputs": [],
13315
- "stateMutability": "nonpayable",
13316
- "type": "function"
13317
- },
13318
- {
13319
- "inputs": [
13320
- {
13321
- "internalType": "uint256",
13322
- "name": "_irrevocableLimit",
13323
- "type": "uint256"
13324
- },
13325
- {
13326
- "internalType": "uint256",
13327
- "name": "_revocableLimit",
13328
- "type": "uint256"
13329
- }
13330
- ],
13331
- "name": "setLimit",
13332
- "outputs": [],
13333
- "stateMutability": "nonpayable",
13334
- "type": "function"
13335
- },
13336
- {
13337
- "inputs": [
13338
- {
13339
- "internalType": "uint256",
13340
- "name": "loopsLimit",
13341
- "type": "uint256"
13342
- }
13343
- ],
13344
- "name": "setMaxLoopsLimit",
13345
- "outputs": [],
13346
- "stateMutability": "nonpayable",
13347
- "type": "function"
13348
- },
13349
- {
13350
- "inputs": [
13351
- {
13352
- "internalType": "address[]",
13353
- "name": "users",
13354
- "type": "address[]"
13355
- },
13356
- {
13357
- "internalType": "uint256[]",
13358
- "name": "timestamps",
13359
- "type": "uint256[]"
13360
- }
13361
- ],
13362
- "name": "setStakedAt",
13363
- "outputs": [],
13364
- "stateMutability": "nonpayable",
13365
- "type": "function"
13366
- },
13367
- {
13368
- "inputs": [
13369
- {
13370
- "internalType": "address",
13371
- "name": "",
13372
- "type": "address"
13373
- }
13374
- ],
13375
- "name": "stakedAt",
13376
- "outputs": [
13377
- {
13378
- "internalType": "uint256",
13379
- "name": "",
13380
- "type": "uint256"
13381
- }
13382
- ],
13383
- "stateMutability": "view",
13384
- "type": "function"
13385
- },
13386
- {
13387
- "inputs": [],
13388
- "name": "togglePause",
13389
- "outputs": [],
13390
- "stateMutability": "nonpayable",
13391
- "type": "function"
13392
- },
13393
- {
13394
- "inputs": [
13395
- {
13396
- "internalType": "address",
13397
- "name": "",
13398
- "type": "address"
13399
- }
13400
- ],
13401
- "name": "tokens",
13402
- "outputs": [
13403
- {
13404
- "internalType": "bool",
13405
- "name": "exists",
13406
- "type": "bool"
13407
- },
13408
- {
13409
- "internalType": "bool",
13410
- "name": "isIrrevocable",
13411
- "type": "bool"
13412
- }
13413
- ],
13414
- "stateMutability": "view",
13415
- "type": "function"
13416
- },
13417
- {
13418
- "inputs": [],
13419
- "name": "totalIrrevocable",
13420
- "outputs": [
13421
- {
13422
- "internalType": "uint256",
13423
- "name": "",
13424
- "type": "uint256"
13425
- }
13426
- ],
13427
- "stateMutability": "view",
13428
- "type": "function"
13429
- },
13430
- {
13431
- "inputs": [],
13432
- "name": "totalRevocable",
13433
- "outputs": [
13434
- {
13435
- "internalType": "uint256",
13436
- "name": "",
13437
- "type": "uint256"
13438
- }
13439
- ],
13440
- "stateMutability": "view",
13441
- "type": "function"
13442
- },
13443
- {
13444
- "inputs": [],
13445
- "name": "totalScoreUpdatesRequired",
13446
- "outputs": [
13447
- {
13448
- "internalType": "uint256",
13449
- "name": "",
13450
- "type": "uint256"
13451
- }
13452
- ],
13453
- "stateMutability": "view",
13454
- "type": "function"
13455
- },
13456
- {
13457
- "inputs": [
13458
- {
13459
- "internalType": "address",
13460
- "name": "newOwner",
13461
- "type": "address"
13462
- }
13463
- ],
13464
- "name": "transferOwnership",
13465
- "outputs": [],
13466
- "stateMutability": "nonpayable",
13467
- "type": "function"
13468
- },
13469
- {
13470
- "inputs": [
13471
- {
13472
- "internalType": "address",
13473
- "name": "",
13474
- "type": "address"
13475
- }
13476
- ],
13477
- "name": "unreleasedPLPIncome",
13478
- "outputs": [
13479
- {
13480
- "internalType": "uint256",
13481
- "name": "",
13482
- "type": "uint256"
13483
- }
13484
- ],
13485
- "stateMutability": "view",
13486
- "type": "function"
13487
- },
13488
- {
13489
- "inputs": [
13490
- {
13491
- "internalType": "uint128",
13492
- "name": "_alphaNumerator",
13493
- "type": "uint128"
13494
- },
13495
- {
13496
- "internalType": "uint128",
13497
- "name": "_alphaDenominator",
13498
- "type": "uint128"
13499
- }
13500
- ],
13501
- "name": "updateAlpha",
13502
- "outputs": [],
13503
- "stateMutability": "nonpayable",
13504
- "type": "function"
13505
- },
13506
- {
13507
- "inputs": [
13508
- {
13509
- "internalType": "address",
13510
- "name": "market",
13511
- "type": "address"
13512
- },
13513
- {
13514
- "internalType": "uint256",
13515
- "name": "supplyMultiplier",
13516
- "type": "uint256"
13517
- },
13518
- {
13519
- "internalType": "uint256",
13520
- "name": "borrowMultiplier",
13521
- "type": "uint256"
13522
- }
13523
- ],
13524
- "name": "updateMultipliers",
13525
- "outputs": [],
13526
- "stateMutability": "nonpayable",
13527
- "type": "function"
13528
- },
13529
- {
13530
- "inputs": [
13531
- {
13532
- "internalType": "address[]",
13533
- "name": "users",
13534
- "type": "address[]"
13535
- }
13536
- ],
13537
- "name": "updateScores",
13538
- "outputs": [],
13539
- "stateMutability": "nonpayable",
13540
- "type": "function"
13541
- },
13542
- {
13543
- "inputs": [
13544
- {
13545
- "internalType": "address",
13546
- "name": "",
13547
- "type": "address"
13548
- }
13549
- ],
13550
- "name": "vTokenForAsset",
13551
- "outputs": [
13552
- {
13553
- "internalType": "address",
13554
- "name": "",
13555
- "type": "address"
13556
- }
13557
- ],
13558
- "stateMutability": "view",
13559
- "type": "function"
13560
- },
13561
- {
13562
- "inputs": [
13563
- {
13564
- "internalType": "address",
13565
- "name": "user",
13566
- "type": "address"
13567
- }
13568
- ],
13569
- "name": "xvsUpdated",
13570
- "outputs": [],
13571
- "stateMutability": "nonpayable",
13572
- "type": "function"
13573
- },
13574
- {
13575
- "inputs": [],
13576
- "name": "xvsVault",
13577
- "outputs": [
13578
- {
13579
- "internalType": "address",
13580
- "name": "",
13581
- "type": "address"
13582
- }
13583
- ],
13584
- "stateMutability": "view",
13585
- "type": "function"
13586
- },
13587
- {
13588
- "inputs": [],
13589
- "name": "xvsVaultPoolId",
13590
- "outputs": [
13591
- {
13592
- "internalType": "uint256",
13593
- "name": "",
13594
- "type": "uint256"
13595
- }
13596
- ],
13597
- "stateMutability": "view",
13598
- "type": "function"
13599
- },
13600
- {
13601
- "inputs": [],
13602
- "name": "xvsVaultRewardToken",
13603
- "outputs": [
13604
- {
13605
- "internalType": "address",
13606
- "name": "",
13607
- "type": "address"
13608
- }
13609
- ],
13610
- "stateMutability": "view",
13611
- "type": "function"
13612
- }
13613
- ]
13614
- },
13615
- "PrimeTest_Proxy": {
13616
- "address": "0x6b808c703FEf99BdA96cd447Cde068E196E7aa08",
13617
- "abi": [
13618
- {
13619
- "inputs": [
13620
- {
13621
- "internalType": "address",
13622
- "name": "_logic",
13623
- "type": "address"
13624
- },
13625
- {
13626
- "internalType": "address",
13627
- "name": "admin_",
13628
- "type": "address"
13629
- },
13630
- {
13631
- "internalType": "bytes",
13632
- "name": "_data",
13633
- "type": "bytes"
13634
- }
13635
- ],
13636
- "stateMutability": "payable",
13637
- "type": "constructor"
13638
- },
13639
- {
13640
- "anonymous": false,
13641
- "inputs": [
13642
- {
13643
- "indexed": false,
13644
- "internalType": "address",
13645
- "name": "previousAdmin",
13646
- "type": "address"
13647
- },
13648
- {
13649
- "indexed": false,
13650
- "internalType": "address",
13651
- "name": "newAdmin",
13652
- "type": "address"
13653
- }
13654
- ],
13655
- "name": "AdminChanged",
13656
- "type": "event"
13657
- },
13658
- {
13659
- "anonymous": false,
13660
- "inputs": [
13661
- {
13662
- "indexed": true,
13663
- "internalType": "address",
13664
- "name": "beacon",
13665
- "type": "address"
13666
- }
13667
- ],
13668
- "name": "BeaconUpgraded",
13669
- "type": "event"
13670
- },
13671
- {
13672
- "anonymous": false,
13673
- "inputs": [
13674
- {
13675
- "indexed": true,
13676
- "internalType": "address",
13677
- "name": "implementation",
13678
- "type": "address"
13679
- }
13680
- ],
13681
- "name": "Upgraded",
13682
- "type": "event"
13683
- },
13684
- {
13685
- "stateMutability": "payable",
13686
- "type": "fallback"
13687
- },
13688
- {
13689
- "inputs": [],
13690
- "name": "admin",
13691
- "outputs": [
13692
- {
13693
- "internalType": "address",
13694
- "name": "admin_",
13695
- "type": "address"
13696
- }
13697
- ],
13698
- "stateMutability": "nonpayable",
13699
- "type": "function"
13700
- },
13701
- {
13702
- "inputs": [
13703
- {
13704
- "internalType": "address",
13705
- "name": "newAdmin",
13706
- "type": "address"
13707
- }
13708
- ],
13709
- "name": "changeAdmin",
13710
- "outputs": [],
13711
- "stateMutability": "nonpayable",
13712
- "type": "function"
13713
- },
13714
- {
13715
- "inputs": [],
13716
- "name": "implementation",
13717
- "outputs": [
13718
- {
13719
- "internalType": "address",
13720
- "name": "implementation_",
13721
- "type": "address"
13722
- }
13723
- ],
13724
- "stateMutability": "nonpayable",
13725
- "type": "function"
13726
- },
13727
- {
13728
- "inputs": [
13729
- {
13730
- "internalType": "address",
13731
- "name": "newImplementation",
13732
- "type": "address"
13733
- }
13734
- ],
13735
- "name": "upgradeTo",
13736
- "outputs": [],
13737
- "stateMutability": "nonpayable",
13738
- "type": "function"
13739
- },
13740
- {
13741
- "inputs": [
13742
- {
13743
- "internalType": "address",
13744
- "name": "newImplementation",
13745
- "type": "address"
13746
- },
13747
- {
13748
- "internalType": "bytes",
13749
- "name": "data",
13750
- "type": "bytes"
13751
- }
13752
- ],
13753
- "name": "upgradeToAndCall",
13754
- "outputs": [],
13755
- "stateMutability": "payable",
13756
- "type": "function"
13757
- },
13758
- {
13759
- "stateMutability": "payable",
13760
- "type": "receive"
13761
- }
13762
- ]
13763
- },
13764
10337
  "Prime_Implementation": {
13765
- "address": "0xf41141a3025798D03D08e846F35Ea655371A594a",
10338
+ "address": "0x72C9Bc4433C912ecd8184B3F7dda55Ee25761896",
13766
10339
  "abi": [
13767
10340
  {
13768
10341
  "inputs": [