Documentation ¶
Index ¶
- type Server
- func (s *Server) GetAccounts(req *getAccountsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetAllValidatorOutstandingRewards(req *getAllValidatorOutstandingRewardsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetAppliedPlan(r *http.Request) (resp any, err error)
- func (s *Server) GetAuthParams(r *http.Request) (resp any, err error)
- func (s *Server) GetAuthority(r *http.Request) (resp any, err error)
- func (s *Server) GetBalancesByAddress(req *getBalancesByAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetBalancesByAddressDenom(req *getBalancesByAddressDenomRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetBankParams(r *http.Request) (resp any, err error)
- func (s *Server) GetBech32Prefix(r *http.Request) (resp any, err error)
- func (s *Server) GetComebftBlockEvents(req *getComebftBlockEventsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetCurrentPlan(r *http.Request) (resp any, err error)
- func (s *Server) GetDelegationByValidatorAddressDelegatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetDelegationsByDelegatorAddress(req *getDelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetDelegatorRewardsByDelegatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetDelegatorRewardsByDelegatorAddressValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetDelegatorUnbondingDelegation(r *http.Request) (resp any, err error)
- func (s *Server) GetDelegatorWithdrawAddressByDelegatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetDenomOwners(req *getDenomOwnersRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetDenomOwnersByQuery(req *getDenomOwnersByQueryRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetDistributionParams(r *http.Request) (resp any, err error)
- func (s *Server) GetDistributionValidatorByValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetDistributionValidatorsByDelegatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetEvmStakingParams(r *http.Request) (resp any, err error)
- func (s *Server) GetHistoricalInfoByHeight(r *http.Request) (resp any, err error)
- func (s *Server) GetRedelegationsByDelegatorAddress(req *getRedelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetSigningInfo(r *http.Request) (resp any, err error)
- func (s *Server) GetSigningInfos(req *getSigningInfosRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetSlashingParams(r *http.Request) (resp any, err error)
- func (s *Server) GetStakingParams(r *http.Request) (resp any, err error)
- func (s *Server) GetStakingPool(r *http.Request) (resp any, err error)
- func (s *Server) GetSupply(req *getSupplyRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetSupplyByDenom(req *getSupplyByDenomRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetUnbondingDelegationsByDelegatorAddress(req *getUnbondingDelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorByValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorCommissionByValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorDelegationsByValidatorAddress(req *getValidatorDelegationsByValidatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorOutstandingRewardsByValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorSlashesByValidatorAddress(req *getValidatorSlashesByValidatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorUnbondingDelegations(req *getValidatorUnbondingDelegationsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidators(req *getValidatorsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorsByDelegatorAddress(req *getValidatorsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetValidatorsByDelegatorAddressValidatorAddress(r *http.Request) (resp any, err error)
- func (s *Server) ModuleVersions(req *getModuleVersionsRequest, r *http.Request) (resp any, err error)
- func (s *Server) Start() error
- func (s *Server) Stop(ctx context.Context) error
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetAccounts ¶
GetAccounts returns all the existing accounts.
func (*Server) GetAllValidatorOutstandingRewards ¶
func (s *Server) GetAllValidatorOutstandingRewards(req *getAllValidatorOutstandingRewardsRequest, r *http.Request) (resp any, err error)
GetAllValidatorOutstandingRewards queries rewards of all validators.
func (*Server) GetAppliedPlan ¶ added in v0.10.0
GetAppliedPlan queries a previously applied upgrade plan by its name.
func (*Server) GetAuthParams ¶ added in v0.10.0
GetAuthParams queries all parameters of auth module.
func (*Server) GetAuthority ¶ added in v0.10.0
GetAuthority returns the account with authority to conduct upgrades.
func (*Server) GetBalancesByAddress ¶
func (s *Server) GetBalancesByAddress(req *getBalancesByAddressRequest, r *http.Request) (resp any, err error)
GetBalancesByAddress queries the balance of all coins for a single account.
func (*Server) GetBalancesByAddressDenom ¶
func (s *Server) GetBalancesByAddressDenom(req *getBalancesByAddressDenomRequest, r *http.Request) (resp any, err error)
GetBalancesByAddressDenom queries the balance of a single coin for a single account.
func (*Server) GetBankParams ¶ added in v0.10.0
GetBankParams queries the parameters of x/bank module.
func (*Server) GetBech32Prefix ¶ added in v0.10.0
GetBech32Prefix queries bech32Prefix.
func (*Server) GetComebftBlockEvents ¶
func (*Server) GetCurrentPlan ¶ added in v0.10.0
GetCurrentPlan queries the current upgrade plan.
func (*Server) GetDelegationByValidatorAddressDelegatorAddress ¶
func (s *Server) GetDelegationByValidatorAddressDelegatorAddress(r *http.Request) (resp any, err error)
GetDelegationByValidatorAddressDelegatorAddress queries delegate info for given validator delegator pair.
func (*Server) GetDelegationsByDelegatorAddress ¶
func (s *Server) GetDelegationsByDelegatorAddress(req *getDelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
GetDelegationsByDelegatorAddress queries all delegations of a given delegator address.
func (*Server) GetDelegatorRewardsByDelegatorAddress ¶
GetDelegatorRewardsByDelegatorAddress queries the total rewards accrued by each validator.
func (*Server) GetDelegatorRewardsByDelegatorAddressValidatorAddress ¶
func (s *Server) GetDelegatorRewardsByDelegatorAddressValidatorAddress(r *http.Request) (resp any, err error)
GetDelegatorRewardsByDelegatorAddressValidatorAddress queries the total rewards accrued by a delegation.
func (*Server) GetDelegatorUnbondingDelegation ¶ added in v0.10.0
GetDelegatorUnbondingDelegation queries unbonding info for given validator delegator pair.
func (*Server) GetDelegatorWithdrawAddressByDelegatorAddress ¶
func (s *Server) GetDelegatorWithdrawAddressByDelegatorAddress(r *http.Request) (resp any, err error)
GetDelegatorWithdrawAddressByDelegatorAddress queries withdraw address of a delegator.
func (*Server) GetDenomOwners ¶ added in v0.10.0
GetDenomOwners queries for all account addresses that own a particular token denomination.
func (*Server) GetDenomOwnersByQuery ¶ added in v0.10.0
func (s *Server) GetDenomOwnersByQuery(req *getDenomOwnersByQueryRequest, r *http.Request) (resp any, err error)
GetDenomOwnersByQuery queries for all account addresses that own a particular token denomination.
func (*Server) GetDistributionParams ¶ added in v0.10.0
GetDistributionParams queries params of the distribution module.
func (*Server) GetDistributionValidatorByValidatorAddress ¶
GetDistributionValidatorByValidatorAddress queries validator commission and self-delegation rewards for validator.
func (*Server) GetDistributionValidatorsByDelegatorAddress ¶
GetDistributionValidatorsByDelegatorAddress queries the validators of a delegator.
func (*Server) GetEvmStakingParams ¶ added in v0.10.0
GetEvmStakingParams queries the parameters of evmstaking module.
func (*Server) GetHistoricalInfoByHeight ¶ added in v0.10.0
GetHistoricalInfoByHeight queries the historical info for given height.
func (*Server) GetRedelegationsByDelegatorAddress ¶
func (s *Server) GetRedelegationsByDelegatorAddress(req *getRedelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
GetRedelegationsByDelegatorAddress queries redelegations of given address.
func (*Server) GetSigningInfo ¶ added in v0.10.0
GetSigningInfo queries the signing info of given cons address.
func (*Server) GetSigningInfos ¶ added in v0.10.0
func (s *Server) GetSigningInfos(req *getSigningInfosRequest, r *http.Request) (resp any, err error)
GetSigningInfos queries signing info of all validators.
func (*Server) GetSlashingParams ¶ added in v0.10.0
GetSlashingParams queries the parameters of slashing module.
func (*Server) GetStakingParams ¶ added in v0.10.0
GetStakingParams queries the staking parameters.
func (*Server) GetStakingPool ¶
GetStakingPool queries the staking pool info.
func (*Server) GetSupplyByDenom ¶
func (s *Server) GetSupplyByDenom(req *getSupplyByDenomRequest, r *http.Request) (resp any, err error)
GetSupplyByDenom queries the supply of a single coin.
func (*Server) GetUnbondingDelegationsByDelegatorAddress ¶
func (s *Server) GetUnbondingDelegationsByDelegatorAddress(req *getUnbondingDelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
GetUnbondingDelegationsByDelegatorAddress queries all unbonding delegations of a given delegator address.
func (*Server) GetValidatorByValidatorAddress ¶
GetValidatorByValidatorAddress queries validator info for given validator address.
func (*Server) GetValidatorCommissionByValidatorAddress ¶
GetValidatorCommissionByValidatorAddress queries accumulated commission for a validator.
func (*Server) GetValidatorDelegationsByValidatorAddress ¶
func (s *Server) GetValidatorDelegationsByValidatorAddress(req *getValidatorDelegationsByValidatorAddressRequest, r *http.Request) (resp any, err error)
GetValidatorDelegationsByValidatorAddress queries delegate info for given validator.
func (*Server) GetValidatorOutstandingRewardsByValidatorAddress ¶
func (s *Server) GetValidatorOutstandingRewardsByValidatorAddress(r *http.Request) (resp any, err error)
GetValidatorOutstandingRewardsByValidatorAddress queries rewards of a validator address.
func (*Server) GetValidatorSlashesByValidatorAddress ¶
func (s *Server) GetValidatorSlashesByValidatorAddress(req *getValidatorSlashesByValidatorAddressRequest, r *http.Request) (resp any, err error)
GetValidatorSlashesByValidatorAddress queries slash events of a validator.
func (*Server) GetValidatorUnbondingDelegations ¶ added in v0.10.0
func (s *Server) GetValidatorUnbondingDelegations(req *getValidatorUnbondingDelegationsRequest, r *http.Request) (resp any, err error)
GetValidatorUnbondingDelegations queries unbonding delegations of a validator.
func (*Server) GetValidators ¶
GetValidators queries all validators that match the given status.
func (*Server) GetValidatorsByDelegatorAddress ¶
func (s *Server) GetValidatorsByDelegatorAddress(req *getValidatorsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
GetValidatorsByDelegatorAddress queries all validators info for given delegator address.
func (*Server) GetValidatorsByDelegatorAddressValidatorAddress ¶
func (s *Server) GetValidatorsByDelegatorAddressValidatorAddress(r *http.Request) (resp any, err error)
GetValidatorsByDelegatorAddressValidatorAddress queries validator info for given delegator validator pair.
type Store ¶
type Store interface { CreateQueryContext(height int64, prove bool) (sdk.Context, error) GetEvmStakingKeeper() *evmstakingkeeper.Keeper GetStakingKeeper() *stakingkeeper.Keeper GetSlashingKeeper() slashingkeeper.Keeper GetAccountKeeper() authkeeper.AccountKeeper GetBankKeeper() bankkeeper.Keeper GetDistrKeeper() distrkeeper.Keeper GetUpgradeKeeper() *upgradekeeper.Keeper }