Skip to content

Commit

Permalink
docs: add a section about calldata layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pirapira committed Nov 23, 2016
1 parent 0c874bb commit 452dbef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/miscellaneous.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
*****************
Expand Down

0 comments on commit 452dbef

Please sign in to comment.