Field Facet
The Field Facet is where Beans are Sown.
Call Functions
Sow Beans in exchange for Pods.
Parameter | Type | Description |
---|---|---|
|
| The number of Beans to Sow. |
|
| The minimum Temperature at which to Sow. |
|
| The balance to transfer Beans from; see |
Return Value | Type | Description |
---|---|---|
|
| The number of Pods received. |
Sow Beans in exchange for Pods. Use at least minSoil
.
Parameter | Type | Description |
---|---|---|
|
| The number of Beans to Sow. |
|
| The minimum Temperature at which to Sow. |
|
| The minimum amount of Soil to use; reverts if there is less than this much Soil available upon execution. |
|
| The balance to transfer Beans from; see |
Return Value | Type | Description |
---|---|---|
|
| The number of Pods received. |
Harvest Pods from the Field.
Parameter | Type | Description |
---|---|---|
|
| List of Plot IDs to Harvest. |
|
| The balance to transfer Beans to; see |
View Functions
Returns the total number of Pods ever minted.
Return Type | Description |
---|---|
| The total number of Pods ever minted. |
Returns the index below which Pods are Harvestable.
Return Type | Description |
---|---|
| The index below which Pods are Harvestable. |
Returns the number of outstanding Pods. Includes Pods that are currently Harvestable but have not yet been Harvested.
Return Type | Description |
---|---|
| The number of outstanding Pods. |
Returns the number of Pods that have ever been Harvested.
Return Type | Description |
---|---|
| The number of Pods that have ever been Harvested. |
Returns the number of Pods that are currently Harvestable but have not yet been Harvested.
Return Type | Description |
---|---|
| The number of Pods that are currently Harvestable but have not yet been Harvested. |
Returns the number of Pods that are not yet Harvestable.
Return Type | Description |
---|---|
| The number of Pods that are not yet Harvestable. |
Returns the number of Pods remaining in a Plot.
Parameter | Type | Description |
---|---|---|
|
| The account that owns a Plot. |
|
| The ID of a Plot. |
Return Type | Description |
---|---|
| The number of Pods remaining in a Plot. |
Returns the total available Soil.
Return Type | Description |
---|---|
| The total available Soil. |
Returns the current yield (aka "Temperature") offered by Beanstalk when burning Beans in exchange for Pods.
Return Type | Description |
---|---|
| The current yield offered by Beanstalk when burning Beans in exchange for Pods. |
Returns the current Temperature, the interest rate offered by Beanstalk in exchange for Sowing Beans.
Return Value | Description |
---|---|
| The current Temperature. |
Returns the Maximum Temperature that Beanstalk is willing to offer this Season.
Return Type | Description |
---|---|
| The Maximum Temperature. |
Returns the remaining Pods that could be issued this Season.
Return Value | Description |
---|---|
| The remaining Pods that could be issued this Season. |
Events
Emitted from LibDibbler.sowNoSoil
when an account
creates a Plot. A Plot is a set of Pods created in from a single sow
or fund
call.
Parameter | Type | Description |
---|---|---|
|
| The account that Sowed Beans for Pods. |
|
| The Place in Line of the Plot. |
|
| The amount of Beans burnt to create the Plot. |
|
| The amount of Pods associated with the created Plot. |
Emitted when account
claims the Beans associated with Harvestable Pods.
Parameter | Type | Description |
---|---|---|
|
| The account that owns the |
|
| The indices of Plots that were Harvested. |
|
| The amount of Beans transferred to |
Emitted when a Pod Listing is Cancelled.
Parameter | Type | Description |
---|---|---|
|
| The account that created the Pod Listing. |
|
| The index of the Plot listed. |
Last updated