@venusprotocol/isolated-pools 4.3.0-dev.2 → 4.3.0-dev.4

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 (94) hide show
  1. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  2. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  3. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  4. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  5. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  6. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  7. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  8. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink7000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  9. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  10. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  11. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  12. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base300bps_slope1000bps_jump25000bps_kink6000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  13. package/deployments/bscmainnet/CheckpointView_From_JumpRateModelV2_base350bps_slope1000bps_jump30000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1751250600.json +153 -0
  14. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy42048000.json +608 -0
  15. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps_bpy42048000.json +608 -0
  16. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps_bpy42048000.json +608 -0
  17. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps_bpy42048000.json +608 -0
  18. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps_bpy42048000.json +608 -0
  19. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps_bpy42048000.json +608 -0
  20. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps_bpy42048000.json +608 -0
  21. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink7000bps_bpy42048000.json +608 -0
  22. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink8000bps_bpy42048000.json +608 -0
  23. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps_bpy42048000.json +608 -0
  24. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps_bpy42048000.json +608 -0
  25. package/deployments/bscmainnet/JumpRateModelV2_base300bps_slope1000bps_jump25000bps_kink6000bps_bpy42048000.json +608 -0
  26. package/deployments/bscmainnet/JumpRateModelV2_base350bps_slope1000bps_jump30000bps_kink8000bps_bpy42048000.json +608 -0
  27. package/deployments/bscmainnet/SetCheckpointBscmainnet.json +12 -12
  28. package/deployments/bscmainnet/solcInputs/0108bd354924f4f9aa3c40a8445d0e0a.json +37 -0
  29. package/deployments/bscmainnet/solcInputs/03b3f433875ad0d6313e5baaac0bb635.json +475 -0
  30. package/deployments/bscmainnet.json +7365 -1554
  31. package/deployments/bscmainnet_addresses.json +27 -1
  32. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  33. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  34. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  35. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  36. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  37. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink7000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  38. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  39. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink5000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  40. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink7000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  41. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  42. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  43. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base300bps_slope1000bps_jump25000bps_kink6000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  44. package/deployments/bsctestnet/CheckpointView_From_JumpRateModelV2_base350bps_slope1000bps_jump30000bps_kink8000bps_bpy21024000_To_bpy42048000_At_1748243100.json +153 -0
  45. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy42048000.json +608 -0
  46. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps_bpy42048000.json +608 -0
  47. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps_bpy42048000.json +608 -0
  48. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps_bpy42048000.json +608 -0
  49. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps_bpy42048000.json +608 -0
  50. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink7000bps_bpy42048000.json +608 -0
  51. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink8000bps_bpy42048000.json +608 -0
  52. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink5000bps_bpy42048000.json +608 -0
  53. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink7000bps_bpy42048000.json +608 -0
  54. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps_bpy42048000.json +608 -0
  55. package/deployments/bsctestnet/JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps_bpy42048000.json +608 -0
  56. package/deployments/bsctestnet/JumpRateModelV2_base300bps_slope1000bps_jump25000bps_kink6000bps_bpy42048000.json +608 -0
  57. package/deployments/bsctestnet/JumpRateModelV2_base350bps_slope1000bps_jump30000bps_kink8000bps_bpy42048000.json +608 -0
  58. package/deployments/bsctestnet/SetCheckpointBsctestnet.json +10 -10
  59. package/deployments/bsctestnet/solcInputs/03b3f433875ad0d6313e5baaac0bb635.json +475 -0
  60. package/deployments/bsctestnet/solcInputs/202d5f736c1d719a1e45d8a4e4c1c1e1.json +37 -0
  61. package/deployments/bsctestnet.json +8036 -2225
  62. package/deployments/bsctestnet_addresses.json +27 -1
  63. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased.json +608 -0
  64. package/deployments/unichainmainnet/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased.json +552 -0
  65. package/deployments/unichainmainnet/VToken_vUSD/342/202/2560_Core.json +257 -0
  66. package/deployments/unichainmainnet/VToken_vWBTC_Core.json +257 -0
  67. package/deployments/unichainmainnet/solcInputs/f28d03c2f8781c2e1894b10843f4ae81.json +490 -0
  68. package/deployments/unichainmainnet.json +1461 -601
  69. package/deployments/unichainmainnet_addresses.json +4 -0
  70. package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased.json +608 -0
  71. package/deployments/unichainsepolia/MockUSD/342/202/2560.json +458 -0
  72. package/deployments/unichainsepolia/MockWBTC.json +458 -0
  73. package/deployments/unichainsepolia/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased.json +552 -0
  74. package/deployments/unichainsepolia/VToken_vUSD/342/202/2560_Core.json +257 -0
  75. package/deployments/unichainsepolia/VToken_vWBTC_Core.json +257 -0
  76. package/deployments/unichainsepolia/solcInputs/f28d03c2f8781c2e1894b10843f4ae81.json +490 -0
  77. package/deployments/unichainsepolia.json +2170 -692
  78. package/deployments/unichainsepolia_addresses.json +6 -0
  79. package/dist/deploy/020-rate-model-checkpoint.js +7 -6
  80. package/dist/deployments/bscmainnet.json +7365 -1554
  81. package/dist/deployments/bsctestnet.json +8036 -2225
  82. package/dist/deployments/unichainmainnet.json +1461 -601
  83. package/dist/deployments/unichainsepolia.json +2170 -692
  84. package/dist/helpers/deploymentConfig.d.ts +1 -1
  85. package/dist/helpers/deploymentConfig.js +107 -1
  86. package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
  87. package/dist/typechain/factories/IVToken__factory.js +1 -201
  88. package/dist/typechain/factories/PoolRegistryInterface__factory.d.ts +2 -16
  89. package/dist/typechain/factories/PoolRegistryInterface__factory.js +0 -119
  90. package/package.json +1 -1
  91. package/typechain/IVToken.d.ts +4 -341
  92. package/typechain/PoolRegistryInterface.d.ts +0 -178
  93. package/typechain/factories/IVToken__factory.ts +1 -201
  94. package/typechain/factories/PoolRegistryInterface__factory.ts +0 -119
@@ -4272,8 +4272,8 @@
4272
4272
  }
4273
4273
  ]
4274
4274
  },
