diff --git a/projects/ui/src/graph/graphql.schema.json b/projects/ui/src/graph/graphql.schema.json index d1177191e..e0262f1d3 100644 --- a/projects/ui/src/graph/graphql.schema.json +++ b/projects/ui/src/graph/graphql.schema.json @@ -166576,7 +166576,9 @@ "name": "derivedFrom", "description": "creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API.", "isRepeatable": false, - "locations": ["FIELD_DEFINITION"], + "locations": [ + "FIELD_DEFINITION" + ], "args": [ { "name": "field", @@ -166600,14 +166602,20 @@ "name": "entity", "description": "Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive.", "isRepeatable": false, - "locations": ["OBJECT"], + "locations": [ + "OBJECT" + ], "args": [] }, { "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "isRepeatable": false, - "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], "args": [ { "name": "if", @@ -166631,14 +166639,20 @@ "name": "oneOf", "description": "Indicates exactly one field must be supplied and this field must not be `null`.", "isRepeatable": false, - "locations": ["INPUT_OBJECT"], + "locations": [ + "INPUT_OBJECT" + ], "args": [] }, { "name": "skip", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "isRepeatable": false, - "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], "args": [ { "name": "if", @@ -166662,7 +166676,9 @@ "name": "specifiedBy", "description": "Exposes a URL that specifies the behavior of this scalar.", "isRepeatable": false, - "locations": ["SCALAR"], + "locations": [ + "SCALAR" + ], "args": [ { "name": "url", @@ -166686,7 +166702,9 @@ "name": "subgraphId", "description": "Defined a Subgraph ID for an object type", "isRepeatable": false, - "locations": ["OBJECT"], + "locations": [ + "OBJECT" + ], "args": [ { "name": "id", @@ -166708,4 +166726,4 @@ } ] } -} +} \ No newline at end of file diff --git a/protocol/abi/Beanstalk.json b/protocol/abi/Beanstalk.json index c5945020b..ffd90c0dd 100644 --- a/protocol/abi/Beanstalk.json +++ b/protocol/abi/Beanstalk.json @@ -4450,43 +4450,6 @@ "stateMutability": "payable", "type": "function" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "indexed": false, - "internalType": "int96", - "name": "stem", - "type": "int96" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "bdv", - "type": "uint256" - } - ], - "name": "AddDeposit", - "type": "event" - }, { "anonymous": false, "inputs": [ @@ -4704,43 +4667,6 @@ "name": "TransferBatch", "type": "event" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "depositId", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, { "inputs": [ { @@ -4934,6 +4860,35 @@ "stateMutability": "payable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "well", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "reserves", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "lookback", + "type": "uint256" + } + ], + "name": "calculateDeltaBFromReserves", + "outputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -8056,9 +8011,9 @@ "type": "bytes1" }, { - "internalType": "int24", + "internalType": "int32", "name": "deltaStalkEarnedPerSeason", - "type": "int24" + "type": "int32" }, { "internalType": "uint128", @@ -8185,6 +8140,80 @@ "stateMutability": "view", "type": "function" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "int96", + "name": "stem", + "type": "int96" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "bdv", + "type": "uint256" + } + ], + "name": "AddDeposit", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "TransferSingle", + "type": "event" + }, { "inputs": [ { @@ -9102,30 +9131,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "percentOfDepositedBdv", - "type": "uint256" - } - ], - "name": "calcGaugePointsWithParams", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -9184,47 +9189,74 @@ "type": "function" }, { - "inputs": [], - "name": "getAverageGrownStalkPerBdv", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], + "name": "getCaseData", + "outputs": [ + { + "internalType": "bytes32", + "name": "casesData", + "type": "bytes32" + } + ], "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "getAverageGrownStalkPerBdvPerSeason", + "name": "getCases", "outputs": [ { - "internalType": "uint128", - "name": "", - "type": "uint128" + "internalType": "bytes32[144]", + "name": "cases", + "type": "bytes32[144]" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [], - "name": "getBeanGaugePointsPerBdv", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], + "name": "getChangeFromCaseId", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + }, + { + "internalType": "int8", + "name": "", + "type": "int8" + }, + { + "internalType": "uint80", + "name": "", + "type": "uint80" + }, + { + "internalType": "int80", + "name": "", + "type": "int80" + } + ], "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "getBeanToMaxLpGpPerBdvRatio", + "name": "getDeltaPodDemandLowerBound", "outputs": [ { "internalType": "uint256", @@ -9237,112 +9269,7 @@ }, { "inputs": [], - "name": "getBeanToMaxLpGpPerBdvRatioScaled", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getCaseData", - "outputs": [ - { - "internalType": "bytes32", - "name": "casesData", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getCases", - "outputs": [ - { - "internalType": "bytes32[144]", - "name": "cases", - "type": "bytes32[144]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getChangeFromCaseId", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - }, - { - "internalType": "int8", - "name": "", - "type": "int8" - }, - { - "internalType": "uint80", - "name": "", - "type": "uint80" - }, - { - "internalType": "int80", - "name": "", - "type": "int80" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDeltaPodDemand", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDeltaPodDemandLowerBound", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDeltaPodDemandUpperBound", + "name": "getDeltaPodDemandUpperBound", "outputs": [ { "internalType": "uint256", @@ -9456,121 +9383,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePoints", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePointsPerBdvForToken", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "well", - "type": "address" - } - ], - "name": "getGaugePointsPerBdvForWell", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePointsWithParams", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getGrownStalkIssuedPerGp", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getGrownStalkIssuedPerSeason", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLargestGpPerBdv", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getLargestLiqWell", @@ -9584,19 +9396,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getLiquidityToSupplyRatio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getLpToSupplyRatioLowerBound", @@ -9662,25 +9461,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - } - ], - "name": "getPodRate", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getPodRateLowerBound", @@ -9863,37 +9643,7 @@ }, { "inputs": [], - "name": "getSeedGauge", - "outputs": [ - { - "components": [ - { - "internalType": "uint128", - "name": "averageGrownStalkPerBdvPerSeason", - "type": "uint128" - }, - { - "internalType": "uint128", - "name": "beanToMaxLpGpPerBdvRatio", - "type": "uint128" - }, - { - "internalType": "bytes32[4]", - "name": "_buffer", - "type": "bytes32[4]" - } - ], - "internalType": "struct SeedGauge", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getTargetSeasonsToCatchUp", + "name": "getTargetSeasonsToCatchUp", "outputs": [ { "internalType": "uint256", @@ -9904,19 +9654,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getTotalBdv", - "outputs": [ - { - "internalType": "uint256", - "name": "totalBdv", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getTotalUsdLiquidity", @@ -10472,64 +10209,342 @@ "type": "int8" }, { - "indexed": false, + "indexed": false, + "internalType": "uint256", + "name": "fieldId", + "type": "uint256" + } + ], + "name": "TemperatureChange", + "type": "event" + }, + { + "inputs": [], + "name": "getShipmentRoutes", + "outputs": [ + { + "components": [ + { + "internalType": "address", + "name": "planContract", + "type": "address" + }, + { + "internalType": "bytes4", + "name": "planSelector", + "type": "bytes4" + }, + { + "internalType": "enum ShipmentRecipient", + "name": "recipient", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "internalType": "struct ShipmentRoute[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "enum LibTransfer.To", + "name": "mode", + "type": "uint8" + } + ], + "name": "gm", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "seasonTime", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "planContract", + "type": "address" + }, + { + "internalType": "bytes4", + "name": "planSelector", + "type": "bytes4" + }, + { + "internalType": "enum ShipmentRecipient", + "name": "recipient", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "internalType": "struct ShipmentRoute[]", + "name": "shipmentRoutes", + "type": "tuple[]" + } + ], + "name": "setShipmentRoutes", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "sunrise", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "percentOfDepositedBdv", + "type": "uint256" + } + ], + "name": "calcGaugePointsWithParams", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAverageGrownStalkPerBdv", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAverageGrownStalkPerBdvPerSeason", + "outputs": [ + { + "internalType": "uint128", + "name": "", + "type": "uint128" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanGaugePointsPerBdv", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanToMaxLpGpPerBdvRatio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanToMaxLpGpPerBdvRatioScaled", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDeltaPodDemand", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePoints", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePointsPerBdvForToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "well", + "type": "address" + } + ], + "name": "getGaugePointsPerBdvForWell", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePointsWithParams", + "outputs": [ + { "internalType": "uint256", - "name": "fieldId", + "name": "", "type": "uint256" } ], - "name": "TemperatureChange", - "type": "event" + "stateMutability": "view", + "type": "function" }, { "inputs": [], - "name": "getShipmentRoutes", + "name": "getGrownStalkIssuedPerGp", "outputs": [ { - "components": [ - { - "internalType": "address", - "name": "planContract", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "planSelector", - "type": "bytes4" - }, - { - "internalType": "enum ShipmentRecipient", - "name": "recipient", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "internalType": "struct ShipmentRoute[]", + "internalType": "uint256", "name": "", - "type": "tuple[]" + "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, + "inputs": [], + "name": "getGrownStalkIssuedPerSeason", + "outputs": [ { - "internalType": "enum LibTransfer.To", - "name": "mode", - "type": "uint8" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "name": "gm", + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLargestGpPerBdv", "outputs": [ { "internalType": "uint256", @@ -10537,17 +10552,17 @@ "type": "uint256" } ], - "stateMutability": "payable", + "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "seasonTime", + "name": "getLiquidityToSupplyRatio", "outputs": [ { - "internalType": "uint32", + "internalType": "uint256", "name": "", - "type": "uint32" + "type": "uint256" } ], "stateMutability": "view", @@ -10555,50 +10570,64 @@ }, { "inputs": [ + { + "internalType": "uint256", + "name": "fieldId", + "type": "uint256" + } + ], + "name": "getPodRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSeedGauge", + "outputs": [ { "components": [ { - "internalType": "address", - "name": "planContract", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "planSelector", - "type": "bytes4" + "internalType": "uint128", + "name": "averageGrownStalkPerBdvPerSeason", + "type": "uint128" }, { - "internalType": "enum ShipmentRecipient", - "name": "recipient", - "type": "uint8" + "internalType": "uint128", + "name": "beanToMaxLpGpPerBdvRatio", + "type": "uint128" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "internalType": "bytes32[4]", + "name": "_buffer", + "type": "bytes32[4]" } ], - "internalType": "struct ShipmentRoute[]", - "name": "shipmentRoutes", - "type": "tuple[]" + "internalType": "struct SeedGauge", + "name": "", + "type": "tuple" } ], - "name": "setShipmentRoutes", - "outputs": [], - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "sunrise", + "name": "getTotalBdv", "outputs": [ { "internalType": "uint256", - "name": "", + "name": "totalBdv", "type": "uint256" } ], - "stateMutability": "payable", + "stateMutability": "view", "type": "function" }, { @@ -11376,68 +11405,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "orderer", - "type": "address" - }, - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - }, - { - "internalType": "uint24", - "name": "pricePerPod", - "type": "uint24" - }, - { - "internalType": "uint256", - "name": "maxPlaceInLine", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minFillAmount", - "type": "uint256" - } - ], - "internalType": "struct Order.PodOrder", - "name": "podOrder", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "beanAmount", - "type": "uint256" - } - ], - "internalType": "struct L1RecieverFacet.L1PodOrder[]", - "name": "orders", - "type": "tuple[]" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "name": "issuePodOrders", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [ { @@ -11573,74 +11540,6 @@ "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "orderer", - "type": "address" - }, - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - }, - { - "internalType": "uint24", - "name": "pricePerPod", - "type": "uint24" - }, - { - "internalType": "uint256", - "name": "maxPlaceInLine", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minFillAmount", - "type": "uint256" - } - ], - "internalType": "struct Order.PodOrder", - "name": "podOrder", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "beanAmount", - "type": "uint256" - } - ], - "internalType": "struct L1RecieverFacet.L1PodOrder[]", - "name": "orders", - "type": "tuple[]" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "name": "verifyOrderProof", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, { "inputs": [ { diff --git a/protocol/abi/MockBeanstalk.json b/protocol/abi/MockBeanstalk.json index 94170ab5d..46a62687f 100644 --- a/protocol/abi/MockBeanstalk.json +++ b/protocol/abi/MockBeanstalk.json @@ -4450,43 +4450,6 @@ "stateMutability": "payable", "type": "function" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "indexed": false, - "internalType": "int96", - "name": "stem", - "type": "int96" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "bdv", - "type": "uint256" - } - ], - "name": "AddDeposit", - "type": "event" - }, { "anonymous": false, "inputs": [ @@ -4704,43 +4667,6 @@ "name": "TransferBatch", "type": "event" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "recipient", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "depositId", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, { "inputs": [ { @@ -4934,6 +4860,35 @@ "stateMutability": "payable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "well", + "type": "address" + }, + { + "internalType": "uint256[]", + "name": "reserves", + "type": "uint256[]" + }, + { + "internalType": "uint256", + "name": "lookback", + "type": "uint256" + } + ], + "name": "calculateDeltaBFromReserves", + "outputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -8056,9 +8011,9 @@ "type": "bytes1" }, { - "internalType": "int24", + "internalType": "int32", "name": "deltaStalkEarnedPerSeason", - "type": "int24" + "type": "int32" }, { "internalType": "uint128", @@ -8185,6 +8140,80 @@ "stateMutability": "view", "type": "function" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "int96", + "name": "stem", + "type": "int96" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "bdv", + "type": "uint256" + } + ], + "name": "AddDeposit", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "TransferSingle", + "type": "event" + }, { "inputs": [ { @@ -8891,30 +8920,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - }, - { - "internalType": "uint256", - "name": "percentOfDepositedBdv", - "type": "uint256" - } - ], - "name": "calcGaugePointsWithParams", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -8973,47 +8978,74 @@ "type": "function" }, { - "inputs": [], - "name": "getAverageGrownStalkPerBdv", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], + "name": "getCaseData", + "outputs": [ + { + "internalType": "bytes32", + "name": "casesData", + "type": "bytes32" + } + ], "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "getAverageGrownStalkPerBdvPerSeason", + "name": "getCases", "outputs": [ { - "internalType": "uint128", - "name": "", - "type": "uint128" + "internalType": "bytes32[144]", + "name": "cases", + "type": "bytes32[144]" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [], - "name": "getBeanGaugePointsPerBdv", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], + "name": "getChangeFromCaseId", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + }, + { + "internalType": "int8", + "name": "", + "type": "int8" + }, + { + "internalType": "uint80", + "name": "", + "type": "uint80" + }, + { + "internalType": "int80", + "name": "", + "type": "int80" + } + ], "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "getBeanToMaxLpGpPerBdvRatio", + "name": "getDeltaPodDemandLowerBound", "outputs": [ { "internalType": "uint256", @@ -9026,7 +9058,7 @@ }, { "inputs": [], - "name": "getBeanToMaxLpGpPerBdvRatioScaled", + "name": "getDeltaPodDemandUpperBound", "outputs": [ { "internalType": "uint256", @@ -9037,67 +9069,91 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getCaseData", - "outputs": [ - { - "internalType": "bytes32", - "name": "casesData", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], - "name": "getCases", - "outputs": [ - { - "internalType": "bytes32[144]", - "name": "cases", - "type": "bytes32[144]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getChangeFromCaseId", + "name": "getEvaluationParameters", "outputs": [ { - "internalType": "uint32", - "name": "", - "type": "uint32" - }, - { - "internalType": "int8", - "name": "", - "type": "int8" - }, - { - "internalType": "uint80", - "name": "", - "type": "uint80" - }, - { - "internalType": "int80", + "components": [ + { + "internalType": "uint256", + "name": "maxBeanMaxLpGpPerBdvRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minBeanMaxLpGpPerBdvRatio", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "targetSeasonsToCatchUp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "podRateLowerBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "podRateOptimal", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "podRateUpperBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "deltaPodDemandLowerBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "deltaPodDemandUpperBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lpToSupplyRatioUpperBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lpToSupplyRatioOptimal", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lpToSupplyRatioLowerBound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "excessivePriceThreshold", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "soilCoefficientHigh", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "soilCoefficientLow", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "baseReward", + "type": "uint256" + } + ], + "internalType": "struct EvaluationParameters", "name": "", - "type": "int80" + "type": "tuple" } ], "stateMutability": "view", @@ -9105,7 +9161,7 @@ }, { "inputs": [], - "name": "getDeltaPodDemand", + "name": "getExcessivePriceThreshold", "outputs": [ { "internalType": "uint256", @@ -9118,12 +9174,12 @@ }, { "inputs": [], - "name": "getDeltaPodDemandLowerBound", + "name": "getLargestLiqWell", "outputs": [ { - "internalType": "uint256", + "internalType": "address", "name": "", - "type": "uint256" + "type": "address" } ], "stateMutability": "view", @@ -9131,7 +9187,7 @@ }, { "inputs": [], - "name": "getDeltaPodDemandUpperBound", + "name": "getLpToSupplyRatioLowerBound", "outputs": [ { "internalType": "uint256", @@ -9144,26 +9200,7 @@ }, { "inputs": [], - "name": "getExcessivePriceThreshold", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePoints", + "name": "getLpToSupplyRatioOptimal", "outputs": [ { "internalType": "uint256", @@ -9175,14 +9212,8 @@ "type": "function" }, { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePointsPerBdvForToken", + "inputs": [], + "name": "getLpToSupplyRatioUpperBound", "outputs": [ { "internalType": "uint256", @@ -9194,14 +9225,8 @@ "type": "function" }, { - "inputs": [ - { - "internalType": "address", - "name": "well", - "type": "address" - } - ], - "name": "getGaugePointsPerBdvForWell", + "inputs": [], + "name": "getMaxBeanMaxLpGpPerBdvRatio", "outputs": [ { "internalType": "uint256", @@ -9213,14 +9238,8 @@ "type": "function" }, { - "inputs": [ - { - "internalType": "address", - "name": "token", - "type": "address" - } - ], - "name": "getGaugePointsWithParams", + "inputs": [], + "name": "getMinBeanMaxLpGpPerBdvRatio", "outputs": [ { "internalType": "uint256", @@ -9233,7 +9252,7 @@ }, { "inputs": [], - "name": "getGrownStalkIssuedPerGp", + "name": "getPodRateLowerBound", "outputs": [ { "internalType": "uint256", @@ -9246,7 +9265,7 @@ }, { "inputs": [], - "name": "getGrownStalkIssuedPerSeason", + "name": "getPodRateOptimal", "outputs": [ { "internalType": "uint256", @@ -9259,7 +9278,7 @@ }, { "inputs": [], - "name": "getLargestGpPerBdv", + "name": "getPodRateUpperBound", "outputs": [ { "internalType": "uint256", @@ -9271,65 +9290,38 @@ "type": "function" }, { - "inputs": [], - "name": "getLargestLiqWell", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLiquidityToSupplyRatio", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLpToSupplyRatioLowerBound", + "name": "getRelBeanToMaxLpRatioChangeFromCaseId", "outputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "internalType": "int80", + "name": "l", + "type": "int80" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [], - "name": "getLpToSupplyRatioOptimal", - "outputs": [ + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "caseId", "type": "uint256" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLpToSupplyRatioUpperBound", + "name": "getRelTemperatureChangeFromCaseId", "outputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "internalType": "uint32", + "name": "mt", + "type": "uint32" } ], "stateMutability": "view", @@ -9337,129 +9329,7 @@ }, { "inputs": [], - "name": "getMaxBeanMaxLpGpPerBdvRatio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMinBeanMaxLpGpPerBdvRatio", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - } - ], - "name": "getPodRate", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getPodRateLowerBound", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getPodRateOptimal", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getPodRateUpperBound", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getRelBeanToMaxLpRatioChangeFromCaseId", - "outputs": [ - { - "internalType": "int80", - "name": "l", - "type": "int80" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "caseId", - "type": "uint256" - } - ], - "name": "getRelTemperatureChangeFromCaseId", - "outputs": [ - { - "internalType": "uint32", - "name": "mt", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getSeasonStruct", + "name": "getSeasonStruct", "outputs": [ { "components": [ @@ -9560,126 +9430,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getSeedGauge", - "outputs": [ - { - "components": [ - { - "internalType": "uint128", - "name": "averageGrownStalkPerBdvPerSeason", - "type": "uint128" - }, - { - "internalType": "uint128", - "name": "beanToMaxLpGpPerBdvRatio", - "type": "uint128" - }, - { - "internalType": "bytes32[4]", - "name": "_buffer", - "type": "bytes32[4]" - } - ], - "internalType": "struct SeedGauge", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getSeedGaugeSetting", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "maxBeanMaxLpGpPerBdvRatio", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minBeanMaxLpGpPerBdvRatio", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "targetSeasonsToCatchUp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "podRateLowerBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "podRateOptimal", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "podRateUpperBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deltaPodDemandLowerBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deltaPodDemandUpperBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "lpToSupplyRatioUpperBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "lpToSupplyRatioOptimal", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "lpToSupplyRatioLowerBound", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "excessivePriceThreshold", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "soilCoefficientHigh", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "soilCoefficientLow", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "baseReward", - "type": "uint256" - } - ], - "internalType": "struct EvaluationParameters", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getTargetSeasonsToCatchUp", @@ -9693,19 +9443,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getTotalBdv", - "outputs": [ - { - "internalType": "uint256", - "name": "totalBdv", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getTotalUsdLiquidity", @@ -10318,7 +10055,298 @@ "type": "uint8" } ], - "name": "gm", + "name": "gm", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "seasonTime", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "address", + "name": "planContract", + "type": "address" + }, + { + "internalType": "bytes4", + "name": "planSelector", + "type": "bytes4" + }, + { + "internalType": "enum ShipmentRecipient", + "name": "recipient", + "type": "uint8" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "internalType": "struct ShipmentRoute[]", + "name": "shipmentRoutes", + "type": "tuple[]" + } + ], + "name": "setShipmentRoutes", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "sunrise", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "percentOfDepositedBdv", + "type": "uint256" + } + ], + "name": "calcGaugePointsWithParams", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAverageGrownStalkPerBdv", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAverageGrownStalkPerBdvPerSeason", + "outputs": [ + { + "internalType": "uint128", + "name": "", + "type": "uint128" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanGaugePointsPerBdv", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanToMaxLpGpPerBdvRatio", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBeanToMaxLpGpPerBdvRatioScaled", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDeltaPodDemand", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePoints", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePointsPerBdvForToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "well", + "type": "address" + } + ], + "name": "getGaugePointsPerBdvForWell", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "getGaugePointsWithParams", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGrownStalkIssuedPerGp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGrownStalkIssuedPerSeason", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLargestGpPerBdv", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getLiquidityToSupplyRatio", "outputs": [ { "internalType": "uint256", @@ -10326,68 +10354,69 @@ "type": "uint256" } ], - "stateMutability": "payable", + "stateMutability": "view", "type": "function" }, { - "inputs": [], - "name": "seasonTime", + "inputs": [ + { + "internalType": "uint256", + "name": "fieldId", + "type": "uint256" + } + ], + "name": "getPodRate", "outputs": [ { - "internalType": "uint32", + "internalType": "uint256", "name": "", - "type": "uint32" + "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [ + "inputs": [], + "name": "getSeedGauge", + "outputs": [ { "components": [ { - "internalType": "address", - "name": "planContract", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "planSelector", - "type": "bytes4" + "internalType": "uint128", + "name": "averageGrownStalkPerBdvPerSeason", + "type": "uint128" }, { - "internalType": "enum ShipmentRecipient", - "name": "recipient", - "type": "uint8" + "internalType": "uint128", + "name": "beanToMaxLpGpPerBdvRatio", + "type": "uint128" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "internalType": "bytes32[4]", + "name": "_buffer", + "type": "bytes32[4]" } ], - "internalType": "struct ShipmentRoute[]", - "name": "shipmentRoutes", - "type": "tuple[]" + "internalType": "struct SeedGauge", + "name": "", + "type": "tuple" } ], - "name": "setShipmentRoutes", - "outputs": [], - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function" }, { "inputs": [], - "name": "sunrise", + "name": "getTotalBdv", "outputs": [ { "internalType": "uint256", - "name": "", + "name": "totalBdv", "type": "uint256" } ], - "stateMutability": "payable", + "stateMutability": "view", "type": "function" }, { @@ -11165,68 +11194,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "orderer", - "type": "address" - }, - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - }, - { - "internalType": "uint24", - "name": "pricePerPod", - "type": "uint24" - }, - { - "internalType": "uint256", - "name": "maxPlaceInLine", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minFillAmount", - "type": "uint256" - } - ], - "internalType": "struct Order.PodOrder", - "name": "podOrder", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "beanAmount", - "type": "uint256" - } - ], - "internalType": "struct L1RecieverFacet.L1PodOrder[]", - "name": "orders", - "type": "tuple[]" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "name": "issuePodOrders", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [ { @@ -11362,74 +11329,6 @@ "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "components": [ - { - "internalType": "address", - "name": "orderer", - "type": "address" - }, - { - "internalType": "uint256", - "name": "fieldId", - "type": "uint256" - }, - { - "internalType": "uint24", - "name": "pricePerPod", - "type": "uint24" - }, - { - "internalType": "uint256", - "name": "maxPlaceInLine", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "minFillAmount", - "type": "uint256" - } - ], - "internalType": "struct Order.PodOrder", - "name": "podOrder", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "beanAmount", - "type": "uint256" - } - ], - "internalType": "struct L1RecieverFacet.L1PodOrder[]", - "name": "orders", - "type": "tuple[]" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "name": "verifyOrderProof", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, { "inputs": [ { @@ -12157,35 +12056,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "well", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "reserves", - "type": "uint256[]" - }, - { - "internalType": "uint256", - "name": "lookback", - "type": "uint256" - } - ], - "name": "calculateDeltaBFromReservesE", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "anonymous": false, "inputs": [ @@ -12630,6 +12500,42 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint32", + "name": "season", + "type": "uint32" + } + ], + "name": "mockSetMilestoneSeason", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "int96", + "name": "stem", + "type": "int96" + } + ], + "name": "mockSetMilestoneStem", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "mockStepGauge",