-
Notifications
You must be signed in to change notification settings - Fork 151
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
doc: brief doc on the type system #26
Conversation
abi/type_system.md
Outdated
### Trait Layout | ||
|
||
``` | ||
SolType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is no longer true. SolError does not implement SolType
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm it should not
abi/type_system.md
Outdated
- `SolType` - Provides type name and properties, and basic ABI coding | ||
- `SolDataType` - Provides EIP-712 and `encodePacked` | ||
- `SolError` - describes custom Error types with selector, and provides | ||
specialized coding methods | ||
- `SolCall` - describes function **arguments** with selector, and provides | ||
specialized coding methods | ||
- `SolEvent` - describes Event types with topic 0 and internal tuple, and | ||
provides specialized coding methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we href types/traits to docs.rs?
https://docs.rs/ethers-abi-enc/latest/ethers_abi_enc/<item>.<Name>.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, when we've 100% finalized the traits
75f4ed1
to
0d25fa9
Compare
Adds a md doc to the abi crate describing the solidity type representation