@venusprotocol/isolated-pools 3.0.0 → 3.1.0-dev.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 (29) hide show
  1. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
  2. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1750bps_jump25000bps_kink8000bps.json +519 -0
  3. package/deployments/bscmainnet/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
  4. package/deployments/bscmainnet.json +642 -4
  5. package/deployments/bscmainnet_addresses.json +2 -0
  6. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
  7. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink8000bps.json +519 -0
  8. package/deployments/ethereum/VToken_vDAI_Core.json +257 -0
  9. package/deployments/ethereum/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
  10. package/deployments/ethereum.json +712 -0
  11. package/deployments/ethereum_addresses.json +3 -0
  12. package/deployments/opbnbmainnet/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
  13. package/deployments/opbnbmainnet/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
  14. package/deployments/opbnbmainnet.json +319 -0
  15. package/deployments/opbnbmainnet_addresses.json +1 -0
  16. package/deployments/sepolia/JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink8000bps.json +519 -0
  17. package/deployments/sepolia/MockDAI.json +458 -0
  18. package/deployments/sepolia/VToken_vDAI_Core.json +257 -0
  19. package/deployments/sepolia/solcInputs/6c20111db935f77a09779b07bf47545e.json +345 -0
  20. package/deployments/sepolia.json +827 -125
  21. package/deployments/sepolia_addresses.json +3 -0
  22. package/dist/deploy/019-deploy-ir-models.d.ts +3 -0
  23. package/dist/deploy/019-deploy-ir-models.js +59 -0
  24. package/dist/deployments/bscmainnet.json +642 -4
  25. package/dist/deployments/ethereum.json +712 -0
  26. package/dist/deployments/opbnbmainnet.json +319 -0
  27. package/dist/deployments/sepolia.json +827 -125
  28. package/dist/helpers/deploymentConfig.js +65 -15
  29. package/package.json +1 -1
@@ -2528,6 +2528,644 @@
2528
2528
  }
2529
2529
  ]
2530
2530
  },
