IFlowERC721V3

Git Source

Functions

previewFlow

As per IFlowV3 but returns a FlowERC721IOV1 instead of a FlowTransferV1.

function previewFlow(
    Evaluable calldata evaluable,
    uint256[] calldata callerContext,
    SignedContextV1[] calldata signedContexts
) external view returns (FlowERC721IOV1 calldata flowERC721IO);

Parameters

NameTypeDescription
evaluableEvaluableThe Evaluable that is flowing.
callerContextuint256[]The context of the caller.
signedContextsSignedContextV1[]The signed contexts of the caller.

Returns

NameTypeDescription
flowERC721IOFlowERC721IOV1The FlowERC721IOV1 that would occur if the flow was executed.

flow

As per IFlowV3 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

NameTypeDescription
evaluableEvaluableThe Evaluable that is flowing.
callerContextuint256[]The context of the caller.
signedContextsSignedContextV1[]The signed contexts of the caller.

Returns

NameTypeDescription
flowERC721IOFlowERC721IOV1The FlowERC721IOV1 that occurred.

Events

Initialize

Contract has initialized.

event Initialize(address sender, FlowERC721Config config);

Parameters

NameTypeDescription
senderaddressmsg.sender initializing the contract (factory).
configFlowERC721ConfigAll initialized config.