Skip to content
Languages / Solidity

Solidity

How Atracode compiles Solidity, what it is verified against, and what it refuses.

Style
Application
Verified against
solc and the EVM
Published results
Per release, in the changelog

What is supported

Contracts, mappings, structs and 256-bit arithmetic with checked overflow, matched against the EVM state after every call.

Modern app languages with checked and wrapping arithmetic.

How it is verified

Every Solidity program is compiled twice, once by Atracode and once by solc and the EVM. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.

$ atracode compile main.src
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • SwiftVerified against Swift 6
  • DartVerified against dart run
  • CrystalVerified against Crystal compiler
esc

Type to search titles, headings and text.