Constants
FLOW_ENTRYPOINT
The entrypoint for a flow is always 0
because each flow has its own
evaluable with its own entrypoint. Running multiple flows involves evaluating
several expressions in sequence.
SourceIndex constant FLOW_ENTRYPOINT = SourceIndex.wrap(0);
FLOW_MAX_OUTPUTS
There is no maximum number of outputs for a flow. Pragmatically gas will limit the number of outputs well before this limit is reached.
uint16 constant FLOW_MAX_OUTPUTS = type(uint16).max;
FLOW_IS_REGISTERED
Any non-zero value indicates that the flow is registered.
uint256 constant FLOW_IS_REGISTERED = 1;
FLOW_IS_NOT_REGISTERED
Zero indicates that the flow is not registered.
uint256 constant FLOW_IS_NOT_REGISTERED = 0;