Skip to content

Commit

Permalink
fix hardhat tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed May 30, 2024
1 parent bc0032f commit 9d24dd0
Show file tree
Hide file tree
Showing 11 changed files with 418 additions and 259 deletions.
142 changes: 142 additions & 0 deletions protocol/abi/Beanstalk.json
Original file line number Diff line number Diff line change
Expand Up @@ -8089,6 +8089,148 @@
"stateMutability": "payable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "enum ShipmentRecipient",
"name": "recipient",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "receivedAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "Receipt",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint32",
"name": "season",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "shipmentAmount",
"type": "uint256"
}
],
"name": "Shipped",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "shipmentAmounts",
"type": "uint256[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "points",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "cap",
"type": "uint256"
}
],
"internalType": "struct ShipmentPlan[]",
"name": "shipmentPlans",
"type": "tuple[]"
},
{
"internalType": "uint256",
"name": "totalPoints",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "beansToShip",
"type": "uint256"
}
],
"name": "getBeansFromPoints",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "planContract",
"type": "address"
},
{
"internalType": "bytes4",
"name": "planSelector",
"type": "bytes4"
},
{
"internalType": "enum ShipmentRecipient",
"name": "recipient",
"type": "ShipmentRecipient"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct ShipmentRoute[]",
"name": "shipmentRoutes",
"type": "tuple[]"
}
],
"name": "getShipmentPlans",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "points",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "cap",
"type": "uint256"
}
],
"internalType": "struct ShipmentPlan[]",
"name": "shipmentPlans",
"type": "tuple[]"
},
{
"internalType": "uint256",
"name": "totalPoints",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxWeight",
Expand Down
Loading

0 comments on commit 9d24dd0

Please sign in to comment.