Security: Formal Verification using Act [Simple NFT Contract]
- v1 doesn't check if minting reaches 3000 which is supposed to be the NFT max supply. Therefore, Act indicates the behaviour of mint function violates this requirement.
- v2 does check that. Thus, it passes the check!
act prove --file sec-fv-sample/spec/nftv1.act
act prove --file sec-fv-sample/spec/nftv2.act
MIT