2531
+ "JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps": {
2532
+ "address": "0x508a84311d19fb77E603C1d234d560b2374d0791",
2533
+ "abi": [
2534
+ {
2535
+ "inputs": [
2536
+ {
2537
+ "internalType": "uint256",
2538
+ "name": "blocksPerYear_",
2539
+ "type": "uint256"
2540
+ },
2541
+ {
2542
+ "internalType": "uint256",
2543
+ "name": "baseRatePerYear",
2544
+ "type": "uint256"
2545
+ },
2546
+ {
2547
+ "internalType": "uint256",
2548
+ "name": "multiplierPerYear",
2549
+ "type": "uint256"
2550
+ },
2551
+ {
2552
+ "internalType": "uint256",
2553
+ "name": "jumpMultiplierPerYear",
2554
+ "type": "uint256"
2555
+ },
2556
+ {
2557
+ "internalType": "uint256",
2558
+ "name": "kink_",
2559
+ "type": "uint256"
2560
+ },
2561
+ {
2562
+ "internalType": "contract IAccessControlManagerV8",
2563
+ "name": "accessControlManager_",
2564
+ "type": "address"
2565
+ }
2566
+ ],
2567
+ "stateMutability": "nonpayable",
2568
+ "type": "constructor"
2569
+ },
2570
+ {
2571
+ "inputs": [
2572
+ {
2573
+ "internalType": "address",
2574
+ "name": "sender",
2575
+ "type": "address"
2576
+ },
2577
+ {
2578
+ "internalType": "address",
2579
+ "name": "calledContract",
2580
+ "type": "address"
2581
+ },
2582
+ {
2583
+ "internalType": "string",
2584
+ "name": "methodSignature",
2585
+ "type": "string"
2586
+ }
2587
+ ],
2588
+ "name": "Unauthorized",
2589
+ "type": "error"
2590
+ },
2591
+ {
2592
+ "anonymous": false,
2593
+ "inputs": [
2594
+ {
2595
+ "indexed": false,
2596
+ "internalType": "uint256",
2597
+ "name": "baseRatePerBlock",
2598
+ "type": "uint256"
2599
+ },
2600
+ {
2601
+ "indexed": false,
2602
+ "internalType": "uint256",
2603
+ "name": "multiplierPerBlock",
2604
+ "type": "uint256"
2605
+ },
2606
+ {
2607
+ "indexed": false,
2608
+ "internalType": "uint256",
2609
+ "name": "jumpMultiplierPerBlock",
2610
+ "type": "uint256"
2611
+ },
2612
+ {
2613
+ "indexed": false,
2614
+ "internalType": "uint256",
2615
+ "name": "kink",
2616
+ "type": "uint256"
2617
+ }
2618
+ ],
2619
+ "name": "NewInterestParams",
2620
+ "type": "event"
2621
+ },
2622
+ {
2623
+ "inputs": [],
2624
+ "name": "accessControlManager",
2625
+ "outputs": [
2626
+ {
2627
+ "internalType": "contract IAccessControlManagerV8",
2628
+ "name": "",
2629
+ "type": "address"
2630
+ }
2631
+ ],
2632
+ "stateMutability": "view",
2633
+ "type": "function"
2634
+ },
2635
+ {
2636
+ "inputs": [],
2637
+ "name": "baseRatePerBlock",
2638
+ "outputs": [
2639
+ {
2640
+ "internalType": "uint256",
2641
+ "name": "",
2642
+ "type": "uint256"
2643
+ }
2644
+ ],
2645
+ "stateMutability": "view",
2646
+ "type": "function"
2647
+ },
2648
+ {
2649
+ "inputs": [],
2650
+ "name": "blocksPerYear",
2651
+ "outputs": [
2652
+ {
2653
+ "internalType": "uint256",
2654
+ "name": "",
2655
+ "type": "uint256"
2656
+ }
2657
+ ],
2658
+ "stateMutability": "view",
2659
+ "type": "function"
2660
+ },
2661
+ {
2662
+ "inputs": [
2663
+ {
2664
+ "internalType": "uint256",
2665
+ "name": "cash",
2666
+ "type": "uint256"
2667
+ },
2668
+ {
2669
+ "internalType": "uint256",
2670
+ "name": "borrows",
2671
+ "type": "uint256"
2672
+ },
2673
+ {
2674
+ "internalType": "uint256",
2675
+ "name": "reserves",
2676
+ "type": "uint256"
2677
+ },
2678
+ {
2679
+ "internalType": "uint256",
2680
+ "name": "badDebt",
2681
+ "type": "uint256"
2682
+ }
2683
+ ],
2684
+ "name": "getBorrowRate",
2685
+ "outputs": [
2686
+ {
2687
+ "internalType": "uint256",
2688
+ "name": "",
2689
+ "type": "uint256"
2690
+ }
2691
+ ],
2692
+ "stateMutability": "view",
2693
+ "type": "function"
2694
+ },
2695
+ {
2696
+ "inputs": [
2697
+ {
2698
+ "internalType": "uint256",
2699
+ "name": "cash",
2700
+ "type": "uint256"
2701
+ },
2702
+ {
2703
+ "internalType": "uint256",
2704
+ "name": "borrows",
2705
+ "type": "uint256"
2706
+ },
2707
+ {
2708
+ "internalType": "uint256",
2709
+ "name": "reserves",
2710
+ "type": "uint256"
2711
+ },
2712
+ {
2713
+ "internalType": "uint256",
2714
+ "name": "reserveFactorMantissa",
2715
+ "type": "uint256"
2716
+ },
2717
+ {
2718
+ "internalType": "uint256",
2719
+ "name": "badDebt",
2720
+ "type": "uint256"
2721
+ }
2722
+ ],
2723
+ "name": "getSupplyRate",
2724
+ "outputs": [
2725
+ {
2726
+ "internalType": "uint256",
2727
+ "name": "",
2728
+ "type": "uint256"
2729
+ }
2730
+ ],
2731
+ "stateMutability": "view",
2732
+ "type": "function"
2733
+ },
2734
+ {
2735
+ "inputs": [],
2736
+ "name": "isInterestRateModel",
2737
+ "outputs": [
2738
+ {
2739
+ "internalType": "bool",
2740
+ "name": "",
2741
+ "type": "bool"
2742
+ }
2743
+ ],
2744
+ "stateMutability": "pure",
2745
+ "type": "function"
2746
+ },
2747
+ {
2748
+ "inputs": [],
2749
+ "name": "jumpMultiplierPerBlock",
2750
+ "outputs": [
2751
+ {
2752
+ "internalType": "uint256",
2753
+ "name": "",
2754
+ "type": "uint256"
2755
+ }
2756
+ ],
2757
+ "stateMutability": "view",
2758
+ "type": "function"
2759
+ },
2760
+ {
2761
+ "inputs": [],
2762
+ "name": "kink",
2763
+ "outputs": [
2764
+ {
2765
+ "internalType": "uint256",
2766
+ "name": "",
2767
+ "type": "uint256"
2768
+ }
2769
+ ],
2770
+ "stateMutability": "view",
2771
+ "type": "function"
2772
+ },
2773
+ {
2774
+ "inputs": [],
2775
+ "name": "multiplierPerBlock",
2776
+ "outputs": [
2777
+ {
2778
+ "internalType": "uint256",
2779
+ "name": "",
2780
+ "type": "uint256"
2781
+ }
2782
+ ],
2783
+ "stateMutability": "view",
2784
+ "type": "function"
2785
+ },
2786
+ {
2787
+ "inputs": [
2788
+ {
2789
+ "internalType": "uint256",
2790
+ "name": "baseRatePerYear",
2791
+ "type": "uint256"
2792
+ },
2793
+ {
2794
+ "internalType": "uint256",
2795
+ "name": "multiplierPerYear",
2796
+ "type": "uint256"
2797
+ },
2798
+ {
2799
+ "internalType": "uint256",
2800
+ "name": "jumpMultiplierPerYear",
2801
+ "type": "uint256"
2802
+ },
2803
+ {
2804
+ "internalType": "uint256",
2805
+ "name": "kink_",
2806
+ "type": "uint256"
2807
+ }
2808
+ ],
2809
+ "name": "updateJumpRateModel",
2810
+ "outputs": [],
2811
+ "stateMutability": "nonpayable",
2812
+ "type": "function"
2813
+ },
2814
+ {
2815
+ "inputs": [
2816
+ {
2817
+ "internalType": "uint256",
2818
+ "name": "cash",
2819
+ "type": "uint256"
2820
+ },
2821
+ {
2822
+ "internalType": "uint256",
2823
+ "name": "borrows",
2824
+ "type": "uint256"
2825
+ },
2826
+ {
2827
+ "internalType": "uint256",
2828
+ "name": "reserves",
2829
+ "type": "uint256"
2830
+ },
2831
+ {
2832
+ "internalType": "uint256",
2833
+ "name": "badDebt",
2834
+ "type": "uint256"
2835
+ }
2836
+ ],
2837
+ "name": "utilizationRate",
2838
+ "outputs": [
2839
+ {
2840
+ "internalType": "uint256",
2841
+ "name": "",
2842
+ "type": "uint256"
2843
+ }
2844
+ ],
2845
+ "stateMutability": "pure",
2846
+ "type": "function"
2847
+ }
2848
+ ]
2849
+ },
2850
+ "JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink8000bps": {
2851
+ "address": "0x5C690C694eca13Ac540DD5777a9605503f654033",
2852
+ "abi": [
2853
+ {
2854
+ "inputs": [
2855
+ {
2856
+ "internalType": "uint256",
2857
+ "name": "blocksPerYear_",
2858
+ "type": "uint256"
2859
+ },
2860
+ {
2861
+ "internalType": "uint256",
2862
+ "name": "baseRatePerYear",
2863
+ "type": "uint256"
2864
+ },
2865
+ {
2866
+ "internalType": "uint256",
2867
+ "name": "multiplierPerYear",
2868
+ "type": "uint256"
2869
+ },
2870
+ {
2871
+ "internalType": "uint256",
2872
+ "name": "jumpMultiplierPerYear",
2873
+ "type": "uint256"
2874
+ },
2875
+ {
2876
+ "internalType": "uint256",
2877
+ "name": "kink_",
2878
+ "type": "uint256"
2879
+ },
2880
+ {
2881
+ "internalType": "contract IAccessControlManagerV8",
2882
+ "name": "accessControlManager_",
2883
+ "type": "address"
2884
+ }
2885
+ ],
2886
+ "stateMutability": "nonpayable",
2887
+ "type": "constructor"
2888
+ },
2889
+ {
2890
+ "inputs": [
2891
+ {
2892
+ "internalType": "address",
2893
+ "name": "sender",
2894
+ "type": "address"
2895
+ },
2896
+ {
2897
+ "internalType": "address",
2898
+ "name": "calledContract",
2899
+ "type": "address"
2900
+ },
2901
+ {
2902
+ "internalType": "string",
2903
+ "name": "methodSignature",
2904
+ "type": "string"
2905
+ }
2906
+ ],
2907
+ "name": "Unauthorized",
2908
+ "type": "error"
2909
+ },
2910
+ {
2911
+ "anonymous": false,
2912
+ "inputs": [
2913
+ {
2914
+ "indexed": false,
2915
+ "internalType": "uint256",
2916
+ "name": "baseRatePerBlock",
2917
+ "type": "uint256"
2918
+ },
2919
+ {
2920
+ "indexed": false,
2921
+ "internalType": "uint256",
2922
+ "name": "multiplierPerBlock",
2923
+ "type": "uint256"
2924
+ },
2925
+ {
2926
+ "indexed": false,
2927
+ "internalType": "uint256",
2928
+ "name": "jumpMultiplierPerBlock",
2929
+ "type": "uint256"
2930
+ },
2931
+ {
2932
+ "indexed": false,
2933
+ "internalType": "uint256",
2934
+ "name": "kink",
2935
+ "type": "uint256"
2936
+ }
2937
+ ],
2938
+ "name": "NewInterestParams",
2939
+ "type": "event"
2940
+ },
2941
+ {
2942
+ "inputs": [],
2943
+ "name": "accessControlManager",
2944
+ "outputs": [
2945
+ {
2946
+ "internalType": "contract IAccessControlManagerV8",
2947
+ "name": "",
2948
+ "type": "address"
2949
+ }
2950
+ ],
2951
+ "stateMutability": "view",
2952
+ "type": "function"
2953
+ },
2954
+ {
2955
+ "inputs": [],
2956
+ "name": "baseRatePerBlock",
2957
+ "outputs": [
2958
+ {
2959
+ "internalType": "uint256",
2960
+ "name": "",
2961
+ "type": "uint256"
2962
+ }
2963
+ ],
2964
+ "stateMutability": "view",
2965
+ "type": "function"
2966
+ },
2967
+ {
2968
+ "inputs": [],
2969
+ "name": "blocksPerYear",
2970
+ "outputs": [
2971
+ {
2972
+ "internalType": "uint256",
2973
+ "name": "",
2974
+ "type": "uint256"
2975
+ }
2976
+ ],
2977
+ "stateMutability": "view",
2978
+ "type": "function"
2979
+ },
2980
+ {
2981
+ "inputs": [
2982
+ {
2983
+ "internalType": "uint256",
2984
+ "name": "cash",
2985
+ "type": "uint256"
2986
+ },
2987
+ {
2988
+ "internalType": "uint256",
2989
+ "name": "borrows",
2990
+ "type": "uint256"
2991
+ },
2992
+ {
2993
+ "internalType": "uint256",
2994
+ "name": "reserves",
2995
+ "type": "uint256"
2996
+ },
2997
+ {
2998
+ "internalType": "uint256",
2999
+ "name": "badDebt",
3000
+ "type": "uint256"
3001
+ }
3002
+ ],
3003
+ "name": "getBorrowRate",
3004
+ "outputs": [
3005
+ {
3006
+ "internalType": "uint256",
3007
+ "name": "",
3008
+ "type": "uint256"
3009
+ }
3010
+ ],
3011
+ "stateMutability": "view",
3012
+ "type": "function"
3013
+ },
3014
+ {
3015
+ "inputs": [
3016
+ {
3017
+ "internalType": "uint256",
3018
+ "name": "cash",
3019
+ "type": "uint256"
3020
+ },
3021
+ {
3022
+ "internalType": "uint256",
3023
+ "name": "borrows",
3024
+ "type": "uint256"
3025
+ },
3026
+ {
3027
+ "internalType": "uint256",
3028
+ "name": "reserves",
3029
+ "type": "uint256"
3030
+ },
3031
+ {
3032
+ "internalType": "uint256",
3033
+ "name": "reserveFactorMantissa",
3034
+ "type": "uint256"
3035
+ },
3036
+ {
3037
+ "internalType": "uint256",
3038
+ "name": "badDebt",
3039
+ "type": "uint256"
3040
+ }
3041
+ ],
3042
+ "name": "getSupplyRate",
3043
+ "outputs": [
3044
+ {
3045
+ "internalType": "uint256",
3046
+ "name": "",
3047
+ "type": "uint256"
3048
+ }
3049
+ ],
3050
+ "stateMutability": "view",
3051
+ "type": "function"
3052
+ },
3053
+ {
3054
+ "inputs": [],
3055
+ "name": "isInterestRateModel",
3056
+ "outputs": [
3057
+ {
3058
+ "internalType": "bool",
3059
+ "name": "",
3060
+ "type": "bool"
3061
+ }
3062
+ ],
3063
+ "stateMutability": "pure",
3064
+ "type": "function"
3065
+ },
3066
+ {
3067
+ "inputs": [],
3068
+ "name": "jumpMultiplierPerBlock",
3069
+ "outputs": [
3070
+ {
3071
+ "internalType": "uint256",
3072
+ "name": "",
3073
+ "type": "uint256"
3074
+ }
3075
+ ],
3076
+ "stateMutability": "view",
3077
+ "type": "function"
3078
+ },
3079
+ {
3080
+ "inputs": [],
3081
+ "name": "kink",
3082
+ "outputs": [
3083
+ {
3084
+ "internalType": "uint256",
3085
+ "name": "",
3086
+ "type": "uint256"
3087
+ }
3088
+ ],
3089
+ "stateMutability": "view",
3090
+ "type": "function"
3091
+ },
3092
+ {
3093
+ "inputs": [],
3094
+ "name": "multiplierPerBlock",
3095
+ "outputs": [
3096
+ {
3097
+ "internalType": "uint256",
3098
+ "name": "",
3099
+ "type": "uint256"
3100
+ }
3101
+ ],
3102
+ "stateMutability": "view",
3103
+ "type": "function"
3104
+ },
3105
+ {
3106
+ "inputs": [
3107
+ {
3108
+ "internalType": "uint256",
3109
+ "name": "baseRatePerYear",
3110
+ "type": "uint256"
3111
+ },
3112
+ {
3113
+ "internalType": "uint256",
3114
+ "name": "multiplierPerYear",
3115
+ "type": "uint256"
3116
+ },
3117
+ {
3118
+ "internalType": "uint256",
3119
+ "name": "jumpMultiplierPerYear",
3120
+ "type": "uint256"
3121
+ },
3122
+ {
3123
+ "internalType": "uint256",
3124
+ "name": "kink_",
3125
+ "type": "uint256"
3126
+ }
3127
+ ],
3128
+ "name": "updateJumpRateModel",
3129
+ "outputs": [],
3130
+ "stateMutability": "nonpayable",
3131
+ "type": "function"
3132
+ },
3133
+ {
3134
+ "inputs": [
3135
+ {
3136
+ "internalType": "uint256",
3137
+ "name": "cash",
3138
+ "type": "uint256"
3139
+ },
3140
+ {
3141
+ "internalType": "uint256",
3142
+ "name": "borrows",
3143
+ "type": "uint256"
3144
+ },
3145
+ {
3146
+ "internalType": "uint256",
3147
+ "name": "reserves",
3148
+ "type": "uint256"
3149
+ },
3150
+ {
3151
+ "internalType": "uint256",
3152
+ "name": "badDebt",
3153
+ "type": "uint256"
3154
+ }
3155
+ ],
3156
+ "name": "utilizationRate",
3157
+ "outputs": [
3158
+ {
3159
+ "internalType": "uint256",
3160
+ "name": "",
3161
+ "type": "uint256"
3162
+ }
3163
+ ],
3164
+ "stateMutability": "pure",
3165
+ "type": "function"
3166
+ }
3167
+ ]
3168
+ },
2531
3169
  "JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
