carbon-js-sdk 0.3.52 → 0.3.53-dev.1
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/lib/CarbonSDK.js +1 -1
- package/lib/clients/ETHClient.d.ts +11 -4
- package/lib/clients/ETHClient.js +20 -6
- package/lib/clients/HydrogenClient.d.ts +16 -7
- package/lib/clients/HydrogenClient.js +55 -9
- package/lib/clients/NEOClient.d.ts +1 -1
- package/lib/clients/NEOClient.js +9 -4
- package/lib/clients/TokenClient.d.ts +17 -4
- package/lib/clients/TokenClient.js +121 -8
- package/lib/clients/ZILClient.d.ts +1 -1
- package/lib/clients/ZILClient.js +9 -4
- package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +18 -0
- package/lib/codec/cosmos/app/module/v1alpha1/module.js +46 -0
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +57 -0
- package/lib/codec/cosmos/app/v1alpha1/config.js +125 -0
- package/lib/codec/cosmos/app/v1alpha1/export.d.ts +3 -0
- package/lib/codec/cosmos/app/v1alpha1/export.js +13 -0
- package/lib/codec/cosmos/app/v1alpha1/module.d.ts +109 -0
- package/lib/codec/cosmos/app/v1alpha1/module.js +192 -0
- package/lib/codec/cosmos/app/v1alpha1/query.d.ts +44 -0
- package/lib/codec/cosmos/app/v1alpha1/query.js +107 -0
- package/lib/codec/cosmos/authz/v1beta1/export.d.ts +4 -0
- package/lib/codec/cosmos/authz/v1beta1/export.js +25 -0
- package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +42 -0
- package/lib/codec/cosmos/base/node/v1beta1/query.js +104 -0
- package/lib/codec/cosmos/base/tendermint/v1beta1/types.d.ts +67 -0
- package/lib/codec/cosmos/base/tendermint/v1beta1/types.js +423 -0
- package/lib/codec/cosmos/capability/v1beta1/export.d.ts +2 -0
- package/lib/codec/cosmos/capability/v1beta1/export.js +9 -0
- package/lib/codec/cosmos/crisis/v1beta1/export.d.ts +1 -0
- package/lib/codec/cosmos/crisis/v1beta1/export.js +6 -0
- package/lib/codec/cosmos/crypto/hd/v1/hd.d.ts +32 -0
- package/lib/codec/cosmos/crypto/hd/v1/hd.js +114 -0
- package/lib/codec/cosmos/crypto/keyring/v1/record.d.ts +78 -0
- package/lib/codec/cosmos/crypto/keyring/v1/record.js +309 -0
- package/lib/codec/cosmos/evidence/v1beta1/export.d.ts +3 -0
- package/lib/codec/cosmos/evidence/v1beta1/export.js +13 -0
- package/lib/codec/cosmos/feegrant/v1beta1/export.d.ts +3 -0
- package/lib/codec/cosmos/feegrant/v1beta1/export.js +20 -0
- package/lib/codec/cosmos/gov/v1/export.d.ts +3 -0
- package/lib/codec/cosmos/gov/v1/export.js +46 -0
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +34 -0
- package/lib/codec/cosmos/gov/v1/genesis.js +166 -0
- package/lib/codec/cosmos/gov/v1/gov.d.ts +198 -0
- package/lib/codec/cosmos/gov/v1/gov.js +855 -0
- package/lib/codec/cosmos/gov/v1/query.d.ts +264 -0
- package/lib/codec/cosmos/gov/v1/query.js +1045 -0
- package/lib/codec/cosmos/gov/v1/tx.d.ts +167 -0
- package/lib/codec/cosmos/gov/v1/tx.js +639 -0
- package/lib/codec/cosmos/group/v1/events.d.ts +124 -0
- package/lib/codec/cosmos/group/v1/events.js +480 -0
- package/lib/codec/cosmos/group/v1/export.d.ts +4 -0
- package/lib/codec/cosmos/group/v1/export.js +94 -0
- package/lib/codec/cosmos/group/v1/genesis.d.ts +45 -0
- package/lib/codec/cosmos/group/v1/genesis.js +176 -0
- package/lib/codec/cosmos/group/v1/query.d.ts +412 -0
- package/lib/codec/cosmos/group/v1/query.js +1648 -0
- package/lib/codec/cosmos/group/v1/tx.d.ts +483 -0
- package/lib/codec/cosmos/group/v1/tx.js +1840 -0
- package/lib/codec/cosmos/group/v1/types.d.ts +356 -0
- package/lib/codec/cosmos/group/v1/types.js +1306 -0
- package/lib/codec/cosmos/msg/v1/msg.d.ts +1 -0
- package/lib/codec/cosmos/msg/v1/msg.js +14 -0
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +48 -0
- package/lib/codec/cosmos/nft/v1beta1/event.js +227 -0
- package/lib/codec/cosmos/nft/v1beta1/export.d.ts +5 -0
- package/lib/codec/cosmos/nft/v1beta1/export.js +30 -0
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +36 -0
- package/lib/codec/cosmos/nft/v1beta1/genesis.js +140 -0
- package/lib/codec/cosmos/nft/v1beta1/nft.d.ts +53 -0
- package/lib/codec/cosmos/nft/v1beta1/nft.js +233 -0
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +206 -0
- package/lib/codec/cosmos/nft/v1beta1/query.js +817 -0
- package/lib/codec/cosmos/nft/v1beta1/tx.d.ts +49 -0
- package/lib/codec/cosmos/nft/v1beta1/tx.js +137 -0
- package/lib/codec/cosmos/orm/module/v1alpha1/module.d.ts +22 -0
- package/lib/codec/cosmos/orm/module/v1alpha1/module.js +46 -0
- package/lib/codec/cosmos/orm/v1/export.d.ts +1 -0
- package/lib/codec/cosmos/orm/v1/export.js +8 -0
- package/lib/codec/cosmos/orm/v1/orm.d.ts +123 -0
- package/lib/codec/cosmos/orm/v1/orm.js +263 -0
- package/lib/codec/cosmos/orm/v1alpha1/export.d.ts +1 -0
- package/lib/codec/cosmos/orm/v1alpha1/export.js +9 -0
- package/lib/codec/cosmos/orm/v1alpha1/schema.d.ts +96 -0
- package/lib/codec/cosmos/orm/v1alpha1/schema.js +265 -0
- package/lib/codec/cosmos/upgrade/v1beta1/export.d.ts +3 -0
- package/lib/codec/cosmos/upgrade/v1beta1/export.js +24 -0
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +97 -0
- package/lib/codec/cosmos/upgrade/v1beta1/tx.js +203 -0
- package/lib/codec/ibc/applications/fee/v1/ack.d.ts +24 -0
- package/lib/codec/ibc/applications/fee/v1/ack.js +125 -0
- package/lib/codec/ibc/applications/fee/v1/export.d.ts +6 -0
- package/lib/codec/ibc/applications/fee/v1/export.js +47 -0
- package/lib/codec/ibc/applications/fee/v1/fee.d.ts +68 -0
- package/lib/codec/ibc/applications/fee/v1/fee.js +289 -0
- package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +93 -0
- package/lib/codec/ibc/applications/fee/v1/genesis.js +390 -0
- package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +25 -0
- package/lib/codec/ibc/applications/fee/v1/metadata.js +71 -0
- package/lib/codec/ibc/applications/fee/v1/query.d.ts +312 -0
- package/lib/codec/ibc/applications/fee/v1/query.js +1187 -0
- package/lib/codec/ibc/applications/fee/v1/tx.d.ts +171 -0
- package/lib/codec/ibc/applications/fee/v1/tx.js +524 -0
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +78 -0
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +296 -0
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +80 -0
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.js +439 -0
- package/lib/hydrogen/transfer.d.ts +5 -5
- package/lib/insights/competition.d.ts +1 -0
- package/lib/provider/metamask/MetaMask.d.ts +5 -5
- package/lib/provider/metamask/MetaMask.js +35 -35
- package/lib/util/blockchain.d.ts +9 -0
- package/lib/util/blockchain.js +143 -1
- package/lib/util/ibc.d.ts +4 -4
- package/lib/util/ibc.js +17 -18
- package/package.json +1 -1
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { PageRequest } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
+
import { PacketId } from "../../../core/channel/v1/channel";
|
|
5
|
+
import { IdentifiedPacketFees } from "./fee";
|
|
6
|
+
import { Coin } from "../../../../cosmos/base/v1beta1/coin";
|
|
7
|
+
import { FeeEnabledChannel } from "./genesis";
|
|
8
|
+
export declare const protobufPackage = "ibc.applications.fee.v1";
|
|
9
|
+
/** QueryIncentivizedPacketsRequest defines the request type for the IncentivizedPackets rpc */
|
|
10
|
+
export interface QueryIncentivizedPacketsRequest {
|
|
11
|
+
/** pagination defines an optional pagination for the request. */
|
|
12
|
+
pagination?: PageRequest;
|
|
13
|
+
/** block height at which to query */
|
|
14
|
+
queryHeight: Long;
|
|
15
|
+
}
|
|
16
|
+
/** QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPackets rpc */
|
|
17
|
+
export interface QueryIncentivizedPacketsResponse {
|
|
18
|
+
/** list of identified fees for incentivized packets */
|
|
19
|
+
incentivizedPackets: IdentifiedPacketFees[];
|
|
20
|
+
}
|
|
21
|
+
/** QueryIncentivizedPacketRequest defines the request type for the IncentivizedPacket rpc */
|
|
22
|
+
export interface QueryIncentivizedPacketRequest {
|
|
23
|
+
/** unique packet identifier comprised of channel ID, port ID and sequence */
|
|
24
|
+
packetId?: PacketId;
|
|
25
|
+
/** block height at which to query */
|
|
26
|
+
queryHeight: Long;
|
|
27
|
+
}
|
|
28
|
+
/** QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPacket rpc */
|
|
29
|
+
export interface QueryIncentivizedPacketResponse {
|
|
30
|
+
/** the identified fees for the incentivized packet */
|
|
31
|
+
incentivizedPacket?: IdentifiedPacketFees;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* QueryIncentivizedPacketsForChannelRequest defines the request type for querying for all incentivized packets
|
|
35
|
+
* for a specific channel
|
|
36
|
+
*/
|
|
37
|
+
export interface QueryIncentivizedPacketsForChannelRequest {
|
|
38
|
+
/** pagination defines an optional pagination for the request. */
|
|
39
|
+
pagination?: PageRequest;
|
|
40
|
+
portId: string;
|
|
41
|
+
channelId: string;
|
|
42
|
+
/** Height to query at */
|
|
43
|
+
queryHeight: Long;
|
|
44
|
+
}
|
|
45
|
+
/** QueryIncentivizedPacketsResponse defines the response type for the incentivized packets RPC */
|
|
46
|
+
export interface QueryIncentivizedPacketsForChannelResponse {
|
|
47
|
+
/** Map of all incentivized_packets */
|
|
48
|
+
incentivizedPackets: IdentifiedPacketFees[];
|
|
49
|
+
}
|
|
50
|
+
/** QueryTotalRecvFeesRequest defines the request type for the TotalRecvFees rpc */
|
|
51
|
+
export interface QueryTotalRecvFeesRequest {
|
|
52
|
+
/** the packet identifier for the associated fees */
|
|
53
|
+
packetId?: PacketId;
|
|
54
|
+
}
|
|
55
|
+
/** QueryTotalRecvFeesResponse defines the response type for the TotalRecvFees rpc */
|
|
56
|
+
export interface QueryTotalRecvFeesResponse {
|
|
57
|
+
/** the total packet receive fees */
|
|
58
|
+
recvFees: Coin[];
|
|
59
|
+
}
|
|
60
|
+
/** QueryTotalAckFeesRequest defines the request type for the TotalAckFees rpc */
|
|
61
|
+
export interface QueryTotalAckFeesRequest {
|
|
62
|
+
/** the packet identifier for the associated fees */
|
|
63
|
+
packetId?: PacketId;
|
|
64
|
+
}
|
|
65
|
+
/** QueryTotalAckFeesResponse defines the response type for the TotalAckFees rpc */
|
|
66
|
+
export interface QueryTotalAckFeesResponse {
|
|
67
|
+
/** the total packet acknowledgement fees */
|
|
68
|
+
ackFees: Coin[];
|
|
69
|
+
}
|
|
70
|
+
/** QueryTotalTimeoutFeesRequest defines the request type for the TotalTimeoutFees rpc */
|
|
71
|
+
export interface QueryTotalTimeoutFeesRequest {
|
|
72
|
+
/** the packet identifier for the associated fees */
|
|
73
|
+
packetId?: PacketId;
|
|
74
|
+
}
|
|
75
|
+
/** QueryTotalTimeoutFeesResponse defines the response type for the TotalTimeoutFees rpc */
|
|
76
|
+
export interface QueryTotalTimeoutFeesResponse {
|
|
77
|
+
/** the total packet timeout fees */
|
|
78
|
+
timeoutFees: Coin[];
|
|
79
|
+
}
|
|
80
|
+
/** QueryPayeeRequest defines the request type for the Payee rpc */
|
|
81
|
+
export interface QueryPayeeRequest {
|
|
82
|
+
/** unique channel identifier */
|
|
83
|
+
channelId: string;
|
|
84
|
+
/** the relayer address to which the distribution address is registered */
|
|
85
|
+
relayer: string;
|
|
86
|
+
}
|
|
87
|
+
/** QueryPayeeResponse defines the response type for the Payee rpc */
|
|
88
|
+
export interface QueryPayeeResponse {
|
|
89
|
+
/** the payee address to which packet fees are paid out */
|
|
90
|
+
payeeAddress: string;
|
|
91
|
+
}
|
|
92
|
+
/** QueryCounterpartyPayeeRequest defines the request type for the CounterpartyPayee rpc */
|
|
93
|
+
export interface QueryCounterpartyPayeeRequest {
|
|
94
|
+
/** unique channel identifier */
|
|
95
|
+
channelId: string;
|
|
96
|
+
/** the relayer address to which the counterparty is registered */
|
|
97
|
+
relayer: string;
|
|
98
|
+
}
|
|
99
|
+
/** QueryCounterpartyPayeeResponse defines the response type for the CounterpartyPayee rpc */
|
|
100
|
+
export interface QueryCounterpartyPayeeResponse {
|
|
101
|
+
/** the counterparty payee address used to compensate forward relaying */
|
|
102
|
+
counterpartyPayee: string;
|
|
103
|
+
}
|
|
104
|
+
/** QueryFeeEnabledChannelsRequest defines the request type for the FeeEnabledChannels rpc */
|
|
105
|
+
export interface QueryFeeEnabledChannelsRequest {
|
|
106
|
+
/** pagination defines an optional pagination for the request. */
|
|
107
|
+
pagination?: PageRequest;
|
|
108
|
+
/** block height at which to query */
|
|
109
|
+
queryHeight: Long;
|
|
110
|
+
}
|
|
111
|
+
/** QueryFeeEnabledChannelsResponse defines the response type for the FeeEnabledChannels rpc */
|
|
112
|
+
export interface QueryFeeEnabledChannelsResponse {
|
|
113
|
+
/** list of fee enabled channels */
|
|
114
|
+
feeEnabledChannels: FeeEnabledChannel[];
|
|
115
|
+
}
|
|
116
|
+
/** QueryFeeEnabledChannelRequest defines the request type for the FeeEnabledChannel rpc */
|
|
117
|
+
export interface QueryFeeEnabledChannelRequest {
|
|
118
|
+
/** unique port identifier */
|
|
119
|
+
portId: string;
|
|
120
|
+
/** unique channel identifier */
|
|
121
|
+
channelId: string;
|
|
122
|
+
}
|
|
123
|
+
/** QueryFeeEnabledChannelResponse defines the response type for the FeeEnabledChannel rpc */
|
|
124
|
+
export interface QueryFeeEnabledChannelResponse {
|
|
125
|
+
/** boolean flag representing the fee enabled channel status */
|
|
126
|
+
feeEnabled: boolean;
|
|
127
|
+
}
|
|
128
|
+
export declare const QueryIncentivizedPacketsRequest: {
|
|
129
|
+
encode(message: QueryIncentivizedPacketsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
130
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketsRequest;
|
|
131
|
+
fromJSON(object: any): QueryIncentivizedPacketsRequest;
|
|
132
|
+
toJSON(message: QueryIncentivizedPacketsRequest): unknown;
|
|
133
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketsRequest>): QueryIncentivizedPacketsRequest;
|
|
134
|
+
};
|
|
135
|
+
export declare const QueryIncentivizedPacketsResponse: {
|
|
136
|
+
encode(message: QueryIncentivizedPacketsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
137
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketsResponse;
|
|
138
|
+
fromJSON(object: any): QueryIncentivizedPacketsResponse;
|
|
139
|
+
toJSON(message: QueryIncentivizedPacketsResponse): unknown;
|
|
140
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketsResponse>): QueryIncentivizedPacketsResponse;
|
|
141
|
+
};
|
|
142
|
+
export declare const QueryIncentivizedPacketRequest: {
|
|
143
|
+
encode(message: QueryIncentivizedPacketRequest, writer?: _m0.Writer): _m0.Writer;
|
|
144
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketRequest;
|
|
145
|
+
fromJSON(object: any): QueryIncentivizedPacketRequest;
|
|
146
|
+
toJSON(message: QueryIncentivizedPacketRequest): unknown;
|
|
147
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketRequest>): QueryIncentivizedPacketRequest;
|
|
148
|
+
};
|
|
149
|
+
export declare const QueryIncentivizedPacketResponse: {
|
|
150
|
+
encode(message: QueryIncentivizedPacketResponse, writer?: _m0.Writer): _m0.Writer;
|
|
151
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketResponse;
|
|
152
|
+
fromJSON(object: any): QueryIncentivizedPacketResponse;
|
|
153
|
+
toJSON(message: QueryIncentivizedPacketResponse): unknown;
|
|
154
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketResponse>): QueryIncentivizedPacketResponse;
|
|
155
|
+
};
|
|
156
|
+
export declare const QueryIncentivizedPacketsForChannelRequest: {
|
|
157
|
+
encode(message: QueryIncentivizedPacketsForChannelRequest, writer?: _m0.Writer): _m0.Writer;
|
|
158
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketsForChannelRequest;
|
|
159
|
+
fromJSON(object: any): QueryIncentivizedPacketsForChannelRequest;
|
|
160
|
+
toJSON(message: QueryIncentivizedPacketsForChannelRequest): unknown;
|
|
161
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketsForChannelRequest>): QueryIncentivizedPacketsForChannelRequest;
|
|
162
|
+
};
|
|
163
|
+
export declare const QueryIncentivizedPacketsForChannelResponse: {
|
|
164
|
+
encode(message: QueryIncentivizedPacketsForChannelResponse, writer?: _m0.Writer): _m0.Writer;
|
|
165
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryIncentivizedPacketsForChannelResponse;
|
|
166
|
+
fromJSON(object: any): QueryIncentivizedPacketsForChannelResponse;
|
|
167
|
+
toJSON(message: QueryIncentivizedPacketsForChannelResponse): unknown;
|
|
168
|
+
fromPartial(object: DeepPartial<QueryIncentivizedPacketsForChannelResponse>): QueryIncentivizedPacketsForChannelResponse;
|
|
169
|
+
};
|
|
170
|
+
export declare const QueryTotalRecvFeesRequest: {
|
|
171
|
+
encode(message: QueryTotalRecvFeesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
172
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalRecvFeesRequest;
|
|
173
|
+
fromJSON(object: any): QueryTotalRecvFeesRequest;
|
|
174
|
+
toJSON(message: QueryTotalRecvFeesRequest): unknown;
|
|
175
|
+
fromPartial(object: DeepPartial<QueryTotalRecvFeesRequest>): QueryTotalRecvFeesRequest;
|
|
176
|
+
};
|
|
177
|
+
export declare const QueryTotalRecvFeesResponse: {
|
|
178
|
+
encode(message: QueryTotalRecvFeesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
179
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalRecvFeesResponse;
|
|
180
|
+
fromJSON(object: any): QueryTotalRecvFeesResponse;
|
|
181
|
+
toJSON(message: QueryTotalRecvFeesResponse): unknown;
|
|
182
|
+
fromPartial(object: DeepPartial<QueryTotalRecvFeesResponse>): QueryTotalRecvFeesResponse;
|
|
183
|
+
};
|
|
184
|
+
export declare const QueryTotalAckFeesRequest: {
|
|
185
|
+
encode(message: QueryTotalAckFeesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
186
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalAckFeesRequest;
|
|
187
|
+
fromJSON(object: any): QueryTotalAckFeesRequest;
|
|
188
|
+
toJSON(message: QueryTotalAckFeesRequest): unknown;
|
|
189
|
+
fromPartial(object: DeepPartial<QueryTotalAckFeesRequest>): QueryTotalAckFeesRequest;
|
|
190
|
+
};
|
|
191
|
+
export declare const QueryTotalAckFeesResponse: {
|
|
192
|
+
encode(message: QueryTotalAckFeesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalAckFeesResponse;
|
|
194
|
+
fromJSON(object: any): QueryTotalAckFeesResponse;
|
|
195
|
+
toJSON(message: QueryTotalAckFeesResponse): unknown;
|
|
196
|
+
fromPartial(object: DeepPartial<QueryTotalAckFeesResponse>): QueryTotalAckFeesResponse;
|
|
197
|
+
};
|
|
198
|
+
export declare const QueryTotalTimeoutFeesRequest: {
|
|
199
|
+
encode(message: QueryTotalTimeoutFeesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
200
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalTimeoutFeesRequest;
|
|
201
|
+
fromJSON(object: any): QueryTotalTimeoutFeesRequest;
|
|
202
|
+
toJSON(message: QueryTotalTimeoutFeesRequest): unknown;
|
|
203
|
+
fromPartial(object: DeepPartial<QueryTotalTimeoutFeesRequest>): QueryTotalTimeoutFeesRequest;
|
|
204
|
+
};
|
|
205
|
+
export declare const QueryTotalTimeoutFeesResponse: {
|
|
206
|
+
encode(message: QueryTotalTimeoutFeesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
207
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryTotalTimeoutFeesResponse;
|
|
208
|
+
fromJSON(object: any): QueryTotalTimeoutFeesResponse;
|
|
209
|
+
toJSON(message: QueryTotalTimeoutFeesResponse): unknown;
|
|
210
|
+
fromPartial(object: DeepPartial<QueryTotalTimeoutFeesResponse>): QueryTotalTimeoutFeesResponse;
|
|
211
|
+
};
|
|
212
|
+
export declare const QueryPayeeRequest: {
|
|
213
|
+
encode(message: QueryPayeeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
214
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryPayeeRequest;
|
|
215
|
+
fromJSON(object: any): QueryPayeeRequest;
|
|
216
|
+
toJSON(message: QueryPayeeRequest): unknown;
|
|
217
|
+
fromPartial(object: DeepPartial<QueryPayeeRequest>): QueryPayeeRequest;
|
|
218
|
+
};
|
|
219
|
+
export declare const QueryPayeeResponse: {
|
|
220
|
+
encode(message: QueryPayeeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
221
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryPayeeResponse;
|
|
222
|
+
fromJSON(object: any): QueryPayeeResponse;
|
|
223
|
+
toJSON(message: QueryPayeeResponse): unknown;
|
|
224
|
+
fromPartial(object: DeepPartial<QueryPayeeResponse>): QueryPayeeResponse;
|
|
225
|
+
};
|
|
226
|
+
export declare const QueryCounterpartyPayeeRequest: {
|
|
227
|
+
encode(message: QueryCounterpartyPayeeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
228
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryCounterpartyPayeeRequest;
|
|
229
|
+
fromJSON(object: any): QueryCounterpartyPayeeRequest;
|
|
230
|
+
toJSON(message: QueryCounterpartyPayeeRequest): unknown;
|
|
231
|
+
fromPartial(object: DeepPartial<QueryCounterpartyPayeeRequest>): QueryCounterpartyPayeeRequest;
|
|
232
|
+
};
|
|
233
|
+
export declare const QueryCounterpartyPayeeResponse: {
|
|
234
|
+
encode(message: QueryCounterpartyPayeeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
235
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryCounterpartyPayeeResponse;
|
|
236
|
+
fromJSON(object: any): QueryCounterpartyPayeeResponse;
|
|
237
|
+
toJSON(message: QueryCounterpartyPayeeResponse): unknown;
|
|
238
|
+
fromPartial(object: DeepPartial<QueryCounterpartyPayeeResponse>): QueryCounterpartyPayeeResponse;
|
|
239
|
+
};
|
|
240
|
+
export declare const QueryFeeEnabledChannelsRequest: {
|
|
241
|
+
encode(message: QueryFeeEnabledChannelsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
242
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryFeeEnabledChannelsRequest;
|
|
243
|
+
fromJSON(object: any): QueryFeeEnabledChannelsRequest;
|
|
244
|
+
toJSON(message: QueryFeeEnabledChannelsRequest): unknown;
|
|
245
|
+
fromPartial(object: DeepPartial<QueryFeeEnabledChannelsRequest>): QueryFeeEnabledChannelsRequest;
|
|
246
|
+
};
|
|
247
|
+
export declare const QueryFeeEnabledChannelsResponse: {
|
|
248
|
+
encode(message: QueryFeeEnabledChannelsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
249
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryFeeEnabledChannelsResponse;
|
|
250
|
+
fromJSON(object: any): QueryFeeEnabledChannelsResponse;
|
|
251
|
+
toJSON(message: QueryFeeEnabledChannelsResponse): unknown;
|
|
252
|
+
fromPartial(object: DeepPartial<QueryFeeEnabledChannelsResponse>): QueryFeeEnabledChannelsResponse;
|
|
253
|
+
};
|
|
254
|
+
export declare const QueryFeeEnabledChannelRequest: {
|
|
255
|
+
encode(message: QueryFeeEnabledChannelRequest, writer?: _m0.Writer): _m0.Writer;
|
|
256
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryFeeEnabledChannelRequest;
|
|
257
|
+
fromJSON(object: any): QueryFeeEnabledChannelRequest;
|
|
258
|
+
toJSON(message: QueryFeeEnabledChannelRequest): unknown;
|
|
259
|
+
fromPartial(object: DeepPartial<QueryFeeEnabledChannelRequest>): QueryFeeEnabledChannelRequest;
|
|
260
|
+
};
|
|
261
|
+
export declare const QueryFeeEnabledChannelResponse: {
|
|
262
|
+
encode(message: QueryFeeEnabledChannelResponse, writer?: _m0.Writer): _m0.Writer;
|
|
263
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryFeeEnabledChannelResponse;
|
|
264
|
+
fromJSON(object: any): QueryFeeEnabledChannelResponse;
|
|
265
|
+
toJSON(message: QueryFeeEnabledChannelResponse): unknown;
|
|
266
|
+
fromPartial(object: DeepPartial<QueryFeeEnabledChannelResponse>): QueryFeeEnabledChannelResponse;
|
|
267
|
+
};
|
|
268
|
+
/** Query defines the ICS29 gRPC querier service. */
|
|
269
|
+
export interface Query {
|
|
270
|
+
/** IncentivizedPackets returns all incentivized packets and their associated fees */
|
|
271
|
+
IncentivizedPackets(request: QueryIncentivizedPacketsRequest): Promise<QueryIncentivizedPacketsResponse>;
|
|
272
|
+
/** IncentivizedPacket returns all packet fees for a packet given its identifier */
|
|
273
|
+
IncentivizedPacket(request: QueryIncentivizedPacketRequest): Promise<QueryIncentivizedPacketResponse>;
|
|
274
|
+
/** Gets all incentivized packets for a specific channel */
|
|
275
|
+
IncentivizedPacketsForChannel(request: QueryIncentivizedPacketsForChannelRequest): Promise<QueryIncentivizedPacketsForChannelResponse>;
|
|
276
|
+
/** TotalRecvFees returns the total receive fees for a packet given its identifier */
|
|
277
|
+
TotalRecvFees(request: QueryTotalRecvFeesRequest): Promise<QueryTotalRecvFeesResponse>;
|
|
278
|
+
/** TotalAckFees returns the total acknowledgement fees for a packet given its identifier */
|
|
279
|
+
TotalAckFees(request: QueryTotalAckFeesRequest): Promise<QueryTotalAckFeesResponse>;
|
|
280
|
+
/** TotalTimeoutFees returns the total timeout fees for a packet given its identifier */
|
|
281
|
+
TotalTimeoutFees(request: QueryTotalTimeoutFeesRequest): Promise<QueryTotalTimeoutFeesResponse>;
|
|
282
|
+
/** Payee returns the registered payee address for a specific channel given the relayer address */
|
|
283
|
+
Payee(request: QueryPayeeRequest): Promise<QueryPayeeResponse>;
|
|
284
|
+
/** CounterpartyPayee returns the registered counterparty payee for forward relaying */
|
|
285
|
+
CounterpartyPayee(request: QueryCounterpartyPayeeRequest): Promise<QueryCounterpartyPayeeResponse>;
|
|
286
|
+
/** FeeEnabledChannels returns a list of all fee enabled channels */
|
|
287
|
+
FeeEnabledChannels(request: QueryFeeEnabledChannelsRequest): Promise<QueryFeeEnabledChannelsResponse>;
|
|
288
|
+
/** FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel */
|
|
289
|
+
FeeEnabledChannel(request: QueryFeeEnabledChannelRequest): Promise<QueryFeeEnabledChannelResponse>;
|
|
290
|
+
}
|
|
291
|
+
export declare class QueryClientImpl implements Query {
|
|
292
|
+
private readonly rpc;
|
|
293
|
+
constructor(rpc: Rpc);
|
|
294
|
+
IncentivizedPackets(request: QueryIncentivizedPacketsRequest): Promise<QueryIncentivizedPacketsResponse>;
|
|
295
|
+
IncentivizedPacket(request: QueryIncentivizedPacketRequest): Promise<QueryIncentivizedPacketResponse>;
|
|
296
|
+
IncentivizedPacketsForChannel(request: QueryIncentivizedPacketsForChannelRequest): Promise<QueryIncentivizedPacketsForChannelResponse>;
|
|
297
|
+
TotalRecvFees(request: QueryTotalRecvFeesRequest): Promise<QueryTotalRecvFeesResponse>;
|
|
298
|
+
TotalAckFees(request: QueryTotalAckFeesRequest): Promise<QueryTotalAckFeesResponse>;
|
|
299
|
+
TotalTimeoutFees(request: QueryTotalTimeoutFeesRequest): Promise<QueryTotalTimeoutFeesResponse>;
|
|
300
|
+
Payee(request: QueryPayeeRequest): Promise<QueryPayeeResponse>;
|
|
301
|
+
CounterpartyPayee(request: QueryCounterpartyPayeeRequest): Promise<QueryCounterpartyPayeeResponse>;
|
|
302
|
+
FeeEnabledChannels(request: QueryFeeEnabledChannelsRequest): Promise<QueryFeeEnabledChannelsResponse>;
|
|
303
|
+
FeeEnabledChannel(request: QueryFeeEnabledChannelRequest): Promise<QueryFeeEnabledChannelResponse>;
|
|
304
|
+
}
|
|
305
|
+
interface Rpc {
|
|
306
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
307
|
+
}
|
|
308
|
+
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
309
|
+
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
310
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
311
|
+
} : Partial<T>;
|
|
312
|
+
export {};
|