second-state / SOLL

SOLL is a new compiler for generate Ewasm from solidity and yul. See a demo here: https://asciinema.org/a/ezJqNLicn5fya02zwu4VXIo8a
https://www.secondstate.io/
377 stars 23 forks source link

Implement additional parse function to match solidity 0.8.x #87

Open LFsWang opened 3 years ago

LFsWang commented 3 years ago

IndexRangeAccess (0.6.0)

* https://github.com/ethereum/solidity/pull/7340
* 9885

parseNamedArguments

* Modified

FunctionCallOptions (0.6.2/0.7.0)

* Broken Change
* x.call{value: amount, v2: d2}("");
* old : x.f.gas(10000).value(2 ether)(arg1, arg2)
* https://github.com/ethereum/solidity/pull/8177

Revert and Custom error function (0.8.0)

* https://github.com/ethereum/solidity/pull/11037
* https://docs.soliditylang.org/en/v0.8.4/structure-of-a-contract.html?highlight=error-definition#errors

Try-catch (0.6.0)

unchecked (0.8.0)

* safe math
* unchecked(...) will not apply safemath check

Exp (0.8.0)

* (a**b)**c => a**(b**c)