This commit is contained in:
Mantas Vidutis 2022-11-24 12:47:14 -08:00
parent 091c5cb9b3
commit a83ad207dd
No known key found for this signature in database
GPG Key ID: 60BDC8CD8FA60E29

View File

@ -1,6 +1,11 @@
import { QueryClientImpl, QueryGrantsResponse, QueryGranterGrantsResponse, QueryGranteeGrantsResponse } from "cosmjs-types/cosmos/authz/v1beta1/query";
import {
QueryClientImpl,
QueryGrantsResponse,
QueryGranterGrantsResponse,
QueryGranteeGrantsResponse
} from "cosmjs-types/cosmos/authz/v1beta1/query";
import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient";
import {createPagination, createProtobufRpcClient, QueryClient} from "../../queryclient";
export interface AuthzExtension {
readonly authz: {
@ -10,8 +15,14 @@ export interface AuthzExtension {
msgTypeUrl: string,
paginationKey?: Uint8Array,
) => Promise<QueryGrantsResponse>;
readonly granteeGrants: (grantee: string, paginationKey?: Uint8Array) => Promise<QueryGranteeGrantsResponse>;
readonly granterGrants: (granter: string, paginationKey?: Uint8Array) => Promise<QueryGranterGrantsResponse>;
readonly granteeGrants: (
grantee: string,
paginationKey?: Uint8Array,
) => Promise<QueryGranteeGrantsResponse>;
readonly granterGrants: (
granter: string,
paginationKey?: Uint8Array,
) => Promise<QueryGranterGrantsResponse>;
};
}