Skip to content

Commit

Permalink
Merge branch 'feat/ven-2924' of github.com:VenusProtocol/isolated-poo…
Browse files Browse the repository at this point in the history
…ls into feat/ven-2924
  • Loading branch information
web3rover committed Nov 5, 2024
2 parents 938d5bf + e5f4fba commit b13b2c4
Show file tree
Hide file tree
Showing 6 changed files with 1,083 additions and 0 deletions.
360 changes: 360 additions & 0 deletions deployments/bscmainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -3914,6 +3914,366 @@
}
]
},
"JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
"address": "0x49a06B82b3c907AB140879F73f1d8dE262962c30",
"abi": [
{
"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"
},
{
"internalType": "contract IAccessControlManagerV8",
"name": "accessControlManager_",
"type": "address"
},
{
"internalType": "bool",
"name": "timeBased_",
"type": "bool"
},
{
"internalType": "uint256",
"name": "blocksPerYear_",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "InvalidBlocksPerYear",
"type": "error"
},
{
"inputs": [],
"name": "InvalidTimeBasedConfiguration",
"type": "error"
},
{
"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": "baseRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "multiplierPerBlockOrTimestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "jumpMultiplierPerBlockOrTimestamp",
"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": "blocksOrSecondsPerYear",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBlockNumberOrTimestamp",
"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": "isTimeBased",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"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"
}
]
},
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
"address": "0xf03DAB984aCC5761df5f71Cc67fEA8F185f578fd",
"abi": [
Expand Down
1 change: 1 addition & 0 deletions deployments/bscmainnet_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps": "0x2ba0F45f7368d2A56d0c9e5a29af363987BE1d02",
"JumpRateModelV2_base0bps_slope1250bps_jump25000bps_kink8000bps": "0x5E0dB1e8a6D6181aa39B3317179CDF91FBa4Ac51",
"JumpRateModelV2_base0bps_slope1750bps_jump25000bps_kink8000bps": "0xDdeb3556b325D5578575c6eF0F855b73D2323E34",
"JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": "0x49a06B82b3c907AB140879F73f1d8dE262962c30",
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": "0xf03DAB984aCC5761df5f71Cc67fEA8F185f578fd",
"JumpRateModelV2_base0bps_slope375bps_jump25000bps_kink8000bps": "0xb36b273601Ac5e0CaBD0845b7B8caa3426611Ca0",
"JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps": "0x7DE84548C2BaDC047C5e7F0B7f9a4ba660d10dAD",
Expand Down
Loading

0 comments on commit b13b2c4

Please sign in to comment.