[ { "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": "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" }, { "internalType": "uint256", "name": "supply", "type": "uint256" } ], "name": "_getPenalizedUnderlying", "outputs": [ { "internalType": "uint256", "name": "redeem", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "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": [ { "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": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "pick", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "picked", "outputs": [ { "internalType": "bool", "name": "", "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" }, { "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": "isFertilizing", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "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": [ { "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": "user", "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": "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" }, { "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": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "registry", "type": "address" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "uint256", "name": "minAmountOut", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "addLiquidity", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "registry", "type": "address" }, { "internalType": "address", "name": "fromToken", "type": "address" }, { "internalType": "address", "name": "toToken", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountOut", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "exchange", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "fromToken", "type": "address" }, { "internalType": "address", "name": "toToken", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountOut", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "exchangeUnderlying", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "registry", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256[]", "name": "minAmountsOut", "type": "uint256[]" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "removeLiquidity", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "registry", "type": "address" }, { "internalType": "uint256[]", "name": "amountsOut", "type": "uint256[]" }, { "internalType": "uint256", "name": "maxAmountIn", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "removeLiquidityImbalance", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "registry", "type": "address" }, { "internalType": "address", "name": "toToken", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountOut", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "fromMode", "type": "uint8" }, { "internalType": "enum LibTransfer.To", "name": "toMode", "type": "uint8" } ], "name": "removeLiquidityOneToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint32", "name": "id", "type": "uint32" } ], "name": "CompleteFundraiser", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint32", "name": "id", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "payee", "type": "address" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "CreateFundraiser", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "uint32", "name": "id", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "FundFundraiser", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "payee", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "createFundraiser", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "id", "type": "uint32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "fund", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "id", "type": "uint32" } ], "name": "fundingToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "id", "type": "uint32" } ], "name": "fundraiser", "outputs": [ { "components": [ { "internalType": "address", "name": "payee", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "total", "type": "uint256" }, { "internalType": "uint256", "name": "remaining", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" } ], "internalType": "struct Storage.Fundraiser", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "numberOfFundraisers", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "id", "type": "uint32" } ], "name": "remainingFunding", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "id", "type": "uint32" } ], "name": "totalFunding", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "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": "account", "type": "address" }, { "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": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "beans", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "pods", "type": "uint256" } ], "name": "Sow", "type": "event" }, { "inputs": [ { "internalType": "uint256[]", "name": "plots", "type": "uint256[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "harvest", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "harvestableIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "index", "type": "uint256" } ], "name": "plot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "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": "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": [], "name": "totalHarvestable", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalHarvested", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "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": [], "name": "totalUnharvestable", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "yield", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "pods", "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": "pods", "type": "uint256" } ], "name": "PodApproval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "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": "bytes", "name": "pricingFunction", "type": "bytes" }, { "indexed": false, "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" }, { "indexed": false, "internalType": "enum LibPolynomial.PriceType", "name": "pricingType", "type": "uint8" } ], "name": "PodListingCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "costInBeans", "type": "uint256" } ], "name": "PodListingFilled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "name": "PodOrderCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "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" }, { "indexed": false, "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "indexed": false, "internalType": "enum LibPolynomial.PriceType", "name": "priceType", "type": "uint8" } ], "name": "PodOrderCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "start", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "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" } ], "name": "allowancePods", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approvePods", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "cancelPodListing", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "cancelPodOrder", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "cancelPodOrderV2", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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" } ], "name": "createPodListing", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "maxHarvestableIndex", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "createPodListingV2", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "createPodOrder", "outputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "createPodOrderV2", "outputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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": "l", "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": "account", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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": "l", "type": "tuple" }, { "internalType": "uint256", "name": "beanAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "internalType": "enum LibTransfer.From", "name": "mode", "type": "uint8" } ], "name": "fillPodListingV2", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" } ], "internalType": "struct Order.PodOrder", "name": "o", "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": "account", "type": "address" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" } ], "internalType": "struct Order.PodOrder", "name": "o", "type": "tuple" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "fillPodOrderV2", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "placeInLine", "type": "uint256" }, { "internalType": "uint256", "name": "amountPodsFromOrder", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" } ], "name": "getAmountBeansToFillOrderV2", "outputs": [ { "internalType": "uint256", "name": "beanAmount", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "placeInLine", "type": "uint256" }, { "internalType": "uint256", "name": "podListingAmount", "type": "uint256" }, { "internalType": "uint256", "name": "fillBeanAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" } ], "name": "getAmountPodsFromFillListingV2", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "podListing", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint24", "name": "pricePerPod", "type": "uint24" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" } ], "name": "podOrder", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" } ], "name": "podOrderById", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "maxPlaceInLine", "type": "uint256" }, { "internalType": "uint256", "name": "minFillAmount", "type": "uint256" }, { "internalType": "bytes", "name": "pricingFunction", "type": "bytes" } ], "name": "podOrderV2", "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": "id", "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": "account", "type": "address" } ], "name": "balanceOfGrownStalkUpToStemsDeployment", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOfLegacySeeds", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "getDepositLegacy", "outputs": [ { "internalType": "uint128", "name": "", "type": "uint128" }, { "internalType": "uint128", "name": "", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint32[][]", "name": "seasons", "type": "uint32[][]" }, { "internalType": "uint256[][]", "name": "amounts", "type": "uint256[][]" }, { "internalType": "uint256", "name": "stalkDiff", "type": "uint256" }, { "internalType": "uint256", "name": "seedsDiff", "type": "uint256" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "mowAndMigrate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "mowAndMigrateNoDeposits", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "totalMigratedBdv", "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": "RemoveDeposit", "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" }, { "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": "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" }, { "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" }, { "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": "curveToBDV", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "dewhitelistToken", "outputs": [], "stateMutability": "payable", "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": "struct Storage.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": "struct Storage.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": "bytes4", "name": "gaugePointSelector", "type": "bytes4" }, { "internalType": "bytes4", "name": "liquidityWeightSelector", "type": "bytes4" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "updateGaugeForToken", "outputs": [], "stateMutability": "payable", "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": "uint32", "name": "stalkIssuedPerBdv", "type": "uint32" }, { "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "internalType": "bytes4", "name": "gaugePointSelector", "type": "bytes4" }, { "internalType": "bytes4", "name": "liquidityWeightSelector", "type": "bytes4" }, { "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "whitelistToken", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "uint32", "name": "stalkIssuedPerBdv", "type": "uint32" }, { "internalType": "uint32", "name": "stalkEarnedPerSeason", "type": "uint32" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "bytes4", "name": "gaugePointSelector", "type": "bytes4" }, { "internalType": "bytes4", "name": "liquidityWeightSelector", "type": "bytes4" }, { "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "whitelistTokenWithEncodeType", "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" } ], "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" }, { "internalType": "uint256", "name": "plentyPerRoot", "type": "uint256" }, { "internalType": "uint256", "name": "plenty", "type": "uint256" } ], "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": "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": "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" } ], "name": "getLastMowedStem", "outputs": [ { "internalType": "int96", "name": "lastStem", "type": "int96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getLegacySeedsPerToken", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "getMowStatus", "outputs": [ { "components": [ { "internalType": "int96", "name": "lastStem", "type": "int96" }, { "internalType": "uint128", "name": "bdv", "type": "uint128" } ], "internalType": "struct Account.MowStatus", "name": "mowStatus", "type": "tuple" } ], "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": [ { "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": "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": "account", "type": "address" } ], "name": "migrationNeeded", "outputs": [ { "internalType": "bool", "name": "hasMigrated", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "seasonToStem", "outputs": [ { "internalType": "int96", "name": "stem", "type": "int96" } ], "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": "uint32", "name": "stalkIssuedPerBdv", "type": "uint32" }, { "internalType": "uint32", "name": "milestoneSeason", "type": "uint32" }, { "internalType": "int96", "name": "milestoneStem", "type": "int96" }, { "internalType": "bytes1", "name": "encodeType", "type": "bytes1" }, { "internalType": "int24", "name": "deltaStalkEarnedPerSeason", "type": "int24" }, { "internalType": "bytes4", "name": "gpSelector", "type": "bytes4" }, { "internalType": "bytes4", "name": "lwSelector", "type": "bytes4" }, { "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "internalType": "struct Storage.SiloSettings", "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": "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" }, { "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": 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" }, { "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": [], "name": "claimPlenty", "outputs": [], "stateMutability": "payable", "type": "function" }, { "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": "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" }, { "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" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32", "name": "season", "type": "uint32" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "claimWithdrawal", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32[]", "name": "seasons", "type": "uint32[]" }, { "internalType": "enum LibTransfer.To", "name": "mode", "type": "uint8" } ], "name": "claimWithdrawals", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getTotalWithdrawn", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint32", "name": "season", "type": "uint32" } ], "name": "getWithdrawal", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" } ], "name": "DewhitelistToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bytes4", "name": "gpSelector", "type": "bytes4" }, { "indexed": false, "internalType": "bytes4", "name": "lwSelector", "type": "bytes4" }, { "indexed": false, "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "UpdateGaugeSettings", "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": "bytes4", "name": "gpSelector", "type": "bytes4" }, { "indexed": false, "internalType": "bytes4", "name": "lwSelector", "type": "bytes4" }, { "indexed": false, "internalType": "uint128", "name": "gaugePoints", "type": "uint128" }, { "indexed": false, "internalType": "uint64", "name": "optimalPercentDepositedBdv", "type": "uint64" } ], "name": "WhitelistToken", "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": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint32", "name": "season", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "RemoveWithdrawal", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint32[]", "name": "seasons", "type": "uint32[]" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "RemoveWithdrawals", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "delta", "type": "int256" } ], "name": "SeedsBalanceChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "deltaGerminatingStalk", "type": "int256" }, { "indexed": false, "internalType": "enum LibGerminate.Germinate", "name": "germinationState", "type": "uint8" } ], "name": "FarmerGerminatingStalkBalanceChanged", "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": false, "internalType": "int256", "name": "deltaStalk", "type": "int256" }, { "indexed": false, "internalType": "int256", "name": "deltaRoots", "type": "int256" } ], "name": "TotalStalkChangedFromGermination", "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" } ], "name": "AddWhitelistStatus", "type": "event" }, { "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": 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" } ], "name": "UpdateWhitelistStatus", "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" }, { "inputs": [], "name": "maxWeight", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "currentGaugePoints", "type": "uint256" }, { "internalType": "uint256", "name": "optimalPercentDepositedBdv", "type": "uint256" }, { "internalType": "uint256", "name": "percentOfDepositedBdv", "type": "uint256" } ], "name": "defaultGaugePointFunction", "outputs": [ { "internalType": "uint256", "name": "newGaugePoints", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "abovePeg", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "currentGaugePoints", "type": "uint256" }, { "internalType": "uint256", "name": "optimalPercentDepositedBdv", "type": "uint256" }, { "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": "getBeanEthGaugePointsPerBdv", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "getLargestLiqWell", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLiquidityToSupplyRatio", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "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": "struct Storage.SeedGauge", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSopWell", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalBdv", "outputs": [ { "internalType": "uint256", "name": "totalBdv", "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": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_season", "type": "uint32" } ], "name": "plentyPerRoot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "deprecated", "type": "uint256" }, { "internalType": "uint256", "name": "pods", "type": "uint256" }, { "internalType": "uint256", "name": "roots", "type": "uint256" } ], "internalType": "struct Storage.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": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "time", "outputs": [ { "components": [ { "internalType": "uint32", "name": "current", "type": "uint32" }, { "internalType": "uint32", "name": "lastSop", "type": "uint32" }, { "internalType": "uint8", "name": "withdrawSeasons", "type": "uint8" }, { "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": "uint32", "name": "sunriseBlock", "type": "uint32" }, { "internalType": "bool", "name": "abovePeg", "type": "bool" }, { "internalType": "uint16", "name": "stemStartSeason", "type": "uint16" }, { "internalType": "uint16", "name": "stemScaleSeason", "type": "uint16" }, { "internalType": "uint32", "name": "beanEthStartMintingSeason", "type": "uint32" }, { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "period", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "internalType": "struct Storage.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": "uint256[2]", "name": "deprecated", "type": "uint256[2]" }, { "internalType": "uint128", "name": "lastDSoil", "type": "uint128" }, { "internalType": "uint32", "name": "lastSowTime", "type": "uint32" }, { "internalType": "uint32", "name": "thisSowTime", "type": "uint32" }, { "internalType": "uint32", "name": "t", "type": "uint32" } ], "internalType": "struct Storage.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": true, "internalType": "uint32", "name": "season", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "toField", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "toSilo", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "toFertilizer", "type": "uint256" } ], "name": "Reward", "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" }, { "indexed": false, "internalType": "uint256", "name": "toField", "type": "uint256" } ], "name": "SeasonOfPlenty", "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" } ], "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" } ]