IFlowERC721V4
Functions
stackToFlow
As per IFlowV4
but returns a FlowERC721IOV1
instead of a
FlowTransferV1
.
function stackToFlow(uint256[] memory stack) external pure returns (FlowERC721IOV1 memory flowERC721IO);
flow
As per IFlowV4
but returns a FlowERC721IOV1
instead of a
FlowTransferV1
and mints/burns itself as an ERC721 accordingly.
function flow(Evaluable calldata evaluable, uint256[] calldata callerContext, SignedContextV1[] calldata signedContexts)
external
returns (FlowERC721IOV1 calldata flowERC721IO);
Parameters
Name | Type | Description |
---|---|---|
evaluable | Evaluable | The Evaluable to use to evaluate the flow. |
callerContext | uint256[] | The caller context to use to evaluate the flow. |
signedContexts | SignedContextV1[] | The signed contexts to use to evaluate the flow. |
Returns
Name | Type | Description |
---|---|---|
flowERC721IO | FlowERC721IOV1 | The FlowERC721IOV1 representing all token mint/burns and transfers that occurred during the flow. |
Events
Initialize
Contract has initialized.
event Initialize(address sender, FlowERC721ConfigV2 config);
Parameters
Name | Type | Description |
---|---|---|
sender | address | msg.sender initializing the contract (factory). |
config | FlowERC721ConfigV2 | All initialized config. |