@venusprotocol/isolated-pools 3.8.0-dev.3 → 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.
Files changed (44) hide show
  1. package/deployments/arbitrumone/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  2. package/deployments/arbitrumone.json +352 -0
  3. package/deployments/arbitrumone_addresses.json +1 -0
  4. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  5. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  6. package/deployments/bscmainnet.json +825 -105
  7. package/deployments/bscmainnet_addresses.json +2 -0
  8. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1750bps_jump25000bps_kink8000bps.json +608 -0
  9. package/deployments/ethereum/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  10. package/deployments/ethereum/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  11. package/deployments/ethereum.json +2011 -939
  12. package/deployments/ethereum_addresses.json +3 -0
  13. package/deployments/zksyncmainnet/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
  14. package/deployments/zksyncmainnet/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +651 -0
  15. package/deployments/zksyncmainnet/VToken_vwUSDM_Core.json +317 -0
  16. package/deployments/zksyncmainnet/solcInputs/7ee56954f4157666c7d07cfa8db6f8de.json +445 -0
  17. package/deployments/zksyncmainnet/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
  18. package/deployments/zksyncmainnet.json +1243 -457
  19. package/deployments/zksyncmainnet_addresses.json +4 -1
  20. package/deployments/zksyncsepolia/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
  21. package/deployments/zksyncsepolia/MockUSDM.json +519 -0
  22. package/deployments/zksyncsepolia/MockwUSDM.json +576 -0
  23. package/deployments/zksyncsepolia/VToken_vwUSDM_Core.json +317 -0
  24. package/deployments/zksyncsepolia/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
  25. package/deployments/zksyncsepolia.json +1160 -89
  26. package/deployments/zksyncsepolia_addresses.json +5 -1
  27. package/dist/deploy/001-deploy-mock-tokens.js +3 -2
  28. package/dist/deploy/009-deploy-vtokens.js +47 -3
  29. package/dist/deploy/019-deploy-ir-models.js +36 -2
  30. package/dist/deployments/arbitrumone.json +352 -0
  31. package/dist/deployments/bscmainnet.json +825 -105
  32. package/dist/deployments/ethereum.json +2011 -939
  33. package/dist/deployments/zksyncmainnet.json +1243 -457
  34. package/dist/deployments/zksyncsepolia.json +1160 -89
  35. package/dist/hardhat.config.js +7 -0
  36. package/dist/helpers/deploymentConfig.d.ts +6 -1
  37. package/dist/helpers/deploymentConfig.js +125 -38
  38. package/dist/helpers/deploymentUtils.d.ts +2 -0
  39. package/dist/helpers/deploymentUtils.js +6 -1
  40. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  41. package/dist/typechain/factories/IVToken__factory.js +201 -1
  42. package/package.json +1 -1
  43. package/typechain/IVToken.d.ts +341 -4
  44. package/typechain/factories/IVToken__factory.ts +201 -1
@@ -3100,8 +3100,8 @@
3100
3100
  }
3101
3101
  ]
3102
3102
  },
