Mention init quirk with Call.value

This commit is contained in:
Radosław Rowicki 2021-03-22 10:26:34 +01:00 committed by GitHub
parent 3b2ce63fa7
commit bc47c25138
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