@venusprotocol/isolated-pools 3.6.0 → 3.7.0-dev.2

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 (27) hide show
  1. package/deployments/ethereum/VToken_vEIGEN.json +257 -0
  2. package/deployments/ethereum.json +74 -0
  3. package/deployments/ethereum_addresses.json +1 -0
  4. package/deployments/sepolia/MockEIGEN.json +458 -0
  5. package/deployments/sepolia/VToken_vEIGEN.json +257 -0
  6. package/deployments/sepolia.json +383 -0
  7. package/deployments/sepolia_addresses.json +2 -0
  8. package/deployments/zksyncmainnet/VToken_vUSDC_Core.json +317 -0
  9. package/deployments/zksyncmainnet/solcInputs/d76281ebfc364775b25298b192a96581.json +403 -0
  10. package/deployments/zksyncmainnet.json +74 -0
  11. package/deployments/zksyncmainnet_addresses.json +1 -0
  12. package/deployments/zksyncsepolia/JumpRateModelV2_base0bps_slope875bps_jump8000bps_kink8000bps.json +706 -0
  13. package/deployments/zksyncsepolia/MockUSDC.json +557 -0
  14. package/deployments/zksyncsepolia/VToken_vUSDC_Core.json +355 -0
  15. package/deployments/zksyncsepolia/solcInputs/d76281ebfc364775b25298b192a96581.json +403 -0
  16. package/deployments/zksyncsepolia.json +743 -0
  17. package/deployments/zksyncsepolia_addresses.json +3 -0
  18. package/dist/deployments/ethereum.json +74 -0
  19. package/dist/deployments/sepolia.json +383 -0
  20. package/dist/deployments/zksyncmainnet.json +74 -0
  21. package/dist/deployments/zksyncsepolia.json +743 -0
  22. package/dist/helpers/deploymentConfig.js +100 -0
  23. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  24. package/dist/typechain/factories/IVToken__factory.js +201 -1
  25. package/package.json +1 -1
  26. package/typechain/IVToken.d.ts +341 -4
  27. package/typechain/factories/IVToken__factory.ts +201 -1
@@ -3460,6 +3460,366 @@
3460
3460
  }
3461
3461
  ]
3462
3462
  },
