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 map[tongo.AccountID]big.Int
Nfts []tongo.AccountID
}
Risk specifies assets that could be lost if a message would be sent to a malicious smart contract. 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.