Smart contracts in the Internet of Things delivery