mirror of
https://github.com/autistic-symposium/web3-starter-sol.git
synced 2025-04-22 16:59:08 -04:00
Update README.md
This commit is contained in:
parent
bc9a1d3252
commit
0a489b973d
@ -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…
x
Reference in New Issue
Block a user