Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/concrete/Flow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ contract Flow is ERC721Holder, ERC1155Holder, Multicall, ReentrancyGuard, IInter
config.deployer.deployExpression2(config.bytecode, config.constants);

{
// `io` is a `bytes` array. The deployer encodes per-
// source `(inputs, outputs)` pairs as consecutive
// bytes, with source 0 first. Flow only uses one
// source (`FLOW_ENTRYPOINT == 0`), so byte 0 is
// `flowInputs` and byte 1 is `flowOutputs`.
// `add(io, 0x20)` skips the bytes-length word to
// land on the first data word.
uint256 flowInputs;
uint256 flowOutputs;
assembly ("memory-safe") {
Expand Down
Loading