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

Documentation

Overview

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

Generated by this command:

mockgen -source=internal/platform/state/tree/enumerated/tree.go -destination=internal/platform/state/tree/enumerated/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) BalanceOfOwner

func (m *MockTree) BalanceOfOwner(owner common.Address) (uint64, error)

BalanceOfOwner 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, owner common.Address) error

Mint mocks base method.

func (*MockTree) Root

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

Root mocks base method.

func (*MockTree) SetBalanceToOwner

func (m *MockTree) SetBalanceToOwner(owner common.Address, balance uint64) error

SetBalanceToOwner mocks base method.

func (*MockTree) SetRoot

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

SetRoot mocks base method.

func (*MockTree) SetTokenToOwnerToIndex

func (m *MockTree) SetTokenToOwnerToIndex(owner common.Address, idx uint64, token *big.Int) error

SetTokenToOwnerToIndex mocks base method.

func (*MockTree) TokenOfOwnerByIndex

func (m *MockTree) TokenOfOwnerByIndex(owner common.Address, idx uint64) (*big.Int, error)

TokenOfOwnerByIndex mocks base method.

func (*MockTree) Transfer

func (m *MockTree) Transfer(minted bool, eventTransfer *model.ERC721Transfer) error

Transfer mocks base method.

type MockTreeMockRecorder

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

MockTreeMockRecorder is the mock recorder for MockTree.

func (*MockTreeMockRecorder) BalanceOfOwner

func (mr *MockTreeMockRecorder) BalanceOfOwner(owner any) *gomock.Call

BalanceOfOwner indicates an expected call of BalanceOfOwner.

func (*MockTreeMockRecorder) Mint

func (mr *MockTreeMockRecorder) Mint(tokenId, owner 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) SetBalanceToOwner

func (mr *MockTreeMockRecorder) SetBalanceToOwner(owner, balance any) *gomock.Call

SetBalanceToOwner indicates an expected call of SetBalanceToOwner.

func (*MockTreeMockRecorder) SetRoot

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

SetRoot indicates an expected call of SetRoot.

func (*MockTreeMockRecorder) SetTokenToOwnerToIndex

func (mr *MockTreeMockRecorder) SetTokenToOwnerToIndex(owner, idx, token any) *gomock.Call

SetTokenToOwnerToIndex indicates an expected call of SetTokenToOwnerToIndex.

func (*MockTreeMockRecorder) TokenOfOwnerByIndex

func (mr *MockTreeMockRecorder) TokenOfOwnerByIndex(owner, idx any) *gomock.Call

TokenOfOwnerByIndex indicates an expected call of TokenOfOwnerByIndex.

func (*MockTreeMockRecorder) Transfer

func (mr *MockTreeMockRecorder) Transfer(minted, eventTransfer any) *gomock.Call

Transfer indicates an expected call of Transfer.

Jump to

Keyboard shortcuts

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