Documentation
¶
Index ¶
- type Filter
- func (f Filter) AccountTrust(address tongo.AccountID) core.TrustType
- func (f *Filter) GetEventsScamData(ctx context.Context, ids []string) (map[string]bool, error)
- func (f *Filter) GetNftsScamData(ctx context.Context, addresses []ton.AccountID) (map[ton.AccountID]core.TrustType, error)
- func (f Filter) IsScamEvent(actions []oas.Action, viewer *ton.AccountID, initiator ton.AccountID) bool
- func (f Filter) JettonTrust(address tongo.AccountID, symbol, name, image string) core.TrustType
- func (f Filter) NftTrust(address tongo.AccountID, collection *ton.AccountID, description, image string) core.TrustType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶ added in v1.3.0
func NewSpamFilter ¶
func NewSpamFilter() *Filter
func (Filter) AccountTrust ¶ added in v1.3.0
func (*Filter) GetEventsScamData ¶ added in v1.3.0
func (*Filter) GetNftsScamData ¶ added in v1.3.0
func (Filter) IsScamEvent ¶ added in v1.3.0
func (Filter) JettonTrust ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.