@venusprotocol/isolated-pools 4.2.0-dev.3 → 4.2.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/basemainnet/VToken_vwstETH_Core.json +257 -0
- package/deployments/basemainnet/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
- package/deployments/basemainnet.json +74 -0
- package/deployments/basemainnet_addresses.json +1 -0
- package/deployments/basesepolia/MockwstETH.json +458 -0
- package/deployments/basesepolia/VToken_vwstETH_Core.json +257 -0
- package/deployments/basesepolia/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
- package/deployments/basesepolia.json +383 -0
- package/deployments/basesepolia_addresses.json +2 -0
- package/deployments/berachainbartio/.chainId +1 -0
- package/deployments/berachainbartio/ComptrollerBeacon.json +206 -0
- package/deployments/berachainbartio/ComptrollerImpl.json +3396 -0
- package/deployments/berachainbartio/Comptroller_Core.json +187 -0
- package/deployments/berachainbartio/DefaultProxyAdmin.json +200 -0
- package/deployments/berachainbartio/JumpRateModelV2_base0bps_slope875bps_jump25000bps_kink8000bps.json +608 -0
- package/deployments/berachainbartio/MockUSDC.e.json +458 -0
- package/deployments/berachainbartio/MockWETH.json +458 -0
- package/deployments/berachainbartio/NativeTokenGateway_vWBERA_Core.json +599 -0
- package/deployments/berachainbartio/PoolLens.json +1416 -0
- package/deployments/berachainbartio/PoolRegistry.json +940 -0
- package/deployments/berachainbartio/PoolRegistry_Implementation.json +1194 -0
- package/deployments/berachainbartio/PoolRegistry_Proxy.json +262 -0
- package/deployments/berachainbartio/VTokenBeacon.json +206 -0
- package/deployments/berachainbartio/VTokenImpl.json +3269 -0
- package/deployments/berachainbartio/VToken_vUSDC.e_Core.json +257 -0
- package/deployments/berachainbartio/VToken_vWBERA_Core.json +257 -0
- package/deployments/berachainbartio/VToken_vWETH_Core.json +257 -0
- package/deployments/berachainbartio/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
- package/deployments/berachainbartio.json +9030 -0
- package/deployments/berachainbartio_addresses.json +23 -0
- package/deployments/zksyncmainnet/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +668 -0
- package/deployments/zksyncmainnet/VToken_vwstETH_Core.json +317 -0
- package/deployments/zksyncmainnet/solcInputs/4891999ef4820941e6f6f9716556c887.json +169 -0
- package/deployments/zksyncmainnet.json +434 -0
- package/deployments/zksyncmainnet_addresses.json +3 -1
- package/deployments/zksyncsepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +668 -0
- package/deployments/zksyncsepolia/MockwstETH.json +519 -0
- package/deployments/zksyncsepolia/VToken_vwstETH_Core.json +317 -0
- package/deployments/zksyncsepolia/solcInputs/4891999ef4820941e6f6f9716556c887.json +169 -0
- package/deployments/zksyncsepolia.json +774 -31
- package/deployments/zksyncsepolia_addresses.json +4 -1
- package/dist/deploy/018-native-token-gateway.js +7 -0
- package/dist/deployments/basemainnet.json +74 -0
- package/dist/deployments/basesepolia.json +383 -0
- package/dist/deployments/berachainbartio.json +9030 -0
- package/dist/deployments/zksyncmainnet.json +434 -0
- package/dist/deployments/zksyncsepolia.json +774 -31
- package/dist/hardhat.config.js +21 -0
- package/dist/helpers/deploymentConfig.d.ts +8 -0
- package/dist/helpers/deploymentConfig.js +214 -0
- package/package.json +1 -1
|
@@ -3912,6 +3912,366 @@
|
|
|
3912
3912
|
}
|
|
3913
3913
|
]
|
|
3914
3914
|
},
|
|
3915
|
+
"JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps": {
|
|
3916
|
+
"address": "0x42053cb8Ee2cBbfCEDF423C79A50CF56c9C9424f",
|
|
3917
|
+
"abi": [
|
|
3918
|
+
{
|
|
3919
|
+
"inputs": [
|
|
3920
|
+
{
|
|
3921
|
+
"internalType": "uint256",
|
|
3922
|
+
"name": "baseRatePerYear_",
|
|
3923
|
+
"type": "uint256"
|
|
3924
|
+
},
|
|
3925
|
+
{
|
|
3926
|
+
"internalType": "uint256",
|
|
3927
|
+
"name": "multiplierPerYear_",
|
|
3928
|
+
"type": "uint256"
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
"internalType": "uint256",
|
|
3932
|
+
"name": "jumpMultiplierPerYear_",
|
|
3933
|
+
"type": "uint256"
|
|
3934
|
+
},
|
|
3935
|
+
{
|
|
3936
|
+
"internalType": "uint256",
|
|
3937
|
+
"name": "kink_",
|
|
3938
|
+
"type": "uint256"
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3942
|
+
"name": "accessControlManager_",
|
|
3943
|
+
"type": "address"
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"internalType": "bool",
|
|
3947
|
+
"name": "timeBased_",
|
|
3948
|
+
"type": "bool"
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
"internalType": "uint256",
|
|
3952
|
+
"name": "blocksPerYear_",
|
|
3953
|
+
"type": "uint256"
|
|
3954
|
+
}
|
|
3955
|
+
],
|
|
3956
|
+
"stateMutability": "nonpayable",
|
|
3957
|
+
"type": "constructor"
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"inputs": [],
|
|
3961
|
+
"name": "InvalidBlocksPerYear",
|
|
3962
|
+
"type": "error"
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"inputs": [],
|
|
3966
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
3967
|
+
"type": "error"
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"inputs": [
|
|
3971
|
+
{
|
|
3972
|
+
"internalType": "address",
|
|
3973
|
+
"name": "sender",
|
|
3974
|
+
"type": "address"
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"internalType": "address",
|
|
3978
|
+
"name": "calledContract",
|
|
3979
|
+
"type": "address"
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"internalType": "string",
|
|
3983
|
+
"name": "methodSignature",
|
|
3984
|
+
"type": "string"
|
|
3985
|
+
}
|
|
3986
|
+
],
|
|
3987
|
+
"name": "Unauthorized",
|
|
3988
|
+
"type": "error"
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"anonymous": false,
|
|
3992
|
+
"inputs": [
|
|
3993
|
+
{
|
|
3994
|
+
"indexed": false,
|
|
3995
|
+
"internalType": "uint256",
|
|
3996
|
+
"name": "baseRatePerBlockOrTimestamp",
|
|
3997
|
+
"type": "uint256"
|
|
3998
|
+
},
|
|
3999
|
+
{
|
|
4000
|
+
"indexed": false,
|
|
4001
|
+
"internalType": "uint256",
|
|
4002
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
4003
|
+
"type": "uint256"
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
"indexed": false,
|
|
4007
|
+
"internalType": "uint256",
|
|
4008
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
4009
|
+
"type": "uint256"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
"indexed": false,
|
|
4013
|
+
"internalType": "uint256",
|
|
4014
|
+
"name": "kink",
|
|
4015
|
+
"type": "uint256"
|
|
4016
|
+
}
|
|
4017
|
+
],
|
|
4018
|
+
"name": "NewInterestParams",
|
|
4019
|
+
"type": "event"
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"inputs": [],
|
|
4023
|
+
"name": "accessControlManager",
|
|
4024
|
+
"outputs": [
|
|
4025
|
+
{
|
|
4026
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
4027
|
+
"name": "",
|
|
4028
|
+
"type": "address"
|
|
4029
|
+
}
|
|
4030
|
+
],
|
|
4031
|
+
"stateMutability": "view",
|
|
4032
|
+
"type": "function"
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"inputs": [],
|
|
4036
|
+
"name": "baseRatePerBlock",
|
|
4037
|
+
"outputs": [
|
|
4038
|
+
{
|
|
4039
|
+
"internalType": "uint256",
|
|
4040
|
+
"name": "",
|
|
4041
|
+
"type": "uint256"
|
|
4042
|
+
}
|
|
4043
|
+
],
|
|
4044
|
+
"stateMutability": "view",
|
|
4045
|
+
"type": "function"
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"inputs": [],
|
|
4049
|
+
"name": "blocksOrSecondsPerYear",
|
|
4050
|
+
"outputs": [
|
|
4051
|
+
{
|
|
4052
|
+
"internalType": "uint256",
|
|
4053
|
+
"name": "",
|
|
4054
|
+
"type": "uint256"
|
|
4055
|
+
}
|
|
4056
|
+
],
|
|
4057
|
+
"stateMutability": "view",
|
|
4058
|
+
"type": "function"
|
|
4059
|
+
},
|
|
4060
|
+
{
|
|
4061
|
+
"inputs": [],
|
|
4062
|
+
"name": "getBlockNumberOrTimestamp",
|
|
4063
|
+
"outputs": [
|
|
4064
|
+
{
|
|
4065
|
+
"internalType": "uint256",
|
|
4066
|
+
"name": "",
|
|
4067
|
+
"type": "uint256"
|
|
4068
|
+
}
|
|
4069
|
+
],
|
|
4070
|
+
"stateMutability": "view",
|
|
4071
|
+
"type": "function"
|
|
4072
|
+
},
|
|
4073
|
+
{
|
|
4074
|
+
"inputs": [
|
|
4075
|
+
{
|
|
4076
|
+
"internalType": "uint256",
|
|
4077
|
+
"name": "cash",
|
|
4078
|
+
"type": "uint256"
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
"internalType": "uint256",
|
|
4082
|
+
"name": "borrows",
|
|
4083
|
+
"type": "uint256"
|
|
4084
|
+
},
|
|
4085
|
+
{
|
|
4086
|
+
"internalType": "uint256",
|
|
4087
|
+
"name": "reserves",
|
|
4088
|
+
"type": "uint256"
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
"internalType": "uint256",
|
|
4092
|
+
"name": "badDebt",
|
|
4093
|
+
"type": "uint256"
|
|
4094
|
+
}
|
|
4095
|
+
],
|
|
4096
|
+
"name": "getBorrowRate",
|
|
4097
|
+
"outputs": [
|
|
4098
|
+
{
|
|
4099
|
+
"internalType": "uint256",
|
|
4100
|
+
"name": "",
|
|
4101
|
+
"type": "uint256"
|
|
4102
|
+
}
|
|
4103
|
+
],
|
|
4104
|
+
"stateMutability": "view",
|
|
4105
|
+
"type": "function"
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
"inputs": [
|
|
4109
|
+
{
|
|
4110
|
+
"internalType": "uint256",
|
|
4111
|
+
"name": "cash",
|
|
4112
|
+
"type": "uint256"
|
|
4113
|
+
},
|
|
4114
|
+
{
|
|
4115
|
+
"internalType": "uint256",
|
|
4116
|
+
"name": "borrows",
|
|
4117
|
+
"type": "uint256"
|
|
4118
|
+
},
|
|
4119
|
+
{
|
|
4120
|
+
"internalType": "uint256",
|
|
4121
|
+
"name": "reserves",
|
|
4122
|
+
"type": "uint256"
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
"internalType": "uint256",
|
|
4126
|
+
"name": "reserveFactorMantissa",
|
|
4127
|
+
"type": "uint256"
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
4130
|
+
"internalType": "uint256",
|
|
4131
|
+
"name": "badDebt",
|
|
4132
|
+
"type": "uint256"
|
|
4133
|
+
}
|
|
4134
|
+
],
|
|
4135
|
+
"name": "getSupplyRate",
|
|
4136
|
+
"outputs": [
|
|
4137
|
+
{
|
|
4138
|
+
"internalType": "uint256",
|
|
4139
|
+
"name": "",
|
|
4140
|
+
"type": "uint256"
|
|
4141
|
+
}
|
|
4142
|
+
],
|
|
4143
|
+
"stateMutability": "view",
|
|
4144
|
+
"type": "function"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"inputs": [],
|
|
4148
|
+
"name": "isInterestRateModel",
|
|
4149
|
+
"outputs": [
|
|
4150
|
+
{
|
|
4151
|
+
"internalType": "bool",
|
|
4152
|
+
"name": "",
|
|
4153
|
+
"type": "bool"
|
|
4154
|
+
}
|
|
4155
|
+
],
|
|
4156
|
+
"stateMutability": "pure",
|
|
4157
|
+
"type": "function"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
"inputs": [],
|
|
4161
|
+
"name": "isTimeBased",
|
|
4162
|
+
"outputs": [
|
|
4163
|
+
{
|
|
4164
|
+
"internalType": "bool",
|
|
4165
|
+
"name": "",
|
|
4166
|
+
"type": "bool"
|
|
4167
|
+
}
|
|
4168
|
+
],
|
|
4169
|
+
"stateMutability": "view",
|
|
4170
|
+
"type": "function"
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"inputs": [],
|
|
4174
|
+
"name": "jumpMultiplierPerBlock",
|
|
4175
|
+
"outputs": [
|
|
4176
|
+
{
|
|
4177
|
+
"internalType": "uint256",
|
|
4178
|
+
"name": "",
|
|
4179
|
+
"type": "uint256"
|
|
4180
|
+
}
|
|
4181
|
+
],
|
|
4182
|
+
"stateMutability": "view",
|
|
4183
|
+
"type": "function"
|
|
4184
|
+
},
|
|
4185
|
+
{
|
|
4186
|
+
"inputs": [],
|
|
4187
|
+
"name": "kink",
|
|
4188
|
+
"outputs": [
|
|
4189
|
+
{
|
|
4190
|
+
"internalType": "uint256",
|
|
4191
|
+
"name": "",
|
|
4192
|
+
"type": "uint256"
|
|
4193
|
+
}
|
|
4194
|
+
],
|
|
4195
|
+
"stateMutability": "view",
|
|
4196
|
+
"type": "function"
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"inputs": [],
|
|
4200
|
+
"name": "multiplierPerBlock",
|
|
4201
|
+
"outputs": [
|
|
4202
|
+
{
|
|
4203
|
+
"internalType": "uint256",
|
|
4204
|
+
"name": "",
|
|
4205
|
+
"type": "uint256"
|
|
4206
|
+
}
|
|
4207
|
+
],
|
|
4208
|
+
"stateMutability": "view",
|
|
4209
|
+
"type": "function"
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"inputs": [
|
|
4213
|
+
{
|
|
4214
|
+
"internalType": "uint256",
|
|
4215
|
+
"name": "baseRatePerYear",
|
|
4216
|
+
"type": "uint256"
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"internalType": "uint256",
|
|
4220
|
+
"name": "multiplierPerYear",
|
|
4221
|
+
"type": "uint256"
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
"internalType": "uint256",
|
|
4225
|
+
"name": "jumpMultiplierPerYear",
|
|
4226
|
+
"type": "uint256"
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
"internalType": "uint256",
|
|
4230
|
+
"name": "kink_",
|
|
4231
|
+
"type": "uint256"
|
|
4232
|
+
}
|
|
4233
|
+
],
|
|
4234
|
+
"name": "updateJumpRateModel",
|
|
4235
|
+
"outputs": [],
|
|
4236
|
+
"stateMutability": "nonpayable",
|
|
4237
|
+
"type": "function"
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"inputs": [
|
|
4241
|
+
{
|
|
4242
|
+
"internalType": "uint256",
|
|
4243
|
+
"name": "cash",
|
|
4244
|
+
"type": "uint256"
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
"internalType": "uint256",
|
|
4248
|
+
"name": "borrows",
|
|
4249
|
+
"type": "uint256"
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
"internalType": "uint256",
|
|
4253
|
+
"name": "reserves",
|
|
4254
|
+
"type": "uint256"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"internalType": "uint256",
|
|
4258
|
+
"name": "badDebt",
|
|
4259
|
+
"type": "uint256"
|
|
4260
|
+
}
|
|
4261
|
+
],
|
|
4262
|
+
"name": "utilizationRate",
|
|
4263
|
+
"outputs": [
|
|
4264
|
+
{
|
|
4265
|
+
"internalType": "uint256",
|
|
4266
|
+
"name": "",
|
|
4267
|
+
"type": "uint256"
|
|
4268
|
+
}
|
|
4269
|
+
],
|
|
4270
|
+
"stateMutability": "pure",
|
|
4271
|
+
"type": "function"
|
|
4272
|
+
}
|
|
4273
|
+
]
|
|
4274
|
+
},
|
|
3915
4275
|
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps": {
|
|
3916
4276
|
"address": "0xab2A687A02F5EE7A5b3B52E929705cCA470A0844",
|
|
3917
4277
|
"abi": [
|
|
@@ -13064,6 +13424,80 @@
|
|
|
13064
13424
|
"type": "receive"
|
|
13065
13425
|
}
|
|
13066
13426
|
]
|
|
13427
|
+
},
|
|
13428
|
+
"VToken_vwstETH_Core": {
|
|
13429
|
+
"address": "0x03CAd66259f7F34EE075f8B62D133563D249eDa4",
|
|
13430
|
+
"abi": [
|
|
13431
|
+
{
|
|
13432
|
+
"inputs": [
|
|
13433
|
+
{
|
|
13434
|
+
"internalType": "address",
|
|
13435
|
+
"name": "beacon",
|
|
13436
|
+
"type": "address"
|
|
13437
|
+
},
|
|
13438
|
+
{
|
|
13439
|
+
"internalType": "bytes",
|
|
13440
|
+
"name": "data",
|
|
13441
|
+
"type": "bytes"
|
|
13442
|
+
}
|
|
13443
|
+
],
|
|
13444
|
+
"stateMutability": "payable",
|
|
13445
|
+
"type": "constructor"
|
|
13446
|
+
},
|
|
13447
|
+
{
|
|
13448
|
+
"anonymous": false,
|
|
13449
|
+
"inputs": [
|
|
13450
|
+
{
|
|
13451
|
+
"indexed": false,
|
|
13452
|
+
"internalType": "address",
|
|
13453
|
+
"name": "previousAdmin",
|
|
13454
|
+
"type": "address"
|
|
13455
|
+
},
|
|
13456
|
+
{
|
|
13457
|
+
"indexed": false,
|
|
13458
|
+
"internalType": "address",
|
|
13459
|
+
"name": "newAdmin",
|
|
13460
|
+
"type": "address"
|
|
13461
|
+
}
|
|
13462
|
+
],
|
|
13463
|
+
"name": "AdminChanged",
|
|
13464
|
+
"type": "event"
|
|
13465
|
+
},
|
|
13466
|
+
{
|
|
13467
|
+
"anonymous": false,
|
|
13468
|
+
"inputs": [
|
|
13469
|
+
{
|
|
13470
|
+
"indexed": true,
|
|
13471
|
+
"internalType": "address",
|
|
13472
|
+
"name": "beacon",
|
|
13473
|
+
"type": "address"
|
|
13474
|
+
}
|
|
13475
|
+
],
|
|
13476
|
+
"name": "BeaconUpgraded",
|
|
13477
|
+
"type": "event"
|
|
13478
|
+
},
|
|
13479
|
+
{
|
|
13480
|
+
"anonymous": false,
|
|
13481
|
+
"inputs": [
|
|
13482
|
+
{
|
|
13483
|
+
"indexed": true,
|
|
13484
|
+
"internalType": "address",
|
|
13485
|
+
"name": "implementation",
|
|
13486
|
+
"type": "address"
|
|
13487
|
+
}
|
|
13488
|
+
],
|
|
13489
|
+
"name": "Upgraded",
|
|
13490
|
+
"type": "event"
|
|
13491
|
+
},
|
|
13492
|
+
{
|
|
13493
|
+
"stateMutability": "payable",
|
|
13494
|
+
"type": "fallback"
|
|
13495
|
+
},
|
|
13496
|
+
{
|
|
13497
|
+
"stateMutability": "payable",
|
|
13498
|
+
"type": "receive"
|
|
13499
|
+
}
|
|
13500
|
+
]
|
|
13067
13501
|
}
|
|
13068
13502
|
}
|
|
13069
13503
|
}
|