@venusprotocol/isolated-pools 3.0.0 → 3.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1750bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/bscmainnet/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
- package/deployments/bscmainnet.json +642 -4
- package/deployments/bscmainnet_addresses.json +2 -0
- package/deployments/ethereum/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/ethereum/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
- package/deployments/ethereum.json +319 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/deployments/opbnbmainnet/JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/opbnbmainnet/solcInputs/cc4a40f102671d2570e0434d3962d0c4.json +360 -0
- package/deployments/opbnbmainnet.json +319 -0
- package/deployments/opbnbmainnet_addresses.json +1 -0
- package/dist/deploy/019-deploy-ir-models.d.ts +3 -0
- package/dist/deploy/019-deploy-ir-models.js +59 -0
- package/dist/deployments/bscmainnet.json +642 -4
- package/dist/deployments/ethereum.json +319 -0
- package/dist/deployments/opbnbmainnet.json +319 -0
- package/dist/helpers/deploymentConfig.js +15 -15
- package/package.json +1 -1
|
@@ -2528,6 +2528,325 @@
|
|
|
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
|
+
},
|
|
2531
2850
|
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
|
|
2532
2851
|
"address": "0x01E002C218D70dD374566cc40D9fCA1429AB7E65",
|
|
2533
2852
|
"abi": [
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"Comptroller_Curve": "0x67aA3eCc5831a65A5Ba7be76BED3B5dc7DB60796",
|
|
9
9
|
"Comptroller_Liquid Staked ETH": "0xF522cd0360EF8c2FF48B648d53EA1717Ec0F3Ac3",
|
|
10
10
|
"DefaultProxyAdmin": "0x567e4cc5e085d09f66f836fa8279f38b4e5866b9",
|
|
11
|
+
"JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps": "0x508a84311d19fb77E603C1d234d560b2374d0791",
|
|
11
12
|
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": "0x01E002C218D70dD374566cc40D9fCA1429AB7E65",
|
|
12
13
|
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink8000bps": "0xFCaBF5b76968e010b8BC310486bE418b9d16fEb2",
|
|
13
14
|
"JumpRateModelV2_base0bps_slope500bps_jump8000bps_kink7500bps": "0x07a912CD58CbB5736d015608F424c43B2CAd0B5e",
|