3463
+ "JumpRateModelV2_base0bps_slope875bps_jump8000bps_kink8000bps": {
3464
+ "address": "0x782D1BA04d28dbbf1Ff664B62993f69cd6225466",
3465
+ "abi": [
3466
+ {
3467
+ "inputs": [
3468
+ {
3469
+ "internalType": "uint256",
3470
+ "name": "baseRatePerYear_",
3471
+ "type": "uint256"
3472
+ },
3473
+ {
3474
+ "internalType": "uint256",
3475
+ "name": "multiplierPerYear_",
3476
+ "type": "uint256"
3477
+ },
3478
+ {
3479
+ "internalType": "uint256",
3480
+ "name": "jumpMultiplierPerYear_",
3481
+ "type": "uint256"
3482
+ },
3483
+ {
3484
+ "internalType": "uint256",
3485
+ "name": "kink_",
3486
+ "type": "uint256"
3487
+ },
3488
+ {
3489
+ "internalType": "contract IAccessControlManagerV8",
3490
+ "name": "accessControlManager_",
3491
+ "type": "address"
3492
+ },
3493
+ {
3494
+ "internalType": "bool",
3495
+ "name": "timeBased_",
3496
+ "type": "bool"
3497
+ },
3498
+ {
3499
+ "internalType": "uint256",
3500
+ "name": "blocksPerYear_",
3501
+ "type": "uint256"
3502
+ }
3503
+ ],
3504
+ "stateMutability": "nonpayable",
3505
+ "type": "constructor"
3506
+ },
3507
+ {
3508
+ "inputs": [],
3509
+ "name": "InvalidBlocksPerYear",
3510
+ "type": "error"
3511
+ },
3512
+ {
3513
+ "inputs": [],
3514
+ "name": "InvalidTimeBasedConfiguration",
3515
+ "type": "error"
3516
+ },
3517
+ {
3518
+ "inputs": [
3519
+ {
3520
+ "internalType": "address",
3521
+ "name": "sender",
3522
+ "type": "address"
3523
+ },
3524
+ {
3525
+ "internalType": "address",
3526
+ "name": "calledContract",
3527
+ "type": "address"
3528
+ },
3529
+ {
3530
+ "internalType": "string",
3531
+ "name": "methodSignature",
3532
+ "type": "string"
3533
+ }
3534
+ ],
3535
+ "name": "Unauthorized",
3536
+ "type": "error"
3537
+ },
3538
+ {
3539
+ "anonymous": false,
3540
+ "inputs": [
3541
+ {
3542
+ "indexed": false,
3543
+ "internalType": "uint256",
3544
+ "name": "baseRatePerBlockOrTimestamp",
3545
+ "type": "uint256"
3546
+ },
3547
+ {
3548
+ "indexed": false,
3549
+ "internalType": "uint256",
3550
+ "name": "multiplierPerBlockOrTimestamp",
3551
+ "type": "uint256"
3552
+ },
3553
+ {
3554
+ "indexed": false,
3555
+ "internalType": "uint256",
3556
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3557
+ "type": "uint256"
3558
+ },
3559
+ {
3560
+ "indexed": false,
3561
+ "internalType": "uint256",
3562
+ "name": "kink",
3563
+ "type": "uint256"
3564
+ }
3565
+ ],
3566
+ "name": "NewInterestParams",
3567
+ "type": "event"
3568
+ },
3569
+ {
3570
+ "inputs": [],
3571
+ "name": "accessControlManager",
3572
+ "outputs": [
3573
+ {
3574
+ "internalType": "contract IAccessControlManagerV8",
3575
+ "name": "",
3576
+ "type": "address"
3577
+ }
3578
+ ],
3579
+ "stateMutability": "view",
3580
+ "type": "function"
3581
+ },
3582
+ {
3583
+ "inputs": [],
3584
+ "name": "baseRatePerBlock",
3585
+ "outputs": [
3586
+ {
3587
+ "internalType": "uint256",
3588
+ "name": "",
3589
+ "type": "uint256"
3590
+ }
3591
+ ],
3592
+ "stateMutability": "view",
3593
+ "type": "function"
3594
+ },
3595
+ {
3596
+ "inputs": [],
3597
+ "name": "blocksOrSecondsPerYear",
3598
+ "outputs": [
3599
+ {
3600
+ "internalType": "uint256",
3601
+ "name": "",
3602
+ "type": "uint256"
3603
+ }
3604
+ ],
3605
+ "stateMutability": "view",
3606
+ "type": "function"
3607
+ },
3608
+ {
3609
+ "inputs": [],
3610
+ "name": "getBlockNumberOrTimestamp",
3611
+ "outputs": [
3612
+ {
3613
+ "internalType": "uint256",
3614
+ "name": "",
3615
+ "type": "uint256"
3616
+ }
3617
+ ],
3618
+ "stateMutability": "view",
3619
+ "type": "function"
3620
+ },
3621
+ {
3622
+ "inputs": [
3623
+ {
3624
+ "internalType": "uint256",
3625
+ "name": "cash",
3626
+ "type": "uint256"
3627
+ },
3628
+ {
3629
+ "internalType": "uint256",
3630
+ "name": "borrows",
3631
+ "type": "uint256"
3632
+ },
3633
+ {
3634
+ "internalType": "uint256",
3635
+ "name": "reserves",
3636
+ "type": "uint256"
3637
+ },
3638
+ {
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
+ },
3463
3823
  "MockUSDC.e": {
3464
3824
  "address": "0xF98780C8a0843829f98e624d83C3FfDDf43BE984",
3465
3825
  "abi": [
@@ -3769,6 +4129,315 @@
3769
4129
  }
3770
4130
  ]
3771
4131
  },
4132
+ "MockUSDC": {
4133
+ "address": "0x512F8b4a3c466a30e8c9BAC9c64638dd710968c2",
4134
+ "abi": [
4135
+ {
4136
+ "inputs": [
4137
+ {
4138
+ "internalType": "string",
4139
+ "name": "name_",
4140
+ "type": "string"
4141
+ },
4142
+ {
4143
+ "internalType": "string",
4144
+ "name": "symbol_",
4145
+ "type": "string"
4146
+ },
4147
+ {
4148
+ "internalType": "uint8",
4149
+ "name": "decimals_",
4150
+ "type": "uint8"
4151
+ }
4152
+ ],
4153
+ "stateMutability": "nonpayable",
4154
+ "type": "constructor"
4155
+ },
4156
+ {
4157
+ "anonymous": false,
4158
+ "inputs": [
4159
+ {
4160
+ "indexed": true,
4161
+ "internalType": "address",
4162
+ "name": "owner",
4163
+ "type": "address"
4164
+ },
4165
+ {
4166
+ "indexed": true,
4167
+ "internalType": "address",
4168
+ "name": "spender",
4169
+ "type": "address"
4170
+ },
4171
+ {
4172
+ "indexed": false,
4173
+ "internalType": "uint256",
4174
+ "name": "value",
4175
+ "type": "uint256"
4176
+ }
4177
+ ],
4178
+ "name": "Approval",
4179
+ "type": "event"
4180
+ },
4181
+ {
4182
+ "anonymous": false,
4183
+ "inputs": [
4184
+ {
4185
+ "indexed": true,
4186
+ "internalType": "address",
4187
+ "name": "from",
4188
+ "type": "address"
4189
+ },
4190
+ {
4191
+ "indexed": true,
4192
+ "internalType": "address",
4193
+ "name": "to",
4194
+ "type": "address"
4195
+ },
4196
+ {
4197
+ "indexed": false,
4198
+ "internalType": "uint256",
4199
+ "name": "value",
4200
+ "type": "uint256"
4201
+ }
4202
+ ],
4203
+ "name": "Transfer",
4204
+ "type": "event"
4205
+ },
4206
+ {
4207
+ "inputs": [
4208
+ {
4209
+ "internalType": "address",
4210
+ "name": "owner",
4211
+ "type": "address"
4212
+ },
4213
+ {
4214
+ "internalType": "address",
4215
+ "name": "spender",
4216
+ "type": "address"
4217
+ }
4218
+ ],
4219
+ "name": "allowance",
4220
+ "outputs": [
4221
+ {
4222
+ "internalType": "uint256",
4223
+ "name": "",
4224
+ "type": "uint256"
4225
+ }
4226
+ ],
4227
+ "stateMutability": "view",
4228
+ "type": "function"
4229
+ },
4230
+ {
4231
+ "inputs": [
4232
+ {
4233
+ "internalType": "address",
4234
+ "name": "spender",
4235
+ "type": "address"
4236
+ },
4237
+ {
4238
+ "internalType": "uint256",
4239
+ "name": "amount",
4240
+ "type": "uint256"
4241
+ }
4242
+ ],
4243
+ "name": "approve",
4244
+ "outputs": [
4245
+ {
4246
+ "internalType": "bool",
4247
+ "name": "",
4248
+ "type": "bool"
4249
+ }
4250
+ ],
4251
+ "stateMutability": "nonpayable",
4252
+ "type": "function"
4253
+ },
4254
+ {
4255
+ "inputs": [
4256
+ {
4257
+ "internalType": "address",
4258
+ "name": "account",
4259
+ "type": "address"
4260
+ }
4261
+ ],
4262
+ "name": "balanceOf",
4263
+ "outputs": [
4264
+ {
4265
+ "internalType": "uint256",
4266
+ "name": "",
4267
+ "type": "uint256"
4268
+ }
4269
+ ],
4270
+ "stateMutability": "view",
4271
+ "type": "function"
4272
+ },
4273
+ {
4274
+ "inputs": [],
4275
+ "name": "decimals",
4276
+ "outputs": [
4277
+ {
4278
+ "internalType": "uint8",
4279
+ "name": "",
4280
+ "type": "uint8"
4281
+ }
4282
+ ],
4283
+ "stateMutability": "view",
4284
+ "type": "function"
4285
+ },
4286
+ {
4287
+ "inputs": [
4288
+ {
4289
+ "internalType": "address",
4290
+ "name": "spender",
4291
+ "type": "address"
4292
+ },
4293
+ {
4294
+ "internalType": "uint256",
4295
+ "name": "subtractedValue",
4296
+ "type": "uint256"
4297
+ }
4298
+ ],
4299
+ "name": "decreaseAllowance",
4300
+ "outputs": [
4301
+ {
4302
+ "internalType": "bool",
4303
+ "name": "",
4304
+ "type": "bool"
4305
+ }
4306
+ ],
4307
+ "stateMutability": "nonpayable",
4308
+ "type": "function"
4309
+ },
4310
+ {
4311
+ "inputs": [
4312
+ {
4313
+ "internalType": "uint256",
4314
+ "name": "amount",
4315
+ "type": "uint256"
4316
+ }
4317
+ ],
4318
+ "name": "faucet",
4319
+ "outputs": [],
4320
+ "stateMutability": "nonpayable",
4321
+ "type": "function"
4322
+ },
4323
+ {
4324
+ "inputs": [
4325
+ {
4326
+ "internalType": "address",
4327
+ "name": "spender",
4328
+ "type": "address"
4329
+ },
4330
+ {
4331
+ "internalType": "uint256",
4332
+ "name": "addedValue",
4333
+ "type": "uint256"
4334
+ }
4335
+ ],
4336
+ "name": "increaseAllowance",
4337
+ "outputs": [
4338
+ {
4339
+ "internalType": "bool",
4340
+ "name": "",
4341
+ "type": "bool"
4342
+ }
4343
+ ],
4344
+ "stateMutability": "nonpayable",
4345
+ "type": "function"
4346
+ },
4347
+ {
4348
+ "inputs": [],
4349
+ "name": "name",
4350
+ "outputs": [
4351
+ {
4352
+ "internalType": "string",
4353
+ "name": "",
4354
+ "type": "string"
4355
+ }
4356
+ ],
4357
+ "stateMutability": "view",
4358
+ "type": "function"
4359
+ },
4360
+ {
4361
+ "inputs": [],
4362
+ "name": "symbol",
4363
+ "outputs": [
4364
+ {
4365
+ "internalType": "string",
4366
+ "name": "",
4367
+ "type": "string"
4368
+ }
4369
+ ],
4370
+ "stateMutability": "view",
4371
+ "type": "function"
4372
+ },
4373
+ {
4374
+ "inputs": [],
4375
+ "name": "totalSupply",
4376
+ "outputs": [
4377
+ {
4378
+ "internalType": "uint256",
4379
+ "name": "",
4380
+ "type": "uint256"
4381
+ }
4382
+ ],
4383
+ "stateMutability": "view",
4384
+ "type": "function"
4385
+ },
4386
+ {
4387
+ "inputs": [
4388
+ {
4389
+ "internalType": "address",
4390
+ "name": "to",
4391
+ "type": "address"
4392
+ },
4393
+ {
4394
+ "internalType": "uint256",
4395
+ "name": "amount",
4396
+ "type": "uint256"
4397
+ }
4398
+ ],
4399
+ "name": "transfer",
4400
+ "outputs": [
4401
+ {
4402
+ "internalType": "bool",
4403
+ "name": "",
4404
+ "type": "bool"
4405
+ }
4406
+ ],
4407
+ "stateMutability": "nonpayable",
4408
+ "type": "function"
4409
+ },
4410
+ {
4411
+ "inputs": [
4412
+ {
4413
+ "internalType": "address",
4414
+ "name": "from",
4415
+ "type": "address"
4416
+ },
4417
+ {
4418
+ "internalType": "address",
4419
+ "name": "to",
4420
+ "type": "address"
4421
+ },
4422
+ {
4423
+ "internalType": "uint256",
4424
+ "name": "amount",
4425
+ "type": "uint256"
4426
+ }
4427
+ ],
4428
+ "name": "transferFrom",
4429
+ "outputs": [
4430
+ {
4431
+ "internalType": "bool",
4432
+ "name": "",
4433
+ "type": "bool"
4434
+ }
4435
+ ],
4436
+ "stateMutability": "nonpayable",
4437
+ "type": "function"
4438
+ }
4439
+ ]
4440
+ },
3772
4441
  "MockUSDT": {
3773
4442
  "address": "0x9Bf62C9C6AaB7AB8e01271f0d7A401306579709B",
3774
4443
  "abi": [
@@ -12693,6 +13362,80 @@
12693
13362
  }
12694
13363
  ]
12695
13364
  },
13365
+ "VToken_vUSDC_Core": {
13366
+ "address": "0xA266EfCC7D1a8F1AAd093446E3C0115467ea8b9C",
13367
+ "abi": [
13368
+ {
13369
+ "inputs": [
13370
+ {
13371
+ "internalType": "address",
13372
+ "name": "beacon",
13373
+ "type": "address"
13374
+ },
13375
+ {
13376
+ "internalType": "bytes",
13377
+ "name": "data",
13378
+ "type": "bytes"
13379
+ }
13380
+ ],
13381
+ "stateMutability": "payable",
13382
+ "type": "constructor"
13383
+ },
13384
+ {
13385
+ "anonymous": false,
13386
+ "inputs": [
13387
+ {
13388
+ "indexed": false,
13389
+ "internalType": "address",
13390
+ "name": "previousAdmin",
13391
+ "type": "address"
13392
+ },
13393
+ {
13394
+ "indexed": false,
13395
+ "internalType": "address",
13396
+ "name": "newAdmin",
13397
+ "type": "address"
13398
+ }
13399
+ ],
13400
+ "name": "AdminChanged",
13401
+ "type": "event"
13402
+ },
13403
+ {
13404
+ "anonymous": false,
13405
+ "inputs": [
13406
+ {
13407
+ "indexed": true,
13408
+ "internalType": "address",
13409
+ "name": "beacon",
13410
+ "type": "address"
13411
+ }
13412
+ ],
13413
+ "name": "BeaconUpgraded",
13414
+ "type": "event"
13415
+ },
13416
+ {
13417
+ "anonymous": false,
13418
+ "inputs": [
13419
+ {
13420
+ "indexed": true,
13421
+ "internalType": "address",
13422
+ "name": "implementation",
13423
+ "type": "address"
13424
+ }
13425
+ ],
13426
+ "name": "Upgraded",
13427
+ "type": "event"
13428
+ },
13429
+ {
13430
+ "stateMutability": "payable",
13431
+ "type": "fallback"
13432
+ },
13433
+ {
13434
+ "stateMutability": "payable",
13435
+ "type": "receive"
13436
+ }
13437
+ ]
13438
+ },
12696
13439
  "VToken_vUSDT_Core": {
12697
13440
  "address": "0x7Bfd185eF8380a72027bF65bFEEAb0242b147778",
12698
13441
  "abi": [