Skip to content

Commit

Permalink
Beanstalk3 token state (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 authored Aug 25, 2024
2 parents c2c540e + 08661df commit 11b19af
Show file tree
Hide file tree
Showing 124 changed files with 2,121 additions and 1,944 deletions.
104 changes: 91 additions & 13 deletions protocol/abi/Beanstalk.json
Original file line number Diff line number Diff line change
Expand Up @@ -7307,6 +7307,60 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IERC20[]",
"name": "tokens",
"type": "address[]"
}
],
"name": "getBeanIndex",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBeanstalkTokens",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "bean",
"type": "address"
},
{
"internalType": "address",
"name": "fertilizer",
"type": "address"
},
{
"internalType": "address",
"name": "urBean",
"type": "address"
},
{
"internalType": "address",
"name": "urLp",
"type": "address"
}
],
"internalType": "struct Tokens",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -7664,6 +7718,30 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "well",
"type": "address"
}
],
"name": "getNonBeanTokenAndIndexFromWell",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -9149,19 +9227,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBeanEthGaugePointsPerBdv",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBeanGaugePointsPerBdv",
Expand Down Expand Up @@ -9421,6 +9486,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLargestGpPerBdv",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLargestLiqWell",
Expand Down
Loading

0 comments on commit 11b19af

Please sign in to comment.