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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6903,6 +6903,315 @@
6903
6903
  }
6904
6904
  ]
6905
6905
  },
6906
+ "MockEIGEN": {
6907
+ "address": "0xf140594470Bff436aE82F2116ab8a438671C6e83",
6908
+ "abi": [
6909
+ {
6910
+ "inputs": [
6911
+ {
6912
+ "internalType": "string",
6913
+ "name": "name_",
6914
+ "type": "string"
6915
+ },
6916
+ {
6917
+ "internalType": "string",
6918
+ "name": "symbol_",
6919
+ "type": "string"
6920
+ },
6921
+ {
6922
+ "internalType": "uint8",
6923
+ "name": "decimals_",
6924
+ "type": "uint8"
6925
+ }
6926
+ ],
6927
+ "stateMutability": "nonpayable",
6928
+ "type": "constructor"
6929
+ },
6930
+ {
6931
+ "anonymous": false,
6932
+ "inputs": [
6933
+ {
6934
+ "indexed": true,
6935
+ "internalType": "address",
6936
+ "name": "owner",
6937
+ "type": "address"
6938
+ },
6939
+ {
6940
+ "indexed": true,
6941
+ "internalType": "address",
6942
+ "name": "spender",
6943
+ "type": "address"
6944
+ },
6945
+ {
6946
+ "indexed": false,
6947
+ "internalType": "uint256",
6948
+ "name": "value",
6949
+ "type": "uint256"
6950
+ }
6951
+ ],
6952
+ "name": "Approval",
6953
+ "type": "event"
6954
+ },
6955
+ {
6956
+ "anonymous": false,
6957
+ "inputs": [
6958
+ {
6959
+ "indexed": true,
6960
+ "internalType": "address",
6961
+ "name": "from",
6962
+ "type": "address"
6963
+ },
6964
+ {
6965
+ "indexed": true,
6966
+ "internalType": "address",
6967
+ "name": "to",
6968
+ "type": "address"
6969
+ },
6970
+ {
6971
+ "indexed": false,
6972
+ "internalType": "uint256",
6973
+ "name": "value",
6974
+ "type": "uint256"
6975
+ }
6976
+ ],
6977
+ "name": "Transfer",
6978
+ "type": "event"
6979
+ },
6980
+ {
6981
+ "inputs": [
6982
+ {
6983
+ "internalType": "address",
6984
+ "name": "owner",
6985
+ "type": "address"
6986
+ },
6987
+ {
6988
+ "internalType": "address",
6989
+ "name": "spender",
6990
+ "type": "address"
6991
+ }
6992
+ ],
6993
+ "name": "allowance",
6994
+ "outputs": [
6995
+ {
6996
+ "internalType": "uint256",
6997
+ "name": "",
6998
+ "type": "uint256"
6999
+ }
7000
+ ],
7001
+ "stateMutability": "view",
7002
+ "type": "function"
7003
+ },
7004
+ {
7005
+ "inputs": [
7006
+ {
7007
+ "internalType": "address",
7008
+ "name": "spender",
7009
+ "type": "address"
7010
+ },
7011
+ {
7012
+ "internalType": "uint256",
7013
+ "name": "amount",
7014
+ "type": "uint256"
7015
+ }
7016
+ ],
7017
+ "name": "approve",
7018
+ "outputs": [
7019
+ {
7020
+ "internalType": "bool",
7021
+ "name": "",
7022
+ "type": "bool"
7023
+ }
7024
+ ],
7025
+ "stateMutability": "nonpayable",
7026
+ "type": "function"
7027
+ },
7028
+ {
7029
+ "inputs": [
7030
+ {
7031
+ "internalType": "address",
7032
+ "name": "account",
7033
+ "type": "address"
7034
+ }
7035
+ ],
7036
+ "name": "balanceOf",
7037
+ "outputs": [
7038
+ {
7039
+ "internalType": "uint256",
7040
+ "name": "",
7041
+ "type": "uint256"
7042
+ }
7043
+ ],
7044
+ "stateMutability": "view",
7045
+ "type": "function"
7046
+ },
7047
+ {
7048
+ "inputs": [],
7049
+ "name": "decimals",
7050
+ "outputs": [
7051
+ {
7052
+ "internalType": "uint8",
7053
+ "name": "",
7054
+ "type": "uint8"
7055
+ }
7056
+ ],
7057
+ "stateMutability": "view",
7058
+ "type": "function"
7059
+ },
7060
+ {
7061
+ "inputs": [
7062
+ {
7063
+ "internalType": "address",
7064
+ "name": "spender",
7065
+ "type": "address"
7066
+ },
7067
+ {
7068
+ "internalType": "uint256",
7069
+ "name": "subtractedValue",
7070
+ "type": "uint256"
7071
+ }
7072
+ ],
7073
+ "name": "decreaseAllowance",
7074
+ "outputs": [
7075
+ {
7076
+ "internalType": "bool",
7077
+ "name": "",
7078
+ "type": "bool"
7079
+ }
7080
+ ],
7081
+ "stateMutability": "nonpayable",
7082
+ "type": "function"
7083
+ },
7084
+ {
7085
+ "inputs": [
7086
+ {
7087
+ "internalType": "uint256",
7088
+ "name": "amount",
7089
+ "type": "uint256"
7090
+ }
7091
+ ],
7092
+ "name": "faucet",
7093
+ "outputs": [],
7094
+ "stateMutability": "nonpayable",
7095
+ "type": "function"
7096
+ },
7097
+ {
7098
+ "inputs": [
7099
+ {
7100
+ "internalType": "address",
7101
+ "name": "spender",
7102
+ "type": "address"
7103
+ },
7104
+ {
7105
+ "internalType": "uint256",
7106
+ "name": "addedValue",
7107
+ "type": "uint256"
7108
+ }
7109
+ ],
7110
+ "name": "increaseAllowance",
7111
+ "outputs": [
7112
+ {
7113
+ "internalType": "bool",
7114
+ "name": "",
7115
+ "type": "bool"
7116
+ }
7117
+ ],
7118
+ "stateMutability": "nonpayable",
7119
+ "type": "function"
7120
+ },
7121
+ {
7122
+ "inputs": [],
7123
+ "name": "name",
7124
+ "outputs": [
7125
+ {
7126
+ "internalType": "string",
7127
+ "name": "",
7128
+ "type": "string"
7129
+ }
7130
+ ],
7131
+ "stateMutability": "view",
7132
+ "type": "function"
7133
+ },
7134
+ {
7135
+ "inputs": [],
7136
+ "name": "symbol",
7137
+ "outputs": [
7138
+ {
7139
+ "internalType": "string",
7140
+ "name": "",
7141
+ "type": "string"
7142
+ }
7143
+ ],
7144
+ "stateMutability": "view",
7145
+ "type": "function"
7146
+ },
7147
+ {
7148
+ "inputs": [],
7149
+ "name": "totalSupply",
7150
+ "outputs": [
7151
+ {
7152
+ "internalType": "uint256",
7153
+ "name": "",
7154
+ "type": "uint256"
7155
+ }
7156
+ ],
7157
+ "stateMutability": "view",
7158
+ "type": "function"
7159
+ },
7160
+ {
7161
+ "inputs": [
7162
+ {
7163
+ "internalType": "address",
7164
+ "name": "to",
7165
+ "type": "address"
7166
+ },
7167
+ {
7168
+ "internalType": "uint256",
7169
+ "name": "amount",
7170
+ "type": "uint256"
7171
+ }
7172
+ ],
7173
+ "name": "transfer",
7174
+ "outputs": [
7175
+ {
7176
+ "internalType": "bool",
7177
+ "name": "",
7178
+ "type": "bool"
7179
+ }
7180
+ ],
7181
+ "stateMutability": "nonpayable",
7182
+ "type": "function"
7183
+ },
7184
+ {
7185
+ "inputs": [
7186
+ {
7187
+ "internalType": "address",
7188
+ "name": "from",
7189
+ "type": "address"
7190
+ },
7191
+ {
7192
+ "internalType": "address",
7193
+ "name": "to",
7194
+ "type": "address"
7195
+ },
7196
+ {
7197
+ "internalType": "uint256",
7198
+ "name": "amount",
7199
+ "type": "uint256"
7200
+ }
7201
+ ],
7202
+ "name": "transferFrom",
7203
+ "outputs": [
7204
+ {
7205
+ "internalType": "bool",
7206
+ "name": "",
7207
+ "type": "bool"
7208
+ }
7209
+ ],
7210
+ "stateMutability": "nonpayable",
7211
+ "type": "function"
7212
+ }
7213
+ ]
7214
+ },
6906
7215
  "MockFRAX": {
6907
7216
  "address": "0x10630d59848547c9F59538E2d8963D63B912C075",
6908
7217
  "abi": [
@@ -26861,6 +27170,80 @@
26861
27170
  }
26862
27171
  ]
