Documentation ¶
Index ¶
- type C4eClaimKeeperUtils
- type C4eClaimUtils
- func (h *C4eClaimUtils) AddCampaignRecordsError(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *C4eClaimUtils) AddClaimRecords(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *C4eClaimUtils) AddClaimRecordsError(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *C4eClaimUtils) AddMission(ctx sdk.Context, owner string, campaignId uint64, name string, ...)
- func (h *C4eClaimUtils) AddMissionError(ctx sdk.Context, owner string, campaignId uint64, name string, ...)
- func (h *C4eClaimUtils) ClaimInitial(ctx sdk.Context, campaignId uint64, claimer sdk.AccAddress)
- func (h *C4eClaimUtils) ClaimInitialError(ctx sdk.Context, campaignId uint64, claimer sdk.AccAddress, ...)
- func (h *C4eClaimUtils) ClaimMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *C4eClaimUtils) ClaimMissionError(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *C4eClaimUtils) ClaimMissionToAddress(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *C4eClaimUtils) CloseCampaign(ctx sdk.Context, owner string, campaignId uint64)
- func (h *C4eClaimUtils) CloseCampaignError(ctx sdk.Context, owner string, campaignId uint64, errorString string)
- func (h *C4eClaimUtils) CompleteDelegationMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *C4eClaimUtils) CompleteMissionFromHook(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *C4eClaimUtils) CompleteMissionFromHookError(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *C4eClaimUtils) CompleteVoteMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *C4eClaimUtils) CreateCampaign(ctx sdk.Context, owner string, name string, description string, ...)
- func (h *C4eClaimUtils) CreateCampaignError(ctx sdk.Context, owner string, name string, description string, ...)
- func (h *C4eClaimUtils) CreatePeriodicContinuousVestingAccount(ctx sdk.Context, address sdk.AccAddress, originalVesting sdk.Coins, ...) *cfevestingtypes.PeriodicContinuousVestingAccount
- func (h *C4eClaimUtils) DeleteClaimRecord(ctx sdk.Context, ownerAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *C4eClaimUtils) DeleteClaimRecordError(ctx sdk.Context, ownerAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *C4eClaimUtils) EnableCampaign(ctx sdk.Context, owner string, campaignId uint64, startTime *time.Time, ...)
- func (h *C4eClaimUtils) EnableCampaignError(ctx sdk.Context, owner string, campaignId uint64, startTime *time.Time, ...)
- func (m *C4eClaimUtils) ExportGenesisAndValidate(ctx sdk.Context)
- func (m *C4eClaimUtils) GetAllCampaignMissions(ctx sdk.Context, campaignId uint64) []cfeclaimtypes.Mission
- func (h *C4eClaimUtils) GetAllUsersEntries(ctx sdk.Context) []cfeclaimtypes.UserEntry
- func (h *C4eClaimUtils) GetCampaigns(ctx sdk.Context) []cfeclaimtypes.Campaign
- func (h *C4eClaimUtils) GetUsersEntry(ctx sdk.Context, address string) *cfeclaimtypes.UserEntry
- func (h *C4eClaimUtils) RemoveCampaign(ctx sdk.Context, owner string, campaignId uint64)
- func (h *C4eClaimUtils) RemoveCampaignError(ctx sdk.Context, owner string, campaignId uint64, errorString string)
- func (h *C4eClaimUtils) SetUsersEntries(ctx sdk.Context, userEntry *cfeclaimtypes.UserEntry)
- func (m *C4eClaimUtils) ValidateInvariants(ctx sdk.Context)
- func (h *C4eClaimUtils) VerifyCampaign(ctx sdk.Context, campaignId uint64, mustExist bool, owner string, name string, ...)
- func (h *C4eClaimUtils) VerifyMission(ctx sdk.Context, mustExist bool, campaignId uint64, missionId uint64, ...)
- type ContextC4eClaimUtils
- func (h *ContextC4eClaimUtils) AddClaimRecords(srcAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *ContextC4eClaimUtils) AddClaimRecordsError(srcAddress sdk.AccAddress, campaignId uint64, ...)
- func (h *ContextC4eClaimUtils) AddCoinsToCampaignOwnerAcc(srcAddress sdk.AccAddress, coins sdk.Coins)
- func (h *ContextC4eClaimUtils) AddMission(owner string, campaignId uint64, mission cfeclaimtypes.Mission)
- func (h *ContextC4eClaimUtils) AddMissionError(owner string, campaignId uint64, mission cfeclaimtypes.Mission, ...)
- func (h *ContextC4eClaimUtils) CheckNonNegativeCoinStateInvariant(ctx sdk.Context, failed bool, message string)
- func (h *ContextC4eClaimUtils) ClaimInitial(claimer sdk.AccAddress, campaignId uint64)
- func (h *ContextC4eClaimUtils) ClaimInitialError(claimer sdk.AccAddress, campaignId uint64, errorMessage string)
- func (h *ContextC4eClaimUtils) ClaimMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *ContextC4eClaimUtils) ClaimMissionError(campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *ContextC4eClaimUtils) ClaimMissionToAddress(campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *ContextC4eClaimUtils) CloseCampaign(owner string, campaignId uint64)
- func (h *ContextC4eClaimUtils) CloseCampaignError(owner string, campaignId uint64, errorString string)
- func (h *ContextC4eClaimUtils) CompleteDelegationMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *ContextC4eClaimUtils) CompleteMissionFromHook(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *ContextC4eClaimUtils) CompleteMissionFromHookError(campaignId uint64, missionId uint64, claimer sdk.AccAddress, ...)
- func (h *ContextC4eClaimUtils) CompleteVoteMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
- func (h *ContextC4eClaimUtils) CreateCampaign(owner string, campaign cfeclaimtypes.Campaign)
- func (h *ContextC4eClaimUtils) CreateCampaignError(owner string, campaign cfeclaimtypes.Campaign, errorMessage string)
- func (h *ContextC4eClaimUtils) CreatePeriodicContinuousVestingAccount(address sdk.AccAddress, originalVesting sdk.Coins, startTime int64, ...) *cfevestingtypes.PeriodicContinuousVestingAccount
- func (h *ContextC4eClaimUtils) DeleteClaimRecord(ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, ...)
- func (h *ContextC4eClaimUtils) DeleteClaimRecordError(ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, ...)
- func (h *ContextC4eClaimUtils) EnableCampaign(owner string, campaignId uint64, startTime *time.Time, endTime *time.Time)
- func (h *ContextC4eClaimUtils) EnableCampaignError(owner string, campaignId uint64, startTime *time.Time, endTime *time.Time, ...)
- func (h *ContextC4eClaimUtils) ExportGenesis(genState cfeclaimtypes.GenesisState)
- func (h *ContextC4eClaimUtils) GetAllUsersEntries() []cfeclaimtypes.UserEntry
- func (h *ContextC4eClaimUtils) GetCampaigns() []cfeclaimtypes.Campaign
- func (h *ContextC4eClaimUtils) GetUsersEntry(address string) *cfeclaimtypes.UserEntry
- func (h *ContextC4eClaimUtils) InitGenesis(genState cfeclaimtypes.GenesisState)
- func (h *ContextC4eClaimUtils) InitGenesisError(genState cfeclaimtypes.GenesisState, errorString string)
- func (h *ContextC4eClaimUtils) RemoveCampaign(owner string, campaignId uint64)
- func (h *ContextC4eClaimUtils) RemoveCampaignError(owner string, campaignId uint64, errorString string)
- func (h *ContextC4eClaimUtils) SetUsersEntries(userEntry *cfeclaimtypes.UserEntry)
- func (m *ContextC4eClaimUtils) ValidateGenesisAndInvariants()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C4eClaimKeeperUtils ¶
type C4eClaimKeeperUtils struct {
// contains filtered or unexported fields
}
func NewC4eClaimKeeperUtils ¶
func NewC4eClaimKeeperUtils(t require.TestingT, helpeCfeclaimmodulekeeper *keeper.Keeper) C4eClaimKeeperUtils
func (*C4eClaimKeeperUtils) ExportGenesis ¶
func (d *C4eClaimKeeperUtils) ExportGenesis(ctx sdk.Context, genState types.GenesisState)
func (*C4eClaimKeeperUtils) InitGenesis ¶
func (d *C4eClaimKeeperUtils) InitGenesis(ctx sdk.Context, genState types.GenesisState)
func (*C4eClaimKeeperUtils) InitGenesisError ¶
func (d *C4eClaimKeeperUtils) InitGenesisError(ctx sdk.Context, genState types.GenesisState, errorString string)
type C4eClaimUtils ¶
type C4eClaimUtils struct { C4eClaimKeeperUtils BankUtils *testcosmos.BankUtils DistrUtils *testcosmos.DistributionUtils FeegrantUtils *testcosmos.FeegrantUtils StakingUtils *testcosmos.StakingUtils GovUtils *testcosmos.GovUtils DistributionUtils *testcosmos.DistributionUtils // contains filtered or unexported fields }
func NewC4eClaimUtils ¶
func NewC4eClaimUtils(t require.TestingT, helpeCfeclaimmodulekeeper *cfeclaimmodulekeeper.Keeper, helperCfevestingKeeper *cfevestingmodulekeeper.Keeper, helperAccountKeeper *authkeeper.AccountKeeper, bankUtils *testcosmos.BankUtils, stakingUtils *testcosmos.StakingUtils, govUtils *testcosmos.GovUtils, feegrantUtils *testcosmos.FeegrantUtils, distributionUtils *testcosmos.DistributionUtils) C4eClaimUtils
func (*C4eClaimUtils) AddCampaignRecordsError ¶
func (h *C4eClaimUtils) AddCampaignRecordsError(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, claimRecordEntries []*cfeclaimtypes.ClaimRecordEntry, errorMessage string, addRequiredCoinsToSrc bool)
func (*C4eClaimUtils) AddClaimRecords ¶
func (h *C4eClaimUtils) AddClaimRecords(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, claimRecordEntries []*cfeclaimtypes.ClaimRecordEntry)
func (*C4eClaimUtils) AddClaimRecordsError ¶
func (h *C4eClaimUtils) AddClaimRecordsError(ctx sdk.Context, srcAddress sdk.AccAddress, campaignId uint64, claimRecordEntries []*cfeclaimtypes.ClaimRecordEntry, errorMessage string)
func (*C4eClaimUtils) AddMission ¶
func (h *C4eClaimUtils) AddMission(ctx sdk.Context, owner string, campaignId uint64, name string, description string, missionType cfeclaimtypes.MissionType, weight sdk.Dec, missionClaimDate *time.Time)
func (*C4eClaimUtils) AddMissionError ¶
func (h *C4eClaimUtils) AddMissionError(ctx sdk.Context, owner string, campaignId uint64, name string, description string, missionType cfeclaimtypes.MissionType, weight sdk.Dec, missionClaimDate *time.Time, errorString string)
func (*C4eClaimUtils) ClaimInitial ¶
func (h *C4eClaimUtils) ClaimInitial(ctx sdk.Context, campaignId uint64, claimer sdk.AccAddress)
func (*C4eClaimUtils) ClaimInitialError ¶
func (h *C4eClaimUtils) ClaimInitialError(ctx sdk.Context, campaignId uint64, claimer sdk.AccAddress, errorMessage string)
func (*C4eClaimUtils) ClaimMission ¶
func (h *C4eClaimUtils) ClaimMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*C4eClaimUtils) ClaimMissionError ¶
func (h *C4eClaimUtils) ClaimMissionError(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, errorMessage string)
func (*C4eClaimUtils) ClaimMissionToAddress ¶
func (h *C4eClaimUtils) ClaimMissionToAddress(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, claimerDstAddress sdk.AccAddress)
func (*C4eClaimUtils) CloseCampaign ¶
func (h *C4eClaimUtils) CloseCampaign(ctx sdk.Context, owner string, campaignId uint64)
func (*C4eClaimUtils) CloseCampaignError ¶
func (*C4eClaimUtils) CompleteDelegationMission ¶
func (h *C4eClaimUtils) CompleteDelegationMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, deleagtionAmount math.Int, valAddress sdk.ValAddress)
func (*C4eClaimUtils) CompleteMissionFromHook ¶
func (h *C4eClaimUtils) CompleteMissionFromHook(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*C4eClaimUtils) CompleteMissionFromHookError ¶
func (h *C4eClaimUtils) CompleteMissionFromHookError(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress, errorMessage string)
func (*C4eClaimUtils) CompleteVoteMission ¶
func (h *C4eClaimUtils) CompleteVoteMission(ctx sdk.Context, campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*C4eClaimUtils) CreateCampaign ¶
func (h *C4eClaimUtils) CreateCampaign(ctx sdk.Context, owner string, name string, description string, campaignType cfeclaimtypes.CampaignType, removableClaimRecords bool, feegrantAmount math.Int, initialClaimFreeAmount math.Int, free sdk.Dec, startTime time.Time, endTime time.Time, lockupPeriod time.Duration, vestingPeriod time.Duration, vestingPoolName string)
func (*C4eClaimUtils) CreateCampaignError ¶
func (h *C4eClaimUtils) CreateCampaignError(ctx sdk.Context, owner string, name string, description string, campaignType cfeclaimtypes.CampaignType, removableClaimRecords bool, feegrantAmount math.Int, initialClaimFreeAmount math.Int, free sdk.Dec, startTime time.Time, endTime time.Time, lockupPeriod time.Duration, vestingPeriod time.Duration, vestingPoolName string, errorMessage string)
func (*C4eClaimUtils) CreatePeriodicContinuousVestingAccount ¶
func (h *C4eClaimUtils) CreatePeriodicContinuousVestingAccount(ctx sdk.Context, address sdk.AccAddress, originalVesting sdk.Coins, startTime int64, endTime int64, periods ...cfevestingtypes.ContinuousVestingPeriod) *cfevestingtypes.PeriodicContinuousVestingAccount
func (*C4eClaimUtils) DeleteClaimRecord ¶
func (h *C4eClaimUtils) DeleteClaimRecord(ctx sdk.Context, ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, amoutDiff sdk.Coins)
func (*C4eClaimUtils) DeleteClaimRecordError ¶
func (h *C4eClaimUtils) DeleteClaimRecordError(ctx sdk.Context, ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, errorMessage string)
func (*C4eClaimUtils) EnableCampaign ¶
func (*C4eClaimUtils) EnableCampaignError ¶
func (*C4eClaimUtils) ExportGenesisAndValidate ¶
func (m *C4eClaimUtils) ExportGenesisAndValidate(ctx sdk.Context)
func (*C4eClaimUtils) GetAllCampaignMissions ¶
func (m *C4eClaimUtils) GetAllCampaignMissions(ctx sdk.Context, campaignId uint64) []cfeclaimtypes.Mission
func (*C4eClaimUtils) GetAllUsersEntries ¶
func (h *C4eClaimUtils) GetAllUsersEntries( ctx sdk.Context, ) []cfeclaimtypes.UserEntry
func (*C4eClaimUtils) GetCampaigns ¶
func (h *C4eClaimUtils) GetCampaigns( ctx sdk.Context, ) []cfeclaimtypes.Campaign
func (*C4eClaimUtils) GetUsersEntry ¶
func (h *C4eClaimUtils) GetUsersEntry( ctx sdk.Context, address string, ) *cfeclaimtypes.UserEntry
func (*C4eClaimUtils) RemoveCampaign ¶
func (h *C4eClaimUtils) RemoveCampaign(ctx sdk.Context, owner string, campaignId uint64)
func (*C4eClaimUtils) RemoveCampaignError ¶
func (*C4eClaimUtils) SetUsersEntries ¶
func (h *C4eClaimUtils) SetUsersEntries( ctx sdk.Context, userEntry *cfeclaimtypes.UserEntry, )
func (*C4eClaimUtils) ValidateInvariants ¶
func (m *C4eClaimUtils) ValidateInvariants(ctx sdk.Context)
func (*C4eClaimUtils) VerifyCampaign ¶
func (h *C4eClaimUtils) VerifyCampaign(ctx sdk.Context, campaignId uint64, mustExist bool, owner string, name string, description string, enabled bool, feegrantAmount *math.Int, initialClaimFreeAmount *math.Int, startTime time.Time, endTime time.Time, lockupPeriod time.Duration, vestingPeriod time.Duration, vestingPoolName string)
func (*C4eClaimUtils) VerifyMission ¶
func (h *C4eClaimUtils) VerifyMission(ctx sdk.Context, mustExist bool, campaignId uint64, missionId uint64, name string, description string, missionType cfeclaimtypes.MissionType, weight sdk.Dec, claimStartDate *time.Time)
type ContextC4eClaimUtils ¶
type ContextC4eClaimUtils struct { C4eClaimUtils // contains filtered or unexported fields }
func NewContextC4eClaimUtils ¶
func NewContextC4eClaimUtils(t require.TestingT, testContext testenv.TestContext, helpeCfeclaimmodulekeeper *cfeclaimmodulekeeper.Keeper, helperCfevestingKeeper *cfevestingmodulekeeper.Keeper, helperAccountKeeper *authkeeper.AccountKeeper, bankUtils *testcosmos.BankUtils, stakingUtils *testcosmos.StakingUtils, govUtils *testcosmos.GovUtils, feegrantUtils *testcosmos.FeegrantUtils, distributionUtils *testcosmos.DistributionUtils) *ContextC4eClaimUtils
func (*ContextC4eClaimUtils) AddClaimRecords ¶
func (h *ContextC4eClaimUtils) AddClaimRecords(srcAddress sdk.AccAddress, campaignId uint64, claimRecordEntries []*cfeclaimtypes.ClaimRecordEntry)
func (*ContextC4eClaimUtils) AddClaimRecordsError ¶
func (h *ContextC4eClaimUtils) AddClaimRecordsError(srcAddress sdk.AccAddress, campaignId uint64, claimRecordEntries []*cfeclaimtypes.ClaimRecordEntry, errorMessage string)
func (*ContextC4eClaimUtils) AddCoinsToCampaignOwnerAcc ¶
func (h *ContextC4eClaimUtils) AddCoinsToCampaignOwnerAcc(srcAddress sdk.AccAddress, coins sdk.Coins)
func (*ContextC4eClaimUtils) AddMission ¶
func (h *ContextC4eClaimUtils) AddMission(owner string, campaignId uint64, mission cfeclaimtypes.Mission)
func (*ContextC4eClaimUtils) AddMissionError ¶
func (h *ContextC4eClaimUtils) AddMissionError(owner string, campaignId uint64, mission cfeclaimtypes.Mission, errorString string)
func (*ContextC4eClaimUtils) CheckNonNegativeCoinStateInvariant ¶
func (h *ContextC4eClaimUtils) CheckNonNegativeCoinStateInvariant(ctx sdk.Context, failed bool, message string)
func (*ContextC4eClaimUtils) ClaimInitial ¶
func (h *ContextC4eClaimUtils) ClaimInitial(claimer sdk.AccAddress, campaignId uint64)
func (*ContextC4eClaimUtils) ClaimInitialError ¶
func (h *ContextC4eClaimUtils) ClaimInitialError(claimer sdk.AccAddress, campaignId uint64, errorMessage string)
func (*ContextC4eClaimUtils) ClaimMission ¶
func (h *ContextC4eClaimUtils) ClaimMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*ContextC4eClaimUtils) ClaimMissionError ¶
func (h *ContextC4eClaimUtils) ClaimMissionError(campaignId uint64, missionId uint64, claimer sdk.AccAddress, errorMessage string)
func (*ContextC4eClaimUtils) ClaimMissionToAddress ¶
func (h *ContextC4eClaimUtils) ClaimMissionToAddress(campaignId uint64, missionId uint64, claimer sdk.AccAddress, claimerDstAddress sdk.AccAddress)
func (*ContextC4eClaimUtils) CloseCampaign ¶
func (h *ContextC4eClaimUtils) CloseCampaign(owner string, campaignId uint64)
func (*ContextC4eClaimUtils) CloseCampaignError ¶
func (h *ContextC4eClaimUtils) CloseCampaignError(owner string, campaignId uint64, errorString string)
func (*ContextC4eClaimUtils) CompleteDelegationMission ¶
func (h *ContextC4eClaimUtils) CompleteDelegationMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress, deleagtionAmount math.Int, valAddress sdk.ValAddress)
func (*ContextC4eClaimUtils) CompleteMissionFromHook ¶
func (h *ContextC4eClaimUtils) CompleteMissionFromHook(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*ContextC4eClaimUtils) CompleteMissionFromHookError ¶
func (h *ContextC4eClaimUtils) CompleteMissionFromHookError(campaignId uint64, missionId uint64, claimer sdk.AccAddress, errorMessage string)
func (*ContextC4eClaimUtils) CompleteVoteMission ¶
func (h *ContextC4eClaimUtils) CompleteVoteMission(campaignId uint64, missionId uint64, claimer sdk.AccAddress)
func (*ContextC4eClaimUtils) CreateCampaign ¶
func (h *ContextC4eClaimUtils) CreateCampaign(owner string, campaign cfeclaimtypes.Campaign)
func (*ContextC4eClaimUtils) CreateCampaignError ¶
func (h *ContextC4eClaimUtils) CreateCampaignError(owner string, campaign cfeclaimtypes.Campaign, errorMessage string)
func (*ContextC4eClaimUtils) CreatePeriodicContinuousVestingAccount ¶
func (h *ContextC4eClaimUtils) CreatePeriodicContinuousVestingAccount(address sdk.AccAddress, originalVesting sdk.Coins, startTime int64, endTime int64, periods ...cfevestingtypes.ContinuousVestingPeriod) *cfevestingtypes.PeriodicContinuousVestingAccount
func (*ContextC4eClaimUtils) DeleteClaimRecord ¶
func (h *ContextC4eClaimUtils) DeleteClaimRecord(ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, amoutDiff sdk.Coins)
func (*ContextC4eClaimUtils) DeleteClaimRecordError ¶
func (h *ContextC4eClaimUtils) DeleteClaimRecordError(ownerAddress sdk.AccAddress, campaignId uint64, userAddress string, errorMessage string)
func (*ContextC4eClaimUtils) EnableCampaign ¶
func (*ContextC4eClaimUtils) EnableCampaignError ¶
func (*ContextC4eClaimUtils) ExportGenesis ¶
func (h *ContextC4eClaimUtils) ExportGenesis(genState cfeclaimtypes.GenesisState)
func (*ContextC4eClaimUtils) GetAllUsersEntries ¶
func (h *ContextC4eClaimUtils) GetAllUsersEntries() []cfeclaimtypes.UserEntry
func (*ContextC4eClaimUtils) GetCampaigns ¶
func (h *ContextC4eClaimUtils) GetCampaigns() []cfeclaimtypes.Campaign
func (*ContextC4eClaimUtils) GetUsersEntry ¶
func (h *ContextC4eClaimUtils) GetUsersEntry(address string) *cfeclaimtypes.UserEntry
func (*ContextC4eClaimUtils) InitGenesis ¶
func (h *ContextC4eClaimUtils) InitGenesis(genState cfeclaimtypes.GenesisState)
func (*ContextC4eClaimUtils) InitGenesisError ¶
func (h *ContextC4eClaimUtils) InitGenesisError(genState cfeclaimtypes.GenesisState, errorString string)
func (*ContextC4eClaimUtils) RemoveCampaign ¶
func (h *ContextC4eClaimUtils) RemoveCampaign(owner string, campaignId uint64)
func (*ContextC4eClaimUtils) RemoveCampaignError ¶
func (h *ContextC4eClaimUtils) RemoveCampaignError(owner string, campaignId uint64, errorString string)
func (*ContextC4eClaimUtils) SetUsersEntries ¶
func (h *ContextC4eClaimUtils) SetUsersEntries(userEntry *cfeclaimtypes.UserEntry)
func (*ContextC4eClaimUtils) ValidateGenesisAndInvariants ¶
func (m *ContextC4eClaimUtils) ValidateGenesisAndInvariants()
Click to show internal directories.
Click to hide internal directories.