@venusprotocol/isolated-pools 3.2.0-dev.4 → 3.2.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/ethereum/VToken_vFRAX_Core.json +257 -0
- package/deployments/ethereum/VToken_vsFRAX_Core.json +257 -0
- package/deployments/ethereum/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/ethereum.json +148 -0
- package/deployments/ethereum_addresses.json +2 -0
- package/dist/deployments/ethereum.json +148 -0
- package/dist/helpers/deploymentConfig.js +60 -2
- package/package.json +1 -1
|
@@ -22412,6 +22412,80 @@
|
|
|
22412
22412
|
}
|
|
22413
22413
|
]
|
|
22414
22414
|
},
|
|
22415
|
+
"VToken_vFRAX_Core": {
|
|
22416
|
+
"address": "0x4fAfbDc4F2a9876Bd1764827b26fb8dc4FD1dB95",
|
|
22417
|
+
"abi": [
|
|
22418
|
+
{
|
|
22419
|
+
"inputs": [
|
|
22420
|
+
{
|
|
22421
|
+
"internalType": "address",
|
|
22422
|
+
"name": "beacon",
|
|
22423
|
+
"type": "address"
|
|
22424
|
+
},
|
|
22425
|
+
{
|
|
22426
|
+
"internalType": "bytes",
|
|
22427
|
+
"name": "data",
|
|
22428
|
+
"type": "bytes"
|
|
22429
|
+
}
|
|
22430
|
+
],
|
|
22431
|
+
"stateMutability": "payable",
|
|
22432
|
+
"type": "constructor"
|
|
22433
|
+
},
|
|
22434
|
+
{
|
|
22435
|
+
"anonymous": false,
|
|
22436
|
+
"inputs": [
|
|
22437
|
+
{
|
|
22438
|
+
"indexed": false,
|
|
22439
|
+
"internalType": "address",
|
|
22440
|
+
"name": "previousAdmin",
|
|
22441
|
+
"type": "address"
|
|
22442
|
+
},
|
|
22443
|
+
{
|
|
22444
|
+
"indexed": false,
|
|
22445
|
+
"internalType": "address",
|
|
22446
|
+
"name": "newAdmin",
|
|
22447
|
+
"type": "address"
|
|
22448
|
+
}
|
|
22449
|
+
],
|
|
22450
|
+
"name": "AdminChanged",
|
|
22451
|
+
"type": "event"
|
|
22452
|
+
},
|
|
22453
|
+
{
|
|
22454
|
+
"anonymous": false,
|
|
22455
|
+
"inputs": [
|
|
22456
|
+
{
|
|
22457
|
+
"indexed": true,
|
|
22458
|
+
"internalType": "address",
|
|
22459
|
+
"name": "beacon",
|
|
22460
|
+
"type": "address"
|
|
22461
|
+
}
|
|
22462
|
+
],
|
|
22463
|
+
"name": "BeaconUpgraded",
|
|
22464
|
+
"type": "event"
|
|
22465
|
+
},
|
|
22466
|
+
{
|
|
22467
|
+
"anonymous": false,
|
|
22468
|
+
"inputs": [
|
|
22469
|
+
{
|
|
22470
|
+
"indexed": true,
|
|
22471
|
+
"internalType": "address",
|
|
22472
|
+
"name": "implementation",
|
|
22473
|
+
"type": "address"
|
|
22474
|
+
}
|
|
22475
|
+
],
|
|
22476
|
+
"name": "Upgraded",
|
|
22477
|
+
"type": "event"
|
|
22478
|
+
},
|
|
22479
|
+
{
|
|
22480
|
+
"stateMutability": "payable",
|
|
22481
|
+
"type": "fallback"
|
|
22482
|
+
},
|
|
22483
|
+
{
|
|
22484
|
+
"stateMutability": "payable",
|
|
22485
|
+
"type": "receive"
|
|
22486
|
+
}
|
|
22487
|
+
]
|
|
22488
|
+
},
|
|
22415
22489
|
"VToken_vTUSD_Core": {
|
|
22416
22490
|
"address": "0x13eB80FDBe5C5f4a7039728E258A6f05fb3B912b",
|
|
22417
22491
|
"abi": [
|
|
@@ -23004,6 +23078,80 @@
|
|
|
23004
23078
|
}
|
|
23005
23079
|
]
|
|
23006
23080
|
},
|
|
23081
|
+
"VToken_vsFRAX_Core": {
|
|
23082
|
+
"address": "0x17142a05fe678e9584FA1d88EfAC1bF181bF7ABe",
|
|
23083
|
+
"abi": [
|
|
23084
|
+
{
|
|
23085
|
+
"inputs": [
|
|
23086
|
+
{
|
|
23087
|
+
"internalType": "address",
|
|
23088
|
+
"name": "beacon",
|
|
23089
|
+
"type": "address"
|
|
23090
|
+
},
|
|
23091
|
+
{
|
|
23092
|
+
"internalType": "bytes",
|
|
23093
|
+
"name": "data",
|
|
23094
|
+
"type": "bytes"
|
|
23095
|
+
}
|
|
23096
|
+
],
|
|
23097
|
+
"stateMutability": "payable",
|
|
23098
|
+
"type": "constructor"
|
|
23099
|
+
},
|
|
23100
|
+
{
|
|
23101
|
+
"anonymous": false,
|
|
23102
|
+
"inputs": [
|
|
23103
|
+
{
|
|
23104
|
+
"indexed": false,
|
|
23105
|
+
"internalType": "address",
|
|
23106
|
+
"name": "previousAdmin",
|
|
23107
|
+
"type": "address"
|
|
23108
|
+
},
|
|
23109
|
+
{
|
|
23110
|
+
"indexed": false,
|
|
23111
|
+
"internalType": "address",
|
|
23112
|
+
"name": "newAdmin",
|
|
23113
|
+
"type": "address"
|
|
23114
|
+
}
|
|
23115
|
+
],
|
|
23116
|
+
"name": "AdminChanged",
|
|
23117
|
+
"type": "event"
|
|
23118
|
+
},
|
|
23119
|
+
{
|
|
23120
|
+
"anonymous": false,
|
|
23121
|
+
"inputs": [
|
|
23122
|
+
{
|
|
23123
|
+
"indexed": true,
|
|
23124
|
+
"internalType": "address",
|
|
23125
|
+
"name": "beacon",
|
|
23126
|
+
"type": "address"
|
|
23127
|
+
}
|
|
23128
|
+
],
|
|
23129
|
+
"name": "BeaconUpgraded",
|
|
23130
|
+
"type": "event"
|
|
23131
|
+
},
|
|
23132
|
+
{
|
|
23133
|
+
"anonymous": false,
|
|
23134
|
+
"inputs": [
|
|
23135
|
+
{
|
|
23136
|
+
"indexed": true,
|
|
23137
|
+
"internalType": "address",
|
|
23138
|
+
"name": "implementation",
|
|
23139
|
+
"type": "address"
|
|
23140
|
+
}
|
|
23141
|
+
],
|
|
23142
|
+
"name": "Upgraded",
|
|
23143
|
+
"type": "event"
|
|
23144
|
+
},
|
|
23145
|
+
{
|
|
23146
|
+
"stateMutability": "payable",
|
|
23147
|
+
"type": "fallback"
|
|
23148
|
+
},
|
|
23149
|
+
{
|
|
23150
|
+
"stateMutability": "payable",
|
|
23151
|
+
"type": "receive"
|
|
23152
|
+
}
|
|
23153
|
+
]
|
|
23154
|
+
},
|
|
23007
23155
|
"VToken_vweETH_LiquidStakedETH": {
|
|
23008
23156
|
"address": "0xb4933AF59868986316Ed37fa865C829Eba2df0C7",
|
|
23009
23157
|
"abi": [
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"VTokenImpl": "0xE5A008B6A0bAB405343B3ABe8895966EAaFb5790",
|
|
47
47
|
"VToken_vCRV_Curve": "0x30aD10Bd5Be62CAb37863C2BfcC6E8fb4fD85BDa",
|
|
48
48
|
"VToken_vDAI_Core": "0xd8AdD9B41D4E1cd64Edad8722AB0bA8D35536657",
|
|
49
|
+
"VToken_vFRAX_Core": "0x4fAfbDc4F2a9876Bd1764827b26fb8dc4FD1dB95",
|
|
49
50
|
"VToken_vTUSD_Core": "0x13eB80FDBe5C5f4a7039728E258A6f05fb3B912b",
|
|
50
51
|
"VToken_vUSDC_Core": "0x17C07e0c232f2f80DfDbd7a95b942D893A4C5ACb",
|
|
51
52
|
"VToken_vUSDT_Core": "0x8C3e3821259B82fFb32B2450A95d2dcbf161C24E",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"VToken_vWETH_LiquidStakedETH": "0xc82780Db1257C788F262FBbDA960B3706Dfdcaf2",
|
|
55
56
|
"VToken_vcrvUSD_Core": "0x672208C10aaAA2F9A6719F449C4C8227bc0BC202",
|
|
56
57
|
"VToken_vcrvUSD_Curve": "0x2d499800239C4CD3012473Cb1EAE33562F0A6933",
|
|
58
|
+
"VToken_vsFRAX_Core": "0x17142a05fe678e9584FA1d88EfAC1bF181bF7ABe",
|
|
57
59
|
"VToken_vweETH_LiquidStakedETH": "0xb4933AF59868986316Ed37fa865C829Eba2df0C7",
|
|
58
60
|
"VToken_vwstETH_LiquidStakedETH": "0x4a240F0ee138697726C8a3E43eFE6Ac3593432CB"
|
|
59
61
|
}
|
|
@@ -22412,6 +22412,80 @@
|
|
|
22412
22412
|
}
|
|
22413
22413
|
]
|
|
22414
22414
|
},
|
|
22415
|
+
"VToken_vFRAX_Core": {
|
|
22416
|
+
"address": "0x4fAfbDc4F2a9876Bd1764827b26fb8dc4FD1dB95",
|
|
22417
|
+
"abi": [
|
|
22418
|
+
{
|
|
22419
|
+
"inputs": [
|
|
22420
|
+
{
|
|
22421
|
+
"internalType": "address",
|
|
22422
|
+
"name": "beacon",
|
|
22423
|
+
"type": "address"
|
|
22424
|
+
},
|
|
22425
|
+
{
|
|
22426
|
+
"internalType": "bytes",
|
|
22427
|
+
"name": "data",
|
|
22428
|
+
"type": "bytes"
|
|
22429
|
+
}
|
|
22430
|
+
],
|
|
22431
|
+
"stateMutability": "payable",
|
|
22432
|
+
"type": "constructor"
|
|
22433
|
+
},
|
|
22434
|
+
{
|
|
22435
|
+
"anonymous": false,
|
|
22436
|
+
"inputs": [
|
|
22437
|
+
{
|
|
22438
|
+
"indexed": false,
|
|
22439
|
+
"internalType": "address",
|
|
22440
|
+
"name": "previousAdmin",
|
|
22441
|
+
"type": "address"
|
|
22442
|
+
},
|
|
22443
|
+
{
|
|
22444
|
+
"indexed": false,
|
|
22445
|
+
"internalType": "address",
|
|
22446
|
+
"name": "newAdmin",
|
|
22447
|
+
"type": "address"
|
|
22448
|
+
}
|
|
22449
|
+
],
|
|
22450
|
+
"name": "AdminChanged",
|
|
22451
|
+
"type": "event"
|
|
22452
|
+
},
|
|
22453
|
+
{
|
|
22454
|
+
"anonymous": false,
|
|
22455
|
+
"inputs": [
|
|
22456
|
+
{
|
|
22457
|
+
"indexed": true,
|
|
22458
|
+
"internalType": "address",
|
|
22459
|
+
"name": "beacon",
|
|
22460
|
+
"type": "address"
|
|
22461
|
+
}
|
|
22462
|
+
],
|
|
22463
|
+
"name": "BeaconUpgraded",
|
|
22464
|
+
"type": "event"
|
|
22465
|
+
},
|
|
22466
|
+
{
|
|
22467
|
+
"anonymous": false,
|
|
22468
|
+
"inputs": [
|
|
22469
|
+
{
|
|
22470
|
+
"indexed": true,
|
|
22471
|
+
"internalType": "address",
|
|
22472
|
+
"name": "implementation",
|
|
22473
|
+
"type": "address"
|
|
22474
|
+
}
|
|
22475
|
+
],
|
|
22476
|
+
"name": "Upgraded",
|
|
22477
|
+
"type": "event"
|
|
22478
|
+
},
|
|
22479
|
+
{
|
|
22480
|
+
"stateMutability": "payable",
|
|
22481
|
+
"type": "fallback"
|
|
22482
|
+
},
|
|
22483
|
+
{
|
|
22484
|
+
"stateMutability": "payable",
|
|
22485
|
+
"type": "receive"
|
|
22486
|
+
}
|
|
22487
|
+
]
|
|
22488
|
+
},
|
|
22415
22489
|
"VToken_vTUSD_Core": {
|
|
22416
22490
|
"address": "0x13eB80FDBe5C5f4a7039728E258A6f05fb3B912b",
|
|
22417
22491
|
"abi": [
|
|
@@ -23004,6 +23078,80 @@
|
|
|
23004
23078
|
}
|
|
23005
23079
|
]
|
|
23006
23080
|
},
|
|
23081
|
+
"VToken_vsFRAX_Core": {
|
|
23082
|
+
"address": "0x17142a05fe678e9584FA1d88EfAC1bF181bF7ABe",
|
|
23083
|
+
"abi": [
|
|
23084
|
+
{
|
|
23085
|
+
"inputs": [
|
|
23086
|
+
{
|
|
23087
|
+
"internalType": "address",
|
|
23088
|
+
"name": "beacon",
|
|
23089
|
+
"type": "address"
|
|
23090
|
+
},
|
|
23091
|
+
{
|
|
23092
|
+
"internalType": "bytes",
|
|
23093
|
+
"name": "data",
|
|
23094
|
+
"type": "bytes"
|
|
23095
|
+
}
|
|
23096
|
+
],
|
|
23097
|
+
"stateMutability": "payable",
|
|
23098
|
+
"type": "constructor"
|
|
23099
|
+
},
|
|
23100
|
+
{
|
|
23101
|
+
"anonymous": false,
|
|
23102
|
+
"inputs": [
|
|
23103
|
+
{
|
|
23104
|
+
"indexed": false,
|
|
23105
|
+
"internalType": "address",
|
|
23106
|
+
"name": "previousAdmin",
|
|
23107
|
+
"type": "address"
|
|
23108
|
+
},
|
|
23109
|
+
{
|
|
23110
|
+
"indexed": false,
|
|
23111
|
+
"internalType": "address",
|
|
23112
|
+
"name": "newAdmin",
|
|
23113
|
+
"type": "address"
|
|
23114
|
+
}
|
|
23115
|
+
],
|
|
23116
|
+
"name": "AdminChanged",
|
|
23117
|
+
"type": "event"
|
|
23118
|
+
},
|
|
23119
|
+
{
|
|
23120
|
+
"anonymous": false,
|
|
23121
|
+
"inputs": [
|
|
23122
|
+
{
|
|
23123
|
+
"indexed": true,
|
|
23124
|
+
"internalType": "address",
|
|
23125
|
+
"name": "beacon",
|
|
23126
|
+
"type": "address"
|
|
23127
|
+
}
|
|
23128
|
+
],
|
|
23129
|
+
"name": "BeaconUpgraded",
|
|
23130
|
+
"type": "event"
|
|
23131
|
+
},
|
|
23132
|
+
{
|
|
23133
|
+
"anonymous": false,
|
|
23134
|
+
"inputs": [
|
|
23135
|
+
{
|
|
23136
|
+
"indexed": true,
|
|
23137
|
+
"internalType": "address",
|
|
23138
|
+
"name": "implementation",
|
|
23139
|
+
"type": "address"
|
|
23140
|
+
}
|
|
23141
|
+
],
|
|
23142
|
+
"name": "Upgraded",
|
|
23143
|
+
"type": "event"
|
|
23144
|
+
},
|
|
23145
|
+
{
|
|
23146
|
+
"stateMutability": "payable",
|
|
23147
|
+
"type": "fallback"
|
|
23148
|
+
},
|
|
23149
|
+
{
|
|
23150
|
+
"stateMutability": "payable",
|
|
23151
|
+
"type": "receive"
|
|
23152
|
+
}
|
|
23153
|
+
]
|
|
23154
|
+
},
|
|
23007
23155
|
"VToken_vweETH_LiquidStakedETH": {
|
|
23008
23156
|
"address": "0xb4933AF59868986316Ed37fa865C829Eba2df0C7",
|
|
23009
23157
|
"abi": [
|
|
@@ -2924,6 +2924,20 @@ exports.globalConfig = {
|
|
|
2924
2924
|
decimals: 18,
|
|
2925
2925
|
tokenAddress: "0x0000000000085d4780B73119b644AE5ecd22b376",
|
|
2926
2926
|
},
|
|
2927
|
+
{
|
|
2928
|
+
isMock: false,
|
|
2929
|
+
name: "Frax",
|
|
2930
|
+
symbol: "FRAX",
|
|
2931
|
+
decimals: 18,
|
|
2932
|
+
tokenAddress: "0x853d955aCEf822Db058eb8505911ED77F175b99e",
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
isMock: false,
|
|
2936
|
+
name: "Staked FRAX",
|
|
2937
|
+
symbol: "sFRAX",
|
|
2938
|
+
decimals: 18,
|
|
2939
|
+
tokenAddress: "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32",
|
|
2940
|
+
},
|
|
2927
2941
|
],
|
|
2928
2942
|
poolConfig: [
|
|
2929
2943
|
{
|
|
@@ -3057,7 +3071,43 @@ exports.globalConfig = {
|
|
|
3057
3071
|
supplyCap: (0, utils_1.convertToUnit)(2000000, 18),
|
|
3058
3072
|
borrowCap: (0, utils_1.convertToUnit)(1800000, 18),
|
|
3059
3073
|
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
3060
|
-
vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
|
|
3074
|
+
vTokenReceiver: exports.preconfiguredAddresses.ethereum.VTreasury,
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
name: "Venus Frax (Core)",
|
|
3078
|
+
asset: "FRAX",
|
|
3079
|
+
symbol: "vFRAX_Core",
|
|
3080
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
3081
|
+
baseRatePerYear: "0",
|
|
3082
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
|
|
3083
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
|
|
3084
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
3085
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
|
|
3086
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.80", 18),
|
|
3087
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
|
|
3088
|
+
initialSupply: (0, utils_1.convertToUnit)(5000, 18),
|
|
3089
|
+
supplyCap: (0, utils_1.convertToUnit)(10000000, 18),
|
|
3090
|
+
borrowCap: (0, utils_1.convertToUnit)(8000000, 18),
|
|
3091
|
+
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
3092
|
+
vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
name: "Venus Staked FRAX (Core)",
|
|
3096
|
+
asset: "sFRAX",
|
|
3097
|
+
symbol: "vsFRAX_Core",
|
|
3098
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
3099
|
+
baseRatePerYear: "0",
|
|
3100
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
|
|
3101
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
|
|
3102
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
3103
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
|
|
3104
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.80", 18),
|
|
3105
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
|
|
3106
|
+
initialSupply: (0, utils_1.convertToUnit)(4800, 18),
|
|
3107
|
+
supplyCap: (0, utils_1.convertToUnit)(10000000, 18),
|
|
3108
|
+
borrowCap: (0, utils_1.convertToUnit)(1000000, 18),
|
|
3109
|
+
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
|
|
3110
|
+
vTokenReceiver: "0x6e74053a3798e0fC9a9775F7995316b27f21c4D2",
|
|
3061
3111
|
},
|
|
3062
3112
|
],
|
|
3063
3113
|
rewards: [
|
|
@@ -3072,15 +3122,21 @@ exports.globalConfig = {
|
|
|
3072
3122
|
// 8100 XVS for Borrowers
|
|
3073
3123
|
// crvUSD: 2400 XVS for Suppliers
|
|
3074
3124
|
// 3600 XVS for Borrowers
|
|
3125
|
+
// FRAX: 960 XVS for Suppliers
|
|
3126
|
+
// 1440 XVS for Borrowers
|
|
3127
|
+
// sFRAX: 1440 XVS for Suppliers
|
|
3128
|
+
// 960 XVS for Borrowers
|
|
3075
3129
|
{
|
|
3076
3130
|
asset: "XVS",
|
|
3077
|
-
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD"],
|
|
3131
|
+
markets: ["WETH", "WBTC", "USDT", "USDC", "crvUSD", "FRAX", "sFRAX"],
|
|
3078
3132
|
supplySpeeds: [
|
|
3079
3133
|
"2777777777777777",
|
|
3080
3134
|
"8333333333333333",
|
|
3081
3135
|
"8333333333333333",
|
|
3082
3136
|
"8333333333333333",
|
|
3083
3137
|
"3703703703703703",
|
|
3138
|
+
"1481481481481481",
|
|
3139
|
+
"2222222222222222",
|
|
3084
3140
|
],
|
|
3085
3141
|
borrowSpeeds: [
|
|
3086
3142
|
"4166666666666666",
|
|
@@ -3088,6 +3144,8 @@ exports.globalConfig = {
|
|
|
3088
3144
|
"12500000000000000",
|
|
3089
3145
|
"12500000000000000",
|
|
3090
3146
|
"5555555555555555",
|
|
3147
|
+
"2222222222222222",
|
|
3148
|
+
"1481481481481481",
|
|
3091
3149
|
],
|
|
3092
3150
|
},
|
|
3093
3151
|
{
|