@venusprotocol/isolated-pools 3.5.0-dev.4 → 3.5.0-dev.6
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/ethereum/JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink9000bps.json +608 -0
- package/deployments/ethereum.json +360 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/deployments/zksyncsepolia/RewardsDistributorImpl.json +1968 -0
- package/deployments/zksyncsepolia/RewardsDistributor_Core_0.json +1491 -0
- package/deployments/zksyncsepolia/RewardsDistributor_Core_0_Proxy.json +346 -0
- package/deployments/zksyncsepolia.json +2569 -0
- package/deployments/zksyncsepolia_addresses.json +3 -0
- package/dist/deployments/ethereum.json +360 -0
- package/dist/deployments/zksyncsepolia.json +2569 -0
- package/dist/helpers/deploymentConfig.js +23 -4
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/dist/typechain/factories/PoolRegistryInterface__factory.d.ts +16 -2
- package/dist/typechain/factories/PoolRegistryInterface__factory.js +119 -0
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/PoolRegistryInterface.d.ts +178 -0
- package/typechain/factories/IVToken__factory.ts +1 -201
- package/typechain/factories/PoolRegistryInterface__factory.ts +119 -0
|
@@ -3804,6 +3804,366 @@
|
|
|
3804
3804
|
}
|
|
3805
3805
|
]
|
|
3806
3806
|
},
|
|
3807
|
+
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink9000bps": {
|
|
3808
|
+
"address": "0x834078D691d431aAdC80197f7a61239F9F89547b",
|
|
3809
|
+
"abi": [
|
|
3810
|
+
{
|
|
3811
|
+
"inputs": [
|
|
3812
|
+
{
|
|
3813
|
+
"internalType": "uint256",
|
|
3814
|
+
"name": "baseRatePerYear_",
|
|
3815
|
+
"type": "uint256"
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"internalType": "uint256",
|
|
3819
|
+
"name": "multiplierPerYear_",
|
|
3820
|
+
"type": "uint256"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"internalType": "uint256",
|
|
3824
|
+
"name": "jumpMultiplierPerYear_",
|
|
3825
|
+
"type": "uint256"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"internalType": "uint256",
|
|
3829
|
+
"name": "kink_",
|
|
3830
|
+
"type": "uint256"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3834
|
+
"name": "accessControlManager_",
|
|
3835
|
+
"type": "address"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"internalType": "bool",
|
|
3839
|
+
"name": "timeBased_",
|
|
3840
|
+
"type": "bool"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"internalType": "uint256",
|
|
3844
|
+
"name": "blocksPerYear_",
|
|
3845
|
+
"type": "uint256"
|
|
3846
|
+
}
|
|
3847
|
+
],
|
|
3848
|
+
"stateMutability": "nonpayable",
|
|
3849
|
+
"type": "constructor"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"inputs": [],
|
|
3853
|
+
"name": "InvalidBlocksPerYear",
|
|
3854
|
+
"type": "error"
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"inputs": [],
|
|
3858
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
3859
|
+
"type": "error"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"inputs": [
|
|
3863
|
+
{
|
|
3864
|
+
"internalType": "address",
|
|
3865
|
+
"name": "sender",
|
|
3866
|
+
"type": "address"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"internalType": "address",
|
|
3870
|
+
"name": "calledContract",
|
|
3871
|
+
"type": "address"
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"internalType": "string",
|
|
3875
|
+
"name": "methodSignature",
|
|
3876
|
+
"type": "string"
|
|
3877
|
+
}
|
|
3878
|
+
],
|
|
3879
|
+
"name": "Unauthorized",
|
|
3880
|
+
"type": "error"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"anonymous": false,
|
|
3884
|
+
"inputs": [
|
|
3885
|
+
{
|
|
3886
|
+
"indexed": false,
|
|
3887
|
+
"internalType": "uint256",
|
|
3888
|
+
"name": "baseRatePerBlockOrTimestamp",
|
|
3889
|
+
"type": "uint256"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"indexed": false,
|
|
3893
|
+
"internalType": "uint256",
|
|
3894
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
3895
|
+
"type": "uint256"
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"indexed": false,
|
|
3899
|
+
"internalType": "uint256",
|
|
3900
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
3901
|
+
"type": "uint256"
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"indexed": false,
|
|
3905
|
+
"internalType": "uint256",
|
|
3906
|
+
"name": "kink",
|
|
3907
|
+
"type": "uint256"
|
|
3908
|
+
}
|
|
3909
|
+
],
|
|
3910
|
+
"name": "NewInterestParams",
|
|
3911
|
+
"type": "event"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"inputs": [],
|
|
3915
|
+
"name": "accessControlManager",
|
|
3916
|
+
"outputs": [
|
|
3917
|
+
{
|
|
3918
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3919
|
+
"name": "",
|
|
3920
|
+
"type": "address"
|
|
3921
|
+
}
|
|
3922
|
+
],
|
|
3923
|
+
"stateMutability": "view",
|
|
3924
|
+
"type": "function"
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"inputs": [],
|
|
3928
|
+
"name": "baseRatePerBlock",
|
|
3929
|
+
"outputs": [
|
|
3930
|
+
{
|
|
3931
|
+
"internalType": "uint256",
|
|
3932
|
+
"name": "",
|
|
3933
|
+
"type": "uint256"
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
"stateMutability": "view",
|
|
3937
|
+
"type": "function"
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"inputs": [],
|
|
3941
|
+
"name": "blocksOrSecondsPerYear",
|
|
3942
|
+
"outputs": [
|
|
3943
|
+
{
|
|
3944
|
+
"internalType": "uint256",
|
|
3945
|
+
"name": "",
|
|
3946
|
+
"type": "uint256"
|
|
3947
|
+
}
|
|
3948
|
+
],
|
|
3949
|
+
"stateMutability": "view",
|
|
3950
|
+
"type": "function"
|
|
3951
|
+
},
|
|
3952
|
+
{
|
|
3953
|
+
"inputs": [],
|
|
3954
|
+
"name": "getBlockNumberOrTimestamp",
|
|
3955
|
+
"outputs": [
|
|
3956
|
+
{
|
|
3957
|
+
"internalType": "uint256",
|
|
3958
|
+
"name": "",
|
|
3959
|
+
"type": "uint256"
|
|
3960
|
+
}
|
|
3961
|
+
],
|
|
3962
|
+
"stateMutability": "view",
|
|
3963
|
+
"type": "function"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"inputs": [
|
|
3967
|
+
{
|
|
3968
|
+
"internalType": "uint256",
|
|
3969
|
+
"name": "cash",
|
|
3970
|
+
"type": "uint256"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"internalType": "uint256",
|
|
3974
|
+
"name": "borrows",
|
|
3975
|
+
"type": "uint256"
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
"internalType": "uint256",
|
|
3979
|
+
"name": "reserves",
|
|
3980
|
+
"type": "uint256"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
"internalType": "uint256",
|
|
3984
|
+
"name": "badDebt",
|
|
3985
|
+
"type": "uint256"
|
|
3986
|
+
}
|
|
3987
|
+
],
|
|
3988
|
+
"name": "getBorrowRate",
|
|
3989
|
+
"outputs": [
|
|
3990
|
+
{
|
|
3991
|
+
"internalType": "uint256",
|
|
3992
|
+
"name": "",
|
|
3993
|
+
"type": "uint256"
|
|
3994
|
+
}
|
|
3995
|
+
],
|
|
3996
|
+
"stateMutability": "view",
|
|
3997
|
+
"type": "function"
|
|
3998
|
+
},
|
|
3999
|
+
{
|
|
4000
|
+
"inputs": [
|
|
4001
|
+
{
|
|
4002
|
+
"internalType": "uint256",
|
|
4003
|
+
"name": "cash",
|
|
4004
|
+
"type": "uint256"
|
|
4005
|
+
},
|
|
4006
|
+
{
|
|
4007
|
+
"internalType": "uint256",
|
|
4008
|
+
"name": "borrows",
|
|
4009
|
+
"type": "uint256"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
"internalType": "uint256",
|
|
4013
|
+
"name": "reserves",
|
|
4014
|
+
"type": "uint256"
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"internalType": "uint256",
|
|
4018
|
+
"name": "reserveFactorMantissa",
|
|
4019
|
+
"type": "uint256"
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"internalType": "uint256",
|
|
4023
|
+
"name": "badDebt",
|
|
4024
|
+
"type": "uint256"
|
|
4025
|
+
}
|
|
4026
|
+
],
|
|
4027
|
+
"name": "getSupplyRate",
|
|
4028
|
+
"outputs": [
|
|
4029
|
+
{
|
|
4030
|
+
"internalType": "uint256",
|
|
4031
|
+
"name": "",
|
|
4032
|
+
"type": "uint256"
|
|
4033
|
+
}
|
|
4034
|
+
],
|
|
4035
|
+
"stateMutability": "view",
|
|
4036
|
+
"type": "function"
|
|
4037
|
+
},
|
|
4038
|
+
{
|
|
4039
|
+
"inputs": [],
|
|
4040
|
+
"name": "isInterestRateModel",
|
|
4041
|
+
"outputs": [
|
|
4042
|
+
{
|
|
4043
|
+
"internalType": "bool",
|
|
4044
|
+
"name": "",
|
|
4045
|
+
"type": "bool"
|
|
4046
|
+
}
|
|
4047
|
+
],
|
|
4048
|
+
"stateMutability": "pure",
|
|
4049
|
+
"type": "function"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"inputs": [],
|
|
4053
|
+
"name": "isTimeBased",
|
|
4054
|
+
"outputs": [
|
|
4055
|
+
{
|
|
4056
|
+
"internalType": "bool",
|
|
4057
|
+
"name": "",
|
|
4058
|
+
"type": "bool"
|
|
4059
|
+
}
|
|
4060
|
+
],
|
|
4061
|
+
"stateMutability": "view",
|
|
4062
|
+
"type": "function"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"inputs": [],
|
|
4066
|
+
"name": "jumpMultiplierPerBlock",
|
|
4067
|
+
"outputs": [
|
|
4068
|
+
{
|
|
4069
|
+
"internalType": "uint256",
|
|
4070
|
+
"name": "",
|
|
4071
|
+
"type": "uint256"
|
|
4072
|
+
}
|
|
4073
|
+
],
|
|
4074
|
+
"stateMutability": "view",
|
|
4075
|
+
"type": "function"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"inputs": [],
|
|
4079
|
+
"name": "kink",
|
|
4080
|
+
"outputs": [
|
|
4081
|
+
{
|
|
4082
|
+
"internalType": "uint256",
|
|
4083
|
+
"name": "",
|
|
4084
|
+
"type": "uint256"
|
|
4085
|
+
}
|
|
4086
|
+
],
|
|
4087
|
+
"stateMutability": "view",
|
|
4088
|
+
"type": "function"
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
"inputs": [],
|
|
4092
|
+
"name": "multiplierPerBlock",
|
|
4093
|
+
"outputs": [
|
|
4094
|
+
{
|
|
4095
|
+
"internalType": "uint256",
|
|
4096
|
+
"name": "",
|
|
4097
|
+
"type": "uint256"
|
|
4098
|
+
}
|
|
4099
|
+
],
|
|
4100
|
+
"stateMutability": "view",
|
|
4101
|
+
"type": "function"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"inputs": [
|
|
4105
|
+
{
|
|
4106
|
+
"internalType": "uint256",
|
|
4107
|
+
"name": "baseRatePerYear",
|
|
4108
|
+
"type": "uint256"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"internalType": "uint256",
|
|
4112
|
+
"name": "multiplierPerYear",
|
|
4113
|
+
"type": "uint256"
|
|
4114
|
+
},
|
|
4115
|
+
{
|
|
4116
|
+
"internalType": "uint256",
|
|
4117
|
+
"name": "jumpMultiplierPerYear",
|
|
4118
|
+
"type": "uint256"
|
|
4119
|
+
},
|
|
4120
|
+
{
|
|
4121
|
+
"internalType": "uint256",
|
|
4122
|
+
"name": "kink_",
|
|
4123
|
+
"type": "uint256"
|
|
4124
|
+
}
|
|
4125
|
+
],
|
|
4126
|
+
"name": "updateJumpRateModel",
|
|
4127
|
+
"outputs": [],
|
|
4128
|
+
"stateMutability": "nonpayable",
|
|
4129
|
+
"type": "function"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"inputs": [
|
|
4133
|
+
{
|
|
4134
|
+
"internalType": "uint256",
|
|
4135
|
+
"name": "cash",
|
|
4136
|
+
"type": "uint256"
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
"internalType": "uint256",
|
|
4140
|
+
"name": "borrows",
|
|
4141
|
+
"type": "uint256"
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
"internalType": "uint256",
|
|
4145
|
+
"name": "reserves",
|
|
4146
|
+
"type": "uint256"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"internalType": "uint256",
|
|
4150
|
+
"name": "badDebt",
|
|
4151
|
+
"type": "uint256"
|
|
4152
|
+
}
|
|
4153
|
+
],
|
|
4154
|
+
"name": "utilizationRate",
|
|
4155
|
+
"outputs": [
|
|
4156
|
+
{
|
|
4157
|
+
"internalType": "uint256",
|
|
4158
|
+
"name": "",
|
|
4159
|
+
"type": "uint256"
|
|
4160
|
+
}
|
|
4161
|
+
],
|
|
4162
|
+
"stateMutability": "pure",
|
|
4163
|
+
"type": "function"
|
|
4164
|
+
}
|
|
4165
|
+
]
|
|
4166
|
+
},
|
|
3807
4167
|
"JumpRateModelV2_base0bps_slope500bps_jump8000bps_kink7500bps": {
|
|
3808
4168
|
"address": "0x07a912CD58CbB5736d015608F424c43B2CAd0B5e",
|
|
3809
4169
|
"abi": [
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink8000bps": "0x244dBE6d11Ae9AadBaD552E6BD8901B680028E31",
|
|
13
13
|
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": "0x01E002C218D70dD374566cc40D9fCA1429AB7E65",
|
|
14
14
|
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink8000bps": "0xFCaBF5b76968e010b8BC310486bE418b9d16fEb2",
|
|
15
|
+
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink9000bps": "0x834078D691d431aAdC80197f7a61239F9F89547b",
|
|
15
16
|
"JumpRateModelV2_base0bps_slope500bps_jump8000bps_kink7500bps": "0x07a912CD58CbB5736d015608F424c43B2CAd0B5e",
|
|
16
17
|
"JumpRateModelV2_base0bps_slope700bps_jump8000bps_kink8000bps": "0x0F84aF9A902dbb5a0986e5D5003189cF2B80A760",
|
|
17
18
|
"JumpRateModelV2_base0bps_slope875bps_jump25000bps_kink8000bps": "0xD9D3E7adA04993Cf06dE1A5c9C7f101BD1DefBF4",
|