Workers Auto Approve
Add units to ABI output
Python, Dockerfile, Makefile
## Simple Summary
We have units. It would be nice to add them to the ABI for use externally
Add `"units":"Full unit name"` to input listings, output listings, and event listings. As this is a optional readability enhancement for programmers using the smart contract through it's ABI, the full name is better to use than it's shorthand.
Units are a great addition to Vyper for internal use -- it reduces occurrences of incompatible units being mixed with each other in Vyper programs -- so why not extend that to external users of the programs by having the units available alongside type information. This way, front end programmers and CLI interactions can have a bit more context without having to read the program e.g. "Is this input wei or ether?"
Please note this would be an OPTIONAL part of the the ABI specification (not that one exists), similar to `gas`
def velocity(d: uint256(m), t: uint256(s)) -> uint256(m/s):
return d / t
"unit": "Meter per Second"
We can change some of the conjugate units using a lexical conversion of their operators:
N * m # "Newton-Meter"
m / s # "Meter per Second"
m / s**2 # "Meter per Second squared"
N * m / s**2 # "Newton-Meter per Second squared"
## Backwards Compatibility
No backwards incompatibilities
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/)
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: