-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EIP-1921 dType - Extending the Decentralized Type System for Functions #1921
Comments
You should post this as a draft, so it has a persistent URL, and specify a discussions-to address (possibly this thread?) |
I made a PR request with the Draft at #2267. @Arachnid, regarding your question from another discussion:
The original issue that we were discussing was:
So, I will give a more appropriate example for the current state of the dType EIPs: Uint256 is too general a type. In different contexts, it means different things. Using dType, the dev will be able to express the intent:
In a comparison function:
We should not be able to compare the length with the volume. That is why we will use dType and the function will describe truthfully our intent:
So, The ERC20 example is not covered by the functions extension yet. The current proposal targets |
So, it's not possible to express the interface of a standard like ERC20 in DType? This seems like a basic piece of functionality to me. Can you give any end-to-end example of how someone defining a smart contract standard could use DType? |
EIP-1900 only describes a data type system. EIP-1921 only describes the function type extension. |
Example of end to end use of EIP-1900 and EIP-1921: #1882 (comment) |
There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment. |
Draft can be found at: #2267
In-work implementation examples, articles, video demos & related EIPs can be found at https://github.com/pipeos-one/dType.
The text was updated successfully, but these errors were encountered: