aboutsummaryrefslogtreecommitdiffstats
path: root/docs/abi-spec.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-28 18:35:18 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-28 18:59:35 +0800
commitdd2cc899bbf71c1234d3bc1f2ea55c4716dbfd0d (patch)
tree45575748da47b868837cf2e236211f6a3460ed92 /docs/abi-spec.rst
parent2b3a49f702579cfa78d7cfa90600894a31f55e9e (diff)
downloaddexon-solidity-dd2cc899bbf71c1234d3bc1f2ea55c4716dbfd0d.tar.gz
dexon-solidity-dd2cc899bbf71c1234d3bc1f2ea55c4716dbfd0d.tar.zst
dexon-solidity-dd2cc899bbf71c1234d3bc1f2ea55c4716dbfd0d.zip
Fix lists and links
Diffstat (limited to 'docs/abi-spec.rst')
-rw-r--r--docs/abi-spec.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst
index fffd9a2c..ab7a8b32 100644
--- a/docs/abi-spec.rst
+++ b/docs/abi-spec.rst
@@ -214,6 +214,7 @@ In total::
0xfce353f661626300000000000000000000000000000000000000000000000000000000006465660000000000000000000000000000000000000000000000000000000000
If we wanted to call `sam` with the arguments `"dave"`, `true` and `[1,2,3]`, we would pass 292 bytes total, broken down into:
+
- `0xa5643bf2`: the Method ID. This is derived from the signature `sam(bytes,bool,uint256[])`. Note that `uint` is replaced with its canonical representation `uint256`.
- `0x0000000000000000000000000000000000000000000000000000000000000060`: the location of the data part of the first parameter (dynamic type), measured in bytes from the start of the arguments block. In this case, `0x60`.
- `0x0000000000000000000000000000000000000000000000000000000000000001`: the second parameter: boolean true.