communitytokensdatabase

package
v0.179.23 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewCommunityTokensDatabase

func NewCommunityTokensDatabase(db *sql.DB) *Database

func (*Database) GetCommunityERC20Metadata

func (db *Database) GetCommunityERC20Metadata() ([]*token.CommunityToken, error)

func (*Database) GetTokenPrivilegesLevel

func (db *Database) GetTokenPrivilegesLevel(chainID uint64, contractAddress string) (token.PrivilegesLevel, error)

func (*Database) GetTokenType

func (db *Database) GetTokenType(chainID uint64, contractAddress string) (protobuf.CommunityTokenType, error)

Jump to

Keyboard shortcuts

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