aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-11-24 18:05:50 +0800
committerGitHub <noreply@github.com>2016-11-24 18:05:50 +0800
commite4619048547a51a20899ac9c89cbfac84091b04e (patch)
treefd83314fbfb745cd6c1bbfabf0d1d1f6db033ded /docs
parent851f85769ed819e5ec757f8ae4dfa6b28d2efc0f (diff)
parent452dbef3dcc27f46d3b7316a5573d2ce907b993c (diff)
downloaddexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.gz
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.bz2
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.lz
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.xz
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.tar.zst
dexon-solidity-e4619048547a51a20899ac9c89cbfac84091b04e.zip
Merge pull request #1413 from ethereum/calldata-layout
docs: add a section about calldata layout
Diffstat (limited to 'docs')
-rw-r--r--docs/miscellaneous.rst11
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
*****************