Documentation
¶
Index ¶
- type Server
- func (s *Server) GetAccounts(req *getAccountsRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetAccountsByAddress(r *http.Request) (resp any, err error)
- func (s *Server) GetAllValidatorOutstandingRewards(req *getAllValidatorOutstandingRewardsRequest, 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) GetComebftBlockEvents(req *getComebftBlockEventsRequest, 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) GetDelegatorWithdrawAddressByDelegatorAddress(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) GetRedelegationsByDelegatorAddress(req *getRedelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
- func (s *Server) GetStakingPool(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) 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) GetAccountsByAddress ¶
GetAccountsByAddress returns account details based on address.
func (*Server) GetAllValidatorOutstandingRewards ¶
func (s *Server) GetAllValidatorOutstandingRewards(req *getAllValidatorOutstandingRewardsRequest, r *http.Request) (resp any, err error)
GetAllValidatorOutstandingRewards queries rewards of all validators.
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) GetComebftBlockEvents ¶
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) GetDelegatorWithdrawAddressByDelegatorAddress ¶
func (s *Server) GetDelegatorWithdrawAddressByDelegatorAddress(r *http.Request) (resp any, err error)
GetDelegatorWithdrawAddressByDelegatorAddress queries withdraw address of a delegator.
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) GetRedelegationsByDelegatorAddress ¶
func (s *Server) GetRedelegationsByDelegatorAddress(req *getRedelegationsByDelegatorAddressRequest, r *http.Request) (resp any, err error)
GetRedelegationsByDelegatorAddress queries redelegations of given address.
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) 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) GetStakingKeeper() *stakingkeeper.Keeper GetAccountKeeper() authkeeper.AccountKeeper GetBankKeeper() bankkeeper.Keeper GetDistrKeeper() distrkeeper.Keeper GetUpgradeKeeper() *upgradekeeper.Keeper }