mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
proper types
This commit is contained in:
parent
299b3ba384
commit
091c5cb9b3
@ -1,4 +1,4 @@
|
||||
import { QueryClientImpl, QueryGrantsResponse } 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";
|
||||
|
||||
@ -10,8 +10,8 @@ export interface AuthzExtension {
|
||||
msgTypeUrl: string,
|
||||
paginationKey?: Uint8Array,
|
||||
) => Promise<QueryGrantsResponse>;
|
||||
readonly granteeGrants: (grantee: string, paginationKey?: Uint8Array) => Promise<QueryGrantsResponse>;
|
||||
readonly granterGrants: (granter: string, paginationKey?: Uint8Array) => Promise<QueryGrantsResponse>;
|
||||
readonly granteeGrants: (grantee: string, paginationKey?: Uint8Array) => Promise<QueryGranteeGrantsResponse>;
|
||||
readonly granterGrants: (granter: string, paginationKey?: Uint8Array) => Promise<QueryGranterGrantsResponse>;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user