@venusprotocol/isolated-pools 3.2.0 → 3.3.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.
@@ -3748,6 +3748,366 @@
3748
3748
  }
3749
3749
  ]
3750
3750
  },
3751
+ "JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps": {
3752
+ "address": "0x8037f793A298789736fc1cb7e3154573647CDD11",
3753
+ "abi": [
3754
+ {
3755
+ "inputs": [
3756
+ {
3757
+ "internalType": "uint256",
3758
+ "name": "baseRatePerYear_",
3759
+ "type": "uint256"
3760
+ },
3761
+ {
3762
+ "internalType": "uint256",
3763
+ "name": "multiplierPerYear_",
3764
+ "type": "uint256"
3765
+ },
3766
+ {
3767
+ "internalType": "uint256",
3768
+ "name": "jumpMultiplierPerYear_",
3769
+ "type": "uint256"
3770
+ },
3771
+ {
3772
+ "internalType": "uint256",
3773
+ "name": "kink_",
3774
+ "type": "uint256"
3775
+ },
3776
+ {
3777
+ "internalType": "contract IAccessControlManagerV8",
3778
+ "name": "accessControlManager_",
3779
+ "type": "address"
3780
+ },
3781
+ {
3782
+ "internalType": "bool",
3783
+ "name": "timeBased_",
3784
+ "type": "bool"
3785
+ },
3786
+ {
3787
+ "internalType": "uint256",
3788
+ "name": "blocksPerYear_",
3789
+ "type": "uint256"
3790
+ }
3791
+ ],
3792
+ "stateMutability": "nonpayable",
3793
+ "type": "constructor"
3794
+ },
3795
+ {
3796
+ "inputs": [],
3797
+ "name": "InvalidBlocksPerYear",
3798
+ "type": "error"
3799
+ },
3800
+ {
3801
+ "inputs": [],
3802
+ "name": "InvalidTimeBasedConfiguration",
3803
+ "type": "error"
3804
+ },
3805
+ {
3806
+ "inputs": [
3807
+ {
3808
+ "internalType": "address",
3809
+ "name": "sender",
3810
+ "type": "address"
3811
+ },
3812
+ {
3813
+ "internalType": "address",
3814
+ "name": "calledContract",
3815
+ "type": "address"
3816
+ },
3817
+ {
3818
+ "internalType": "string",
3819
+ "name": "methodSignature",
3820
+ "type": "string"
3821
+ }
3822
+ ],
3823
+ "name": "Unauthorized",
3824
+ "type": "error"
3825
+ },
3826
+ {
3827
+ "anonymous": false,
3828
+ "inputs": [
3829
+ {
3830
+ "indexed": false,
3831
+ "internalType": "uint256",
3832
+ "name": "baseRatePerBlockOrTimestamp",
3833
+ "type": "uint256"
3834
+ },
3835
+ {
3836
+ "indexed": false,
3837
+ "internalType": "uint256",
3838
+ "name": "multiplierPerBlockOrTimestamp",
3839
+ "type": "uint256"
3840
+ },
3841
+ {
3842
+ "indexed": false,
3843
+ "internalType": "uint256",
3844
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3845
+ "type": "uint256"
3846
+ },
3847
+ {
3848
+ "indexed": false,
3849
+ "internalType": "uint256",
3850
+ "name": "kink",
3851
+ "type": "uint256"
3852
+ }
3853
+ ],
3854
+ "name": "NewInterestParams",
3855
+ "type": "event"
3856
+ },
3857
+ {
3858
+ "inputs": [],
3859
+ "name": "accessControlManager",
3860
+ "outputs": [
3861
+ {
3862
+ "internalType": "contract IAccessControlManagerV8",
3863
+ "name": "",
3864
+ "type": "address"
3865
+ }
3866
+ ],
3867
+ "stateMutability": "view",
3868
+ "type": "function"
3869
+ },
3870
+ {
3871
+ "inputs": [],
3872
+ "name": "baseRatePerBlock",
3873
+ "outputs": [
3874
+ {
3875
+ "internalType": "uint256",
3876
+ "name": "",
3877
+ "type": "uint256"
3878
+ }
3879
+ ],
3880
+ "stateMutability": "view",
3881
+ "type": "function"
3882
+ },
3883
+ {
3884
+ "inputs": [],
3885
+ "name": "blocksOrSecondsPerYear",
3886
+ "outputs": [
3887
+ {
3888
+ "internalType": "uint256",
3889
+ "name": "",
3890
+ "type": "uint256"
3891
+ }
3892
+ ],
3893
+ "stateMutability": "view",
3894
+ "type": "function"
3895
+ },
3896
+ {
3897
+ "inputs": [],
3898
+ "name": "getBlockNumberOrTimestamp",
3899
+ "outputs": [
3900
+ {
3901
+ "internalType": "uint256",
3902
+ "name": "",
3903
+ "type": "uint256"
3904
+ }
3905
+ ],
3906
+ "stateMutability": "view",
3907
+ "type": "function"
3908
+ },
3909
+ {
3910
+ "inputs": [
3911
+ {
3912
+ "internalType": "uint256",
3913
+ "name": "cash",
3914
+ "type": "uint256"
3915
+ },
3916
+ {
3917
+ "internalType": "uint256",
3918
+ "name": "borrows",
3919
+ "type": "uint256"
3920
+ },
3921
+ {
3922
+ "internalType": "uint256",
3923
+ "name": "reserves",
3924
+ "type": "uint256"
3925
+ },
3926
+ {
3927
+ "internalType": "uint256",
3928
+ "name": "badDebt",
3929
+ "type": "uint256"
3930
+ }
3931
+ ],
3932
+ "name": "getBorrowRate",
3933
+ "outputs": [
3934
+ {
3935
+ "internalType": "uint256",
3936
+ "name": "",
3937
+ "type": "uint256"
3938
+ }
3939
+ ],
3940
+ "stateMutability": "view",
3941
+ "type": "function"
3942
+ },
3943
+ {
3944
+ "inputs": [
3945
+ {
3946
+ "internalType": "uint256",
3947
+ "name": "cash",
3948
+ "type": "uint256"
3949
+ },
3950
+ {
3951
+ "internalType": "uint256",
3952
+ "name": "borrows",
3953
+ "type": "uint256"
3954
+ },
3955
+ {
3956
+ "internalType": "uint256",
3957
+ "name": "reserves",
3958
+ "type": "uint256"
3959
+ },
3960
+ {
3961
+ "internalType": "uint256",
3962
+ "name": "reserveFactorMantissa",
3963
+ "type": "uint256"
3964
+ },
3965
+ {
3966
+ "internalType": "uint256",
3967
+ "name": "badDebt",
3968
+ "type": "uint256"
3969
+ }
3970
+ ],
3971
+ "name": "getSupplyRate",
3972
+ "outputs": [
3973
+ {
3974
+ "internalType": "uint256",
3975
+ "name": "",
3976
+ "type": "uint256"
3977
+ }
3978
+ ],
3979
+ "stateMutability": "view",
3980
+ "type": "function"
3981
+ },
3982
+ {
3983
+ "inputs": [],
3984
+ "name": "isInterestRateModel",
3985
+ "outputs": [
3986
+ {
3987
+ "internalType": "bool",
3988
+ "name": "",
3989
+ "type": "bool"
3990
+ }
3991
+ ],
3992
+ "stateMutability": "pure",
3993
+ "type": "function"
3994
+ },
3995
+ {
3996
+ "inputs": [],
3997
+ "name": "isTimeBased",
3998
+ "outputs": [
3999
+ {
4000
+ "internalType": "bool",
4001
+ "name": "",
4002
+ "type": "bool"
4003
+ }
4004
+ ],
4005
+ "stateMutability": "view",
4006
+ "type": "function"
4007
+ },
4008
+ {
4009
+ "inputs": [],
4010
+ "name": "jumpMultiplierPerBlock",
4011
+ "outputs": [
4012
+ {
4013
+ "internalType": "uint256",
4014
+ "name": "",
4015
+ "type": "uint256"
4016
+ }
4017
+ ],
4018
+ "stateMutability": "view",
4019
+ "type": "function"
4020
+ },
4021
+ {
4022
+ "inputs": [],
4023
+ "name": "kink",
4024
+ "outputs": [
4025
+ {
4026
+ "internalType": "uint256",
4027
+ "name": "",
4028
+ "type": "uint256"
4029
+ }
4030
+ ],
4031
+ "stateMutability": "view",
4032
+ "type": "function"
4033
+ },
4034
+ {
4035
+ "inputs": [],
4036
+ "name": "multiplierPerBlock",
4037
+ "outputs": [
4038
+ {
4039
+ "internalType": "uint256",
4040
+ "name": "",
4041
+ "type": "uint256"
4042
+ }
4043
+ ],
4044
+ "stateMutability": "view",
4045
+ "type": "function"
4046
+ },
4047
+ {
4048
+ "inputs": [
4049
+ {
4050
+ "internalType": "uint256",
4051
+ "name": "baseRatePerYear",
4052
+ "type": "uint256"
4053
+ },
4054
+ {
4055
+ "internalType": "uint256",
4056
+ "name": "multiplierPerYear",
4057
+ "type": "uint256"
4058
+ },
4059
+ {
4060
+ "internalType": "uint256",
4061
+ "name": "jumpMultiplierPerYear",
4062
+ "type": "uint256"
4063
+ },
4064
+ {
4065
+ "internalType": "uint256",
4066
+ "name": "kink_",
4067
+ "type": "uint256"
4068
+ }
4069
+ ],
4070
+ "name": "updateJumpRateModel",
4071
+ "outputs": [],
4072
+ "stateMutability": "nonpayable",
4073
+ "type": "function"
4074
+ },
4075
+ {
4076
+ "inputs": [
4077
+ {
4078
+ "internalType": "uint256",
4079
+ "name": "cash",
4080
+ "type": "uint256"
4081
+ },
4082
+ {
4083
+ "internalType": "uint256",
4084
+ "name": "borrows",
4085
+ "type": "uint256"
4086
+ },
4087
+ {
4088
+ "internalType": "uint256",
4089
+ "name": "reserves",
4090
+ "type": "uint256"
4091
+ },
4092
+ {
4093
+ "internalType": "uint256",
4094
+ "name": "badDebt",
4095
+ "type": "uint256"
4096
+ }
4097
+ ],
4098
+ "name": "utilizationRate",
4099
+ "outputs": [
4100
+ {
4101
+ "internalType": "uint256",
4102
+ "name": "",
4103
+ "type": "uint256"
4104
+ }
4105
+ ],
4106
+ "stateMutability": "pure",
4107
+ "type": "function"
4108
+ }
4109
+ ]
4110
+ },
3751
4111
  "JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps": {
3752
4112
  "address": "0x0820d5DA817Ac2eAf3757829B255B56354188bd1",
3753
4113
  "abi": [
@@ -14,6 +14,7 @@
14
14
  "JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps": "0x2ba0F45f7368d2A56d0c9e5a29af363987BE1d02",
15
15
  "JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps": "0x5E0dB1e8a6D6181aa39B3317179CDF91FBa4Ac51",
16
16
  "JumpRateModelV2_base0bps_slope1750bps_jump25000bps_kink8000bps": "0xDdeb3556b325D5578575c6eF0F855b73D2323E34",
17
+ "JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps": "0x8037f793A298789736fc1cb7e3154573647CDD11",
17
18
  "JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps": "0x0820d5DA817Ac2eAf3757829B255B56354188bd1",
18
19
  "JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink8000bps": "0x4021Da92B4e64126Cd5A2d6B305FB0e9e4ed2024",
19
20
  "JumpRateModelV2_base200bps_slope1500bps_jump25000bps_kink8000bps": "0x5ECa0FBBc5e7bf49dbFb1953a92784F8e4248eF6",
@@ -37,6 +37,7 @@ const func = async function (hre) {
37
37
  ],
38
38
  log: true,
39
39
  autoMine: true,
40
+ skipIfAlreadyDeployed: true,
40
41
  });
41
42
  }
42
43
  else {
@@ -49,6 +50,7 @@ const func = async function (hre) {
49
50
  args: [baseRatePerYear, multiplierPerYear, isTimeBased, blocksPerYear],
50
51
  log: true,
51
52
  autoMine: true,
53
+ skipIfAlreadyDeployed: true,
52
54
  });
53
55
  }
54
56
  console.log(`-----------------------------------------`);