2532
3170
  "address": "0x01E002C218D70dD374566cc40D9fCA1429AB7E65",
2533
3171
  "abi": [
@@ -21700,6 +22338,80 @@
21700
22338
  }
21701
22339
  ]
21702
22340
  },
22341
+ "VToken_vDAI_Core": {
22342
+ "address": "0xd8AdD9B41D4E1cd64Edad8722AB0bA8D35536657",
22343
+ "abi": [
22344
+ {
22345
+ "inputs": [
22346
+ {
22347
+ "internalType": "address",
22348
+ "name": "beacon",
22349
+ "type": "address"
22350
+ },
22351
+ {
22352
+ "internalType": "bytes",
22353
+ "name": "data",
22354
+ "type": "bytes"
22355
+ }
22356
+ ],
22357
+ "stateMutability": "payable",
22358
+ "type": "constructor"
22359
+ },
22360
+ {
22361
+ "anonymous": false,
22362
+ "inputs": [
22363
+ {
22364
+ "indexed": false,
22365
+ "internalType": "address",
22366
+ "name": "previousAdmin",
22367
+ "type": "address"
22368
+ },
22369
+ {
22370
+ "indexed": false,
22371
+ "internalType": "address",
22372
+ "name": "newAdmin",
22373
+ "type": "address"
22374
+ }
22375
+ ],
22376
+ "name": "AdminChanged",
22377
+ "type": "event"
22378
+ },
22379
+ {
22380
+ "anonymous": false,
22381
+ "inputs": [
22382
+ {
22383
+ "indexed": true,
22384
+ "internalType": "address",
22385
+ "name": "beacon",
22386
+ "type": "address"
22387
+ }
22388
+ ],
22389
+ "name": "BeaconUpgraded",
22390
+ "type": "event"
22391
+ },
22392
+ {
22393
+ "anonymous": false,
22394
+ "inputs": [
22395
+ {
22396
+ "indexed": true,
22397
+ "internalType": "address",
22398
+ "name": "implementation",
22399
+ "type": "address"
22400
+ }
22401
+ ],
22402
+ "name": "Upgraded",
22403
+ "type": "event"
22404
+ },
22405
+ {
22406
+ "stateMutability": "payable",
22407
+ "type": "fallback"
22408
+ },
22409
+ {
22410
+ "stateMutability": "payable",
22411
+ "type": "receive"
22412
+ }
22413
+ ]
22414
+ },
21703
22415
  "VToken_vUSDC_Core": {
21704
22416
  "address": "0x17C07e0c232f2f80DfDbd7a95b942D893A4C5ACb",
21705
22417
  "abi": [