github.com/cosmos/cosmos-sdk@v0.50.10/x/slashing/types/querier.go (about)

     1  package types
     2  
     3  // Query endpoints supported by the slashing querier
     4  const (
     5  	QueryParameters   = "parameters"
     6  	QuerySigningInfo  = "signingInfo"
     7  	QuerySigningInfos = "signingInfos"
     8  )
     9  
    10  // QuerySigningInfosParams defines the params for the following queries:
    11  // - 'custom/slashing/signingInfos'
    12  type QuerySigningInfosParams struct {
    13  	Page, Limit int
    14  }
    15  
    16  // NewQuerySigningInfosParams creates a new QuerySigningInfosParams instance
    17  func NewQuerySigningInfosParams(page, limit int) QuerySigningInfosParams {
    18  	return QuerySigningInfosParams{page, limit}
    19  }