IFlowERC1155V3
Functions
previewFlow
As per IFlowV3
but returns a FlowERC1155IOV1
instead of a
FlowTransferV1
.
function previewFlow(
Evaluable calldata evaluable,
uint256[] calldata callerContext,
SignedContextV1[] calldata signedContexts
) external view returns (FlowERC1155IOV1 calldata flowERC1155IO);
Parameters
Name | Type | Description |
---|---|---|
evaluable | Evaluable | The Evaluable that is flowing. |
callerContext | uint256[] | The context of the caller. |
signedContexts | SignedContextV1[] | The signed contexts of the caller. |
Returns
Name | Type | Description |
---|---|---|
flowERC1155IO | FlowERC1155IOV1 | The FlowERC1155IOV1 that occurred. |
flow
As per IFlowV3
but returns a FlowERC1155IOV1
instead of a
FlowTransferV1
and mints/burns itself as an ERC1155 accordingly.
function flow(Evaluable calldata evaluable, uint256[] calldata callerContext, SignedContextV1[] calldata signedContexts)
external
returns (FlowERC1155IOV1 calldata flowERC1155IO);
Parameters
Name | Type | Description |
---|---|---|
evaluable | Evaluable | The Evaluable that is flowing. |
callerContext | uint256[] | The context of the caller. |
signedContexts | SignedContextV1[] | The signed contexts of the caller. |
Returns
Name | Type | Description |
---|---|---|
flowERC1155IO | FlowERC1155IOV1 | The FlowERC1155IOV1 that occurred. |
Events
Initialize
Contract has initialized.
event Initialize(address sender, FlowERC1155Config config);