Skip to content

Commit 08320a5

Browse files
committed
EEI: Improved docs for getAddress()
1 parent 4f9751c commit 08320a5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

eth_interface.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,18 @@ Subtracts an amount to the gas counter
3131

3232
## getAddress
3333

34-
Gets address of currently executing account and loads it into memory at
35-
the given offset.
34+
```wast
35+
(func $getAddress (param $resultOffset i32ptr))
36+
37+
```
38+
39+
Gets address of currently executing account and stores it in memory at the given
40+
offset.
3641

3742
**Parameters**
3843

39-
- `resultOffset` **i32ptr** the memory offset to load the address into (`address`)
44+
- `resultOffset` **i32ptr** the memory offset at which the address is to be
45+
stored (`address`)
4046

4147
**Returns**
4248

0 commit comments

Comments
 (0)