Product

Git Source

inletActive is used to determine which of the two inlets contributed to the final product

struct Product {
    bytes32 machineId;
    MaterialId materialId;
    uint256 amount;
    bool[2] inletActive;
}