coreum-js 2.17.3 → 2.17.5
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.
|
@@ -45,7 +45,7 @@ export declare function timeInForceToJSON(object: TimeInForce): string;
|
|
|
45
45
|
/** GoodTil is a good til order settings. */
|
|
46
46
|
export interface GoodTil {
|
|
47
47
|
/** good_til_block_height means that order remains active until a specific blockchain block height is reached. */
|
|
48
|
-
goodTilBlockHeight: number;
|
|
48
|
+
goodTilBlockHeight: number | undefined;
|
|
49
49
|
/** good_til_block_time means that order remains active until a specific blockchain block time is reached. */
|
|
50
50
|
goodTilBlockTime: Date | undefined;
|
|
51
51
|
}
|
|
@@ -5,6 +5,7 @@ import { setupNFTBetaExtension } from "../coreum/extensions/nftbeta";
|
|
|
5
5
|
import { FeegrantExtension, IbcExtension } from "@cosmjs/stargate/build/modules";
|
|
6
6
|
import { WasmExtension } from "@cosmjs/cosmwasm-stargate";
|
|
7
7
|
import { setupBankExtension, setupGovExtension, setupDistributionExtension } from "../cosmos/extensions";
|
|
8
|
+
import { setupDexExtension } from "../coreum/extensions/dex";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare enum CoreumTypeUrl {
|
|
10
11
|
NFT = "/coreum.asset.nft.v1.",
|
|
@@ -19,6 +20,7 @@ export interface ClientQueryClient extends QueryClient {
|
|
|
19
20
|
bank: ReturnType<typeof setupBankExtension>["bank"];
|
|
20
21
|
gov: ReturnType<typeof setupGovExtension>["gov"];
|
|
21
22
|
distribution: ReturnType<typeof setupDistributionExtension>["distribution"];
|
|
23
|
+
dex: ReturnType<typeof setupDexExtension>["dex"];
|
|
22
24
|
staking: StakingExtension["staking"];
|
|
23
25
|
auth: AuthExtension["auth"];
|
|
24
26
|
mint: MintExtension["mint"];
|
|
@@ -31,9 +31,9 @@ exports.COREUM_CONFIG = {
|
|
|
31
31
|
chain_name: "Coreum",
|
|
32
32
|
chain_id: CoreumChainID.MAINNET,
|
|
33
33
|
chain_bech32_prefix: CoreumPrefixes.MAINNET,
|
|
34
|
-
chain_rpc_endpoint: "https://full-node
|
|
35
|
-
chain_rest_endpoint: "https://full-node
|
|
36
|
-
chain_ws_endpoint: "wss://full-node
|
|
34
|
+
chain_rpc_endpoint: "https://full-node.mainnet-1.coreum.dev:26657",
|
|
35
|
+
chain_rest_endpoint: "https://full-node.mainnet-1.coreum.dev:1317",
|
|
36
|
+
chain_ws_endpoint: "wss://full-node.mainnet-1.coreum.dev:26657",
|
|
37
37
|
chain_explorer: "https://explorer.mainnet-1.coreum.dev",
|
|
38
38
|
staking_denom: CoreumDenom.MAINNET,
|
|
39
39
|
coin_type: "990",
|
|
@@ -45,7 +45,7 @@ export declare function timeInForceToJSON(object: TimeInForce): string;
|
|
|
45
45
|
/** GoodTil is a good til order settings. */
|
|
46
46
|
export interface GoodTil {
|
|
47
47
|
/** good_til_block_height means that order remains active until a specific blockchain block height is reached. */
|
|
48
|
-
goodTilBlockHeight: number;
|
|
48
|
+
goodTilBlockHeight: number | undefined;
|
|
49
49
|
/** good_til_block_time means that order remains active until a specific blockchain block time is reached. */
|
|
50
50
|
goodTilBlockTime: Date | undefined;
|
|
51
51
|
}
|
|
@@ -5,6 +5,7 @@ import { setupNFTBetaExtension } from "../coreum/extensions/nftbeta";
|
|
|
5
5
|
import { FeegrantExtension, IbcExtension } from "@cosmjs/stargate/build/modules";
|
|
6
6
|
import { WasmExtension } from "@cosmjs/cosmwasm-stargate";
|
|
7
7
|
import { setupBankExtension, setupGovExtension, setupDistributionExtension } from "../cosmos/extensions";
|
|
8
|
+
import { setupDexExtension } from "../coreum/extensions/dex";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export declare enum CoreumTypeUrl {
|
|
10
11
|
NFT = "/coreum.asset.nft.v1.",
|
|
@@ -19,6 +20,7 @@ export interface ClientQueryClient extends QueryClient {
|
|
|
19
20
|
bank: ReturnType<typeof setupBankExtension>["bank"];
|
|
20
21
|
gov: ReturnType<typeof setupGovExtension>["gov"];
|
|
21
22
|
distribution: ReturnType<typeof setupDistributionExtension>["distribution"];
|
|
23
|
+
dex: ReturnType<typeof setupDexExtension>["dex"];
|
|
22
24
|
staking: StakingExtension["staking"];
|
|
23
25
|
auth: AuthExtension["auth"];
|
|
24
26
|
mint: MintExtension["mint"];
|
|
@@ -28,9 +28,9 @@ export const COREUM_CONFIG = {
|
|
|
28
28
|
chain_name: "Coreum",
|
|
29
29
|
chain_id: CoreumChainID.MAINNET,
|
|
30
30
|
chain_bech32_prefix: CoreumPrefixes.MAINNET,
|
|
31
|
-
chain_rpc_endpoint: "https://full-node
|
|
32
|
-
chain_rest_endpoint: "https://full-node
|
|
33
|
-
chain_ws_endpoint: "wss://full-node
|
|
31
|
+
chain_rpc_endpoint: "https://full-node.mainnet-1.coreum.dev:26657",
|
|
32
|
+
chain_rest_endpoint: "https://full-node.mainnet-1.coreum.dev:1317",
|
|
33
|
+
chain_ws_endpoint: "wss://full-node.mainnet-1.coreum.dev:26657",
|
|
34
34
|
chain_explorer: "https://explorer.mainnet-1.coreum.dev",
|
|
35
35
|
staking_denom: CoreumDenom.MAINNET,
|
|
36
36
|
coin_type: "990",
|