Theory SimpleAuction
theory SimpleAuction
imports Solidity_Main
begin
section ‹Simple Auction Contract›
abbreviation "SUMM x ≡ ∑ad∈UNIV. unat (valtype.uint (storage_data.vt (x (Address ad))))"
text ‹
In the following we verify the Blind Auction contract from the official Solidity documentation:
🌐‹https://docs.soliditylang.org/en/v0.8.25/solidity-by-example.html#blind-auction›.
›
subsection ‹Specification›
text ‹
The contract can now be specified using the "contract" command.
This command requires the following:
▪ A sequence of member variables
▪ A constructor
▪ A sequence of methods›