Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fd6cde535e | ||
![]() |
b25339bb8f | ||
![]() |
cf793667ca | ||
![]() |
c54a0cec3d | ||
![]() |
bc47c25138 | ||
![]() |
4630f8a09b |
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
%%%-------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user