Documentation ¶
Overview ¶
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 MockBlockchain ¶
type MockBlockchain struct {
// contains filtered or unexported fields
}
MockBlockchain is a mock of Blockchain interface
func NewMockBlockchain ¶
func NewMockBlockchain(ctrl *gomock.Controller) *MockBlockchain
NewMockBlockchain creates a new mock instance
func (*MockBlockchain) DistributeRewards ¶ added in v1.4.0
func (m *MockBlockchain) DistributeRewards(rewards []blockchain.Reward) (string, error)
DistributeRewards mocks base method
func (*MockBlockchain) EXPECT ¶
func (m *MockBlockchain) EXPECT() *MockBlockchainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBlockchain) SendStakes ¶ added in v1.5.5
func (m *MockBlockchain) SendStakes(stakes []blockchain.Stake, memo string) error
SendStakes mocks base method
type MockBlockchainMockRecorder ¶
type MockBlockchainMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockchainMockRecorder is the mock recorder for MockBlockchain
func (*MockBlockchainMockRecorder) DistributeRewards ¶ added in v1.4.0
func (mr *MockBlockchainMockRecorder) DistributeRewards(rewards interface{}) *gomock.Call
DistributeRewards indicates an expected call of DistributeRewards
func (*MockBlockchainMockRecorder) SendStakes ¶ added in v1.5.5
func (mr *MockBlockchainMockRecorder) SendStakes(stakes, memo interface{}) *gomock.Call
SendStakes indicates an expected call of SendStakes
Click to show internal directories.
Click to hide internal directories.