Storage smart contracts