@venusprotocol/isolated-pools 3.7.0-dev.4 → 3.7.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/arbitrumone/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/arbitrumone/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/arbitrumone.json +360 -0
- package/deployments/arbitrumone_addresses.json +1 -0
- package/deployments/basesepolia/.chainId +1 -0
- package/deployments/basesepolia/ComptrollerBeacon.json +206 -0
- package/deployments/basesepolia/ComptrollerImpl.json +3396 -0
- package/deployments/basesepolia/Comptroller_Core.json +187 -0
- package/deployments/basesepolia/DefaultProxyAdmin.json +200 -0
- package/deployments/basesepolia/JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps.json +608 -0
- package/deployments/basesepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
- package/deployments/basesepolia/MockUSDC.json +458 -0
- package/deployments/basesepolia/MockcbBTC.json +458 -0
- package/deployments/basesepolia/NativeTokenGateway_vWETH_Core.json +599 -0
- package/deployments/basesepolia/PoolLens.json +1416 -0
- package/deployments/basesepolia/PoolRegistry.json +940 -0
- package/deployments/basesepolia/PoolRegistry_Implementation.json +1194 -0
- package/deployments/basesepolia/PoolRegistry_Proxy.json +262 -0
- package/deployments/basesepolia/RewardsDistributorImpl.json +1856 -0
- package/deployments/basesepolia/RewardsDistributor_Core_0.json +1420 -0
- package/deployments/basesepolia/RewardsDistributor_Core_0_Proxy.json +272 -0
- package/deployments/basesepolia/VTokenBeacon.json +206 -0
- package/deployments/basesepolia/VTokenImpl.json +3269 -0
- package/deployments/basesepolia/VToken_vUSDC_Core.json +257 -0
- package/deployments/basesepolia/VToken_vWETH_Core.json +257 -0
- package/deployments/basesepolia/VToken_vcbBTC_Core.json +257 -0
- package/deployments/basesepolia/solcInputs/1cc1a300ca8c782ec718d1d686c359e7.json +301 -0
- package/deployments/basesepolia/solcInputs/9fb535a58937a08c38529913271f4d87.json +397 -0
- package/deployments/basesepolia.json +11959 -0
- package/deployments/basesepolia_addresses.json +27 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/bscmainnet.json +360 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/ethereum/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/ethereum.json +360 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/deployments/opbnbmainnet/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/opbnbmainnet/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/opbnbmainnet.json +360 -0
- package/deployments/opbnbmainnet_addresses.json +1 -0
- package/dist/deploy/018-native-token-gateway.js +14 -0
- package/dist/deployments/arbitrumone.json +360 -0
- package/dist/deployments/basesepolia.json +11959 -0
- package/dist/deployments/bscmainnet.json +360 -0
- package/dist/deployments/ethereum.json +360 -0
- package/dist/deployments/opbnbmainnet.json +360 -0
- package/dist/deployments/opmainnet.json +9280 -0
- package/dist/hardhat.config.js +19 -0
- package/dist/helpers/deploymentConfig.d.ts +9 -0
- package/dist/helpers/deploymentConfig.js +152 -17
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/factories/IVToken__factory.ts +1 -201
|
@@ -2906,6 +2906,366 @@
|
|
|
2906
2906
|
}
|
|
2907
2907
|
]
|
|
2908
2908
|
},
|
|
2909
|
+
"JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
|
|
2910
|
+
"address": "0x425dde630be832195619a06175ba45C827Dd3DCa",
|
|
2911
|
+
"abi": [
|
|
2912
|
+
{
|
|
2913
|
+
"inputs": [
|
|
2914
|
+
{
|
|
2915
|
+
"internalType": "uint256",
|
|
2916
|
+
"name": "baseRatePerYear_",
|
|
2917
|
+
"type": "uint256"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"internalType": "uint256",
|
|
2921
|
+
"name": "multiplierPerYear_",
|
|
2922
|
+
"type": "uint256"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"internalType": "uint256",
|
|
2926
|
+
"name": "jumpMultiplierPerYear_",
|
|
2927
|
+
"type": "uint256"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"internalType": "uint256",
|
|
2931
|
+
"name": "kink_",
|
|
2932
|
+
"type": "uint256"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
2936
|
+
"name": "accessControlManager_",
|
|
2937
|
+
"type": "address"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"internalType": "bool",
|
|
2941
|
+
"name": "timeBased_",
|
|
2942
|
+
"type": "bool"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"internalType": "uint256",
|
|
2946
|
+
"name": "blocksPerYear_",
|
|
2947
|
+
"type": "uint256"
|
|
2948
|
+
}
|
|
2949
|
+
],
|
|
2950
|
+
"stateMutability": "nonpayable",
|
|
2951
|
+
"type": "constructor"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"inputs": [],
|
|
2955
|
+
"name": "InvalidBlocksPerYear",
|
|
2956
|
+
"type": "error"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"inputs": [],
|
|
2960
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
2961
|
+
"type": "error"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"inputs": [
|
|
2965
|
+
{
|
|
2966
|
+
"internalType": "address",
|
|
2967
|
+
"name": "sender",
|
|
2968
|
+
"type": "address"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"internalType": "address",
|
|
2972
|
+
"name": "calledContract",
|
|
2973
|
+
"type": "address"
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"internalType": "string",
|
|
2977
|
+
"name": "methodSignature",
|
|
2978
|
+
"type": "string"
|
|
2979
|
+
}
|
|
2980
|
+
],
|
|
2981
|
+
"name": "Unauthorized",
|
|
2982
|
+
"type": "error"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"anonymous": false,
|
|
2986
|
+
"inputs": [
|
|
2987
|
+
{
|
|
2988
|
+
"indexed": false,
|
|
2989
|
+
"internalType": "uint256",
|
|
2990
|
+
"name": "baseRatePerBlockOrTimestamp",
|
|
2991
|
+
"type": "uint256"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"indexed": false,
|
|
2995
|
+
"internalType": "uint256",
|
|
2996
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
2997
|
+
"type": "uint256"
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"indexed": false,
|
|
3001
|
+
"internalType": "uint256",
|
|
3002
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
3003
|
+
"type": "uint256"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"indexed": false,
|
|
3007
|
+
"internalType": "uint256",
|
|
3008
|
+
"name": "kink",
|
|
3009
|
+
"type": "uint256"
|
|
3010
|
+
}
|
|
3011
|
+
],
|
|
3012
|
+
"name": "NewInterestParams",
|
|
3013
|
+
"type": "event"
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"inputs": [],
|
|
3017
|
+
"name": "accessControlManager",
|
|
3018
|
+
"outputs": [
|
|
3019
|
+
{
|
|
3020
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3021
|
+
"name": "",
|
|
3022
|
+
"type": "address"
|
|
3023
|
+
}
|
|
3024
|
+
],
|
|
3025
|
+
"stateMutability": "view",
|
|
3026
|
+
"type": "function"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"inputs": [],
|
|
3030
|
+
"name": "baseRatePerBlock",
|
|
3031
|
+
"outputs": [
|
|
3032
|
+
{
|
|
3033
|
+
"internalType": "uint256",
|
|
3034
|
+
"name": "",
|
|
3035
|
+
"type": "uint256"
|
|
3036
|
+
}
|
|
3037
|
+
],
|
|
3038
|
+
"stateMutability": "view",
|
|
3039
|
+
"type": "function"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"inputs": [],
|
|
3043
|
+
"name": "blocksOrSecondsPerYear",
|
|
3044
|
+
"outputs": [
|
|
3045
|
+
{
|
|
3046
|
+
"internalType": "uint256",
|
|
3047
|
+
"name": "",
|
|
3048
|
+
"type": "uint256"
|
|
3049
|
+
}
|
|
3050
|
+
],
|
|
3051
|
+
"stateMutability": "view",
|
|
3052
|
+
"type": "function"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"inputs": [],
|
|
3056
|
+
"name": "getBlockNumberOrTimestamp",
|
|
3057
|
+
"outputs": [
|
|
3058
|
+
{
|
|
3059
|
+
"internalType": "uint256",
|
|
3060
|
+
"name": "",
|
|
3061
|
+
"type": "uint256"
|
|
3062
|
+
}
|
|
3063
|
+
],
|
|
3064
|
+
"stateMutability": "view",
|
|
3065
|
+
"type": "function"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"inputs": [
|
|
3069
|
+
{
|
|
3070
|
+
"internalType": "uint256",
|
|
3071
|
+
"name": "cash",
|
|
3072
|
+
"type": "uint256"
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"internalType": "uint256",
|
|
3076
|
+
"name": "borrows",
|
|
3077
|
+
"type": "uint256"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"internalType": "uint256",
|
|
3081
|
+
"name": "reserves",
|
|
3082
|
+
"type": "uint256"
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
"internalType": "uint256",
|
|
3086
|
+
"name": "badDebt",
|
|
3087
|
+
"type": "uint256"
|
|
3088
|
+
}
|
|
3089
|
+
],
|
|
3090
|
+
"name": "getBorrowRate",
|
|
3091
|
+
"outputs": [
|
|
3092
|
+
{
|
|
3093
|
+
"internalType": "uint256",
|
|
3094
|
+
"name": "",
|
|
3095
|
+
"type": "uint256"
|
|
3096
|
+
}
|
|
3097
|
+
],
|
|
3098
|
+
"stateMutability": "view",
|
|
3099
|
+
"type": "function"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"inputs": [
|
|
3103
|
+
{
|
|
3104
|
+
"internalType": "uint256",
|
|
3105
|
+
"name": "cash",
|
|
3106
|
+
"type": "uint256"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"internalType": "uint256",
|
|
3110
|
+
"name": "borrows",
|
|
3111
|
+
"type": "uint256"
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"internalType": "uint256",
|
|
3115
|
+
"name": "reserves",
|
|
3116
|
+
"type": "uint256"
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"internalType": "uint256",
|
|
3120
|
+
"name": "reserveFactorMantissa",
|
|
3121
|
+
"type": "uint256"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"internalType": "uint256",
|
|
3125
|
+
"name": "badDebt",
|
|
3126
|
+
"type": "uint256"
|
|
3127
|
+
}
|
|
3128
|
+
],
|
|
3129
|
+
"name": "getSupplyRate",
|
|
3130
|
+
"outputs": [
|
|
3131
|
+
{
|
|
3132
|
+
"internalType": "uint256",
|
|
3133
|
+
"name": "",
|
|
3134
|
+
"type": "uint256"
|
|
3135
|
+
}
|
|
3136
|
+
],
|
|
3137
|
+
"stateMutability": "view",
|
|
3138
|
+
"type": "function"
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"inputs": [],
|
|
3142
|
+
"name": "isInterestRateModel",
|
|
3143
|
+
"outputs": [
|
|
3144
|
+
{
|
|
3145
|
+
"internalType": "bool",
|
|
3146
|
+
"name": "",
|
|
3147
|
+
"type": "bool"
|
|
3148
|
+
}
|
|
3149
|
+
],
|
|
3150
|
+
"stateMutability": "pure",
|
|
3151
|
+
"type": "function"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"inputs": [],
|
|
3155
|
+
"name": "isTimeBased",
|
|
3156
|
+
"outputs": [
|
|
3157
|
+
{
|
|
3158
|
+
"internalType": "bool",
|
|
3159
|
+
"name": "",
|
|
3160
|
+
"type": "bool"
|
|
3161
|
+
}
|
|
3162
|
+
],
|
|
3163
|
+
"stateMutability": "view",
|
|
3164
|
+
"type": "function"
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"inputs": [],
|
|
3168
|
+
"name": "jumpMultiplierPerBlock",
|
|
3169
|
+
"outputs": [
|
|
3170
|
+
{
|
|
3171
|
+
"internalType": "uint256",
|
|
3172
|
+
"name": "",
|
|
3173
|
+
"type": "uint256"
|
|
3174
|
+
}
|
|
3175
|
+
],
|
|
3176
|
+
"stateMutability": "view",
|
|
3177
|
+
"type": "function"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"inputs": [],
|
|
3181
|
+
"name": "kink",
|
|
3182
|
+
"outputs": [
|
|
3183
|
+
{
|
|
3184
|
+
"internalType": "uint256",
|
|
3185
|
+
"name": "",
|
|
3186
|
+
"type": "uint256"
|
|
3187
|
+
}
|
|
3188
|
+
],
|
|
3189
|
+
"stateMutability": "view",
|
|
3190
|
+
"type": "function"
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"inputs": [],
|
|
3194
|
+
"name": "multiplierPerBlock",
|
|
3195
|
+
"outputs": [
|
|
3196
|
+
{
|
|
3197
|
+
"internalType": "uint256",
|
|
3198
|
+
"name": "",
|
|
3199
|
+
"type": "uint256"
|
|
3200
|
+
}
|
|
3201
|
+
],
|
|
3202
|
+
"stateMutability": "view",
|
|
3203
|
+
"type": "function"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"inputs": [
|
|
3207
|
+
{
|
|
3208
|
+
"internalType": "uint256",
|
|
3209
|
+
"name": "baseRatePerYear",
|
|
3210
|
+
"type": "uint256"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"internalType": "uint256",
|
|
3214
|
+
"name": "multiplierPerYear",
|
|
3215
|
+
"type": "uint256"
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"internalType": "uint256",
|
|
3219
|
+
"name": "jumpMultiplierPerYear",
|
|
3220
|
+
"type": "uint256"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"internalType": "uint256",
|
|
3224
|
+
"name": "kink_",
|
|
3225
|
+
"type": "uint256"
|
|
3226
|
+
}
|
|
3227
|
+
],
|
|
3228
|
+
"name": "updateJumpRateModel",
|
|
3229
|
+
"outputs": [],
|
|
3230
|
+
"stateMutability": "nonpayable",
|
|
3231
|
+
"type": "function"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"inputs": [
|
|
3235
|
+
{
|
|
3236
|
+
"internalType": "uint256",
|
|
3237
|
+
"name": "cash",
|
|
3238
|
+
"type": "uint256"
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"internalType": "uint256",
|
|
3242
|
+
"name": "borrows",
|
|
3243
|
+
"type": "uint256"
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"internalType": "uint256",
|
|
3247
|
+
"name": "reserves",
|
|
3248
|
+
"type": "uint256"
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"internalType": "uint256",
|
|
3252
|
+
"name": "badDebt",
|
|
3253
|
+
"type": "uint256"
|
|
3254
|
+
}
|
|
3255
|
+
],
|
|
3256
|
+
"name": "utilizationRate",
|
|
3257
|
+
"outputs": [
|
|
3258
|
+
{
|
|
3259
|
+
"internalType": "uint256",
|
|
3260
|
+
"name": "",
|
|
3261
|
+
"type": "uint256"
|
|
3262
|
+
}
|
|
3263
|
+
],
|
|
3264
|
+
"stateMutability": "pure",
|
|
3265
|
+
"type": "function"
|
|
3266
|
+
}
|
|
3267
|
+
]
|
|
3268
|
+
},
|
|
2909
3269
|
"JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps": {
|
|
2910
3270
|
"address": "0x305f960b00594200ed80373B61b38e669651469E",
|
|
2911
3271
|
"abi": [
|