Skip to content

Commit

Permalink
Merge pull request #451 from VenusProtocol/feat/ven-2924
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover authored Nov 14, 2024
2 parents 116360b + d74c45f commit 87d4c84
Show file tree
Hide file tree
Showing 15 changed files with 4,698 additions and 16 deletions.
360 changes: 360 additions & 0 deletions deployments/arbitrumone.json
Original file line number Diff line number Diff line change
Expand Up @@ -2906,6 +2906,366 @@
}
]
},
"JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
"address": "0x425dde630be832195619a06175ba45C827Dd3DCa",
"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_jump25000bps_kink8000bps": {
"address": "0x305f960b00594200ed80373B61b38e669651469E",
"abi": [
Expand Down
Loading

0 comments on commit 87d4c84

Please sign in to comment.