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 ¶
- type MockTree
- func (m *MockTree) Burn(idx int) error
- func (m *MockTree) EXPECT() *MockTreeMockRecorder
- func (m *MockTree) Mint(tokenId *big.Int) error
- func (m *MockTree) Root() common.Hash
- func (m *MockTree) SetRoot(root common.Hash)
- func (m *MockTree) SetTotalSupply(totalSupply int64)
- func (m *MockTree) TokenByIndex(idx int) (*big.Int, error)
- func (m *MockTree) TotalSupply() int64
- type MockTreeMockRecorder
- func (mr *MockTreeMockRecorder) Burn(idx any) *gomock.Call
- func (mr *MockTreeMockRecorder) Mint(tokenId any) *gomock.Call
- func (mr *MockTreeMockRecorder) Root() *gomock.Call
- func (mr *MockTreeMockRecorder) SetRoot(root any) *gomock.Call
- func (mr *MockTreeMockRecorder) SetTotalSupply(totalSupply any) *gomock.Call
- func (mr *MockTreeMockRecorder) TokenByIndex(idx any) *gomock.Call
- func (mr *MockTreeMockRecorder) TotalSupply() *gomock.Call
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) EXPECT ¶
func (m *MockTree) EXPECT() *MockTreeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTree) SetTotalSupply ¶
SetTotalSupply mocks base method.
func (*MockTree) TokenByIndex ¶
TokenByIndex mocks base method.
func (*MockTree) TotalSupply ¶
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.