QueryServer is the server API for Query service.
| 750 | |
| 751 | // QueryServer is the server API for Query service. |
| 752 | type 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. |
| 768 | type UnimplementedQueryServer struct { |
nothing calls this directly
no outgoing calls
no test coverage detected