@venusprotocol/isolated-pools 2.8.0-dev.1 → 2.8.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.
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope1500bps_jump25000bps_kink8000bps.json +519 -0
- package/deployments/bscmainnet/solcInputs/6c20111db935f77a09779b07bf47545e.json +345 -0
- package/deployments/bscmainnet.json +640 -2
- package/deployments/bscmainnet_addresses.json +2 -0
- package/deployments/ethereum/{JumpRateModelV2_base0bps_slope750bps_jump8000bps_kink8000bps.json → JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps.json} +29 -29
- package/deployments/ethereum/solcInputs/6c20111db935f77a09779b07bf47545e.json +345 -0
- package/deployments/ethereum.json +14 -14
- package/deployments/ethereum_addresses.json +1 -1
- package/deployments/opbnbmainnet/{JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps.json → JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps.json} +28 -28
- package/deployments/opbnbmainnet/solcInputs/6c20111db935f77a09779b07bf47545e.json +345 -0
- package/deployments/opbnbmainnet.json +4 -4
- package/deployments/opbnbmainnet_addresses.json +1 -1
- package/dist/deployments/bscmainnet.json +640 -2
- package/dist/deployments/ethereum.json +14 -14
- package/dist/deployments/opbnbmainnet.json +4 -4
- package/dist/helpers/deploymentConfig.js +13 -13
- package/package.json +1 -1
|
@@ -3804,8 +3804,8 @@
|
|
|
3804
3804
|
}
|
|
3805
3805
|
]
|
|
3806
3806
|
},
|
|
3807
|
-
"
|
|
3808
|
-
"address": "
|
|
3807
|
+
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps": {
|
|
3808
|
+
"address": "0xae838dEB13Ff67681704AA69e31Da304918Ee43D",
|
|
3809
3809
|
"abi": [
|
|
3810
3810
|
{
|
|
3811
3811
|
"inputs": [
|
|
@@ -4123,8 +4123,8 @@
|
|
|
4123
4123
|
}
|
|
4124
4124
|
]
|
|
4125
4125
|
},
|
|
4126
|
-
"
|
|
4127
|
-
"address": "
|
|
4126
|
+
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink7500bps": {
|
|
4127
|
+
"address": "0xa4f048254631119f4E899359711fB282589c4ED8",
|
|
4128
4128
|
"abi": [
|
|
4129
4129
|
{
|
|
4130
4130
|
"inputs": [
|
|
@@ -4442,8 +4442,8 @@
|
|
|
4442
4442
|
}
|
|
4443
4443
|
]
|
|
4444
4444
|
},
|
|
4445
|
-
"
|
|
4446
|
-
"address": "
|
|
4445
|
+
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink8000bps": {
|
|
4446
|
+
"address": "0x694536cbCe185f8549Ca56cDFeE4531593762686",
|
|
4447
4447
|
"abi": [
|
|
4448
4448
|
{
|
|
4449
4449
|
"inputs": [
|
|
@@ -4761,8 +4761,8 @@
|
|
|
4761
4761
|
}
|
|
4762
4762
|
]
|
|
4763
4763
|
},
|
|
4764
|
-
"
|
|
4765
|
-
"address": "
|
|
4764
|
+
"JumpRateModelV2_base200bps_slope1500bps_jump30000bps_kink4500bps": {
|
|
4765
|
+
"address": "0x162b94324279A3ad3AF3Eafd0CE3103a14e5b377",
|
|
4766
4766
|
"abi": [
|
|
4767
4767
|
{
|
|
4768
4768
|
"inputs": [
|
|
@@ -5080,8 +5080,8 @@
|
|
|
5080
5080
|
}
|
|
5081
5081
|
]
|
|
5082
5082
|
},
|
|
5083
|
-
"
|
|
5084
|
-
"address": "
|
|
5083
|
+
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps": {
|
|
5084
|
+
"address": "0x5eD025A0a8A050bB08BC6c5FbEd526be2321A872",
|
|
5085
5085
|
"abi": [
|
|
5086
5086
|
{
|
|
5087
5087
|
"inputs": [
|
|
@@ -5399,8 +5399,8 @@
|
|
|
5399
5399
|
}
|
|
5400
5400
|
]
|
|
5401
5401
|
},
|
|
5402
|
-
"
|
|
5403
|
-
"address": "
|
|
5402
|
+
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps": {
|
|
5403
|
+
"address": "0x87C427b00C89E82064B32Ca63c9E983fedD3e53e",
|
|
5404
5404
|
"abi": [
|
|
5405
5405
|
{
|
|
5406
5406
|
"inputs": [
|
|
@@ -5718,8 +5718,8 @@
|
|
|
5718
5718
|
}
|
|
5719
5719
|
]
|
|
5720
5720
|
},
|
|
5721
|
-
"
|
|
5722
|
-
"address": "
|
|
5721
|
+
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps": {
|
|
5722
|
+
"address": "0xd7fbFD2A36b8b388E6d04C7a05956Df91862E146",
|
|
5723
5723
|
"abi": [
|
|
5724
5724
|
{
|
|
5725
5725
|
"inputs": [
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink8000bps": "0xFCaBF5b76968e010b8BC310486bE418b9d16fEb2",
|
|
13
13
|
"JumpRateModelV2_base0bps_slope500bps_jump8000bps_kink7500bps": "0x07a912CD58CbB5736d015608F424c43B2CAd0B5e",
|
|
14
14
|
"JumpRateModelV2_base0bps_slope700bps_jump8000bps_kink8000bps": "0x0F84aF9A902dbb5a0986e5D5003189cF2B80A760",
|
|
15
|
-
"JumpRateModelV2_base0bps_slope750bps_jump8000bps_kink8000bps": "0x1C243a1aCe202424fa79F71de36225DF93B9e5C5",
|
|
16
15
|
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps": "0xae838dEB13Ff67681704AA69e31Da304918Ee43D",
|
|
17
16
|
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink7500bps": "0xa4f048254631119f4E899359711fB282589c4ED8",
|
|
18
17
|
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink8000bps": "0x694536cbCe185f8549Ca56cDFeE4531593762686",
|
|
19
18
|
"JumpRateModelV2_base200bps_slope1500bps_jump30000bps_kink4500bps": "0x162b94324279A3ad3AF3Eafd0CE3103a14e5b377",
|
|
20
19
|
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps": "0x5eD025A0a8A050bB08BC6c5FbEd526be2321A872",
|
|
21
20
|
"JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink5000bps": "0x87C427b00C89E82064B32Ca63c9E983fedD3e53e",
|
|
21
|
+
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps": "0xd7fbFD2A36b8b388E6d04C7a05956Df91862E146",
|
|
22
22
|
"NativeTokenGateway_vWETH_Core": "0x044dd75b9E043ACFD2d6EB56b6BB814df2a9c809",
|
|
23
23
|
"NativeTokenGateway_vWETH_LiquidStakedETH": "0xBC1471308eb2287eBE137420Eb1664A964895D21",
|
|
24
24
|
"PoolLens": "0x57bea400aE7E51855a2e1E1523475d9d2eB0742F",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xaf6862b20280818FA24fA6D17097517608Fe65d4",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -316,43 +316,43 @@
|
|
|
316
316
|
"type": "function"
|
|
317
317
|
}
|
|
318
318
|
],
|
|
319
|
-
"transactionHash": "
|
|
319
|
+
"transactionHash": "0x7e724e91ef9a2aa895bd46cfd18e832bcaa9df7d09c10eac46955752402da41f",
|
|
320
320
|
"receipt": {
|
|
321
321
|
"to": null,
|
|
322
|
-
"from": "
|
|
323
|
-
"contractAddress": "
|
|
324
|
-
"transactionIndex":
|
|
322
|
+
"from": "0x2e75bCC2d3b742c582Bf502Ee02eE966b29A3238",
|
|
323
|
+
"contractAddress": "0xaf6862b20280818FA24fA6D17097517608Fe65d4",
|
|
324
|
+
"transactionIndex": 22,
|
|
325
325
|
"gasUsed": "564994",
|
|
326
|
-
"logsBloom": "
|
|
327
|
-
"blockHash": "
|
|
328
|
-
"transactionHash": "
|
|
326
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000080000000000000000000000040000000000000000000000000000000000040000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000",
|
|
327
|
+
"blockHash": "0x9d59d9371e338be237475e896c132f5cded130fadeee8ab69201053ee08b5285",
|
|
328
|
+
"transactionHash": "0x7e724e91ef9a2aa895bd46cfd18e832bcaa9df7d09c10eac46955752402da41f",
|
|
329
329
|
"logs": [
|
|
330
330
|
{
|
|
331
|
-
"transactionIndex":
|
|
332
|
-
"blockNumber":
|
|
333
|
-
"transactionHash": "
|
|
334
|
-
"address": "
|
|
331
|
+
"transactionIndex": 22,
|
|
332
|
+
"blockNumber": 20836804,
|
|
333
|
+
"transactionHash": "0x7e724e91ef9a2aa895bd46cfd18e832bcaa9df7d09c10eac46955752402da41f",
|
|
334
|
+
"address": "0xaf6862b20280818FA24fA6D17097517608Fe65d4",
|
|
335
335
|
"topics": ["0x6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d"],
|
|
336
|
-
"data": "
|
|
337
|
-
"logIndex":
|
|
338
|
-
"blockHash": "
|
|
336
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bd014d7e00000000000000000000000000000000000000000000000000000012752091570000000000000000000000000000000000000000000000000b1a2bc2ec500000",
|
|
337
|
+
"logIndex": 28,
|
|
338
|
+
"blockHash": "0x9d59d9371e338be237475e896c132f5cded130fadeee8ab69201053ee08b5285"
|
|
339
339
|
}
|
|
340
340
|
],
|
|
341
|
-
"blockNumber":
|
|
342
|
-
"cumulativeGasUsed": "
|
|
341
|
+
"blockNumber": 20836804,
|
|
342
|
+
"cumulativeGasUsed": "2572280",
|
|
343
343
|
"status": 1,
|
|
344
344
|
"byzantium": true
|
|
345
345
|
},
|
|
346
346
|
"args": [
|
|
347
|
-
31536000,
|
|
347
|
+
"31536000",
|
|
348
348
|
"0",
|
|
349
|
-
"
|
|
350
|
-
"
|
|
349
|
+
"100000000000000000",
|
|
350
|
+
"2499999999987024000",
|
|
351
351
|
"800000000000000000",
|
|
352
352
|
"0xA60Deae5344F1152426cA440fb6552eA0e3005D6"
|
|
353
353
|
],
|
|
354
354
|
"numDeployments": 1,
|
|
355
|
-
"solcInputHash": "
|
|
355
|
+
"solcInputHash": "6c20111db935f77a09779b07bf47545e",
|
|
356
356
|
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blocksPerYear_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseRatePerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"multiplierPerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jumpMultiplierPerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"kink_\",\"type\":\"uint256\"},{\"internalType\":\"contract IAccessControlManagerV8\",\"name\":\"accessControlManager_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"calledContract\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"methodSignature\",\"type\":\"string\"}],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"baseRatePerBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"multiplierPerBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"jumpMultiplierPerBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"kink\",\"type\":\"uint256\"}],\"name\":\"NewInterestParams\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"accessControlManager\",\"outputs\":[{\"internalType\":\"contract IAccessControlManagerV8\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseRatePerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blocksPerYear\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"badDebt\",\"type\":\"uint256\"}],\"name\":\"getBorrowRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactorMantissa\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"badDebt\",\"type\":\"uint256\"}],\"name\":\"getSupplyRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInterestRateModel\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jumpMultiplierPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kink\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiplierPerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"baseRatePerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"multiplierPerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jumpMultiplierPerYear\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"kink_\",\"type\":\"uint256\"}],\"name\":\"updateJumpRateModel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"badDebt\",\"type\":\"uint256\"}],\"name\":\"utilizationRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Arr00\",\"kind\":\"dev\",\"methods\":{\"getBorrowRate(uint256,uint256,uint256,uint256)\":{\"params\":{\"badDebt\":\"The amount of badDebt in the market\",\"borrows\":\"The amount of borrows in the market\",\"cash\":\"The amount of cash in the market\",\"reserves\":\"The amount of reserves in the market\"},\"returns\":{\"_0\":\"The borrow rate percentage per block as a mantissa (scaled by 1e18)\"}},\"getSupplyRate(uint256,uint256,uint256,uint256,uint256)\":{\"params\":{\"badDebt\":\"The amount of badDebt in the market\",\"borrows\":\"The amount of borrows in the market\",\"cash\":\"The amount of cash in the market\",\"reserveFactorMantissa\":\"The current reserve factor for the market\",\"reserves\":\"The amount of reserves in the market\"},\"returns\":{\"_0\":\"The supply rate percentage per block as a mantissa (scaled by EXP_SCALE)\"}},\"isInterestRateModel()\":{\"returns\":{\"_0\":\"Always true\"}},\"updateJumpRateModel(uint256,uint256,uint256,uint256)\":{\"custom:access\":\"Controlled by AccessControlManager\",\"custom:error\":\"Unauthorized if the sender is not allowed to call this function\",\"params\":{\"baseRatePerYear\":\"The approximate target base APR, as a mantissa (scaled by EXP_SCALE)\",\"jumpMultiplierPerYear\":\"The multiplierPerBlock after hitting a specified utilization point\",\"kink_\":\"The utilization point at which the jump multiplier is applied\",\"multiplierPerYear\":\"The rate of increase in interest rate wrt utilization (scaled by EXP_SCALE)\"}},\"utilizationRate(uint256,uint256,uint256,uint256)\":{\"params\":{\"badDebt\":\"The amount of badDebt in the market\",\"borrows\":\"The amount of borrows in the market\",\"cash\":\"The amount of cash in the market\",\"reserves\":\"The amount of reserves in the market (currently unused)\"},\"returns\":{\"_0\":\"The utilization rate as a mantissa between [0, MANTISSA_ONE]\"}}},\"title\":\"Compound's JumpRateModel Contract V2 for V2 vTokens\",\"version\":1},\"userdoc\":{\"errors\":{\"Unauthorized(address,address,string)\":[{\"notice\":\"Thrown when the action is prohibited by AccessControlManager\"}]},\"kind\":\"user\",\"methods\":{\"accessControlManager()\":{\"notice\":\"The address of the AccessControlManager contract\"},\"baseRatePerBlock()\":{\"notice\":\"The base interest rate which is the y-intercept when utilization rate is 0\"},\"blocksPerYear()\":{\"notice\":\"The approximate number of blocks per year that is assumed by the interest rate model\"},\"getBorrowRate(uint256,uint256,uint256,uint256)\":{\"notice\":\"Calculates the current borrow rate per block\"},\"getSupplyRate(uint256,uint256,uint256,uint256,uint256)\":{\"notice\":\"Calculates the current supply rate per block\"},\"isInterestRateModel()\":{\"notice\":\"Indicator that this is an InterestRateModel contract (for inspection)\"},\"jumpMultiplierPerBlock()\":{\"notice\":\"The multiplier per block after hitting a specified utilization point\"},\"kink()\":{\"notice\":\"The utilization point at which the jump multiplier is applied\"},\"multiplierPerBlock()\":{\"notice\":\"The multiplier of utilization rate that gives the slope of the interest rate\"},\"updateJumpRateModel(uint256,uint256,uint256,uint256)\":{\"notice\":\"Update the parameters of the interest rate model\"},\"utilizationRate(uint256,uint256,uint256,uint256)\":{\"notice\":\"Calculates the utilization rate of the market: `(borrows + badDebt) / (cash + borrows + badDebt - reserves)`\"}},\"notice\":\"Supports only for V2 vTokens\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/JumpRateModelV2.sol\":\"JumpRateModelV2\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\n */\\ninterface IAccessControl {\\n /**\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\n *\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\n * {RoleAdminChanged} not being emitted signaling this.\\n *\\n * _Available since v3.1._\\n */\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\n\\n /**\\n * @dev Emitted when `account` is granted `role`.\\n *\\n * `sender` is the account that originated the contract call, an admin role\\n * bearer except when using {AccessControl-_setupRole}.\\n */\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Emitted when `account` is revoked `role`.\\n *\\n * `sender` is the account that originated the contract call:\\n * - if using `revokeRole`, it is the admin role bearer\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\n */\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Returns `true` if `account` has been granted `role`.\\n */\\n function hasRole(bytes32 role, address account) external view returns (bool);\\n\\n /**\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\n * {revokeRole}.\\n *\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\n */\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function grantRole(bytes32 role, address account) external;\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function revokeRole(bytes32 role, address account) external;\\n\\n /**\\n * @dev Revokes `role` from the calling account.\\n *\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n * purpose is to provide a mechanism for accounts to lose their privileges\\n * if they are compromised (such as when a trusted device is misplaced).\\n *\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must be `account`.\\n */\\n function renounceRole(bytes32 role, address account) external;\\n}\\n\",\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\"},\"@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.13;\\n\\nimport \\\"@openzeppelin/contracts/access/IAccessControl.sol\\\";\\n\\n/**\\n * @title IAccessControlManagerV8\\n * @author Venus\\n * @notice Interface implemented by the `AccessControlManagerV8` contract.\\n */\\ninterface IAccessControlManagerV8 is IAccessControl {\\n function giveCallPermission(address contractAddress, string calldata functionSig, address accountToPermit) external;\\n\\n function revokeCallPermission(\\n address contractAddress,\\n string calldata functionSig,\\n address accountToRevoke\\n ) external;\\n\\n function isAllowedToCall(address account, string calldata functionSig) external view returns (bool);\\n\\n function hasPermission(\\n address account,\\n address contractAddress,\\n string calldata functionSig\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x8adbe291d659987faf4de606736227ad9d8e1a0e284a33a6ca12b30ab2a504b2\",\"license\":\"BSD-3-Clause\"},\"contracts/BaseJumpRateModelV2.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.13;\\n\\nimport { IAccessControlManagerV8 } from \\\"@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol\\\";\\n\\nimport { InterestRateModel } from \\\"./InterestRateModel.sol\\\";\\nimport { EXP_SCALE, MANTISSA_ONE } from \\\"./lib/constants.sol\\\";\\n\\n/**\\n * @title Logic for Compound's JumpRateModel Contract V2.\\n * @author Compound (modified by Dharma Labs, Arr00 and Venus)\\n * @notice An interest rate model with a steep increase after a certain utilization threshold called **kink** is reached.\\n * The parameters of this interest rate model can be adjusted by the owner. Version 2 modifies Version 1 by enabling updateable parameters.\\n */\\nabstract contract BaseJumpRateModelV2 is InterestRateModel {\\n /**\\n * @notice The approximate number of blocks per year that is assumed by the interest rate model\\n */\\n uint256 public immutable blocksPerYear;\\n /**\\n * @notice The address of the AccessControlManager contract\\n */\\n IAccessControlManagerV8 public accessControlManager;\\n\\n /**\\n * @notice The multiplier of utilization rate that gives the slope of the interest rate\\n */\\n uint256 public multiplierPerBlock;\\n\\n /**\\n * @notice The base interest rate which is the y-intercept when utilization rate is 0\\n */\\n uint256 public baseRatePerBlock;\\n\\n /**\\n * @notice The multiplier per block after hitting a specified utilization point\\n */\\n uint256 public jumpMultiplierPerBlock;\\n\\n /**\\n * @notice The utilization point at which the jump multiplier is applied\\n */\\n uint256 public kink;\\n\\n event NewInterestParams(\\n uint256 baseRatePerBlock,\\n uint256 multiplierPerBlock,\\n uint256 jumpMultiplierPerBlock,\\n uint256 kink\\n );\\n\\n /**\\n * @notice Thrown when the action is prohibited by AccessControlManager\\n */\\n error Unauthorized(address sender, address calledContract, string methodSignature);\\n\\n /**\\n * @notice Construct an interest rate model\\n * @param blocksPerYear_ The approximate number of blocks per year that is assumed by the interest rate model.\\n * @param baseRatePerYear The approximate target base APR, as a mantissa (scaled by EXP_SCALE)\\n * @param multiplierPerYear The rate of increase in interest rate wrt utilization (scaled by EXP_SCALE)\\n * @param jumpMultiplierPerYear The multiplierPerBlock after hitting a specified utilization point\\n * @param kink_ The utilization point at which the jump multiplier is applied\\n * @param accessControlManager_ The address of the AccessControlManager contract\\n */\\n constructor(\\n uint256 blocksPerYear_,\\n uint256 baseRatePerYear,\\n uint256 multiplierPerYear,\\n uint256 jumpMultiplierPerYear,\\n uint256 kink_,\\n IAccessControlManagerV8 accessControlManager_\\n ) {\\n require(address(accessControlManager_) != address(0), \\\"invalid ACM address\\\");\\n require(blocksPerYear_ != 0, \\\"Invalid blocks per year\\\");\\n accessControlManager = accessControlManager_;\\n blocksPerYear = blocksPerYear_;\\n\\n _updateJumpRateModel(baseRatePerYear, multiplierPerYear, jumpMultiplierPerYear, kink_);\\n }\\n\\n /**\\n * @notice Update the parameters of the interest rate model\\n * @param baseRatePerYear The approximate target base APR, as a mantissa (scaled by EXP_SCALE)\\n * @param multiplierPerYear The rate of increase in interest rate wrt utilization (scaled by EXP_SCALE)\\n * @param jumpMultiplierPerYear The multiplierPerBlock after hitting a specified utilization point\\n * @param kink_ The utilization point at which the jump multiplier is applied\\n * @custom:error Unauthorized if the sender is not allowed to call this function\\n * @custom:access Controlled by AccessControlManager\\n */\\n function updateJumpRateModel(\\n uint256 baseRatePerYear,\\n uint256 multiplierPerYear,\\n uint256 jumpMultiplierPerYear,\\n uint256 kink_\\n ) external virtual {\\n string memory signature = \\\"updateJumpRateModel(uint256,uint256,uint256,uint256)\\\";\\n bool isAllowedToCall = accessControlManager.isAllowedToCall(msg.sender, signature);\\n\\n if (!isAllowedToCall) {\\n revert Unauthorized(msg.sender, address(this), signature);\\n }\\n\\n _updateJumpRateModel(baseRatePerYear, multiplierPerYear, jumpMultiplierPerYear, kink_);\\n }\\n\\n /**\\n * @notice Calculates the current supply rate per block\\n * @param cash The amount of cash in the market\\n * @param borrows The amount of borrows in the market\\n * @param reserves The amount of reserves in the market\\n * @param reserveFactorMantissa The current reserve factor for the market\\n * @param badDebt The amount of badDebt in the market\\n * @return The supply rate percentage per block as a mantissa (scaled by EXP_SCALE)\\n */\\n function getSupplyRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 reserveFactorMantissa,\\n uint256 badDebt\\n ) public view virtual override returns (uint256) {\\n uint256 oneMinusReserveFactor = MANTISSA_ONE - reserveFactorMantissa;\\n uint256 borrowRate = _getBorrowRate(cash, borrows, reserves, badDebt);\\n uint256 rateToPool = (borrowRate * oneMinusReserveFactor) / EXP_SCALE;\\n uint256 incomeToDistribute = borrows * rateToPool;\\n uint256 supply = cash + borrows + badDebt - reserves;\\n return incomeToDistribute / supply;\\n }\\n\\n /**\\n * @notice Calculates the utilization rate of the market: `(borrows + badDebt) / (cash + borrows + badDebt - reserves)`\\n * @param cash The amount of cash in the market\\n * @param borrows The amount of borrows in the market\\n * @param reserves The amount of reserves in the market (currently unused)\\n * @param badDebt The amount of badDebt in the market\\n * @return The utilization rate as a mantissa between [0, MANTISSA_ONE]\\n */\\n function utilizationRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 badDebt\\n ) public pure returns (uint256) {\\n // Utilization rate is 0 when there are no borrows and badDebt\\n if ((borrows + badDebt) == 0) {\\n return 0;\\n }\\n\\n uint256 rate = ((borrows + badDebt) * EXP_SCALE) / (cash + borrows + badDebt - reserves);\\n\\n if (rate > EXP_SCALE) {\\n rate = EXP_SCALE;\\n }\\n\\n return rate;\\n }\\n\\n /**\\n * @notice Internal function to update the parameters of the interest rate model\\n * @param baseRatePerYear The approximate target base APR, as a mantissa (scaled by EXP_SCALE)\\n * @param multiplierPerYear The rate of increase in interest rate wrt utilization (scaled by EXP_SCALE)\\n * @param jumpMultiplierPerYear The multiplierPerBlock after hitting a specified utilization point\\n * @param kink_ The utilization point at which the jump multiplier is applied\\n */\\n function _updateJumpRateModel(\\n uint256 baseRatePerYear,\\n uint256 multiplierPerYear,\\n uint256 jumpMultiplierPerYear,\\n uint256 kink_\\n ) internal {\\n baseRatePerBlock = baseRatePerYear / blocksPerYear;\\n multiplierPerBlock = multiplierPerYear / blocksPerYear;\\n jumpMultiplierPerBlock = jumpMultiplierPerYear / blocksPerYear;\\n kink = kink_;\\n\\n emit NewInterestParams(baseRatePerBlock, multiplierPerBlock, jumpMultiplierPerBlock, kink);\\n }\\n\\n /**\\n * @notice Calculates the current borrow rate per block, with the error code expected by the market\\n * @param cash The amount of cash in the market\\n * @param borrows The amount of borrows in the market\\n * @param reserves The amount of reserves in the market\\n * @param badDebt The amount of badDebt in the market\\n * @return The borrow rate percentage per block as a mantissa (scaled by EXP_SCALE)\\n */\\n function _getBorrowRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 badDebt\\n ) internal view returns (uint256) {\\n uint256 util = utilizationRate(cash, borrows, reserves, badDebt);\\n uint256 kink_ = kink;\\n\\n if (util <= kink_) {\\n return ((util * multiplierPerBlock) / EXP_SCALE) + baseRatePerBlock;\\n }\\n uint256 normalRate = ((kink_ * multiplierPerBlock) / EXP_SCALE) + baseRatePerBlock;\\n uint256 excessUtil;\\n unchecked {\\n excessUtil = util - kink_;\\n }\\n return ((excessUtil * jumpMultiplierPerBlock) / EXP_SCALE) + normalRate;\\n }\\n}\\n\",\"keccak256\":\"0xa2fa0aae39306f3c8ddf1c3b2fefffa15ce68406315cd95ebe2c2ac4263e7f16\",\"license\":\"BSD-3-Clause\"},\"contracts/InterestRateModel.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.13;\\n\\n/**\\n * @title Compound's InterestRateModel Interface\\n * @author Compound\\n */\\nabstract contract InterestRateModel {\\n /**\\n * @notice Calculates the current borrow interest rate per block\\n * @param cash The total amount of cash the market has\\n * @param borrows The total amount of borrows the market has outstanding\\n * @param reserves The total amount of reserves the market has\\n * @param badDebt The amount of badDebt in the market\\n * @return The borrow rate per block (as a percentage, and scaled by 1e18)\\n */\\n function getBorrowRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 badDebt\\n ) external view virtual returns (uint256);\\n\\n /**\\n * @notice Calculates the current supply interest rate per block\\n * @param cash The total amount of cash the market has\\n * @param borrows The total amount of borrows the market has outstanding\\n * @param reserves The total amount of reserves the market has\\n * @param reserveFactorMantissa The current reserve factor the market has\\n * @param badDebt The amount of badDebt in the market\\n * @return The supply rate per block (as a percentage, and scaled by 1e18)\\n */\\n function getSupplyRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 reserveFactorMantissa,\\n uint256 badDebt\\n ) external view virtual returns (uint256);\\n\\n /**\\n * @notice Indicator that this is an InterestRateModel contract (for inspection)\\n * @return Always true\\n */\\n function isInterestRateModel() external pure virtual returns (bool) {\\n return true;\\n }\\n}\\n\",\"keccak256\":\"0x60ea8b0b70165acc3cf0f1e92f8dcea93ef5ddc2b8b99172799594aeec7c22b5\",\"license\":\"BSD-3-Clause\"},\"contracts/JumpRateModelV2.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.13;\\n\\nimport { IAccessControlManagerV8 } from \\\"@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol\\\";\\n\\nimport { BaseJumpRateModelV2 } from \\\"./BaseJumpRateModelV2.sol\\\";\\n\\n/**\\n * @title Compound's JumpRateModel Contract V2 for V2 vTokens\\n * @author Arr00\\n * @notice Supports only for V2 vTokens\\n */\\ncontract JumpRateModelV2 is BaseJumpRateModelV2 {\\n constructor(\\n uint256 blocksPerYear_,\\n uint256 baseRatePerYear,\\n uint256 multiplierPerYear,\\n uint256 jumpMultiplierPerYear,\\n uint256 kink_,\\n IAccessControlManagerV8 accessControlManager_\\n )\\n BaseJumpRateModelV2(\\n blocksPerYear_,\\n baseRatePerYear,\\n multiplierPerYear,\\n jumpMultiplierPerYear,\\n kink_,\\n accessControlManager_\\n )\\n /* solhint-disable-next-line no-empty-blocks */\\n {\\n\\n }\\n\\n /**\\n * @notice Calculates the current borrow rate per block\\n * @param cash The amount of cash in the market\\n * @param borrows The amount of borrows in the market\\n * @param reserves The amount of reserves in the market\\n * @param badDebt The amount of badDebt in the market\\n * @return The borrow rate percentage per block as a mantissa (scaled by 1e18)\\n */\\n function getBorrowRate(\\n uint256 cash,\\n uint256 borrows,\\n uint256 reserves,\\n uint256 badDebt\\n ) external view override returns (uint256) {\\n return _getBorrowRate(cash, borrows, reserves, badDebt);\\n }\\n}\\n\",\"keccak256\":\"0x4bac8ea1ed2dad59939317cc9e1a76fd55de6a745df29802f52cd97cf1c5a1ac\",\"license\":\"BSD-3-Clause\"},\"contracts/lib/constants.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.13;\\n\\n/// @dev Base unit for computations, usually used in scaling (multiplications, divisions)\\nuint256 constant EXP_SCALE = 1e18;\\n\\n/// @dev A unit (literal one) in EXP_SCALE, usually used in additions/subtractions\\nuint256 constant MANTISSA_ONE = EXP_SCALE;\\n\",\"keccak256\":\"0x44de02d7837ee1d4dcf6e9f5e783e9d9e0bec0154f23f5661fb54810cff9f892\",\"license\":\"BSD-3-Clause\"}},\"version\":1}",
|
|
357
357
|
"bytecode": "0x60a060405234801561001057600080fd5b506040516109ca3803806109ca83398101604081905261002f916101a9565b8585858585856001600160a01b0381166100905760405162461bcd60e51b815260206004820152601360248201527f696e76616c69642041434d20616464726573730000000000000000000000000060448201526064015b60405180910390fd5b856000036100e05760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420626c6f636b732070657220796561720000000000000000006044820152606401610087565b600080546001600160a01b0319166001600160a01b038316179055608086905261010c8585858561011d565b50505050505050505050505061022f565b60805161012a908561020d565b60025560805161013a908461020d565b60015560805161014a908361020d565b60038190556004829055600254600154604080519283526020830191909152810191909152606081018290527f6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d9060800160405180910390a150505050565b60008060008060008060c087890312156101c257600080fd5b86516020880151604089015160608a015160808b015160a08c0151949a50929850909650945092506001600160a01b03811681146101ff57600080fd5b809150509295509295509295565b60008261022a57634e487b7160e01b600052601260045260246000fd5b500490565b60805161076b61025f6000396000818161012c0152818161046a0152818161049701526104c4015261076b6000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638726bb89116100715780638726bb891461011e578063a385fb9614610127578063b4a0bdf31461014e578063b9f9850a14610179578063f14039de14610182578063fd2da3391461018b57600080fd5b8063073b8a74146100ae5780630cde8d1c146100d45780632037f3e7146100e75780632191f92a146100fc57806370d3c43f1461010b575b600080fd5b6100c16100bc366004610548565b610194565b6040519081526020015b60405180910390f35b6100c16100e236600461057a565b6101ad565b6100fa6100f5366004610548565b610240565b005b604051600181526020016100cb565b6100c1610119366004610548565b610317565b6100c160015481565b6100c17f000000000000000000000000000000000000000000000000000000000000000081565b600054610161906001600160a01b031681565b6040516001600160a01b0390911681526020016100cb565b6100c160035481565b6100c160025481565b6100c160045481565b60006101a2858585856103a0565b90505b949350505050565b6000806101c284670de0b6b3a76400006105cb565b905060006101d2888888876103a0565b90506000670de0b6b3a76400006101e984846105e2565b6101f39190610601565b90506000610201828a6105e2565b9050600088876102118c8e610623565b61021b9190610623565b61022591906105cb565b90506102318183610601565b9b9a5050505050505050505050565b600060405180606001604052806034815260200161070260349139600080546040516318c5e8ab60e01b815292935090916001600160a01b03909116906318c5e8ab906102939033908690600401610688565b602060405180830381865afa1580156102b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d491906106ac565b90508061030357333083604051634a3fa29360e01b81526004016102fa939291906106d5565b60405180910390fd5b61030f86868686610465565b505050505050565b60006103238285610623565b600003610332575060006101a5565b600083836103408789610623565b61034a9190610623565b61035491906105cb565b670de0b6b3a76400006103678588610623565b61037191906105e2565b61037b9190610601565b9050670de0b6b3a76400008111156101a25750670de0b6b3a764000095945050505050565b6000806103af86868686610317565b6004549091508082116103f357600254670de0b6b3a7640000600154846103d691906105e2565b6103e09190610601565b6103ea9190610623565b925050506101a5565b6000600254670de0b6b3a76400006001548461040f91906105e2565b6104199190610601565b6104239190610623565b90506000828403905081670de0b6b3a76400006003548361044491906105e2565b61044e9190610601565b6104589190610623565b9998505050505050505050565b61048f7f000000000000000000000000000000000000000000000000000000000000000085610601565b6002556104bc7f000000000000000000000000000000000000000000000000000000000000000084610601565b6001556104e97f000000000000000000000000000000000000000000000000000000000000000083610601565b60038190556004829055600254600154604080519283526020830191909152810191909152606081018290527f6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d9060800160405180910390a150505050565b6000806000806080858703121561055e57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600060a0868803121561059257600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b634e487b7160e01b600052601160045260246000fd5b6000828210156105dd576105dd6105b5565b500390565b60008160001904831182151516156105fc576105fc6105b5565b500290565b60008261061e57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610636576106366105b5565b500190565b6000815180845260005b8181101561066157602081850181015186830182015201610645565b81811115610673576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03831681526040602082018190526000906101a59083018461063b565b6000602082840312156106be57600080fd5b815180151581146106ce57600080fd5b9392505050565b6001600160a01b038481168252831660208201526060604082018190526000906101a29083018461063b56fe7570646174654a756d70526174654d6f64656c2875696e743235362c75696e743235362c75696e743235362c75696e7432353629a2646970667358221220b75bf1d0074ed366d2d57edf624e0b49ebdf2d5a91d67cfcef99da40658b1d9864736f6c634300080d0033",
|
|
358
358
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638726bb89116100715780638726bb891461011e578063a385fb9614610127578063b4a0bdf31461014e578063b9f9850a14610179578063f14039de14610182578063fd2da3391461018b57600080fd5b8063073b8a74146100ae5780630cde8d1c146100d45780632037f3e7146100e75780632191f92a146100fc57806370d3c43f1461010b575b600080fd5b6100c16100bc366004610548565b610194565b6040519081526020015b60405180910390f35b6100c16100e236600461057a565b6101ad565b6100fa6100f5366004610548565b610240565b005b604051600181526020016100cb565b6100c1610119366004610548565b610317565b6100c160015481565b6100c17f000000000000000000000000000000000000000000000000000000000000000081565b600054610161906001600160a01b031681565b6040516001600160a01b0390911681526020016100cb565b6100c160035481565b6100c160025481565b6100c160045481565b60006101a2858585856103a0565b90505b949350505050565b6000806101c284670de0b6b3a76400006105cb565b905060006101d2888888876103a0565b90506000670de0b6b3a76400006101e984846105e2565b6101f39190610601565b90506000610201828a6105e2565b9050600088876102118c8e610623565b61021b9190610623565b61022591906105cb565b90506102318183610601565b9b9a5050505050505050505050565b600060405180606001604052806034815260200161070260349139600080546040516318c5e8ab60e01b815292935090916001600160a01b03909116906318c5e8ab906102939033908690600401610688565b602060405180830381865afa1580156102b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d491906106ac565b90508061030357333083604051634a3fa29360e01b81526004016102fa939291906106d5565b60405180910390fd5b61030f86868686610465565b505050505050565b60006103238285610623565b600003610332575060006101a5565b600083836103408789610623565b61034a9190610623565b61035491906105cb565b670de0b6b3a76400006103678588610623565b61037191906105e2565b61037b9190610601565b9050670de0b6b3a76400008111156101a25750670de0b6b3a764000095945050505050565b6000806103af86868686610317565b6004549091508082116103f357600254670de0b6b3a7640000600154846103d691906105e2565b6103e09190610601565b6103ea9190610623565b925050506101a5565b6000600254670de0b6b3a76400006001548461040f91906105e2565b6104199190610601565b6104239190610623565b90506000828403905081670de0b6b3a76400006003548361044491906105e2565b61044e9190610601565b6104589190610623565b9998505050505050505050565b61048f7f000000000000000000000000000000000000000000000000000000000000000085610601565b6002556104bc7f000000000000000000000000000000000000000000000000000000000000000084610601565b6001556104e97f000000000000000000000000000000000000000000000000000000000000000083610601565b60038190556004829055600254600154604080519283526020830191909152810191909152606081018290527f6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d9060800160405180910390a150505050565b6000806000806080858703121561055e57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600060a0868803121561059257600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b634e487b7160e01b600052601160045260246000fd5b6000828210156105dd576105dd6105b5565b500390565b60008160001904831182151516156105fc576105fc6105b5565b500290565b60008261061e57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610636576106366105b5565b500190565b6000815180845260005b8181101561066157602081850181015186830182015201610645565b81811115610673576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03831681526040602082018190526000906101a59083018461063b565b6000602082840312156106be57600080fd5b815180151581146106ce57600080fd5b9392505050565b6001600160a01b038481168252831660208201526060604082018190526000906101a29083018461063b56fe7570646174654a756d70526174654d6f64656c2875696e743235362c75696e743235362c75696e743235362c75696e7432353629a2646970667358221220b75bf1d0074ed366d2d57edf624e0b49ebdf2d5a91d67cfcef99da40658b1d9864736f6c634300080d0033",
|
|
@@ -463,15 +463,15 @@
|
|
|
463
463
|
"storageLayout": {
|
|
464
464
|
"storage": [
|
|
465
465
|
{
|
|
466
|
-
"astId":
|
|
466
|
+
"astId": 14636,
|
|
467
467
|
"contract": "contracts/JumpRateModelV2.sol:JumpRateModelV2",
|
|
468
468
|
"label": "accessControlManager",
|
|
469
469
|
"offset": 0,
|
|
470
470
|
"slot": "0",
|
|
471
|
-
"type": "t_contract(IAccessControlManagerV8)
|
|
471
|
+
"type": "t_contract(IAccessControlManagerV8)6331"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
|
-
"astId":
|
|
474
|
+
"astId": 14639,
|
|
475
475
|
"contract": "contracts/JumpRateModelV2.sol:JumpRateModelV2",
|
|
476
476
|
"label": "multiplierPerBlock",
|
|
477
477
|
"offset": 0,
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"type": "t_uint256"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
|
-
"astId":
|
|
482
|
+
"astId": 14642,
|
|
483
483
|
"contract": "contracts/JumpRateModelV2.sol:JumpRateModelV2",
|
|
484
484
|
"label": "baseRatePerBlock",
|
|
485
485
|
"offset": 0,
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"type": "t_uint256"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
"astId":
|
|
490
|
+
"astId": 14645,
|
|
491
491
|
"contract": "contracts/JumpRateModelV2.sol:JumpRateModelV2",
|
|
492
492
|
"label": "jumpMultiplierPerBlock",
|
|
493
493
|
"offset": 0,
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
"type": "t_uint256"
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
|
-
"astId":
|
|
498
|
+
"astId": 14648,
|
|
499
499
|
"contract": "contracts/JumpRateModelV2.sol:JumpRateModelV2",
|
|
500
500
|
"label": "kink",
|
|
501
501
|
"offset": 0,
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
}
|
|
505
505
|
],
|
|
506
506
|
"types": {
|
|
507
|
-
"t_contract(IAccessControlManagerV8)
|
|
507
|
+
"t_contract(IAccessControlManagerV8)6331": {
|
|
508
508
|
"encoding": "inplace",
|
|
509
509
|
"label": "contract IAccessControlManagerV8",
|
|
510
510
|
"numberOfBytes": "20"
|