Research Article

A Research on Traceability Technology of Agricultural Products Supply Chain Based on Blockchain and IPFS

Table 2

Contract function description.

FunctionDescription

node_register()Only the supervisory authority can call users whose registration has been successfully verified
node_record()Only the supervisory authority can call it to record the object that this batch of goods belongs to at the time
release_pro()This is used to release the information of the batch of goods
Trans_Record()This is used to record transactions
Dispute_event()Arbitrators or third-party agencies handle transaction disputes
Signature()This is used for evaluation signature
Storage()This is used to store records
Credit()This is used to update reputation value