golang

package module
v0.0.0-...-cc48447 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ABI

func ABI() string

Types

type NFT

type NFT struct {
	Endpoint string
	Address  types.Address
	Client   *conflux.Client
	Contract *conflux.Contract
}

func New

func New(url string, addr string, passphrase string) (NFT, error)

func (NFT) GetAssets

func (nft NFT) GetAssets(addr string) ([]big.Int, error)

func (NFT) Mint

func (nft NFT) Mint(addr string, id string) (*types.Hash, error)

Jump to

Keyboard shortcuts

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