coreum-js 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/client/index.d.ts +2 -1
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/params.js +14 -6
- package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/main/coreum/asset/ft/v1/query.js +116 -54
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/params.js +14 -6
- package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/main/coreum/asset/nft/v1/query.js +49 -22
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/query.js +22 -11
- package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/main/coreum/nft/v1beta1/query.js +83 -39
- package/dist/main/cosmos/extensions/bank.d.ts +8 -8
- package/dist/main/cosmos/extensions/bank.js +2 -2
- package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/main/cosmos/extensions/distribution.js +1 -1
- package/dist/main/cosmos/extensions/gov.d.ts +21 -21
- package/dist/main/cosmos/extensions/gov.js +1 -1
- package/dist/main/cosmos/index.d.ts +12 -21
- package/dist/main/cosmos/index.js +50 -42
- package/dist/main/types/msgs.d.ts +4 -4
- package/dist/main/wasm/v1/authz.d.ts +1 -1
- package/dist/main/wasm/v1/authz.js +1 -1
- package/dist/main/wasm/v1/proposal.d.ts +1 -1
- package/dist/main/wasm/v1/proposal.js +1 -1
- package/dist/main/wasm/v1/tx.d.ts +1 -1
- package/dist/main/wasm/v1/tx.js +1 -1
- package/dist/module/client/index.d.ts +2 -1
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/params.js +14 -6
- package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/ft/v1/query.js +116 -54
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/params.js +14 -6
- package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/module/coreum/asset/nft/v1/query.js +49 -22
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/query.js +22 -11
- package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/module/coreum/nft/v1beta1/query.js +83 -39
- package/dist/module/cosmos/extensions/bank.d.ts +8 -8
- package/dist/module/cosmos/extensions/bank.js +2 -2
- package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/module/cosmos/extensions/distribution.js +1 -1
- package/dist/module/cosmos/extensions/gov.d.ts +21 -21
- package/dist/module/cosmos/extensions/gov.js +1 -1
- package/dist/module/cosmos/index.d.ts +12 -21
- package/dist/module/cosmos/index.js +29 -19
- package/dist/module/types/msgs.d.ts +4 -4
- package/dist/module/wasm/v1/authz.d.ts +1 -1
- package/dist/module/wasm/v1/authz.js +1 -1
- package/dist/module/wasm/v1/proposal.d.ts +1 -1
- package/dist/module/wasm/v1/proposal.js +1 -1
- package/dist/module/wasm/v1/tx.d.ts +1 -1
- package/dist/module/wasm/v1/tx.js +1 -1
- package/package.json +9 -9
- package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
- package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
- package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
- package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
- package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
- package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
- package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
- package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
- package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
- package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
- package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
- package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
- package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
- package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
- package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
- package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
- package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
- package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
- package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
- package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
- package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
- package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/main/cosmos/msg/v1/msg.js +0 -5
- package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
- package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
- package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
- package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
- package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
- package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
- package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
- package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
- package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
- package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
- package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
- package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
- package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
- package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
- package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
- package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
- package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
- package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
- package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
- package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
- package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
- package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
- package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
- package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
- package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
- package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
- package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
- package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
- package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/module/cosmos/msg/v1/msg.js +0 -2
- package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
- package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
- package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
- package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
- package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
- package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
- package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
|
@@ -1,512 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { PageRequest, PageResponse } from "./pagination";
|
|
3
|
-
import { Grant } from "./feegrant";
|
|
4
|
-
export declare const protobufPackage = "cosmos.feegrant.v1beta1";
|
|
5
|
-
/** Since: cosmos-sdk 0.43 */
|
|
6
|
-
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
|
|
7
|
-
export interface QueryAllowanceRequest {
|
|
8
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
9
|
-
granter: string;
|
|
10
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
11
|
-
grantee: string;
|
|
12
|
-
}
|
|
13
|
-
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
|
|
14
|
-
export interface QueryAllowanceResponse {
|
|
15
|
-
/** allowance is a allowance granted for grantee by granter. */
|
|
16
|
-
allowance: Grant | undefined;
|
|
17
|
-
}
|
|
18
|
-
/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */
|
|
19
|
-
export interface QueryAllowancesRequest {
|
|
20
|
-
grantee: string;
|
|
21
|
-
/** pagination defines an pagination for the request. */
|
|
22
|
-
pagination: PageRequest | undefined;
|
|
23
|
-
}
|
|
24
|
-
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
|
|
25
|
-
export interface QueryAllowancesResponse {
|
|
26
|
-
/** allowances are allowance's granted for grantee by granter. */
|
|
27
|
-
allowances: Grant[];
|
|
28
|
-
/** pagination defines an pagination for the response. */
|
|
29
|
-
pagination: PageResponse | undefined;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method.
|
|
33
|
-
*
|
|
34
|
-
* Since: cosmos-sdk 0.46
|
|
35
|
-
*/
|
|
36
|
-
export interface QueryAllowancesByGranterRequest {
|
|
37
|
-
granter: string;
|
|
38
|
-
/** pagination defines an pagination for the request. */
|
|
39
|
-
pagination: PageRequest | undefined;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method.
|
|
43
|
-
*
|
|
44
|
-
* Since: cosmos-sdk 0.46
|
|
45
|
-
*/
|
|
46
|
-
export interface QueryAllowancesByGranterResponse {
|
|
47
|
-
/** allowances that have been issued by the granter. */
|
|
48
|
-
allowances: Grant[];
|
|
49
|
-
/** pagination defines an pagination for the response. */
|
|
50
|
-
pagination: PageResponse | undefined;
|
|
51
|
-
}
|
|
52
|
-
export declare const QueryAllowanceRequest: {
|
|
53
|
-
encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest;
|
|
55
|
-
fromJSON(object: any): QueryAllowanceRequest;
|
|
56
|
-
toJSON(message: QueryAllowanceRequest): unknown;
|
|
57
|
-
create<I extends {
|
|
58
|
-
granter?: string;
|
|
59
|
-
grantee?: string;
|
|
60
|
-
} & {
|
|
61
|
-
granter?: string;
|
|
62
|
-
grantee?: string;
|
|
63
|
-
} & { [K in Exclude<keyof I, keyof QueryAllowanceRequest>]: never; }>(base?: I): QueryAllowanceRequest;
|
|
64
|
-
fromPartial<I_1 extends {
|
|
65
|
-
granter?: string;
|
|
66
|
-
grantee?: string;
|
|
67
|
-
} & {
|
|
68
|
-
granter?: string;
|
|
69
|
-
grantee?: string;
|
|
70
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryAllowanceRequest>]: never; }>(object: I_1): QueryAllowanceRequest;
|
|
71
|
-
};
|
|
72
|
-
export declare const QueryAllowanceResponse: {
|
|
73
|
-
encode(message: QueryAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse;
|
|
75
|
-
fromJSON(object: any): QueryAllowanceResponse;
|
|
76
|
-
toJSON(message: QueryAllowanceResponse): unknown;
|
|
77
|
-
create<I extends {
|
|
78
|
-
allowance?: {
|
|
79
|
-
granter?: string;
|
|
80
|
-
grantee?: string;
|
|
81
|
-
allowance?: {
|
|
82
|
-
typeUrl?: string;
|
|
83
|
-
value?: Uint8Array;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
} & {
|
|
87
|
-
allowance?: {
|
|
88
|
-
granter?: string;
|
|
89
|
-
grantee?: string;
|
|
90
|
-
allowance?: {
|
|
91
|
-
typeUrl?: string;
|
|
92
|
-
value?: Uint8Array;
|
|
93
|
-
};
|
|
94
|
-
} & {
|
|
95
|
-
granter?: string;
|
|
96
|
-
grantee?: string;
|
|
97
|
-
allowance?: {
|
|
98
|
-
typeUrl?: string;
|
|
99
|
-
value?: Uint8Array;
|
|
100
|
-
} & {
|
|
101
|
-
typeUrl?: string;
|
|
102
|
-
value?: Uint8Array;
|
|
103
|
-
} & { [K in Exclude<keyof I["allowance"]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
104
|
-
} & { [K_1 in Exclude<keyof I["allowance"], keyof Grant>]: never; };
|
|
105
|
-
} & { [K_2 in Exclude<keyof I, "allowance">]: never; }>(base?: I): QueryAllowanceResponse;
|
|
106
|
-
fromPartial<I_1 extends {
|
|
107
|
-
allowance?: {
|
|
108
|
-
granter?: string;
|
|
109
|
-
grantee?: string;
|
|
110
|
-
allowance?: {
|
|
111
|
-
typeUrl?: string;
|
|
112
|
-
value?: Uint8Array;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
} & {
|
|
116
|
-
allowance?: {
|
|
117
|
-
granter?: string;
|
|
118
|
-
grantee?: string;
|
|
119
|
-
allowance?: {
|
|
120
|
-
typeUrl?: string;
|
|
121
|
-
value?: Uint8Array;
|
|
122
|
-
};
|
|
123
|
-
} & {
|
|
124
|
-
granter?: string;
|
|
125
|
-
grantee?: string;
|
|
126
|
-
allowance?: {
|
|
127
|
-
typeUrl?: string;
|
|
128
|
-
value?: Uint8Array;
|
|
129
|
-
} & {
|
|
130
|
-
typeUrl?: string;
|
|
131
|
-
value?: Uint8Array;
|
|
132
|
-
} & { [K_3 in Exclude<keyof I_1["allowance"]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
133
|
-
} & { [K_4 in Exclude<keyof I_1["allowance"], keyof Grant>]: never; };
|
|
134
|
-
} & { [K_5 in Exclude<keyof I_1, "allowance">]: never; }>(object: I_1): QueryAllowanceResponse;
|
|
135
|
-
};
|
|
136
|
-
export declare const QueryAllowancesRequest: {
|
|
137
|
-
encode(message: QueryAllowancesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
138
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest;
|
|
139
|
-
fromJSON(object: any): QueryAllowancesRequest;
|
|
140
|
-
toJSON(message: QueryAllowancesRequest): unknown;
|
|
141
|
-
create<I extends {
|
|
142
|
-
grantee?: string;
|
|
143
|
-
pagination?: {
|
|
144
|
-
key?: Uint8Array;
|
|
145
|
-
offset?: number;
|
|
146
|
-
limit?: number;
|
|
147
|
-
countTotal?: boolean;
|
|
148
|
-
reverse?: boolean;
|
|
149
|
-
};
|
|
150
|
-
} & {
|
|
151
|
-
grantee?: string;
|
|
152
|
-
pagination?: {
|
|
153
|
-
key?: Uint8Array;
|
|
154
|
-
offset?: number;
|
|
155
|
-
limit?: number;
|
|
156
|
-
countTotal?: boolean;
|
|
157
|
-
reverse?: boolean;
|
|
158
|
-
} & {
|
|
159
|
-
key?: Uint8Array;
|
|
160
|
-
offset?: number;
|
|
161
|
-
limit?: number;
|
|
162
|
-
countTotal?: boolean;
|
|
163
|
-
reverse?: boolean;
|
|
164
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
165
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryAllowancesRequest>]: never; }>(base?: I): QueryAllowancesRequest;
|
|
166
|
-
fromPartial<I_1 extends {
|
|
167
|
-
grantee?: string;
|
|
168
|
-
pagination?: {
|
|
169
|
-
key?: Uint8Array;
|
|
170
|
-
offset?: number;
|
|
171
|
-
limit?: number;
|
|
172
|
-
countTotal?: boolean;
|
|
173
|
-
reverse?: boolean;
|
|
174
|
-
};
|
|
175
|
-
} & {
|
|
176
|
-
grantee?: string;
|
|
177
|
-
pagination?: {
|
|
178
|
-
key?: Uint8Array;
|
|
179
|
-
offset?: number;
|
|
180
|
-
limit?: number;
|
|
181
|
-
countTotal?: boolean;
|
|
182
|
-
reverse?: boolean;
|
|
183
|
-
} & {
|
|
184
|
-
key?: Uint8Array;
|
|
185
|
-
offset?: number;
|
|
186
|
-
limit?: number;
|
|
187
|
-
countTotal?: boolean;
|
|
188
|
-
reverse?: boolean;
|
|
189
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
190
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryAllowancesRequest>]: never; }>(object: I_1): QueryAllowancesRequest;
|
|
191
|
-
};
|
|
192
|
-
export declare const QueryAllowancesResponse: {
|
|
193
|
-
encode(message: QueryAllowancesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
194
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse;
|
|
195
|
-
fromJSON(object: any): QueryAllowancesResponse;
|
|
196
|
-
toJSON(message: QueryAllowancesResponse): unknown;
|
|
197
|
-
create<I extends {
|
|
198
|
-
allowances?: {
|
|
199
|
-
granter?: string;
|
|
200
|
-
grantee?: string;
|
|
201
|
-
allowance?: {
|
|
202
|
-
typeUrl?: string;
|
|
203
|
-
value?: Uint8Array;
|
|
204
|
-
};
|
|
205
|
-
}[];
|
|
206
|
-
pagination?: {
|
|
207
|
-
nextKey?: Uint8Array;
|
|
208
|
-
total?: number;
|
|
209
|
-
};
|
|
210
|
-
} & {
|
|
211
|
-
allowances?: {
|
|
212
|
-
granter?: string;
|
|
213
|
-
grantee?: string;
|
|
214
|
-
allowance?: {
|
|
215
|
-
typeUrl?: string;
|
|
216
|
-
value?: Uint8Array;
|
|
217
|
-
};
|
|
218
|
-
}[] & ({
|
|
219
|
-
granter?: string;
|
|
220
|
-
grantee?: string;
|
|
221
|
-
allowance?: {
|
|
222
|
-
typeUrl?: string;
|
|
223
|
-
value?: Uint8Array;
|
|
224
|
-
};
|
|
225
|
-
} & {
|
|
226
|
-
granter?: string;
|
|
227
|
-
grantee?: string;
|
|
228
|
-
allowance?: {
|
|
229
|
-
typeUrl?: string;
|
|
230
|
-
value?: Uint8Array;
|
|
231
|
-
} & {
|
|
232
|
-
typeUrl?: string;
|
|
233
|
-
value?: Uint8Array;
|
|
234
|
-
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
235
|
-
} & { [K_1 in Exclude<keyof I["allowances"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["allowances"], keyof {
|
|
236
|
-
granter?: string;
|
|
237
|
-
grantee?: string;
|
|
238
|
-
allowance?: {
|
|
239
|
-
typeUrl?: string;
|
|
240
|
-
value?: Uint8Array;
|
|
241
|
-
};
|
|
242
|
-
}[]>]: never; };
|
|
243
|
-
pagination?: {
|
|
244
|
-
nextKey?: Uint8Array;
|
|
245
|
-
total?: number;
|
|
246
|
-
} & {
|
|
247
|
-
nextKey?: Uint8Array;
|
|
248
|
-
total?: number;
|
|
249
|
-
} & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
250
|
-
} & { [K_4 in Exclude<keyof I, keyof QueryAllowancesResponse>]: never; }>(base?: I): QueryAllowancesResponse;
|
|
251
|
-
fromPartial<I_1 extends {
|
|
252
|
-
allowances?: {
|
|
253
|
-
granter?: string;
|
|
254
|
-
grantee?: string;
|
|
255
|
-
allowance?: {
|
|
256
|
-
typeUrl?: string;
|
|
257
|
-
value?: Uint8Array;
|
|
258
|
-
};
|
|
259
|
-
}[];
|
|
260
|
-
pagination?: {
|
|
261
|
-
nextKey?: Uint8Array;
|
|
262
|
-
total?: number;
|
|
263
|
-
};
|
|
264
|
-
} & {
|
|
265
|
-
allowances?: {
|
|
266
|
-
granter?: string;
|
|
267
|
-
grantee?: string;
|
|
268
|
-
allowance?: {
|
|
269
|
-
typeUrl?: string;
|
|
270
|
-
value?: Uint8Array;
|
|
271
|
-
};
|
|
272
|
-
}[] & ({
|
|
273
|
-
granter?: string;
|
|
274
|
-
grantee?: string;
|
|
275
|
-
allowance?: {
|
|
276
|
-
typeUrl?: string;
|
|
277
|
-
value?: Uint8Array;
|
|
278
|
-
};
|
|
279
|
-
} & {
|
|
280
|
-
granter?: string;
|
|
281
|
-
grantee?: string;
|
|
282
|
-
allowance?: {
|
|
283
|
-
typeUrl?: string;
|
|
284
|
-
value?: Uint8Array;
|
|
285
|
-
} & {
|
|
286
|
-
typeUrl?: string;
|
|
287
|
-
value?: Uint8Array;
|
|
288
|
-
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
289
|
-
} & { [K_6 in Exclude<keyof I_1["allowances"][number], keyof Grant>]: never; })[] & { [K_7 in Exclude<keyof I_1["allowances"], keyof {
|
|
290
|
-
granter?: string;
|
|
291
|
-
grantee?: string;
|
|
292
|
-
allowance?: {
|
|
293
|
-
typeUrl?: string;
|
|
294
|
-
value?: Uint8Array;
|
|
295
|
-
};
|
|
296
|
-
}[]>]: never; };
|
|
297
|
-
pagination?: {
|
|
298
|
-
nextKey?: Uint8Array;
|
|
299
|
-
total?: number;
|
|
300
|
-
} & {
|
|
301
|
-
nextKey?: Uint8Array;
|
|
302
|
-
total?: number;
|
|
303
|
-
} & { [K_8 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
304
|
-
} & { [K_9 in Exclude<keyof I_1, keyof QueryAllowancesResponse>]: never; }>(object: I_1): QueryAllowancesResponse;
|
|
305
|
-
};
|
|
306
|
-
export declare const QueryAllowancesByGranterRequest: {
|
|
307
|
-
encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer;
|
|
308
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest;
|
|
309
|
-
fromJSON(object: any): QueryAllowancesByGranterRequest;
|
|
310
|
-
toJSON(message: QueryAllowancesByGranterRequest): unknown;
|
|
311
|
-
create<I extends {
|
|
312
|
-
granter?: string;
|
|
313
|
-
pagination?: {
|
|
314
|
-
key?: Uint8Array;
|
|
315
|
-
offset?: number;
|
|
316
|
-
limit?: number;
|
|
317
|
-
countTotal?: boolean;
|
|
318
|
-
reverse?: boolean;
|
|
319
|
-
};
|
|
320
|
-
} & {
|
|
321
|
-
granter?: string;
|
|
322
|
-
pagination?: {
|
|
323
|
-
key?: Uint8Array;
|
|
324
|
-
offset?: number;
|
|
325
|
-
limit?: number;
|
|
326
|
-
countTotal?: boolean;
|
|
327
|
-
reverse?: boolean;
|
|
328
|
-
} & {
|
|
329
|
-
key?: Uint8Array;
|
|
330
|
-
offset?: number;
|
|
331
|
-
limit?: number;
|
|
332
|
-
countTotal?: boolean;
|
|
333
|
-
reverse?: boolean;
|
|
334
|
-
} & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
|
|
335
|
-
} & { [K_1 in Exclude<keyof I, keyof QueryAllowancesByGranterRequest>]: never; }>(base?: I): QueryAllowancesByGranterRequest;
|
|
336
|
-
fromPartial<I_1 extends {
|
|
337
|
-
granter?: string;
|
|
338
|
-
pagination?: {
|
|
339
|
-
key?: Uint8Array;
|
|
340
|
-
offset?: number;
|
|
341
|
-
limit?: number;
|
|
342
|
-
countTotal?: boolean;
|
|
343
|
-
reverse?: boolean;
|
|
344
|
-
};
|
|
345
|
-
} & {
|
|
346
|
-
granter?: string;
|
|
347
|
-
pagination?: {
|
|
348
|
-
key?: Uint8Array;
|
|
349
|
-
offset?: number;
|
|
350
|
-
limit?: number;
|
|
351
|
-
countTotal?: boolean;
|
|
352
|
-
reverse?: boolean;
|
|
353
|
-
} & {
|
|
354
|
-
key?: Uint8Array;
|
|
355
|
-
offset?: number;
|
|
356
|
-
limit?: number;
|
|
357
|
-
countTotal?: boolean;
|
|
358
|
-
reverse?: boolean;
|
|
359
|
-
} & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
|
|
360
|
-
} & { [K_3 in Exclude<keyof I_1, keyof QueryAllowancesByGranterRequest>]: never; }>(object: I_1): QueryAllowancesByGranterRequest;
|
|
361
|
-
};
|
|
362
|
-
export declare const QueryAllowancesByGranterResponse: {
|
|
363
|
-
encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer;
|
|
364
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse;
|
|
365
|
-
fromJSON(object: any): QueryAllowancesByGranterResponse;
|
|
366
|
-
toJSON(message: QueryAllowancesByGranterResponse): unknown;
|
|
367
|
-
create<I extends {
|
|
368
|
-
allowances?: {
|
|
369
|
-
granter?: string;
|
|
370
|
-
grantee?: string;
|
|
371
|
-
allowance?: {
|
|
372
|
-
typeUrl?: string;
|
|
373
|
-
value?: Uint8Array;
|
|
374
|
-
};
|
|
375
|
-
}[];
|
|
376
|
-
pagination?: {
|
|
377
|
-
nextKey?: Uint8Array;
|
|
378
|
-
total?: number;
|
|
379
|
-
};
|
|
380
|
-
} & {
|
|
381
|
-
allowances?: {
|
|
382
|
-
granter?: string;
|
|
383
|
-
grantee?: string;
|
|
384
|
-
allowance?: {
|
|
385
|
-
typeUrl?: string;
|
|
386
|
-
value?: Uint8Array;
|
|
387
|
-
};
|
|
388
|
-
}[] & ({
|
|
389
|
-
granter?: string;
|
|
390
|
-
grantee?: string;
|
|
391
|
-
allowance?: {
|
|
392
|
-
typeUrl?: string;
|
|
393
|
-
value?: Uint8Array;
|
|
394
|
-
};
|
|
395
|
-
} & {
|
|
396
|
-
granter?: string;
|
|
397
|
-
grantee?: string;
|
|
398
|
-
allowance?: {
|
|
399
|
-
typeUrl?: string;
|
|
400
|
-
value?: Uint8Array;
|
|
401
|
-
} & {
|
|
402
|
-
typeUrl?: string;
|
|
403
|
-
value?: Uint8Array;
|
|
404
|
-
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
405
|
-
} & { [K_1 in Exclude<keyof I["allowances"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["allowances"], keyof {
|
|
406
|
-
granter?: string;
|
|
407
|
-
grantee?: string;
|
|
408
|
-
allowance?: {
|
|
409
|
-
typeUrl?: string;
|
|
410
|
-
value?: Uint8Array;
|
|
411
|
-
};
|
|
412
|
-
}[]>]: never; };
|
|
413
|
-
pagination?: {
|
|
414
|
-
nextKey?: Uint8Array;
|
|
415
|
-
total?: number;
|
|
416
|
-
} & {
|
|
417
|
-
nextKey?: Uint8Array;
|
|
418
|
-
total?: number;
|
|
419
|
-
} & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
|
|
420
|
-
} & { [K_4 in Exclude<keyof I, keyof QueryAllowancesByGranterResponse>]: never; }>(base?: I): QueryAllowancesByGranterResponse;
|
|
421
|
-
fromPartial<I_1 extends {
|
|
422
|
-
allowances?: {
|
|
423
|
-
granter?: string;
|
|
424
|
-
grantee?: string;
|
|
425
|
-
allowance?: {
|
|
426
|
-
typeUrl?: string;
|
|
427
|
-
value?: Uint8Array;
|
|
428
|
-
};
|
|
429
|
-
}[];
|
|
430
|
-
pagination?: {
|
|
431
|
-
nextKey?: Uint8Array;
|
|
432
|
-
total?: number;
|
|
433
|
-
};
|
|
434
|
-
} & {
|
|
435
|
-
allowances?: {
|
|
436
|
-
granter?: string;
|
|
437
|
-
grantee?: string;
|
|
438
|
-
allowance?: {
|
|
439
|
-
typeUrl?: string;
|
|
440
|
-
value?: Uint8Array;
|
|
441
|
-
};
|
|
442
|
-
}[] & ({
|
|
443
|
-
granter?: string;
|
|
444
|
-
grantee?: string;
|
|
445
|
-
allowance?: {
|
|
446
|
-
typeUrl?: string;
|
|
447
|
-
value?: Uint8Array;
|
|
448
|
-
};
|
|
449
|
-
} & {
|
|
450
|
-
granter?: string;
|
|
451
|
-
grantee?: string;
|
|
452
|
-
allowance?: {
|
|
453
|
-
typeUrl?: string;
|
|
454
|
-
value?: Uint8Array;
|
|
455
|
-
} & {
|
|
456
|
-
typeUrl?: string;
|
|
457
|
-
value?: Uint8Array;
|
|
458
|
-
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
459
|
-
} & { [K_6 in Exclude<keyof I_1["allowances"][number], keyof Grant>]: never; })[] & { [K_7 in Exclude<keyof I_1["allowances"], keyof {
|
|
460
|
-
granter?: string;
|
|
461
|
-
grantee?: string;
|
|
462
|
-
allowance?: {
|
|
463
|
-
typeUrl?: string;
|
|
464
|
-
value?: Uint8Array;
|
|
465
|
-
};
|
|
466
|
-
}[]>]: never; };
|
|
467
|
-
pagination?: {
|
|
468
|
-
nextKey?: Uint8Array;
|
|
469
|
-
total?: number;
|
|
470
|
-
} & {
|
|
471
|
-
nextKey?: Uint8Array;
|
|
472
|
-
total?: number;
|
|
473
|
-
} & { [K_8 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
|
|
474
|
-
} & { [K_9 in Exclude<keyof I_1, keyof QueryAllowancesByGranterResponse>]: never; }>(object: I_1): QueryAllowancesByGranterResponse;
|
|
475
|
-
};
|
|
476
|
-
/** Query defines the gRPC querier service. */
|
|
477
|
-
export interface Query {
|
|
478
|
-
/** Allowance returns fee granted to the grantee by the granter. */
|
|
479
|
-
Allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
|
480
|
-
/** Allowances returns all the grants for address. */
|
|
481
|
-
Allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
|
482
|
-
/**
|
|
483
|
-
* AllowancesByGranter returns all the grants given by an address
|
|
484
|
-
*
|
|
485
|
-
* Since: cosmos-sdk 0.46
|
|
486
|
-
*/
|
|
487
|
-
AllowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
|
488
|
-
}
|
|
489
|
-
export declare class QueryClientImpl implements Query {
|
|
490
|
-
private readonly rpc;
|
|
491
|
-
private readonly service;
|
|
492
|
-
constructor(rpc: Rpc, opts?: {
|
|
493
|
-
service?: string;
|
|
494
|
-
});
|
|
495
|
-
Allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
|
496
|
-
Allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
|
497
|
-
AllowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
|
498
|
-
}
|
|
499
|
-
interface Rpc {
|
|
500
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
501
|
-
}
|
|
502
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
503
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
504
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
505
|
-
} : Partial<T>;
|
|
506
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
507
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
508
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
509
|
-
} & {
|
|
510
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
511
|
-
};
|
|
512
|
-
export {};
|