Marketplace Facet
The Marketplace Facet handles logic for buying and selling Pods on the Pod Market.
Call Functions
Create Pod Listing
function createPodListing(
uint256 index,
uint256 start,
uint256 amount,
uint24 pricePerPod,
uint256 maxHarvestableIndex,
uint256 minFillAmount,
LibTransfer.To mode
) external payable;WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
pricePerPod
uint24
WIP
maxHarvestableIndex
uint256
WIP
minFillAmount
uint256
WIP
mode
To
WIP
Create Pod Listing V2
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
maxHarvestableIndex
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
mode
To
WIP
Fill Pod Listing
WIP
l
PodListing
WIP
beanAmount
uint256
WIP
mode
From
WIP
Fill Pod Listing V2
WIP
l
PodListing
WIP
beanAmount
uint256
WIP
pricingFunction
bytes
WIP
mode
From
WIP
Cancel Pod Listing
WIP
index
uint256
WIP
Create Pod Order
WIP
beanAmount
uint256
WIP
pricePerPod
uint24
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
mode
From
WIP
id
bytes32
WIP
Create Pod Order V2
beanAmount
uint256
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
mode
From
WIP
id
bytes32
WIP
Fill Pod Order
WIP
o
PodOrder
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
mode
To
WIP
Fill Pod Order V2
WIP
o
PodOrder
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
pricingFunction
bytes
WIP
mode
To
WIP
Cancel Pod Order
WIP
pricePerPod
uint24
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
mode
To
WIP
Cancel Pod Order V2
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
mode
To
WIP
Transfer Plot
WIP
sender
address
WIP
recipient
address
WIP
id
uint256
WIP
start
uint256
WIP
end
uint256
WIP
Approve Pods
WIP
spender
address
WIP
amount
uint256
WIP
Get Amount Pods From Fill Listing V2
WIP
placeInLine
uint256
WIP
podListingAmount
uint256
WIP
fillBeanAmount
uint256
WIP
pricingFunction
bytes
WIP
amount
uint256
WIP
Get Amount Beans To Fill Order V2
WIP
placeInLine
uint256
WIP
amountPodsFromOrder
uint256
WIP
pricingFunction
bytes
WIP
beanAmount
uint256
WIP
View Functions
Pod Order
WIP
account
address
WIP
pricePerPod
uint24
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
uint256
WIP
Pod Order V2
WIP
account
address
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
uint256
WIP
Pod Order By Id
WIP
id
bytes32
WIP
uint256
WIP
Pod Listing
WIP
index
uint256
WIP
bytes32
WIP
Allowance Pods
WIP
owner
address
WIP
spender
address
WIP
uint256
WIP
Events
Pod Listing Created
WIP
account
address
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
pricePerPod
uint24
WIP
maxHarvestableIndex
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
mode
To
WIP
pricingType
PriceType
WIP
Pod Listing Filled
WIP
from
address
WIP
to
address
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
costInBeans
uint256
WIP
Pod Listing Cancelled
WIP
account
address
WIP
index
uint256
WIP
Pod Order Created
WIP
account
address
WIP
id
bytes32
WIP
amount
uint256
WIP
pricePerPod
uint24
WIP
maxPlaceInLine
uint256
WIP
minFillAmount
uint256
WIP
pricingFunction
bytes
WIP
priceType
PriceType
WIP
Pod Order Filled
WIP
from
address
WIP
to
address
WIP
id
bytes32
WIP
index
uint256
WIP
start
uint256
WIP
amount
uint256
WIP
costInBeans
uint256
WIP
Pod Order Cancelled
WIP
account
address
WIP
id
bytes32
WIP
Plot Transfer
WIP
from
address
WIP
to
address
WIP
id
uint256
WIP
pods
uint256
WIP
Pod Approval
WIP
owner
address
WIP
spender
address
WIP
pods
uint256
WIP
Last updated