Merge pull request #303 from aeternity/radrow-patch-1

Mention `init` quirk with Call.value
This commit is contained in:
Hans Svensson 2021-04-29 18:51:13 +02:00 committed by GitHub
commit b25339bb8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,12 +569,15 @@ Call.caller : address
The address of the entity (possibly another contract) calling the contract.
### value
```
Call.value : int
```
The amount of coins transferred to the contract in the call.
The amount of coins transferred to the contract in the call. Note that in the `init`
entrypoint this value will be always `0` in order to get the contract creation value
one needs to inspect `Contract.balance`.
### gas