ligo/gitlab-pages/docs/language-basics/operators.md

14 lines
545 B
Markdown
Raw Normal View History

---
2019-06-11 05:37:12 +04:00
id: operators
title: Operators
---
## Available operators
2019-06-11 05:37:12 +04:00
> This list is non-exhaustive, more operators will be added in the upcoming LIGO releases.
|Michelson |Pascaligo |Description |
|--- |--- |--- |
| `SENDER` | `sender` | Address that initiated the current transaction
| `SOURCE` | `source` | Address that initiated the transaction, which triggered the current transaction. (useful e.g. when there's a transaction sent by another contract)
| `AMOUNT` | `amount` | Amount of tez sent by the transaction that invoked the contract