[ { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "AddressInsufficientBalance", "type": "error" }, { "inputs": [], "name": "FailedInnerCall", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "SafeCastOverflowedUintToInt", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "SafeERC20FailedOperation", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "unripeToken", "type": "address" }, { "indexed": true, "internalType": "address", "name": "underlyingToken", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "merkleRoot", "type": "bytes32" } ], "name": "AddUnripeToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "underlying", "type": "int256" } ], "name": "ChangeUnderlying", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "underlying", "type": "uint256" } ], "name": "Chop", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "delta", "type": "int256" } ], "name": "InternalBalanceChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Pick", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "underlyingToken", "type": "address" } ], "name": "SwitchUnderlyingToken", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "addMigratedUnderlying", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "address", "name": "underlyingToken", "type": "address" }, { "internalType": "bytes32", "name": "root", "type": "bytes32" } ], "name": "addUnripeToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfPenalizedUnderlying", "outputs": [ { "internalType": "uint256", "name": "underlying", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfUnderlying", "outputs": [ { "internalType": "uint256", "name": "underlying", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "chop", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "getLockedBeans", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "cumulativeReserves", "type": "bytes" }, { "internalType": "uint40", "name": "timestamp", "type": "uint40" } ], "name": "getLockedBeansFromTwaReserves", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLockedBeansUnderlyingUnripeBean", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLockedBeansUnderlyingUnripeLP", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getPenalizedUnderlying", "outputs": [ { "internalType": "uint256", "name": "redeem", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getPenalty", "outputs": [ { "internalType": "uint256", "name": "penalty", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getPercentPenalty", "outputs": [ { "internalType": "uint256", "name": "penalty", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getRecapFundedPercent", "outputs": [ { "internalType": "uint256", "name": "percent", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRecapPaidPercent", "outputs": [ { "internalType": "uint256", "name": "percent", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRecapitalized", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getTotalUnderlying", "outputs": [ { "internalType": "uint256", "name": "underlying", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getUnderlying", "outputs": [ { "internalType": "uint256", "name": "underlyingAmount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getUnderlyingPerUnripeToken", "outputs": [ { "internalType": "uint256", "name": "underlyingPerToken", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "getUnderlyingToken", "outputs": [ { "internalType": "address", "name": "underlyingToken", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" } ], "name": "isUnripe", "outputs": [ { "internalType": "bool", "name": "unripe", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "unripeToken", "type": "address" }, { "internalType": "address", "name": "newUnderlyingToken", "type": "address" } ], "name": "switchUnderlyingToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "bits", "type": "uint8" }, { "internalType": "int256", "name": "value", "type": "int256" } ], "name": "SafeCastOverflowedIntDowncast", "type": "error" }, { "inputs": [ { "internalType": "uint8", "name": "bits", "type": "uint8" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "SafeCastOverflowedUintDowncast", "type": "error" }, { "inputs": [], "name": "T", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint128", "name": "id", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "bpf", "type": "uint128" } ], "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": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfBatchFertilizer", "outputs": [ { "components": [ { "internalType": "uint128", "name": "amount", "type": "uint128" }, { "internalType": "uint128", "name": "lastBpf", "type": "uint128" } ], "internalType": "struct IFertilizer.Balance[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfFertilized", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "balanceOfFertilizer", "outputs": [ { "components": [ { "internalType": "uint128", "name": "amount", "type": "uint128" }, { "internalType": "uint128", "name": "lastBpf", "type": "uint128" } ], "internalType": "struct IFertilizer.Balance", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfUnfertilized", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "beansPerFertilizer", "outputs": [ { "internalType": "uint128", "name": "bpf", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "beginBarnRaiseMigration", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "claimFertilized", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "getActiveFertilizer", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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", "outputs": [ { "internalType": "uint128", "name": "humidity", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getEndBpf", "outputs": [ { "internalType": "uint128", "name": "endBpf", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint128", "name": "id", "type": "uint128" } ], "name": "getFertilizer", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFertilizers", "outputs": [ { "components": [ { "internalType": "uint128", "name": "endBpf", "type": "uint128" }, { "internalType": "uint256", "name": "supply", "type": "uint256" } ], "internalType": "struct FertilizerFacet.Supply[]", "name": "fertilizers", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFirst", "outputs": [ { "internalType": "uint128", "name": "", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint128", "name": "_s", "type": "uint128" } ], "name": "getHumidity", "outputs": [ { "internalType": "uint128", "name": "humidity", "type": "uint128" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getLast", "outputs": [ { "internalType": "uint128", "name": "", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenAmountIn", "type": "uint256" } ], "name": "getMintFertilizerOut", "outputs": [ { "internalType": "uint256", "name": "fertilizerAmountOut", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint128", "name": "id", "type": "uint128" } ], "name": "getNext", "outputs": [ { "internalType": "uint128", "name": "", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalRecapDollarsNeeded", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isFertilizing", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "leftoverBeans", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenAmountIn", "type": "uint256" }, { "internalType": "uint256", "name": "minFertilizerOut", "type": "uint256" }, { "internalType": "uint256", "name": "minLPTokensOut", "type": "uint256" } ], "name": "mintFertilizer", "outputs": [ { "internalType": "uint256", "name": "fertilizerAmountOut", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "payFertilizer", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "remainingRecapitalization", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rinsableSprouts", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rinsedSprouts", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalFertilizedBeans", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalFertilizerBeans", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalUnfertilizedBeans", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "Pause", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timePassed", "type": "uint256" } ], "name": "Unpause", "type": "event" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "owner_", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ownerCandidate", "outputs": [ { "internalType": "address", "name": "ownerCandidate_", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "_functionSelector", "type": "bytes4" } ], "name": "facetAddress", "outputs": [ { "internalType": "address", "name": "facetAddress_", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "facetAddresses", "outputs": [ { "internalType": "address[]", "name": "facetAddresses_", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_facet", "type": "address" } ], "name": "facetFunctionSelectors", "outputs": [ { "internalType": "bytes4[]", "name": "facetFunctionSelectors_", "type": "bytes4[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "facets", "outputs": [ { "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ], "internalType": "struct IDiamondLoupe.Facet[]", "name": "facets_", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "_interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "enum IDiamondCut.FacetCutAction", "name": "action", "type": "uint8" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ], "indexed": false, "internalType": "struct IDiamondCut.FacetCut[]", "name": "_diamondCut", "type": "tuple[]" }, { "indexed": false, "internalType": "address", "name": "_init", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "_calldata", "type": "bytes" } ], "name": "DiamondCut", "type": "event" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "enum IDiamondCut.FacetCutAction", "name": "action", "type": "uint8" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ], "internalType": "struct IDiamondCut.FacetCut[]", "name": "_diamondCut", "type": "tuple[]" }, { "internalType": "address", "name": "_init", "type": "address" }, { "internalType": "bytes", "name": "_calldata", "type": "bytes" } ], "name": "diamondCut", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "ECDSAInvalidSignatureLength", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "ECDSAInvalidSignatureS", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" } ], "name": "CancelBlueprint", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "components": [ { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32[]", "name": "operatorPasteInstrs", "type": "bytes32[]" }, { "internalType": "uint256", "name": "maxNonce", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" } ], "internalType": "struct LibTractor.Blueprint", "name": "blueprint", "type": "tuple" }, { "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "indexed": false, "internalType": "struct LibTractor.Requisition", "name": "requisition", "type": "tuple" } ], "name": "PublishRequisition", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" } ], "name": "Tractor", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "version", "type": "string" } ], "name": "TractorVersionSet", "type": "event" }, { "inputs": [ { "components": [ { "components": [ { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32[]", "name": "operatorPasteInstrs", "type": "bytes32[]" }, { "internalType": "uint256", "name": "maxNonce", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" } ], "internalType": "struct LibTractor.Blueprint", "name": "blueprint", "type": "tuple" }, { "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "internalType": "struct LibTractor.Requisition", "name": "requisition", "type": "tuple" } ], "name": "cancelBlueprint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32[]", "name": "operatorPasteInstrs", "type": "bytes32[]" }, { "internalType": "uint256", "name": "maxNonce", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" } ], "internalType": "struct LibTractor.Blueprint", "name": "blueprint", "type": "tuple" } ], "name": "getBlueprintHash", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" } ], "name": "getBlueprintNonce", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "counterId", "type": "bytes32" } ], "name": "getCounter", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "counterId", "type": "bytes32" } ], "name": "getPublisherCounter", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTractorVersion", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "components": [ { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32[]", "name": "operatorPasteInstrs", "type": "bytes32[]" }, { "internalType": "uint256", "name": "maxNonce", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" } ], "internalType": "struct LibTractor.Blueprint", "name": "blueprint", "type": "tuple" }, { "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "internalType": "struct LibTractor.Requisition", "name": "requisition", "type": "tuple" } ], "name": "publishRequisition", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "components": [ { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32[]", "name": "operatorPasteInstrs", "type": "bytes32[]" }, { "internalType": "uint256", "name": "maxNonce", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" } ], "internalType": "struct LibTractor.Blueprint", "name": "blueprint", "type": "tuple" }, { "internalType": "bytes32", "name": "blueprintHash", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "internalType": "struct LibTractor.Requisition", "name": "requisition", "type": "tuple" }, { "internalType": "bytes", "name": "operatorData", "type": "bytes" } ], "name": "tractor", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "counterId", "type": "bytes32" }, { "internalType": "enum LibTractor.CounterUpdateType", "name": "updateType", "type": "uint8" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "updatePublisherCounter", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "version", "type": "string" } ], "name": "updateTractorVersion", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC1155", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "batchTransferERC1155", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20Permit", "name": "token", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permitERC20", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC4494", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" } ], "name": "permitERC721", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC1155", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferERC1155", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC721", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "transferERC721", "outputs": [], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "contract IERC20", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "TokenApproval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "indexed": false, "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "TokenTransferred", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approveToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseTokenAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "name": "getAllBalance", "outputs": [ { "components": [ { "internalType": "uint256", "name": "internalBalance", "type": "uint256" }, { "internalType": "uint256", "name": "externalBalance", "type": "uint256" }, { "internalType": "uint256", "name": "totalBalance", "type": "uint256" } ], "internalType": "struct TokenFacet.Balance", "name": "b", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" } ], "name": "getAllBalances", "outputs": [ { "components": [ { "internalType": "uint256", "name": "internalBalance", "type": "uint256" }, { "internalType": "uint256", "name": "externalBalance", "type": "uint256" }, { "internalType": "uint256", "name": "totalBalance", "type": "uint256" } ], "internalType": "struct TokenFacet.Balance[]", "name": "balances", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "name": "getBalance", "outputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" } ], "name": "getBalances", "outputs": [ { "internalType": "uint256[]", "name": "balances", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "name": "getExternalBalance", "outputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" } ], "name": "getExternalBalances", "outputs": [ { "internalType": "uint256[]", "name": "balances", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "name": "getInternalBalance", "outputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" } ], "name": "getInternalBalances", "outputs": [ { "internalType": "uint256[]", "name": "balances", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseTokenAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "onERC1155BatchReceived", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "onERC1155Received", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permitToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "name": "tokenAllowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenPermitDomainSeparator", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "tokenPermitNonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "transferInternalTokenFrom", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "transferToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "unwrapEth", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "wrapEth", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "bytes", "name": "clipboard", "type": "bytes" } ], "internalType": "struct AdvancedFarmCall[]", "name": "data", "type": "tuple[]" } ], "name": "advancedFarm", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" } ], "name": "farm", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "bytes", "name": "clipboard", "type": "bytes" } ], "internalType": "struct AdvancedPipeCall[]", "name": "pipes", "type": "tuple[]" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "advancedPipe", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct PipeCall", "name": "p", "type": "tuple" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "etherPipe", "outputs": [ { "internalType": "bytes", "name": "result", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct PipeCall[]", "name": "pipes", "type": "tuple[]" } ], "name": "multiPipe", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct PipeCall", "name": "p", "type": "tuple" } ], "name": "pipe", "outputs": [ { "internalType": "bytes", "name": "result", "type": "bytes" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct PipeCall", "name": "p", "type": "tuple" } ], "name": "readPipe", "outputs": [ { "internalType": "bytes", "name": "result", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "prod1", "type": "uint256" }, { "internalType": "uint256", "name": "denominator", "type": "uint256" } ], "name": "PRBMath__MulDivOverflow", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "ActiveFieldSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "FieldAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256[]", "name": "plots", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256", "name": "beans", "type": "uint256" } ], "name": "Harvest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "lister", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "PodListingCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "beans", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "pods", "type": "uint256" } ], "name": "Sow", "type": "event" }, { "inputs": [], "name": "activeField", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "addField", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "balanceOfPods", "outputs": [ { "internalType": "uint256", "name": "pods", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fieldCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "getPlotIndexesFromAccount", "outputs": [ { "internalType": "uint256[]", "name": "plotIndexes", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "getPlotsFromAccount", "outputs": [ { "components": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "pods", "type": "uint256" } ], "internalType": "struct FieldFacet.Plot[]", "name": "plots", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256[]", "name": "plots", "type": "uint256[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "harvest", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "harvestableIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "isHarvesting", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxTemperature", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "plot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "podIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "remainingPods", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint32", "name": "_temperature", "type": "uint32" } ], "name": "setActiveField", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" }, { "internalType": "uint256", "name": "minTemperature", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "sow", "outputs": [ { "internalType": "uint256", "name": "pods", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" }, { "internalType": "uint256", "name": "minTemperature", "type": "uint256" }, { "internalType": "uint256", "name": "minSoil", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "sowWithMin", "outputs": [ { "internalType": "uint256", "name": "pods", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "temperature", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "totalHarvestable", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalHarvestableForActiveField", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "totalHarvested", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "totalPods", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSoil", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "totalUnharvestable", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "PlotTransfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "PodApproval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "lister", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "maxHarvestableIndex", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "indexed": false, "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "PodListingCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "filler", "type": "address" }, { "indexed": true, "internalType": "address", "name": "lister", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "costInBeans", "type": "uint256" } ], "name": "PodListingFilled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "orderer", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "name": "PodOrderCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "orderer", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "minFillAmount", "type": "uint256" } ], "name": "PodOrderCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "filler", "type": "address" }, { "indexed": true, "internalType": "address", "name": "orderer", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "costInBeans", "type": "uint256" } ], "name": "PodOrderFilled", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "allowancePods", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approvePods", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "cancelPodListing", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "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": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "cancelPodOrder", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "lister", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxHarvestableIndex", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "internalType": "struct Listing.PodListing", "name": "podListing", "type": "tuple" } ], "name": "createPodListing", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "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": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "createPodOrder", "outputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "lister", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxHarvestableIndex", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "internalType": "struct Listing.PodListing", "name": "podListing", "type": "tuple" }, { "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "fillPodListing", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "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": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "fillPodOrder", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "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" } ], "name": "getOrderId", "outputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getPodListing", "outputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "name": "getPodOrder", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "end", "type": "uint256" } ], "name": "transferPlot", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "starts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "ends", "type": "uint256[]" } ], "name": "transferPlots", "outputs": [], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "address", "name": "fromToken", "type": "address" }, { "indexed": false, "internalType": "address", "name": "toToken", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fromAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "toAmount", "type": "uint256" } ], "name": "Convert", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "delta", "type": "int256" }, { "indexed": false, "internalType": "enum GerminationSide", "name": "germ", "type": "uint8" } ], "name": "FarmerGerminatingStalkBalanceChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "indexed": false, "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256[]", "name": "bdvs", "type": "uint256[]" } ], "name": "RemoveDeposits", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "delta", "type": "int256" }, { "indexed": false, "internalType": "int256", "name": "deltaRoots", "type": "int256" } ], "name": "StalkBalanceChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "germinationSeason", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "deltaAmount", "type": "int256" }, { "indexed": false, "internalType": "int256", "name": "deltaBdv", "type": "int256" } ], "name": "TotalGerminatingBalanceChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "germinationSeason", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "deltaGerminatingStalk", "type": "int256" } ], "name": "TotalGerminatingStalkChanged", "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": "ids", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "TransferBatch", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "inputToken", "type": "address" }, { "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "address", "name": "outputToken", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "bytes", "name": "clipboard", "type": "bytes" } ], "internalType": "struct AdvancedPipeCall[]", "name": "advancedPipeCalls", "type": "tuple[]" } ], "name": "pipelineConvert", "outputs": [ { "internalType": "int96", "name": "toStem", "type": "int96" }, { "internalType": "uint256", "name": "fromAmount", "type": "uint256" }, { "internalType": "uint256", "name": "toAmount", "type": "uint256" }, { "internalType": "uint256", "name": "fromBdv", "type": "uint256" }, { "internalType": "uint256", "name": "toBdv", "type": "uint256" } ], "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": "RemoveDeposit", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "balanceOfRevitalizedStalk", "outputs": [ { "internalType": "uint256", "name": "stalk", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "enrootDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "enrootDeposits", "outputs": [], "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": [ { "components": [ { "internalType": "int256", "name": "beforeInputTokenDeltaB", "type": "int256" }, { "internalType": "int256", "name": "afterInputTokenDeltaB", "type": "int256" }, { "internalType": "int256", "name": "beforeOutputTokenDeltaB", "type": "int256" }, { "internalType": "int256", "name": "afterOutputTokenDeltaB", "type": "int256" }, { "internalType": "int256", "name": "beforeOverallDeltaB", "type": "int256" }, { "internalType": "int256", "name": "afterOverallDeltaB", "type": "int256" } ], "internalType": "struct LibConvert.DeltaBStorage", "name": "dbs", "type": "tuple" }, { "internalType": "uint256", "name": "bdvConverted", "type": "uint256" }, { "internalType": "uint256", "name": "overallConvertCapacity", "type": "uint256" }, { "internalType": "address", "name": "inputToken", "type": "address" }, { "internalType": "address", "name": "outputToken", "type": "address" } ], "name": "calculateStalkPenalty", "outputs": [ { "internalType": "uint256", "name": "stalkPenaltyBdv", "type": "uint256" }, { "internalType": "uint256", "name": "overallConvertCapacityUsed", "type": "uint256" }, { "internalType": "uint256", "name": "inputTokenAmountUsed", "type": "uint256" }, { "internalType": "uint256", "name": "outputTokenAmountUsed", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "cappedReservesDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "tokenIn", "type": "address" }, { "internalType": "address", "name": "tokenOut", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" } ], "name": "getAmountOut", "outputs": [ { "internalType": "uint256", "name": "amountOut", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "tokenIn", "type": "address" }, { "internalType": "address", "name": "tokenOut", "type": "address" } ], "name": "getMaxAmountIn", "outputs": [ { "internalType": "uint256", "name": "amountIn", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOverallConvertCapacity", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "blockNumber", "type": "uint256" } ], "name": "getUsedConvertCapacity", "outputs": [ { "components": [ { "internalType": "uint256", "name": "overallConvertCapacityUsed", "type": "uint256" }, { "components": [ { "internalType": "address", "name": "well", "type": "address" }, { "internalType": "uint256", "name": "wellConvertCapacityUsed", "type": "uint256" } ], "internalType": "struct ConvertGettersFacet.WellConvertCapacityUsed[]", "name": "wellConvertCapacityUsed", "type": "tuple[]" } ], "internalType": "struct ConvertGettersFacet.ConvertCapacityUsed", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "getWellConvertCapacity", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "overallCappedDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "overallCurrentDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "beforeLpTokenSupply", "type": "uint256" }, { "internalType": "uint256", "name": "afterLpTokenSupply", "type": "uint256" }, { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "name": "scaledDeltaB", "outputs": [ { "internalType": "int256", "name": "", "type": "int256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "convertData", "type": "bytes" }, { "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "convert", "outputs": [ { "internalType": "int96", "name": "toStem", "type": "int96" }, { "internalType": "uint256", "name": "fromAmount", "type": "uint256" }, { "internalType": "uint256", "name": "toAmount", "type": "uint256" }, { "internalType": "uint256", "name": "fromBdv", "type": "uint256" }, { "internalType": "uint256", "name": "toBdv", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "beanToBDV", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "unripeBeanToBDV", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "unripeLPToBDV", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "wellBdv", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "DepositApproval", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approveDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseDepositAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "depositAllowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "depositPermitDomainSeparator", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "depositPermitNonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseDepositAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permitDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permitDeposits", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "isWhitelisted", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isWhitelistedLp", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isWhitelistedWell", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isSoppable", "type": "bool" } ], "name": "AddWhitelistStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" } ], "name": "DewhitelistToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "isWhitelisted", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isWhitelistedLp", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isWhitelistedWell", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "isSoppable", "type": "bool" } ], "name": "UpdateWhitelistStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "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" } ], "indexed": false, "internalType": "struct EvaluationParameters", "name": "", "type": "tuple" } ], "name": "UpdatedEvaluationParameters", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "indexed": false, "internalType": "struct Implementation", "name": "gaugePointImplementation", "type": "tuple" } ], "name": "UpdatedGaugePointImplementationForToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "indexed": false, "internalType": "struct Implementation", "name": "liquidityWeightImplementation", "type": "tuple" } ], "name": "UpdatedLiquidityWeightImplementationForToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "UpdatedOptimalPercentDepositedBdvForToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "indexed": false, "internalType": "struct Implementation", "name": "oracleImplementation", "type": "tuple" } ], "name": "UpdatedOracleImplementationForToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "UpdatedStalkPerBdvPerSeason", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "indexed": false, "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "stalkIssuedPerBdv", "type": "uint256" }, { "indexed": false, "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "indexed": false, "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "WhitelistToken", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "dewhitelistToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getGaugePointImplementationForToken", "outputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getLiquidityWeightImplementationForToken", "outputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getOracleImplementationForToken", "outputs": [ { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSiloTokens", "outputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getWhitelistStatus", "outputs": [ { "components": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "isWhitelisted", "type": "bool" }, { "internalType": "bool", "name": "isWhitelistedLp", "type": "bool" }, { "internalType": "bool", "name": "isWhitelistedWell", "type": "bool" }, { "internalType": "bool", "name": "isSoppable", "type": "bool" } ], "internalType": "struct WhitelistStatus", "name": "_whitelistStatuses", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWhitelistStatuses", "outputs": [ { "components": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "isWhitelisted", "type": "bool" }, { "internalType": "bool", "name": "isWhitelistedLp", "type": "bool" }, { "internalType": "bool", "name": "isWhitelistedWell", "type": "bool" }, { "internalType": "bool", "name": "isSoppable", "type": "bool" } ], "internalType": "struct WhitelistStatus[]", "name": "_whitelistStatuses", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWhitelistedLpTokens", "outputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWhitelistedTokens", "outputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWhitelistedWellLpTokens", "outputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "gpImplementation", "type": "tuple" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "lwImplementation", "type": "tuple" } ], "name": "updateGaugeForToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "impl", "type": "tuple" } ], "name": "updateGaugePointImplementationForToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "impl", "type": "tuple" } ], "name": "updateLiquidityWeightImplementationForToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "impl", "type": "tuple" } ], "name": "updateOracleImplementationForToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "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": "updatedSeedGaugeSettings", "type": "tuple" } ], "name": "updateSeedGaugeSettings", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" } ], "name": "updateStalkPerBdvPerSeasonForToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "uint48", "name": "stalkIssuedPerBdv", "type": "uint48" }, { "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "oracleImplementation", "type": "tuple" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "gaugePointImplementation", "type": "tuple" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "liquidityWeightImplementation", "type": "tuple" } ], "name": "whitelistToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "depositId", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" } ], "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "balanceOfDepositedBdv", "outputs": [ { "internalType": "uint256", "name": "depositedBdv", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfEarnedBeans", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfEarnedStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfFinishedGerminatingStalkAndRoots", "outputs": [ { "internalType": "uint256", "name": "gStalk", "type": "uint256" }, { "internalType": "uint256", "name": "gRoots", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfGerminatingStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "balanceOfGrownStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "name": "balanceOfGrownStalkMultiple", "outputs": [ { "internalType": "uint256[]", "name": "grownStalks", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfPlantableSeeds", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "well", "type": "address" } ], "name": "balanceOfPlenty", "outputs": [ { "internalType": "uint256", "name": "plenty", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfRainRoots", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfRoots", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfSop", "outputs": [ { "components": [ { "internalType": "uint32", "name": "lastRain", "type": "uint32" }, { "internalType": "uint32", "name": "lastSop", "type": "uint32" }, { "internalType": "uint256", "name": "roots", "type": "uint256" }, { "components": [ { "internalType": "address", "name": "well", "type": "address" }, { "components": [ { "internalType": "uint256", "name": "plentyPerRoot", "type": "uint256" }, { "internalType": "uint256", "name": "plenty", "type": "uint256" }, { "internalType": "bytes32[4]", "name": "_buffer", "type": "bytes32[4]" } ], "internalType": "struct PerWellPlenty", "name": "wellsPlenty", "type": "tuple" } ], "internalType": "struct SiloGettersFacet.FarmerSops[]", "name": "farmerSops", "type": "tuple[]" } ], "internalType": "struct SiloGettersFacet.AccountSeasonOfPlenty", "name": "sop", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfYoungAndMatureGerminatingStalk", "outputs": [ { "internalType": "uint256", "name": "matureGerminatingStalk", "type": "uint256" }, { "internalType": "uint256", "name": "youngGerminatingStalk", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "bdv", "outputs": [ { "internalType": "uint256", "name": "_bdv", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "bdvs", "outputs": [ { "internalType": "uint256[]", "name": "_bdvs", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "grownStalk", "type": "uint256" }, { "internalType": "uint256", "name": "bdvOfDeposit", "type": "uint256" } ], "name": "calculateStemForTokenFromGrownStalk", "outputs": [ { "internalType": "int96", "name": "stem", "type": "int96" }, { "internalType": "enum GerminationSide", "name": "germ", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "depositId", "type": "uint256" } ], "name": "getAddressAndStem", "outputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "stateMutability": "pure", "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": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "name": "getDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "name": "getDepositId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getDepositsForAccount", "outputs": [ { "components": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "components": [ { "internalType": "uint128", "name": "amount", "type": "uint128" }, { "internalType": "uint128", "name": "bdv", "type": "uint128" } ], "internalType": "struct Deposit[]", "name": "tokenDeposits", "type": "tuple[]" } ], "internalType": "struct SiloGettersFacet.TokenDepositId[]", "name": "deposits", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getEvenGerminating", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "getGerminatingRootsForSeason", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "getGerminatingStalkAndRootsForSeason", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "getGerminatingStalkForSeason", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getGerminatingStem", "outputs": [ { "internalType": "int96", "name": "germinatingStem", "type": "int96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "name": "getGerminatingStems", "outputs": [ { "internalType": "int96[]", "name": "germinatingStems", "type": "int96[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getGerminatingTotalDeposited", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getGerminatingTotalDepositedBdv", "outputs": [ { "internalType": "uint256", "name": "_bdv", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "depositId", "type": "uint256" } ], "name": "getIndexForDepositId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "getLastMowedStem", "outputs": [ { "internalType": "int96", "name": "lastStem", "type": "int96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "name": "getMowStatus", "outputs": [ { "components": [ { "internalType": "int96", "name": "lastStem", "type": "int96" }, { "internalType": "uint128", "name": "bdv", "type": "uint128" } ], "internalType": "struct MowStatus[]", "name": "mowStatuses", "type": "tuple[]" } ], "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": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getOddGerminating", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getStemTips", "outputs": [ { "internalType": "int96[]", "name": "_stemTips", "type": "int96[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTokenDepositIdsForAccount", "outputs": [ { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTokenDepositsForAccount", "outputs": [ { "components": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "components": [ { "internalType": "uint128", "name": "amount", "type": "uint128" }, { "internalType": "uint128", "name": "bdv", "type": "uint128" } ], "internalType": "struct Deposit[]", "name": "tokenDeposits", "type": "tuple[]" } ], "internalType": "struct SiloGettersFacet.TokenDepositId", "name": "deposits", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTotalDeposited", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTotalDepositedBdv", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTotalGerminatingAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTotalGerminatingBdv", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalGerminatingStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalSiloDeposited", "outputs": [ { "internalType": "uint256[]", "name": "depositedAmounts", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalSiloDepositedBdv", "outputs": [ { "internalType": "uint256[]", "name": "depositedBdvs", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getYoungAndMatureGerminatingTotalStalk", "outputs": [ { "internalType": "uint256", "name": "matureGerminatingStalk", "type": "uint256" }, { "internalType": "uint256", "name": "youngGerminatingStalk", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "name": "grownStalkForDeposit", "outputs": [ { "internalType": "uint256", "name": "grownStalk", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lastSeasonOfPlenty", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "lastUpdate", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "name": "stalkEarnedPerSeason", "outputs": [ { "internalType": "uint256[]", "name": "stalkEarnedPerSeasons", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stemStartSeason", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "stemTipForToken", "outputs": [ { "internalType": "int96", "name": "_stemTip", "type": "int96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "tokenSettings", "outputs": [ { "components": [ { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "internalType": "uint48", "name": "stalkIssuedPerBdv", "type": "uint48" }, { "internalType": "uint32", "name": "milestoneSeason", "type": "uint32" }, { "internalType": "int96", "name": "milestoneStem", "type": "int96" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "int32", "name": "deltaStalkEarnedPerSeason", "type": "int32" }, { "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "gaugePointImplementation", "type": "tuple" }, { "components": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Implementation", "name": "liquidityWeightImplementation", "type": "tuple" } ], "internalType": "struct AssetSettings", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalEarnedBeans", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalRainRoots", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalRoots", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalStalk", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "deposit", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "_bdv", "type": "uint256" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "safeBatchTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "depositId", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferDeposit", "outputs": [ { "internalType": "uint256", "name": "_bdv", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96[]", "name": "stem", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "transferDeposits", "outputs": [ { "internalType": "uint256[]", "name": "bdvs", "type": "uint256[]" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "withdrawDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96[]", "name": "stems", "type": "int96[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "withdrawDeposits", "outputs": [], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "plenty", "type": "uint256" } ], "name": "ClaimPlenty", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "beans", "type": "uint256" } ], "name": "Plant", "type": "event" }, { "inputs": [ { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "claimAllPlenty", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "claimPlenty", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "mow", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" } ], "name": "mowMultiple", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "plant", "outputs": [ { "internalType": "uint256", "name": "beans", "type": "uint256" }, { "internalType": "int96", "name": "stem", "type": "int96" } ], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "beans", "type": "uint256" } ], "name": "Incentivization", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "secondsLate", "type": "uint256" } ], "name": "determineReward", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "int256", "name": "deltaStalk", "type": "int256" }, { "indexed": false, "internalType": "int256", "name": "deltaRoots", "type": "int256" } ], "name": "TotalStalkChangedFromGermination", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint32", "name": "season", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "well", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "deltaB", "type": "int256" }, { "indexed": false, "internalType": "bytes", "name": "cumulativeReserves", "type": "bytes" } ], "name": "WellOracle", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "check", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "RemoveWhitelistStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "season", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "gaugePoints", "type": "uint256" } ], "name": "GaugePointChange", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "newStalkPerBdvPerSeason", "type": "uint256" } ], "name": "UpdateAverageStalkPerBdvPerSeason", "type": "event" }, { "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" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "stalk", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "roots", "type": "uint256" } ], "name": "MigratedAccountStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "bdv", "type": "uint256" }, { "indexed": false, "internalType": "int96", "name": "lastStem", "type": "int96" } ], "name": "MigratedAccountTokenStatus", "type": "event" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "stalk", "type": "uint256" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "components": [ { "internalType": "int96", "name": "lastStem", "type": "int96" }, { "internalType": "uint128", "name": "bdv", "type": "uint128" } ], "internalType": "struct MowStatus[]", "name": "mowStatuses", "type": "tuple[]" }, { "internalType": "uint32", "name": "lastUpdate", "type": "uint32" }, { "internalType": "uint128", "name": "germinatingStalkOdd", "type": "uint128" }, { "internalType": "uint128", "name": "germinatingStalkEven", "type": "uint128" } ], "internalType": "struct ReseedAccountStatus.AccountStatus[]", "name": "accountStatuses", "type": "tuple[]" } ], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "fid", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "lastBpf", "type": "uint128" } ], "name": "FertilizerMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "plotIndex", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "pods", "type": "uint256" } ], "name": "MigratedPlot", "type": "event" }, { "anonymous": false, "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" } ], "indexed": false, "internalType": "struct ShipmentRoute[]", "name": "newShipmentRoutes", "type": "tuple[]" } ], "name": "ShipmentRoutesSet", "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": [ { "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" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "delta", "type": "int256" } ], "name": "InternalBalanceMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "lister", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "podAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "maxHarvestableIndex", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "indexed": false, "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "MigratedPodListing", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "orderer", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" }, { "indexed": false, "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "minFillAmount", "type": "uint256" } ], "name": "MigratedPodOrder", "type": "event" }, { "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": "AddMigratedDeposit", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getMillionUsdPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getRatiosAndBeanIndex", "outputs": [ { "internalType": "uint256[]", "name": "ratios", "type": "uint256[]" }, { "internalType": "uint256", "name": "beanIndex", "type": "uint256" }, { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTokenUsdPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getTokenUsdPriceFromExternal", "outputs": [ { "internalType": "uint256", "name": "tokenUsd", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getTokenUsdTwap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getUsdTokenPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getUsdTokenPriceFromExternal", "outputs": [ { "internalType": "uint256", "name": "usdToken", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "lookback", "type": "uint256" } ], "name": "getUsdTokenTwap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "maxWeight", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "noWeight", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "abovePeg", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "pools", "type": "address[]" } ], "name": "cumulativeCurrentDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "caseId", "type": "uint256" } ], "name": "getAbsBeanToMaxLpRatioChangeFromCaseId", "outputs": [ { "internalType": "uint80", "name": "ml", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "caseId", "type": "uint256" } ], "name": "getAbsTemperatureChangeFromCaseId", "outputs": [ { "internalType": "int8", "name": "t", "type": "int8" } ], "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": "getDeltaPodDemandLowerBound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDeltaPodDemandUpperBound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getEvaluationParameters", "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": "getExcessivePriceThreshold", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLargestLiqWell", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLpToSupplyRatioLowerBound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLpToSupplyRatioOptimal", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLpToSupplyRatioUpperBound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "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": [], "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", "outputs": [ { "components": [ { "internalType": "uint32", "name": "current", "type": "uint32" }, { "internalType": "uint32", "name": "lastSop", "type": "uint32" }, { "internalType": "uint32", "name": "lastSopSeason", "type": "uint32" }, { "internalType": "uint32", "name": "rainStart", "type": "uint32" }, { "internalType": "bool", "name": "raining", "type": "bool" }, { "internalType": "bool", "name": "fertilizing", "type": "bool" }, { "internalType": "uint64", "name": "sunriseBlock", "type": "uint64" }, { "internalType": "bool", "name": "abovePeg", "type": "bool" }, { "internalType": "uint16", "name": "stemStartSeason", "type": "uint16" }, { "internalType": "uint16", "name": "stemScaleSeason", "type": "uint16" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "period", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "bytes32[8]", "name": "_buffer", "type": "bytes32[8]" } ], "internalType": "struct Season", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSeasonTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTargetSeasonsToCatchUp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalUsdLiquidity", "outputs": [ { "internalType": "uint256", "name": "totalLiquidity", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalWeightedUsdLiquidity", "outputs": [ { "internalType": "uint256", "name": "totalWeightedLiquidity", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "getTwaLiquidityForWell", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "getWeightedTwaLiquidityForWell", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWellsByDeltaB", "outputs": [ { "components": [ { "internalType": "address", "name": "well", "type": "address" }, { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "internalType": "struct LibFlood.WellDeltaB[]", "name": "wellDeltaBs", "type": "tuple[]" }, { "internalType": "uint256", "name": "totalPositiveDeltaB", "type": "uint256" }, { "internalType": "uint256", "name": "totalNegativeDeltaB", "type": "uint256" }, { "internalType": "uint256", "name": "positiveDeltaBCount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "l2BlockNumber", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_season", "type": "uint32" }, { "internalType": "address", "name": "well", "type": "address" } ], "name": "plentyPerRoot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" } ], "name": "poolCurrentDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" } ], "name": "poolDeltaB", "outputs": [ { "internalType": "int256", "name": "", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rain", "outputs": [ { "components": [ { "internalType": "uint256", "name": "pods", "type": "uint256" }, { "internalType": "uint256", "name": "roots", "type": "uint256" }, { "internalType": "bytes32[4]", "name": "_buffer", "type": "bytes32[4]" } ], "internalType": "struct Rain", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "season", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "sunriseBlock", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "time", "outputs": [ { "components": [ { "internalType": "uint32", "name": "current", "type": "uint32" }, { "internalType": "uint32", "name": "lastSop", "type": "uint32" }, { "internalType": "uint32", "name": "lastSopSeason", "type": "uint32" }, { "internalType": "uint32", "name": "rainStart", "type": "uint32" }, { "internalType": "bool", "name": "raining", "type": "bool" }, { "internalType": "bool", "name": "fertilizing", "type": "bool" }, { "internalType": "uint64", "name": "sunriseBlock", "type": "uint64" }, { "internalType": "bool", "name": "abovePeg", "type": "bool" }, { "internalType": "uint16", "name": "stemStartSeason", "type": "uint16" }, { "internalType": "uint16", "name": "stemScaleSeason", "type": "uint16" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "period", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "bytes32[8]", "name": "_buffer", "type": "bytes32[8]" } ], "internalType": "struct Season", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalDeltaB", "outputs": [ { "internalType": "int256", "name": "deltaB", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "weather", "outputs": [ { "components": [ { "internalType": "uint128", "name": "lastDeltaSoil", "type": "uint128" }, { "internalType": "uint32", "name": "lastSowTime", "type": "uint32" }, { "internalType": "uint32", "name": "thisSowTime", "type": "uint32" }, { "internalType": "uint32", "name": "temp", "type": "uint32" }, { "internalType": "bytes32[4]", "name": "_buffer", "type": "bytes32[4]" } ], "internalType": "struct Weather", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "well", "type": "address" } ], "name": "wellOracleSnapshot", "outputs": [ { "internalType": "bytes", "name": "snapshot", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "season", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "caseId", "type": "uint256" }, { "indexed": false, "internalType": "int80", "name": "absChange", "type": "int80" } ], "name": "BeanToMaxLpGpPerBdvRatioChange", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "toField", "type": "uint256" } ], "name": "SeasonOfPlentyField", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "season", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "well", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "SeasonOfPlentyWell", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint32", "name": "season", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "soil", "type": "uint256" } ], "name": "Soil", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "season", "type": "uint256" } ], "name": "Sunrise", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "season", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "caseId", "type": "uint256" }, { "indexed": false, "internalType": "int8", "name": "absChange", "type": "int8" }, { "indexed": false, "internalType": "uint256", "name": "fieldId", "type": "uint256" } ], "name": "TemperatureChange", "type": "event" }, { "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": [], "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", "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": "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": "getTotalBdv", "outputs": [ { "internalType": "uint256", "name": "totalBdv", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "currentGaugePoints", "type": "uint256" }, { "internalType": "uint256", "name": "optimalPercentDepositedBdv", "type": "uint256" }, { "internalType": "uint256", "name": "percentOfDepositedBdv", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "defaultGaugePointFunction", "outputs": [ { "internalType": "uint256", "name": "newGaugePoints", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "optimalPercentBdv", "type": "uint256" } ], "name": "getExtremelyFarAbove", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "optimalPercentBdv", "type": "uint256" } ], "name": "getExtremelyFarBelow", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "optimalPercentBdv", "type": "uint256" } ], "name": "getRelativelyFarAbove", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "optimalPercentBdv", "type": "uint256" } ], "name": "getRelativelyFarBelow", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "StringsInsufficientHexLength", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "_uri", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "URI", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "int96", "name": "stem", "type": "int96" }, { "internalType": "int96", "name": "stemTip", "type": "int96" } ], "name": "imageURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "depositId", "type": "uint256" } ], "name": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "ticketId", "type": "uint256" } ], "name": "RetryableTicketCreated", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "L2Beanstalk", "type": "address" }, { "internalType": "uint256", "name": "maxSubmissionCost", "type": "uint256" }, { "internalType": "uint256", "name": "maxGas", "type": "uint256" }, { "internalType": "uint256", "name": "gasPriceBid", "type": "uint256" } ], "name": "approveL2Receiver", "outputs": [ { "internalType": "uint256", "name": "ticketID", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "L2Beanstalk", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" }, { "internalType": "uint256", "name": "maxSubmissionCost", "type": "uint256" }, { "internalType": "uint256", "name": "maxGas", "type": "uint256" }, { "internalType": "uint256", "name": "gasPriceBid", "type": "uint256" } ], "name": "migrateL2Beans", "outputs": [ { "internalType": "uint256", "name": "ticketID", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "L1BeansMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "bdvs", "type": "uint256[]" } ], "name": "L1DepositsMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "fertIds", "type": "uint256[]" }, { "indexed": false, "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }, { "indexed": false, "internalType": "uint128", "name": "lastBpf", "type": "uint128" } ], "name": "L1FertilizerMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "indexed": false, "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "L1InternalBalancesMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "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" } ], "indexed": false, "internalType": "struct L1ReceiverFacet.L1PodOrder[]", "name": "orders", "type": "tuple[]" } ], "name": "L1OrdersMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "index", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "pods", "type": "uint256[]" } ], "name": "L1PlotsMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ReceiverApproved", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "approveReceiver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getDepositMerkleRoot", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getFertilizerMerkleRoot", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getInternalBalanceMerkleRoot", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getPlotMerkleRoot", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "getReceiver", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "bdvs", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "issueDeposits", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "fertIds", "type": "uint256[]" }, { "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }, { "internalType": "uint128", "name": "lastBpf", "type": "uint128" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "issueFertilizer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "issueInternalBalances", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "index", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "pods", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "issuePlots", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "recieveL1Beans", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "depositIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "bdvs", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "verifyDepositMerkleProof", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "fertIds", "type": "uint256[]" }, { "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }, { "internalType": "uint128", "name": "lastBpf", "type": "uint128" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "verifyFertilizerMerkleProof", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "verifyInternalBalanceMerkleProof", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256[]", "name": "index", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "verifyPlotMerkleProof", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" } ]