basetokens

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package basetokens provides common interfaces for token contract interactions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseToken

type BaseToken interface {
	Name() (string, error)
	Symbol() (string, error)
	TokenURI(tokenID *big.Int) (string, error)
	GetBalance() (*big.Int, error)
	TransferTo(to common.Address, tokenID *big.Int) (*types.Transaction, error)
	TotalSupply() (*big.Int, error)
	BalanceOf(owner common.Address) (*big.Int, error)
	Approve(to common.Address, tokenID *big.Int) (*types.Transaction, error)
}

BaseToken defines the interface for basic token operations

Jump to

Keyboard shortcuts

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