@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.
@@ -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": [
@@ -2380,6 +2380,325 @@
2380
2380
  }
2381
2381
  ]
2382
2382
  },
2383
+ "JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps": {
2384
+ "address": "0x0E43acCbe2f38A0e98C6979bE5b803f813ce8be5",
2385
+ "abi": [
2386
+ {
2387
+ "inputs": [
2388
+ {
2389
+ "internalType": "uint256",
2390
+ "name": "blocksPerYear_",
2391
+ "type": "uint256"
2392
+ },
2393
+ {
2394
+ "internalType": "uint256",
2395
+ "name": "baseRatePerYear",
2396
+ "type": "uint256"
2397
+ },
2398
+ {
2399
+ "internalType": "uint256",
2400
+ "name": "multiplierPerYear",
2401
+ "type": "uint256"
2402
+ },
2403
+ {
2404
+ "internalType": "uint256",
2405
+ "name": "jumpMultiplierPerYear",
2406
+ "type": "uint256"
2407
+ },
2408
+ {
2409
+ "internalType": "uint256",
2410
+ "name": "kink_",
2411
+ "type": "uint256"
2412
+ },
2413
+ {
2414
+ "internalType": "contract IAccessControlManagerV8",
2415
+ "name": "accessControlManager_",
2416
+ "type": "address"
2417
+ }
2418
+ ],
2419
+ "stateMutability": "nonpayable",
2420
+ "type": "constructor"
2421
+ },
2422
+ {
2423
+ "inputs": [
2424
+ {
2425
+ "internalType": "address",
2426
+ "name": "sender",
2427
+ "type": "address"
2428
+ },
2429
+ {
2430
+ "internalType": "address",
2431
+ "name": "calledContract",
2432
+ "type": "address"
2433
+ },
2434
+ {
2435
+ "internalType": "string",
2436
+ "name": "methodSignature",
2437
+ "type": "string"
2438
+ }
2439
+ ],
2440
+ "name": "Unauthorized",
2441
+ "type": "error"
2442
+ },
2443
+ {
2444
+ "anonymous": false,
2445
+ "inputs": [
2446
+ {
2447
+ "indexed": false,
2448
+ "internalType": "uint256",
2449
+ "name": "baseRatePerBlock",
2450
+ "type": "uint256"
2451
+ },
2452
+ {
2453
+ "indexed": false,
2454
+ "internalType": "uint256",
2455
+ "name": "multiplierPerBlock",
2456
+ "type": "uint256"
2457
+ },
2458
+ {
2459
+ "indexed": false,
2460
+ "internalType": "uint256",
2461
+ "name": "jumpMultiplierPerBlock",
2462
+ "type": "uint256"
2463
+ },
2464
+ {
2465
+ "indexed": false,
2466
+ "internalType": "uint256",
2467
+ "name": "kink",
2468
+ "type": "uint256"
2469
+ }
2470
+ ],
2471
+ "name": "NewInterestParams",
2472
+ "type": "event"
2473
+ },
2474
+ {
2475
+ "inputs": [],
2476
+ "name": "accessControlManager",
2477
+ "outputs": [
2478
+ {
2479
+ "internalType": "contract IAccessControlManagerV8",
2480
+ "name": "",
2481
+ "type": "address"
2482
+ }
2483
+ ],
2484
+ "stateMutability": "view",
2485
+ "type": "function"
2486
+ },
2487
+ {
2488
+ "inputs": [],
2489
+ "name": "baseRatePerBlock",
2490
+ "outputs": [
2491
+ {
2492
+ "internalType": "uint256",
2493
+ "name": "",
2494
+ "type": "uint256"
2495
+ }
2496
+ ],
2497
+ "stateMutability": "view",
2498
+ "type": "function"
2499
+ },
2500
+ {
2501
+ "inputs": [],
2502
+ "name": "blocksPerYear",
2503
+ "outputs": [
2504
+ {
2505
+ "internalType": "uint256",
2506
+ "name": "",
2507
+ "type": "uint256"
2508
+ }
2509
+ ],
2510
+ "stateMutability": "view",
2511
+ "type": "function"
2512
+ },
2513
+ {
2514
+ "inputs": [
2515
+ {
2516
+ "internalType": "uint256",
2517
+ "name": "cash",
2518
+ "type": "uint256"
2519
+ },
2520
+ {
2521
+ "internalType": "uint256",
2522
+ "name": "borrows",
2523
+ "type": "uint256"
2524
+ },
2525
+ {
2526
+ "internalType": "uint256",
2527
+ "name": "reserves",
2528
+ "type": "uint256"
2529
+ },
2530
+ {
2531
+ "internalType": "uint256",
2532
+ "name": "badDebt",
2533
+ "type": "uint256"
2534
+ }
2535
+ ],
2536
+ "name": "getBorrowRate",
2537
+ "outputs": [
2538
+ {
2539
+ "internalType": "uint256",
2540
+ "name": "",
2541
+ "type": "uint256"
2542
+ }
2543
+ ],
2544
+ "stateMutability": "view",
2545
+ "type": "function"
2546
+ },
2547
+ {
2548
+ "inputs": [
2549
+ {
2550
+ "internalType": "uint256",
2551
+ "name": "cash",
2552
+ "type": "uint256"
2553
+ },
2554
+ {
2555
+ "internalType": "uint256",
2556
+ "name": "borrows",
2557
+ "type": "uint256"
2558
+ },
2559
+ {
2560
+ "internalType": "uint256",
2561
+ "name": "reserves",
2562
+ "type": "uint256"
2563
+ },
2564
+ {
2565
+ "internalType": "uint256",
2566
+ "name": "reserveFactorMantissa",
2567
+ "type": "uint256"
2568
+ },
2569
+ {
2570
+ "internalType": "uint256",
2571
+ "name": "badDebt",
2572
+ "type": "uint256"
2573
+ }
2574
+ ],
2575
+ "name": "getSupplyRate",
2576
+ "outputs": [
2577
+ {
2578
+ "internalType": "uint256",
2579
+ "name": "",
2580
+ "type": "uint256"
2581
+ }
2582
+ ],
2583
+ "stateMutability": "view",
2584
+ "type": "function"
2585
+ },
2586
+ {
2587
+ "inputs": [],
2588
+ "name": "isInterestRateModel",
2589
+ "outputs": [
2590
+ {
2591
+ "internalType": "bool",
2592
+ "name": "",
2593
+ "type": "bool"
2594
+ }
2595
+ ],
2596
+ "stateMutability": "pure",
2597
+ "type": "function"
2598
+ },
2599
+ {
2600
+ "inputs": [],
2601
+ "name": "jumpMultiplierPerBlock",
2602
+ "outputs": [
2603
+ {
2604
+ "internalType": "uint256",
2605
+ "name": "",
2606
+ "type": "uint256"
2607
+ }
2608
+ ],
2609
+ "stateMutability": "view",
2610
+ "type": "function"
2611
+ },
2612
+ {
2613
+ "inputs": [],
2614
+ "name": "kink",
2615
+ "outputs": [
2616
+ {
2617
+ "internalType": "uint256",
2618
+ "name": "",
2619
+ "type": "uint256"
2620
+ }
2621
+ ],
2622
+ "stateMutability": "view",
2623
+ "type": "function"
2624
+ },
2625
+ {
2626
+ "inputs": [],
2627
+ "name": "multiplierPerBlock",
2628
+ "outputs": [
2629
+ {
2630
+ "internalType": "uint256",
2631
+ "name": "",
2632
+ "type": "uint256"
2633
+ }
2634
+ ],
2635
+ "stateMutability": "view",
2636
+ "type": "function"
2637
+ },
2638
+ {
2639
+ "inputs": [
2640
+ {
2641
+ "internalType": "uint256",
2642
+ "name": "baseRatePerYear",
2643
+ "type": "uint256"
2644
+ },
2645
+ {
2646
+ "internalType": "uint256",
2647
+ "name": "multiplierPerYear",
2648
+ "type": "uint256"
2649
+ },
2650
+ {
2651
+ "internalType": "uint256",
2652
+ "name": "jumpMultiplierPerYear",
2653
+ "type": "uint256"
2654
+ },
2655
+ {
2656
+ "internalType": "uint256",
2657
+ "name": "kink_",
2658
+ "type": "uint256"
2659
+ }
2660
+ ],
2661
+ "name": "updateJumpRateModel",
2662
+ "outputs": [],
2663
+ "stateMutability": "nonpayable",
2664
+ "type": "function"
2665
+ },
2666
+ {
2667
+ "inputs": [
2668
+ {
2669
+ "internalType": "uint256",
2670
+ "name": "cash",
2671
+ "type": "uint256"
2672
+ },
2673
+ {
2674
+ "internalType": "uint256",
2675
+ "name": "borrows",
2676
+ "type": "uint256"
2677
+ },
2678
+ {
2679
+ "internalType": "uint256",
2680
+ "name": "reserves",
2681
+ "type": "uint256"
2682
+ },
2683
+ {
2684
+ "internalType": "uint256",
2685
+ "name": "badDebt",
2686
+ "type": "uint256"
2687
+ }
2688
+ ],
2689
+ "name": "utilizationRate",
2690
+ "outputs": [
2691
+ {
2692
+ "internalType": "uint256",
2693
+ "name": "",
2694
+ "type": "uint256"
2695
+ }
2696
+ ],
2697
+ "stateMutability": "pure",
2698
+ "type": "function"
2699
+ }
2700
+ ]
2701
+ },
2383
2702
  "JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink6000bps": {
2384
2703
  "address": "0x0b7cdC617bFE8e63D7861AbC1139811b61DbC869",
2385
2704
  "abi": [