diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-11-21 22:47:04 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-11-23 20:55:37 +0800 |
commit | 452dbef3dcc27f46d3b7316a5573d2ce907b993c (patch) | |
tree | fa63922f17bea746e78dba2094ff37d3dd953146 /docs/miscellaneous.rst | |
parent | 0c874bbf275a69eb22855bcdbc20a2df39004c13 (diff) | |
download | dexon-solidity-452dbef3dcc27f46d3b7316a5573d2ce907b993c.tar.gz dexon-solidity-452dbef3dcc27f46d3b7316a5573d2ce907b993c.tar.zst dexon-solidity-452dbef3dcc27f46d3b7316a5573d2ce907b993c.zip |
docs: add a section about calldata layout
Part of #1390
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r-- | docs/miscellaneous.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 0b3eed38..15ff374d 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -74,6 +74,17 @@ Solidity always places new objects at the free memory pointer and memory is neve .. index: memory layout +******************* +Layout of Call Data +******************* + +When a Solidity contract is deployed and when it is called from an +account, the input data is assumed to be in the format in `the ABI +specification +<https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI>`_. The +ABI specification requires arguments to be padded to multiples of 32 +bytes. The internal function calls use a different convention. + ***************** Esoteric Features ***************** |