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
Click to show internal directories.
Click to hide internal directories.