mirror of
https://github.com/autistic-symposium/web3-starter-sol.git
synced 2025-07-22 06:38:57 -04:00
Update README.md
This commit is contained in:
parent
bc9a1d3252
commit
0a489b973d
1 changed files with 11 additions and 2 deletions
|
@ -1,7 +1,12 @@
|
|||
## ABI encoding
|
||||
|
||||
<br>
|
||||
|
||||
### tl; dr
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
* the solidity built-in function `abi.encode` encodes solidity types into raw bytes, that can be interpreted directly by the EVM.
|
||||
|
||||
|
||||
|
@ -19,12 +24,16 @@ contract StringEncoding {
|
|||
<br>
|
||||
|
||||
|
||||
* *other ABI Encodings
|
||||
* other ABI Encodings
|
||||
* address payable -> address
|
||||
* contract -> address
|
||||
* enum -> uint8
|
||||
* struct -> tuple of elementry types
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
### resources
|
||||
### resources
|
||||
|
||||
<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue