mocks

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VoteKeeper

type VoteKeeper struct {
	mock.Mock
}

VoteKeeper is an autogenerated mock type for the VoteKeeper type

func (*VoteKeeper) AssignDuty

func (_m *VoteKeeper) AssignDuty(ctx types.Context, accKey linotypes.AccountKey, duty votetypes.VoterDuty, frozenAmount linotypes.Coin) types.Error

AssignDuty provides a mock function with given fields: ctx, accKey, duty, frozenAmount

func (*VoteKeeper) DoesVoterExist

func (_m *VoteKeeper) DoesVoterExist(ctx types.Context, accKey linotypes.AccountKey) bool

DoesVoterExist provides a mock function with given fields: ctx, accKey

func (*VoteKeeper) GetLinoStake

func (_m *VoteKeeper) GetLinoStake(ctx types.Context, accKey linotypes.AccountKey) (linotypes.Coin, types.Error)

GetLinoStake provides a mock function with given fields: ctx, accKey

func (*VoteKeeper) GetVoterDuty

func (_m *VoteKeeper) GetVoterDuty(ctx types.Context, accKey linotypes.AccountKey) (votetypes.VoterDuty, types.Error)

GetVoterDuty provides a mock function with given fields: ctx, accKey

Jump to

Keyboard shortcuts

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