Smart Contracts: Shifting from ex-post to ex-ante decision making.