erc721

package
v1.0.46 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC721Contract

type ERC721Contract struct {
	contracts.Contract
}

func NewErc721Contract

func NewErc721Contract(
	client calls.ContractCallerDispatcher,
	erc721ContractAddress common.Address,
	t transactor.Transactor,
) *ERC721Contract

func (*ERC721Contract) AddMinter

func (c *ERC721Contract) AddMinter(
	minter common.Address, opts transactor.TransactOptions,
) (*common.Hash, error)

func (*ERC721Contract) Approve

func (c *ERC721Contract) Approve(
	tokenId *big.Int, recipient common.Address, opts transactor.TransactOptions,
) (*common.Hash, error)

func (*ERC721Contract) Mint

func (c *ERC721Contract) Mint(
	tokenId *big.Int, metadata string, destination common.Address, opts transactor.TransactOptions,
) (*common.Hash, error)

func (*ERC721Contract) MinterRole

func (c *ERC721Contract) MinterRole() ([32]byte, error)

func (*ERC721Contract) Owner

func (c *ERC721Contract) Owner(tokenId *big.Int) (*common.Address, error)

type ERC721HandlerContract

type ERC721HandlerContract struct {
	contracts.Contract
}

func NewERC721HandlerContract

func NewERC721HandlerContract(
	client calls.ContractCallerDispatcher,
	erc721HandlerContractAddress common.Address,
	t transactor.Transactor,
) *ERC721HandlerContract

Jump to

Keyboard shortcuts

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