decentralcardgame-cardchain-client-ts 0.0.36 → 0.0.37
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/amino_adapter.d.ts +9 -0
- package/amino_adapter.js +22 -0
- package/cardchain.cardchain/module.js +53 -52
- package/cardchain.featureflag/module.js +3 -2
- package/client.js +2 -2
- package/cosmos.auth.v1beta1/module.js +2 -1
- package/cosmos.authz.v1beta1/module.js +4 -3
- package/cosmos.bank.v1beta1/module.js +5 -4
- package/cosmos.bank.v1beta1/rest.d.ts +20 -20
- package/cosmos.bank.v1beta1/rest.js +16 -16
- package/cosmos.circuit.v1/module.js +4 -3
- package/cosmos.consensus.v1/module.js +2 -1
- package/cosmos.crisis.v1beta1/module.js +3 -2
- package/cosmos.distribution.v1beta1/module.js +8 -7
- package/cosmos.evidence.v1beta1/module.js +2 -1
- package/cosmos.feegrant.v1beta1/module.js +4 -3
- package/cosmos.gov.v1/module.js +8 -7
- package/cosmos.gov.v1beta1/module.js +5 -4
- package/cosmos.group.v1/module.js +17 -14
- package/cosmos.group.v1/types.d.ts +2 -1
- package/cosmos.group.v1/types.js +2 -1
- package/cosmos.mint.v1beta1/module.js +2 -1
- package/cosmos.nft.v1beta1/module.js +2 -1
- package/cosmos.slashing.v1beta1/module.js +3 -2
- package/cosmos.staking.v1beta1/module.js +8 -7
- package/cosmos.tx.v1beta1/rest.d.ts +8 -0
- package/cosmos.upgrade.v1beta1/module.js +3 -2
- package/cosmos.vesting.v1beta1/module.js +4 -3
- package/ibc.applications.fee.v1/module.js +5 -4
- package/ibc.applications.interchain_accounts.controller.v1/module.js +4 -3
- package/ibc.applications.interchain_accounts.host.v1/module.js +3 -2
- package/ibc.applications.transfer.v1/module.js +3 -2
- package/ibc.core.channel.v1/module.js +20 -19
- package/ibc.core.client.v1/module.js +8 -7
- package/ibc.core.connection.v1/module.js +6 -5
- package/index.d.ts +22 -22
- package/index.js +7 -7
- package/package.json +1 -1
- package/types/cosmos/app/runtime/v1alpha1/module.d.ts +13 -1
- package/types/cosmos/app/runtime/v1alpha1/module.js +36 -0
- package/types/cosmos/app/v1alpha1/query.d.ts +6 -2
- package/types/cosmos/auth/module/v1/module.d.ts +6 -0
- package/types/cosmos/auth/module/v1/module.js +18 -1
- package/types/cosmos/auth/v1beta1/query.d.ts +21 -107
- package/types/cosmos/auth/v1beta1/tx.d.ts +1 -9
- package/types/cosmos/authz/v1beta1/authz.d.ts +0 -1
- package/types/cosmos/authz/v1beta1/event.d.ts +0 -1
- package/types/cosmos/authz/v1beta1/genesis.d.ts +0 -1
- package/types/cosmos/authz/v1beta1/query.d.ts +2 -11
- package/types/cosmos/authz/v1beta1/tx.d.ts +0 -1
- package/types/cosmos/autocli/v1/options.d.ts +21 -1
- package/types/cosmos/autocli/v1/options.js +65 -2
- package/types/cosmos/bank/v1beta1/authz.d.ts +0 -4
- package/types/cosmos/bank/v1beta1/bank.d.ts +2 -14
- package/types/cosmos/bank/v1beta1/genesis.d.ts +1 -5
- package/types/cosmos/bank/v1beta1/query.d.ts +12 -62
- package/types/cosmos/bank/v1beta1/query.js +6 -6
- package/types/cosmos/bank/v1beta1/tx.d.ts +2 -18
- package/types/cosmos/base/abci/v1beta1/abci.d.ts +2 -12
- package/types/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -1
- package/types/cosmos/base/tendermint/v1beta1/query.d.ts +0 -5
- package/types/cosmos/benchmark/module/v1/module.d.ts +52 -0
- package/types/cosmos/benchmark/module/v1/module.js +289 -0
- package/types/cosmos/benchmark/v1/benchmark.d.ts +32 -0
- package/types/cosmos/benchmark/v1/benchmark.js +164 -0
- package/types/cosmos/benchmark/v1/tx.d.ts +51 -0
- package/types/cosmos/benchmark/v1/tx.js +196 -0
- package/types/cosmos/consensus/v1/query.d.ts +0 -1
- package/types/cosmos/consensus/v1/tx.d.ts +0 -4
- package/types/cosmos/{orm/module/v1alpha1 → counter/module/v1}/module.d.ts +4 -6
- package/types/cosmos/counter/module/v1/module.js +62 -0
- package/types/cosmos/counter/v1/query.d.ts +47 -0
- package/types/cosmos/counter/v1/query.js +122 -0
- package/types/cosmos/counter/v1/tx.d.ts +52 -0
- package/types/cosmos/counter/v1/tx.js +153 -0
- package/types/cosmos/crisis/v1beta1/tx.d.ts +1 -9
- package/types/cosmos/crypto/hd/v1/hd.d.ts +0 -1
- package/types/cosmos/crypto/keyring/v1/record.d.ts +0 -1
- package/types/cosmos/crypto/secp256r1/keys.d.ts +0 -1
- package/types/cosmos/distribution/v1beta1/query.d.ts +5 -1
- package/types/cosmos/distribution/v1beta1/tx.d.ts +4 -22
- package/types/cosmos/epochs/module/v1/module.d.ts +25 -0
- package/types/cosmos/{orm/module/v1alpha1 → epochs/module/v1}/module.js +2 -2
- package/types/cosmos/epochs/v1beta1/events.d.ts +32 -0
- package/types/cosmos/epochs/v1beta1/events.js +140 -0
- package/types/cosmos/epochs/v1beta1/genesis.d.ts +86 -0
- package/types/cosmos/epochs/v1beta1/genesis.js +256 -0
- package/types/cosmos/epochs/v1beta1/query.d.ts +73 -0
- package/types/cosmos/epochs/v1beta1/query.js +233 -0
- package/types/cosmos/evidence/v1beta1/query.d.ts +1 -5
- package/types/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -1
- package/types/cosmos/feegrant/v1beta1/genesis.d.ts +0 -1
- package/types/cosmos/feegrant/v1beta1/query.d.ts +3 -16
- package/types/cosmos/feegrant/v1beta1/tx.d.ts +3 -16
- package/types/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/cosmos/gov/v1/gov.d.ts +9 -50
- package/types/cosmos/gov/v1/gov.js +0 -1
- package/types/cosmos/gov/v1/query.d.ts +1 -6
- package/types/cosmos/gov/v1/tx.d.ts +6 -37
- package/types/cosmos/gov/v1beta1/gov.d.ts +2 -10
- package/types/cosmos/gov/v1beta1/tx.d.ts +3 -15
- package/types/cosmos/group/v1/events.d.ts +8 -1
- package/types/cosmos/group/v1/events.js +68 -0
- package/types/cosmos/group/v1/genesis.d.ts +0 -1
- package/types/cosmos/group/v1/query.d.ts +3 -16
- package/types/cosmos/group/v1/tx.d.ts +2 -11
- package/types/cosmos/group/v1/tx.js +0 -1
- package/types/cosmos/group/v1/types.d.ts +2 -11
- package/types/cosmos/group/v1/types.js +0 -1
- package/types/cosmos/mint/v1beta1/tx.d.ts +1 -9
- package/types/cosmos/params/v1beta1/query.d.ts +1 -11
- package/types/cosmos/protocolpool/module/v1/module.d.ts +27 -0
- package/types/cosmos/protocolpool/module/v1/module.js +62 -0
- package/types/cosmos/protocolpool/v1/genesis.d.ts +33 -0
- package/types/cosmos/protocolpool/v1/genesis.js +84 -0
- package/types/cosmos/protocolpool/v1/query.d.ts +108 -0
- package/types/cosmos/protocolpool/v1/query.js +420 -0
- package/types/cosmos/protocolpool/v1/tx.d.ts +159 -0
- package/types/cosmos/protocolpool/v1/tx.js +700 -0
- package/types/cosmos/protocolpool/v1/types.d.ts +45 -0
- package/types/cosmos/protocolpool/v1/types.js +196 -0
- package/types/cosmos/slashing/v1beta1/tx.d.ts +1 -9
- package/types/cosmos/staking/v1beta1/authz.d.ts +2 -10
- package/types/cosmos/staking/v1beta1/authz.js +1 -5
- package/types/cosmos/staking/v1beta1/staking.d.ts +1 -5
- package/types/cosmos/staking/v1beta1/tx.d.ts +4 -25
- package/types/cosmos/store/snapshots/v1/snapshot.d.ts +5 -25
- package/types/cosmos/store/v1beta1/listening.d.ts +0 -2
- package/types/cosmos/tx/v1beta1/service.d.ts +6 -52
- package/types/cosmos/tx/v1beta1/tx.d.ts +37 -17
- package/types/cosmos/tx/v1beta1/tx.js +61 -1
- package/types/cosmos/upgrade/v1beta1/query.d.ts +4 -25
- package/types/cosmos/upgrade/v1beta1/tx.d.ts +5 -28
- package/types/cosmos/vesting/v1beta1/tx.d.ts +1 -15
- package/types/cosmos/vesting/v1beta1/vesting.d.ts +0 -2
- package/types/cosmos/orm/query/v1alpha1/query.d.ts +0 -148
- package/types/cosmos/orm/query/v1alpha1/query.js +0 -705
- package/types/cosmos/orm/v1/orm.d.ts +0 -115
- package/types/cosmos/orm/v1/orm.js +0 -300
- package/types/cosmos/orm/v1alpha1/schema.d.ts +0 -77
- package/types/cosmos/orm/v1alpha1/schema.js +0 -243
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.6.1
|
|
4
|
+
// protoc unknown
|
|
5
|
+
// source: cosmos/protocolpool/module/v1/module.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
+
export const protobufPackage = "cosmos.protocolpool.module.v1";
|
|
9
|
+
function createBaseModule() {
|
|
10
|
+
return { authority: "" };
|
|
11
|
+
}
|
|
12
|
+
export const Module = {
|
|
13
|
+
encode(message, writer = new BinaryWriter()) {
|
|
14
|
+
if (message.authority !== "") {
|
|
15
|
+
writer.uint32(10).string(message.authority);
|
|
16
|
+
}
|
|
17
|
+
return writer;
|
|
18
|
+
},
|
|
19
|
+
decode(input, length) {
|
|
20
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
21
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
22
|
+
const message = createBaseModule();
|
|
23
|
+
while (reader.pos < end) {
|
|
24
|
+
const tag = reader.uint32();
|
|
25
|
+
switch (tag >>> 3) {
|
|
26
|
+
case 1: {
|
|
27
|
+
if (tag !== 10) {
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
message.authority = reader.string();
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
reader.skip(tag & 7);
|
|
38
|
+
}
|
|
39
|
+
return message;
|
|
40
|
+
},
|
|
41
|
+
fromJSON(object) {
|
|
42
|
+
return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" };
|
|
43
|
+
},
|
|
44
|
+
toJSON(message) {
|
|
45
|
+
const obj = {};
|
|
46
|
+
if (message.authority !== "") {
|
|
47
|
+
obj.authority = message.authority;
|
|
48
|
+
}
|
|
49
|
+
return obj;
|
|
50
|
+
},
|
|
51
|
+
create(base) {
|
|
52
|
+
return Module.fromPartial(base ?? {});
|
|
53
|
+
},
|
|
54
|
+
fromPartial(object) {
|
|
55
|
+
const message = createBaseModule();
|
|
56
|
+
message.authority = object.authority ?? "";
|
|
57
|
+
return message;
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
function isSet(value) {
|
|
61
|
+
return value !== null && value !== undefined;
|
|
62
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { ContinuousFund, Params } from "./types";
|
|
3
|
+
export declare const protobufPackage = "cosmos.protocolpool.v1";
|
|
4
|
+
/** GenesisState defines the protocolpool module's genesis state. */
|
|
5
|
+
export interface GenesisState {
|
|
6
|
+
/** ContinuousFunds defines the continuous funds at genesis. */
|
|
7
|
+
continuousFunds: ContinuousFund[];
|
|
8
|
+
/**
|
|
9
|
+
* Params defines the parameters of this module, currently only contains the
|
|
10
|
+
* denoms that will be used for continuous fund distributions.
|
|
11
|
+
*/
|
|
12
|
+
params: Params | undefined;
|
|
13
|
+
}
|
|
14
|
+
export declare const GenesisState: MessageFns<GenesisState>;
|
|
15
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
17
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
|
+
} : Partial<T>;
|
|
19
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
20
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
21
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
22
|
+
} & {
|
|
23
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
24
|
+
};
|
|
25
|
+
export interface MessageFns<T> {
|
|
26
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
27
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
28
|
+
fromJSON(object: any): T;
|
|
29
|
+
toJSON(message: T): unknown;
|
|
30
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
31
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.6.1
|
|
4
|
+
// protoc unknown
|
|
5
|
+
// source: cosmos/protocolpool/v1/genesis.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
+
import { ContinuousFund, Params } from "./types";
|
|
9
|
+
export const protobufPackage = "cosmos.protocolpool.v1";
|
|
10
|
+
function createBaseGenesisState() {
|
|
11
|
+
return { continuousFunds: [], params: undefined };
|
|
12
|
+
}
|
|
13
|
+
export const GenesisState = {
|
|
14
|
+
encode(message, writer = new BinaryWriter()) {
|
|
15
|
+
for (const v of message.continuousFunds) {
|
|
16
|
+
ContinuousFund.encode(v, writer.uint32(10).fork()).join();
|
|
17
|
+
}
|
|
18
|
+
if (message.params !== undefined) {
|
|
19
|
+
Params.encode(message.params, writer.uint32(18).fork()).join();
|
|
20
|
+
}
|
|
21
|
+
return writer;
|
|
22
|
+
},
|
|
23
|
+
decode(input, length) {
|
|
24
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
25
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
+
const message = createBaseGenesisState();
|
|
27
|
+
while (reader.pos < end) {
|
|
28
|
+
const tag = reader.uint32();
|
|
29
|
+
switch (tag >>> 3) {
|
|
30
|
+
case 1: {
|
|
31
|
+
if (tag !== 10) {
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
message.continuousFunds.push(ContinuousFund.decode(reader, reader.uint32()));
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
case 2: {
|
|
38
|
+
if (tag !== 18) {
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
reader.skip(tag & 7);
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
fromJSON(object) {
|
|
53
|
+
return {
|
|
54
|
+
continuousFunds: globalThis.Array.isArray(object?.continuousFunds)
|
|
55
|
+
? object.continuousFunds.map((e) => ContinuousFund.fromJSON(e))
|
|
56
|
+
: [],
|
|
57
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
if (message.continuousFunds?.length) {
|
|
63
|
+
obj.continuousFunds = message.continuousFunds.map((e) => ContinuousFund.toJSON(e));
|
|
64
|
+
}
|
|
65
|
+
if (message.params !== undefined) {
|
|
66
|
+
obj.params = Params.toJSON(message.params);
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
},
|
|
70
|
+
create(base) {
|
|
71
|
+
return GenesisState.fromPartial(base ?? {});
|
|
72
|
+
},
|
|
73
|
+
fromPartial(object) {
|
|
74
|
+
const message = createBaseGenesisState();
|
|
75
|
+
message.continuousFunds = object.continuousFunds?.map((e) => ContinuousFund.fromPartial(e)) || [];
|
|
76
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
77
|
+
? Params.fromPartial(object.params)
|
|
78
|
+
: undefined;
|
|
79
|
+
return message;
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
function isSet(value) {
|
|
83
|
+
return value !== null && value !== undefined;
|
|
84
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
+
import { ContinuousFund, Params } from "./types";
|
|
4
|
+
export declare const protobufPackage = "cosmos.protocolpool.v1";
|
|
5
|
+
/**
|
|
6
|
+
* QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
|
|
7
|
+
* method.
|
|
8
|
+
*/
|
|
9
|
+
export interface QueryCommunityPoolRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* QueryCommunityPoolResponse is the response type for the Query/CommunityPool
|
|
13
|
+
* RPC method.
|
|
14
|
+
*/
|
|
15
|
+
export interface QueryCommunityPoolResponse {
|
|
16
|
+
/** pool defines community pool's coins. */
|
|
17
|
+
pool: Coin[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* QueryContinuousFundRequest is the request type for the Query/ContinuousFund
|
|
21
|
+
* RPC method.
|
|
22
|
+
*/
|
|
23
|
+
export interface QueryContinuousFundRequest {
|
|
24
|
+
/** recipient is the recipient address to query unclaimed budget amount for. */
|
|
25
|
+
recipient: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund
|
|
29
|
+
* RPC method.
|
|
30
|
+
*/
|
|
31
|
+
export interface QueryContinuousFundResponse {
|
|
32
|
+
/** ContinuousFunds is the given continuous fund returned in the query. */
|
|
33
|
+
continuousFund: ContinuousFund | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* QueryContinuousFundRequest is the request type for the Query/ContinuousFunds
|
|
37
|
+
* RPC method.
|
|
38
|
+
*/
|
|
39
|
+
export interface QueryContinuousFundsRequest {
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds
|
|
43
|
+
* RPC method.
|
|
44
|
+
*/
|
|
45
|
+
export interface QueryContinuousFundsResponse {
|
|
46
|
+
/** ContinuousFunds defines all continuous funds in state. */
|
|
47
|
+
continuousFunds: ContinuousFund[];
|
|
48
|
+
}
|
|
49
|
+
/** QueryParamsRequest is the response type for the Query/Params RPC method. */
|
|
50
|
+
export interface QueryParamsRequest {
|
|
51
|
+
}
|
|
52
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
53
|
+
export interface QueryParamsResponse {
|
|
54
|
+
params: Params | undefined;
|
|
55
|
+
}
|
|
56
|
+
export declare const QueryCommunityPoolRequest: MessageFns<QueryCommunityPoolRequest>;
|
|
57
|
+
export declare const QueryCommunityPoolResponse: MessageFns<QueryCommunityPoolResponse>;
|
|
58
|
+
export declare const QueryContinuousFundRequest: MessageFns<QueryContinuousFundRequest>;
|
|
59
|
+
export declare const QueryContinuousFundResponse: MessageFns<QueryContinuousFundResponse>;
|
|
60
|
+
export declare const QueryContinuousFundsRequest: MessageFns<QueryContinuousFundsRequest>;
|
|
61
|
+
export declare const QueryContinuousFundsResponse: MessageFns<QueryContinuousFundsResponse>;
|
|
62
|
+
export declare const QueryParamsRequest: MessageFns<QueryParamsRequest>;
|
|
63
|
+
export declare const QueryParamsResponse: MessageFns<QueryParamsResponse>;
|
|
64
|
+
/** Query defines the gRPC querier service for community pool module. */
|
|
65
|
+
export interface Query {
|
|
66
|
+
/** CommunityPool queries the community pool coins. */
|
|
67
|
+
CommunityPool(request: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
|
|
68
|
+
/** ContinuousFund queries a continuous fund by the recipient is is associated with. */
|
|
69
|
+
ContinuousFund(request: QueryContinuousFundRequest): Promise<QueryContinuousFundResponse>;
|
|
70
|
+
/** ContinuousFunds queries all continuous funds in the store. */
|
|
71
|
+
ContinuousFunds(request: QueryContinuousFundsRequest): Promise<QueryContinuousFundsResponse>;
|
|
72
|
+
/** Params returns the total set of x/protocolpool parameters. */
|
|
73
|
+
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
74
|
+
}
|
|
75
|
+
export declare const QueryServiceName = "cosmos.protocolpool.v1.Query";
|
|
76
|
+
export declare class QueryClientImpl implements Query {
|
|
77
|
+
private readonly rpc;
|
|
78
|
+
private readonly service;
|
|
79
|
+
constructor(rpc: Rpc, opts?: {
|
|
80
|
+
service?: string;
|
|
81
|
+
});
|
|
82
|
+
CommunityPool(request: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
|
|
83
|
+
ContinuousFund(request: QueryContinuousFundRequest): Promise<QueryContinuousFundResponse>;
|
|
84
|
+
ContinuousFunds(request: QueryContinuousFundsRequest): Promise<QueryContinuousFundsResponse>;
|
|
85
|
+
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
86
|
+
}
|
|
87
|
+
interface Rpc {
|
|
88
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
89
|
+
}
|
|
90
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
91
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
92
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
93
|
+
} : Partial<T>;
|
|
94
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
95
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
96
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
97
|
+
} & {
|
|
98
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
99
|
+
};
|
|
100
|
+
export interface MessageFns<T> {
|
|
101
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
102
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
103
|
+
fromJSON(object: any): T;
|
|
104
|
+
toJSON(message: T): unknown;
|
|
105
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
106
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
107
|
+
}
|
|
108
|
+
export {};
|