enumeratedtotal

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree interface {
	Root() common.Hash
	Mint(tokenId *big.Int) error
	Burn(idx int) error
	TokenByIndex(idx int) (*big.Int, error)
	TotalSupply() int64
	SetTotalSupply(totalSupply int64)
	SetRoot(root common.Hash)
}

Tree defines interface for enumerated total tree

func NewTree

func NewTree(contract common.Address, root common.Hash, totalSupply int64, store storage.Tx) (Tree, error)

NewTree creates a new merkleTree with a custom storage

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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