Fulfillment
Description
A fulfillment is the product of a bounty and is basic construct in the [StandardBounties contract](https://github.com/Bounties-Network/StandardBountiest. This module performs all actions available on fulfillments and is architected in a similar fashion as the bounty module.
Actions
loadFulfillment(bountyId, fulfillmentId)
Load a specific fulfillment
acceptFulfillment(bountyId, fulfillmentId)
Accept fulfillmentId
on the bounty associated with bountyId
createFulfillment(bountyId, bountyPlatform, data)
Create a new fulfillment on bountyId
where bountyPlatform
is the same as the bounty's platform
State
{
"loading": bool,
"loaded": bool,
"error": bool,
"fulfillment": Fulfillment,
"acceptFulfillment": {
"loading": bool,
"error": bool
},
"createFulfillment": {
"loading": bool,
"error": bool
}
}
Selectors
fulfillmentSelector(state)
Retrieves the entire fulfillment state as described in the state section
Updated less than a minute ago