Compare commits

...

6 Commits
master ... lima

Author SHA1 Message Date
Hans Svensson
fd6cde535e
Merge pull request #296 from davidyuk/patch-3
docs: Use consistent event definitions between examples
2021-06-24 09:30:08 +02:00
Hans Svensson
b25339bb8f
Merge pull request #303 from aeternity/radrow-patch-1
Mention `init` quirk with Call.value
2021-04-29 18:51:13 +02:00
Hans Svensson
cf793667ca
Merge pull request #304 from aeternity/clarify-aesocompiler
Clarify aeso_compiler use
2021-04-29 18:50:32 +02:00
Artur Puzio
c54a0cec3d
Clarify aeso_compiler use 2021-03-24 10:34:39 +00:00
Radosław Rowicki
bc47c25138
Mention init quirk with Call.value 2021-03-22 10:26:34 +01:00
Denis Davidyuk
4630f8a09b
Use consistent event definitions between examples 2021-02-16 14:52:37 +03:00
3 changed files with 7 additions and 4 deletions

View File

@ -686,8 +686,8 @@ will emit one Event of each kind in the example.
```
entrypoint emit_events() : () =
Chain.event(TheFirstEvent(42))
Chain.event(AnotherEvent(Contract.address, "This is not indexed"))
Chain.event(Event1(42, 34, "foo"))
Chain.event(Event2("This is not indexed", Contract.address))
```
#### Argument order

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

View File

@ -2,7 +2,7 @@
%%% @author Happi (Erik Stenman)
%%% @copyright (C) 2017, Aeternity Anstalt
%%% @doc
%%% Compiler from Aeterinty Sophia language to the Aeternity VM, aevm.
%%% Compiler from Aeterinty Sophia language to both AEVM and FATE VM.
%%% @end
%%% Created : 12 Dec 2017
%%%-------------------------------------------------------------------