Versions in this module Expand all Collapse all v24 v24.0.0 Aug 21, 2024 Changes in this version + func NewMsgServerImpl(k Keeper) types.MsgServer + type Delegation struct + DelegatorAddress string + Shares string + ValidatorAddress string + func NewDelegation(del stakingtypes.DelegationI) *Delegation + type GovHooks struct + func (h GovHooks) AfterProposalDeposit(ctx sdk.Context, proposalID uint64, _ sdk.AccAddress) + func (h GovHooks) AfterProposalFailedMinDeposit(_ sdk.Context, _ uint64) + func (h GovHooks) AfterProposalSubmission(ctx sdk.Context, proposalID uint64) + func (h GovHooks) AfterProposalVote(ctx sdk.Context, proposalID uint64, voterAddr sdk.AccAddress) + func (h GovHooks) AfterProposalVotingPeriodEnded(ctx sdk.Context, proposalID uint64) + type Keeper struct + func NewKeeper(key storetypes.StoreKey, cdc codec.BinaryCodec, ...) Keeper + func (k Keeper) DeleteContract(ctx sdk.Context, keyPrefix []byte, contractAddr sdk.AccAddress) + func (k Keeper) ExecuteMessageOnContracts(ctx sdk.Context, keyPrefix []byte, msgBz []byte) error + func (k Keeper) GetAllContracts(ctx sdk.Context, keyPrefix []byte) (list []sdk.Address) + func (k Keeper) GetAllContractsBech32(ctx sdk.Context, keyPrefix []byte) []string + func (k Keeper) GetAuthority() string + func (k Keeper) GetContractKeeper() wasmtypes.ContractOpsKeeper + func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) + func (k Keeper) GetStakingKeeper() slashingtypes.StakingKeeper + func (k Keeper) GetWasmKeeper() wasmkeeper.Keeper + func (k Keeper) GovHooks() GovHooks + func (k Keeper) IsContractRegistered(ctx sdk.Context, keyPrefix []byte, contractAddr sdk.AccAddress) bool + func (k Keeper) IterateContracts(ctx sdk.Context, keyPrefix []byte, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) SetContract(ctx sdk.Context, keyPrefix []byte, contractAddr sdk.AccAddress) + func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error + func (k Keeper) StakingHooks() StakingHooks + type Proposal struct + Metadata string + ProposalID uint64 + Proposer string + Status uint + SubmitTime string + Summary string + Title string + func NewProposal(prop v1.Proposal) Proposal + type Querier struct + func NewQuerier(k Keeper) Querier + func (q Querier) GovernanceContracts(stdCtx context.Context, _ *types.QueryGovernanceContractsRequest) (*types.QueryGovernanceContractsResponse, error) + func (q Querier) Params(stdCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (q Querier) StakingContracts(stdCtx context.Context, _ *types.QueryStakingContractsRequest) (*types.QueryStakingContractsResponse, error) + type StakingHooks struct + func (h StakingHooks) AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) AfterUnbondingInitiated(_ sdk.Context, _ uint64) error + func (h StakingHooks) AfterValidatorBeginUnbonding(ctx sdk.Context, _ sdk.ConsAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) AfterValidatorBonded(ctx sdk.Context, _ sdk.ConsAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) error + func (h StakingHooks) AfterValidatorRemoved(ctx sdk.Context, _ sdk.ConsAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) BeforeDelegationCreated(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) BeforeDelegationRemoved(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) BeforeDelegationSharesModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + func (h StakingHooks) BeforeValidatorModified(ctx sdk.Context, valAddr sdk.ValAddress) error + func (h StakingHooks) BeforeValidatorSlashed(ctx sdk.Context, valAddr sdk.ValAddress, fraction sdk.Dec) error + type SudoAfterProposalVotingPeriodEnded struct + AfterProposalVotingPeriodEnded string + type SudoMsgAfterDelegationModified struct + AfterDelegationModified *Delegation + type SudoMsgAfterProposalDeposit struct + AfterProposalDeposit Proposal + type SudoMsgAfterProposalSubmission struct + AfterProposalSubmission Proposal + type SudoMsgAfterProposalVote struct + AfterProposalVote Vote + type SudoMsgAfterValidatorBeginUnbonding struct + AfterValidatorBeginUnbonding *Validator + type SudoMsgAfterValidatorBonded struct + AfterValidatorBonded *Validator + type SudoMsgAfterValidatorCreated struct + AfterValidatorCreated *Validator + type SudoMsgAfterValidatorModified struct + AfterValidatorModified *Validator + type SudoMsgAfterValidatorRemoved struct + AfterValidatorRemoved *Validator + type SudoMsgBeforeDelegationCreated struct + BeforeDelegationCreated *Delegation + type SudoMsgBeforeDelegationRemoved struct + BeforeDelegationRemoved *Delegation + type SudoMsgBeforeDelegationSharesModified struct + BeforeDelegationSharesModified *Delegation + type SudoMsgBeforeValidatorModified struct + BeforeValidatorModified *Validator + type SudoMsgBeforeValidatorSlashed struct + BeforeValidatorSlashed *ValidatorSlashed + type Validator struct + BondStatus string + BondedTokens string + Commission string + Moniker string + ValidatorAddress string + ValidatorTokens string + func NewValidator(val stakingtypes.ValidatorI) *Validator + type ValidatorSlashed struct + Moniker string + SlashedAmount string + ValidatorAddress string + func NewValidatorSlashed(val stakingtypes.ValidatorI, fraction sdk.Dec) *ValidatorSlashed + type Vote struct + ProposalID uint64 + VoteOption []*v1.WeightedVoteOption + VoterAddress string + func NewVote(vote v1.Vote) Vote Other modules containing this package github.com/CosmosContracts/juno/v18 github.com/CosmosContracts/juno/v19 github.com/CosmosContracts/juno/v21 github.com/CosmosContracts/juno/v22 github.com/CosmosContracts/juno/v23 github.com/CosmosContracts/juno/v25