spam

package
v0.0.0-...-32b60b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Rules rules.Rules
}

func NewSpamFilter

func NewSpamFilter() *Filter

func (Filter) CheckActions

func (f Filter) CheckActions(actions []oas.Action, viewer *ton.AccountID) bool

func (Filter) JettonTrust

func (f Filter) JettonTrust(address tongo.AccountID, symbol, name, image string) core.TrustType

func (Filter) NftTrust

func (f Filter) NftTrust(address tongo.AccountID, collection *ton.AccountID, description, image string) core.TrustType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL