carbon-js-sdk 0.4.16-beta.3 → 0.4.17
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.d.ts +1 -11
- package/lib/CarbonSDK.js +2 -29
- package/lib/clients/CarbonQueryClient.d.ts +0 -11
- package/lib/clients/CarbonQueryClient.js +44 -54
- package/lib/clients/TokenClient.js +5 -4
- package/lib/codec/cosmos/group/v1/query.d.ts +0 -41
- package/lib/codec/cosmos/group/v1/query.js +1 -124
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +0 -2
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +0 -3
- package/lib/codec/google/protobuf/any.d.ts +1 -4
- package/lib/codec/google/protobuf/timestamp.d.ts +2 -0
- package/lib/codec/index.d.ts +0 -10
- package/lib/codec/index.js +338 -22507
- package/lib/codec/tendermint/abci/types.d.ts +1 -1
- package/lib/codec/tendermint/crypto/keys.d.ts +1 -1
- package/lib/codec/tendermint/types/types.d.ts +1 -1
- package/lib/constant/network.d.ts +1 -9
- package/lib/constant/network.js +7 -21
- package/lib/constant/walletProvider.d.ts +1 -3
- package/lib/constant/walletProvider.js +0 -3
- package/lib/modules/cdp.d.ts +1 -1
- package/lib/modules/cdp.js +43 -56
- package/lib/modules/gov.js +1 -1
- package/lib/modules/index.d.ts +0 -3
- package/lib/modules/index.js +0 -3
- package/lib/provider/amino/AminoTypesMap.js +1 -1
- package/lib/provider/amino/types/gov.js +1 -21
- package/lib/provider/amino/types/index.d.ts +0 -3
- package/lib/provider/amino/types/index.js +1 -7
- package/lib/provider/amino/types/oracle.js +0 -6
- package/lib/provider/keplr/KeplrAccount.d.ts +0 -2
- package/lib/provider/keplr/KeplrAccount.js +0 -38
- package/lib/provider/leap/LeapAccount.js +0 -4
- package/lib/provider/metamask/MetaMask.d.ts +1 -22
- package/lib/provider/metamask/MetaMask.js +6 -288
- package/lib/provider/o3/O3Wallet.js +0 -3
- package/lib/util/address.d.ts +1 -5
- package/lib/util/address.js +0 -11
- package/lib/util/blockchain.d.ts +5 -4
- package/lib/util/blockchain.js +3 -9
- package/lib/util/tx.d.ts +0 -8
- package/lib/wallet/CarbonSigner.d.ts +4 -21
- package/lib/wallet/CarbonSigner.js +1 -20
- package/lib/wallet/CarbonSigningClient.d.ts +0 -1
- package/lib/wallet/CarbonSigningClient.js +4 -52
- package/lib/wallet/CarbonWallet.d.ts +2 -13
- package/lib/wallet/CarbonWallet.js +16 -138
- package/package.json +1 -2
package/lib/CarbonSDK.d.ts
CHANGED
|
@@ -4,12 +4,10 @@ import { Tendermint34Client } from "@cosmjs/tendermint-rpc";
|
|
|
4
4
|
import { CarbonQueryClient, ETHClient, HydrogenClient, InsightsQueryClient, NEOClient, TokenClient, ZILClient } from "./clients";
|
|
5
5
|
import * as clients from "./clients";
|
|
6
6
|
import N3Client from "./clients/N3Client";
|
|
7
|
-
import { AdminModule, BankModule, BrokerModule, CDPModule, CoinModule, FeeModule, GovModule, IBCModule, LeverageModule, LiquidityPoolModule, MarketModule, OracleModule, OrderModule, PositionModule, ProfileModule, SubAccountModule, XChainModule
|
|
7
|
+
import { AdminModule, BankModule, BrokerModule, CDPModule, CoinModule, FeeModule, GovModule, IBCModule, LeverageModule, LiquidityPoolModule, MarketModule, OracleModule, OrderModule, PositionModule, ProfileModule, SubAccountModule, XChainModule } from "./modules";
|
|
8
8
|
import { StakingModule } from "./modules/staking";
|
|
9
9
|
import { CosmosLedger, Keplr, LeapExtended } from "./provider";
|
|
10
10
|
import { CarbonSigner, CarbonWallet, CarbonWalletGenericOpts } from "./wallet";
|
|
11
|
-
import { MetaMask } from "./provider/metamask/MetaMask";
|
|
12
|
-
import { ethers } from "ethers";
|
|
13
11
|
export { CarbonTx } from "./util";
|
|
14
12
|
export { CarbonSigner, CarbonSignerTypes, CarbonWallet, CarbonWalletGenericOpts, CarbonWalletInitOpts } from "./wallet";
|
|
15
13
|
export { DenomPrefix } from "./constant";
|
|
@@ -17,7 +15,6 @@ export interface CarbonSDKOpts {
|
|
|
17
15
|
network: Network;
|
|
18
16
|
tmClient: Tendermint34Client;
|
|
19
17
|
chainId?: string;
|
|
20
|
-
evmChainId?: string;
|
|
21
18
|
token?: TokenClient;
|
|
22
19
|
config?: Partial<NetworkConfig>;
|
|
23
20
|
defaultTimeoutBlocks?: number;
|
|
@@ -44,7 +41,6 @@ declare class CarbonSDK {
|
|
|
44
41
|
readonly query: CarbonQueryClient;
|
|
45
42
|
insights: InsightsQueryClient;
|
|
46
43
|
hydrogen: HydrogenClient;
|
|
47
|
-
evmJsonRpc: ethers.providers.JsonRpcProvider;
|
|
48
44
|
wallet?: CarbonWallet;
|
|
49
45
|
network: Network;
|
|
50
46
|
configOverride: Partial<NetworkConfig>;
|
|
@@ -69,9 +65,6 @@ declare class CarbonSDK {
|
|
|
69
65
|
fee: FeeModule;
|
|
70
66
|
ibc: IBCModule;
|
|
71
67
|
xchain: XChainModule;
|
|
72
|
-
evm: EvmModule;
|
|
73
|
-
evmmerge: EvmMergeModule;
|
|
74
|
-
feemarket: FeemarketModule;
|
|
75
68
|
neo: NEOClient;
|
|
76
69
|
eth: ETHClient;
|
|
77
70
|
bsc: ETHClient;
|
|
@@ -81,7 +74,6 @@ declare class CarbonSDK {
|
|
|
81
74
|
zil: ZILClient;
|
|
82
75
|
n3: N3Client;
|
|
83
76
|
chainId: string;
|
|
84
|
-
evmChainId: string;
|
|
85
77
|
constructor(opts: CarbonSDKOpts);
|
|
86
78
|
static instance(opts?: CarbonSDKInitOpts): Promise<CarbonSDK>;
|
|
87
79
|
static instanceWithWallet(wallet: CarbonWallet, sdkOpts?: CarbonSDKInitOpts): Promise<ConnectedCarbonSDK>;
|
|
@@ -91,7 +83,6 @@ declare class CarbonSDK {
|
|
|
91
83
|
static instanceWithLedger(ledger: CosmosLedger, sdkOpts?: CarbonSDKInitOpts, walletOpts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
92
84
|
static instanceWithKeplr(keplr: Keplr, sdkOpts?: CarbonSDKInitOpts, walletOpts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
93
85
|
static instanceWithLeap(leap: LeapExtended, sdkOpts?: CarbonSDKInitOpts, walletOpts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
94
|
-
static instanceWithMetamask(metamask: MetaMask, sdkOpts?: CarbonSDKInitOpts, walletOpts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
95
86
|
static instanceViewOnly(bech32Address: string, sdkOpts?: CarbonSDKInitOpts, walletOpts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
96
87
|
initialize(): Promise<CarbonSDK>;
|
|
97
88
|
clone(): CarbonSDK;
|
|
@@ -104,7 +95,6 @@ declare class CarbonSDK {
|
|
|
104
95
|
connectWithLedger(ledger: CosmosLedger, opts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
105
96
|
connectWithKeplr(keplr: Keplr, opts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
106
97
|
connectWithLeap(leap: LeapExtended, opts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
107
|
-
connectWithMetamask(metamask: MetaMask, opts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
108
98
|
connectViewOnly(bech32Address: string, opts?: CarbonWalletGenericOpts): Promise<ConnectedCarbonSDK>;
|
|
109
99
|
getConfig(): NetworkConfig;
|
|
110
100
|
getTokenClient(): TokenClient;
|
package/lib/CarbonSDK.js
CHANGED
|
@@ -43,7 +43,6 @@ const staking_1 = require("./modules/staking");
|
|
|
43
43
|
const provider_1 = require("./provider");
|
|
44
44
|
const blockchain_1 = require("./util/blockchain");
|
|
45
45
|
const wallet_1 = require("./wallet");
|
|
46
|
-
const ethers_1 = require("ethers");
|
|
47
46
|
var util_2 = require("./util");
|
|
48
47
|
Object.defineProperty(exports, "CarbonTx", { enumerable: true, get: function () { return util_2.CarbonTx; } });
|
|
49
48
|
var wallet_2 = require("./wallet");
|
|
@@ -61,18 +60,15 @@ const DEFAULT_SDK_INIT_OPTS = {
|
|
|
61
60
|
*/
|
|
62
61
|
class CarbonSDK {
|
|
63
62
|
constructor(opts) {
|
|
64
|
-
var _a, _b, _c, _d, _e
|
|
63
|
+
var _a, _b, _c, _d, _e;
|
|
65
64
|
this.network = (_a = opts.network) !== null && _a !== void 0 ? _a : constant_1.DEFAULT_NETWORK;
|
|
66
65
|
this.configOverride = (_b = opts.config) !== null && _b !== void 0 ? _b : {};
|
|
67
66
|
this.networkConfig = util_1.GenericUtils.overrideConfig(constant_1.NetworkConfigs[this.network], this.configOverride);
|
|
68
67
|
this.tmClient = opts.tmClient;
|
|
69
68
|
this.chainId = (_d = (_c = opts.chainId) !== null && _c !== void 0 ? _c : constant_1.CarbonChainIDs[this.network]) !== null && _d !== void 0 ? _d : constant_1.CarbonChainIDs[constant_1.Network.MainNet];
|
|
70
|
-
this.evmChainId = (_f = (_e = opts.evmChainId) !== null && _e !== void 0 ? _e : constant_1.CarbonEvmChainIDs[this.network]) !== null && _f !== void 0 ? _f : constant_1.CarbonEvmChainIDs[constant_1.Network.MainNet];
|
|
71
69
|
this.query = new clients_1.CarbonQueryClient(opts.tmClient);
|
|
72
70
|
this.insights = new clients_1.InsightsQueryClient(this.networkConfig);
|
|
73
|
-
this.token = (
|
|
74
|
-
this.hydrogen = new clients_1.HydrogenClient(this.networkConfig, this.token);
|
|
75
|
-
this.evmJsonRpc = new ethers_1.ethers.providers.JsonRpcProvider(constant_1.NetworkConfigs[this.network].evmJsonRpcUrl);
|
|
71
|
+
this.token = (_e = opts.token) !== null && _e !== void 0 ? _e : clients_1.TokenClient.instance(this.query, this);
|
|
76
72
|
this.hydrogen = clients_1.HydrogenClient.instance(this.networkConfig, this.token);
|
|
77
73
|
this.admin = new modules_1.AdminModule(this);
|
|
78
74
|
this.order = new modules_1.OrderModule(this);
|
|
@@ -92,9 +88,6 @@ class CarbonSDK {
|
|
|
92
88
|
this.fee = new modules_1.FeeModule(this);
|
|
93
89
|
this.ibc = new modules_1.IBCModule(this);
|
|
94
90
|
this.xchain = new modules_1.XChainModule(this);
|
|
95
|
-
this.evm = new modules_1.EvmModule(this);
|
|
96
|
-
this.evmmerge = new modules_1.EvmMergeModule(this);
|
|
97
|
-
this.feemarket = new modules_1.FeemarketModule(this);
|
|
98
91
|
this.neo = clients_1.NEOClient.instance({
|
|
99
92
|
configProvider: this,
|
|
100
93
|
blockchain: blockchain_1.Blockchain.Neo,
|
|
@@ -194,12 +187,6 @@ class CarbonSDK {
|
|
|
194
187
|
return sdk.connectWithLeap(leap, walletOpts);
|
|
195
188
|
});
|
|
196
189
|
}
|
|
197
|
-
static instanceWithMetamask(metamask, sdkOpts = DEFAULT_SDK_INIT_OPTS, walletOpts) {
|
|
198
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
-
const sdk = yield CarbonSDK.instance(sdkOpts);
|
|
200
|
-
return sdk.connectWithMetamask(metamask, walletOpts);
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
190
|
static instanceViewOnly(bech32Address, sdkOpts = DEFAULT_SDK_INIT_OPTS, walletOpts) {
|
|
204
191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
192
|
const sdk = yield CarbonSDK.instance(sdkOpts);
|
|
@@ -303,20 +290,6 @@ class CarbonSDK {
|
|
|
303
290
|
return this.connect(wallet);
|
|
304
291
|
});
|
|
305
292
|
}
|
|
306
|
-
connectWithMetamask(metamask, opts) {
|
|
307
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
308
|
-
const evmChainId = this.evmChainId;
|
|
309
|
-
const addressOptions = {
|
|
310
|
-
network: this.networkConfig.network,
|
|
311
|
-
bech32Prefix: this.networkConfig.Bech32Prefix
|
|
312
|
-
};
|
|
313
|
-
const address = yield metamask.defaultAccount();
|
|
314
|
-
const publicKeyHex = yield metamask.getPublicKey(address);
|
|
315
|
-
const publicKeyBase64 = Buffer.from(publicKeyHex, 'hex').toString('base64');
|
|
316
|
-
const wallet = wallet_1.CarbonWallet.withMetamask(metamask, evmChainId, publicKeyBase64, addressOptions, Object.assign(Object.assign({}, opts), { network: this.network, config: this.configOverride }));
|
|
317
|
-
return this.connect(wallet);
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
293
|
connectViewOnly(bech32Address, opts) {
|
|
321
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
322
295
|
const wallet = wallet_1.CarbonWallet.withAddress(bech32Address, Object.assign(Object.assign({}, opts), { network: this.network, config: this.configOverride }));
|
|
@@ -14,10 +14,6 @@ import { QueryClientImpl as ParamsQueryClient } from "../codec/cosmos/params/v1b
|
|
|
14
14
|
import { QueryClientImpl as SlashingQueryClient } from "../codec/cosmos/slashing/v1beta1/query";
|
|
15
15
|
import { QueryClientImpl as StakingQueryClient } from "../codec/cosmos/staking/v1beta1/query";
|
|
16
16
|
import { QueryClientImpl as UpgradeQueryClient } from "../codec/cosmos/upgrade/v1beta1/query";
|
|
17
|
-
import { QueryClientImpl as EthermintEVMQueryClient } from "../codec/ethermint/evm/v1/query";
|
|
18
|
-
import { QueryClientImpl as EvmMergeQueryClient } from "../codec/evmmerge/query";
|
|
19
|
-
import { QueryClientImpl as EvmBankQueryClient } from "../codec/evmbank/query";
|
|
20
|
-
import { QueryClientImpl as EthermintFeeMarketQueryClient } from "../codec/ethermint/feemarket/v1/query";
|
|
21
17
|
import { QueryClientImpl as FeeQueryClient } from "../codec/fee/query";
|
|
22
18
|
import { QueryClientImpl as HeadersyncQueryClient } from "../codec/headersync/query";
|
|
23
19
|
import { QueryClientImpl as IBCInterchainControlQueryClient } from "../codec/ibc/applications/interchain_accounts/controller/v1/query";
|
|
@@ -50,10 +46,6 @@ export interface IBCClientGroup {
|
|
|
50
46
|
connection: IBCConnectionQueryClient;
|
|
51
47
|
channel: IBCChannelQueryClient;
|
|
52
48
|
}
|
|
53
|
-
export interface EthermintClientGroup {
|
|
54
|
-
evm: EthermintEVMQueryClient;
|
|
55
|
-
feeMarket: EthermintFeeMarketQueryClient;
|
|
56
|
-
}
|
|
57
49
|
declare class CarbonQueryClient {
|
|
58
50
|
private readonly tmClient;
|
|
59
51
|
adl: ADLQueryClient;
|
|
@@ -90,9 +82,6 @@ declare class CarbonQueryClient {
|
|
|
90
82
|
cosmosTm: CosmosTmClient;
|
|
91
83
|
chain: BlockchainClient;
|
|
92
84
|
ibc: IBCClientGroup;
|
|
93
|
-
ethermint: EthermintClientGroup;
|
|
94
|
-
evmmerge: EvmMergeQueryClient;
|
|
95
|
-
evmbank: EvmBankQueryClient;
|
|
96
85
|
private baseClient;
|
|
97
86
|
constructor(tmClient: Tendermint34Client);
|
|
98
87
|
getProtobufRpcClient(): import("@cosmjs/stargate").ProtobufRpcClient;
|
|
@@ -19,32 +19,28 @@ const query_13 = require("../codec/cosmos/params/v1beta1/query");
|
|
|
19
19
|
const query_14 = require("../codec/cosmos/slashing/v1beta1/query");
|
|
20
20
|
const query_15 = require("../codec/cosmos/staking/v1beta1/query");
|
|
21
21
|
const query_16 = require("../codec/cosmos/upgrade/v1beta1/query");
|
|
22
|
-
const query_17 = require("../codec/
|
|
23
|
-
const query_18 = require("../codec/
|
|
24
|
-
const query_19 = require("../codec/
|
|
25
|
-
const query_20 = require("../codec/
|
|
26
|
-
const query_21 = require("../codec/
|
|
27
|
-
const query_22 = require("../codec/
|
|
28
|
-
const query_23 = require("../codec/ibc/
|
|
29
|
-
const query_24 = require("../codec/ibc/
|
|
30
|
-
const query_25 = require("../codec/
|
|
31
|
-
const query_26 = require("../codec/
|
|
32
|
-
const query_27 = require("../codec/
|
|
33
|
-
const query_28 = require("../codec/
|
|
34
|
-
const query_29 = require("../codec/
|
|
35
|
-
const query_30 = require("../codec/
|
|
36
|
-
const query_31 = require("../codec/
|
|
37
|
-
const query_32 = require("../codec/
|
|
38
|
-
const query_33 = require("../codec/
|
|
39
|
-
const query_34 = require("../codec/
|
|
40
|
-
const query_35 = require("../codec/
|
|
41
|
-
const query_36 = require("../codec/
|
|
42
|
-
const query_37 = require("../codec/
|
|
43
|
-
const query_38 = require("../codec/
|
|
44
|
-
const query_39 = require("../codec/position/query");
|
|
45
|
-
const query_40 = require("../codec/pricing/query");
|
|
46
|
-
const query_41 = require("../codec/profile/query");
|
|
47
|
-
const query_42 = require("../codec/subaccount/query");
|
|
22
|
+
const query_17 = require("../codec/fee/query");
|
|
23
|
+
const query_18 = require("../codec/headersync/query");
|
|
24
|
+
const query_19 = require("../codec/ibc/applications/interchain_accounts/controller/v1/query");
|
|
25
|
+
const query_20 = require("../codec/ibc/applications/interchain_accounts/host/v1/query");
|
|
26
|
+
const query_21 = require("../codec/ibc/applications/transfer/v1/query");
|
|
27
|
+
const query_22 = require("../codec/ibc/core/client/v1/query");
|
|
28
|
+
const query_23 = require("../codec/ibc/core/connection/v1/query");
|
|
29
|
+
const query_24 = require("../codec/ibc/core/channel/v1/query");
|
|
30
|
+
const query_25 = require("../codec/inflation/query");
|
|
31
|
+
const query_26 = require("../codec/insurance/query");
|
|
32
|
+
const query_27 = require("../codec/leverage/query");
|
|
33
|
+
const query_28 = require("../codec/liquidation/query");
|
|
34
|
+
const query_29 = require("../codec/liquiditypool/query");
|
|
35
|
+
const query_30 = require("../codec/market/query");
|
|
36
|
+
const query_31 = require("../codec/marketstats/query");
|
|
37
|
+
const query_32 = require("../codec/misc/query");
|
|
38
|
+
const query_33 = require("../codec/oracle/query");
|
|
39
|
+
const query_34 = require("../codec/order/query");
|
|
40
|
+
const query_35 = require("../codec/position/query");
|
|
41
|
+
const query_36 = require("../codec/pricing/query");
|
|
42
|
+
const query_37 = require("../codec/profile/query");
|
|
43
|
+
const query_38 = require("../codec/subaccount/query");
|
|
48
44
|
const stargate_1 = require("@cosmjs/stargate");
|
|
49
45
|
const BlockchainClient_1 = __importDefault(require("./BlockchainClient"));
|
|
50
46
|
class CarbonQueryClient {
|
|
@@ -58,24 +54,22 @@ class CarbonQueryClient {
|
|
|
58
54
|
this.broker = new query_3.QueryClientImpl(rpcClient);
|
|
59
55
|
this.coin = new query_5.QueryClientImpl(rpcClient);
|
|
60
56
|
this.cdp = new query_4.QueryClientImpl(rpcClient);
|
|
61
|
-
this.fee = new
|
|
62
|
-
this.inflation = new
|
|
63
|
-
this.insurance = new
|
|
64
|
-
this.leverage = new
|
|
65
|
-
this.liquidation = new
|
|
66
|
-
this.liquiditypool = new
|
|
67
|
-
this.market = new
|
|
68
|
-
this.marketstats = new
|
|
69
|
-
this.misc = new
|
|
70
|
-
this.oracle = new
|
|
71
|
-
this.order = new
|
|
72
|
-
this.position = new
|
|
73
|
-
this.pricing = new
|
|
74
|
-
this.profile = new
|
|
75
|
-
this.subaccount = new
|
|
76
|
-
this.headersync = new
|
|
77
|
-
this.evmmerge = new query_18.QueryClientImpl(rpcClient);
|
|
78
|
-
this.evmbank = new query_19.QueryClientImpl(rpcClient);
|
|
57
|
+
this.fee = new query_17.QueryClientImpl(rpcClient);
|
|
58
|
+
this.inflation = new query_25.QueryClientImpl(rpcClient);
|
|
59
|
+
this.insurance = new query_26.QueryClientImpl(rpcClient);
|
|
60
|
+
this.leverage = new query_27.QueryClientImpl(rpcClient);
|
|
61
|
+
this.liquidation = new query_28.QueryClientImpl(rpcClient);
|
|
62
|
+
this.liquiditypool = new query_29.QueryClientImpl(rpcClient);
|
|
63
|
+
this.market = new query_30.QueryClientImpl(rpcClient);
|
|
64
|
+
this.marketstats = new query_31.QueryClientImpl(rpcClient);
|
|
65
|
+
this.misc = new query_32.QueryClientImpl(rpcClient);
|
|
66
|
+
this.oracle = new query_33.QueryClientImpl(rpcClient);
|
|
67
|
+
this.order = new query_34.QueryClientImpl(rpcClient);
|
|
68
|
+
this.position = new query_35.QueryClientImpl(rpcClient);
|
|
69
|
+
this.pricing = new query_36.QueryClientImpl(rpcClient);
|
|
70
|
+
this.profile = new query_37.QueryClientImpl(rpcClient);
|
|
71
|
+
this.subaccount = new query_38.QueryClientImpl(rpcClient);
|
|
72
|
+
this.headersync = new query_18.QueryClientImpl(rpcClient);
|
|
79
73
|
this.auth = new query_6.QueryClientImpl(rpcClient);
|
|
80
74
|
this.bank = new query_7.QueryClientImpl(rpcClient);
|
|
81
75
|
this.distribution = new query_9.QueryClientImpl(rpcClient);
|
|
@@ -88,16 +82,12 @@ class CarbonQueryClient {
|
|
|
88
82
|
this.upgrade = new query_16.QueryClientImpl(rpcClient);
|
|
89
83
|
this.cosmosTm = new query_8.ServiceClientImpl(rpcClient);
|
|
90
84
|
this.ibc = {
|
|
91
|
-
controller: new
|
|
92
|
-
host: new
|
|
93
|
-
transfer: new
|
|
94
|
-
client: new
|
|
95
|
-
connection: new
|
|
96
|
-
channel: new
|
|
97
|
-
};
|
|
98
|
-
this.ethermint = {
|
|
99
|
-
evm: new query_17.QueryClientImpl(rpcClient),
|
|
100
|
-
feeMarket: new query_20.QueryClientImpl(rpcClient),
|
|
85
|
+
controller: new query_19.QueryClientImpl(rpcClient),
|
|
86
|
+
host: new query_20.QueryClientImpl(rpcClient),
|
|
87
|
+
transfer: new query_21.QueryClientImpl(rpcClient),
|
|
88
|
+
client: new query_22.QueryClientImpl(rpcClient),
|
|
89
|
+
connection: new query_23.QueryClientImpl(rpcClient),
|
|
90
|
+
channel: new query_24.QueryClientImpl(rpcClient),
|
|
101
91
|
};
|
|
102
92
|
}
|
|
103
93
|
getProtobufRpcClient() {
|
|
@@ -644,15 +644,16 @@ class TokenClient {
|
|
|
644
644
|
const geckoIdToUsdPriceMap = yield this.getUSDValuesFromCoinGecko(geckoIds);
|
|
645
645
|
const carbonTokenPrices = yield this.getUSDValuesFromPricingModule();
|
|
646
646
|
const uscStablecoin = this.getNativeStablecoin();
|
|
647
|
+
// add carbon token prices first
|
|
648
|
+
Object.entries(carbonTokenPrices).forEach(([key, value]) => {
|
|
649
|
+
this.usdValues[key] = value;
|
|
650
|
+
});
|
|
647
651
|
//store price based on denoms
|
|
648
652
|
for (const denom of denoms) {
|
|
649
|
-
const carbonTokenPrice = carbonTokenPrices[denom];
|
|
650
653
|
// if token price in pricing module exists for denom, return that as usd price first
|
|
651
654
|
// else check coingecko
|
|
652
|
-
if (
|
|
653
|
-
this.usdValues[denom] = carbonTokenPrice;
|
|
655
|
+
if (this.usdValues[denom])
|
|
654
656
|
continue;
|
|
655
|
-
}
|
|
656
657
|
const coinId = (_a = this.geckoTokenNames[denom]) !== null && _a !== void 0 ? _a : denom;
|
|
657
658
|
const price = util_1.NumberUtils.bnOrZero((_b = geckoIdToUsdPriceMap === null || geckoIdToUsdPriceMap === void 0 ? void 0 : geckoIdToUsdPriceMap[coinId]) === null || _b === void 0 ? void 0 : _b.usd);
|
|
658
659
|
if (price.gt(0)) {
|
|
@@ -168,26 +168,6 @@ export interface QueryTallyResultResponse {
|
|
|
168
168
|
/** tally defines the requested tally. */
|
|
169
169
|
tally?: TallyResult;
|
|
170
170
|
}
|
|
171
|
-
/**
|
|
172
|
-
* QueryGroupsRequest is the Query/Groups request type.
|
|
173
|
-
*
|
|
174
|
-
* Since: cosmos-sdk 0.47.1
|
|
175
|
-
*/
|
|
176
|
-
export interface QueryGroupsRequest {
|
|
177
|
-
/** pagination defines an optional pagination for the request. */
|
|
178
|
-
pagination?: PageRequest;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* QueryGroupsResponse is the Query/Groups response type.
|
|
182
|
-
*
|
|
183
|
-
* Since: cosmos-sdk 0.47.1
|
|
184
|
-
*/
|
|
185
|
-
export interface QueryGroupsResponse {
|
|
186
|
-
/** `groups` is all the groups present in state. */
|
|
187
|
-
groups: GroupInfo[];
|
|
188
|
-
/** pagination defines the pagination in the response. */
|
|
189
|
-
pagination?: PageResponse;
|
|
190
|
-
}
|
|
191
171
|
export declare const QueryGroupInfoRequest: {
|
|
192
172
|
encode(message: QueryGroupInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
193
173
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryGroupInfoRequest;
|
|
@@ -370,20 +350,6 @@ export declare const QueryTallyResultResponse: {
|
|
|
370
350
|
toJSON(message: QueryTallyResultResponse): unknown;
|
|
371
351
|
fromPartial(object: DeepPartial<QueryTallyResultResponse>): QueryTallyResultResponse;
|
|
372
352
|
};
|
|
373
|
-
export declare const QueryGroupsRequest: {
|
|
374
|
-
encode(message: QueryGroupsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
375
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryGroupsRequest;
|
|
376
|
-
fromJSON(object: any): QueryGroupsRequest;
|
|
377
|
-
toJSON(message: QueryGroupsRequest): unknown;
|
|
378
|
-
fromPartial(object: DeepPartial<QueryGroupsRequest>): QueryGroupsRequest;
|
|
379
|
-
};
|
|
380
|
-
export declare const QueryGroupsResponse: {
|
|
381
|
-
encode(message: QueryGroupsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
382
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryGroupsResponse;
|
|
383
|
-
fromJSON(object: any): QueryGroupsResponse;
|
|
384
|
-
toJSON(message: QueryGroupsResponse): unknown;
|
|
385
|
-
fromPartial(object: DeepPartial<QueryGroupsResponse>): QueryGroupsResponse;
|
|
386
|
-
};
|
|
387
353
|
/** Query is the cosmos.group.v1 Query service. */
|
|
388
354
|
export interface Query {
|
|
389
355
|
/** GroupInfo queries group info based on group id. */
|
|
@@ -418,12 +384,6 @@ export interface Query {
|
|
|
418
384
|
* proposal itself.
|
|
419
385
|
*/
|
|
420
386
|
TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
|
|
421
|
-
/**
|
|
422
|
-
* Groups queries all groups in state.
|
|
423
|
-
*
|
|
424
|
-
* Since: cosmos-sdk 0.47.1
|
|
425
|
-
*/
|
|
426
|
-
Groups(request: QueryGroupsRequest): Promise<QueryGroupsResponse>;
|
|
427
387
|
}
|
|
428
388
|
export declare class QueryClientImpl implements Query {
|
|
429
389
|
private readonly rpc;
|
|
@@ -441,7 +401,6 @@ export declare class QueryClientImpl implements Query {
|
|
|
441
401
|
VotesByVoter(request: QueryVotesByVoterRequest): Promise<QueryVotesByVoterResponse>;
|
|
442
402
|
GroupsByMember(request: QueryGroupsByMemberRequest): Promise<QueryGroupsByMemberResponse>;
|
|
443
403
|
TallyResult(request: QueryTallyResultRequest): Promise<QueryTallyResultResponse>;
|
|
444
|
-
Groups(request: QueryGroupsRequest): Promise<QueryGroupsResponse>;
|
|
445
404
|
}
|
|
446
405
|
interface Rpc {
|
|
447
406
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,7 +3,7 @@ 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.QueryClientImpl = exports.
|
|
6
|
+
exports.QueryClientImpl = exports.QueryTallyResultResponse = exports.QueryTallyResultRequest = exports.QueryGroupsByMemberResponse = exports.QueryGroupsByMemberRequest = exports.QueryVotesByVoterResponse = exports.QueryVotesByVoterRequest = exports.QueryVotesByProposalResponse = exports.QueryVotesByProposalRequest = exports.QueryVoteByProposalVoterResponse = exports.QueryVoteByProposalVoterRequest = exports.QueryProposalsByGroupPolicyResponse = exports.QueryProposalsByGroupPolicyRequest = exports.QueryProposalResponse = exports.QueryProposalRequest = exports.QueryGroupPoliciesByAdminResponse = exports.QueryGroupPoliciesByAdminRequest = exports.QueryGroupPoliciesByGroupResponse = exports.QueryGroupPoliciesByGroupRequest = exports.QueryGroupsByAdminResponse = exports.QueryGroupsByAdminRequest = exports.QueryGroupMembersResponse = exports.QueryGroupMembersRequest = exports.QueryGroupPolicyInfoResponse = exports.QueryGroupPolicyInfoRequest = exports.QueryGroupInfoResponse = exports.QueryGroupInfoRequest = 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"));
|
|
@@ -1558,123 +1558,6 @@ exports.QueryTallyResultResponse = {
|
|
|
1558
1558
|
return message;
|
|
1559
1559
|
},
|
|
1560
1560
|
};
|
|
1561
|
-
const baseQueryGroupsRequest = {};
|
|
1562
|
-
exports.QueryGroupsRequest = {
|
|
1563
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1564
|
-
if (message.pagination !== undefined) {
|
|
1565
|
-
pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1566
|
-
}
|
|
1567
|
-
return writer;
|
|
1568
|
-
},
|
|
1569
|
-
decode(input, length) {
|
|
1570
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1571
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1572
|
-
const message = Object.assign({}, baseQueryGroupsRequest);
|
|
1573
|
-
while (reader.pos < end) {
|
|
1574
|
-
const tag = reader.uint32();
|
|
1575
|
-
switch (tag >>> 3) {
|
|
1576
|
-
case 2:
|
|
1577
|
-
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
1578
|
-
break;
|
|
1579
|
-
default:
|
|
1580
|
-
reader.skipType(tag & 7);
|
|
1581
|
-
break;
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
return message;
|
|
1585
|
-
},
|
|
1586
|
-
fromJSON(object) {
|
|
1587
|
-
const message = Object.assign({}, baseQueryGroupsRequest);
|
|
1588
|
-
message.pagination =
|
|
1589
|
-
object.pagination !== undefined && object.pagination !== null
|
|
1590
|
-
? pagination_1.PageRequest.fromJSON(object.pagination)
|
|
1591
|
-
: undefined;
|
|
1592
|
-
return message;
|
|
1593
|
-
},
|
|
1594
|
-
toJSON(message) {
|
|
1595
|
-
const obj = {};
|
|
1596
|
-
message.pagination !== undefined &&
|
|
1597
|
-
(obj.pagination = message.pagination
|
|
1598
|
-
? pagination_1.PageRequest.toJSON(message.pagination)
|
|
1599
|
-
: undefined);
|
|
1600
|
-
return obj;
|
|
1601
|
-
},
|
|
1602
|
-
fromPartial(object) {
|
|
1603
|
-
const message = Object.assign({}, baseQueryGroupsRequest);
|
|
1604
|
-
message.pagination =
|
|
1605
|
-
object.pagination !== undefined && object.pagination !== null
|
|
1606
|
-
? pagination_1.PageRequest.fromPartial(object.pagination)
|
|
1607
|
-
: undefined;
|
|
1608
|
-
return message;
|
|
1609
|
-
},
|
|
1610
|
-
};
|
|
1611
|
-
const baseQueryGroupsResponse = {};
|
|
1612
|
-
exports.QueryGroupsResponse = {
|
|
1613
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1614
|
-
for (const v of message.groups) {
|
|
1615
|
-
types_1.GroupInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1616
|
-
}
|
|
1617
|
-
if (message.pagination !== undefined) {
|
|
1618
|
-
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1619
|
-
}
|
|
1620
|
-
return writer;
|
|
1621
|
-
},
|
|
1622
|
-
decode(input, length) {
|
|
1623
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1624
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1625
|
-
const message = Object.assign({}, baseQueryGroupsResponse);
|
|
1626
|
-
message.groups = [];
|
|
1627
|
-
while (reader.pos < end) {
|
|
1628
|
-
const tag = reader.uint32();
|
|
1629
|
-
switch (tag >>> 3) {
|
|
1630
|
-
case 1:
|
|
1631
|
-
message.groups.push(types_1.GroupInfo.decode(reader, reader.uint32()));
|
|
1632
|
-
break;
|
|
1633
|
-
case 2:
|
|
1634
|
-
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
1635
|
-
break;
|
|
1636
|
-
default:
|
|
1637
|
-
reader.skipType(tag & 7);
|
|
1638
|
-
break;
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
return message;
|
|
1642
|
-
},
|
|
1643
|
-
fromJSON(object) {
|
|
1644
|
-
var _a;
|
|
1645
|
-
const message = Object.assign({}, baseQueryGroupsResponse);
|
|
1646
|
-
message.groups = ((_a = object.groups) !== null && _a !== void 0 ? _a : []).map((e) => types_1.GroupInfo.fromJSON(e));
|
|
1647
|
-
message.pagination =
|
|
1648
|
-
object.pagination !== undefined && object.pagination !== null
|
|
1649
|
-
? pagination_1.PageResponse.fromJSON(object.pagination)
|
|
1650
|
-
: undefined;
|
|
1651
|
-
return message;
|
|
1652
|
-
},
|
|
1653
|
-
toJSON(message) {
|
|
1654
|
-
const obj = {};
|
|
1655
|
-
if (message.groups) {
|
|
1656
|
-
obj.groups = message.groups.map((e) => e ? types_1.GroupInfo.toJSON(e) : undefined);
|
|
1657
|
-
}
|
|
1658
|
-
else {
|
|
1659
|
-
obj.groups = [];
|
|
1660
|
-
}
|
|
1661
|
-
message.pagination !== undefined &&
|
|
1662
|
-
(obj.pagination = message.pagination
|
|
1663
|
-
? pagination_1.PageResponse.toJSON(message.pagination)
|
|
1664
|
-
: undefined);
|
|
1665
|
-
return obj;
|
|
1666
|
-
},
|
|
1667
|
-
fromPartial(object) {
|
|
1668
|
-
var _a;
|
|
1669
|
-
const message = Object.assign({}, baseQueryGroupsResponse);
|
|
1670
|
-
message.groups = ((_a = object.groups) !== null && _a !== void 0 ? _a : []).map((e) => types_1.GroupInfo.fromPartial(e));
|
|
1671
|
-
message.pagination =
|
|
1672
|
-
object.pagination !== undefined && object.pagination !== null
|
|
1673
|
-
? pagination_1.PageResponse.fromPartial(object.pagination)
|
|
1674
|
-
: undefined;
|
|
1675
|
-
return message;
|
|
1676
|
-
},
|
|
1677
|
-
};
|
|
1678
1561
|
class QueryClientImpl {
|
|
1679
1562
|
constructor(rpc) {
|
|
1680
1563
|
this.rpc = rpc;
|
|
@@ -1691,7 +1574,6 @@ class QueryClientImpl {
|
|
|
1691
1574
|
this.VotesByVoter = this.VotesByVoter.bind(this);
|
|
1692
1575
|
this.GroupsByMember = this.GroupsByMember.bind(this);
|
|
1693
1576
|
this.TallyResult = this.TallyResult.bind(this);
|
|
1694
|
-
this.Groups = this.Groups.bind(this);
|
|
1695
1577
|
}
|
|
1696
1578
|
GroupInfo(request) {
|
|
1697
1579
|
const data = exports.QueryGroupInfoRequest.encode(request).finish();
|
|
@@ -1758,11 +1640,6 @@ class QueryClientImpl {
|
|
|
1758
1640
|
const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data);
|
|
1759
1641
|
return promise.then((data) => exports.QueryTallyResultResponse.decode(new minimal_1.default.Reader(data)));
|
|
1760
1642
|
}
|
|
1761
|
-
Groups(request) {
|
|
1762
|
-
const data = exports.QueryGroupsRequest.encode(request).finish();
|
|
1763
|
-
const promise = this.rpc.request("cosmos.group.v1.Query", "Groups", data);
|
|
1764
|
-
return promise.then((data) => exports.QueryGroupsResponse.decode(new minimal_1.default.Reader(data)));
|
|
1765
|
-
}
|
|
1766
1643
|
}
|
|
1767
1644
|
exports.QueryClientImpl = QueryClientImpl;
|
|
1768
1645
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -11,7 +11,6 @@ export interface MsgCreateVestingAccount {
|
|
|
11
11
|
fromAddress: string;
|
|
12
12
|
toAddress: string;
|
|
13
13
|
amount: Coin[];
|
|
14
|
-
/** end of vesting as unix time (in seconds). */
|
|
15
14
|
endTime: Long;
|
|
16
15
|
delayed: boolean;
|
|
17
16
|
}
|
|
@@ -45,7 +44,6 @@ export interface MsgCreatePermanentLockedAccountResponse {
|
|
|
45
44
|
export interface MsgCreatePeriodicVestingAccount {
|
|
46
45
|
fromAddress: string;
|
|
47
46
|
toAddress: string;
|
|
48
|
-
/** start of vesting as unix time (in seconds). */
|
|
49
47
|
startTime: Long;
|
|
50
48
|
vestingPeriods: Period[];
|
|
51
49
|
}
|
|
@@ -12,7 +12,6 @@ export interface BaseVestingAccount {
|
|
|
12
12
|
originalVesting: Coin[];
|
|
13
13
|
delegatedFree: Coin[];
|
|
14
14
|
delegatedVesting: Coin[];
|
|
15
|
-
/** Vesting end time, as unix timestamp (in seconds). */
|
|
16
15
|
endTime: Long;
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
@@ -21,7 +20,6 @@ export interface BaseVestingAccount {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ContinuousVestingAccount {
|
|
23
22
|
baseVestingAccount?: BaseVestingAccount;
|
|
24
|
-
/** Vesting start time, as unix timestamp (in seconds). */
|
|
25
23
|
startTime: Long;
|
|
26
24
|
}
|
|
27
25
|
/**
|
|
@@ -34,7 +32,6 @@ export interface DelayedVestingAccount {
|
|
|
34
32
|
}
|
|
35
33
|
/** Period defines a length of time and amount of coins that will vest. */
|
|
36
34
|
export interface Period {
|
|
37
|
-
/** Period duration in seconds. */
|
|
38
35
|
length: Long;
|
|
39
36
|
amount: Coin[];
|
|
40
37
|
}
|
|
@@ -26,10 +26,6 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
26
26
|
* if (any.is(Foo.class)) {
|
|
27
27
|
* foo = any.unpack(Foo.class);
|
|
28
28
|
* }
|
|
29
|
-
* // or ...
|
|
30
|
-
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
31
|
-
* foo = any.unpack(Foo.getDefaultInstance());
|
|
32
|
-
* }
|
|
33
29
|
*
|
|
34
30
|
* Example 3: Pack and unpack a message in Python.
|
|
35
31
|
*
|
|
@@ -60,6 +56,7 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
60
56
|
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
61
57
|
* name "y.z".
|
|
62
58
|
*
|
|
59
|
+
*
|
|
63
60
|
* JSON
|
|
64
61
|
*
|
|
65
62
|
* The JSON representation of an `Any` value uses the regular
|
|
@@ -52,6 +52,7 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
52
52
|
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
53
53
|
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
54
54
|
*
|
|
55
|
+
*
|
|
55
56
|
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
56
57
|
*
|
|
57
58
|
* Instant now = Instant.now();
|
|
@@ -60,6 +61,7 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
60
61
|
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
61
62
|
* .setNanos(now.getNano()).build();
|
|
62
63
|
*
|
|
64
|
+
*
|
|
63
65
|
* Example 6: Compute Timestamp from current time in Python.
|
|
64
66
|
*
|
|
65
67
|
* timestamp = Timestamp()
|
package/lib/codec/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Registry } from "@cosmjs/proto-signing";
|
|
2
2
|
export * from './cosmos-models';
|
|
3
|
-
export * as Ethermint from './ethermint-models';
|
|
4
3
|
export * as IBC from './ibc-models';
|
|
5
4
|
export * as PolyNetwork from './polynetwork-models';
|
|
6
5
|
export declare const registry: Registry;
|
|
@@ -419,12 +418,6 @@ export declare const TxTypes: {
|
|
|
419
418
|
MsgUpdateTokenPriceOracle: string;
|
|
420
419
|
MsgUpdateTokenPriceOracleResponse: string;
|
|
421
420
|
SettlementPriceProposal: string;
|
|
422
|
-
MsgLockproxyCreate: string;
|
|
423
|
-
MsgLockproxyCreateResponse: string;
|
|
424
|
-
MsgLockproxyBind: string;
|
|
425
|
-
MsgLockproxyBindResponse: string;
|
|
426
|
-
MsgLockproxyLock: string;
|
|
427
|
-
MsgLockproxyLockResponse: string;
|
|
428
421
|
MsgSetWrapperMapping: string;
|
|
429
422
|
MsgSetWrapperMappingResponse: string;
|
|
430
423
|
MsgDeleteWrapperMapping: string;
|
|
@@ -539,6 +532,3 @@ export { QueryPriceTokenRequest, QueryPriceTokenResponse, QueryPriceSetRequest,
|
|
|
539
532
|
export { ParamsV2130 } from "./pricing/legacy";
|
|
540
533
|
export { PriceUpdateEvent, TokenPriceUpdateEvent, SetImpactBandEvent, SetSmoothenBandEvent, SetStaleIndexAllowanceEvent, SetBackfillTimeIntervalEvent } from "./pricing/event";
|
|
541
534
|
export { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx";
|
|
542
|
-
export declare const EIP712Types: {
|
|
543
|
-
[index: string]: any;
|
|
544
|
-
};
|