3103
- "JumpRateModelV2_base0bps_slope875bps_jump25000bps_kink8000bps": {
3104
- "address": "0x5454be0683eDeceD065D9A4Bd9F376a0396cDCd9",
3103
+ "JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps": {
3104
+ "address": "0xCD6f2137182affDA1883135C3351D556721B81dE",
3105
3105
  "abi": [
3106
3106
  {
3107
3107
  "inputs": [
@@ -3460,8 +3460,8 @@
3460
3460
  }
3461
3461
  ]
3462
3462
  },
3463
- "JumpRateModelV2_base0bps_slope875bps_jump8000bps_kink8000bps": {
3464
- "address": "0x782D1BA04d28dbbf1Ff664B62993f69cd6225466",
3463
+ "JumpRateModelV2_base0bps_slope875bps_jump25000bps_kink8000bps": {
3464
+ "address": "0x5454be0683eDeceD065D9A4Bd9F376a0396cDCd9",
3465
3465
  "abi": [
3466
3466
  {
3467
3467
  "inputs": [
@@ -3636,12 +3636,990 @@
3636
3636
  "type": "uint256"
3637
3637
  },
3638
3638
  {
3639
- "internalType": "uint256",
3640
- "name": "badDebt",
3641
- "type": "uint256"
3639
+ "internalType": "uint256",
3640
+ "name": "badDebt",
3641
+ "type": "uint256"
3642
+ }
3643
+ ],
3644
+ "name": "getBorrowRate",
3645
+ "outputs": [
3646
+ {
3647
+ "internalType": "uint256",
3648
+ "name": "",
3649
+ "type": "uint256"
3650
+ }
3651
+ ],
3652
+ "stateMutability": "view",
3653
+ "type": "function"
3654
+ },
3655
+ {
3656
+ "inputs": [
3657
+ {
3658
+ "internalType": "uint256",
3659
+ "name": "cash",
3660
+ "type": "uint256"
3661
+ },
3662
+ {
3663
+ "internalType": "uint256",
3664
+ "name": "borrows",
3665
+ "type": "uint256"
3666
+ },
3667
+ {
3668
+ "internalType": "uint256",
3669
+ "name": "reserves",
3670
+ "type": "uint256"
3671
+ },
3672
+ {
3673
+ "internalType": "uint256",
3674
+ "name": "reserveFactorMantissa",
3675
+ "type": "uint256"
3676
+ },
3677
+ {
3678
+ "internalType": "uint256",
3679
+ "name": "badDebt",
3680
+ "type": "uint256"
3681
+ }
3682
+ ],
3683
+ "name": "getSupplyRate",
3684
+ "outputs": [
3685
+ {
3686
+ "internalType": "uint256",
3687
+ "name": "",
3688
+ "type": "uint256"
3689
+ }
3690
+ ],
3691
+ "stateMutability": "view",
3692
+ "type": "function"
3693
+ },
3694
+ {
3695
+ "inputs": [],
3696
+ "name": "isInterestRateModel",
3697
+ "outputs": [
3698
+ {
3699
+ "internalType": "bool",
3700
+ "name": "",
3701
+ "type": "bool"
3702
+ }
3703
+ ],
3704
+ "stateMutability": "pure",
3705
+ "type": "function"
3706
+ },
3707
+ {
3708
+ "inputs": [],
3709
+ "name": "isTimeBased",
3710
+ "outputs": [
3711
+ {
3712
+ "internalType": "bool",
3713
+ "name": "",
3714
+ "type": "bool"
3715
+ }
3716
+ ],
3717
+ "stateMutability": "view",
3718
+ "type": "function"
3719
+ },
3720
+ {
3721
+ "inputs": [],
3722
+ "name": "jumpMultiplierPerBlock",
3723
+ "outputs": [
3724
+ {
3725
+ "internalType": "uint256",
3726
+ "name": "",
3727
+ "type": "uint256"
3728
+ }
3729
+ ],
3730
+ "stateMutability": "view",
3731
+ "type": "function"
3732
+ },
3733
+ {
3734
+ "inputs": [],
3735
+ "name": "kink",
3736
+ "outputs": [
3737
+ {
3738
+ "internalType": "uint256",
3739
+ "name": "",
3740
+ "type": "uint256"
3741
+ }
3742
+ ],
3743
+ "stateMutability": "view",
3744
+ "type": "function"
3745
+ },
3746
+ {
3747
+ "inputs": [],
3748
+ "name": "multiplierPerBlock",
3749
+ "outputs": [
3750
+ {
3751
+ "internalType": "uint256",
3752
+ "name": "",
3753
+ "type": "uint256"
3754
+ }
3755
+ ],
3756
+ "stateMutability": "view",
3757
+ "type": "function"
3758
+ },
3759
+ {
3760
+ "inputs": [
3761
+ {
3762
+ "internalType": "uint256",
3763
+ "name": "baseRatePerYear",
3764
+ "type": "uint256"
3765
+ },
3766
+ {
3767
+ "internalType": "uint256",
3768
+ "name": "multiplierPerYear",
3769
+ "type": "uint256"
3770
+ },
3771
+ {
3772
+ "internalType": "uint256",
3773
+ "name": "jumpMultiplierPerYear",
3774
+ "type": "uint256"
3775
+ },
3776
+ {
3777
+ "internalType": "uint256",
3778
+ "name": "kink_",
3779
+ "type": "uint256"
3780
+ }
3781
+ ],
3782
+ "name": "updateJumpRateModel",
3783
+ "outputs": [],
3784
+ "stateMutability": "nonpayable",
3785
+ "type": "function"
3786
+ },
3787
+ {
3788
+ "inputs": [
3789
+ {
3790
+ "internalType": "uint256",
3791
+ "name": "cash",
3792
+ "type": "uint256"
3793
+ },
3794
+ {
3795
+ "internalType": "uint256",
3796
+ "name": "borrows",
3797
+ "type": "uint256"
3798
+ },
3799
+ {
3800
+ "internalType": "uint256",
3801
+ "name": "reserves",
3802
+ "type": "uint256"
3803
+ },
3804
+ {
3805
+ "internalType": "uint256",
3806
+ "name": "badDebt",
3807
+ "type": "uint256"
3808
+ }
3809
+ ],
3810
+ "name": "utilizationRate",
3811
+ "outputs": [
3812
+ {
3813
+ "internalType": "uint256",
3814
+ "name": "",
3815
+ "type": "uint256"
3816
+ }
3817
+ ],
3818
+ "stateMutability": "pure",
3819
+ "type": "function"
3820
+ }
3821
+ ]
3822
+ },
3823
+ "JumpRateModelV2_base0bps_slope875bps_jump8000bps_kink8000bps": {
3824
+ "address": "0x782D1BA04d28dbbf1Ff664B62993f69cd6225466",
3825
+ "abi": [
3826
+ {
3827
+ "inputs": [
3828
+ {
3829
+ "internalType": "uint256",
3830
+ "name": "baseRatePerYear_",
3831
+ "type": "uint256"
3832
+ },
3833
+ {
3834
+ "internalType": "uint256",
3835
+ "name": "multiplierPerYear_",
3836
+ "type": "uint256"
3837
+ },
3838
+ {
3839
+ "internalType": "uint256",
3840
+ "name": "jumpMultiplierPerYear_",
3841
+ "type": "uint256"
3842
+ },
3843
+ {
3844
+ "internalType": "uint256",
3845
+ "name": "kink_",
3846
+ "type": "uint256"
3847
+ },
3848
+ {
3849
+ "internalType": "contract IAccessControlManagerV8",
3850
+ "name": "accessControlManager_",
3851
+ "type": "address"
3852
+ },
3853
+ {
3854
+ "internalType": "bool",
3855
+ "name": "timeBased_",
3856
+ "type": "bool"
3857
+ },
3858
+ {
3859
+ "internalType": "uint256",
3860
+ "name": "blocksPerYear_",
3861
+ "type": "uint256"
3862
+ }
3863
+ ],
3864
+ "stateMutability": "nonpayable",
3865
+ "type": "constructor"
3866
+ },
3867
+ {
3868
+ "inputs": [],
3869
+ "name": "InvalidBlocksPerYear",
3870
+ "type": "error"
3871
+ },
3872
+ {
3873
+ "inputs": [],
3874
+ "name": "InvalidTimeBasedConfiguration",
3875
+ "type": "error"
3876
+ },
3877
+ {
3878
+ "inputs": [
3879
+ {
3880
+ "internalType": "address",
3881
+ "name": "sender",
3882
+ "type": "address"
3883
+ },
3884
+ {
3885
+ "internalType": "address",
3886
+ "name": "calledContract",
3887
+ "type": "address"
3888
+ },
3889
+ {
3890
+ "internalType": "string",
3891
+ "name": "methodSignature",
3892
+ "type": "string"
3893
+ }
3894
+ ],
3895
+ "name": "Unauthorized",
3896
+ "type": "error"
3897
+ },
3898
+ {
3899
+ "anonymous": false,
3900
+ "inputs": [
3901
+ {
3902
+ "indexed": false,
3903
+ "internalType": "uint256",
3904
+ "name": "baseRatePerBlockOrTimestamp",
3905
+ "type": "uint256"
3906
+ },
3907
+ {
3908
+ "indexed": false,
3909
+ "internalType": "uint256",
3910
+ "name": "multiplierPerBlockOrTimestamp",
3911
+ "type": "uint256"
3912
+ },
3913
+ {
3914
+ "indexed": false,
3915
+ "internalType": "uint256",
3916
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3917
+ "type": "uint256"
3918
+ },
3919
+ {
3920
+ "indexed": false,
3921
+ "internalType": "uint256",
3922
+ "name": "kink",
3923
+ "type": "uint256"
3924
+ }
3925
+ ],
3926
+ "name": "NewInterestParams",
3927
+ "type": "event"
3928
+ },
3929
+ {
3930
+ "inputs": [],
3931
+ "name": "accessControlManager",
3932
+ "outputs": [
3933
+ {
3934
+ "internalType": "contract IAccessControlManagerV8",
3935
+ "name": "",
3936
+ "type": "address"
3937
+ }
3938
+ ],
3939
+ "stateMutability": "view",
3940
+ "type": "function"
3941
+ },
3942
+ {
3943
+ "inputs": [],
3944
+ "name": "baseRatePerBlock",
3945
+ "outputs": [
3946
+ {
3947
+ "internalType": "uint256",
3948
+ "name": "",
3949
+ "type": "uint256"
3950
+ }
3951
+ ],
3952
+ "stateMutability": "view",
3953
+ "type": "function"
3954
+ },
3955
+ {
3956
+ "inputs": [],
3957
+ "name": "blocksOrSecondsPerYear",
3958
+ "outputs": [
3959
+ {
3960
+ "internalType": "uint256",
3961
+ "name": "",
3962
+ "type": "uint256"
3963
+ }
3964
+ ],
3965
+ "stateMutability": "view",
3966
+ "type": "function"
3967
+ },
3968
+ {
3969
+ "inputs": [],
3970
+ "name": "getBlockNumberOrTimestamp",
3971
+ "outputs": [
3972
+ {
3973
+ "internalType": "uint256",
3974
+ "name": "",
3975
+ "type": "uint256"
3976
+ }
3977
+ ],
3978
+ "stateMutability": "view",
3979
+ "type": "function"
3980
+ },
3981
+ {
3982
+ "inputs": [
3983
+ {
3984
+ "internalType": "uint256",
3985
+ "name": "cash",
3986
+ "type": "uint256"
3987
+ },
3988
+ {
3989
+ "internalType": "uint256",
3990
+ "name": "borrows",
3991
+ "type": "uint256"
3992
+ },
3993
+ {
3994
+ "internalType": "uint256",
3995
+ "name": "reserves",
3996
+ "type": "uint256"
3997
+ },
3998
+ {
3999
+ "internalType": "uint256",
4000
+ "name": "badDebt",
4001
+ "type": "uint256"
4002
+ }
4003
+ ],
4004
+ "name": "getBorrowRate",
4005
+ "outputs": [
4006
+ {
4007
+ "internalType": "uint256",
4008
+ "name": "",
4009
+ "type": "uint256"
4010
+ }
4011
+ ],
4012
+ "stateMutability": "view",
4013
+ "type": "function"
4014
+ },
4015
+ {
4016
+ "inputs": [
4017
+ {
4018
+ "internalType": "uint256",
4019
+ "name": "cash",
4020
+ "type": "uint256"
4021
+ },
4022
+ {
4023
+ "internalType": "uint256",
4024
+ "name": "borrows",
4025
+ "type": "uint256"
4026
+ },
4027
+ {
4028
+ "internalType": "uint256",
4029
+ "name": "reserves",
4030
+ "type": "uint256"
4031
+ },
4032
+ {
4033
+ "internalType": "uint256",
4034
+ "name": "reserveFactorMantissa",
4035
+ "type": "uint256"
4036
+ },
4037
+ {
4038
+ "internalType": "uint256",
4039
+ "name": "badDebt",
4040
+ "type": "uint256"
4041
+ }
4042
+ ],
4043
+ "name": "getSupplyRate",
4044
+ "outputs": [
4045
+ {
4046
+ "internalType": "uint256",
4047
+ "name": "",
4048
+ "type": "uint256"
4049
+ }
4050
+ ],
4051
+ "stateMutability": "view",
4052
+ "type": "function"
4053
+ },
4054
+ {
4055
+ "inputs": [],
4056
+ "name": "isInterestRateModel",
4057
+ "outputs": [
4058
+ {
4059
+ "internalType": "bool",
4060
+ "name": "",
4061
+ "type": "bool"
4062
+ }
4063
+ ],
4064
+ "stateMutability": "pure",
4065
+ "type": "function"
4066
+ },
4067
+ {
4068
+ "inputs": [],
4069
+ "name": "isTimeBased",
4070
+ "outputs": [
4071
+ {
4072
+ "internalType": "bool",
4073
+ "name": "",
4074
+ "type": "bool"
4075
+ }
4076
+ ],
4077
+ "stateMutability": "view",
4078
+ "type": "function"
4079
+ },
4080
+ {
4081
+ "inputs": [],
4082
+ "name": "jumpMultiplierPerBlock",
4083
+ "outputs": [
4084
+ {
4085
+ "internalType": "uint256",
4086
+ "name": "",
4087
+ "type": "uint256"
4088
+ }
4089
+ ],
4090
+ "stateMutability": "view",
4091
+ "type": "function"
4092
+ },
4093
+ {
4094
+ "inputs": [],
4095
+ "name": "kink",
4096
+ "outputs": [
4097
+ {
4098
+ "internalType": "uint256",
4099
+ "name": "",
4100
+ "type": "uint256"
4101
+ }
4102
+ ],
4103
+ "stateMutability": "view",
4104
+ "type": "function"
4105
+ },
4106
+ {
4107
+ "inputs": [],
4108
+ "name": "multiplierPerBlock",
4109
+ "outputs": [
4110
+ {
4111
+ "internalType": "uint256",
4112
+ "name": "",
4113
+ "type": "uint256"
4114
+ }
4115
+ ],
4116
+ "stateMutability": "view",
4117
+ "type": "function"
4118
+ },
4119
+ {
4120
+ "inputs": [
4121
+ {
4122
+ "internalType": "uint256",
4123
+ "name": "baseRatePerYear",
4124
+ "type": "uint256"
4125
+ },
4126
+ {
4127
+ "internalType": "uint256",
4128
+ "name": "multiplierPerYear",
4129
+ "type": "uint256"
4130
+ },
4131
+ {
4132
+ "internalType": "uint256",
4133
+ "name": "jumpMultiplierPerYear",
4134
+ "type": "uint256"
4135
+ },
4136
+ {
4137
+ "internalType": "uint256",
4138
+ "name": "kink_",
4139
+ "type": "uint256"
4140
+ }
4141
+ ],
4142
+ "name": "updateJumpRateModel",
4143
+ "outputs": [],
4144
+ "stateMutability": "nonpayable",
4145
+ "type": "function"
4146
+ },
4147
+ {
4148
+ "inputs": [
4149
+ {
4150
+ "internalType": "uint256",
4151
+ "name": "cash",
4152
+ "type": "uint256"
4153
+ },
4154
+ {
4155
+ "internalType": "uint256",
4156
+ "name": "borrows",
4157
+ "type": "uint256"
4158
+ },
4159
+ {
4160
+ "internalType": "uint256",
4161
+ "name": "reserves",
4162
+ "type": "uint256"
4163
+ },
4164
+ {
4165
+ "internalType": "uint256",
4166
+ "name": "badDebt",
4167
+ "type": "uint256"
4168
+ }
4169
+ ],
4170
+ "name": "utilizationRate",
4171
+ "outputs": [
4172
+ {
4173
+ "internalType": "uint256",
4174
+ "name": "",
4175
+ "type": "uint256"
4176
+ }
4177
+ ],
4178
+ "stateMutability": "pure",
4179
+ "type": "function"
4180
+ }
4181
+ ]
4182
+ },
4183
+ "MockUSDC.e": {
4184
+ "address": "0xF98780C8a0843829f98e624d83C3FfDDf43BE984",
4185
+ "abi": [
4186
+ {
4187
+ "inputs": [
4188
+ {
4189
+ "internalType": "string",
4190
+ "name": "name_",
4191
+ "type": "string"
4192
+ },
4193
+ {
4194
+ "internalType": "string",
4195
+ "name": "symbol_",
4196
+ "type": "string"
4197
+ },
4198
+ {
4199
+ "internalType": "uint8",
4200
+ "name": "decimals_",
4201
+ "type": "uint8"
4202
+ }
4203
+ ],
4204
+ "stateMutability": "nonpayable",
4205
+ "type": "constructor"
4206
+ },
4207
+ {
4208
+ "anonymous": false,
4209
+ "inputs": [
4210
+ {
4211
+ "indexed": true,
4212
+ "internalType": "address",
4213
+ "name": "owner",
4214
+ "type": "address"
4215
+ },
4216
+ {
4217
+ "indexed": true,
4218
+ "internalType": "address",
4219
+ "name": "spender",
4220
+ "type": "address"
4221
+ },
4222
+ {
4223
+ "indexed": false,
4224
+ "internalType": "uint256",
4225
+ "name": "value",
4226
+ "type": "uint256"
4227
+ }
4228
+ ],
4229
+ "name": "Approval",
4230
+ "type": "event"
4231
+ },
4232
+ {
4233
+ "anonymous": false,
4234
+ "inputs": [
4235
+ {
4236
+ "indexed": true,
4237
+ "internalType": "address",
4238
+ "name": "from",
4239
+ "type": "address"
4240
+ },
4241
+ {
4242
+ "indexed": true,
4243
+ "internalType": "address",
4244
+ "name": "to",
4245
+ "type": "address"
4246
+ },
4247
+ {
4248
+ "indexed": false,
4249
+ "internalType": "uint256",
4250
+ "name": "value",
4251
+ "type": "uint256"
4252
+ }
4253
+ ],
4254
+ "name": "Transfer",
4255
+ "type": "event"
4256
+ },
4257
+ {
4258
+ "inputs": [
4259
+ {
4260
+ "internalType": "address",
4261
+ "name": "owner",
4262
+ "type": "address"
4263
+ },
4264
+ {
4265
+ "internalType": "address",
4266
+ "name": "spender",
4267
+ "type": "address"
4268
+ }
4269
+ ],
4270
+ "name": "allowance",
4271
+ "outputs": [
4272
+ {
4273
+ "internalType": "uint256",
4274
+ "name": "",
4275
+ "type": "uint256"
4276
+ }
4277
+ ],
4278
+ "stateMutability": "view",
4279
+ "type": "function"
4280
+ },
4281
+ {
4282
+ "inputs": [
4283
+ {
4284
+ "internalType": "address",
4285
+ "name": "spender",
4286
+ "type": "address"
4287
+ },
4288
+ {
4289
+ "internalType": "uint256",
4290
+ "name": "amount",
4291
+ "type": "uint256"
4292
+ }
4293
+ ],
4294
+ "name": "approve",
4295
+ "outputs": [
4296
+ {
4297
+ "internalType": "bool",
4298
+ "name": "",
4299
+ "type": "bool"
4300
+ }
4301
+ ],
4302
+ "stateMutability": "nonpayable",
4303
+ "type": "function"
4304
+ },
4305
+ {
4306
+ "inputs": [
4307
+ {
4308
+ "internalType": "address",
4309
+ "name": "account",
4310
+ "type": "address"
4311
+ }
4312
+ ],
4313
+ "name": "balanceOf",
4314
+ "outputs": [
4315
+ {
4316
+ "internalType": "uint256",
4317
+ "name": "",
4318
+ "type": "uint256"
4319
+ }
4320
+ ],
4321
+ "stateMutability": "view",
4322
+ "type": "function"
4323
+ },
4324
+ {
4325
+ "inputs": [],
4326
+ "name": "decimals",
4327
+ "outputs": [
4328
+ {
4329
+ "internalType": "uint8",
4330
+ "name": "",
4331
+ "type": "uint8"
4332
+ }
4333
+ ],
4334
+ "stateMutability": "view",
4335
+ "type": "function"
4336
+ },
4337
+ {
4338
+ "inputs": [
4339
+ {
4340
+ "internalType": "address",
4341
+ "name": "spender",
4342
+ "type": "address"
4343
+ },
4344
+ {
4345
+ "internalType": "uint256",
4346
+ "name": "subtractedValue",
4347
+ "type": "uint256"
4348
+ }
4349
+ ],
4350
+ "name": "decreaseAllowance",
4351
+ "outputs": [
4352
+ {
4353
+ "internalType": "bool",
4354
+ "name": "",
4355
+ "type": "bool"
4356
+ }
4357
+ ],
4358
+ "stateMutability": "nonpayable",
4359
+ "type": "function"
4360
+ },
4361
+ {
4362
+ "inputs": [
4363
+ {
4364
+ "internalType": "uint256",
4365
+ "name": "amount",
4366
+ "type": "uint256"
4367
+ }
4368
+ ],
4369
+ "name": "faucet",
4370
+ "outputs": [],
4371
+ "stateMutability": "nonpayable",
4372
+ "type": "function"
4373
+ },
4374
+ {
4375
+ "inputs": [
4376
+ {
4377
+ "internalType": "address",
4378
+ "name": "spender",
4379
+ "type": "address"
4380
+ },
4381
+ {
4382
+ "internalType": "uint256",
4383
+ "name": "addedValue",
4384
+ "type": "uint256"
4385
+ }
4386
+ ],
4387
+ "name": "increaseAllowance",
4388
+ "outputs": [
4389
+ {
4390
+ "internalType": "bool",
4391
+ "name": "",
4392
+ "type": "bool"
4393
+ }
4394
+ ],
4395
+ "stateMutability": "nonpayable",
4396
+ "type": "function"
4397
+ },
4398
+ {
4399
+ "inputs": [],
4400
+ "name": "name",
4401
+ "outputs": [
4402
+ {
4403
+ "internalType": "string",
4404
+ "name": "",
4405
+ "type": "string"
4406
+ }
4407
+ ],
4408
+ "stateMutability": "view",
4409
+ "type": "function"
4410
+ },
4411
+ {
4412
+ "inputs": [],
4413
+ "name": "symbol",
4414
+ "outputs": [
4415
+ {
4416
+ "internalType": "string",
4417
+ "name": "",
4418
+ "type": "string"
4419
+ }
4420
+ ],
4421
+ "stateMutability": "view",
4422
+ "type": "function"
4423
+ },
4424
+ {
4425
+ "inputs": [],
4426
+ "name": "totalSupply",
4427
+ "outputs": [
4428
+ {
4429
+ "internalType": "uint256",
4430
+ "name": "",
4431
+ "type": "uint256"
4432
+ }
4433
+ ],
4434
+ "stateMutability": "view",
4435
+ "type": "function"
4436
+ },
4437
+ {
4438
+ "inputs": [
4439
+ {
4440
+ "internalType": "address",
4441
+ "name": "to",
4442
+ "type": "address"
4443
+ },
4444
+ {
4445
+ "internalType": "uint256",
4446
+ "name": "amount",
4447
+ "type": "uint256"
4448
+ }
4449
+ ],
4450
+ "name": "transfer",
4451
+ "outputs": [
4452
+ {
4453
+ "internalType": "bool",
4454
+ "name": "",
4455
+ "type": "bool"
4456
+ }
4457
+ ],
4458
+ "stateMutability": "nonpayable",
4459
+ "type": "function"
4460
+ },
4461
+ {
4462
+ "inputs": [
4463
+ {
4464
+ "internalType": "address",
4465
+ "name": "from",
4466
+ "type": "address"
4467
+ },
4468
+ {
4469
+ "internalType": "address",
4470
+ "name": "to",
4471
+ "type": "address"
4472
+ },
4473
+ {
4474
+ "internalType": "uint256",
4475
+ "name": "amount",
4476
+ "type": "uint256"
4477
+ }
4478
+ ],
4479
+ "name": "transferFrom",
4480
+ "outputs": [
4481
+ {
4482
+ "internalType": "bool",
4483
+ "name": "",
4484
+ "type": "bool"
4485
+ }
4486
+ ],
4487
+ "stateMutability": "nonpayable",
4488
+ "type": "function"
4489
+ }
4490
+ ]
4491
+ },
4492
+ "MockUSDC": {
4493
+ "address": "0x512F8b4a3c466a30e8c9BAC9c64638dd710968c2",
4494
+ "abi": [
4495
+ {
4496
+ "inputs": [
4497
+ {
4498
+ "internalType": "string",
4499
+ "name": "name_",
4500
+ "type": "string"
4501
+ },
4502
+ {
4503
+ "internalType": "string",
4504
+ "name": "symbol_",
4505
+ "type": "string"
4506
+ },
4507
+ {
4508
+ "internalType": "uint8",
4509
+ "name": "decimals_",
4510
+ "type": "uint8"
4511
+ }
4512
+ ],
4513
+ "stateMutability": "nonpayable",
4514
+ "type": "constructor"
4515
+ },
4516
+ {
4517
+ "anonymous": false,
4518
+ "inputs": [
4519
+ {
4520
+ "indexed": true,
4521
+ "internalType": "address",
4522
+ "name": "owner",
4523
+ "type": "address"
4524
+ },
4525
+ {
4526
+ "indexed": true,
4527
+ "internalType": "address",
4528
+ "name": "spender",
4529
+ "type": "address"
4530
+ },
4531
+ {
4532
+ "indexed": false,
4533
+ "internalType": "uint256",
4534
+ "name": "value",
4535
+ "type": "uint256"
4536
+ }
4537
+ ],
4538
+ "name": "Approval",
4539
+ "type": "event"
4540
+ },
4541
+ {
4542
+ "anonymous": false,
4543
+ "inputs": [
4544
+ {
4545
+ "indexed": true,
4546
+ "internalType": "address",
4547
+ "name": "from",
4548
+ "type": "address"
4549
+ },
4550
+ {
4551
+ "indexed": true,
4552
+ "internalType": "address",
4553
+ "name": "to",
4554
+ "type": "address"
4555
+ },
4556
+ {
4557
+ "indexed": false,
4558
+ "internalType": "uint256",
4559
+ "name": "value",
4560
+ "type": "uint256"
4561
+ }
4562
+ ],
4563
+ "name": "Transfer",
4564
+ "type": "event"
4565
+ },
4566
+ {
4567
+ "inputs": [
4568
+ {
4569
+ "internalType": "address",
4570
+ "name": "owner",
4571
+ "type": "address"
4572
+ },
4573
+ {
4574
+ "internalType": "address",
4575
+ "name": "spender",
4576
+ "type": "address"
4577
+ }
4578
+ ],
4579
+ "name": "allowance",
4580
+ "outputs": [
4581
+ {
4582
+ "internalType": "uint256",
4583
+ "name": "",
4584
+ "type": "uint256"
4585
+ }
4586
+ ],
4587
+ "stateMutability": "view",
4588
+ "type": "function"
4589
+ },
4590
+ {
4591
+ "inputs": [
4592
+ {
4593
+ "internalType": "address",
4594
+ "name": "spender",
4595
+ "type": "address"
4596
+ },
4597
+ {
4598
+ "internalType": "uint256",
4599
+ "name": "amount",
4600
+ "type": "uint256"
4601
+ }
4602
+ ],
4603
+ "name": "approve",
4604
+ "outputs": [
4605
+ {
4606
+ "internalType": "bool",
4607
+ "name": "",
4608
+ "type": "bool"
4609
+ }
4610
+ ],
4611
+ "stateMutability": "nonpayable",
4612
+ "type": "function"
4613
+ },
4614
+ {
4615
+ "inputs": [
4616
+ {
4617
+ "internalType": "address",
4618
+ "name": "account",
4619
+ "type": "address"
3642
4620
  }
3643
4621
  ],
3644
- "name": "getBorrowRate",
4622
+ "name": "balanceOf",
3645
4623
  "outputs": [
3646
4624
  {
3647
4625
  "internalType": "uint256",
@@ -3653,60 +4631,69 @@
3653
4631
  "type": "function"
3654
4632
  },
3655
4633
  {
3656
- "inputs": [
3657
- {
3658
- "internalType": "uint256",
3659
- "name": "cash",
3660
- "type": "uint256"
3661
- },
3662
- {
3663
- "internalType": "uint256",
3664
- "name": "borrows",
3665
- "type": "uint256"
3666
- },
4634
+ "inputs": [],
4635
+ "name": "decimals",
4636
+ "outputs": [
3667
4637
  {
3668
- "internalType": "uint256",
3669
- "name": "reserves",
3670
- "type": "uint256"
3671
- },
4638
+ "internalType": "uint8",
4639
+ "name": "",
4640
+ "type": "uint8"
4641
+ }
4642
+ ],
4643
+ "stateMutability": "view",
4644
+ "type": "function"
4645
+ },
4646
+ {
4647
+ "inputs": [
3672
4648
  {
3673
- "internalType": "uint256",
3674
- "name": "reserveFactorMantissa",
3675
- "type": "uint256"
4649
+ "internalType": "address",
4650
+ "name": "spender",
4651
+ "type": "address"
3676
4652
  },
3677
4653
  {
3678
4654
  "internalType": "uint256",
3679
- "name": "badDebt",
4655
+ "name": "subtractedValue",
3680
4656
  "type": "uint256"
3681
4657
  }
3682
4658
  ],
3683
- "name": "getSupplyRate",
4659
+ "name": "decreaseAllowance",
3684
4660
  "outputs": [
3685
4661
  {
3686
- "internalType": "uint256",
4662
+ "internalType": "bool",
3687
4663
  "name": "",
3688
- "type": "uint256"
4664
+ "type": "bool"
3689
4665
  }
3690
4666
  ],
3691
- "stateMutability": "view",
4667
+ "stateMutability": "nonpayable",
3692
4668
  "type": "function"
3693
4669
  },
3694
4670
  {
3695
- "inputs": [],
3696
- "name": "isInterestRateModel",
3697
- "outputs": [
4671
+ "inputs": [
3698
4672
  {
3699
- "internalType": "bool",
3700
- "name": "",
3701
- "type": "bool"
4673
+ "internalType": "uint256",
4674
+ "name": "amount",
4675
+ "type": "uint256"
3702
4676
  }
3703
4677
  ],
3704
- "stateMutability": "pure",
4678
+ "name": "faucet",
4679
+ "outputs": [],
4680
+ "stateMutability": "nonpayable",
3705
4681
  "type": "function"
3706
4682
  },
3707
4683
  {
3708
- "inputs": [],
3709
- "name": "isTimeBased",
4684
+ "inputs": [
4685
+ {
4686
+ "internalType": "address",
4687
+ "name": "spender",
4688
+ "type": "address"
4689
+ },
4690
+ {
4691
+ "internalType": "uint256",
4692
+ "name": "addedValue",
4693
+ "type": "uint256"
4694
+ }
4695
+ ],
4696
+ "name": "increaseAllowance",
3710
4697
  "outputs": [
3711
4698
  {
3712
4699
  "internalType": "bool",
@@ -3714,17 +4701,17 @@
3714
4701
  "type": "bool"
3715
4702
  }
3716
4703
  ],
3717
- "stateMutability": "view",
4704
+ "stateMutability": "nonpayable",
3718
4705
  "type": "function"
3719
4706
  },
3720
4707
  {
3721
4708
  "inputs": [],
3722
- "name": "jumpMultiplierPerBlock",
4709
+ "name": "name",
3723
4710
  "outputs": [
3724
4711
  {
3725
- "internalType": "uint256",
4712
+ "internalType": "string",
3726
4713
  "name": "",
3727
- "type": "uint256"
4714
+ "type": "string"
3728
4715
  }
3729
4716
  ],
3730
4717
  "stateMutability": "view",
@@ -3732,12 +4719,12 @@
3732
4719
  },
3733
4720
  {
3734
4721
  "inputs": [],
3735
- "name": "kink",
4722
+ "name": "symbol",
3736
4723
  "outputs": [
3737
4724
  {
3738
- "internalType": "uint256",
4725
+ "internalType": "string",
3739
4726
  "name": "",
3740
- "type": "uint256"
4727
+ "type": "string"
3741
4728
  }
3742
4729
  ],
3743
4730
  "stateMutability": "view",
@@ -3745,7 +4732,7 @@
3745
4732
  },
3746
4733
  {
3747
4734
  "inputs": [],
3748
- "name": "multiplierPerBlock",
4735
+ "name": "totalSupply",
3749
4736
  "outputs": [
3750
4737
  {
3751
4738
  "internalType": "uint256",
@@ -3759,69 +4746,60 @@
3759
4746
  {
3760
4747
  "inputs": [
3761
4748
  {
3762
- "internalType": "uint256",
3763
- "name": "baseRatePerYear",
3764
- "type": "uint256"
3765
- },
3766
- {
3767
- "internalType": "uint256",
3768
- "name": "multiplierPerYear",
3769
- "type": "uint256"
4749
+ "internalType": "address",
4750
+ "name": "to",
4751
+ "type": "address"
3770
4752
  },
3771
4753
  {
3772
4754
  "internalType": "uint256",
3773
- "name": "jumpMultiplierPerYear",
4755
+ "name": "amount",
3774
4756
  "type": "uint256"
3775
- },
4757
+ }
4758
+ ],
4759
+ "name": "transfer",
4760
+ "outputs": [
3776
4761
  {
3777
- "internalType": "uint256",
3778
- "name": "kink_",
3779
- "type": "uint256"
4762
+ "internalType": "bool",
4763
+ "name": "",
4764
+ "type": "bool"
3780
4765
  }
3781
4766
  ],
3782
- "name": "updateJumpRateModel",
3783
- "outputs": [],
3784
4767
  "stateMutability": "nonpayable",
3785
4768
  "type": "function"
3786
4769
  },
3787
4770
  {
3788
4771
  "inputs": [
3789
4772
  {
3790
- "internalType": "uint256",
3791
- "name": "cash",
3792
- "type": "uint256"
3793
- },
3794
- {
3795
- "internalType": "uint256",
3796
- "name": "borrows",
3797
- "type": "uint256"
4773
+ "internalType": "address",
4774
+ "name": "from",
4775
+ "type": "address"
3798
4776
  },
3799
4777
  {
3800
- "internalType": "uint256",
3801
- "name": "reserves",
3802
- "type": "uint256"
4778
+ "internalType": "address",
4779
+ "name": "to",
4780
+ "type": "address"
3803
4781
  },
3804
4782
  {
3805
4783
  "internalType": "uint256",
3806
- "name": "badDebt",
4784
+ "name": "amount",
3807
4785
  "type": "uint256"
3808
4786
  }
3809
4787
  ],
3810
- "name": "utilizationRate",
4788
+ "name": "transferFrom",
3811
4789
  "outputs": [
3812
4790
  {
3813
- "internalType": "uint256",
4791
+ "internalType": "bool",
3814
4792
  "name": "",
3815
- "type": "uint256"
4793
+ "type": "bool"
3816
4794
  }
3817
4795
  ],
3818
- "stateMutability": "pure",
4796
+ "stateMutability": "nonpayable",
3819
4797
  "type": "function"
3820
4798
  }
3821
4799
  ]
3822
4800
  },
3823
- "MockUSDC.e": {
3824
- "address": "0xF98780C8a0843829f98e624d83C3FfDDf43BE984",
4801
+ "MockUSDM": {
4802
+ "address": "0x5d5334dBa9C727eD81b549b6106aE37Ea137076D",
3825
4803
  "abi": [
3826
4804
  {
3827
4805
  "inputs": [
@@ -4129,8 +5107,8 @@
4129
5107
  }
4130
5108
  ]
4131
5109
  },
4132
- "MockUSDC": {
4133
- "address": "0x512F8b4a3c466a30e8c9BAC9c64638dd710968c2",
5110
+ "MockUSDT": {
5111
+ "address": "0x9Bf62C9C6AaB7AB8e01271f0d7A401306579709B",
4134
5112
  "abi": [
4135
5113
  {
4136
5114
  "inputs": [
@@ -4438,8 +5416,8 @@
4438
5416
  }
4439
5417
  ]
4440
5418
  },
4441
- "MockUSDT": {
4442
- "address": "0x9Bf62C9C6AaB7AB8e01271f0d7A401306579709B",
5419
+ "MockWBTC": {
5420
+ "address": "0xeF891B3FA37FfD83Ce8cC7b682E4CADBD8fFc6F0",
4443
5421
  "abi": [
4444
5422
  {
4445
5423
  "inputs": [
@@ -4747,8 +5725,8 @@
4747
5725
  }
4748
5726
  ]
4749
5727
  },
4750
- "MockWBTC": {
4751
- "address": "0xeF891B3FA37FfD83Ce8cC7b682E4CADBD8fFc6F0",
5728
+ "MockZK": {
5729
+ "address": "0x8A2E9048F5d658E88D6eD89DdD1F3B5cA0250B9F",
4752
5730
  "abi": [
4753
5731
  {
4754
5732
  "inputs": [
@@ -5056,8 +6034,8 @@
5056
6034
  }
5057
6035
  ]
5058
6036
  },
5059
- "MockZK": {
5060
- "address": "0x8A2E9048F5d658E88D6eD89DdD1F3B5cA0250B9F",
6037
+ "MockwUSDM": {
6038
+ "address": "0x0b3C8fB109f144f6296bF4Ac52F191181bEa003a",
5061
6039
  "abi": [
5062
6040
  {
5063
6041
  "inputs": [
@@ -5197,6 +6175,25 @@
5197
6175
  "stateMutability": "view",
5198
6176
  "type": "function"
5199
6177
  },
6178
+ {
6179
+ "inputs": [
6180
+ {
6181
+ "internalType": "uint256",
6182
+ "name": "shares",
6183
+ "type": "uint256"
6184
+ }
6185
+ ],
6186
+ "name": "convertToAssets",
6187
+ "outputs": [
6188
+ {
6189
+ "internalType": "uint256",
6190
+ "name": "",
6191
+ "type": "uint256"
6192
+ }
6193
+ ],
6194
+ "stateMutability": "pure",
6195
+ "type": "function"
6196
+ },
5200
6197
  {
5201
6198
  "inputs": [],
5202
6199
  "name": "decimals",
@@ -13731,6 +14728,80 @@
13731
14728
  "type": "receive"
13732
14729
  }
13733
14730
  ]
14731
+ },
14732
+ "VToken_vwUSDM_Core": {
14733
+ "address": "0x63abcB1f579dB71b4b8A1E182adbA2F131b75681",
14734
+ "abi": [
14735
+ {
14736
+ "inputs": [
14737
+ {
14738
+ "internalType": "address",
14739
+ "name": "beacon",
14740
+ "type": "address"
14741
+ },
14742
+ {
14743
+ "internalType": "bytes",
14744
+ "name": "data",
14745
+ "type": "bytes"
14746
+ }
14747
+ ],
14748
+ "stateMutability": "payable",
14749
+ "type": "constructor"
14750
+ },
14751
+ {
14752
+ "anonymous": false,
14753
+ "inputs": [
14754
+ {
14755
+ "indexed": false,
14756
+ "internalType": "address",
14757
+ "name": "previousAdmin",
14758
+ "type": "address"
14759
+ },
14760
+ {
14761
+ "indexed": false,
14762
+ "internalType": "address",
14763
+ "name": "newAdmin",
14764
+ "type": "address"
14765
+ }
14766
+ ],
14767
+ "name": "AdminChanged",
14768
+ "type": "event"
14769
+ },
14770
+ {
14771
+ "anonymous": false,
14772
+ "inputs": [
14773
+ {
14774
+ "indexed": true,
14775
+ "internalType": "address",
14776
+ "name": "beacon",
14777
+ "type": "address"
14778
+ }
14779
+ ],
14780
+ "name": "BeaconUpgraded",
14781
+ "type": "event"
14782
+ },
14783
+ {
14784
+ "anonymous": false,
14785
+ "inputs": [
14786
+ {
14787
+ "indexed": true,
14788
+ "internalType": "address",
14789
+ "name": "implementation",
14790
+ "type": "address"
14791
+ }
14792
+ ],
14793
+ "name": "Upgraded",
14794
+ "type": "event"
14795
+ },
14796
+ {
14797
+ "stateMutability": "payable",
14798
+ "type": "fallback"
14799
+ },
14800
+ {
14801
+ "stateMutability": "payable",
14802
+ "type": "receive"
14803
+ }
14804
+ ]
13734
14805
  }
13735
14806
  }
13736
14807
  }