Skip to content

Commit

Permalink
add LibGerminate events
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Apr 9, 2024
1 parent 14271ca commit 16bb99b
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 3 deletions.
124 changes: 121 additions & 3 deletions protocol/abi/Beanstalk.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
},
{
"inputs": [],
"name": "getLockedBeansUnderlyingUnripeBeanEth",
"name": "getLockedBeansUnderlyingUnripeLP",
"outputs": [
{
"internalType": "uint256",
Expand Down Expand Up @@ -592,6 +592,30 @@
"name": "SetFertilizer",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenAmountIn",
"type": "uint256"
},
{
"internalType": "address",
"name": "barnRaiseToken",
"type": "address"
}
],
"name": "_getMintFertilizerOut",
"outputs": [
{
"internalType": "uint256",
"name": "fertilizerAmountOut",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -725,6 +749,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "well",
"type": "address"
}
],
"name": "beginBarnRaiseMigration",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -756,6 +793,32 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBarnRaiseToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBarnRaiseWell",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentHumidity",
Expand Down Expand Up @@ -875,7 +938,7 @@
"inputs": [
{
"internalType": "uint256",
"name": "wethAmountIn",
"name": "tokenAmountIn",
"type": "uint256"
}
],
Expand Down Expand Up @@ -926,7 +989,7 @@
"inputs": [
{
"internalType": "uint256",
"name": "wethAmountIn",
"name": "tokenAmountIn",
"type": "uint256"
},
{
Expand Down Expand Up @@ -7113,6 +7176,56 @@
"name": "SeedsBalanceChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "int256",
"name": "delta",
"type": "int256"
}
],
"name": "FarmerGerminatingStalkBalanceChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "season",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "int256",
"name": "delta",
"type": "int256"
},
{
"indexed": false,
"internalType": "int256",
"name": "deltaBdv",
"type": "int256"
}
],
"name": "TotalGerminatingBalanceChanged",
"type": "event"
},
{
"inputs": [],
"name": "maxWeight",
Expand Down Expand Up @@ -7664,6 +7777,11 @@
"name": "stemScaleSeason",
"type": "uint16"
},
{
"internalType": "uint32",
"name": "beanEthStartMintingSeason",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "start",
Expand Down
1 change: 1 addition & 0 deletions protocol/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ task("diamondABI", "Generates ABI file for diamond, includes all ABIs of facets"
files.push("contracts/libraries/Silo/LibWhitelist.sol")
files.push("contracts/libraries/LibGauge.sol")
files.push("contracts/libraries/Silo/LibLegacyTokenSilo.sol")
files.push("contracts/libraries/Silo/LibGerminate.sol")
}
files.forEach((file) => {
const facetName = getFacetName(file);
Expand Down

0 comments on commit 16bb99b

Please sign in to comment.