4275
- "JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased": {
4276
- "address": "0xa8f62DE954852c39BC66ff9B103c8D4758982309",
4275
+ "JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased": {
4276
+ "address": "0x15d00fe9605D69c818Fe78627FF9367DcC9E363B",
4277
4277
  "abi": [
4278
4278
  {
4279
4279
  "inputs": [
@@ -4632,137 +4632,141 @@
4632
4632
  }
4633
4633
  ]
4634
4634
  },
4635
- "MockUNI": {
4636
- "address": "0x873A6C4B1e3D883920541a0C61Dc4dcb772140b3",
4635
+ "JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased": {
4636
+ "address": "0xa8f62DE954852c39BC66ff9B103c8D4758982309",
4637
4637
  "abi": [
4638
4638
  {
4639
4639
  "inputs": [
4640
4640
  {
4641
- "internalType": "string",
4642
- "name": "name_",
4643
- "type": "string"
4641
+ "internalType": "uint256",
4642
+ "name": "baseRatePerYear_",
4643
+ "type": "uint256"
4644
4644
  },
4645
4645
  {
4646
- "internalType": "string",
4647
- "name": "symbol_",
4648
- "type": "string"
4646
+ "internalType": "uint256",
4647
+ "name": "multiplierPerYear_",
4648
+ "type": "uint256"
4649
4649
  },
4650
4650
  {
4651
- "internalType": "uint8",
4652
- "name": "decimals_",
4653
- "type": "uint8"
4651
+ "internalType": "uint256",
4652
+ "name": "jumpMultiplierPerYear_",
4653
+ "type": "uint256"
4654
+ },
4655
+ {
4656
+ "internalType": "uint256",
4657
+ "name": "kink_",
4658
+ "type": "uint256"
4659
+ },
4660
+ {
4661
+ "internalType": "contract IAccessControlManagerV8",
4662
+ "name": "accessControlManager_",
4663
+ "type": "address"
4664
+ },
4665
+ {
4666
+ "internalType": "bool",
4667
+ "name": "timeBased_",
4668
+ "type": "bool"
4669
+ },
4670
+ {
4671
+ "internalType": "uint256",
4672
+ "name": "blocksPerYear_",
4673
+ "type": "uint256"
4654
4674
  }
4655
4675
  ],
4656
4676
  "stateMutability": "nonpayable",
4657
4677
  "type": "constructor"
4658
4678
  },
4659
4679
  {
4660
- "anonymous": false,
4680
+ "inputs": [],
4681
+ "name": "InvalidBlocksPerYear",
4682
+ "type": "error"
4683
+ },
4684
+ {
4685
+ "inputs": [],
4686
+ "name": "InvalidTimeBasedConfiguration",
4687
+ "type": "error"
4688
+ },
4689
+ {
4661
4690
  "inputs": [
4662
4691
  {
4663
- "indexed": true,
4664
4692
  "internalType": "address",
4665
- "name": "owner",
4693
+ "name": "sender",
4666
4694
  "type": "address"
4667
4695
  },
4668
4696
  {
4669
- "indexed": true,
4670
4697
  "internalType": "address",
4671
- "name": "spender",
4698
+ "name": "calledContract",
4672
4699
  "type": "address"
4673
4700
  },
4674
4701
  {
4675
- "indexed": false,
4676
- "internalType": "uint256",
4677
- "name": "value",
4678
- "type": "uint256"
4702
+ "internalType": "string",
4703
+ "name": "methodSignature",
4704
+ "type": "string"
4679
4705
  }
4680
4706
  ],
4681
- "name": "Approval",
4682
- "type": "event"
4707
+ "name": "Unauthorized",
4708
+ "type": "error"
4683
4709
  },
4684
4710
  {
4685
4711
  "anonymous": false,
4686
4712
  "inputs": [
4687
4713
  {
4688
- "indexed": true,
4689
- "internalType": "address",
4690
- "name": "from",
4691
- "type": "address"
4714
+ "indexed": false,
4715
+ "internalType": "uint256",
4716
+ "name": "baseRatePerBlockOrTimestamp",
4717
+ "type": "uint256"
4692
4718
  },
4693
4719
  {
4694
- "indexed": true,
4695
- "internalType": "address",
4696
- "name": "to",
4697
- "type": "address"
4720
+ "indexed": false,
4721
+ "internalType": "uint256",
4722
+ "name": "multiplierPerBlockOrTimestamp",
4723
+ "type": "uint256"
4698
4724
  },
4699
4725
  {
4700
4726
  "indexed": false,
4701
4727
  "internalType": "uint256",
4702
- "name": "value",
4728
+ "name": "jumpMultiplierPerBlockOrTimestamp",
4729
+ "type": "uint256"
4730
+ },
4731
+ {
4732
+ "indexed": false,
4733
+ "internalType": "uint256",
4734
+ "name": "kink",
4703
4735
  "type": "uint256"
4704
4736
  }
4705
4737
  ],
4706
- "name": "Transfer",
4738
+ "name": "NewInterestParams",
4707
4739
  "type": "event"
4708
4740
  },
4709
4741
  {
4710
- "inputs": [
4711
- {
4712
- "internalType": "address",
4713
- "name": "owner",
4714
- "type": "address"
4715
- },
4716
- {
4717
- "internalType": "address",
4718
- "name": "spender",
4719
- "type": "address"
4720
- }
4721
- ],
4722
- "name": "allowance",
4742
+ "inputs": [],
4743
+ "name": "accessControlManager",
4723
4744
  "outputs": [
4724
4745
  {
4725
- "internalType": "uint256",
4746
+ "internalType": "contract IAccessControlManagerV8",
4726
4747
  "name": "",
4727
- "type": "uint256"
4748
+ "type": "address"
4728
4749
  }
4729
4750
  ],
4730
4751
  "stateMutability": "view",
4731
4752
  "type": "function"
4732
4753
  },
4733
4754
  {
4734
- "inputs": [
4735
- {
4736
- "internalType": "address",
4737
- "name": "spender",
4738
- "type": "address"
4739
- },
4740
- {
4741
- "internalType": "uint256",
4742
- "name": "amount",
4743
- "type": "uint256"
4744
- }
4745
- ],
4746
- "name": "approve",
4755
+ "inputs": [],
4756
+ "name": "baseRatePerBlock",
4747
4757
  "outputs": [
4748
4758
  {
4749
- "internalType": "bool",
4759
+ "internalType": "uint256",
4750
4760
  "name": "",
4751
- "type": "bool"
4761
+ "type": "uint256"
4752
4762
  }
4753
4763
  ],
4754
- "stateMutability": "nonpayable",
4764
+ "stateMutability": "view",
4755
4765
  "type": "function"
4756
4766
  },
4757
4767
  {
4758
- "inputs": [
4759
- {
4760
- "internalType": "address",
4761
- "name": "account",
4762
- "type": "address"
4763
- }
4764
- ],
4765
- "name": "balanceOf",
4768
+ "inputs": [],
4769
+ "name": "blocksOrSecondsPerYear",
4766
4770
  "outputs": [
4767
4771
  {
4768
4772
  "internalType": "uint256",
@@ -4775,12 +4779,12 @@
4775
4779
  },
4776
4780
  {
4777
4781
  "inputs": [],
4778
- "name": "decimals",
4782
+ "name": "getBlockNumberOrTimestamp",
4779
4783
  "outputs": [
4780
4784
  {
4781
- "internalType": "uint8",
4785
+ "internalType": "uint256",
4782
4786
  "name": "",
4783
- "type": "uint8"
4787
+ "type": "uint256"
4784
4788
  }
4785
4789
  ],
4786
4790
  "stateMutability": "view",
@@ -4789,85 +4793,97 @@
4789
4793
  {
4790
4794
  "inputs": [
4791
4795
  {
4792
- "internalType": "address",
4793
- "name": "spender",
4794
- "type": "address"
4796
+ "internalType": "uint256",
4797
+ "name": "cash",
4798
+ "type": "uint256"
4795
4799
  },
4796
4800
  {
4797
4801
  "internalType": "uint256",
4798
- "name": "subtractedValue",
4802
+ "name": "borrows",
4803
+ "type": "uint256"
4804
+ },
4805
+ {
4806
+ "internalType": "uint256",
4807
+ "name": "reserves",
4808
+ "type": "uint256"
4809
+ },
4810
+ {
4811
+ "internalType": "uint256",
4812
+ "name": "badDebt",
4799
4813
  "type": "uint256"
4800
4814
  }
4801
4815
  ],
4802
- "name": "decreaseAllowance",
4816
+ "name": "getBorrowRate",
4803
4817
  "outputs": [
4804
4818
  {
4805
- "internalType": "bool",
4819
+ "internalType": "uint256",
4806
4820
  "name": "",
4807
- "type": "bool"
4821
+ "type": "uint256"
4808
4822
  }
4809
4823
  ],
4810
- "stateMutability": "nonpayable",
4824
+ "stateMutability": "view",
4811
4825
  "type": "function"
4812
4826
  },
4813
4827
  {
4814
4828
  "inputs": [
4815
4829
  {
4816
4830
  "internalType": "uint256",
4817
- "name": "amount",
4831
+ "name": "cash",
4818
4832
  "type": "uint256"
4819
- }
4820
- ],
4821
- "name": "faucet",
4822
- "outputs": [],
4823
- "stateMutability": "nonpayable",
4824
- "type": "function"
4825
- },
4826
- {
4827
- "inputs": [
4833
+ },
4828
4834
  {
4829
- "internalType": "address",
4830
- "name": "spender",
4831
- "type": "address"
4835
+ "internalType": "uint256",
4836
+ "name": "borrows",
4837
+ "type": "uint256"
4832
4838
  },
4833
4839
  {
4834
4840
  "internalType": "uint256",
4835
- "name": "addedValue",
4841
+ "name": "reserves",
4842
+ "type": "uint256"
4843
+ },
4844
+ {
4845
+ "internalType": "uint256",
4846
+ "name": "reserveFactorMantissa",
4847
+ "type": "uint256"
4848
+ },
4849
+ {
4850
+ "internalType": "uint256",
4851
+ "name": "badDebt",
4836
4852
  "type": "uint256"
4837
4853
  }
4838
4854
  ],
4839
- "name": "increaseAllowance",
4855
+ "name": "getSupplyRate",
4840
4856
  "outputs": [
4841
4857
  {
4842
- "internalType": "bool",
4858
+ "internalType": "uint256",
4843
4859
  "name": "",
4844
- "type": "bool"
4860
+ "type": "uint256"
4845
4861
  }
4846
4862
  ],
4847
- "stateMutability": "nonpayable",
4863
+ "stateMutability": "view",
4848
4864
  "type": "function"
4849
4865
  },
4850
4866
  {
4851
4867
  "inputs": [],
4852
- "name": "name",
4868
+ "name": "isInterestRateModel",
4853
4869
  "outputs": [
4854
4870
  {
4855
- "internalType": "string",
4871
+ "internalType": "bool",
4856
4872
  "name": "",
4857
- "type": "string"
4873
+ "type": "bool"
4858
4874
  }
4859
4875
  ],
4860
- "stateMutability": "view",
4876
+ "stateMutability": "pure",
4861
4877
  "type": "function"
4862
4878
  },
4863
4879
  {
4864
4880
  "inputs": [],
4865
- "name": "symbol",
4881
+ "name": "isTimeBased",
4866
4882
  "outputs": [
4867
4883
  {
4868
- "internalType": "string",
4884
+ "internalType": "bool",
4869
4885
  "name": "",
4870
- "type": "string"
4886
+ "type": "bool"
4871
4887
  }
4872
4888
  ],
4873
4889
  "stateMutability": "view",
@@ -4875,7 +4891,7 @@
4875
4891
  },
4876
4892
  {
4877
4893
  "inputs": [],
4878
- "name": "totalSupply",
4894
+ "name": "jumpMultiplierPerBlock",
4879
4895
  "outputs": [
4880
4896
  {
4881
4897
  "internalType": "uint256",
@@ -4887,62 +4903,97 @@
4887
4903
  "type": "function"
4888
4904
  },
4889
4905
  {
4890
- "inputs": [
4891
- {
4892
- "internalType": "address",
4893
- "name": "to",
4894
- "type": "address"
4895
- },
4906
+ "inputs": [],
4907
+ "name": "kink",
4908
+ "outputs": [
4896
4909
  {
4897
4910
  "internalType": "uint256",
4898
- "name": "amount",
4911
+ "name": "",
4899
4912
  "type": "uint256"
4900
4913
  }
4901
4914
  ],
4902
- "name": "transfer",
4915
+ "stateMutability": "view",
4916
+ "type": "function"
4917
+ },
4918
+ {
4919
+ "inputs": [],
4920
+ "name": "multiplierPerBlock",
4903
4921
  "outputs": [
4904
4922
  {
4905
- "internalType": "bool",
4923
+ "internalType": "uint256",
4906
4924
  "name": "",
4907
- "type": "bool"
4925
+ "type": "uint256"
4908
4926
  }
4909
4927
  ],
4928
+ "stateMutability": "view",
4929
+ "type": "function"
4930
+ },
4931
+ {
4932
+ "inputs": [
4933
+ {
4934
+ "internalType": "uint256",
4935
+ "name": "baseRatePerYear",
4936
+ "type": "uint256"
4937
+ },
4938
+ {
4939
+ "internalType": "uint256",
4940
+ "name": "multiplierPerYear",
4941
+ "type": "uint256"
4942
+ },
4943
+ {
4944
+ "internalType": "uint256",
4945
+ "name": "jumpMultiplierPerYear",
4946
+ "type": "uint256"
4947
+ },
4948
+ {
4949
+ "internalType": "uint256",
4950
+ "name": "kink_",
4951
+ "type": "uint256"
4952
+ }
4953
+ ],
4954
+ "name": "updateJumpRateModel",
4955
+ "outputs": [],
4910
4956
  "stateMutability": "nonpayable",
4911
4957
  "type": "function"
4912
4958
  },
4913
4959
  {
4914
4960
  "inputs": [
4915
4961
  {
4916
- "internalType": "address",
4917
- "name": "from",
4918
- "type": "address"
4962
+ "internalType": "uint256",
4963
+ "name": "cash",
4964
+ "type": "uint256"
4919
4965
  },
4920
4966
  {
4921
- "internalType": "address",
4922
- "name": "to",
4923
- "type": "address"
4967
+ "internalType": "uint256",
4968
+ "name": "borrows",
4969
+ "type": "uint256"
4924
4970
  },
4925
4971
  {
4926
4972
  "internalType": "uint256",
4927
- "name": "amount",
4973
+ "name": "reserves",
4974
+ "type": "uint256"
4975
+ },
4976
+ {
4977
+ "internalType": "uint256",
4978
+ "name": "badDebt",
4928
4979
  "type": "uint256"
4929
4980
  }
4930
4981
  ],
4931
- "name": "transferFrom",
4982
+ "name": "utilizationRate",
4932
4983
  "outputs": [
4933
4984
  {
4934
- "internalType": "bool",
4985
+ "internalType": "uint256",
4935
4986
  "name": "",
4936
- "type": "bool"
4987
+ "type": "uint256"
4937
4988
  }
4938
4989
  ],
4939
- "stateMutability": "nonpayable",
4990
+ "stateMutability": "pure",
4940
4991
  "type": "function"
4941
4992
  }
4942
4993
  ]
4943
4994
  },
4944
- "MockUSDC": {
4945
- "address": "0xf16d4774893eB578130a645d5c69E9c4d183F3A5",
4995
+ "MockUNI": {
4996
+ "address": "0x873A6C4B1e3D883920541a0C61Dc4dcb772140b3",
4946
4997
  "abi": [
4947
4998
  {
4948
4999
  "inputs": [
@@ -5250,8 +5301,8 @@
5250
5301
  }
5251
5302
  ]
5252
5303
  },
5253
- "MockUSDT": {
5254
- "address": "0x7bc1b67fde923fd3667Fde59684c6c354C8EbFdA",
5304
+ "MockUSDC": {
5305
+ "address": "0xf16d4774893eB578130a645d5c69E9c4d183F3A5",
5255
5306
  "abi": [
5256
5307
  {
5257
5308
  "inputs": [
@@ -5559,8 +5610,8 @@
5559
5610
  }
5560
5611
  ]
5561
5612
  },
5562
- "MockcbBTC": {
5563
- "address": "0x2979ef1676bb28192ac304173C717D7322b3b586",
5613
+ "MockUSDT": {
5614
+ "address": "0x7bc1b67fde923fd3667Fde59684c6c354C8EbFdA",
5564
5615
  "abi": [
5565
5616
  {
5566
5617
  "inputs": [
@@ -5868,8 +5919,8 @@
5868
5919
  }
5869
5920
  ]
5870
5921
  },
5871
- "MockweETH": {
5872
- "address": "0x3B3aCc90D848981E69052FD461123EA19dca6cAF",
5922
+ "MockUSD₮0": {
5923
+ "address": "0x6f64364A62F9c0eb102b54E0dDa7666E1d3266aB",
5873
5924
  "abi": [
5874
5925
  {
5875
5926
  "inputs": [
@@ -6177,8 +6228,8 @@
6177
6228
  }
6178
6229
  ]
6179
6230
  },
6180
- "MockwstETH": {
6181
- "address": "0x114B3fD3dA17F8EDBc19a3AEE43aC168Ca5b03b4",
6231
+ "MockWBTC": {
6232
+ "address": "0x0f850f13fd273348046f1BaDc5aCb80271A672C4",
6182
6233
  "abi": [
6183
6234
  {
6184
6235
  "inputs": [
@@ -6486,52 +6537,53 @@
6486
6537
  }
6487
6538
  ]
6488
6539
  },
6489
- "NativeTokenGateway_vWETH_Core": {
6490
- "address": "0x148C41b07A5c1f289CFB57C2F40d5EEF8ab30DB1",
6540
+ "MockcbBTC": {
6541
+ "address": "0x2979ef1676bb28192ac304173C717D7322b3b586",
6491
6542
  "abi": [
6492
6543
  {
6493
6544
  "inputs": [
6494
6545
  {
6495
- "internalType": "contract IVToken",
6496
- "name": "vWrappedNativeToken",
6497
- "type": "address"
6546
+ "internalType": "string",
6547
+ "name": "name_",
6548
+ "type": "string"
6549
+ },
6550
+ {
6551
+ "internalType": "string",
6552
+ "name": "symbol_",
6553
+ "type": "string"
6554
+ },
6555
+ {
6556
+ "internalType": "uint8",
6557
+ "name": "decimals_",
6558
+ "type": "uint8"
6498
6559
  }
6499
6560
  ],
6500
6561
  "stateMutability": "nonpayable",
6501
6562
  "type": "constructor"
6502
6563
  },
6503
- {
6504
- "inputs": [],
6505
- "name": "NativeTokenTransferFailed",
6506
- "type": "error"
6507
- },
6508
- {
6509
- "inputs": [],
6510
- "name": "ZeroAddressNotAllowed",
6511
- "type": "error"
6512
- },
6513
- {
6514
- "inputs": [],
6515
- "name": "ZeroValueNotAllowed",
6516
- "type": "error"
6517
- },
6518
6564
  {
6519
6565
  "anonymous": false,
6520
6566
  "inputs": [
6521
6567
  {
6522
6568
  "indexed": true,
6523
6569
  "internalType": "address",
6524
- "name": "previousOwner",
6570
+ "name": "owner",
6525
6571
  "type": "address"
6526
6572
  },
6527
6573
  {
6528
6574
  "indexed": true,
6529
6575
  "internalType": "address",
6530
- "name": "newOwner",
6576
+ "name": "spender",
6531
6577
  "type": "address"
6578
+ },
6579
+ {
6580
+ "indexed": false,
6581
+ "internalType": "uint256",
6582
+ "name": "value",
6583
+ "type": "uint256"
6532
6584
  }
6533
6585
  ],
6534
- "name": "OwnershipTransferStarted",
6586
+ "name": "Approval",
6535
6587
  "type": "event"
6536
6588
  },
6537
6589
  {
@@ -6540,195 +6592,187 @@
6540
6592
  {
6541
6593
  "indexed": true,
6542
6594
  "internalType": "address",
6543
- "name": "previousOwner",
6595
+ "name": "from",
6544
6596
  "type": "address"
6545
6597
  },
6546
6598
  {
6547
6599
  "indexed": true,
6548
6600
  "internalType": "address",
6549
- "name": "newOwner",
6550
- "type": "address"
6551
- }
6552
- ],
6553
- "name": "OwnershipTransferred",
6554
- "type": "event"
6555
- },
6556
- {
6557
- "anonymous": false,
6558
- "inputs": [
6559
- {
6560
- "indexed": true,
6561
- "internalType": "address",
6562
- "name": "receiver",
6601
+ "name": "to",
6563
6602
  "type": "address"
6564
6603
  },
6565
6604
  {
6566
6605
  "indexed": false,
6567
6606
  "internalType": "uint256",
6568
- "name": "amount",
6607
+ "name": "value",
6569
6608
  "type": "uint256"
6570
6609
  }
6571
6610
  ],
6572
- "name": "SweepNative",
6611
+ "name": "Transfer",
6573
6612
  "type": "event"
6574
6613
  },
6575
6614
  {
6576
- "anonymous": false,
6577
6615
  "inputs": [
6578
6616
  {
6579
- "indexed": true,
6580
6617
  "internalType": "address",
6581
- "name": "token",
6618
+ "name": "owner",
6582
6619
  "type": "address"
6583
6620
  },
6584
6621
  {
6585
- "indexed": true,
6586
6622
  "internalType": "address",
6587
- "name": "receiver",
6623
+ "name": "spender",
6588
6624
  "type": "address"
6589
- },
6625
+ }
6626
+ ],
6627
+ "name": "allowance",
6628
+ "outputs": [
6590
6629
  {
6591
- "indexed": false,
6592
6630
  "internalType": "uint256",
6593
- "name": "amount",
6631
+ "name": "",
6594
6632
  "type": "uint256"
6595
6633
  }
6596
6634
  ],
6597
- "name": "SweepToken",
6598
- "type": "event"
6635
+ "stateMutability": "view",
6636
+ "type": "function"
6599
6637
  },
6600
6638
  {
6601
- "anonymous": false,
6602
6639
  "inputs": [
6603
6640
  {
6604
- "indexed": true,
6605
- "internalType": "address",
6606
- "name": "sender",
6607
- "type": "address"
6608
- },
6609
- {
6610
- "indexed": true,
6611
6641
  "internalType": "address",
6612
- "name": "vToken",
6642
+ "name": "spender",
6613
6643
  "type": "address"
6614
6644
  },
6615
6645
  {
6616
- "indexed": false,
6617
6646
  "internalType": "uint256",
6618
6647
  "name": "amount",
6619
6648
  "type": "uint256"
6620
6649
  }
6621
6650
  ],
6622
- "name": "TokensBorrowedAndUnwrapped",
6623
- "type": "event"
6651
+ "name": "approve",
6652
+ "outputs": [
6653
+ {
6654
+ "internalType": "bool",
6655
+ "name": "",
6656
+ "type": "bool"
6657
+ }
6658
+ ],
6659
+ "stateMutability": "nonpayable",
6660
+ "type": "function"
6624
6661
  },
6625
6662
  {
6626
- "anonymous": false,
6627
6663
  "inputs": [
6628
6664
  {
6629
- "indexed": true,
6630
- "internalType": "address",
6631
- "name": "sender",
6632
- "type": "address"
6633
- },
6634
- {
6635
- "indexed": true,
6636
6665
  "internalType": "address",
6637
- "name": "vToken",
6666
+ "name": "account",
6638
6667
  "type": "address"
6639
- },
6668
+ }
6669
+ ],
6670
+ "name": "balanceOf",
6671
+ "outputs": [
6640
6672
  {
6641
- "indexed": false,
6642
6673
  "internalType": "uint256",
6643
- "name": "amount",
6674
+ "name": "",
6644
6675
  "type": "uint256"
6645
6676
  }
6646
6677
  ],
6647
- "name": "TokensRedeemedAndUnwrapped",
6648
- "type": "event"
6678
+ "stateMutability": "view",
6679
+ "type": "function"
6680
+ },
6681
+ {
6682
+ "inputs": [],
6683
+ "name": "decimals",
6684
+ "outputs": [
6685
+ {
6686
+ "internalType": "uint8",
6687
+ "name": "",
6688
+ "type": "uint8"
6689
+ }
6690
+ ],
6691
+ "stateMutability": "view",
6692
+ "type": "function"
6649
6693
  },
6650
6694
  {
6651
- "anonymous": false,
6652
6695
  "inputs": [
6653
6696
  {
6654
- "indexed": true,
6655
6697
  "internalType": "address",
6656
- "name": "sender",
6698
+ "name": "spender",
6657
6699
  "type": "address"
6658
6700
  },
6659
6701
  {
6660
- "indexed": true,
6661
- "internalType": "address",
6662
- "name": "vToken",
6663
- "type": "address"
6664
- },
6702
+ "internalType": "uint256",
6703
+ "name": "subtractedValue",
6704
+ "type": "uint256"
6705
+ }
6706
+ ],
6707
+ "name": "decreaseAllowance",
6708
+ "outputs": [
6709
+ {
6710
+ "internalType": "bool",
6711
+ "name": "",
6712
+ "type": "bool"
6713
+ }
6714
+ ],
6715
+ "stateMutability": "nonpayable",
6716
+ "type": "function"
6717
+ },
6718
+ {
6719
+ "inputs": [
6665
6720
  {
6666
- "indexed": false,
6667
6721
  "internalType": "uint256",
6668
6722
  "name": "amount",
6669
6723
  "type": "uint256"
6670
6724
  }
6671
6725
  ],
6672
- "name": "TokensWrappedAndRepaid",
6673
- "type": "event"
6726
+ "name": "faucet",
6727
+ "outputs": [],
6728
+ "stateMutability": "nonpayable",
6729
+ "type": "function"
6674
6730
  },
6675
6731
  {
6676
- "anonymous": false,
6677
6732
  "inputs": [
6678
6733
  {
6679
- "indexed": true,
6680
6734
  "internalType": "address",
6681
- "name": "sender",
6735
+ "name": "spender",
6682
6736
  "type": "address"
6683
6737
  },
6684
6738
  {
6685
- "indexed": true,
6686
- "internalType": "address",
6687
- "name": "vToken",
6688
- "type": "address"
6689
- },
6690
- {
6691
- "indexed": false,
6692
6739
  "internalType": "uint256",
6693
- "name": "amount",
6740
+ "name": "addedValue",
6694
6741
  "type": "uint256"
6695
6742
  }
6696
6743
  ],
6697
- "name": "TokensWrappedAndSupplied",
6698
- "type": "event"
6699
- },
6700
- {
6701
- "stateMutability": "payable",
6702
- "type": "fallback"
6703
- },
6704
- {
6705
- "inputs": [],
6706
- "name": "acceptOwnership",
6707
- "outputs": [],
6744
+ "name": "increaseAllowance",
6745
+ "outputs": [
6746
+ {
6747
+ "internalType": "bool",
6748
+ "name": "",
6749
+ "type": "bool"
6750
+ }
6751
+ ],
6708
6752
  "stateMutability": "nonpayable",
6709
6753
  "type": "function"
6710
6754
  },
6711
6755
  {
6712
- "inputs": [
6756
+ "inputs": [],
6757
+ "name": "name",
6758
+ "outputs": [
6713
6759
  {
6714
- "internalType": "uint256",
6715
- "name": "borrowAmount",
6716
- "type": "uint256"
6760
+ "internalType": "string",
6761
+ "name": "",
6762
+ "type": "string"
6717
6763
  }
6718
6764
  ],
6719
- "name": "borrowAndUnwrap",
6720
- "outputs": [],
6721
- "stateMutability": "nonpayable",
6765
+ "stateMutability": "view",
6722
6766
  "type": "function"
6723
6767
  },
6724
6768
  {
6725
6769
  "inputs": [],
6726
- "name": "owner",
6770
+ "name": "symbol",
6727
6771
  "outputs": [
6728
6772
  {
6729
- "internalType": "address",
6773
+ "internalType": "string",
6730
6774
  "name": "",
6731
- "type": "address"
6775
+ "type": "string"
6732
6776
  }
6733
6777
  ],
6734
6778
  "stateMutability": "view",
@@ -6736,12 +6780,12 @@
6736
6780
  },
6737
6781
  {
6738
6782
  "inputs": [],
6739
- "name": "pendingOwner",
6783
+ "name": "totalSupply",
6740
6784
  "outputs": [
6741
6785
  {
6742
- "internalType": "address",
6786
+ "internalType": "uint256",
6743
6787
  "name": "",
6744
- "type": "address"
6788
+ "type": "uint256"
6745
6789
  }
6746
6790
  ],
6747
6791
  "stateMutability": "view",
@@ -6749,173 +6793,1107 @@
6749
6793
  },
6750
6794
  {
6751
6795
  "inputs": [
6796
+ {
6797
+ "internalType": "address",
6798
+ "name": "to",
6799
+ "type": "address"
6800
+ },
6752
6801
  {
6753
6802
  "internalType": "uint256",
6754
- "name": "redeemTokens",
6803
+ "name": "amount",
6755
6804
  "type": "uint256"
6756
6805
  }
6757
6806
  ],
6758
- "name": "redeemAndUnwrap",
6759
- "outputs": [],
6807
+ "name": "transfer",
6808
+ "outputs": [
6809
+ {
6810
+ "internalType": "bool",
6811
+ "name": "",
6812
+ "type": "bool"
6813
+ }
6814
+ ],
6760
6815
  "stateMutability": "nonpayable",
6761
6816
  "type": "function"
6762
6817
  },
6763
6818
  {
6764
6819
  "inputs": [
6820
+ {
6821
+ "internalType": "address",
6822
+ "name": "from",
6823
+ "type": "address"
6824
+ },
6825
+ {
6826
+ "internalType": "address",
6827
+ "name": "to",
6828
+ "type": "address"
6829
+ },
6765
6830
  {
6766
6831
  "internalType": "uint256",
6767
- "name": "redeemAmount",
6832
+ "name": "amount",
6768
6833
  "type": "uint256"
6769
6834
  }
6770
6835
  ],
6771
- "name": "redeemUnderlyingAndUnwrap",
6772
- "outputs": [],
6773
- "stateMutability": "nonpayable",
6774
- "type": "function"
6775
- },
6776
- {
6777
- "inputs": [],
6778
- "name": "renounceOwnership",
6779
- "outputs": [],
6836
+ "name": "transferFrom",
6837
+ "outputs": [
6838
+ {
6839
+ "internalType": "bool",
6840
+ "name": "",
6841
+ "type": "bool"
6842
+ }
6843
+ ],
6780
6844
  "stateMutability": "nonpayable",
6781
6845
  "type": "function"
6782
- },
6846
+ }
6847
+ ]
6848
+ },
6849
+ "MockweETH": {
6850
+ "address": "0x3B3aCc90D848981E69052FD461123EA19dca6cAF",
6851
+ "abi": [
6783
6852
  {
6784
- "inputs": [],
6785
- "name": "sweepNative",
6786
- "outputs": [],
6853
+ "inputs": [
6854
+ {
6855
+ "internalType": "string",
6856
+ "name": "name_",
6857
+ "type": "string"
6858
+ },
6859
+ {
6860
+ "internalType": "string",
6861
+ "name": "symbol_",
6862
+ "type": "string"
6863
+ },
6864
+ {
6865
+ "internalType": "uint8",
6866
+ "name": "decimals_",
6867
+ "type": "uint8"
6868
+ }
6869
+ ],
6787
6870
  "stateMutability": "nonpayable",
6788
- "type": "function"
6871
+ "type": "constructor"
6789
6872
  },
6790
6873
  {
6874
+ "anonymous": false,
6791
6875
  "inputs": [
6792
6876
  {
6793
- "internalType": "contract IERC20",
6794
- "name": "token",
6877
+ "indexed": true,
6878
+ "internalType": "address",
6879
+ "name": "owner",
6880
+ "type": "address"
6881
+ },
6882
+ {
6883
+ "indexed": true,
6884
+ "internalType": "address",
6885
+ "name": "spender",
6795
6886
  "type": "address"
6887
+ },
6888
+ {
6889
+ "indexed": false,
6890
+ "internalType": "uint256",
6891
+ "name": "value",
6892
+ "type": "uint256"
6796
6893
  }
6797
6894
  ],
6798
- "name": "sweepToken",
6799
- "outputs": [],
6800
- "stateMutability": "nonpayable",
6801
- "type": "function"
6895
+ "name": "Approval",
6896
+ "type": "event"
6802
6897
  },
6803
6898
  {
6899
+ "anonymous": false,
6804
6900
  "inputs": [
6805
6901
  {
6902
+ "indexed": true,
6806
6903
  "internalType": "address",
6807
- "name": "newOwner",
6904
+ "name": "from",
6905
+ "type": "address"
6906
+ },
6907
+ {
6908
+ "indexed": true,
6909
+ "internalType": "address",
6910
+ "name": "to",
6808
6911
  "type": "address"
6912
+ },
6913
+ {
6914
+ "indexed": false,
6915
+ "internalType": "uint256",
6916
+ "name": "value",
6917
+ "type": "uint256"
6809
6918
  }
6810
6919
  ],
6811
- "name": "transferOwnership",
6812
- "outputs": [],
6813
- "stateMutability": "nonpayable",
6814
- "type": "function"
6920
+ "name": "Transfer",
6921
+ "type": "event"
6815
6922
  },
6816
6923
  {
6817
- "inputs": [],
6818
- "name": "vWNativeToken",
6819
- "outputs": [
6924
+ "inputs": [
6820
6925
  {
6821
- "internalType": "contract IVToken",
6822
- "name": "",
6926
+ "internalType": "address",
6927
+ "name": "owner",
6928
+ "type": "address"
6929
+ },
6930
+ {
6931
+ "internalType": "address",
6932
+ "name": "spender",
6823
6933
  "type": "address"
6824
6934
  }
6825
6935
  ],
6826
- "stateMutability": "view",
6827
- "type": "function"
6828
- },
6829
- {
6830
- "inputs": [],
6831
- "name": "wNativeToken",
6936
+ "name": "allowance",
6832
6937
  "outputs": [
6833
6938
  {
6834
- "internalType": "contract IWrappedNative",
6939
+ "internalType": "uint256",
6835
6940
  "name": "",
6836
- "type": "address"
6941
+ "type": "uint256"
6837
6942
  }
6838
6943
  ],
6839
6944
  "stateMutability": "view",
6840
6945
  "type": "function"
6841
6946
  },
6842
- {
6843
- "inputs": [],
6844
- "name": "wrapAndRepay",
6845
- "outputs": [],
6846
- "stateMutability": "payable",
6847
- "type": "function"
6848
- },
6849
6947
  {
6850
6948
  "inputs": [
6851
6949
  {
6852
6950
  "internalType": "address",
6853
- "name": "minter",
6951
+ "name": "spender",
6854
6952
  "type": "address"
6855
- }
6856
- ],
6857
- "name": "wrapAndSupply",
6858
- "outputs": [],
6859
- "stateMutability": "payable",
6860
- "type": "function"
6861
- },
6862
- {
6863
- "stateMutability": "payable",
6864
- "type": "receive"
6865
- }
6866
- ]
6867
- },
6868
- "PoolLens": {
6869
- "address": "0xE32DD86fc8cc7984E453703Ef04Fe822aF411f74",
6870
- "abi": [
6871
- {
6872
- "inputs": [
6873
- {
6874
- "internalType": "bool",
6875
- "name": "timeBased_",
6876
- "type": "bool"
6877
6953
  },
6878
6954
  {
6879
6955
  "internalType": "uint256",
6880
- "name": "blocksPerYear_",
6956
+ "name": "amount",
6881
6957
  "type": "uint256"
6882
6958
  }
6883
6959
  ],
6884
- "stateMutability": "nonpayable",
6885
- "type": "constructor"
6886
- },
6887
- {
6888
- "inputs": [],
6889
- "name": "InvalidBlocksPerYear",
6890
- "type": "error"
6891
- },
6892
- {
6893
- "inputs": [],
6894
- "name": "InvalidTimeBasedConfiguration",
6895
- "type": "error"
6896
- },
6897
- {
6898
- "inputs": [],
6899
- "name": "blocksOrSecondsPerYear",
6960
+ "name": "approve",
6900
6961
  "outputs": [
6901
6962
  {
6902
- "internalType": "uint256",
6963
+ "internalType": "bool",
6903
6964
  "name": "",
6904
- "type": "uint256"
6965
+ "type": "bool"
6905
6966
  }
6906
6967
  ],
6907
- "stateMutability": "view",
6968
+ "stateMutability": "nonpayable",
6908
6969
  "type": "function"
6909
6970
  },
6910
6971
  {
6911
6972
  "inputs": [
6912
6973
  {
6913
6974
  "internalType": "address",
6914
- "name": "poolRegistryAddress",
6975
+ "name": "account",
6915
6976
  "type": "address"
6916
6977
  }
6917
6978
  ],
6918
- "name": "getAllPools",
6979
+ "name": "balanceOf",
6980
+ "outputs": [
6981
+ {
6982
+ "internalType": "uint256",
6983
+ "name": "",
6984
+ "type": "uint256"
6985
+ }
6986
+ ],
6987
+ "stateMutability": "view",
6988
+ "type": "function"
6989
+ },
6990
+ {
6991
+ "inputs": [],
6992
+ "name": "decimals",
6993
+ "outputs": [
6994
+ {
6995
+ "internalType": "uint8",
6996
+ "name": "",
6997
+ "type": "uint8"
6998
+ }
6999
+ ],
7000
+ "stateMutability": "view",
7001
+ "type": "function"
7002
+ },
7003
+ {
7004
+ "inputs": [
7005
+ {
7006
+ "internalType": "address",
7007
+ "name": "spender",
7008
+ "type": "address"
7009
+ },
7010
+ {
7011
+ "internalType": "uint256",
7012
+ "name": "subtractedValue",
7013
+ "type": "uint256"
7014
+ }
7015
+ ],
7016
+ "name": "decreaseAllowance",
7017
+ "outputs": [
7018
+ {
7019
+ "internalType": "bool",
7020
+ "name": "",
7021
+ "type": "bool"
7022
+ }
7023
+ ],
7024
+ "stateMutability": "nonpayable",
7025
+ "type": "function"
7026
+ },
7027
+ {
7028
+ "inputs": [
7029
+ {
7030
+ "internalType": "uint256",
7031
+ "name": "amount",
7032
+ "type": "uint256"
7033
+ }
7034
+ ],
7035
+ "name": "faucet",
7036
+ "outputs": [],
7037
+ "stateMutability": "nonpayable",
7038
+ "type": "function"
7039
+ },
7040
+ {
7041
+ "inputs": [
7042
+ {
7043
+ "internalType": "address",
7044
+ "name": "spender",
7045
+ "type": "address"
7046
+ },
7047
+ {
7048
+ "internalType": "uint256",
7049
+ "name": "addedValue",
7050
+ "type": "uint256"
7051
+ }
7052
+ ],
7053
+ "name": "increaseAllowance",
7054
+ "outputs": [
7055
+ {
7056
+ "internalType": "bool",
7057
+ "name": "",
7058
+ "type": "bool"
7059
+ }
7060
+ ],
7061
+ "stateMutability": "nonpayable",
7062
+ "type": "function"
7063
+ },
7064
+ {
7065
+ "inputs": [],
7066
+ "name": "name",
7067
+ "outputs": [
7068
+ {
7069
+ "internalType": "string",
7070
+ "name": "",
7071
+ "type": "string"
7072
+ }
7073
+ ],
7074
+ "stateMutability": "view",
7075
+ "type": "function"
7076
+ },
7077
+ {
7078
+ "inputs": [],
7079
+ "name": "symbol",
7080
+ "outputs": [
7081
+ {
7082
+ "internalType": "string",
7083
+ "name": "",
7084
+ "type": "string"
7085
+ }
7086
+ ],
7087
+ "stateMutability": "view",
7088
+ "type": "function"
7089
+ },
7090
+ {
7091
+ "inputs": [],
7092
+ "name": "totalSupply",
7093
+ "outputs": [
7094
+ {
7095
+ "internalType": "uint256",
7096
+ "name": "",
7097
+ "type": "uint256"
7098
+ }
7099
+ ],
7100
+ "stateMutability": "view",
7101
+ "type": "function"
7102
+ },
7103
+ {
7104
+ "inputs": [
7105
+ {
7106
+ "internalType": "address",
7107
+ "name": "to",
7108
+ "type": "address"
7109
+ },
7110
+ {
7111
+ "internalType": "uint256",
7112
+ "name": "amount",
7113
+ "type": "uint256"
7114
+ }
7115
+ ],
7116
+ "name": "transfer",
7117
+ "outputs": [
7118
+ {
7119
+ "internalType": "bool",
7120
+ "name": "",
7121
+ "type": "bool"
7122
+ }
7123
+ ],
7124
+ "stateMutability": "nonpayable",
7125
+ "type": "function"
7126
+ },
7127
+ {
7128
+ "inputs": [
7129
+ {
7130
+ "internalType": "address",
7131
+ "name": "from",
7132
+ "type": "address"
7133
+ },
7134
+ {
7135
+ "internalType": "address",
7136
+ "name": "to",
7137
+ "type": "address"
7138
+ },
7139
+ {
7140
+ "internalType": "uint256",
7141
+ "name": "amount",
7142
+ "type": "uint256"
7143
+ }
7144
+ ],
7145
+ "name": "transferFrom",
7146
+ "outputs": [
7147
+ {
7148
+ "internalType": "bool",
7149
+ "name": "",
7150
+ "type": "bool"
7151
+ }
7152
+ ],
7153
+ "stateMutability": "nonpayable",
7154
+ "type": "function"
7155
+ }
7156
+ ]
7157
+ },
7158
+ "MockwstETH": {
7159
+ "address": "0x114B3fD3dA17F8EDBc19a3AEE43aC168Ca5b03b4",
7160
+ "abi": [
7161
+ {
7162
+ "inputs": [
7163
+ {
7164
+ "internalType": "string",
7165
+ "name": "name_",
7166
+ "type": "string"
7167
+ },
7168
+ {
7169
+ "internalType": "string",
7170
+ "name": "symbol_",
7171
+ "type": "string"
7172
+ },
7173
+ {
7174
+ "internalType": "uint8",
7175
+ "name": "decimals_",
7176
+ "type": "uint8"
7177
+ }
7178
+ ],
7179
+ "stateMutability": "nonpayable",
7180
+ "type": "constructor"
7181
+ },
7182
+ {
7183
+ "anonymous": false,
7184
+ "inputs": [
7185
+ {
7186
+ "indexed": true,
7187
+ "internalType": "address",
7188
+ "name": "owner",
7189
+ "type": "address"
7190
+ },
7191
+ {
7192
+ "indexed": true,
7193
+ "internalType": "address",
7194
+ "name": "spender",
7195
+ "type": "address"
7196
+ },
7197
+ {
7198
+ "indexed": false,
7199
+ "internalType": "uint256",
7200
+ "name": "value",
7201
+ "type": "uint256"
7202
+ }
7203
+ ],
7204
+ "name": "Approval",
7205
+ "type": "event"
7206
+ },
7207
+ {
7208
+ "anonymous": false,
7209
+ "inputs": [
7210
+ {
7211
+ "indexed": true,
7212
+ "internalType": "address",
7213
+ "name": "from",
7214
+ "type": "address"
7215
+ },
7216
+ {
7217
+ "indexed": true,
7218
+ "internalType": "address",
7219
+ "name": "to",
7220
+ "type": "address"
7221
+ },
7222
+ {
7223
+ "indexed": false,
7224
+ "internalType": "uint256",
7225
+ "name": "value",
7226
+ "type": "uint256"
7227
+ }
7228
+ ],
7229
+ "name": "Transfer",
7230
+ "type": "event"
7231
+ },
7232
+ {
7233
+ "inputs": [
7234
+ {
7235
+ "internalType": "address",
7236
+ "name": "owner",
7237
+ "type": "address"
7238
+ },
7239
+ {
7240
+ "internalType": "address",
7241
+ "name": "spender",
7242
+ "type": "address"
7243
+ }
7244
+ ],
7245
+ "name": "allowance",
7246
+ "outputs": [
7247
+ {
7248
+ "internalType": "uint256",
7249
+ "name": "",
7250
+ "type": "uint256"
7251
+ }
7252
+ ],
7253
+ "stateMutability": "view",
7254
+ "type": "function"
7255
+ },
7256
+ {
7257
+ "inputs": [
7258
+ {
7259
+ "internalType": "address",
7260
+ "name": "spender",
7261
+ "type": "address"
7262
+ },
7263
+ {
7264
+ "internalType": "uint256",
7265
+ "name": "amount",
7266
+ "type": "uint256"
7267
+ }
7268
+ ],
7269
+ "name": "approve",
7270
+ "outputs": [
7271
+ {
7272
+ "internalType": "bool",
7273
+ "name": "",
7274
+ "type": "bool"
7275
+ }
7276
+ ],
7277
+ "stateMutability": "nonpayable",
7278
+ "type": "function"
7279
+ },
7280
+ {
7281
+ "inputs": [
7282
+ {
7283
+ "internalType": "address",
7284
+ "name": "account",
7285
+ "type": "address"
7286
+ }
7287
+ ],
7288
+ "name": "balanceOf",
7289
+ "outputs": [
7290
+ {
7291
+ "internalType": "uint256",
7292
+ "name": "",
7293
+ "type": "uint256"
7294
+ }
7295
+ ],
7296
+ "stateMutability": "view",
7297
+ "type": "function"
7298
+ },
7299
+ {
7300
+ "inputs": [],
7301
+ "name": "decimals",
7302
+ "outputs": [
7303
+ {
7304
+ "internalType": "uint8",
7305
+ "name": "",
7306
+ "type": "uint8"
7307
+ }
7308
+ ],
7309
+ "stateMutability": "view",
7310
+ "type": "function"
7311
+ },
7312
+ {
7313
+ "inputs": [
7314
+ {
7315
+ "internalType": "address",
7316
+ "name": "spender",
7317
+ "type": "address"
7318
+ },
7319
+ {
7320
+ "internalType": "uint256",
7321
+ "name": "subtractedValue",
7322
+ "type": "uint256"
7323
+ }
7324
+ ],
7325
+ "name": "decreaseAllowance",
7326
+ "outputs": [
7327
+ {
7328
+ "internalType": "bool",
7329
+ "name": "",
7330
+ "type": "bool"
7331
+ }
7332
+ ],
7333
+ "stateMutability": "nonpayable",
7334
+ "type": "function"
7335
+ },
7336
+ {
7337
+ "inputs": [
7338
+ {
7339
+ "internalType": "uint256",
7340
+ "name": "amount",
7341
+ "type": "uint256"
7342
+ }
7343
+ ],
7344
+ "name": "faucet",
7345
+ "outputs": [],
7346
+ "stateMutability": "nonpayable",
7347
+ "type": "function"
7348
+ },
7349
+ {
7350
+ "inputs": [
7351
+ {
7352
+ "internalType": "address",
7353
+ "name": "spender",
7354
+ "type": "address"
7355
+ },
7356
+ {
7357
+ "internalType": "uint256",
7358
+ "name": "addedValue",
7359
+ "type": "uint256"
7360
+ }
7361
+ ],
7362
+ "name": "increaseAllowance",
7363
+ "outputs": [
7364
+ {
7365
+ "internalType": "bool",
7366
+ "name": "",
7367
+ "type": "bool"
7368
+ }
7369
+ ],
7370
+ "stateMutability": "nonpayable",
7371
+ "type": "function"
7372
+ },
7373
+ {
7374
+ "inputs": [],
7375
+ "name": "name",
7376
+ "outputs": [
7377
+ {
7378
+ "internalType": "string",
7379
+ "name": "",
7380
+ "type": "string"
7381
+ }
7382
+ ],
7383
+ "stateMutability": "view",
7384
+ "type": "function"
7385
+ },
7386
+ {
7387
+ "inputs": [],
7388
+ "name": "symbol",
7389
+ "outputs": [
7390
+ {
7391
+ "internalType": "string",
7392
+ "name": "",
7393
+ "type": "string"
7394
+ }
7395
+ ],
7396
+ "stateMutability": "view",
7397
+ "type": "function"
7398
+ },
7399
+ {
7400
+ "inputs": [],
7401
+ "name": "totalSupply",
7402
+ "outputs": [
7403
+ {
7404
+ "internalType": "uint256",
7405
+ "name": "",
7406
+ "type": "uint256"
7407
+ }
7408
+ ],
7409
+ "stateMutability": "view",
7410
+ "type": "function"
7411
+ },
7412
+ {
7413
+ "inputs": [
7414
+ {
7415
+ "internalType": "address",
7416
+ "name": "to",
7417
+ "type": "address"
7418
+ },
7419
+ {
7420
+ "internalType": "uint256",
7421
+ "name": "amount",
7422
+ "type": "uint256"
7423
+ }
7424
+ ],
7425
+ "name": "transfer",
7426
+ "outputs": [
7427
+ {
7428
+ "internalType": "bool",
7429
+ "name": "",
7430
+ "type": "bool"
7431
+ }
7432
+ ],
7433
+ "stateMutability": "nonpayable",
7434
+ "type": "function"
7435
+ },
7436
+ {
7437
+ "inputs": [
7438
+ {
7439
+ "internalType": "address",
7440
+ "name": "from",
7441
+ "type": "address"
7442
+ },
7443
+ {
7444
+ "internalType": "address",
7445
+ "name": "to",
7446
+ "type": "address"
7447
+ },
7448
+ {
7449
+ "internalType": "uint256",
7450
+ "name": "amount",
7451
+ "type": "uint256"
7452
+ }
7453
+ ],
7454
+ "name": "transferFrom",
7455
+ "outputs": [
7456
+ {
7457
+ "internalType": "bool",
7458
+ "name": "",
7459
+ "type": "bool"
7460
+ }
7461
+ ],
7462
+ "stateMutability": "nonpayable",
7463
+ "type": "function"
7464
+ }
7465
+ ]
7466
+ },
7467
+ "NativeTokenGateway_vWETH_Core": {
7468
+ "address": "0x148C41b07A5c1f289CFB57C2F40d5EEF8ab30DB1",
7469
+ "abi": [
7470
+ {
7471
+ "inputs": [
7472
+ {
7473
+ "internalType": "contract IVToken",
7474
+ "name": "vWrappedNativeToken",
7475
+ "type": "address"
7476
+ }
7477
+ ],
7478
+ "stateMutability": "nonpayable",
7479
+ "type": "constructor"
7480
+ },
7481
+ {
7482
+ "inputs": [],
7483
+ "name": "NativeTokenTransferFailed",
7484
+ "type": "error"
7485
+ },
7486
+ {
7487
+ "inputs": [],
7488
+ "name": "ZeroAddressNotAllowed",
7489
+ "type": "error"
7490
+ },
7491
+ {
7492
+ "inputs": [],
7493
+ "name": "ZeroValueNotAllowed",
7494
+ "type": "error"
7495
+ },
7496
+ {
7497
+ "anonymous": false,
7498
+ "inputs": [
7499
+ {
7500
+ "indexed": true,
7501
+ "internalType": "address",
7502
+ "name": "previousOwner",
7503
+ "type": "address"
7504
+ },
7505
+ {
7506
+ "indexed": true,
7507
+ "internalType": "address",
7508
+ "name": "newOwner",
7509
+ "type": "address"
7510
+ }
7511
+ ],
7512
+ "name": "OwnershipTransferStarted",
7513
+ "type": "event"
7514
+ },
7515
+ {
7516
+ "anonymous": false,
7517
+ "inputs": [
7518
+ {
7519
+ "indexed": true,
7520
+ "internalType": "address",
7521
+ "name": "previousOwner",
7522
+ "type": "address"
7523
+ },
7524
+ {
7525
+ "indexed": true,
7526
+ "internalType": "address",
7527
+ "name": "newOwner",
7528
+ "type": "address"
7529
+ }
7530
+ ],
7531
+ "name": "OwnershipTransferred",
7532
+ "type": "event"
7533
+ },
7534
+ {
7535
+ "anonymous": false,
7536
+ "inputs": [
7537
+ {
7538
+ "indexed": true,
7539
+ "internalType": "address",
7540
+ "name": "receiver",
7541
+ "type": "address"
7542
+ },
7543
+ {
7544
+ "indexed": false,
7545
+ "internalType": "uint256",
7546
+ "name": "amount",
7547
+ "type": "uint256"
7548
+ }
7549
+ ],
7550
+ "name": "SweepNative",
7551
+ "type": "event"
7552
+ },
7553
+ {
7554
+ "anonymous": false,
7555
+ "inputs": [
7556
+ {
7557
+ "indexed": true,
7558
+ "internalType": "address",
7559
+ "name": "token",
7560
+ "type": "address"
7561
+ },
7562
+ {
7563
+ "indexed": true,
7564
+ "internalType": "address",
7565
+ "name": "receiver",
7566
+ "type": "address"
7567
+ },
7568
+ {
7569
+ "indexed": false,
7570
+ "internalType": "uint256",
7571
+ "name": "amount",
7572
+ "type": "uint256"
7573
+ }
7574
+ ],
7575
+ "name": "SweepToken",
7576
+ "type": "event"
7577
+ },
7578
+ {
7579
+ "anonymous": false,
7580
+ "inputs": [
7581
+ {
7582
+ "indexed": true,
7583
+ "internalType": "address",
7584
+ "name": "sender",
7585
+ "type": "address"
7586
+ },
7587
+ {
7588
+ "indexed": true,
7589
+ "internalType": "address",
7590
+ "name": "vToken",
7591
+ "type": "address"
7592
+ },
7593
+ {
7594
+ "indexed": false,
7595
+ "internalType": "uint256",
7596
+ "name": "amount",
7597
+ "type": "uint256"
7598
+ }
7599
+ ],
7600
+ "name": "TokensBorrowedAndUnwrapped",
7601
+ "type": "event"
7602
+ },
7603
+ {
7604
+ "anonymous": false,
7605
+ "inputs": [
7606
+ {
7607
+ "indexed": true,
7608
+ "internalType": "address",
7609
+ "name": "sender",
7610
+ "type": "address"
7611
+ },
7612
+ {
7613
+ "indexed": true,
7614
+ "internalType": "address",
7615
+ "name": "vToken",
7616
+ "type": "address"
7617
+ },
7618
+ {
7619
+ "indexed": false,
7620
+ "internalType": "uint256",
7621
+ "name": "amount",
7622
+ "type": "uint256"
7623
+ }
7624
+ ],
7625
+ "name": "TokensRedeemedAndUnwrapped",
7626
+ "type": "event"
7627
+ },
7628
+ {
7629
+ "anonymous": false,
7630
+ "inputs": [
7631
+ {
7632
+ "indexed": true,
7633
+ "internalType": "address",
7634
+ "name": "sender",
7635
+ "type": "address"
7636
+ },
7637
+ {
7638
+ "indexed": true,
7639
+ "internalType": "address",
7640
+ "name": "vToken",
7641
+ "type": "address"
7642
+ },
7643
+ {
7644
+ "indexed": false,
7645
+ "internalType": "uint256",
7646
+ "name": "amount",
7647
+ "type": "uint256"
7648
+ }
7649
+ ],
7650
+ "name": "TokensWrappedAndRepaid",
7651
+ "type": "event"
7652
+ },
7653
+ {
7654
+ "anonymous": false,
7655
+ "inputs": [
7656
+ {
7657
+ "indexed": true,
7658
+ "internalType": "address",
7659
+ "name": "sender",
7660
+ "type": "address"
7661
+ },
7662
+ {
7663
+ "indexed": true,
7664
+ "internalType": "address",
7665
+ "name": "vToken",
7666
+ "type": "address"
7667
+ },
7668
+ {
7669
+ "indexed": false,
7670
+ "internalType": "uint256",
7671
+ "name": "amount",
7672
+ "type": "uint256"
7673
+ }
7674
+ ],
7675
+ "name": "TokensWrappedAndSupplied",
7676
+ "type": "event"
7677
+ },
7678
+ {
7679
+ "stateMutability": "payable",
7680
+ "type": "fallback"
7681
+ },
7682
+ {
7683
+ "inputs": [],
7684
+ "name": "acceptOwnership",
7685
+ "outputs": [],
7686
+ "stateMutability": "nonpayable",
7687
+ "type": "function"
7688
+ },
7689
+ {
7690
+ "inputs": [
7691
+ {
7692
+ "internalType": "uint256",
7693
+ "name": "borrowAmount",
7694
+ "type": "uint256"
7695
+ }
7696
+ ],
7697
+ "name": "borrowAndUnwrap",
7698
+ "outputs": [],
7699
+ "stateMutability": "nonpayable",
7700
+ "type": "function"
7701
+ },
7702
+ {
7703
+ "inputs": [],
7704
+ "name": "owner",
7705
+ "outputs": [
7706
+ {
7707
+ "internalType": "address",
7708
+ "name": "",
7709
+ "type": "address"
7710
+ }
7711
+ ],
7712
+ "stateMutability": "view",
7713
+ "type": "function"
7714
+ },
7715
+ {
7716
+ "inputs": [],
7717
+ "name": "pendingOwner",
7718
+ "outputs": [
7719
+ {
7720
+ "internalType": "address",
7721
+ "name": "",
7722
+ "type": "address"
7723
+ }
7724
+ ],
7725
+ "stateMutability": "view",
7726
+ "type": "function"
7727
+ },
7728
+ {
7729
+ "inputs": [
7730
+ {
7731
+ "internalType": "uint256",
7732
+ "name": "redeemTokens",
7733
+ "type": "uint256"
7734
+ }
7735
+ ],
7736
+ "name": "redeemAndUnwrap",
7737
+ "outputs": [],
7738
+ "stateMutability": "nonpayable",
7739
+ "type": "function"
7740
+ },
7741
+ {
7742
+ "inputs": [
7743
+ {
7744
+ "internalType": "uint256",
7745
+ "name": "redeemAmount",
7746
+ "type": "uint256"
7747
+ }
7748
+ ],
7749
+ "name": "redeemUnderlyingAndUnwrap",
7750
+ "outputs": [],
7751
+ "stateMutability": "nonpayable",
7752
+ "type": "function"
7753
+ },
7754
+ {
7755
+ "inputs": [],
7756
+ "name": "renounceOwnership",
7757
+ "outputs": [],
7758
+ "stateMutability": "nonpayable",
7759
+ "type": "function"
7760
+ },
7761
+ {
7762
+ "inputs": [],
7763
+ "name": "sweepNative",
7764
+ "outputs": [],
7765
+ "stateMutability": "nonpayable",
7766
+ "type": "function"
7767
+ },
7768
+ {
7769
+ "inputs": [
7770
+ {
7771
+ "internalType": "contract IERC20",
7772
+ "name": "token",
7773
+ "type": "address"
7774
+ }
7775
+ ],
7776
+ "name": "sweepToken",
7777
+ "outputs": [],
7778
+ "stateMutability": "nonpayable",
7779
+ "type": "function"
7780
+ },
7781
+ {
7782
+ "inputs": [
7783
+ {
7784
+ "internalType": "address",
7785
+ "name": "newOwner",
7786
+ "type": "address"
7787
+ }
7788
+ ],
7789
+ "name": "transferOwnership",
7790
+ "outputs": [],
7791
+ "stateMutability": "nonpayable",
7792
+ "type": "function"
7793
+ },
7794
+ {
7795
+ "inputs": [],
7796
+ "name": "vWNativeToken",
7797
+ "outputs": [
7798
+ {
7799
+ "internalType": "contract IVToken",
7800
+ "name": "",
7801
+ "type": "address"
7802
+ }
7803
+ ],
7804
+ "stateMutability": "view",
7805
+ "type": "function"
7806
+ },
7807
+ {
7808
+ "inputs": [],
7809
+ "name": "wNativeToken",
7810
+ "outputs": [
7811
+ {
7812
+ "internalType": "contract IWrappedNative",
7813
+ "name": "",
7814
+ "type": "address"
7815
+ }
7816
+ ],
7817
+ "stateMutability": "view",
7818
+ "type": "function"
7819
+ },
7820
+ {
7821
+ "inputs": [],
7822
+ "name": "wrapAndRepay",
7823
+ "outputs": [],
7824
+ "stateMutability": "payable",
7825
+ "type": "function"
7826
+ },
7827
+ {
7828
+ "inputs": [
7829
+ {
7830
+ "internalType": "address",
7831
+ "name": "minter",
7832
+ "type": "address"
7833
+ }
7834
+ ],
7835
+ "name": "wrapAndSupply",
7836
+ "outputs": [],
7837
+ "stateMutability": "payable",
7838
+ "type": "function"
7839
+ },
7840
+ {
7841
+ "stateMutability": "payable",
7842
+ "type": "receive"
7843
+ }
7844
+ ]
7845
+ },
7846
+ "PoolLens": {
7847
+ "address": "0xE32DD86fc8cc7984E453703Ef04Fe822aF411f74",
7848
+ "abi": [
7849
+ {
7850
+ "inputs": [
7851
+ {
7852
+ "internalType": "bool",
7853
+ "name": "timeBased_",
7854
+ "type": "bool"
7855
+ },
7856
+ {
7857
+ "internalType": "uint256",
7858
+ "name": "blocksPerYear_",
7859
+ "type": "uint256"
7860
+ }
7861
+ ],
7862
+ "stateMutability": "nonpayable",
7863
+ "type": "constructor"
7864
+ },
7865
+ {
7866
+ "inputs": [],
7867
+ "name": "InvalidBlocksPerYear",
7868
+ "type": "error"
7869
+ },
7870
+ {
7871
+ "inputs": [],
7872
+ "name": "InvalidTimeBasedConfiguration",
7873
+ "type": "error"
7874
+ },
7875
+ {
7876
+ "inputs": [],
7877
+ "name": "blocksOrSecondsPerYear",
7878
+ "outputs": [
7879
+ {
7880
+ "internalType": "uint256",
7881
+ "name": "",
7882
+ "type": "uint256"
7883
+ }
7884
+ ],
7885
+ "stateMutability": "view",
7886
+ "type": "function"
7887
+ },
7888
+ {
7889
+ "inputs": [
7890
+ {
7891
+ "internalType": "address",
7892
+ "name": "poolRegistryAddress",
7893
+ "type": "address"
7894
+ }
7895
+ ],
7896
+ "name": "getAllPools",
6919
7897
  "outputs": [
6920
7898
  {
6921
7899
  "components": [
@@ -11571,9 +12549,154 @@
11571
12549
  "name": "isTimeBased",
11572
12550
  "outputs": [
11573
12551
  {
11574
- "internalType": "bool",
11575
- "name": "",
11576
- "type": "bool"
12552
+ "internalType": "bool",
12553
+ "name": "",
12554
+ "type": "bool"
12555
+ }
12556
+ ],
12557
+ "stateMutability": "view",
12558
+ "type": "function"
12559
+ },
12560
+ {
12561
+ "inputs": [
12562
+ {
12563
+ "internalType": "address",
12564
+ "name": "",
12565
+ "type": "address"
12566
+ }
12567
+ ],
12568
+ "name": "lastContributorBlock",
12569
+ "outputs": [
12570
+ {
12571
+ "internalType": "uint256",
12572
+ "name": "",
12573
+ "type": "uint256"
12574
+ }
12575
+ ],
12576
+ "stateMutability": "view",
12577
+ "type": "function"
12578
+ },
12579
+ {
12580
+ "inputs": [],
12581
+ "name": "maxLoopsLimit",
12582
+ "outputs": [
12583
+ {
12584
+ "internalType": "uint256",
12585
+ "name": "",
12586
+ "type": "uint256"
12587
+ }
12588
+ ],
12589
+ "stateMutability": "view",
12590
+ "type": "function"
12591
+ },
12592
+ {
12593
+ "inputs": [],
12594
+ "name": "owner",
12595
+ "outputs": [
12596
+ {
12597
+ "internalType": "address",
12598
+ "name": "",
12599
+ "type": "address"
12600
+ }
12601
+ ],
12602
+ "stateMutability": "view",
12603
+ "type": "function"
12604
+ },
12605
+ {
12606
+ "inputs": [],
12607
+ "name": "pendingOwner",
12608
+ "outputs": [
12609
+ {
12610
+ "internalType": "address",
12611
+ "name": "",
12612
+ "type": "address"
12613
+ }
12614
+ ],
12615
+ "stateMutability": "view",
12616
+ "type": "function"
12617
+ },
12618
+ {
12619
+ "inputs": [],
12620
+ "name": "renounceOwnership",
12621
+ "outputs": [],
12622
+ "stateMutability": "nonpayable",
12623
+ "type": "function"
12624
+ },
12625
+ {
12626
+ "inputs": [],
12627
+ "name": "rewardToken",
12628
+ "outputs": [
12629
+ {
12630
+ "internalType": "contract IERC20Upgradeable",
12631
+ "name": "",
12632
+ "type": "address"
12633
+ }
12634
+ ],
12635
+ "stateMutability": "view",
12636
+ "type": "function"
12637
+ },
12638
+ {
12639
+ "inputs": [
12640
+ {
12641
+ "internalType": "address",
12642
+ "name": "",
12643
+ "type": "address"
12644
+ }
12645
+ ],
12646
+ "name": "rewardTokenAccrued",
12647
+ "outputs": [
12648
+ {
12649
+ "internalType": "uint256",
12650
+ "name": "",
12651
+ "type": "uint256"
12652
+ }
12653
+ ],
12654
+ "stateMutability": "view",
12655
+ "type": "function"
12656
+ },
12657
+ {
12658
+ "inputs": [
12659
+ {
12660
+ "internalType": "address",
12661
+ "name": "",
12662
+ "type": "address"
12663
+ }
12664
+ ],
12665
+ "name": "rewardTokenBorrowSpeeds",
12666
+ "outputs": [
12667
+ {
12668
+ "internalType": "uint256",
12669
+ "name": "",
12670
+ "type": "uint256"
12671
+ }
12672
+ ],
12673
+ "stateMutability": "view",
12674
+ "type": "function"
12675
+ },
12676
+ {
12677
+ "inputs": [
12678
+ {
12679
+ "internalType": "address",
12680
+ "name": "",
12681
+ "type": "address"
12682
+ }
12683
+ ],
12684
+ "name": "rewardTokenBorrowState",
12685
+ "outputs": [
12686
+ {
12687
+ "internalType": "uint224",
12688
+ "name": "index",
12689
+ "type": "uint224"
12690
+ },
12691
+ {
12692
+ "internalType": "uint32",
12693
+ "name": "block",
12694
+ "type": "uint32"
12695
+ },
12696
+ {
12697
+ "internalType": "uint32",
12698
+ "name": "lastRewardingBlock",
12699
+ "type": "uint32"
11577
12700
  }
11578
12701
  ],
11579
12702
  "stateMutability": "view",
@@ -11587,24 +12710,21 @@
11587
12710
  "type": "address"
11588
12711
  }
11589
12712
  ],
11590
- "name": "lastContributorBlock",
12713
+ "name": "rewardTokenBorrowStateTimeBased",
11591
12714
  "outputs": [
12715
+ {
12716
+ "internalType": "uint224",
12717
+ "name": "index",
12718
+ "type": "uint224"
12719
+ },
11592
12720
  {
11593
12721
  "internalType": "uint256",
11594
- "name": "",
12722
+ "name": "timestamp",
11595
12723
  "type": "uint256"
11596
- }
11597
- ],
11598
- "stateMutability": "view",
11599
- "type": "function"
11600
- },
11601
- {
11602
- "inputs": [],
11603
- "name": "maxLoopsLimit",
11604
- "outputs": [
12724
+ },
11605
12725
  {
11606
12726
  "internalType": "uint256",
11607
- "name": "",
12727
+ "name": "lastRewardingTimestamp",
11608
12728
  "type": "uint256"
11609
12729
  }
11610
12730
  ],
@@ -11612,46 +12732,43 @@
11612
12732
  "type": "function"
11613
12733
  },
11614
12734
  {
11615
- "inputs": [],
11616
- "name": "owner",
11617
- "outputs": [
12735
+ "inputs": [
12736
+ {
12737
+ "internalType": "address",
12738
+ "name": "",
12739
+ "type": "address"
12740
+ },
11618
12741
  {
11619
12742
  "internalType": "address",
11620
12743
  "name": "",
11621
12744
  "type": "address"
11622
12745
  }
11623
12746
  ],
12747
+ "name": "rewardTokenBorrowerIndex",
12748
+ "outputs": [
12749
+ {
12750
+ "internalType": "uint256",
12751
+ "name": "",
12752
+ "type": "uint256"
12753
+ }
12754
+ ],
11624
12755
  "stateMutability": "view",
11625
12756
  "type": "function"
11626
12757
  },
11627
12758
  {
11628
- "inputs": [],
11629
- "name": "pendingOwner",
11630
- "outputs": [
12759
+ "inputs": [
11631
12760
  {
11632
12761
  "internalType": "address",
11633
12762
  "name": "",
11634
12763
  "type": "address"
11635
12764
  }
11636
12765
  ],
11637
- "stateMutability": "view",
11638
- "type": "function"
11639
- },
11640
- {
11641
- "inputs": [],
11642
- "name": "renounceOwnership",
11643
- "outputs": [],
11644
- "stateMutability": "nonpayable",
11645
- "type": "function"
11646
- },
11647
- {
11648
- "inputs": [],
11649
- "name": "rewardToken",
12766
+ "name": "rewardTokenContributorSpeeds",
11650
12767
  "outputs": [
11651
12768
  {
11652
- "internalType": "contract IERC20Upgradeable",
12769
+ "internalType": "uint256",
11653
12770
  "name": "",
11654
- "type": "address"
12771
+ "type": "uint256"
11655
12772
  }
11656
12773
  ],
11657
12774
  "stateMutability": "view",
@@ -11659,13 +12776,18 @@
11659
12776
  },
11660
12777
  {
11661
12778
  "inputs": [
12779
+ {
12780
+ "internalType": "address",
12781
+ "name": "",
12782
+ "type": "address"
12783
+ },
11662
12784
  {
11663
12785
  "internalType": "address",
11664
12786
  "name": "",
11665
12787
  "type": "address"
11666
12788
  }
11667
12789
  ],
11668
- "name": "rewardTokenAccrued",
12790
+ "name": "rewardTokenSupplierIndex",
11669
12791
  "outputs": [
11670
12792
  {
11671
12793
  "internalType": "uint256",
@@ -11684,7 +12806,7 @@
11684
12806
  "type": "address"
11685
12807
  }
11686
12808
  ],
11687
- "name": "rewardTokenBorrowSpeeds",
12809
+ "name": "rewardTokenSupplySpeeds",
11688
12810
  "outputs": [
11689
12811
  {
11690
12812
  "internalType": "uint256",
@@ -11703,7 +12825,7 @@
11703
12825
  "type": "address"
11704
12826
  }
11705
12827
  ],
11706
- "name": "rewardTokenBorrowState",
12828
+ "name": "rewardTokenSupplyState",
11707
12829
  "outputs": [
11708
12830
  {
11709
12831
  "internalType": "uint224",
@@ -11732,7 +12854,7 @@
11732
12854
  "type": "address"
11733
12855
  }
11734
12856
  ],
11735
- "name": "rewardTokenBorrowStateTimeBased",
12857
+ "name": "rewardTokenSupplyStateTimeBased",
11736
12858
  "outputs": [
11737
12859
  {
11738
12860
  "internalType": "uint224",
@@ -11745,496 +12867,704 @@
11745
12867
  "type": "uint256"
11746
12868
  },
11747
12869
  {
11748
- "internalType": "uint256",
11749
- "name": "lastRewardingTimestamp",
11750
- "type": "uint256"
12870
+ "internalType": "uint256",
12871
+ "name": "lastRewardingTimestamp",
12872
+ "type": "uint256"
12873
+ }
12874
+ ],
12875
+ "stateMutability": "view",
12876
+ "type": "function"
12877
+ },
12878
+ {
12879
+ "inputs": [
12880
+ {
12881
+ "internalType": "address",
12882
+ "name": "accessControlManager_",
12883
+ "type": "address"
12884
+ }
12885
+ ],
12886
+ "name": "setAccessControlManager",
12887
+ "outputs": [],
12888
+ "stateMutability": "nonpayable",
12889
+ "type": "function"
12890
+ },
12891
+ {
12892
+ "inputs": [
12893
+ {
12894
+ "internalType": "address",
12895
+ "name": "contributor",
12896
+ "type": "address"
12897
+ },
12898
+ {
12899
+ "internalType": "uint256",
12900
+ "name": "rewardTokenSpeed",
12901
+ "type": "uint256"
12902
+ }
12903
+ ],
12904
+ "name": "setContributorRewardTokenSpeed",
12905
+ "outputs": [],
12906
+ "stateMutability": "nonpayable",
12907
+ "type": "function"
12908
+ },
12909
+ {
12910
+ "inputs": [
12911
+ {
12912
+ "internalType": "contract VToken[]",
12913
+ "name": "vTokens",
12914
+ "type": "address[]"
12915
+ },
12916
+ {
12917
+ "internalType": "uint256[]",
12918
+ "name": "supplyLastRewardingBlockTimestamps",
12919
+ "type": "uint256[]"
12920
+ },
12921
+ {
12922
+ "internalType": "uint256[]",
12923
+ "name": "borrowLastRewardingBlockTimestamps",
12924
+ "type": "uint256[]"
12925
+ }
12926
+ ],
12927
+ "name": "setLastRewardingBlockTimestamps",
12928
+ "outputs": [],
12929
+ "stateMutability": "nonpayable",
12930
+ "type": "function"
12931
+ },
12932
+ {
12933
+ "inputs": [
12934
+ {
12935
+ "internalType": "contract VToken[]",
12936
+ "name": "vTokens",
12937
+ "type": "address[]"
12938
+ },
12939
+ {
12940
+ "internalType": "uint32[]",
12941
+ "name": "supplyLastRewardingBlocks",
12942
+ "type": "uint32[]"
12943
+ },
12944
+ {
12945
+ "internalType": "uint32[]",
12946
+ "name": "borrowLastRewardingBlocks",
12947
+ "type": "uint32[]"
12948
+ }
12949
+ ],
12950
+ "name": "setLastRewardingBlocks",
12951
+ "outputs": [],
12952
+ "stateMutability": "nonpayable",
12953
+ "type": "function"
12954
+ },
12955
+ {
12956
+ "inputs": [
12957
+ {
12958
+ "internalType": "uint256",
12959
+ "name": "limit",
12960
+ "type": "uint256"
12961
+ }
12962
+ ],
12963
+ "name": "setMaxLoopsLimit",
12964
+ "outputs": [],
12965
+ "stateMutability": "nonpayable",
12966
+ "type": "function"
12967
+ },
12968
+ {
12969
+ "inputs": [
12970
+ {
12971
+ "internalType": "contract VToken[]",
12972
+ "name": "vTokens",
12973
+ "type": "address[]"
12974
+ },
12975
+ {
12976
+ "internalType": "uint256[]",
12977
+ "name": "supplySpeeds",
12978
+ "type": "uint256[]"
12979
+ },
12980
+ {
12981
+ "internalType": "uint256[]",
12982
+ "name": "borrowSpeeds",
12983
+ "type": "uint256[]"
12984
+ }
12985
+ ],
12986
+ "name": "setRewardTokenSpeeds",
12987
+ "outputs": [],
12988
+ "stateMutability": "nonpayable",
12989
+ "type": "function"
12990
+ },
12991
+ {
12992
+ "inputs": [
12993
+ {
12994
+ "internalType": "address",
12995
+ "name": "newOwner",
12996
+ "type": "address"
12997
+ }
12998
+ ],
12999
+ "name": "transferOwnership",
13000
+ "outputs": [],
13001
+ "stateMutability": "nonpayable",
13002
+ "type": "function"
13003
+ },
13004
+ {
13005
+ "inputs": [
13006
+ {
13007
+ "internalType": "address",
13008
+ "name": "contributor",
13009
+ "type": "address"
13010
+ }
13011
+ ],
13012
+ "name": "updateContributorRewards",
13013
+ "outputs": [],
13014
+ "stateMutability": "nonpayable",
13015
+ "type": "function"
13016
+ },
13017
+ {
13018
+ "inputs": [
13019
+ {
13020
+ "internalType": "address",
13021
+ "name": "vToken",
13022
+ "type": "address"
13023
+ },
13024
+ {
13025
+ "components": [
13026
+ {
13027
+ "internalType": "uint256",
13028
+ "name": "mantissa",
13029
+ "type": "uint256"
13030
+ }
13031
+ ],
13032
+ "internalType": "struct ExponentialNoError.Exp",
13033
+ "name": "marketBorrowIndex",
13034
+ "type": "tuple"
13035
+ }
13036
+ ],
13037
+ "name": "updateRewardTokenBorrowIndex",
13038
+ "outputs": [],
13039
+ "stateMutability": "nonpayable",
13040
+ "type": "function"
13041
+ },
13042
+ {
13043
+ "inputs": [
13044
+ {
13045
+ "internalType": "address",
13046
+ "name": "vToken",
13047
+ "type": "address"
11751
13048
  }
11752
13049
  ],
11753
- "stateMutability": "view",
13050
+ "name": "updateRewardTokenSupplyIndex",
13051
+ "outputs": [],
13052
+ "stateMutability": "nonpayable",
11754
13053
  "type": "function"
11755
13054
  },
11756
13055
  {
11757
13056
  "inputs": [
11758
13057
  {
11759
13058
  "internalType": "address",
11760
- "name": "",
13059
+ "name": "_logic",
11761
13060
  "type": "address"
11762
13061
  },
11763
13062
  {
11764
13063
  "internalType": "address",
11765
- "name": "",
13064
+ "name": "admin_",
11766
13065
  "type": "address"
11767
- }
11768
- ],
11769
- "name": "rewardTokenBorrowerIndex",
11770
- "outputs": [
13066
+ },
11771
13067
  {
11772
- "internalType": "uint256",
11773
- "name": "",
11774
- "type": "uint256"
13068
+ "internalType": "bytes",
13069
+ "name": "_data",
13070
+ "type": "bytes"
11775
13071
  }
11776
13072
  ],
11777
- "stateMutability": "view",
11778
- "type": "function"
11779
- },
13073
+ "stateMutability": "payable",
13074
+ "type": "constructor"
13075
+ }
13076
+ ]
13077
+ },
13078
+ "RewardsDistributor_Core_0_Proxy": {
13079
+ "address": "0xeE51109E032595D2943397C73d8d5D0982C0E00D",
13080
+ "abi": [
11780
13081
  {
11781
13082
  "inputs": [
11782
13083
  {
11783
13084
  "internalType": "address",
11784
- "name": "",
13085
+ "name": "_logic",
11785
13086
  "type": "address"
11786
- }
11787
- ],
11788
- "name": "rewardTokenContributorSpeeds",
11789
- "outputs": [
13087
+ },
11790
13088
  {
11791
- "internalType": "uint256",
11792
- "name": "",
11793
- "type": "uint256"
13089
+ "internalType": "address",
13090
+ "name": "admin_",
13091
+ "type": "address"
13092
+ },
13093
+ {
13094
+ "internalType": "bytes",
13095
+ "name": "_data",
13096
+ "type": "bytes"
11794
13097
  }
11795
13098
  ],
11796
- "stateMutability": "view",
11797
- "type": "function"
13099
+ "stateMutability": "payable",
13100
+ "type": "constructor"
11798
13101
  },
11799
13102
  {
13103
+ "anonymous": false,
11800
13104
  "inputs": [
11801
13105
  {
13106
+ "indexed": false,
11802
13107
  "internalType": "address",
11803
- "name": "",
13108
+ "name": "previousAdmin",
11804
13109
  "type": "address"
11805
13110
  },
11806
13111
  {
13112
+ "indexed": false,
11807
13113
  "internalType": "address",
11808
- "name": "",
13114
+ "name": "newAdmin",
11809
13115
  "type": "address"
11810
13116
  }
11811
13117
  ],
11812
- "name": "rewardTokenSupplierIndex",
11813
- "outputs": [
13118
+ "name": "AdminChanged",
13119
+ "type": "event"
13120
+ },
13121
+ {
13122
+ "anonymous": false,
13123
+ "inputs": [
11814
13124
  {
11815
- "internalType": "uint256",
11816
- "name": "",
11817
- "type": "uint256"
13125
+ "indexed": true,
13126
+ "internalType": "address",
13127
+ "name": "beacon",
13128
+ "type": "address"
11818
13129
  }
11819
13130
  ],
11820
- "stateMutability": "view",
11821
- "type": "function"
13131
+ "name": "BeaconUpgraded",
13132
+ "type": "event"
11822
13133
  },
11823
13134
  {
13135
+ "anonymous": false,
11824
13136
  "inputs": [
11825
13137
  {
13138
+ "indexed": true,
11826
13139
  "internalType": "address",
11827
- "name": "",
13140
+ "name": "implementation",
11828
13141
  "type": "address"
11829
13142
  }
11830
13143
  ],
11831
- "name": "rewardTokenSupplySpeeds",
13144
+ "name": "Upgraded",
13145
+ "type": "event"
13146
+ },
13147
+ {
13148
+ "stateMutability": "payable",
13149
+ "type": "fallback"
13150
+ },
13151
+ {
13152
+ "inputs": [],
13153
+ "name": "admin",
11832
13154
  "outputs": [
11833
13155
  {
11834
- "internalType": "uint256",
11835
- "name": "",
11836
- "type": "uint256"
13156
+ "internalType": "address",
13157
+ "name": "admin_",
13158
+ "type": "address"
11837
13159
  }
11838
13160
  ],
11839
- "stateMutability": "view",
13161
+ "stateMutability": "nonpayable",
11840
13162
  "type": "function"
11841
13163
  },
11842
13164
  {
11843
- "inputs": [
13165
+ "inputs": [],
13166
+ "name": "implementation",
13167
+ "outputs": [
11844
13168
  {
11845
13169
  "internalType": "address",
11846
- "name": "",
13170
+ "name": "implementation_",
11847
13171
  "type": "address"
11848
13172
  }
11849
13173
  ],
11850
- "name": "rewardTokenSupplyState",
11851
- "outputs": [
11852
- {
11853
- "internalType": "uint224",
11854
- "name": "index",
11855
- "type": "uint224"
11856
- },
11857
- {
11858
- "internalType": "uint32",
11859
- "name": "block",
11860
- "type": "uint32"
11861
- },
11862
- {
11863
- "internalType": "uint32",
11864
- "name": "lastRewardingBlock",
11865
- "type": "uint32"
11866
- }
11867
- ],
11868
- "stateMutability": "view",
13174
+ "stateMutability": "nonpayable",
11869
13175
  "type": "function"
11870
13176
  },
11871
13177
  {
11872
13178
  "inputs": [
11873
13179
  {
11874
13180
  "internalType": "address",
11875
- "name": "",
13181
+ "name": "newImplementation",
11876
13182
  "type": "address"
11877
13183
  }
11878
13184
  ],
11879
- "name": "rewardTokenSupplyStateTimeBased",
11880
- "outputs": [
11881
- {
11882
- "internalType": "uint224",
11883
- "name": "index",
11884
- "type": "uint224"
11885
- },
11886
- {
11887
- "internalType": "uint256",
11888
- "name": "timestamp",
11889
- "type": "uint256"
11890
- },
11891
- {
11892
- "internalType": "uint256",
11893
- "name": "lastRewardingTimestamp",
11894
- "type": "uint256"
11895
- }
11896
- ],
11897
- "stateMutability": "view",
13185
+ "name": "upgradeTo",
13186
+ "outputs": [],
13187
+ "stateMutability": "nonpayable",
11898
13188
  "type": "function"
11899
13189
  },
11900
13190
  {
11901
13191
  "inputs": [
11902
13192
  {
11903
13193
  "internalType": "address",
11904
- "name": "accessControlManager_",
13194
+ "name": "newImplementation",
11905
13195
  "type": "address"
13196
+ },
13197
+ {
13198
+ "internalType": "bytes",
13199
+ "name": "data",
13200
+ "type": "bytes"
11906
13201
  }
11907
13202
  ],
11908
- "name": "setAccessControlManager",
13203
+ "name": "upgradeToAndCall",
11909
13204
  "outputs": [],
11910
- "stateMutability": "nonpayable",
13205
+ "stateMutability": "payable",
11911
13206
  "type": "function"
11912
13207
  },
13208
+ {
13209
+ "stateMutability": "payable",
13210
+ "type": "receive"
13211
+ }
13212
+ ]
13213
+ },
13214
+ "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump25000bps_timeBased": {
13215
+ "address": "0x871C80dd0d165307eEeeCF6B0aC0a3Af91B90FE4",
13216
+ "abi": [
11913
13217
  {
11914
13218
  "inputs": [
11915
13219
  {
11916
- "internalType": "address",
11917
- "name": "contributor",
11918
- "type": "address"
13220
+ "internalType": "int256",
13221
+ "name": "baseRatePerYear_",
13222
+ "type": "int256"
13223
+ },
13224
+ {
13225
+ "internalType": "int256",
13226
+ "name": "multiplierPerYear_",
13227
+ "type": "int256"
13228
+ },
13229
+ {
13230
+ "internalType": "int256",
13231
+ "name": "kink1_",
13232
+ "type": "int256"
13233
+ },
13234
+ {
13235
+ "internalType": "int256",
13236
+ "name": "multiplier2PerYear_",
13237
+ "type": "int256"
13238
+ },
13239
+ {
13240
+ "internalType": "int256",
13241
+ "name": "baseRate2PerYear_",
13242
+ "type": "int256"
13243
+ },
13244
+ {
13245
+ "internalType": "int256",
13246
+ "name": "kink2_",
13247
+ "type": "int256"
13248
+ },
13249
+ {
13250
+ "internalType": "int256",
13251
+ "name": "jumpMultiplierPerYear_",
13252
+ "type": "int256"
13253
+ },
13254
+ {
13255
+ "internalType": "bool",
13256
+ "name": "timeBased_",
13257
+ "type": "bool"
11919
13258
  },
11920
13259
  {
11921
13260
  "internalType": "uint256",
11922
- "name": "rewardTokenSpeed",
13261
+ "name": "blocksPerYear_",
11923
13262
  "type": "uint256"
11924
13263
  }
11925
13264
  ],
11926
- "name": "setContributorRewardTokenSpeed",
11927
- "outputs": [],
11928
- "stateMutability": "nonpayable",
13265
+ "stateMutability": "nonpayable",
13266
+ "type": "constructor"
13267
+ },
13268
+ {
13269
+ "inputs": [],
13270
+ "name": "InvalidBlocksPerYear",
13271
+ "type": "error"
13272
+ },
13273
+ {
13274
+ "inputs": [],
13275
+ "name": "InvalidKink",
13276
+ "type": "error"
13277
+ },
13278
+ {
13279
+ "inputs": [],
13280
+ "name": "InvalidTimeBasedConfiguration",
13281
+ "type": "error"
13282
+ },
13283
+ {
13284
+ "inputs": [],
13285
+ "name": "NegativeValueNotAllowed",
13286
+ "type": "error"
13287
+ },
13288
+ {
13289
+ "inputs": [],
13290
+ "name": "BASE_RATE_2_PER_BLOCK_OR_SECOND",
13291
+ "outputs": [
13292
+ {
13293
+ "internalType": "int256",
13294
+ "name": "",
13295
+ "type": "int256"
13296
+ }
13297
+ ],
13298
+ "stateMutability": "view",
11929
13299
  "type": "function"
11930
13300
  },
11931
13301
  {
11932
- "inputs": [
11933
- {
11934
- "internalType": "contract VToken[]",
11935
- "name": "vTokens",
11936
- "type": "address[]"
11937
- },
11938
- {
11939
- "internalType": "uint256[]",
11940
- "name": "supplyLastRewardingBlockTimestamps",
11941
- "type": "uint256[]"
11942
- },
13302
+ "inputs": [],
13303
+ "name": "BASE_RATE_PER_BLOCK_OR_SECOND",
13304
+ "outputs": [
11943
13305
  {
11944
- "internalType": "uint256[]",
11945
- "name": "borrowLastRewardingBlockTimestamps",
11946
- "type": "uint256[]"
13306
+ "internalType": "int256",
13307
+ "name": "",
13308
+ "type": "int256"
11947
13309
  }
11948
13310
  ],
11949
- "name": "setLastRewardingBlockTimestamps",
11950
- "outputs": [],
11951
- "stateMutability": "nonpayable",
13311
+ "stateMutability": "view",
11952
13312
  "type": "function"
11953
13313
  },
11954
13314
  {
11955
- "inputs": [
11956
- {
11957
- "internalType": "contract VToken[]",
11958
- "name": "vTokens",
11959
- "type": "address[]"
11960
- },
11961
- {
11962
- "internalType": "uint32[]",
11963
- "name": "supplyLastRewardingBlocks",
11964
- "type": "uint32[]"
11965
- },
13315
+ "inputs": [],
13316
+ "name": "JUMP_MULTIPLIER_PER_BLOCK_OR_SECOND",
13317
+ "outputs": [
11966
13318
  {
11967
- "internalType": "uint32[]",
11968
- "name": "borrowLastRewardingBlocks",
11969
- "type": "uint32[]"
13319
+ "internalType": "int256",
13320
+ "name": "",
13321
+ "type": "int256"
11970
13322
  }
11971
13323
  ],
11972
- "name": "setLastRewardingBlocks",
11973
- "outputs": [],
11974
- "stateMutability": "nonpayable",
13324
+ "stateMutability": "view",
11975
13325
  "type": "function"
11976
13326
  },
11977
13327
  {
11978
- "inputs": [
13328
+ "inputs": [],
13329
+ "name": "KINK_1",
13330
+ "outputs": [
11979
13331
  {
11980
- "internalType": "uint256",
11981
- "name": "limit",
11982
- "type": "uint256"
13332
+ "internalType": "int256",
13333
+ "name": "",
13334
+ "type": "int256"
11983
13335
  }
11984
13336
  ],
11985
- "name": "setMaxLoopsLimit",
11986
- "outputs": [],
11987
- "stateMutability": "nonpayable",
13337
+ "stateMutability": "view",
11988
13338
  "type": "function"
11989
13339
  },
11990
13340
  {
11991
- "inputs": [
11992
- {
11993
- "internalType": "contract VToken[]",
11994
- "name": "vTokens",
11995
- "type": "address[]"
11996
- },
11997
- {
11998
- "internalType": "uint256[]",
11999
- "name": "supplySpeeds",
12000
- "type": "uint256[]"
12001
- },
13341
+ "inputs": [],
13342
+ "name": "KINK_2",
13343
+ "outputs": [
12002
13344
  {
12003
- "internalType": "uint256[]",
12004
- "name": "borrowSpeeds",
12005
- "type": "uint256[]"
13345
+ "internalType": "int256",
13346
+ "name": "",
13347
+ "type": "int256"
12006
13348
  }
12007
13349
  ],
12008
- "name": "setRewardTokenSpeeds",
12009
- "outputs": [],
12010
- "stateMutability": "nonpayable",
13350
+ "stateMutability": "view",
12011
13351
  "type": "function"
12012
13352
  },
12013
13353
  {
12014
- "inputs": [
13354
+ "inputs": [],
13355
+ "name": "MULTIPLIER_2_PER_BLOCK_OR_SECOND",
13356
+ "outputs": [
12015
13357
  {
12016
- "internalType": "address",
12017
- "name": "newOwner",
12018
- "type": "address"
13358
+ "internalType": "int256",
13359
+ "name": "",
13360
+ "type": "int256"
12019
13361
  }
12020
13362
  ],
12021
- "name": "transferOwnership",
12022
- "outputs": [],
12023
- "stateMutability": "nonpayable",
13363
+ "stateMutability": "view",
12024
13364
  "type": "function"
12025
13365
  },
12026
13366
  {
12027
- "inputs": [
13367
+ "inputs": [],
13368
+ "name": "MULTIPLIER_PER_BLOCK_OR_SECOND",
13369
+ "outputs": [
12028
13370
  {
12029
- "internalType": "address",
12030
- "name": "contributor",
12031
- "type": "address"
13371
+ "internalType": "int256",
13372
+ "name": "",
13373
+ "type": "int256"
12032
13374
  }
12033
13375
  ],
12034
- "name": "updateContributorRewards",
12035
- "outputs": [],
12036
- "stateMutability": "nonpayable",
13376
+ "stateMutability": "view",
12037
13377
  "type": "function"
12038
13378
  },
12039
13379
  {
12040
- "inputs": [
12041
- {
12042
- "internalType": "address",
12043
- "name": "vToken",
12044
- "type": "address"
12045
- },
13380
+ "inputs": [],
13381
+ "name": "RATE_1",
13382
+ "outputs": [
12046
13383
  {
12047
- "components": [
12048
- {
12049
- "internalType": "uint256",
12050
- "name": "mantissa",
12051
- "type": "uint256"
12052
- }
12053
- ],
12054
- "internalType": "struct ExponentialNoError.Exp",
12055
- "name": "marketBorrowIndex",
12056
- "type": "tuple"
13384
+ "internalType": "int256",
13385
+ "name": "",
13386
+ "type": "int256"
12057
13387
  }
12058
13388
  ],
12059
- "name": "updateRewardTokenBorrowIndex",
12060
- "outputs": [],
12061
- "stateMutability": "nonpayable",
13389
+ "stateMutability": "view",
12062
13390
  "type": "function"
12063
13391
  },
12064
13392
  {
12065
- "inputs": [
13393
+ "inputs": [],
13394
+ "name": "RATE_2",
13395
+ "outputs": [
12066
13396
  {
12067
- "internalType": "address",
12068
- "name": "vToken",
12069
- "type": "address"
13397
+ "internalType": "int256",
13398
+ "name": "",
13399
+ "type": "int256"
12070
13400
  }
12071
13401
  ],
12072
- "name": "updateRewardTokenSupplyIndex",
12073
- "outputs": [],
12074
- "stateMutability": "nonpayable",
13402
+ "stateMutability": "view",
12075
13403
  "type": "function"
12076
13404
  },
12077
13405
  {
12078
- "inputs": [
12079
- {
12080
- "internalType": "address",
12081
- "name": "_logic",
12082
- "type": "address"
12083
- },
12084
- {
12085
- "internalType": "address",
12086
- "name": "admin_",
12087
- "type": "address"
12088
- },
13406
+ "inputs": [],
13407
+ "name": "blocksOrSecondsPerYear",
13408
+ "outputs": [
12089
13409
  {
12090
- "internalType": "bytes",
12091
- "name": "_data",
12092
- "type": "bytes"
13410
+ "internalType": "uint256",
13411
+ "name": "",
13412
+ "type": "uint256"
12093
13413
  }
12094
13414
  ],
12095
- "stateMutability": "payable",
12096
- "type": "constructor"
12097
- }
12098
- ]
12099
- },
12100
- "RewardsDistributor_Core_0_Proxy": {
12101
- "address": "0xeE51109E032595D2943397C73d8d5D0982C0E00D",
12102
- "abi": [
13415
+ "stateMutability": "view",
13416
+ "type": "function"
13417
+ },
12103
13418
  {
12104
- "inputs": [
12105
- {
12106
- "internalType": "address",
12107
- "name": "_logic",
12108
- "type": "address"
12109
- },
12110
- {
12111
- "internalType": "address",
12112
- "name": "admin_",
12113
- "type": "address"
12114
- },
13419
+ "inputs": [],
13420
+ "name": "getBlockNumberOrTimestamp",
13421
+ "outputs": [
12115
13422
  {
12116
- "internalType": "bytes",
12117
- "name": "_data",
12118
- "type": "bytes"
13423
+ "internalType": "uint256",
13424
+ "name": "",
13425
+ "type": "uint256"
12119
13426
  }
12120
13427
  ],
12121
- "stateMutability": "payable",
12122
- "type": "constructor"
13428
+ "stateMutability": "view",
13429
+ "type": "function"
12123
13430
  },
12124
13431
  {
12125
- "anonymous": false,
12126
13432
  "inputs": [
12127
13433
  {
12128
- "indexed": false,
12129
- "internalType": "address",
12130
- "name": "previousAdmin",
12131
- "type": "address"
13434
+ "internalType": "uint256",
13435
+ "name": "cash",
13436
+ "type": "uint256"
12132
13437
  },
12133
13438
  {
12134
- "indexed": false,
12135
- "internalType": "address",
12136
- "name": "newAdmin",
12137
- "type": "address"
13439
+ "internalType": "uint256",
13440
+ "name": "borrows",
13441
+ "type": "uint256"
13442
+ },
13443
+ {
13444
+ "internalType": "uint256",
13445
+ "name": "reserves",
13446
+ "type": "uint256"
13447
+ },
13448
+ {
13449
+ "internalType": "uint256",
13450
+ "name": "badDebt",
13451
+ "type": "uint256"
12138
13452
  }
12139
13453
  ],
12140
- "name": "AdminChanged",
12141
- "type": "event"
12142
- },
12143
- {
12144
- "anonymous": false,
12145
- "inputs": [
13454
+ "name": "getBorrowRate",
13455
+ "outputs": [
12146
13456
  {
12147
- "indexed": true,
12148
- "internalType": "address",
12149
- "name": "beacon",
12150
- "type": "address"
13457
+ "internalType": "uint256",
13458
+ "name": "",
13459
+ "type": "uint256"
12151
13460
  }
12152
13461
  ],
12153
- "name": "BeaconUpgraded",
12154
- "type": "event"
13462
+ "stateMutability": "view",
13463
+ "type": "function"
12155
13464
  },
12156
13465
  {
12157
- "anonymous": false,
12158
13466
  "inputs": [
12159
13467
  {
12160
- "indexed": true,
12161
- "internalType": "address",
12162
- "name": "implementation",
12163
- "type": "address"
13468
+ "internalType": "uint256",
13469
+ "name": "cash",
13470
+ "type": "uint256"
13471
+ },
13472
+ {
13473
+ "internalType": "uint256",
13474
+ "name": "borrows",
13475
+ "type": "uint256"
13476
+ },
13477
+ {
13478
+ "internalType": "uint256",
13479
+ "name": "reserves",
13480
+ "type": "uint256"
13481
+ },
13482
+ {
13483
+ "internalType": "uint256",
13484
+ "name": "reserveFactorMantissa",
13485
+ "type": "uint256"
13486
+ },
13487
+ {
13488
+ "internalType": "uint256",
13489
+ "name": "badDebt",
13490
+ "type": "uint256"
12164
13491
  }
12165
13492
  ],
12166
- "name": "Upgraded",
12167
- "type": "event"
12168
- },
12169
- {
12170
- "stateMutability": "payable",
12171
- "type": "fallback"
12172
- },
12173
- {
12174
- "inputs": [],
12175
- "name": "admin",
13493
+ "name": "getSupplyRate",
12176
13494
  "outputs": [
12177
13495
  {
12178
- "internalType": "address",
12179
- "name": "admin_",
12180
- "type": "address"
13496
+ "internalType": "uint256",
13497
+ "name": "",
13498
+ "type": "uint256"
12181
13499
  }
12182
13500
  ],
12183
- "stateMutability": "nonpayable",
13501
+ "stateMutability": "view",
12184
13502
  "type": "function"
12185
13503
  },
12186
13504
  {
12187
13505
  "inputs": [],
12188
- "name": "implementation",
13506
+ "name": "isInterestRateModel",
12189
13507
  "outputs": [
12190
13508
  {
12191
- "internalType": "address",
12192
- "name": "implementation_",
12193
- "type": "address"
13509
+ "internalType": "bool",
13510
+ "name": "",
13511
+ "type": "bool"
12194
13512
  }
12195
13513
  ],
12196
- "stateMutability": "nonpayable",
13514
+ "stateMutability": "pure",
12197
13515
  "type": "function"
12198
13516
  },
12199
13517
  {
12200
- "inputs": [
13518
+ "inputs": [],
13519
+ "name": "isTimeBased",
13520
+ "outputs": [
12201
13521
  {
12202
- "internalType": "address",
12203
- "name": "newImplementation",
12204
- "type": "address"
13522
+ "internalType": "bool",
13523
+ "name": "",
13524
+ "type": "bool"
12205
13525
  }
12206
13526
  ],
12207
- "name": "upgradeTo",
12208
- "outputs": [],
12209
- "stateMutability": "nonpayable",
13527
+ "stateMutability": "view",
12210
13528
  "type": "function"
12211
13529
  },
12212
13530
  {
12213
13531
  "inputs": [
12214
13532
  {
12215
- "internalType": "address",
12216
- "name": "newImplementation",
12217
- "type": "address"
13533
+ "internalType": "uint256",
13534
+ "name": "cash",
13535
+ "type": "uint256"
12218
13536
  },
12219
13537
  {
12220
- "internalType": "bytes",
12221
- "name": "data",
12222
- "type": "bytes"
13538
+ "internalType": "uint256",
13539
+ "name": "borrows",
13540
+ "type": "uint256"
13541
+ },
13542
+ {
13543
+ "internalType": "uint256",
13544
+ "name": "reserves",
13545
+ "type": "uint256"
13546
+ },
13547
+ {
13548
+ "internalType": "uint256",
13549
+ "name": "badDebt",
13550
+ "type": "uint256"
12223
13551
  }
12224
13552
  ],
12225
- "name": "upgradeToAndCall",
12226
- "outputs": [],
12227
- "stateMutability": "payable",
13553
+ "name": "utilizationRate",
13554
+ "outputs": [
13555
+ {
13556
+ "internalType": "uint256",
13557
+ "name": "",
13558
+ "type": "uint256"
13559
+ }
13560
+ ],
13561
+ "stateMutability": "pure",
12228
13562
  "type": "function"
12229
- },
12230
- {
12231
- "stateMutability": "payable",
12232
- "type": "receive"
12233
13563
  }
12234
13564
  ]
12235
13565
  },
12236
- "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump25000bps_timeBased": {
12237
- "address": "0x871C80dd0d165307eEeeCF6B0aC0a3Af91B90FE4",
13566
+ "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased": {
13567
+ "address": "0x208DedbBc74525764DE7521C12B53CcEd0FCcA4B",
12238
13568
  "abi": [
12239
13569
  {
12240
13570
  "inputs": [
@@ -14983,6 +16313,154 @@
14983
16313
  }
14984
16314
  ]
14985
16315
  },
16316
+ "VToken_vUSD₮0_Core": {
16317
+ "address": "0x02A5E844C4B0FF5a587B4EE239BEe7c479530447",
16318
+ "abi": [
16319
+ {
16320
+ "inputs": [
16321
+ {
16322
+ "internalType": "address",
16323
+ "name": "beacon",
16324
+ "type": "address"
16325
+ },
16326
+ {
16327
+ "internalType": "bytes",
16328
+ "name": "data",
16329
+ "type": "bytes"
16330
+ }
16331
+ ],
16332
+ "stateMutability": "payable",
16333
+ "type": "constructor"
16334
+ },
16335
+ {
16336
+ "anonymous": false,
16337
+ "inputs": [
16338
+ {
16339
+ "indexed": false,
16340
+ "internalType": "address",
16341
+ "name": "previousAdmin",
16342
+ "type": "address"
16343
+ },
16344
+ {
16345
+ "indexed": false,
16346
+ "internalType": "address",
16347
+ "name": "newAdmin",
16348
+ "type": "address"
16349
+ }
16350
+ ],
16351
+ "name": "AdminChanged",
16352
+ "type": "event"
16353
+ },
16354
+ {
16355
+ "anonymous": false,
16356
+ "inputs": [
16357
+ {
16358
+ "indexed": true,
16359
+ "internalType": "address",
16360
+ "name": "beacon",
16361
+ "type": "address"
16362
+ }
16363
+ ],
16364
+ "name": "BeaconUpgraded",
16365
+ "type": "event"
16366
+ },
16367
+ {
16368
+ "anonymous": false,
16369
+ "inputs": [
16370
+ {
16371
+ "indexed": true,
16372
+ "internalType": "address",
16373
+ "name": "implementation",
16374
+ "type": "address"
16375
+ }
16376
+ ],
16377
+ "name": "Upgraded",
16378
+ "type": "event"
16379
+ },
16380
+ {
16381
+ "stateMutability": "payable",
16382
+ "type": "fallback"
16383
+ },
16384
+ {
16385
+ "stateMutability": "payable",
16386
+ "type": "receive"
16387
+ }
16388
+ ]
16389
+ },
16390
+ "VToken_vWBTC_Core": {
16391
+ "address": "0x3aaa754E66fcACd84b01Ae5493c922AF8D4E77c7",
16392
+ "abi": [
16393
+ {
16394
+ "inputs": [
16395
+ {
16396
+ "internalType": "address",
16397
+ "name": "beacon",
16398
+ "type": "address"
16399
+ },
16400
+ {
16401
+ "internalType": "bytes",
16402
+ "name": "data",
16403
+ "type": "bytes"
16404
+ }
16405
+ ],
16406
+ "stateMutability": "payable",
16407
+ "type": "constructor"
16408
+ },
16409
+ {
16410
+ "anonymous": false,
16411
+ "inputs": [
16412
+ {
16413
+ "indexed": false,
16414
+ "internalType": "address",
16415
+ "name": "previousAdmin",
16416
+ "type": "address"
16417
+ },
16418
+ {
16419
+ "indexed": false,
16420
+ "internalType": "address",
16421
+ "name": "newAdmin",
16422
+ "type": "address"
16423
+ }
16424
+ ],
16425
+ "name": "AdminChanged",
16426
+ "type": "event"
16427
+ },
16428
+ {
16429
+ "anonymous": false,
16430
+ "inputs": [
16431
+ {
16432
+ "indexed": true,
16433
+ "internalType": "address",
16434
+ "name": "beacon",
16435
+ "type": "address"
16436
+ }
16437
+ ],
16438
+ "name": "BeaconUpgraded",
16439
+ "type": "event"
16440
+ },
16441
+ {
16442
+ "anonymous": false,
16443
+ "inputs": [
16444
+ {
16445
+ "indexed": true,
16446
+ "internalType": "address",
16447
+ "name": "implementation",
16448
+ "type": "address"
16449
+ }
16450
+ ],
16451
+ "name": "Upgraded",
16452
+ "type": "event"
16453
+ },
16454
+ {
16455
+ "stateMutability": "payable",
16456
+ "type": "fallback"
16457
+ },
16458
+ {
16459
+ "stateMutability": "payable",
16460
+ "type": "receive"
16461
+ }
16462
+ ]
16463
+ },
14986
16464
  "VToken_vWETH_Core": {
14987
16465
  "address": "0x3dEAcBe87e4B6333140a46aBFD12215f4130B132",
14988
16466
  "abi": [