Transporter
Author: Tinotenda Joe
This contract manages the handling of packages in the supply chain
Functions
handlePackage
Function to handle picking of packages
function handlePackage(address _addr, uint256 transportertype, address cid) public;
Parameters
Name | Type | Description |
---|---|---|
_addr | address | The address of the package origin |
transportertype | uint256 | The type of transporter (1- Supplier to Manufacturer, 2 - Manufacturer to Wholesaler, 3 - Wholesaler to Distributer, 4 - Distributer to finalConsumer) |
cid | address | The identifier for the commodity |