@venusprotocol/isolated-pools 4.2.0-dev.5 → 4.2.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/unichainmainnet/JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink3000bps.json +608 -0
- package/deployments/unichainmainnet/VToken_vUNI_Core.json +257 -0
- package/deployments/unichainmainnet.json +434 -0
- package/deployments/unichainmainnet_addresses.json +2 -0
- package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink3000bps.json +608 -0
- package/deployments/unichainsepolia/MockUNI.json +458 -0
- package/deployments/unichainsepolia/VToken_vUNI_Core.json +257 -0
- package/deployments/unichainsepolia/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
- package/deployments/unichainsepolia.json +864 -121
- package/deployments/unichainsepolia_addresses.json +3 -0
- package/dist/deployments/unichainmainnet.json +434 -0
- package/dist/deployments/unichainsepolia.json +864 -121
- package/dist/hardhat.config.js +1 -0
- package/dist/helpers/deploymentConfig.js +50 -0
- package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
- package/dist/typechain/factories/IVToken__factory.js +201 -1
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +341 -4
- package/typechain/factories/IVToken__factory.ts +201 -1
|
@@ -2832,6 +2832,366 @@
|
|
|
2832
2832
|
}
|
|
2833
2833
|
]
|
|
2834
2834
|
},
|
|
2835
|
+
"JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink3000bps": {
|
|
2836
|
+
"address": "0x6379613ceE9f40E187971c9917fdf33ba5386CAb",
|
|
2837
|
+
"abi": [
|
|
2838
|
+
{
|
|
2839
|
+
"inputs": [
|
|
2840
|
+
{
|
|
2841
|
+
"internalType": "uint256",
|
|
2842
|
+
"name": "baseRatePerYear_",
|
|
2843
|
+
"type": "uint256"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"internalType": "uint256",
|
|
2847
|
+
"name": "multiplierPerYear_",
|
|
2848
|
+
"type": "uint256"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"internalType": "uint256",
|
|
2852
|
+
"name": "jumpMultiplierPerYear_",
|
|
2853
|
+
"type": "uint256"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"internalType": "uint256",
|
|
2857
|
+
"name": "kink_",
|
|
2858
|
+
"type": "uint256"
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
2862
|
+
"name": "accessControlManager_",
|
|
2863
|
+
"type": "address"
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"internalType": "bool",
|
|
2867
|
+
"name": "timeBased_",
|
|
2868
|
+
"type": "bool"
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"internalType": "uint256",
|
|
2872
|
+
"name": "blocksPerYear_",
|
|
2873
|
+
"type": "uint256"
|
|
2874
|
+
}
|
|
2875
|
+
],
|
|
2876
|
+
"stateMutability": "nonpayable",
|
|
2877
|
+
"type": "constructor"
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"inputs": [],
|
|
2881
|
+
"name": "InvalidBlocksPerYear",
|
|
2882
|
+
"type": "error"
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"inputs": [],
|
|
2886
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
2887
|
+
"type": "error"
|
|
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": "baseRatePerBlockOrTimestamp",
|
|
2917
|
+
"type": "uint256"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"indexed": false,
|
|
2921
|
+
"internalType": "uint256",
|
|
2922
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
2923
|
+
"type": "uint256"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"indexed": false,
|
|
2927
|
+
"internalType": "uint256",
|
|
2928
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
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": "blocksOrSecondsPerYear",
|
|
2970
|
+
"outputs": [
|
|
2971
|
+
{
|
|
2972
|
+
"internalType": "uint256",
|
|
2973
|
+
"name": "",
|
|
2974
|
+
"type": "uint256"
|
|
2975
|
+
}
|
|
2976
|
+
],
|
|
2977
|
+
"stateMutability": "view",
|
|
2978
|
+
"type": "function"
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"inputs": [],
|
|
2982
|
+
"name": "getBlockNumberOrTimestamp",
|
|
2983
|
+
"outputs": [
|
|
2984
|
+
{
|
|
2985
|
+
"internalType": "uint256",
|
|
2986
|
+
"name": "",
|
|
2987
|
+
"type": "uint256"
|
|
2988
|
+
}
|
|
2989
|
+
],
|
|
2990
|
+
"stateMutability": "view",
|
|
2991
|
+
"type": "function"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"inputs": [
|
|
2995
|
+
{
|
|
2996
|
+
"internalType": "uint256",
|
|
2997
|
+
"name": "cash",
|
|
2998
|
+
"type": "uint256"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"internalType": "uint256",
|
|
3002
|
+
"name": "borrows",
|
|
3003
|
+
"type": "uint256"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"internalType": "uint256",
|
|
3007
|
+
"name": "reserves",
|
|
3008
|
+
"type": "uint256"
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"internalType": "uint256",
|
|
3012
|
+
"name": "badDebt",
|
|
3013
|
+
"type": "uint256"
|
|
3014
|
+
}
|
|
3015
|
+
],
|
|
3016
|
+
"name": "getBorrowRate",
|
|
3017
|
+
"outputs": [
|
|
3018
|
+
{
|
|
3019
|
+
"internalType": "uint256",
|
|
3020
|
+
"name": "",
|
|
3021
|
+
"type": "uint256"
|
|
3022
|
+
}
|
|
3023
|
+
],
|
|
3024
|
+
"stateMutability": "view",
|
|
3025
|
+
"type": "function"
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"inputs": [
|
|
3029
|
+
{
|
|
3030
|
+
"internalType": "uint256",
|
|
3031
|
+
"name": "cash",
|
|
3032
|
+
"type": "uint256"
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"internalType": "uint256",
|
|
3036
|
+
"name": "borrows",
|
|
3037
|
+
"type": "uint256"
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"internalType": "uint256",
|
|
3041
|
+
"name": "reserves",
|
|
3042
|
+
"type": "uint256"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"internalType": "uint256",
|
|
3046
|
+
"name": "reserveFactorMantissa",
|
|
3047
|
+
"type": "uint256"
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"internalType": "uint256",
|
|
3051
|
+
"name": "badDebt",
|
|
3052
|
+
"type": "uint256"
|
|
3053
|
+
}
|
|
3054
|
+
],
|
|
3055
|
+
"name": "getSupplyRate",
|
|
3056
|
+
"outputs": [
|
|
3057
|
+
{
|
|
3058
|
+
"internalType": "uint256",
|
|
3059
|
+
"name": "",
|
|
3060
|
+
"type": "uint256"
|
|
3061
|
+
}
|
|
3062
|
+
],
|
|
3063
|
+
"stateMutability": "view",
|
|
3064
|
+
"type": "function"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"inputs": [],
|
|
3068
|
+
"name": "isInterestRateModel",
|
|
3069
|
+
"outputs": [
|
|
3070
|
+
{
|
|
3071
|
+
"internalType": "bool",
|
|
3072
|
+
"name": "",
|
|
3073
|
+
"type": "bool"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
"stateMutability": "pure",
|
|
3077
|
+
"type": "function"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"inputs": [],
|
|
3081
|
+
"name": "isTimeBased",
|
|
3082
|
+
"outputs": [
|
|
3083
|
+
{
|
|
3084
|
+
"internalType": "bool",
|
|
3085
|
+
"name": "",
|
|
3086
|
+
"type": "bool"
|
|
3087
|
+
}
|
|
3088
|
+
],
|
|
3089
|
+
"stateMutability": "view",
|
|
3090
|
+
"type": "function"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"inputs": [],
|
|
3094
|
+
"name": "jumpMultiplierPerBlock",
|
|
3095
|
+
"outputs": [
|
|
3096
|
+
{
|
|
3097
|
+
"internalType": "uint256",
|
|
3098
|
+
"name": "",
|
|
3099
|
+
"type": "uint256"
|
|
3100
|
+
}
|
|
3101
|
+
],
|
|
3102
|
+
"stateMutability": "view",
|
|
3103
|
+
"type": "function"
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"inputs": [],
|
|
3107
|
+
"name": "kink",
|
|
3108
|
+
"outputs": [
|
|
3109
|
+
{
|
|
3110
|
+
"internalType": "uint256",
|
|
3111
|
+
"name": "",
|
|
3112
|
+
"type": "uint256"
|
|
3113
|
+
}
|
|
3114
|
+
],
|
|
3115
|
+
"stateMutability": "view",
|
|
3116
|
+
"type": "function"
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"inputs": [],
|
|
3120
|
+
"name": "multiplierPerBlock",
|
|
3121
|
+
"outputs": [
|
|
3122
|
+
{
|
|
3123
|
+
"internalType": "uint256",
|
|
3124
|
+
"name": "",
|
|
3125
|
+
"type": "uint256"
|
|
3126
|
+
}
|
|
3127
|
+
],
|
|
3128
|
+
"stateMutability": "view",
|
|
3129
|
+
"type": "function"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"inputs": [
|
|
3133
|
+
{
|
|
3134
|
+
"internalType": "uint256",
|
|
3135
|
+
"name": "baseRatePerYear",
|
|
3136
|
+
"type": "uint256"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"internalType": "uint256",
|
|
3140
|
+
"name": "multiplierPerYear",
|
|
3141
|
+
"type": "uint256"
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"internalType": "uint256",
|
|
3145
|
+
"name": "jumpMultiplierPerYear",
|
|
3146
|
+
"type": "uint256"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"internalType": "uint256",
|
|
3150
|
+
"name": "kink_",
|
|
3151
|
+
"type": "uint256"
|
|
3152
|
+
}
|
|
3153
|
+
],
|
|
3154
|
+
"name": "updateJumpRateModel",
|
|
3155
|
+
"outputs": [],
|
|
3156
|
+
"stateMutability": "nonpayable",
|
|
3157
|
+
"type": "function"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"inputs": [
|
|
3161
|
+
{
|
|
3162
|
+
"internalType": "uint256",
|
|
3163
|
+
"name": "cash",
|
|
3164
|
+
"type": "uint256"
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"internalType": "uint256",
|
|
3168
|
+
"name": "borrows",
|
|
3169
|
+
"type": "uint256"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"internalType": "uint256",
|
|
3173
|
+
"name": "reserves",
|
|
3174
|
+
"type": "uint256"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"internalType": "uint256",
|
|
3178
|
+
"name": "badDebt",
|
|
3179
|
+
"type": "uint256"
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3182
|
+
"name": "utilizationRate",
|
|
3183
|
+
"outputs": [
|
|
3184
|
+
{
|
|
3185
|
+
"internalType": "uint256",
|
|
3186
|
+
"name": "",
|
|
3187
|
+
"type": "uint256"
|
|
3188
|
+
}
|
|
3189
|
+
],
|
|
3190
|
+
"stateMutability": "pure",
|
|
3191
|
+
"type": "function"
|
|
3192
|
+
}
|
|
3193
|
+
]
|
|
3194
|
+
},
|
|
2835
3195
|
"JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps": {
|
|
2836
3196
|
"address": "0x897aD981078d1dBA52069f4BdC7F9441B0B94B76",
|
|
2837
3197
|
"abi": [
|
|
@@ -11835,6 +12195,80 @@
|
|
|
11835
12195
|
}
|
|
11836
12196
|
]
|
|
11837
12197
|
},
|
|
12198
|
+
"VToken_vUNI_Core": {
|
|
12199
|
+
"address": "0x67716D6Bf76170Af816F5735e14c4d44D0B05eD2",
|
|
12200
|
+
"abi": [
|
|
12201
|
+
{
|
|
12202
|
+
"inputs": [
|
|
12203
|
+
{
|
|
12204
|
+
"internalType": "address",
|
|
12205
|
+
"name": "beacon",
|
|
12206
|
+
"type": "address"
|
|
12207
|
+
},
|
|
12208
|
+
{
|
|
12209
|
+
"internalType": "bytes",
|
|
12210
|
+
"name": "data",
|
|
12211
|
+
"type": "bytes"
|
|
12212
|
+
}
|
|
12213
|
+
],
|
|
12214
|
+
"stateMutability": "payable",
|
|
12215
|
+
"type": "constructor"
|
|
12216
|
+
},
|
|
12217
|
+
{
|
|
12218
|
+
"anonymous": false,
|
|
12219
|
+
"inputs": [
|
|
12220
|
+
{
|
|
12221
|
+
"indexed": false,
|
|
12222
|
+
"internalType": "address",
|
|
12223
|
+
"name": "previousAdmin",
|
|
12224
|
+
"type": "address"
|
|
12225
|
+
},
|
|
12226
|
+
{
|
|
12227
|
+
"indexed": false,
|
|
12228
|
+
"internalType": "address",
|
|
12229
|
+
"name": "newAdmin",
|
|
12230
|
+
"type": "address"
|
|
12231
|
+
}
|
|
12232
|
+
],
|
|
12233
|
+
"name": "AdminChanged",
|
|
12234
|
+
"type": "event"
|
|
12235
|
+
},
|
|
12236
|
+
{
|
|
12237
|
+
"anonymous": false,
|
|
12238
|
+
"inputs": [
|
|
12239
|
+
{
|
|
12240
|
+
"indexed": true,
|
|
12241
|
+
"internalType": "address",
|
|
12242
|
+
"name": "beacon",
|
|
12243
|
+
"type": "address"
|
|
12244
|
+
}
|
|
12245
|
+
],
|
|
12246
|
+
"name": "BeaconUpgraded",
|
|
12247
|
+
"type": "event"
|
|
12248
|
+
},
|
|
12249
|
+
{
|
|
12250
|
+
"anonymous": false,
|
|
12251
|
+
"inputs": [
|
|
12252
|
+
{
|
|
12253
|
+
"indexed": true,
|
|
12254
|
+
"internalType": "address",
|
|
12255
|
+
"name": "implementation",
|
|
12256
|
+
"type": "address"
|
|
12257
|
+
}
|
|
12258
|
+
],
|
|
12259
|
+
"name": "Upgraded",
|
|
12260
|
+
"type": "event"
|
|
12261
|
+
},
|
|
12262
|
+
{
|
|
12263
|
+
"stateMutability": "payable",
|
|
12264
|
+
"type": "fallback"
|
|
12265
|
+
},
|
|
12266
|
+
{
|
|
12267
|
+
"stateMutability": "payable",
|
|
12268
|
+
"type": "receive"
|
|
12269
|
+
}
|
|
12270
|
+
]
|
|
12271
|
+
},
|
|
11838
12272
|
"VToken_vUSDC_Core": {
|
|
11839
12273
|
"address": "0xB953f92B9f759d97d2F2Dec10A8A3cf75fcE3A95",
|
|
11840
12274
|
"abi": [
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"Comptroller_Core": "0xe22af1e6b78318e1Fe1053Edbd7209b8Fc62c4Fe",
|
|
8
8
|
"DefaultProxyAdmin": "0x78e9fff2ab8daAB8559070d897C399E5e1C5074c",
|
|
9
9
|
"JumpRateModelV2_base0bps_slope1250bps_jump30000bps_kink8000bps": "0x2DAb0B51d7d899b66d4F16EA1c0cEB1767863523",
|
|
10
|
+
"JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink3000bps": "0x6379613ceE9f40E187971c9917fdf33ba5386CAb",
|
|
10
11
|
"JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps": "0x897aD981078d1dBA52069f4BdC7F9441B0B94B76",
|
|
11
12
|
"JumpRateModelV2_base0bps_slope300bps_jump30000bps_kink8000bps": "0x1cC9De442f893a0C4e1E6ffB1Ac404DDb9B67ab4",
|
|
12
13
|
"JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps": "0xb41aDec3D6dCc376164D071Cb5ed70388335e471",
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
"RewardsDistributor_Core_0_Proxy": "0x4630B71C1BD27c99DD86aBB2A18C50c3F75C88fb",
|
|
21
22
|
"VTokenBeacon": "0x42c1Efb9Dd9424c5ac8e6EcEa4eb03940c4a15Fc",
|
|
22
23
|
"VTokenImpl": "0x89368F746C6e96801cB92776E72a8948226072cc",
|
|
24
|
+
"VToken_vUNI_Core": "0x67716D6Bf76170Af816F5735e14c4d44D0B05eD2",
|
|
23
25
|
"VToken_vUSDC_Core": "0xB953f92B9f759d97d2F2Dec10A8A3cf75fcE3A95",
|
|
24
26
|
"VToken_vWETH_Core": "0xc219BC179C7cDb37eACB03f993f9fDc2495e3374"
|
|
25
27
|
}
|