Documentation
¶
Index ¶
- type VoteKeeper
- func (_m *VoteKeeper) AssignDuty(ctx types.Context, accKey linotypes.AccountKey, duty votetypes.VoterDuty, ...) types.Error
- func (_m *VoteKeeper) DoesVoterExist(ctx types.Context, accKey linotypes.AccountKey) bool
- func (_m *VoteKeeper) GetLinoStake(ctx types.Context, accKey linotypes.AccountKey) (linotypes.Coin, types.Error)
- func (_m *VoteKeeper) GetVoterDuty(ctx types.Context, accKey linotypes.AccountKey) (votetypes.VoterDuty, types.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VoteKeeper ¶
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
Click to show internal directories.
Click to hide internal directories.