Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
feat: add emit (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
WGB5445 authored Dec 18, 2023
1 parent 03fb275 commit d826bf2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/language/ref/common.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ fun contractAddressExt(chain: Int, code: Cell, data: Cell): Address;
```
Computes smart contract's Address based on its workchain id `chain`, `code`, `data`.

## emit

```tact
fun emit(value: Cell);
```

Sends a message to the outer world with the purpose of logging and analyzing it later off-chain. The message does not have a recipient and is gas-efficient compared to alternatives.

## cell

```tact
Expand Down

0 comments on commit d826bf2

Please sign in to comment.