warehouse smart contracts