carbon-js-sdk 0.7.12 → 0.7.13
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/CarbonQueryClient.d.ts +1 -1
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/codec/Switcheo/carbon/book/event.d.ts +1 -20
- package/lib/codec/Switcheo/carbon/book/event.js +19 -101
- package/lib/codec/Switcheo/carbon/book/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/book/export.js +1 -3
- package/lib/codec/Switcheo/carbon/book/query.d.ts +6 -12
- package/lib/codec/Switcheo/carbon/book/query.js +6 -18
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +0 -8
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/ccm/export.js +1 -3
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/ccm/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/cdp/export.js +1 -3
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/cdp/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +4 -10
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +4 -54
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +0 -98
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +1 -374
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +0 -103
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +1 -425
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/liquidation/export.js +5 -1
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +25 -0
- package/lib/codec/Switcheo/carbon/liquidation/query.js +88 -1
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +3 -6
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +0 -20
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1 -191
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/market/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/market/export.js +2 -6
- package/lib/codec/Switcheo/carbon/market/query.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/market/query.js +1 -226
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +2 -46
- package/lib/codec/Switcheo/carbon/market/tx.js +1 -100
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/marketstats/export.js +5 -1
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +7 -4
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +21 -4
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +26 -0
- package/lib/codec/Switcheo/carbon/marketstats/query.js +88 -1
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/oracle/export.js +1 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/oracle/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/order/export.d.ts +3 -4
- package/lib/codec/Switcheo/carbon/order/export.js +4 -11
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/order/genesis.js +16 -16
- package/lib/codec/Switcheo/carbon/order/order.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/order.js +11 -11
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/order/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.js +1 -3
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/position/export.d.ts +0 -1
- package/lib/codec/Switcheo/carbon/position/export.js +1 -4
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/pricing/export.js +1 -3
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/pricing/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.js +1 -3
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +1 -101
- package/lib/codec/carbon-models.d.ts +1 -2
- package/lib/codec/carbon-models.js +2 -3
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +0 -26
- package/lib/codec/cosmos/app/v1alpha1/config.js +4 -94
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +0 -21
- package/lib/codec/cosmos/auth/v1beta1/auth.js +1 -92
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +2 -3
- package/lib/codec/cosmos/auth/v1beta1/export.js +1 -7
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -54
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -120
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +0 -7
- package/lib/codec/cosmos/bank/v1beta1/authz.js +3 -18
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +0 -9
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +3 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -17
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +5 -125
- package/lib/codec/cosmos/bank/v1beta1/query.js +1 -257
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +1 -102
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -215
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -8
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +1 -2
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +1 -39
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +46 -16
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +1 -46
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +1 -103
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -20
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +16 -16
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.js +1 -8
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +1 -32
- package/lib/codec/cosmos/distribution/v1beta1/query.js +1 -134
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +3 -103
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -212
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +0 -4
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -12
- package/lib/codec/cosmos/evidence/v1beta1/query.js +2 -14
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +0 -2
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +4 -25
- package/lib/codec/cosmos/gov/v1/genesis.js +0 -16
- package/lib/codec/cosmos/gov/v1/gov.d.ts +2 -83
- package/lib/codec/cosmos/gov/v1/gov.js +3 -231
- package/lib/codec/cosmos/gov/v1/query.d.ts +6 -30
- package/lib/codec/cosmos/gov/v1/query.js +0 -16
- package/lib/codec/cosmos/gov/v1/tx.d.ts +2 -74
- package/lib/codec/cosmos/gov/v1/tx.js +3 -131
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +5 -30
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +0 -13
- package/lib/codec/cosmos/group/v1/events.d.ts +1 -17
- package/lib/codec/cosmos/group/v1/events.js +1 -81
- package/lib/codec/cosmos/group/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/group/v1/tx.d.ts +13 -25
- package/lib/codec/cosmos/group/v1/tx.js +34 -60
- package/lib/codec/cosmos/group/v1/types.d.ts +6 -26
- package/lib/codec/cosmos/group/v1/types.js +1 -27
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js +1 -4
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +1 -1
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +0 -10
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +0 -20
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +1 -3
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +0 -46
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +1 -101
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/export.js +2 -8
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +5 -36
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -40
- package/lib/codec/cosmos/staking/v1beta1/staking.js +2 -212
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +1 -45
- package/lib/codec/cosmos/staking/v1beta1/tx.js +1 -100
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +2 -164
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -407
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +4 -6
- package/lib/codec/ethermint/evm/v1/export.d.ts +1 -2
- package/lib/codec/ethermint/evm/v1/export.js +1 -8
- package/lib/codec/ethermint/evm/v1/tx.d.ts +1 -37
- package/lib/codec/ethermint/evm/v1/tx.js +1 -100
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +0 -2
- package/lib/codec/ethermint/feemarket/v1/export.js +1 -7
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +0 -10
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +1 -28
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +1 -2
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +1 -8
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +0 -26
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +1 -113
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +1 -0
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +6 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +1 -2
- package/lib/codec/ibc/applications/transfer/v1/export.js +1 -8
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +0 -6
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +2 -18
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +1 -56
- package/lib/codec/ibc/applications/transfer/v1/query.js +1 -210
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +4 -8
- package/lib/codec/ibc/applications/transfer/v1/tx.js +6 -35
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +0 -2
- package/lib/codec/ibc/applications/transfer/v2/packet.js +1 -14
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +0 -20
- package/lib/codec/ibc/core/channel/v1/channel.js +1 -78
- package/lib/codec/ibc/core/channel/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/channel/v1/export.js +2 -3
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +12 -16
- package/lib/codec/ibc/core/channel/v1/tx.js +25 -62
- package/lib/codec/ibc/core/client/v1/client.d.ts +1 -5
- package/lib/codec/ibc/core/client/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/client/v1/export.js +1 -3
- package/lib/codec/ibc/core/client/v1/query.d.ts +1 -38
- package/lib/codec/ibc/core/client/v1/query.js +1 -137
- package/lib/codec/ibc/core/client/v1/tx.d.ts +6 -19
- package/lib/codec/ibc/core/client/v1/tx.js +11 -13
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +1 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/connection/v1/export.js +1 -3
- package/lib/codec/ibc/core/connection/v1/query.d.ts +1 -26
- package/lib/codec/ibc/core/connection/v1/query.js +1 -87
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +2 -7
- package/lib/codec/ibc/core/connection/v1/tx.js +2 -38
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +5 -12
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/lib/codec/ibc-models.d.ts +2 -3
- package/lib/codec/ibc-models.js +3 -4
- package/lib/codec/index.d.ts +20 -99
- package/lib/codec/index.js +890 -3371
- package/lib/codec/proofs.d.ts +0 -1
- package/lib/codec/proofs.js +0 -6
- package/lib/codec/tendermint/abci/types.d.ts +84 -131
- package/lib/codec/tendermint/abci/types.js +351 -707
- package/lib/codec/tendermint/types/params.d.ts +8 -1
- package/lib/codec/tendermint/types/params.js +33 -13
- package/lib/modules/evm.js +1 -1
- package/lib/provider/amino/types/evm.js +1 -1
- package/lib/util/tx.d.ts +7 -89
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Duration } from "../../../google/protobuf/duration";
|
|
4
|
-
import { Params } from "./pricing";
|
|
5
4
|
export declare const protobufPackage = "Switcheo.carbon.pricing";
|
|
6
5
|
export interface MsgSetBackfillTimeInterval {
|
|
7
6
|
creator: string;
|
|
@@ -34,29 +33,6 @@ export interface MsgUpdateTokenPriceOracle {
|
|
|
34
33
|
}
|
|
35
34
|
export interface MsgUpdateTokenPriceOracleResponse {
|
|
36
35
|
}
|
|
37
|
-
/**
|
|
38
|
-
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
39
|
-
*
|
|
40
|
-
* Since: cosmos-sdk 0.47
|
|
41
|
-
*/
|
|
42
|
-
export interface MsgUpdateParams {
|
|
43
|
-
/** authority is the address of the governance account. */
|
|
44
|
-
authority: string;
|
|
45
|
-
/**
|
|
46
|
-
* params defines the parameters to update.
|
|
47
|
-
*
|
|
48
|
-
* NOTE: All parameters must be supplied.
|
|
49
|
-
*/
|
|
50
|
-
params?: Params;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
54
|
-
* MsgUpdateParams message.
|
|
55
|
-
*
|
|
56
|
-
* Since: cosmos-sdk 0.47
|
|
57
|
-
*/
|
|
58
|
-
export interface MsgUpdateParamsResponse {
|
|
59
|
-
}
|
|
60
36
|
export declare const MsgSetBackfillTimeInterval: {
|
|
61
37
|
encode(message: MsgSetBackfillTimeInterval, writer?: _m0.Writer): _m0.Writer;
|
|
62
38
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetBackfillTimeInterval;
|
|
@@ -127,20 +103,6 @@ export declare const MsgUpdateTokenPriceOracleResponse: {
|
|
|
127
103
|
toJSON(_: MsgUpdateTokenPriceOracleResponse): unknown;
|
|
128
104
|
fromPartial(_: DeepPartial<MsgUpdateTokenPriceOracleResponse>): MsgUpdateTokenPriceOracleResponse;
|
|
129
105
|
};
|
|
130
|
-
export declare const MsgUpdateParams: {
|
|
131
|
-
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
132
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParams;
|
|
133
|
-
fromJSON(object: any): MsgUpdateParams;
|
|
134
|
-
toJSON(message: MsgUpdateParams): unknown;
|
|
135
|
-
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
136
|
-
};
|
|
137
|
-
export declare const MsgUpdateParamsResponse: {
|
|
138
|
-
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
139
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParamsResponse;
|
|
140
|
-
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
141
|
-
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
142
|
-
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
143
|
-
};
|
|
144
106
|
/** Msg defines the Msg service. */
|
|
145
107
|
export interface Msg {
|
|
146
108
|
/** this line is used by starport scaffolding # proto/tx/rpc */
|
|
@@ -149,13 +111,6 @@ export interface Msg {
|
|
|
149
111
|
SetImpactBand(request: MsgSetImpactBand): Promise<MsgSetImpactBandResponse>;
|
|
150
112
|
SetStaleIndexAllowance(request: MsgSetStaleIndexAllowance): Promise<MsgSetStaleIndexAllowanceResponse>;
|
|
151
113
|
UpdateTokenPriceOracle(request: MsgUpdateTokenPriceOracle): Promise<MsgUpdateTokenPriceOracleResponse>;
|
|
152
|
-
/**
|
|
153
|
-
* UpdateParams defines a governance operation for updating the module
|
|
154
|
-
* parameters. The authority is hard-coded to the x/gov module account.
|
|
155
|
-
*
|
|
156
|
-
* Since: cosmos-sdk 0.47
|
|
157
|
-
*/
|
|
158
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
159
114
|
}
|
|
160
115
|
export declare class MsgClientImpl implements Msg {
|
|
161
116
|
private readonly rpc;
|
|
@@ -165,7 +120,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
165
120
|
SetImpactBand(request: MsgSetImpactBand): Promise<MsgSetImpactBandResponse>;
|
|
166
121
|
SetStaleIndexAllowance(request: MsgSetStaleIndexAllowance): Promise<MsgSetStaleIndexAllowanceResponse>;
|
|
167
122
|
UpdateTokenPriceOracle(request: MsgUpdateTokenPriceOracle): Promise<MsgUpdateTokenPriceOracleResponse>;
|
|
168
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
169
123
|
}
|
|
170
124
|
interface Rpc {
|
|
171
125
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,12 +3,11 @@ 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.MsgClientImpl = exports.
|
|
6
|
+
exports.MsgClientImpl = exports.MsgUpdateTokenPriceOracleResponse = exports.MsgUpdateTokenPriceOracle = exports.MsgSetStaleIndexAllowanceResponse = exports.MsgSetStaleIndexAllowance = exports.MsgSetImpactBandResponse = exports.MsgSetImpactBand = exports.MsgSetSmoothenBandResponse = exports.MsgSetSmoothenBand = exports.MsgSetBackfillTimeIntervalResponse = exports.MsgSetBackfillTimeInterval = 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
10
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
11
|
-
const pricing_1 = require("./pricing");
|
|
12
11
|
exports.protobufPackage = "Switcheo.carbon.pricing";
|
|
13
12
|
const baseMsgSetBackfillTimeInterval = { creator: "" };
|
|
14
13
|
exports.MsgSetBackfillTimeInterval = {
|
|
@@ -488,99 +487,6 @@ exports.MsgUpdateTokenPriceOracleResponse = {
|
|
|
488
487
|
return message;
|
|
489
488
|
},
|
|
490
489
|
};
|
|
491
|
-
const baseMsgUpdateParams = { authority: "" };
|
|
492
|
-
exports.MsgUpdateParams = {
|
|
493
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
494
|
-
if (message.authority !== "") {
|
|
495
|
-
writer.uint32(10).string(message.authority);
|
|
496
|
-
}
|
|
497
|
-
if (message.params !== undefined) {
|
|
498
|
-
pricing_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
499
|
-
}
|
|
500
|
-
return writer;
|
|
501
|
-
},
|
|
502
|
-
decode(input, length) {
|
|
503
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
504
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
505
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
506
|
-
while (reader.pos < end) {
|
|
507
|
-
const tag = reader.uint32();
|
|
508
|
-
switch (tag >>> 3) {
|
|
509
|
-
case 1:
|
|
510
|
-
message.authority = reader.string();
|
|
511
|
-
break;
|
|
512
|
-
case 2:
|
|
513
|
-
message.params = pricing_1.Params.decode(reader, reader.uint32());
|
|
514
|
-
break;
|
|
515
|
-
default:
|
|
516
|
-
reader.skipType(tag & 7);
|
|
517
|
-
break;
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
return message;
|
|
521
|
-
},
|
|
522
|
-
fromJSON(object) {
|
|
523
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
524
|
-
message.authority =
|
|
525
|
-
object.authority !== undefined && object.authority !== null
|
|
526
|
-
? String(object.authority)
|
|
527
|
-
: "";
|
|
528
|
-
message.params =
|
|
529
|
-
object.params !== undefined && object.params !== null
|
|
530
|
-
? pricing_1.Params.fromJSON(object.params)
|
|
531
|
-
: undefined;
|
|
532
|
-
return message;
|
|
533
|
-
},
|
|
534
|
-
toJSON(message) {
|
|
535
|
-
const obj = {};
|
|
536
|
-
message.authority !== undefined && (obj.authority = message.authority);
|
|
537
|
-
message.params !== undefined &&
|
|
538
|
-
(obj.params = message.params ? pricing_1.Params.toJSON(message.params) : undefined);
|
|
539
|
-
return obj;
|
|
540
|
-
},
|
|
541
|
-
fromPartial(object) {
|
|
542
|
-
var _a;
|
|
543
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
544
|
-
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
545
|
-
message.params =
|
|
546
|
-
object.params !== undefined && object.params !== null
|
|
547
|
-
? pricing_1.Params.fromPartial(object.params)
|
|
548
|
-
: undefined;
|
|
549
|
-
return message;
|
|
550
|
-
},
|
|
551
|
-
};
|
|
552
|
-
const baseMsgUpdateParamsResponse = {};
|
|
553
|
-
exports.MsgUpdateParamsResponse = {
|
|
554
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
555
|
-
return writer;
|
|
556
|
-
},
|
|
557
|
-
decode(input, length) {
|
|
558
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
559
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
560
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
561
|
-
while (reader.pos < end) {
|
|
562
|
-
const tag = reader.uint32();
|
|
563
|
-
switch (tag >>> 3) {
|
|
564
|
-
default:
|
|
565
|
-
reader.skipType(tag & 7);
|
|
566
|
-
break;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
return message;
|
|
570
|
-
},
|
|
571
|
-
fromJSON(_) {
|
|
572
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
573
|
-
return message;
|
|
574
|
-
},
|
|
575
|
-
toJSON(_) {
|
|
576
|
-
const obj = {};
|
|
577
|
-
return obj;
|
|
578
|
-
},
|
|
579
|
-
fromPartial(_) {
|
|
580
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
581
|
-
return message;
|
|
582
|
-
},
|
|
583
|
-
};
|
|
584
490
|
class MsgClientImpl {
|
|
585
491
|
constructor(rpc) {
|
|
586
492
|
this.rpc = rpc;
|
|
@@ -589,7 +495,6 @@ class MsgClientImpl {
|
|
|
589
495
|
this.SetImpactBand = this.SetImpactBand.bind(this);
|
|
590
496
|
this.SetStaleIndexAllowance = this.SetStaleIndexAllowance.bind(this);
|
|
591
497
|
this.UpdateTokenPriceOracle = this.UpdateTokenPriceOracle.bind(this);
|
|
592
|
-
this.UpdateParams = this.UpdateParams.bind(this);
|
|
593
498
|
}
|
|
594
499
|
SetBackfillTimeInterval(request) {
|
|
595
500
|
const data = exports.MsgSetBackfillTimeInterval.encode(request).finish();
|
|
@@ -616,11 +521,6 @@ class MsgClientImpl {
|
|
|
616
521
|
const promise = this.rpc.request("Switcheo.carbon.pricing.Msg", "UpdateTokenPriceOracle", data);
|
|
617
522
|
return promise.then((data) => exports.MsgUpdateTokenPriceOracleResponse.decode(new minimal_1.default.Reader(data)));
|
|
618
523
|
}
|
|
619
|
-
UpdateParams(request) {
|
|
620
|
-
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
621
|
-
const promise = this.rpc.request("Switcheo.carbon.pricing.Msg", "UpdateParams", data);
|
|
622
|
-
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
623
|
-
}
|
|
624
524
|
}
|
|
625
525
|
exports.MsgClientImpl = MsgClientImpl;
|
|
626
526
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { SubaccountV2260 } from "./legacy";
|
|
2
2
|
export { QueryGetSubAccountRequest, QueryGetPendingSubAccountRequest, QueryGetSubAccountResponse, QueryAllSubAccountRequest, QueryAllSubAccountResponse, QueryAllPendingSubAccountRequest, QueryAllPendingSubAccountResponse, QuerySubAccountPowerRequest, QuerySubAccountPowerResponse, QueryMainAccountAllRequest, QueryMainAccountAllResponse, QueryMainAccountRequest, QueryMainAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryCreationCooldownRequest, QueryCreationCooldownResponse } from "./query";
|
|
3
3
|
export { SubAccount, GenesisSubAccount, MainAccount, Params } from "./subaccount";
|
|
4
|
-
export { MsgCreateSubAccount, MsgCreateSubAccountResponse, MsgActivateSubAccount, MsgActivateSubAccountResponse, MsgRemoveSubAccount, MsgRemoveSubAccountResponse
|
|
4
|
+
export { MsgCreateSubAccount, MsgCreateSubAccountResponse, MsgActivateSubAccount, MsgActivateSubAccountResponse, MsgRemoveSubAccount, MsgRemoveSubAccountResponse } from "./tx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MsgRemoveSubAccountResponse = exports.MsgRemoveSubAccount = exports.MsgActivateSubAccountResponse = exports.MsgActivateSubAccount = exports.MsgCreateSubAccountResponse = exports.MsgCreateSubAccount = exports.Params = exports.MainAccount = exports.GenesisSubAccount = exports.SubAccount = exports.QueryCreationCooldownResponse = exports.QueryCreationCooldownRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryMainAccountResponse = exports.QueryMainAccountRequest = exports.QueryMainAccountAllResponse = exports.QueryMainAccountAllRequest = exports.QuerySubAccountPowerResponse = exports.QuerySubAccountPowerRequest = exports.QueryAllPendingSubAccountResponse = exports.QueryAllPendingSubAccountRequest = exports.QueryAllSubAccountResponse = exports.QueryAllSubAccountRequest = exports.QueryGetSubAccountResponse = exports.QueryGetPendingSubAccountRequest = exports.QueryGetSubAccountRequest = exports.SubaccountV2260 = void 0;
|
|
4
4
|
var legacy_1 = require("./legacy");
|
|
5
5
|
Object.defineProperty(exports, "SubaccountV2260", { enumerable: true, get: function () { return legacy_1.SubaccountV2260; } });
|
|
6
6
|
var query_1 = require("./query");
|
|
@@ -33,5 +33,3 @@ Object.defineProperty(exports, "MsgActivateSubAccount", { enumerable: true, get:
|
|
|
33
33
|
Object.defineProperty(exports, "MsgActivateSubAccountResponse", { enumerable: true, get: function () { return tx_1.MsgActivateSubAccountResponse; } });
|
|
34
34
|
Object.defineProperty(exports, "MsgRemoveSubAccount", { enumerable: true, get: function () { return tx_1.MsgRemoveSubAccount; } });
|
|
35
35
|
Object.defineProperty(exports, "MsgRemoveSubAccountResponse", { enumerable: true, get: function () { return tx_1.MsgRemoveSubAccountResponse; } });
|
|
36
|
-
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
37
|
-
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params } from "./subaccount";
|
|
4
3
|
export declare const protobufPackage = "Switcheo.carbon.subaccount";
|
|
5
4
|
/** this line is used by starport scaffolding # proto/tx/message */
|
|
6
5
|
export interface MsgCreateSubAccount {
|
|
@@ -27,29 +26,6 @@ export interface MsgRemoveSubAccount {
|
|
|
27
26
|
}
|
|
28
27
|
export interface MsgRemoveSubAccountResponse {
|
|
29
28
|
}
|
|
30
|
-
/**
|
|
31
|
-
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
32
|
-
*
|
|
33
|
-
* Since: cosmos-sdk 0.47
|
|
34
|
-
*/
|
|
35
|
-
export interface MsgUpdateParams {
|
|
36
|
-
/** authority is the address of the governance account. */
|
|
37
|
-
authority: string;
|
|
38
|
-
/**
|
|
39
|
-
* params defines the parameters to update.
|
|
40
|
-
*
|
|
41
|
-
* NOTE: All parameters must be supplied.
|
|
42
|
-
*/
|
|
43
|
-
params?: Params;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
47
|
-
* MsgUpdateParams message.
|
|
48
|
-
*
|
|
49
|
-
* Since: cosmos-sdk 0.47
|
|
50
|
-
*/
|
|
51
|
-
export interface MsgUpdateParamsResponse {
|
|
52
|
-
}
|
|
53
29
|
export declare const MsgCreateSubAccount: {
|
|
54
30
|
encode(message: MsgCreateSubAccount, writer?: _m0.Writer): _m0.Writer;
|
|
55
31
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgCreateSubAccount;
|
|
@@ -92,33 +68,12 @@ export declare const MsgRemoveSubAccountResponse: {
|
|
|
92
68
|
toJSON(_: MsgRemoveSubAccountResponse): unknown;
|
|
93
69
|
fromPartial(_: DeepPartial<MsgRemoveSubAccountResponse>): MsgRemoveSubAccountResponse;
|
|
94
70
|
};
|
|
95
|
-
export declare const MsgUpdateParams: {
|
|
96
|
-
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
97
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParams;
|
|
98
|
-
fromJSON(object: any): MsgUpdateParams;
|
|
99
|
-
toJSON(message: MsgUpdateParams): unknown;
|
|
100
|
-
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
101
|
-
};
|
|
102
|
-
export declare const MsgUpdateParamsResponse: {
|
|
103
|
-
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
104
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParamsResponse;
|
|
105
|
-
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
106
|
-
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
107
|
-
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
108
|
-
};
|
|
109
71
|
/** Msg defines the Msg service. */
|
|
110
72
|
export interface Msg {
|
|
111
73
|
/** this line is used by starport scaffolding # proto/tx/rpc */
|
|
112
74
|
CreateSubAccount(request: MsgCreateSubAccount): Promise<MsgCreateSubAccountResponse>;
|
|
113
75
|
ActivateSubAccount(request: MsgActivateSubAccount): Promise<MsgActivateSubAccountResponse>;
|
|
114
76
|
RemoveSubAccount(request: MsgRemoveSubAccount): Promise<MsgRemoveSubAccountResponse>;
|
|
115
|
-
/**
|
|
116
|
-
* UpdateParams defines a governance operation for updating the module
|
|
117
|
-
* parameters. The authority is hard-coded to the x/gov module account.
|
|
118
|
-
*
|
|
119
|
-
* Since: cosmos-sdk 0.47
|
|
120
|
-
*/
|
|
121
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
122
77
|
}
|
|
123
78
|
export declare class MsgClientImpl implements Msg {
|
|
124
79
|
private readonly rpc;
|
|
@@ -126,7 +81,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
126
81
|
CreateSubAccount(request: MsgCreateSubAccount): Promise<MsgCreateSubAccountResponse>;
|
|
127
82
|
ActivateSubAccount(request: MsgActivateSubAccount): Promise<MsgActivateSubAccountResponse>;
|
|
128
83
|
RemoveSubAccount(request: MsgRemoveSubAccount): Promise<MsgRemoveSubAccountResponse>;
|
|
129
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
130
84
|
}
|
|
131
85
|
interface Rpc {
|
|
132
86
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,11 +3,10 @@ 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.MsgClientImpl = exports.
|
|
6
|
+
exports.MsgClientImpl = exports.MsgRemoveSubAccountResponse = exports.MsgRemoveSubAccount = exports.MsgActivateSubAccountResponse = exports.MsgActivateSubAccount = exports.MsgCreateSubAccountResponse = exports.MsgCreateSubAccount = 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 subaccount_1 = require("./subaccount");
|
|
11
10
|
exports.protobufPackage = "Switcheo.carbon.subaccount";
|
|
12
11
|
const baseMsgCreateSubAccount = {
|
|
13
12
|
creator: "",
|
|
@@ -366,106 +365,12 @@ exports.MsgRemoveSubAccountResponse = {
|
|
|
366
365
|
return message;
|
|
367
366
|
},
|
|
368
367
|
};
|
|
369
|
-
const baseMsgUpdateParams = { authority: "" };
|
|
370
|
-
exports.MsgUpdateParams = {
|
|
371
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
372
|
-
if (message.authority !== "") {
|
|
373
|
-
writer.uint32(10).string(message.authority);
|
|
374
|
-
}
|
|
375
|
-
if (message.params !== undefined) {
|
|
376
|
-
subaccount_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
377
|
-
}
|
|
378
|
-
return writer;
|
|
379
|
-
},
|
|
380
|
-
decode(input, length) {
|
|
381
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
382
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
383
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
384
|
-
while (reader.pos < end) {
|
|
385
|
-
const tag = reader.uint32();
|
|
386
|
-
switch (tag >>> 3) {
|
|
387
|
-
case 1:
|
|
388
|
-
message.authority = reader.string();
|
|
389
|
-
break;
|
|
390
|
-
case 2:
|
|
391
|
-
message.params = subaccount_1.Params.decode(reader, reader.uint32());
|
|
392
|
-
break;
|
|
393
|
-
default:
|
|
394
|
-
reader.skipType(tag & 7);
|
|
395
|
-
break;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
return message;
|
|
399
|
-
},
|
|
400
|
-
fromJSON(object) {
|
|
401
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
402
|
-
message.authority =
|
|
403
|
-
object.authority !== undefined && object.authority !== null
|
|
404
|
-
? String(object.authority)
|
|
405
|
-
: "";
|
|
406
|
-
message.params =
|
|
407
|
-
object.params !== undefined && object.params !== null
|
|
408
|
-
? subaccount_1.Params.fromJSON(object.params)
|
|
409
|
-
: undefined;
|
|
410
|
-
return message;
|
|
411
|
-
},
|
|
412
|
-
toJSON(message) {
|
|
413
|
-
const obj = {};
|
|
414
|
-
message.authority !== undefined && (obj.authority = message.authority);
|
|
415
|
-
message.params !== undefined &&
|
|
416
|
-
(obj.params = message.params ? subaccount_1.Params.toJSON(message.params) : undefined);
|
|
417
|
-
return obj;
|
|
418
|
-
},
|
|
419
|
-
fromPartial(object) {
|
|
420
|
-
var _a;
|
|
421
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
422
|
-
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
423
|
-
message.params =
|
|
424
|
-
object.params !== undefined && object.params !== null
|
|
425
|
-
? subaccount_1.Params.fromPartial(object.params)
|
|
426
|
-
: undefined;
|
|
427
|
-
return message;
|
|
428
|
-
},
|
|
429
|
-
};
|
|
430
|
-
const baseMsgUpdateParamsResponse = {};
|
|
431
|
-
exports.MsgUpdateParamsResponse = {
|
|
432
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
433
|
-
return writer;
|
|
434
|
-
},
|
|
435
|
-
decode(input, length) {
|
|
436
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
437
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
438
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
439
|
-
while (reader.pos < end) {
|
|
440
|
-
const tag = reader.uint32();
|
|
441
|
-
switch (tag >>> 3) {
|
|
442
|
-
default:
|
|
443
|
-
reader.skipType(tag & 7);
|
|
444
|
-
break;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
return message;
|
|
448
|
-
},
|
|
449
|
-
fromJSON(_) {
|
|
450
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
451
|
-
return message;
|
|
452
|
-
},
|
|
453
|
-
toJSON(_) {
|
|
454
|
-
const obj = {};
|
|
455
|
-
return obj;
|
|
456
|
-
},
|
|
457
|
-
fromPartial(_) {
|
|
458
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
459
|
-
return message;
|
|
460
|
-
},
|
|
461
|
-
};
|
|
462
368
|
class MsgClientImpl {
|
|
463
369
|
constructor(rpc) {
|
|
464
370
|
this.rpc = rpc;
|
|
465
371
|
this.CreateSubAccount = this.CreateSubAccount.bind(this);
|
|
466
372
|
this.ActivateSubAccount = this.ActivateSubAccount.bind(this);
|
|
467
373
|
this.RemoveSubAccount = this.RemoveSubAccount.bind(this);
|
|
468
|
-
this.UpdateParams = this.UpdateParams.bind(this);
|
|
469
374
|
}
|
|
470
375
|
CreateSubAccount(request) {
|
|
471
376
|
const data = exports.MsgCreateSubAccount.encode(request).finish();
|
|
@@ -482,11 +387,6 @@ class MsgClientImpl {
|
|
|
482
387
|
const promise = this.rpc.request("Switcheo.carbon.subaccount.Msg", "RemoveSubAccount", data);
|
|
483
388
|
return promise.then((data) => exports.MsgRemoveSubAccountResponse.decode(new minimal_1.default.Reader(data)));
|
|
484
389
|
}
|
|
485
|
-
UpdateParams(request) {
|
|
486
|
-
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
487
|
-
const promise = this.rpc.request("Switcheo.carbon.subaccount.Msg", "UpdateParams", data);
|
|
488
|
-
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
489
|
-
}
|
|
490
390
|
}
|
|
491
391
|
exports.MsgClientImpl = MsgClientImpl;
|
|
492
392
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as Admin from "./Switcheo/carbon/admin/export";
|
|
2
|
-
export * as Alliance from "./alliance/
|
|
2
|
+
export * as Alliance from "./alliance/export";
|
|
3
3
|
export * as Bank from "./Switcheo/carbon/bank/export";
|
|
4
4
|
export * as Book from "./Switcheo/carbon/book/export";
|
|
5
5
|
export * as Broker from "./Switcheo/carbon/broker/export";
|
|
@@ -7,7 +7,6 @@ export * as Cdp from "./Switcheo/carbon/cdp/export";
|
|
|
7
7
|
export * as Coin from "./Switcheo/carbon/coin/export";
|
|
8
8
|
export * as Erc20 from "./Switcheo/carbon/erc20/export";
|
|
9
9
|
export * as Evmbank from "./Switcheo/carbon/evmbank/export";
|
|
10
|
-
export * as Evmcontract from "./Switcheo/carbon/evmcontract/export";
|
|
11
10
|
export * as Evmmerge from "./Switcheo/carbon/evmmerge/export";
|
|
12
11
|
export * as Fee from "./Switcheo/carbon/fee/export";
|
|
13
12
|
export * as Inflation from "./Switcheo/carbon/inflation/export";
|
|
@@ -19,9 +19,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.Subaccount = exports.Sequence = exports.Profile = exports.Pricing = exports.Position = exports.Perpspool = exports.Order = exports.Oracle = exports.Misc = exports.Marketstats = exports.Market = exports.Liquiditypool = exports.Liquidation = exports.Leverage = exports.Insurance = exports.Inflation = exports.Fee = exports.Evmmerge = exports.
|
|
22
|
+
exports.Subaccount = exports.Sequence = exports.Profile = exports.Pricing = exports.Position = exports.Perpspool = exports.Order = exports.Oracle = exports.Misc = exports.Marketstats = exports.Market = exports.Liquiditypool = exports.Liquidation = exports.Leverage = exports.Insurance = exports.Inflation = exports.Fee = exports.Evmmerge = exports.Evmbank = exports.Erc20 = exports.Coin = exports.Cdp = exports.Broker = exports.Book = exports.Bank = exports.Alliance = exports.Admin = void 0;
|
|
23
23
|
exports.Admin = __importStar(require("./Switcheo/carbon/admin/export"));
|
|
24
|
-
exports.Alliance = __importStar(require("./alliance/
|
|
24
|
+
exports.Alliance = __importStar(require("./alliance/export"));
|
|
25
25
|
exports.Bank = __importStar(require("./Switcheo/carbon/bank/export"));
|
|
26
26
|
exports.Book = __importStar(require("./Switcheo/carbon/book/export"));
|
|
27
27
|
exports.Broker = __importStar(require("./Switcheo/carbon/broker/export"));
|
|
@@ -29,7 +29,6 @@ exports.Cdp = __importStar(require("./Switcheo/carbon/cdp/export"));
|
|
|
29
29
|
exports.Coin = __importStar(require("./Switcheo/carbon/coin/export"));
|
|
30
30
|
exports.Erc20 = __importStar(require("./Switcheo/carbon/erc20/export"));
|
|
31
31
|
exports.Evmbank = __importStar(require("./Switcheo/carbon/evmbank/export"));
|
|
32
|
-
exports.Evmcontract = __importStar(require("./Switcheo/carbon/evmcontract/export"));
|
|
33
32
|
exports.Evmmerge = __importStar(require("./Switcheo/carbon/evmmerge/export"));
|
|
34
33
|
exports.Fee = __importStar(require("./Switcheo/carbon/fee/export"));
|
|
35
34
|
exports.Inflation = __importStar(require("./Switcheo/carbon/inflation/export"));
|
|
@@ -14,12 +14,6 @@ export declare const protobufPackage = "cosmos.app.v1alpha1";
|
|
|
14
14
|
export interface Config {
|
|
15
15
|
/** modules are the module configurations for the app. */
|
|
16
16
|
modules: ModuleConfig[];
|
|
17
|
-
/**
|
|
18
|
-
* golang_bindings specifies explicit interface to implementation type bindings which
|
|
19
|
-
* depinject uses to resolve interface inputs to provider functions. The scope of this
|
|
20
|
-
* field's configuration is global (not module specific).
|
|
21
|
-
*/
|
|
22
|
-
golangBindings: GolangBinding[];
|
|
23
17
|
}
|
|
24
18
|
/** ModuleConfig is a module configuration for an app. */
|
|
25
19
|
export interface ModuleConfig {
|
|
@@ -41,19 +35,6 @@ export interface ModuleConfig {
|
|
|
41
35
|
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
|
|
42
36
|
*/
|
|
43
37
|
config?: Any;
|
|
44
|
-
/**
|
|
45
|
-
* golang_bindings specifies explicit interface to implementation type bindings which
|
|
46
|
-
* depinject uses to resolve interface inputs to provider functions. The scope of this
|
|
47
|
-
* field's configuration is module specific.
|
|
48
|
-
*/
|
|
49
|
-
golangBindings: GolangBinding[];
|
|
50
|
-
}
|
|
51
|
-
/** GolangBinding is an explicit interface type to implementing type binding for dependency injection. */
|
|
52
|
-
export interface GolangBinding {
|
|
53
|
-
/** interface_type is the interface type which will be bound to a specific implementation type */
|
|
54
|
-
interfaceType: string;
|
|
55
|
-
/** implementation is the implementing type which will be supplied when an input of type interface is requested */
|
|
56
|
-
implementation: string;
|
|
57
38
|
}
|
|
58
39
|
export declare const Config: {
|
|
59
40
|
encode(message: Config, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -69,13 +50,6 @@ export declare const ModuleConfig: {
|
|
|
69
50
|
toJSON(message: ModuleConfig): unknown;
|
|
70
51
|
fromPartial(object: DeepPartial<ModuleConfig>): ModuleConfig;
|
|
71
52
|
};
|
|
72
|
-
export declare const GolangBinding: {
|
|
73
|
-
encode(message: GolangBinding, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GolangBinding;
|
|
75
|
-
fromJSON(object: any): GolangBinding;
|
|
76
|
-
toJSON(message: GolangBinding): unknown;
|
|
77
|
-
fromPartial(object: DeepPartial<GolangBinding>): GolangBinding;
|
|
78
|
-
};
|
|
79
53
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
80
54
|
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 {} ? {
|
|
81
55
|
[K in keyof T]?: DeepPartial<T[K]>;
|