externalmocks

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconCommitteeState

type BeaconCommitteeState struct {
	mock.Mock
}

BeaconCommitteeState is an autogenerated mock type for the BeaconCommitteeState type

func (*BeaconCommitteeState) AssignRuleVersion

func (_m *BeaconCommitteeState) AssignRuleVersion() int

AssignRuleVersion provides a mock function with given fields:

func (*BeaconCommitteeState) Clone

Clone provides a mock function with given fields:

func (*BeaconCommitteeState) GetAllCandidateSubstituteCommittee

func (_m *BeaconCommitteeState) GetAllCandidateSubstituteCommittee() []string

GetAllCandidateSubstituteCommittee provides a mock function with given fields:

func (*BeaconCommitteeState) GetAutoStaking

func (_m *BeaconCommitteeState) GetAutoStaking() map[string]bool

GetAutoStaking provides a mock function with given fields:

func (*BeaconCommitteeState) GetBeaconCommittee

func (_m *BeaconCommitteeState) GetBeaconCommittee() []incognitokey.CommitteePublicKey

GetBeaconCommittee provides a mock function with given fields:

func (*BeaconCommitteeState) GetBeaconSubstitute

func (_m *BeaconCommitteeState) GetBeaconSubstitute() []incognitokey.CommitteePublicKey

GetBeaconSubstitute provides a mock function with given fields:

func (*BeaconCommitteeState) GetCandidateBeaconWaitingForCurrentRandom

func (_m *BeaconCommitteeState) GetCandidateBeaconWaitingForCurrentRandom() []incognitokey.CommitteePublicKey

GetCandidateBeaconWaitingForCurrentRandom provides a mock function with given fields:

func (*BeaconCommitteeState) GetCandidateBeaconWaitingForNextRandom

func (_m *BeaconCommitteeState) GetCandidateBeaconWaitingForNextRandom() []incognitokey.CommitteePublicKey

GetCandidateBeaconWaitingForNextRandom provides a mock function with given fields:

func (*BeaconCommitteeState) GetCandidateShardWaitingForCurrentRandom

func (_m *BeaconCommitteeState) GetCandidateShardWaitingForCurrentRandom() []incognitokey.CommitteePublicKey

GetCandidateShardWaitingForCurrentRandom provides a mock function with given fields:

func (*BeaconCommitteeState) GetCandidateShardWaitingForNextRandom

func (_m *BeaconCommitteeState) GetCandidateShardWaitingForNextRandom() []incognitokey.CommitteePublicKey

GetCandidateShardWaitingForNextRandom provides a mock function with given fields:

func (*BeaconCommitteeState) GetNumberOfActiveShards

func (_m *BeaconCommitteeState) GetNumberOfActiveShards() int

GetNumberOfActiveShards provides a mock function with given fields:

func (*BeaconCommitteeState) GetOneShardCommittee

func (_m *BeaconCommitteeState) GetOneShardCommittee(shardID byte) []incognitokey.CommitteePublicKey

GetOneShardCommittee provides a mock function with given fields: shardID

func (*BeaconCommitteeState) GetOneShardSubstitute

func (_m *BeaconCommitteeState) GetOneShardSubstitute(shardID byte) []incognitokey.CommitteePublicKey

GetOneShardSubstitute provides a mock function with given fields: shardID

func (*BeaconCommitteeState) GetRewardReceiver

func (_m *BeaconCommitteeState) GetRewardReceiver() map[string]key.PaymentAddress

GetRewardReceiver provides a mock function with given fields:

func (*BeaconCommitteeState) GetShardCommittee

func (_m *BeaconCommitteeState) GetShardCommittee() map[byte][]incognitokey.CommitteePublicKey

GetShardCommittee provides a mock function with given fields:

func (*BeaconCommitteeState) GetShardCommonPool

func (_m *BeaconCommitteeState) GetShardCommonPool() []incognitokey.CommitteePublicKey

GetShardCommonPool provides a mock function with given fields:

func (*BeaconCommitteeState) GetShardSubstitute

func (_m *BeaconCommitteeState) GetShardSubstitute() map[byte][]incognitokey.CommitteePublicKey

GetShardSubstitute provides a mock function with given fields:

func (*BeaconCommitteeState) GetStakingTx

func (_m *BeaconCommitteeState) GetStakingTx() map[string]common.Hash

GetStakingTx provides a mock function with given fields:

func (*BeaconCommitteeState) GetSyncingValidators

func (_m *BeaconCommitteeState) GetSyncingValidators() map[byte][]incognitokey.CommitteePublicKey

GetSyncingValidators provides a mock function with given fields:

func (*BeaconCommitteeState) Hash

Hash provides a mock function with given fields: _a0

func (*BeaconCommitteeState) UpdateCommitteeState

UpdateCommitteeState provides a mock function with given fields: env

func (*BeaconCommitteeState) Upgrade

Upgrade provides a mock function with given fields: _a0

func (*BeaconCommitteeState) Version

func (_m *BeaconCommitteeState) Version() int

Version provides a mock function with given fields:

type RewardSplitRule

type RewardSplitRule struct {
	mock.Mock
}

RewardSplitRule is an autogenerated mock type for the RewardSplitRule type

type SplitRewardRuleProcessor

type SplitRewardRuleProcessor struct {
	mock.Mock
}

SplitRewardRuleProcessor is an autogenerated mock type for the SplitRewardRuleProcessor type

func (*SplitRewardRuleProcessor) SplitReward

SplitReward provides a mock function with given fields: environment

Jump to

Keyboard shortcuts

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