MCPcopy Create free account
hub / github.com/FirmaChain/firmachain / QueryServer

Interface QueryServer

x/contract/types/query.pb.go:752–765  ·  view source on GitHub ↗

QueryServer is the server API for Query service.

Source from the content-addressed store, hash-verified

750
751// QueryServer is the server API for Query service.
752type QueryServer interface {
753 // Queries a list of isContractOwner items.
754 IsContractOwner(context.Context, *QueryIsContractOwnerRequest) (*QueryIsContractOwnerResponse, error)
755 // Queries a contractFile by index.
756 ContractFile(context.Context, *QueryGetContractFileRequest) (*QueryGetContractFileResponse, error)
757 // Queries a list of contractFile items.
758 ContractFileAll(context.Context, *QueryAllContractFileRequest) (*QueryAllContractFileResponse, error)
759 // Queries a contractLog by hash
760 GetContractListFromHash(context.Context, *QueryGetContractListFromHashRequest) (*QueryGetContractListFromHashResponse, error)
761 // Queries a contractLog by id.
762 ContractLog(context.Context, *QueryGetContractLogRequest) (*QueryGetContractLogResponse, error)
763 // Queries a list of contractLog items.
764 ContractLogAll(context.Context, *QueryAllContractLogRequest) (*QueryAllContractLogResponse, error)
765}
766
767// UnimplementedQueryServer can be embedded to have forward compatible implementations.
768type UnimplementedQueryServer struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected