approval

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalSecurity

type ApprovalSecurity struct {
	Config *Config
}

func NewApprovalSecurity

func NewApprovalSecurity(config *Config) *ApprovalSecurity

func (*ApprovalSecurity) Run

func (a *ApprovalSecurity) Run(chainId, address string) (*Result, error)

type ApprovalSecurityV2

type ApprovalSecurityV2 struct {
	Config *ConfigV2
}

func NewApprovalSecurityV2

func NewApprovalSecurityV2(config *ConfigV2) *ApprovalSecurityV2

func (*ApprovalSecurityV2) ERC1155NFT

func (a *ApprovalSecurityV2) ERC1155NFT(chainId, address string) (*ERC1155NFTResult, error)

func (*ApprovalSecurityV2) ERC721NFT

func (a *ApprovalSecurityV2) ERC721NFT(chainId, address string) (*ERC721NFTResult, error)

func (*ApprovalSecurityV2) Token

func (a *ApprovalSecurityV2) Token(chainId, address string) (*TokenResult, error)

type Config

type Config struct {
	// timeout seconds
	Timeout     int
	AccessToken string
}

type ConfigV2

type ConfigV2 struct {
	// timeout seconds
	Timeout     int
	AccessToken string
}

Jump to

Keyboard shortcuts

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