SupplyChain MadicineNewBatch 3279bc96| inputs | 0 | address | BatchId | |
| 1 | address | Manufacturer | ||
| 2 | address | shipper | ||
| 3 | address | Receiver |
MadicineStatus 7e0150eb| inputs | 0 | address | BatchID | |
| 1 | address | Pharma | ||
| 2 | uint256 | status |
RawSupplyInit 9dbe7d9f| inputs | 0 | address | ProductID | |
| 1 | address | Supplier | ||
| 2 | address | Shipper | ||
| 3 | address | Receiver |
UserRegister 33a7170f| inputs | 0 | address | EthAddress | |
| 1 | bytes32 | Name |
UserRoleRessigne 4c8b3f61| inputs | 0 | address | EthAddress | |
| 1 | bytes32 | Name | ||
| 2 | uint256 | Role |
UserRoleRevoked b5f04dfc| inputs | 0 | address | EthAddress | |
| 1 | bytes32 | Name | ||
| 2 | uint256 | Role |
Owner b4a99a4ecreateRawPackage d40da967@dev Create new raw package by Supplier
| inputs | 0 | bytes32 | Des | Transporter Ethereum Network Address |
| 1 | bytes32 | FN | ||
| 2 | bytes32 | Loc | ||
| 3 | uint256 | Quant | ||
| 4 | address | Shpr | ||
| 5 | address | Rcvr | Manufacturer Ethereum Network Address |
getBatchIdByIndexDP f05bcd4e@dev Get Madicine BatchID by indexed value of stored data
| inputs | 0 | uint256 | index | Index Number |
| outputs | 0 | address | packageID |
getBatchIdByIndexM 986c9139@dev Get Madicine BatchID by indexed value of stored data
| inputs | 0 | uint256 | index | Indexed Number |
| outputs | 0 | address | packageID |
getBatchIdByIndexP e5bff92a@dev Get Madicine BatchID by indexed value of stored data
| inputs | 0 | uint256 | index | Index Number |
| outputs | 0 | address | BatchID |
getBatchIdByIndexWD 9af035a3@dev Get Madicine BatchID by indexed value of stored data
| inputs | 0 | uint256 | index | Indexed Number |
| outputs | 0 | address | packageID |
getBatchesCountDP 884b9c52@dev Get Madicine BatchID Count
| outputs | 0 | uint256 | count |
getBatchesCountM 3d66f86d@dev Get Madicine Batch Count
| outputs | 0 | uint256 | count |
getBatchesCountP e581762e@dev Get Madicine Batch count
| outputs | 0 | uint256 | count |
getBatchesCountWD 9f696b35@dev Get Madicine Batch Count
| outputs | 0 | uint256 | count |
getPackageIDByIndexM 0bcc7568@dev Get PackageID by Indexed value of stored data
| inputs | 0 | uint256 | index | Indexed Value |
| outputs | 0 | address | BatchID |
getPackageIdByIndexS 5e33cea4@dev Get PackageID by Indexed value of stored data
| inputs | 0 | uint256 | index | Indexed Value |
| outputs | 0 | address | packageID |
getPackagesCountM 9fb3a903@dev Get Package Count at Manufacturer
| outputs | 0 | uint256 | count |
getPackagesCountS 2becfd04@dev Get Count of created package by supplier(caller)
| outputs | 0 | uint256 | count |
getSubContractDP b6c022f5@dev Get SubContract ID of Madicine Batch Transfer in between Distributer to Pharma
| inputs | 0 | address | BatchID | Madicine BatchID |
| outputs | 0 | address | SubContractDP |
getSubContractWD 34759016@dev Get Sub Contract ID of Madicine Batch Transfer in between Wholesaler to Distributer
| inputs | 0 | address | BatchID | Madicine BatchID |
| outputs | 0 | address | SubContractWD |
getUserInfo 6386c1c7@dev Get User Information/ Profile
| inputs | 0 | address | User | User Ethereum Network Address |
| outputs | 0 | bytes32 | name | |
| 1 | bytes32 | location | ||
| 2 | address | ethAddress | ||
| 3 | uint8 | role |
getUserbyIndex 108329f8@dev Get User by Index value of stored data
| inputs | 0 | uint256 | index | Indexed Number |
| outputs | 0 | bytes32 | name | |
| 1 | bytes32 | location | ||
| 2 | address | ethAddress | ||
| 3 | uint8 | role |
getUsersCount a4a1e263@dev Get Number of registered Users
| outputs | 0 | uint256 | count |
loadConsingment 73f08eb3@dev Load Consingment fot transport one location to another.
| inputs | 0 | address | pid | PackageID or MadicineID |
| 1 | uint256 | transportertype | Transporter Type on the basic of tx between Roles | |
| 2 | address | cid | Sub Contract ID for Consingment transaction |
madicineReceived 2246e4d4@dev Madicine Batch Received
| inputs | 0 | address | batchid | Madicine BatchID |
| 1 | address | cid | Sub Contract ID for Madicine (if transaction Wholesaler to Distributer) |
madicineRecievedAtPharma 0cd48d81@dev Madicine Batch Recieved
| inputs | 0 | address | batchid | Madicine BatchID |
| 1 | address | cid | SubContract ID |
manufacturMadicine 9856f6b3@dev Create Madicine Batch
| inputs | 0 | bytes32 | Des | Description of madicine batch |
| 1 | bytes32 | RM | RawMatrials Information | |
| 2 | uint256 | Quant | Number of Units | |
| 3 | address | Shpr | Transporter Ethereum Network Address | |
| 4 | address | Rcvr | Receiver Ethereum Network Address | |
| 5 | uint256 | RcvrType | Receiver Type Ethier Wholesaler(1) or Distributer(2) |
rawPackageReceived bc8c5b1c@dev Update Package / Madicine batch recieved status by ethier Manufacturer or Distributer
| inputs | 0 | address | pid | PackageID or MadicineID |
reassigneRole 373d5c18@dev Reassigne new role to User
| inputs | 0 | address | userAddress | User Ethereum Network Address |
| 1 | uint256 | Role | Role to assigne |
registerUser 923f645a@dev Register New user by Owner
| inputs | 0 | address | EthAddress | Ethereum Network Address of User |
| 1 | bytes32 | Name | User name | |
| 2 | bytes32 | Location | User Location | |
| 3 | uint256 | Role | User Role |
revokeRole 80e52e3f@dev Revoke users role
| inputs | 0 | address | userAddress | User Ethereum Network Address |
salesInfo bb8ee1c5@dev Get Madicine Batch status
| inputs | 0 | address | BatchID | Madicine BatchID |
| outputs | 0 | uint256 | Status |
transferMadicineDtoP f9723eb6@dev Transfer Madicine BatchID in between Distributer to Pharma
| inputs | 0 | address | BatchID | Madicine BatchID |
| 1 | address | Shipper | Transporter Ethereum Network Address | |
| 2 | address | Receiver | Pharma Ethereum Network Address |
transferMadicineWtoD e95690aa@dev Sub Contract for Madicine Transfer from Wholesaler to Distributer
| inputs | 0 | address | BatchID | Madicine BatchID |
| 1 | address | Shipper | Transporter Ethereum Network Address | |
| 2 | address | Receiver | Distributer Ethereum Network Address |
updateSaleStatus eae3c207@dev Update Madicine Batch status
| inputs | 0 | address | BatchID | Madicine BatchID |
| 1 | uint256 | Status | Madicine Batch Status ( sold, expire etc.) |