26863
27172
  },
27173
+ "VToken_vEIGEN": {
27174
+ "address": "0x6DB4aDbA8F144a57a397b57183BF619e957040B1",
27175
+ "abi": [
27176
+ {
27177
+ "inputs": [
27178
+ {
27179
+ "internalType": "address",
27180
+ "name": "beacon",
27181
+ "type": "address"
27182
+ },
27183
+ {
27184
+ "internalType": "bytes",
27185
+ "name": "data",
27186
+ "type": "bytes"
27187
+ }
27188
+ ],
27189
+ "stateMutability": "payable",
27190
+ "type": "constructor"
27191
+ },
27192
+ {
27193
+ "anonymous": false,
27194
+ "inputs": [
27195
+ {
27196
+ "indexed": false,
27197
+ "internalType": "address",
27198
+ "name": "previousAdmin",
27199
+ "type": "address"
27200
+ },
27201
+ {
27202
+ "indexed": false,
27203
+ "internalType": "address",
27204
+ "name": "newAdmin",
27205
+ "type": "address"
27206
+ }
27207
+ ],
27208
+ "name": "AdminChanged",
27209
+ "type": "event"
27210
+ },
27211
+ {
27212
+ "anonymous": false,
27213
+ "inputs": [
27214
+ {
27215
+ "indexed": true,
27216
+ "internalType": "address",
27217
+ "name": "beacon",
27218
+ "type": "address"
27219
+ }
27220
+ ],
27221
+ "name": "BeaconUpgraded",
27222
+ "type": "event"
27223
+ },
27224
+ {
27225
+ "anonymous": false,
27226
+ "inputs": [
27227
+ {
27228
+ "indexed": true,
27229
+ "internalType": "address",
27230
+ "name": "implementation",
27231
+ "type": "address"
27232
+ }
27233
+ ],
27234
+ "name": "Upgraded",
27235
+ "type": "event"
27236
+ },
27237
+ {
27238
+ "stateMutability": "payable",
27239
+ "type": "fallback"
27240
+ },
27241
+ {
27242
+ "stateMutability": "payable",
27243
+ "type": "receive"
27244
+ }
27245
+ ]
27246
+ },
26864
27247
  "VToken_vFRAX_Core": {
26865
27248
  "address": "0x33942B932159A67E3274f54bC4082cbA4A704340",
26866
27249
  "abi": [
@@ -2734,6 +2734,13 @@ exports.globalConfig = {
2734
2734
  decimals: 18,
2735
2735
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
2736
2736
  },
2737
+ {
2738
+ isMock: true,
2739
+ name: "Eigen",
2740
+ symbol: "EIGEN",
2741
+ decimals: 18,
2742
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2743
+ },
2737
2744
  ],
2738
2745
  poolConfig: [
2739
2746
  {
@@ -2923,6 +2930,24 @@ exports.globalConfig = {
2923
2930
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2924
2931
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury, // TBD
2925
2932
  },
2933
+ {
2934
+ name: "Venus EIGEN",
2935
+ asset: "EIGEN",
2936
+ symbol: "vEIGEN",
2937
+ rateModel: InterestRateModels.JumpRate.toString(),
2938
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
2939
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
2940
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
2941
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
2942
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
2943
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.6", 18),
2944
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
2945
+ initialSupply: (0, utils_1.convertToUnit)(500, 18),
2946
+ supplyCap: (0, utils_1.convertToUnit)(3000000, 18),
2947
+ borrowCap: (0, utils_1.convertToUnit)(1500000, 18),
2948
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
2949
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
2950
+ },
2926
2951
  ],
2927
2952
  rewards: [
2928
2953
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3420,6 +3445,13 @@ exports.globalConfig = {
3420
3445
  decimals: 18,
3421
3446
  tokenAddress: "0x917ceE801a67f933F2e6b33fC0cD1ED2d5909D88",
3422
3447
  },
3448
+ {
3449
+ isMock: false,
3450
+ name: "Eigen",
3451
+ symbol: "EIGEN",
3452
+ decimals: 18,
3453
+ tokenAddress: "0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83",
3454
+ },
3423
3455
  ],
3424
3456
  poolConfig: [
3425
3457
  {
@@ -3591,6 +3623,24 @@ exports.globalConfig = {
3591
3623
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3592
3624
  vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
3593
3625
  },
3626
+ {
3627
+ name: "Venus EIGEN",
3628
+ asset: "EIGEN",
3629
+ symbol: "vEIGEN",
3630
+ rateModel: InterestRateModels.JumpRate.toString(),
3631
+ baseRatePerYear: (0, utils_1.convertToUnit)("0.02", 18),
3632
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
3633
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
3634
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3635
+ collateralFactor: (0, utils_1.convertToUnit)("0.5", 18),
3636
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.6", 18),
3637
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
3638
+ initialSupply: (0, utils_1.convertToUnit)(500, 18),
3639
+ supplyCap: (0, utils_1.convertToUnit)(3000000, 18),
3640
+ borrowCap: (0, utils_1.convertToUnit)(1500000, 18),
3641
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3642
+ vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
3643
+ },
3594
3644
  ],
3595
3645
  rewards: [
3596
3646
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3,7 +3,11 @@ import { Provider } from "@ethersproject/providers";
3
3
  import type { IVToken, IVTokenInterface } from "../IVToken";
4
4
  export declare class IVToken__factory {
5
5
  static readonly abi: {
6
- inputs: never[];
6
+ inputs: {
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ }[];
7
11
  name: string;
8
12
  outputs: {
9
13
  internalType: string;