Skip to content

Commit

Permalink
feat: updating deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
Debugger022 authored and github-actions[bot] committed May 9, 2024
1 parent 8752d7c commit 4357bb2
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 36 deletions.
87 changes: 76 additions & 11 deletions deployments/bscmainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -6439,8 +6439,47 @@
]
},
"PoolLens": {
"address": "0x0461c613433d42C06831C8e60Bf0C86FC9495072",
"address": "0xcD170B0638332242F7307a1Bc75E872738CEF7Cc",
"abi": [
{
"inputs": [
{
"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": [],
"name": "blocksOrSecondsPerYear",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -6527,12 +6566,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -6614,6 +6653,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBlockNumberOrTimestamp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -6811,12 +6863,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -7016,12 +7068,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -7156,6 +7208,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "isTimeBased",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -7292,12 +7357,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -7398,12 +7463,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down
2 changes: 1 addition & 1 deletion deployments/bscmainnet_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"JumpRateModelV2_base300bps_slope1000bps_jump25000bps_kink6000bps": "0xb8ad657E3A95BF95283b764E495BDD64605Cbb14",
"JumpRateModelV2_base350bps_slope1000bps_jump30000bps_kink8000bps": "0x399984959c003A75765a6344B3469818f9657C68",
"NativeTokenGateway_vWBNB_LiquidStakedBNB": "0x24896601A4bf1b6a27E51Cb3eff750Bd9FE00d08",
"PoolLens": "0x0461c613433d42C06831C8e60Bf0C86FC9495072",
"PoolLens": "0xcD170B0638332242F7307a1Bc75E872738CEF7Cc",
"PoolLensR1": "0x25E215CcE40bD849B7c286912B85212F984Ff1e0",
"PoolLensR2": "0x0461c613433d42C06831C8e60Bf0C86FC9495072",
"PoolRegistry": "0x9F7b01A536aFA00EF10310A162877fd792cD0666",
Expand Down
87 changes: 76 additions & 11 deletions deployments/ethereum.json
Original file line number Diff line number Diff line change
Expand Up @@ -7434,8 +7434,47 @@
]
},
"PoolLens": {
"address": "0x57bea400aE7E51855a2e1E1523475d9d2eB0742F",
"address": "0x50695E540E87ceB4E39239C27B9ab160C5aaDd9D",
"abi": [
{
"inputs": [
{
"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": [],
"name": "blocksOrSecondsPerYear",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -7522,12 +7561,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -7609,6 +7648,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBlockNumberOrTimestamp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -7806,12 +7858,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -8011,12 +8063,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -8151,6 +8203,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "isTimeBased",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -8287,12 +8352,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down Expand Up @@ -8393,12 +8458,12 @@
},
{
"internalType": "uint256",
"name": "supplyRatePerBlock",
"name": "supplyRatePerBlockOrTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRatePerBlock",
"name": "borrowRatePerBlockOrTimestamp",
"type": "uint256"
},
{
Expand Down
2 changes: 1 addition & 1 deletion deployments/ethereum_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps": "0xd7fbFD2A36b8b388E6d04C7a05956Df91862E146",
"NativeTokenGateway_vWETH_Core": "0x044dd75b9E043ACFD2d6EB56b6BB814df2a9c809",
"NativeTokenGateway_vWETH_LiquidStakedETH": "0xBC1471308eb2287eBE137420Eb1664A964895D21",
"PoolLens": "0x57bea400aE7E51855a2e1E1523475d9d2eB0742F",
"PoolLens": "0x50695E540E87ceB4E39239C27B9ab160C5aaDd9D",
"PoolRegistry": "0x61CAff113CCaf05FFc6540302c37adcf077C5179",
"PoolRegistry_Implementation": "0x08A2577611Ae63d1ba40188035eD6Ad21F8502A9",
"PoolRegistry_Proxy": "0x61CAff113CCaf05FFc6540302c37adcf077C5179",
Expand Down
Loading

0 comments on commit 4357bb2

Please sign in to comment.