@venusprotocol/isolated-pools 3.8.0-dev.4 → 3.8.0-dev.5
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/zksyncmainnet/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
- package/deployments/zksyncmainnet/VToken_vwUSDM_Core.json +317 -0
- package/deployments/zksyncmainnet/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
- package/deployments/zksyncmainnet.json +434 -0
- package/deployments/zksyncmainnet_addresses.json +3 -1
- package/deployments/zksyncsepolia/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
- package/deployments/zksyncsepolia/MockUSDM.json +519 -0
- package/deployments/zksyncsepolia/MockwUSDM.json +576 -0
- package/deployments/zksyncsepolia/VToken_vwUSDM_Core.json +317 -0
- package/deployments/zksyncsepolia/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
- package/deployments/zksyncsepolia.json +1160 -89
- package/deployments/zksyncsepolia_addresses.json +5 -1
- package/dist/deploy/001-deploy-mock-tokens.js +3 -2
- package/dist/deploy/009-deploy-vtokens.js +10 -1
- package/dist/deployments/zksyncmainnet.json +434 -0
- package/dist/deployments/zksyncsepolia.json +1160 -89
- package/dist/hardhat.config.js +7 -0
- package/dist/helpers/deploymentConfig.d.ts +1 -0
- package/dist/helpers/deploymentConfig.js +71 -6
- package/dist/helpers/deploymentUtils.d.ts +2 -0
- package/dist/helpers/deploymentUtils.js +6 -1
- 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_slope687bps_jump25000bps_kink8000bps": {
|
|
2836
|
+
"address": "0x40a0DEC6AcA207F45212B14dE1312cEae6FB3E5A",
|
|
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_slope875bps_jump8000bps_kink8000bps": {
|
|
2836
3196
|
"address": "0x6e0f830e7fc78a296B0EbD5694573C2D9f0994B1",
|
|
2837
3197
|
"abi": [
|
|
@@ -12630,6 +12990,80 @@
|
|
|
12630
12990
|
"type": "receive"
|
|
12631
12991
|
}
|
|
12632
12992
|
]
|
|
12993
|
+
},
|
|
12994
|
+
"VToken_vwUSDM_Core": {
|
|
12995
|
+
"address": "0x183dE3C349fCf546aAe925E1c7F364EA6FB4033c",
|
|
12996
|
+
"abi": [
|
|
12997
|
+
{
|
|
12998
|
+
"inputs": [
|
|
12999
|
+
{
|
|
13000
|
+
"internalType": "address",
|
|
13001
|
+
"name": "beacon",
|
|
13002
|
+
"type": "address"
|
|
13003
|
+
},
|
|
13004
|
+
{
|
|
13005
|
+
"internalType": "bytes",
|
|
13006
|
+
"name": "data",
|
|
13007
|
+
"type": "bytes"
|
|
13008
|
+
}
|
|
13009
|
+
],
|
|
13010
|
+
"stateMutability": "payable",
|
|
13011
|
+
"type": "constructor"
|
|
13012
|
+
},
|
|
13013
|
+
{
|
|
13014
|
+
"anonymous": false,
|
|
13015
|
+
"inputs": [
|
|
13016
|
+
{
|
|
13017
|
+
"indexed": false,
|
|
13018
|
+
"internalType": "address",
|
|
13019
|
+
"name": "previousAdmin",
|
|
13020
|
+
"type": "address"
|
|
13021
|
+
},
|
|
13022
|
+
{
|
|
13023
|
+
"indexed": false,
|
|
13024
|
+
"internalType": "address",
|
|
13025
|
+
"name": "newAdmin",
|
|
13026
|
+
"type": "address"
|
|
13027
|
+
}
|
|
13028
|
+
],
|
|
13029
|
+
"name": "AdminChanged",
|
|
13030
|
+
"type": "event"
|
|
13031
|
+
},
|
|
13032
|
+
{
|
|
13033
|
+
"anonymous": false,
|
|
13034
|
+
"inputs": [
|
|
13035
|
+
{
|
|
13036
|
+
"indexed": true,
|
|
13037
|
+
"internalType": "address",
|
|
13038
|
+
"name": "beacon",
|
|
13039
|
+
"type": "address"
|
|
13040
|
+
}
|
|
13041
|
+
],
|
|
13042
|
+
"name": "BeaconUpgraded",
|
|
13043
|
+
"type": "event"
|
|
13044
|
+
},
|
|
13045
|
+
{
|
|
13046
|
+
"anonymous": false,
|
|
13047
|
+
"inputs": [
|
|
13048
|
+
{
|
|
13049
|
+
"indexed": true,
|
|
13050
|
+
"internalType": "address",
|
|
13051
|
+
"name": "implementation",
|
|
13052
|
+
"type": "address"
|
|
13053
|
+
}
|
|
13054
|
+
],
|
|
13055
|
+
"name": "Upgraded",
|
|
13056
|
+
"type": "event"
|
|
13057
|
+
},
|
|
13058
|
+
{
|
|
13059
|
+
"stateMutability": "payable",
|
|
13060
|
+
"type": "fallback"
|
|
13061
|
+
},
|
|
13062
|
+
{
|
|
13063
|
+
"stateMutability": "payable",
|
|
13064
|
+
"type": "receive"
|
|
13065
|
+
}
|
|
13066
|
+
]
|
|
12633
13067
|
}
|
|
12634
13068
|
}
|
|
12635
13069
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"Comptroller_Core": "0xddE4D098D9995B659724ae6d5E3FB9681Ac941B1",
|
|
8
8
|
"DefaultProxyAdmin": "0x8Ea1A989B036f7Ef21bb95CE4E7961522Ca00287",
|
|
9
9
|
"JumpRateModelV2_base0bps_slope425bps_jump8000bps_kink8000bps": "0xd8b4c9574e80376Ce4687EAc57D594C560Dc7c3F",
|
|
10
|
+
"JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps": "0x40a0DEC6AcA207F45212B14dE1312cEae6FB3E5A",
|
|
10
11
|
"JumpRateModelV2_base0bps_slope875bps_jump8000bps_kink8000bps": "0x6e0f830e7fc78a296B0EbD5694573C2D9f0994B1",
|
|
11
12
|
"JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps": "0xDe0DdC53BE71B2C67808392088A922AdC4ec3114",
|
|
12
13
|
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps": "0xab2A687A02F5EE7A5b3B52E929705cCA470A0844",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"VToken_vUSDT_Core": "0x69cDA960E3b20DFD480866fFfd377Ebe40bd0A46",
|
|
27
28
|
"VToken_vWBTC_Core": "0xAF8fD83cFCbe963211FAaf1847F0F217F80B4719",
|
|
28
29
|
"VToken_vWETH_Core": "0x1Fa916C27c7C2c4602124A14C77Dbb40a5FF1BE8",
|
|
29
|
-
"VToken_vZK_Core": "0x697a70779C1A03Ba2BD28b7627a902BFf831b616"
|
|
30
|
+
"VToken_vZK_Core": "0x697a70779C1A03Ba2BD28b7627a902BFf831b616",
|
|
31
|
+
"VToken_vwUSDM_Core": "0x183dE3C349fCf546aAe925E1c7F364EA6FB4033c"
|
|
30
32
|
}
|
|
31
33
|
}
|