Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Risk ¶
type Risk struct { // According to https://docs.ton.org/develop/smart-contracts/messages#message-modes TransferAllRemainingBalance bool Ton uint64 // Jettons are not normalized and have to be post-processed with respect to Jetton masters' decimals. Jettons map[tongo.AccountID]big.Int Nfts []tongo.AccountID }
Risk specifies assets that could be lost if a message was taken from a malicious actor. It makes sense to understand the risk BEFORE sending a message to the blockchain.
func ExtractRisk ¶
Click to show internal directories.
Click to hide internal directories.