carbon-js-sdk 0.2.13 → 0.2.14-dev.2
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/clients/NEOClient.js +1 -1
- package/lib/clients/TokenClient.d.ts +5 -0
- package/lib/clients/TokenClient.js +29 -7
- package/lib/codec/book/genesis.d.ts +1 -1
- package/lib/codec/book/genesis.js +1 -1
- package/lib/codec/book/query.d.ts +1 -1
- package/lib/codec/book/query.js +1 -1
- package/lib/codec/broker/genesis.d.ts +1 -1
- package/lib/codec/broker/genesis.js +1 -1
- package/lib/codec/broker/query.d.ts +3 -3
- package/lib/codec/broker/query.js +3 -3
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +1 -1
- package/lib/codec/btcx/denom_cross_chain_info.js +1 -1
- package/lib/codec/btcx/query.d.ts +1 -1
- package/lib/codec/btcx/query.js +1 -1
- package/lib/codec/ccm/genesis.d.ts +1 -1
- package/lib/codec/ccm/genesis.js +1 -1
- package/lib/codec/cdp/asset_params.d.ts +1 -12
- package/lib/codec/cdp/asset_params.js +14 -81
- package/lib/codec/cdp/debt_info.d.ts +1 -1
- package/lib/codec/cdp/debt_info.js +11 -13
- package/lib/codec/cdp/event.d.ts +345 -22
- package/lib/codec/cdp/event.js +2247 -81
- package/lib/codec/cdp/genesis.d.ts +80 -4
- package/lib/codec/cdp/genesis.js +531 -22
- package/lib/codec/cdp/params.d.ts +35 -0
- package/lib/codec/cdp/params.js +47 -1
- package/lib/codec/cdp/query.d.ts +437 -89
- package/lib/codec/cdp/query.js +1966 -177
- package/lib/codec/cdp/reward_scheme.d.ts +85 -0
- package/lib/codec/cdp/reward_scheme.js +656 -0
- package/lib/codec/cdp/stablecoin_debt_info.d.ts +1 -1
- package/lib/codec/cdp/stablecoin_debt_info.js +11 -13
- package/lib/codec/cdp/tx.d.ts +696 -96
- package/lib/codec/cdp/tx.js +3392 -243
- package/lib/codec/coin/event.d.ts +1 -1
- package/lib/codec/coin/event.js +1 -1
- package/lib/codec/coin/genesis.d.ts +2 -2
- package/lib/codec/coin/genesis.js +2 -2
- package/lib/codec/coin/proposal.d.ts +1 -1
- package/lib/codec/coin/proposal.js +1 -1
- package/lib/codec/coin/query.d.ts +2 -5
- package/lib/codec/coin/query.js +2 -8
- package/lib/codec/coin/token.d.ts +11 -0
- package/lib/codec/coin/token.js +65 -1
- package/lib/codec/coin/tx.d.ts +1 -1
- package/lib/codec/coin/tx.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +19 -0
- package/lib/codec/cosmos/authz/v1beta1/authz.js +89 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +1 -15
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +7 -120
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +70 -2
- package/lib/codec/cosmos/authz/v1beta1/query.js +275 -3
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/authz/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +43 -3
- package/lib/codec/cosmos/bank/v1beta1/query.js +140 -4
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +64 -0
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +343 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/query.js +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +35 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +139 -3
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/slashing/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +14 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +53 -5
- package/lib/codec/cosmos/tx/v1beta1/service.js +179 -4
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.js +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/upgrade/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +2 -2
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js +2 -2
- package/lib/codec/fee/genesis.d.ts +1 -1
- package/lib/codec/fee/genesis.js +1 -1
- package/lib/codec/fee/proposal.d.ts +1 -1
- package/lib/codec/fee/proposal.js +1 -1
- package/lib/codec/fee/query.d.ts +1 -1
- package/lib/codec/fee/query.js +1 -1
- package/lib/codec/fee/tx.d.ts +1 -1
- package/lib/codec/fee/tx.js +1 -1
- package/lib/codec/headersync/genesis.d.ts +1 -1
- package/lib/codec/headersync/genesis.js +1 -1
- package/lib/codec/headersync/query.d.ts +1 -1
- package/lib/codec/headersync/query.js +1 -1
- package/lib/codec/index.d.ts +73 -23
- package/lib/codec/index.js +597 -384
- package/lib/codec/inflation/genesis.d.ts +1 -1
- package/lib/codec/inflation/genesis.js +1 -1
- package/lib/codec/inflation/query.d.ts +1 -1
- package/lib/codec/inflation/query.js +1 -1
- package/lib/codec/insurance/genesis.d.ts +1 -1
- package/lib/codec/insurance/genesis.js +1 -1
- package/lib/codec/leverage/genesis.d.ts +1 -1
- package/lib/codec/leverage/genesis.js +1 -1
- package/lib/codec/leverage/query.d.ts +1 -1
- package/lib/codec/leverage/query.js +1 -1
- package/lib/codec/liquidation/genesis.d.ts +1 -1
- package/lib/codec/liquidation/genesis.js +1 -1
- package/lib/codec/liquidation/query.d.ts +1 -1
- package/lib/codec/liquidation/query.js +1 -1
- package/lib/codec/liquidation/quote_changes.d.ts +1 -1
- package/lib/codec/liquidation/quote_changes.js +1 -1
- package/lib/codec/liquiditypool/event.d.ts +2 -2
- package/lib/codec/liquiditypool/event.js +2 -2
- package/lib/codec/liquiditypool/genesis.d.ts +2 -2
- package/lib/codec/liquiditypool/genesis.js +2 -2
- package/lib/codec/liquiditypool/proposal.d.ts +1 -1
- package/lib/codec/liquiditypool/proposal.js +1 -1
- package/lib/codec/liquiditypool/query.d.ts +2 -2
- package/lib/codec/liquiditypool/query.js +2 -2
- package/lib/codec/liquiditypool/tx.d.ts +1 -1
- package/lib/codec/liquiditypool/tx.js +1 -1
- package/lib/codec/lockproxy/genesis.d.ts +1 -1
- package/lib/codec/lockproxy/genesis.js +1 -1
- package/lib/codec/lockproxy/query.d.ts +1 -1
- package/lib/codec/lockproxy/query.js +1 -1
- package/lib/codec/market/event.d.ts +1 -1
- package/lib/codec/market/event.js +1 -1
- package/lib/codec/market/genesis.d.ts +2 -1
- package/lib/codec/market/genesis.js +20 -2
- package/lib/codec/market/proposal.d.ts +1 -1
- package/lib/codec/market/proposal.js +1 -1
- package/lib/codec/market/query.d.ts +1 -1
- package/lib/codec/market/query.js +1 -1
- package/lib/codec/market/tx.d.ts +1 -1
- package/lib/codec/market/tx.js +1 -1
- package/lib/codec/marketstats/genesis.d.ts +1 -1
- package/lib/codec/marketstats/genesis.js +1 -1
- package/lib/codec/marketstats/query.d.ts +2 -2
- package/lib/codec/marketstats/query.js +2 -2
- package/lib/codec/misc/message.d.ts +1 -1
- package/lib/codec/misc/message.js +1 -1
- package/lib/codec/misc/query.d.ts +3 -3
- package/lib/codec/misc/query.js +3 -3
- package/lib/codec/misc/trade.d.ts +1 -0
- package/lib/codec/misc/trade.js +17 -0
- package/lib/codec/misc/transaction.d.ts +1 -1
- package/lib/codec/misc/transaction.js +1 -1
- package/lib/codec/oracle/event.d.ts +1 -1
- package/lib/codec/oracle/event.js +1 -1
- package/lib/codec/oracle/genesis.d.ts +1 -1
- package/lib/codec/oracle/genesis.js +1 -1
- package/lib/codec/oracle/proposal.d.ts +1 -1
- package/lib/codec/oracle/proposal.js +1 -1
- package/lib/codec/oracle/query.d.ts +2 -2
- package/lib/codec/oracle/query.js +2 -2
- package/lib/codec/order/event.d.ts +1 -1
- package/lib/codec/order/event.js +1 -1
- package/lib/codec/order/genesis.d.ts +1 -1
- package/lib/codec/order/genesis.js +1 -1
- package/lib/codec/order/query.d.ts +1 -1
- package/lib/codec/order/query.js +1 -1
- package/lib/codec/position/event.d.ts +1 -1
- package/lib/codec/position/event.js +1 -1
- package/lib/codec/position/genesis.d.ts +1 -1
- package/lib/codec/position/genesis.js +1 -1
- package/lib/codec/position/query.d.ts +1 -1
- package/lib/codec/position/query.js +1 -1
- package/lib/codec/pricing/event.d.ts +11 -1
- package/lib/codec/pricing/event.js +52 -2
- package/lib/codec/pricing/genesis.d.ts +2 -1
- package/lib/codec/pricing/genesis.js +20 -5
- package/lib/codec/pricing/pricing.d.ts +13 -0
- package/lib/codec/pricing/pricing.js +83 -1
- package/lib/codec/pricing/query.d.ts +68 -1
- package/lib/codec/pricing/query.js +321 -2
- package/lib/codec/profile/event.d.ts +1 -1
- package/lib/codec/profile/event.js +1 -1
- package/lib/codec/profile/genesis.d.ts +1 -1
- package/lib/codec/profile/genesis.js +1 -1
- package/lib/codec/profile/query.d.ts +1 -1
- package/lib/codec/profile/query.js +1 -1
- package/lib/codec/subaccount/genesis.d.ts +1 -1
- package/lib/codec/subaccount/genesis.js +1 -1
- package/lib/codec/subaccount/query.d.ts +1 -1
- package/lib/codec/subaccount/query.js +1 -1
- package/lib/codec/tendermint/abci/types.d.ts +4 -4
- package/lib/codec/tendermint/abci/types.js +4 -4
- package/lib/codec/tendermint/types/block.d.ts +2 -2
- package/lib/codec/tendermint/types/block.js +2 -2
- package/lib/codec/tendermint/types/evidence.d.ts +2 -2
- package/lib/codec/tendermint/types/evidence.js +2 -2
- package/lib/codec/tendermint/types/types.d.ts +3 -3
- package/lib/codec/tendermint/types/types.js +3 -3
- package/lib/codec/tendermint/types/validator.d.ts +1 -1
- package/lib/codec/tendermint/types/validator.js +1 -1
- package/lib/modules/admin.d.ts +53 -1
- package/lib/modules/admin.js +175 -43
- package/lib/modules/cdp.d.ts +105 -13
- package/lib/modules/cdp.js +628 -20
- package/lib/provider/amino/types/admin.js +48 -7
- package/lib/provider/amino/types/cdp.js +72 -32
- package/lib/util/number.d.ts +1 -0
- package/lib/util/number.js +2 -1
- package/lib/util/tx.d.ts +60 -14
- package/lib/wallet/CarbonSigningClient.js +27 -2
- package/lib/wallet/CarbonWallet.js +0 -1
- package/lib/websocket/channel.js +60 -0
- package/lib/websocket/models.d.ts +180 -21
- package/lib/websocket/types.d.ts +69 -3
- package/lib/websocket/types.js +27 -0
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { PageRequest, PageResponse } from "
|
|
4
|
-
import { TxResponse, GasInfo, Result } from "
|
|
5
|
-
import { Tx } from "
|
|
3
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
4
|
+
import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci";
|
|
5
|
+
import { Tx } from "../../tx/v1beta1/tx";
|
|
6
|
+
import { BlockID } from "../../../tendermint/types/types";
|
|
7
|
+
import { Block } from "../../../tendermint/types/block";
|
|
6
8
|
export declare const protobufPackage = "cosmos.tx.v1beta1";
|
|
7
9
|
/** OrderBy defines the sorting order */
|
|
8
10
|
export declare enum OrderBy {
|
|
@@ -46,7 +48,7 @@ export declare function broadcastModeToJSON(object: BroadcastMode): string;
|
|
|
46
48
|
export interface GetTxsEventRequest {
|
|
47
49
|
/** events is the list of transaction event type. */
|
|
48
50
|
events: string[];
|
|
49
|
-
/** pagination defines
|
|
51
|
+
/** pagination defines a pagination for the request. */
|
|
50
52
|
pagination?: PageRequest;
|
|
51
53
|
orderBy: OrderBy;
|
|
52
54
|
}
|
|
@@ -59,7 +61,7 @@ export interface GetTxsEventResponse {
|
|
|
59
61
|
txs: Tx[];
|
|
60
62
|
/** tx_responses is the list of queried TxResponses. */
|
|
61
63
|
txResponses: TxResponse[];
|
|
62
|
-
/** pagination defines
|
|
64
|
+
/** pagination defines a pagination for the response. */
|
|
63
65
|
pagination?: PageResponse;
|
|
64
66
|
}
|
|
65
67
|
/**
|
|
@@ -123,6 +125,31 @@ export interface GetTxResponse {
|
|
|
123
125
|
/** tx_response is the queried TxResponses. */
|
|
124
126
|
txResponse?: TxResponse;
|
|
125
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs
|
|
130
|
+
* RPC method.
|
|
131
|
+
*
|
|
132
|
+
* Since: cosmos-sdk 0.45.2
|
|
133
|
+
*/
|
|
134
|
+
export interface GetBlockWithTxsRequest {
|
|
135
|
+
/** height is the height of the block to query. */
|
|
136
|
+
height: Long;
|
|
137
|
+
/** pagination defines a pagination for the request. */
|
|
138
|
+
pagination?: PageRequest;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.
|
|
142
|
+
*
|
|
143
|
+
* Since: cosmos-sdk 0.45.2
|
|
144
|
+
*/
|
|
145
|
+
export interface GetBlockWithTxsResponse {
|
|
146
|
+
/** txs are the transactions in the block. */
|
|
147
|
+
txs: Tx[];
|
|
148
|
+
blockId?: BlockID;
|
|
149
|
+
block?: Block;
|
|
150
|
+
/** pagination defines a pagination for the response. */
|
|
151
|
+
pagination?: PageResponse;
|
|
152
|
+
}
|
|
126
153
|
export declare const GetTxsEventRequest: {
|
|
127
154
|
encode(message: GetTxsEventRequest, writer?: _m0.Writer): _m0.Writer;
|
|
128
155
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetTxsEventRequest;
|
|
@@ -179,6 +206,20 @@ export declare const GetTxResponse: {
|
|
|
179
206
|
toJSON(message: GetTxResponse): unknown;
|
|
180
207
|
fromPartial(object: DeepPartial<GetTxResponse>): GetTxResponse;
|
|
181
208
|
};
|
|
209
|
+
export declare const GetBlockWithTxsRequest: {
|
|
210
|
+
encode(message: GetBlockWithTxsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
211
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetBlockWithTxsRequest;
|
|
212
|
+
fromJSON(object: any): GetBlockWithTxsRequest;
|
|
213
|
+
toJSON(message: GetBlockWithTxsRequest): unknown;
|
|
214
|
+
fromPartial(object: DeepPartial<GetBlockWithTxsRequest>): GetBlockWithTxsRequest;
|
|
215
|
+
};
|
|
216
|
+
export declare const GetBlockWithTxsResponse: {
|
|
217
|
+
encode(message: GetBlockWithTxsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetBlockWithTxsResponse;
|
|
219
|
+
fromJSON(object: any): GetBlockWithTxsResponse;
|
|
220
|
+
toJSON(message: GetBlockWithTxsResponse): unknown;
|
|
221
|
+
fromPartial(object: DeepPartial<GetBlockWithTxsResponse>): GetBlockWithTxsResponse;
|
|
222
|
+
};
|
|
182
223
|
/** Service defines a gRPC service for interacting with transactions. */
|
|
183
224
|
export interface Service {
|
|
184
225
|
/** Simulate simulates executing a transaction for estimating gas usage. */
|
|
@@ -189,6 +230,12 @@ export interface Service {
|
|
|
189
230
|
BroadcastTx(request: BroadcastTxRequest): Promise<BroadcastTxResponse>;
|
|
190
231
|
/** GetTxsEvent fetches txs by event. */
|
|
191
232
|
GetTxsEvent(request: GetTxsEventRequest): Promise<GetTxsEventResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* GetBlockWithTxs fetches a block with decoded txs.
|
|
235
|
+
*
|
|
236
|
+
* Since: cosmos-sdk 0.45.2
|
|
237
|
+
*/
|
|
238
|
+
GetBlockWithTxs(request: GetBlockWithTxsRequest): Promise<GetBlockWithTxsResponse>;
|
|
192
239
|
}
|
|
193
240
|
export declare class ServiceClientImpl implements Service {
|
|
194
241
|
private readonly rpc;
|
|
@@ -197,6 +244,7 @@ export declare class ServiceClientImpl implements Service {
|
|
|
197
244
|
GetTx(request: GetTxRequest): Promise<GetTxResponse>;
|
|
198
245
|
BroadcastTx(request: BroadcastTxRequest): Promise<BroadcastTxResponse>;
|
|
199
246
|
GetTxsEvent(request: GetTxsEventRequest): Promise<GetTxsEventResponse>;
|
|
247
|
+
GetBlockWithTxs(request: GetBlockWithTxsRequest): Promise<GetBlockWithTxsResponse>;
|
|
200
248
|
}
|
|
201
249
|
interface Rpc {
|
|
202
250
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,13 +3,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ServiceClientImpl = exports.GetTxResponse = exports.GetTxRequest = exports.SimulateResponse = exports.SimulateRequest = exports.BroadcastTxResponse = exports.BroadcastTxRequest = exports.GetTxsEventResponse = exports.GetTxsEventRequest = exports.broadcastModeToJSON = exports.broadcastModeFromJSON = exports.BroadcastMode = exports.orderByToJSON = exports.orderByFromJSON = exports.OrderBy = exports.protobufPackage = void 0;
|
|
6
|
+
exports.ServiceClientImpl = exports.GetBlockWithTxsResponse = exports.GetBlockWithTxsRequest = exports.GetTxResponse = exports.GetTxRequest = exports.SimulateResponse = exports.SimulateRequest = exports.BroadcastTxResponse = exports.BroadcastTxRequest = exports.GetTxsEventResponse = exports.GetTxsEventRequest = exports.broadcastModeToJSON = exports.broadcastModeFromJSON = exports.BroadcastMode = exports.orderByToJSON = exports.orderByFromJSON = exports.OrderBy = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const pagination_1 = require("
|
|
11
|
-
const abci_1 = require("
|
|
12
|
-
const tx_1 = require("
|
|
10
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
11
|
+
const abci_1 = require("../../base/abci/v1beta1/abci");
|
|
12
|
+
const tx_1 = require("../../tx/v1beta1/tx");
|
|
13
|
+
const types_1 = require("../../../tendermint/types/types");
|
|
14
|
+
const block_1 = require("../../../tendermint/types/block");
|
|
13
15
|
exports.protobufPackage = "cosmos.tx.v1beta1";
|
|
14
16
|
/** OrderBy defines the sorting order */
|
|
15
17
|
var OrderBy;
|
|
@@ -623,6 +625,173 @@ exports.GetTxResponse = {
|
|
|
623
625
|
return message;
|
|
624
626
|
},
|
|
625
627
|
};
|
|
628
|
+
const baseGetBlockWithTxsRequest = { height: long_1.default.ZERO };
|
|
629
|
+
exports.GetBlockWithTxsRequest = {
|
|
630
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
631
|
+
if (!message.height.isZero()) {
|
|
632
|
+
writer.uint32(8).int64(message.height);
|
|
633
|
+
}
|
|
634
|
+
if (message.pagination !== undefined) {
|
|
635
|
+
pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
636
|
+
}
|
|
637
|
+
return writer;
|
|
638
|
+
},
|
|
639
|
+
decode(input, length) {
|
|
640
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
641
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
642
|
+
const message = Object.assign({}, baseGetBlockWithTxsRequest);
|
|
643
|
+
while (reader.pos < end) {
|
|
644
|
+
const tag = reader.uint32();
|
|
645
|
+
switch (tag >>> 3) {
|
|
646
|
+
case 1:
|
|
647
|
+
message.height = reader.int64();
|
|
648
|
+
break;
|
|
649
|
+
case 2:
|
|
650
|
+
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
651
|
+
break;
|
|
652
|
+
default:
|
|
653
|
+
reader.skipType(tag & 7);
|
|
654
|
+
break;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
return message;
|
|
658
|
+
},
|
|
659
|
+
fromJSON(object) {
|
|
660
|
+
const message = Object.assign({}, baseGetBlockWithTxsRequest);
|
|
661
|
+
message.height =
|
|
662
|
+
object.height !== undefined && object.height !== null
|
|
663
|
+
? long_1.default.fromString(object.height)
|
|
664
|
+
: long_1.default.ZERO;
|
|
665
|
+
message.pagination =
|
|
666
|
+
object.pagination !== undefined && object.pagination !== null
|
|
667
|
+
? pagination_1.PageRequest.fromJSON(object.pagination)
|
|
668
|
+
: undefined;
|
|
669
|
+
return message;
|
|
670
|
+
},
|
|
671
|
+
toJSON(message) {
|
|
672
|
+
const obj = {};
|
|
673
|
+
message.height !== undefined &&
|
|
674
|
+
(obj.height = (message.height || long_1.default.ZERO).toString());
|
|
675
|
+
message.pagination !== undefined &&
|
|
676
|
+
(obj.pagination = message.pagination
|
|
677
|
+
? pagination_1.PageRequest.toJSON(message.pagination)
|
|
678
|
+
: undefined);
|
|
679
|
+
return obj;
|
|
680
|
+
},
|
|
681
|
+
fromPartial(object) {
|
|
682
|
+
const message = Object.assign({}, baseGetBlockWithTxsRequest);
|
|
683
|
+
message.height =
|
|
684
|
+
object.height !== undefined && object.height !== null
|
|
685
|
+
? long_1.default.fromValue(object.height)
|
|
686
|
+
: long_1.default.ZERO;
|
|
687
|
+
message.pagination =
|
|
688
|
+
object.pagination !== undefined && object.pagination !== null
|
|
689
|
+
? pagination_1.PageRequest.fromPartial(object.pagination)
|
|
690
|
+
: undefined;
|
|
691
|
+
return message;
|
|
692
|
+
},
|
|
693
|
+
};
|
|
694
|
+
const baseGetBlockWithTxsResponse = {};
|
|
695
|
+
exports.GetBlockWithTxsResponse = {
|
|
696
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
697
|
+
for (const v of message.txs) {
|
|
698
|
+
tx_1.Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
699
|
+
}
|
|
700
|
+
if (message.blockId !== undefined) {
|
|
701
|
+
types_1.BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim();
|
|
702
|
+
}
|
|
703
|
+
if (message.block !== undefined) {
|
|
704
|
+
block_1.Block.encode(message.block, writer.uint32(26).fork()).ldelim();
|
|
705
|
+
}
|
|
706
|
+
if (message.pagination !== undefined) {
|
|
707
|
+
pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
708
|
+
}
|
|
709
|
+
return writer;
|
|
710
|
+
},
|
|
711
|
+
decode(input, length) {
|
|
712
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
713
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
714
|
+
const message = Object.assign({}, baseGetBlockWithTxsResponse);
|
|
715
|
+
message.txs = [];
|
|
716
|
+
while (reader.pos < end) {
|
|
717
|
+
const tag = reader.uint32();
|
|
718
|
+
switch (tag >>> 3) {
|
|
719
|
+
case 1:
|
|
720
|
+
message.txs.push(tx_1.Tx.decode(reader, reader.uint32()));
|
|
721
|
+
break;
|
|
722
|
+
case 2:
|
|
723
|
+
message.blockId = types_1.BlockID.decode(reader, reader.uint32());
|
|
724
|
+
break;
|
|
725
|
+
case 3:
|
|
726
|
+
message.block = block_1.Block.decode(reader, reader.uint32());
|
|
727
|
+
break;
|
|
728
|
+
case 4:
|
|
729
|
+
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
730
|
+
break;
|
|
731
|
+
default:
|
|
732
|
+
reader.skipType(tag & 7);
|
|
733
|
+
break;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
return message;
|
|
737
|
+
},
|
|
738
|
+
fromJSON(object) {
|
|
739
|
+
var _a;
|
|
740
|
+
const message = Object.assign({}, baseGetBlockWithTxsResponse);
|
|
741
|
+
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => tx_1.Tx.fromJSON(e));
|
|
742
|
+
message.blockId =
|
|
743
|
+
object.blockId !== undefined && object.blockId !== null
|
|
744
|
+
? types_1.BlockID.fromJSON(object.blockId)
|
|
745
|
+
: undefined;
|
|
746
|
+
message.block =
|
|
747
|
+
object.block !== undefined && object.block !== null
|
|
748
|
+
? block_1.Block.fromJSON(object.block)
|
|
749
|
+
: undefined;
|
|
750
|
+
message.pagination =
|
|
751
|
+
object.pagination !== undefined && object.pagination !== null
|
|
752
|
+
? pagination_1.PageResponse.fromJSON(object.pagination)
|
|
753
|
+
: undefined;
|
|
754
|
+
return message;
|
|
755
|
+
},
|
|
756
|
+
toJSON(message) {
|
|
757
|
+
const obj = {};
|
|
758
|
+
if (message.txs) {
|
|
759
|
+
obj.txs = message.txs.map((e) => (e ? tx_1.Tx.toJSON(e) : undefined));
|
|
760
|
+
}
|
|
761
|
+
else {
|
|
762
|
+
obj.txs = [];
|
|
763
|
+
}
|
|
764
|
+
message.blockId !== undefined &&
|
|
765
|
+
(obj.blockId = message.blockId
|
|
766
|
+
? types_1.BlockID.toJSON(message.blockId)
|
|
767
|
+
: undefined);
|
|
768
|
+
message.block !== undefined &&
|
|
769
|
+
(obj.block = message.block ? block_1.Block.toJSON(message.block) : undefined);
|
|
770
|
+
message.pagination !== undefined &&
|
|
771
|
+
(obj.pagination = message.pagination
|
|
772
|
+
? pagination_1.PageResponse.toJSON(message.pagination)
|
|
773
|
+
: undefined);
|
|
774
|
+
return obj;
|
|
775
|
+
},
|
|
776
|
+
fromPartial(object) {
|
|
777
|
+
var _a;
|
|
778
|
+
const message = Object.assign({}, baseGetBlockWithTxsResponse);
|
|
779
|
+
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => tx_1.Tx.fromPartial(e));
|
|
780
|
+
message.blockId =
|
|
781
|
+
object.blockId !== undefined && object.blockId !== null
|
|
782
|
+
? types_1.BlockID.fromPartial(object.blockId)
|
|
783
|
+
: undefined;
|
|
784
|
+
message.block =
|
|
785
|
+
object.block !== undefined && object.block !== null
|
|
786
|
+
? block_1.Block.fromPartial(object.block)
|
|
787
|
+
: undefined;
|
|
788
|
+
message.pagination =
|
|
789
|
+
object.pagination !== undefined && object.pagination !== null
|
|
790
|
+
? pagination_1.PageResponse.fromPartial(object.pagination)
|
|
791
|
+
: undefined;
|
|
792
|
+
return message;
|
|
793
|
+
},
|
|
794
|
+
};
|
|
626
795
|
class ServiceClientImpl {
|
|
627
796
|
constructor(rpc) {
|
|
628
797
|
this.rpc = rpc;
|
|
@@ -630,6 +799,7 @@ class ServiceClientImpl {
|
|
|
630
799
|
this.GetTx = this.GetTx.bind(this);
|
|
631
800
|
this.BroadcastTx = this.BroadcastTx.bind(this);
|
|
632
801
|
this.GetTxsEvent = this.GetTxsEvent.bind(this);
|
|
802
|
+
this.GetBlockWithTxs = this.GetBlockWithTxs.bind(this);
|
|
633
803
|
}
|
|
634
804
|
Simulate(request) {
|
|
635
805
|
const data = exports.SimulateRequest.encode(request).finish();
|
|
@@ -651,6 +821,11 @@ class ServiceClientImpl {
|
|
|
651
821
|
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data);
|
|
652
822
|
return promise.then((data) => exports.GetTxsEventResponse.decode(new minimal_1.default.Reader(data)));
|
|
653
823
|
}
|
|
824
|
+
GetBlockWithTxs(request) {
|
|
825
|
+
const data = exports.GetBlockWithTxsRequest.encode(request).finish();
|
|
826
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data);
|
|
827
|
+
return promise.then((data) => exports.GetBlockWithTxsResponse.decode(new minimal_1.default.Reader(data)));
|
|
828
|
+
}
|
|
654
829
|
}
|
|
655
830
|
exports.ServiceClientImpl = ServiceClientImpl;
|
|
656
831
|
var globalThis = (() => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { SignMode } from "
|
|
5
|
-
import { CompactBitArray } from "
|
|
6
|
-
import { Coin } from "
|
|
4
|
+
import { SignMode } from "../signing/v1beta1/signing";
|
|
5
|
+
import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig";
|
|
6
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
7
7
|
export declare const protobufPackage = "cosmos.tx.v1beta1";
|
|
8
8
|
/** Tx is the standard type used for broadcasting transactions. */
|
|
9
9
|
export interface Tx {
|
|
@@ -8,9 +8,9 @@ exports.Fee = exports.ModeInfo_Multi = exports.ModeInfo_Single = exports.ModeInf
|
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
11
|
-
const signing_1 = require("
|
|
12
|
-
const multisig_1 = require("
|
|
13
|
-
const coin_1 = require("
|
|
11
|
+
const signing_1 = require("../signing/v1beta1/signing");
|
|
12
|
+
const multisig_1 = require("../../crypto/multisig/v1beta1/multisig");
|
|
13
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
14
14
|
exports.protobufPackage = "cosmos.tx.v1beta1";
|
|
15
15
|
const baseTx = {};
|
|
16
16
|
exports.Tx = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Plan, ModuleVersion } from "
|
|
3
|
+
import { Plan, ModuleVersion } from "./upgrade";
|
|
4
4
|
export declare const protobufPackage = "cosmos.upgrade.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryModuleVersionsResponse = exports.QueryMod
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const upgrade_1 = require("
|
|
10
|
+
const upgrade_1 = require("./upgrade");
|
|
11
11
|
exports.protobufPackage = "cosmos.upgrade.v1beta1";
|
|
12
12
|
const baseQueryCurrentPlanRequest = {};
|
|
13
13
|
exports.QueryCurrentPlanRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "
|
|
3
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
4
4
|
export declare const protobufPackage = "cosmos.vesting.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* MsgCreateVestingAccount defines a message that enables creating a vesting
|
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgCreateVestingAccountResponse = exports.MsgCre
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const coin_1 = require("
|
|
10
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.vesting.v1beta1";
|
|
12
12
|
const baseMsgCreateVestingAccount = {
|
|
13
13
|
fromAddress: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { BaseAccount } from "
|
|
4
|
-
import { Coin } from "
|
|
3
|
+
import { BaseAccount } from "../../auth/v1beta1/auth";
|
|
4
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
5
5
|
export declare const protobufPackage = "cosmos.vesting.v1beta1";
|
|
6
6
|
/**
|
|
7
7
|
* BaseVestingAccount implements the VestingAccount interface. It contains all
|
|
@@ -7,8 +7,8 @@ exports.PermanentLockedAccount = exports.PeriodicVestingAccount = exports.Period
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const auth_1 = require("
|
|
11
|
-
const coin_1 = require("
|
|
10
|
+
const auth_1 = require("../../auth/v1beta1/auth");
|
|
11
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
12
12
|
exports.protobufPackage = "cosmos.vesting.v1beta1";
|
|
13
13
|
const baseBaseVestingAccount = { endTime: long_1.default.ZERO };
|
|
14
14
|
exports.BaseVestingAccount = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "./fee";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
/** GenesisState defines the fee module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
package/lib/codec/fee/genesis.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("./fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "./fee";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
export interface SetMsgGasCostProposal {
|
|
6
6
|
title: string;
|
|
@@ -7,7 +7,7 @@ exports.RemoveMinGasPriceProposal = exports.RemoveMsgGasCostProposal = exports.S
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("./fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseSetMsgGasCostProposal = { title: "", description: "" };
|
|
13
13
|
exports.SetMsgGasCostProposal = {
|
package/lib/codec/fee/query.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "./fee";
|
|
4
4
|
import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
6
6
|
/** this line is used by starport scaffolding # 3 */
|
package/lib/codec/fee/query.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryAllMinGasPriceResponse = exports.QueryAll
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("./fee");
|
|
11
11
|
const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
13
13
|
const baseQueryGetMsgGasCostRequest = { msgType: "" };
|
package/lib/codec/fee/tx.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "./fee";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
export interface MsgSetGasCost {
|
|
6
6
|
creator: string;
|
package/lib/codec/fee/tx.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgRemoveMinGasPriceResponse = exports.MsgRemove
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("./fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseMsgSetGasCost = { creator: "" };
|
|
13
13
|
exports.MsgSetGasCost = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "./consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
/** GenesisState defines the headersync module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -7,7 +7,7 @@ exports.GenesisState_ZionCheckpointHashesEntry = exports.GenesisState_ZionConsen
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("./consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "./consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
export interface QueryGetConsensusPeersRequest {
|
|
6
6
|
chainId: Long;
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryGetZionConsensusPeersResponse = exports.Q
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("./consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
12
12
|
const baseQueryGetConsensusPeersRequest = { chainId: long_1.default.UZERO };
|
|
13
13
|
exports.QueryGetConsensusPeersRequest = {
|