diff options
author | chriseth <chris@ethereum.org> | 2016-11-24 18:05:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-24 18:05:50 +0800 |
commit | e4619048547a51a20899ac9c89cbfac84091b04e (patch) | |
tree | fd83314fbfb745cd6c1bbfabf0d1d1f6db033ded | |
parent | 851f85769ed819e5ec757f8ae4dfa6b28d2efc0f (diff) | |
parent | 452dbef3dcc27f46d3b7316a5573d2ce907b993c (diff) | |
download | dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.gz dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.zst dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.zip |
Merge pull request #1413 from ethereum/calldata-layout
docs: add a section about calldata layout
-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 ***************** |