feecollector

package
v1.0.0-test Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Overview

Package feecollector is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeCollector

type FeeCollector interface {
	AddDChainValue(amount uint64) error
	AddAChainValue(amount uint64) error
	AddOrionsValue(orions []ids.NodeID, amount uint64) error
	AddURewardValue(amount uint64) error

	SubDChainValue(amount uint64) error
	SubAChainValue(amount uint64) error
	SubOrionsValue(orions []ids.NodeID, amount uint64) error
	SubURewardValue(amount uint64) error

	GetDChainValue() uint64
	GetAChainValue() uint64

	GetOrionValue(ids.NodeID) uint64
	GetURewardValue() uint64
}

func New

func NewDummyCollector

func NewDummyCollector() FeeCollector

type MockFeeCollector

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

MockFeeCollector is a mock of FeeCollector interface.

func NewMockFeeCollector

func NewMockFeeCollector(ctrl *gomock.Controller) *MockFeeCollector

NewMockFeeCollector creates a new mock instance.

func (*MockFeeCollector) AddAChainValue

func (m *MockFeeCollector) AddAChainValue(arg0 uint64) error

AddAChainValue mocks base method.

func (*MockFeeCollector) AddDChainValue

func (m *MockFeeCollector) AddDChainValue(arg0 uint64) error

AddDChainValue mocks base method.

func (*MockFeeCollector) AddOrionsValue

func (m *MockFeeCollector) AddOrionsValue(arg0 []ids.NodeID, arg1 uint64) error

AddOrionsValue mocks base method.

func (*MockFeeCollector) AddURewardValue

func (m *MockFeeCollector) AddURewardValue(arg0 uint64) error

AddURewardValue mocks base method.

func (*MockFeeCollector) EXPECT

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

func (*MockFeeCollector) GetAChainValue

func (m *MockFeeCollector) GetAChainValue() uint64

GetAChainValue mocks base method.

func (*MockFeeCollector) GetDChainValue

func (m *MockFeeCollector) GetDChainValue() uint64

GetDChainValue mocks base method.

func (*MockFeeCollector) GetOrionValue

func (m *MockFeeCollector) GetOrionValue(arg0 ids.NodeID) uint64

GetOrionValue mocks base method.

func (*MockFeeCollector) GetURewardValue

func (m *MockFeeCollector) GetURewardValue() uint64

GetURewardValue mocks base method.

func (*MockFeeCollector) SubAChainValue

func (m *MockFeeCollector) SubAChainValue(arg0 uint64) error

SubAChainValue mocks base method.

func (*MockFeeCollector) SubDChainValue

func (m *MockFeeCollector) SubDChainValue(arg0 uint64) error

SubDChainValue mocks base method.

func (*MockFeeCollector) SubOrionsValue

func (m *MockFeeCollector) SubOrionsValue(arg0 []ids.NodeID, arg1 uint64) error

SubOrionsValue mocks base method.

func (*MockFeeCollector) SubURewardValue

func (m *MockFeeCollector) SubURewardValue(arg0 uint64) error

SubURewardValue mocks base method.

type MockFeeCollectorMockRecorder

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

MockFeeCollectorMockRecorder is the mock recorder for MockFeeCollector.

func (*MockFeeCollectorMockRecorder) AddAChainValue

func (mr *MockFeeCollectorMockRecorder) AddAChainValue(arg0 interface{}) *gomock.Call

AddAChainValue indicates an expected call of AddAChainValue.

func (*MockFeeCollectorMockRecorder) AddDChainValue

func (mr *MockFeeCollectorMockRecorder) AddDChainValue(arg0 interface{}) *gomock.Call

AddDChainValue indicates an expected call of AddDChainValue.

func (*MockFeeCollectorMockRecorder) AddOrionsValue

func (mr *MockFeeCollectorMockRecorder) AddOrionsValue(arg0, arg1 interface{}) *gomock.Call

AddOrionsValue indicates an expected call of AddOrionsValue.

func (*MockFeeCollectorMockRecorder) AddURewardValue

func (mr *MockFeeCollectorMockRecorder) AddURewardValue(arg0 interface{}) *gomock.Call

AddURewardValue indicates an expected call of AddURewardValue.

func (*MockFeeCollectorMockRecorder) GetAChainValue

func (mr *MockFeeCollectorMockRecorder) GetAChainValue() *gomock.Call

GetAChainValue indicates an expected call of GetAChainValue.

func (*MockFeeCollectorMockRecorder) GetDChainValue

func (mr *MockFeeCollectorMockRecorder) GetDChainValue() *gomock.Call

GetDChainValue indicates an expected call of GetDChainValue.

func (*MockFeeCollectorMockRecorder) GetOrionValue

func (mr *MockFeeCollectorMockRecorder) GetOrionValue(arg0 interface{}) *gomock.Call

GetOrionValue indicates an expected call of GetOrionValue.

func (*MockFeeCollectorMockRecorder) GetURewardValue

func (mr *MockFeeCollectorMockRecorder) GetURewardValue() *gomock.Call

GetURewardValue indicates an expected call of GetURewardValue.

func (*MockFeeCollectorMockRecorder) SubAChainValue

func (mr *MockFeeCollectorMockRecorder) SubAChainValue(arg0 interface{}) *gomock.Call

SubAChainValue indicates an expected call of SubAChainValue.

func (*MockFeeCollectorMockRecorder) SubDChainValue

func (mr *MockFeeCollectorMockRecorder) SubDChainValue(arg0 interface{}) *gomock.Call

SubDChainValue indicates an expected call of SubDChainValue.

func (*MockFeeCollectorMockRecorder) SubOrionsValue

func (mr *MockFeeCollectorMockRecorder) SubOrionsValue(arg0, arg1 interface{}) *gomock.Call

SubOrionsValue indicates an expected call of SubOrionsValue.

func (*MockFeeCollectorMockRecorder) SubURewardValue

func (mr *MockFeeCollectorMockRecorder) SubURewardValue(arg0 interface{}) *gomock.Call

SubURewardValue indicates an expected call of SubURewardValue.

Jump to

Keyboard shortcuts

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