Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Is there any equivalent of emit and event from Solidity?

Hello, is there any equivalent of emit and event. Like in solidity and with possibility to cache all data and access it later? Thank you!

1
1
Posted 2 years ago
Votes Newest

Answers


There are log messages (external outgoing messaages) which are described more here:

https://ton.org/docs/develop/smart-contracts/messages

One example usage is in token bridge:

https://github.com/ton-blockchain/token-bridge-func/blob/main/src/func/jetton-bridge/jetton-bridge.fc#L144

1
1
Posted 2 years ago
3K Views
1 Answer
2 years ago
2 years ago
Tags