mock

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: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/platform/state/tree/enumeratedtotal/tree.go

Generated by this command:

mockgen -source=internal/platform/state/tree/enumeratedtotal/tree.go -destination=internal/platform/state/tree/enumeratedtotal/mock/tree.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTree

type MockTree struct {
	// contains filtered or unexported fields
}

MockTree is a mock of Tree interface.

func NewMockTree

func NewMockTree(ctrl *gomock.Controller) *MockTree

NewMockTree creates a new mock instance.

func (*MockTree) Burn

func (m *MockTree) Burn(idx int) error

Burn mocks base method.

func (*MockTree) EXPECT

func (m *MockTree) EXPECT() *MockTreeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTree) Mint

func (m *MockTree) Mint(tokenId *big.Int) error

Mint mocks base method.

func (*MockTree) Root

func (m *MockTree) Root() common.Hash

Root mocks base method.

func (*MockTree) SetRoot

func (m *MockTree) SetRoot(root common.Hash)

SetRoot mocks base method.

func (*MockTree) SetTotalSupply

func (m *MockTree) SetTotalSupply(totalSupply int64)

SetTotalSupply mocks base method.

func (*MockTree) TokenByIndex

func (m *MockTree) TokenByIndex(idx int) (*big.Int, error)

TokenByIndex mocks base method.

func (*MockTree) TotalSupply

func (m *MockTree) TotalSupply() int64

TotalSupply mocks base method.

type MockTreeMockRecorder

type MockTreeMockRecorder struct {
	// contains filtered or unexported fields
}

MockTreeMockRecorder is the mock recorder for MockTree.

func (*MockTreeMockRecorder) Burn

func (mr *MockTreeMockRecorder) Burn(idx any) *gomock.Call

Burn indicates an expected call of Burn.

func (*MockTreeMockRecorder) Mint

func (mr *MockTreeMockRecorder) Mint(tokenId any) *gomock.Call

Mint indicates an expected call of Mint.

func (*MockTreeMockRecorder) Root

func (mr *MockTreeMockRecorder) Root() *gomock.Call

Root indicates an expected call of Root.

func (*MockTreeMockRecorder) SetRoot

func (mr *MockTreeMockRecorder) SetRoot(root any) *gomock.Call

SetRoot indicates an expected call of SetRoot.

func (*MockTreeMockRecorder) SetTotalSupply

func (mr *MockTreeMockRecorder) SetTotalSupply(totalSupply any) *gomock.Call

SetTotalSupply indicates an expected call of SetTotalSupply.

func (*MockTreeMockRecorder) TokenByIndex

func (mr *MockTreeMockRecorder) TokenByIndex(idx any) *gomock.Call

TokenByIndex indicates an expected call of TokenByIndex.

func (*MockTreeMockRecorder) TotalSupply

func (mr *MockTreeMockRecorder) TotalSupply() *gomock.Call

TotalSupply indicates an expected call of TotalSupply.

Jump to

Keyboard shortcuts

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