You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abi-to-sol now has a web UI! 🎉 See it in action here.
In addition, this release begins to add functionality for producing output to match syntax of older Solidity versions. Previously, the -V / solidityVersion option only affected the pragma, but the rest of output might not compile on the version specify. This release starts to change that with support for the following two Solidity changes:
Array arguments are now specified as having location memory. Previously, they were specified as calldata or listed without location. This tool now handles this distinction back to ^0.4.24 (or maybe a bit earlier).
Solidity now distinguishes between fallback and receive. This tool now handles that syntax change across Solidity's past, and will even generate function () external payable; when given an ABI with a receive.
There are still various other version-specific differences to account for (e.g. structs outside of contracts), but those will have to come later. In the meantime: enjoy! ⚙️
Note: this release marks a git history change to convert to a lerna monorepo. In the process, this removes support for Node v10 (i.e. I've turned off the CI job due. Please open an issue if you need Node v10 support... maybe it's an easy fix). This also pins prettier-plugin solidity to 1.0.0-alpha.59 due to problems with later versions.
New features
Export GenerateSolidityOptions interface type (#13 by @gnidan)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
abi-to-sol v0.3.0
abi-to-sol now has a web UI! 🎉 See it in action here.
In addition, this release begins to add functionality for producing output to match syntax of older Solidity versions. Previously, the
-V
/solidityVersion
option only affected the pragma, but the rest of output might not compile on the version specify. This release starts to change that with support for the following two Solidity changes:memory
. Previously, they were specified ascalldata
or listed without location. This tool now handles this distinction back to ^0.4.24 (or maybe a bit earlier).fallback
andreceive
. This tool now handles that syntax change across Solidity's past, and will even generatefunction () external payable;
when given an ABI with areceive
.There are still various other version-specific differences to account for (e.g.
struct
s outside of contracts), but those will have to come later. In the meantime: enjoy! ⚙️Note: this release marks a git history change to convert to a lerna monorepo. In the process, this removes support for Node v10 (i.e. I've turned off the CI job due. Please open an issue if you need Node v10 support... maybe it's an easy fix). This also pins prettier-plugin solidity to
1.0.0-alpha.59
due to problems with later versions.New features
Bug fixes
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions