@injectivelabs/sdk-ts 1.17.2-alpha.8 → 1.17.2-alpha.9
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/dist/cjs/{ChainGrpcExchangeApi-VVmtAGW5.cjs → ChainGrpcExchangeApi-DLpkgEyg.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-CW49Mtmx.cjs → ChainRestTendermintApi-BiZOeKcG.cjs} +1 -1
- package/dist/cjs/{DirectEthSecp256k1Wallet-Chd5kOwo.cjs → DirectEthSecp256k1Wallet-CU18lti3.cjs} +2 -2
- package/dist/cjs/{ExecArgNeptuneWithdraw-BqrKFTTp.cjs → ExecArgNeptuneWithdraw-DOHeo3AJ.cjs} +6 -6
- package/dist/cjs/{IndexerGrpcAccountPortfolioStream-CGaNa5R7.cjs → IndexerGrpcAccountPortfolioStream-DO5_FF4l.cjs} +2 -2
- package/dist/cjs/{IndexerGrpcWeb3GwApi-RL0sxzNw.cjs → IndexerGrpcWeb3GwApi-BgWT2tWK.cjs} +6 -6
- package/dist/cjs/{MsgBase-BJ1-Qh5c.cjs → MsgBase-DqOmzCyS.cjs} +1 -0
- package/dist/cjs/{MsgSetDenomMetadata-BzFtwh7v.cjs → MsgSetDenomMetadata-CUoGqV8P.cjs} +9 -9
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-t-5fuyN_.cjs → QueryTradingStrategyContractTotalStrategies-Bh8AXm4k.cjs} +3 -3
- package/dist/cjs/{accounts-DC6uKJZm.cjs → accounts-CXaUasU5.cjs} +6 -6
- package/dist/cjs/{chain-CdI97AzZ.cjs → chain-Cs9sNuT1.cjs} +2 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +1 -1
- package/dist/cjs/client/indexer.cjs +3 -3
- package/dist/cjs/client/indexer.d.cts +1 -1
- package/dist/cjs/client/wasm.cjs +7 -7
- package/dist/cjs/core/accounts.cjs +3 -3
- package/dist/cjs/core/accounts.d.cts +1 -1
- package/dist/cjs/core/modules.cjs +9 -9
- package/dist/cjs/core/modules.d.cts +1 -1
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +1 -1
- package/dist/cjs/cosmjs.cjs +7 -7
- package/dist/cjs/exports.cjs +7 -7
- package/dist/cjs/{index-9KV6P3U_.d.cts → index-1Wy-0PTh.d.cts} +20 -4
- package/dist/cjs/index.cjs +16 -14
- package/dist/cjs/index.d.cts +2 -2
- package/dist/cjs/{service-Do5zpuEu.cjs → service-DcwwCSxu.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/{tx-D51SCHxX.cjs → tx-Cn0j2SRh.cjs} +4 -4
- package/dist/cjs/{utils-CaAHoOvO.cjs → utils-V1uXtT51.cjs} +115 -81
- package/dist/cjs/utils.cjs +3 -1
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{ChainGrpcExchangeApi-CDMDxAJf.js → ChainGrpcExchangeApi-C-2XsVVs.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-Cy7hYJYp.js → ChainRestTendermintApi-CMrAg0Zm.js} +1 -1
- package/dist/esm/{DirectEthSecp256k1Wallet-VC6TDitT.js → DirectEthSecp256k1Wallet-a9KiF9fA.js} +2 -2
- package/dist/esm/{ExecArgNeptuneWithdraw-yQxlQZWQ.js → ExecArgNeptuneWithdraw-DEljIeLd.js} +6 -6
- package/dist/esm/{IndexerGrpcAccountPortfolioStream-BOLdMeVd.js → IndexerGrpcAccountPortfolioStream-3AGGiB1c.js} +2 -2
- package/dist/esm/{IndexerGrpcWeb3GwApi-BngLjriD.js → IndexerGrpcWeb3GwApi-CtUYowus.js} +6 -6
- package/dist/esm/{MsgBase-aKq3ln6R.js → MsgBase-BkRgVbdY.js} +1 -0
- package/dist/esm/{MsgSetDenomMetadata-CTc1ec1M.js → MsgSetDenomMetadata-BhJMebO9.js} +9 -9
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DnsH6JLf.js → QueryTradingStrategyContractTotalStrategies-7IjWZLsc.js} +3 -3
- package/dist/esm/{accounts-DXee44Zk.js → accounts-DFC9RYDH.js} +6 -6
- package/dist/esm/{chain-BquCFi0h.js → chain-phKWVf8c.js} +2 -2
- package/dist/esm/client/chain.d.ts +1 -1
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +1 -1
- package/dist/esm/client/indexer.js +3 -3
- package/dist/esm/client/wasm.js +7 -7
- package/dist/esm/core/accounts.d.ts +1 -1
- package/dist/esm/core/accounts.js +3 -3
- package/dist/esm/core/modules.d.ts +1 -1
- package/dist/esm/core/modules.js +9 -9
- package/dist/esm/core/tx.d.ts +1 -1
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +7 -7
- package/dist/esm/exports.js +7 -7
- package/dist/esm/{index-CIU3qLo9.d.ts → index-IV55OZfT.d.ts} +20 -4
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +14 -14
- package/dist/esm/{service-DYSaTvVz.js → service-CoINtWpF.js} +1 -1
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-B9VusHOP.js → tx-CcaVBSym.js} +4 -4
- package/dist/esm/{utils-DlnuXIe8.js → utils-DwGoPRTL.js} +104 -82
- package/dist/esm/utils.d.ts +2 -2
- package/dist/esm/utils.js +2 -2
- package/package.json +5 -5
|
@@ -8,6 +8,108 @@ let __noble_hashes_legacy = require("@noble/hashes/legacy");
|
|
|
8
8
|
let __injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/base/query/v1beta1/pagination_pb");
|
|
9
9
|
__injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb);
|
|
10
10
|
|
|
11
|
+
//#region src/utils/helpers.ts
|
|
12
|
+
const isServerSide = () => typeof window === "undefined";
|
|
13
|
+
const isReactNative = () => {
|
|
14
|
+
return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
15
|
+
};
|
|
16
|
+
const isNode = () => {
|
|
17
|
+
if (typeof window === "undefined") return true;
|
|
18
|
+
return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
|
|
19
|
+
};
|
|
20
|
+
const isBrowser = () => {
|
|
21
|
+
if (isReactNative()) return false;
|
|
22
|
+
if (isNode()) return false;
|
|
23
|
+
return typeof window !== "undefined";
|
|
24
|
+
};
|
|
25
|
+
const objectToJson = (object, params) => {
|
|
26
|
+
const { replacer, indentation } = params || {
|
|
27
|
+
replacer: void 0,
|
|
28
|
+
indentation: 2
|
|
29
|
+
};
|
|
30
|
+
return safeBigIntStringify(object, replacer, indentation);
|
|
31
|
+
};
|
|
32
|
+
const protoObjectToJson = (object, params) => {
|
|
33
|
+
const { replacer, indentation } = params || {
|
|
34
|
+
replacer: void 0,
|
|
35
|
+
indentation: 2
|
|
36
|
+
};
|
|
37
|
+
if (object.toObject !== void 0) return safeBigIntStringify(object.toObject(), replacer, indentation);
|
|
38
|
+
return objectToJson(object, {
|
|
39
|
+
replacer,
|
|
40
|
+
indentation
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const grpcCoinToUiCoin = (coin) => ({
|
|
44
|
+
amount: coin.amount,
|
|
45
|
+
denom: coin.denom
|
|
46
|
+
});
|
|
47
|
+
const sortObjectByKeysWithReduce = (obj) => {
|
|
48
|
+
if (typeof obj !== "object" || obj === null) return obj;
|
|
49
|
+
if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
|
|
50
|
+
return Object.keys(obj).sort().reduce((sorted, k) => {
|
|
51
|
+
const key = k;
|
|
52
|
+
sorted[key] = sortObjectByKeysWithReduce(obj[key]);
|
|
53
|
+
return sorted;
|
|
54
|
+
}, {});
|
|
55
|
+
};
|
|
56
|
+
const sortObjectByKeys = (obj) => {
|
|
57
|
+
if (typeof obj !== "object" || obj === null) return obj;
|
|
58
|
+
if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
|
|
59
|
+
const sortedKeys = Object.keys(obj).sort();
|
|
60
|
+
const result = {};
|
|
61
|
+
sortedKeys.forEach((key) => {
|
|
62
|
+
result[key] = sortObjectByKeys(obj[key]);
|
|
63
|
+
});
|
|
64
|
+
return result;
|
|
65
|
+
};
|
|
66
|
+
const getErrorMessage = (error, endpoint) => {
|
|
67
|
+
if (!error.response) return `The request to ${endpoint} has failed.`;
|
|
68
|
+
return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Converts value to it's number representation
|
|
72
|
+
*/
|
|
73
|
+
const hexToNumber = (value) => {
|
|
74
|
+
const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
|
|
75
|
+
const num = BigInt(hexValue);
|
|
76
|
+
if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
|
|
77
|
+
if (num < Number.MIN_SAFE_INTEGER) return Number(num);
|
|
78
|
+
return negative ? -1 * Number(num) : Number(num);
|
|
79
|
+
};
|
|
80
|
+
function isJsonString(str) {
|
|
81
|
+
if (typeof str !== "string") return false;
|
|
82
|
+
try {
|
|
83
|
+
JSON.parse(str);
|
|
84
|
+
} catch (_unused) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* BigInt-safe JSON replacer function.
|
|
91
|
+
* Converts BigInt values to strings during JSON serialization.
|
|
92
|
+
*/
|
|
93
|
+
const bigIntReplacer = (_key, value) => typeof value === "bigint" ? value.toString() : value;
|
|
94
|
+
/**
|
|
95
|
+
* Stringify an object to JSON with BigInt support.
|
|
96
|
+
* Converts BigInt values to strings during serialization to prevent
|
|
97
|
+
* "Do not know how to serialize a BigInt" errors.
|
|
98
|
+
*
|
|
99
|
+
* @param value - The value to serialize
|
|
100
|
+
* @param replacer - Optional custom replacer function (BigInt handling is applied first)
|
|
101
|
+
* @param space - Optional indentation for pretty printing
|
|
102
|
+
* @returns JSON string
|
|
103
|
+
*/
|
|
104
|
+
const safeBigIntStringify = (value, replacer, space) => {
|
|
105
|
+
const combinedReplacer = (key, val) => {
|
|
106
|
+
const bigIntHandled = bigIntReplacer(key, val);
|
|
107
|
+
return replacer ? replacer(key, bigIntHandled) : bigIntHandled;
|
|
108
|
+
};
|
|
109
|
+
return JSON.stringify(value, combinedReplacer, space);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
//#endregion
|
|
11
113
|
//#region src/utils/encoding.ts
|
|
12
114
|
/**
|
|
13
115
|
* Encoding/decoding utilities using industry-standard libraries
|
|
@@ -146,7 +248,7 @@ function binaryToBase64(data) {
|
|
|
146
248
|
* @returns Base64 encoded string
|
|
147
249
|
*/
|
|
148
250
|
function toBase64(data) {
|
|
149
|
-
return uint8ArrayToBase64(stringToUint8Array(
|
|
251
|
+
return uint8ArrayToBase64(stringToUint8Array(safeBigIntStringify(data)));
|
|
150
252
|
}
|
|
151
253
|
/**
|
|
152
254
|
* Convert a base64 string to JSON object
|
|
@@ -463,86 +565,6 @@ const TypedDataUtilsSanitizeData = sanitizeTypedData;
|
|
|
463
565
|
const TypedDataUtilsHashStruct = hashStruct;
|
|
464
566
|
const SignTypedDataVersionV4 = "V4";
|
|
465
567
|
|
|
466
|
-
//#endregion
|
|
467
|
-
//#region src/utils/helpers.ts
|
|
468
|
-
const isServerSide = () => typeof window === "undefined";
|
|
469
|
-
const isReactNative = () => {
|
|
470
|
-
return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
471
|
-
};
|
|
472
|
-
const isNode = () => {
|
|
473
|
-
if (typeof window === "undefined") return true;
|
|
474
|
-
return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
|
|
475
|
-
};
|
|
476
|
-
const isBrowser = () => {
|
|
477
|
-
if (isReactNative()) return false;
|
|
478
|
-
if (isNode()) return false;
|
|
479
|
-
return typeof window !== "undefined";
|
|
480
|
-
};
|
|
481
|
-
const objectToJson = (object, params) => {
|
|
482
|
-
const { replacer, indentation } = params || {
|
|
483
|
-
replacer: null,
|
|
484
|
-
indentation: 2
|
|
485
|
-
};
|
|
486
|
-
return JSON.stringify(object, replacer, indentation);
|
|
487
|
-
};
|
|
488
|
-
const protoObjectToJson = (object, params) => {
|
|
489
|
-
const { replacer, indentation } = params || {
|
|
490
|
-
replacer: null,
|
|
491
|
-
indentation: 2
|
|
492
|
-
};
|
|
493
|
-
if (object.toObject !== void 0) return JSON.stringify(object.toObject(), replacer, indentation);
|
|
494
|
-
return objectToJson(object, {
|
|
495
|
-
replacer,
|
|
496
|
-
indentation
|
|
497
|
-
});
|
|
498
|
-
};
|
|
499
|
-
const grpcCoinToUiCoin = (coin) => ({
|
|
500
|
-
amount: coin.amount,
|
|
501
|
-
denom: coin.denom
|
|
502
|
-
});
|
|
503
|
-
const sortObjectByKeysWithReduce = (obj) => {
|
|
504
|
-
if (typeof obj !== "object" || obj === null) return obj;
|
|
505
|
-
if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
|
|
506
|
-
return Object.keys(obj).sort().reduce((sorted, k) => {
|
|
507
|
-
const key = k;
|
|
508
|
-
sorted[key] = sortObjectByKeysWithReduce(obj[key]);
|
|
509
|
-
return sorted;
|
|
510
|
-
}, {});
|
|
511
|
-
};
|
|
512
|
-
const sortObjectByKeys = (obj) => {
|
|
513
|
-
if (typeof obj !== "object" || obj === null) return obj;
|
|
514
|
-
if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
|
|
515
|
-
const sortedKeys = Object.keys(obj).sort();
|
|
516
|
-
const result = {};
|
|
517
|
-
sortedKeys.forEach((key) => {
|
|
518
|
-
result[key] = sortObjectByKeys(obj[key]);
|
|
519
|
-
});
|
|
520
|
-
return result;
|
|
521
|
-
};
|
|
522
|
-
const getErrorMessage = (error, endpoint) => {
|
|
523
|
-
if (!error.response) return `The request to ${endpoint} has failed.`;
|
|
524
|
-
return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* Converts value to it's number representation
|
|
528
|
-
*/
|
|
529
|
-
const hexToNumber = (value) => {
|
|
530
|
-
const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
|
|
531
|
-
const num = BigInt(hexValue);
|
|
532
|
-
if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
|
|
533
|
-
if (num < Number.MIN_SAFE_INTEGER) return Number(num);
|
|
534
|
-
return negative ? -1 * Number(num) : Number(num);
|
|
535
|
-
};
|
|
536
|
-
function isJsonString(str) {
|
|
537
|
-
if (typeof str !== "string") return false;
|
|
538
|
-
try {
|
|
539
|
-
JSON.parse(str);
|
|
540
|
-
} catch (_unused) {
|
|
541
|
-
return false;
|
|
542
|
-
}
|
|
543
|
-
return true;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
568
|
//#endregion
|
|
547
569
|
//#region src/utils/numbers.ts
|
|
548
570
|
const $BigNumber = __injectivelabs_utils.BigNumber.clone({ ROUNDING_MODE: __injectivelabs_utils.BigNumber.ROUND_DOWN });
|
|
@@ -1182,6 +1204,12 @@ Object.defineProperty(exports, 'base64ToUtf8', {
|
|
|
1182
1204
|
return base64ToUtf8;
|
|
1183
1205
|
}
|
|
1184
1206
|
});
|
|
1207
|
+
Object.defineProperty(exports, 'bigIntReplacer', {
|
|
1208
|
+
enumerable: true,
|
|
1209
|
+
get: function () {
|
|
1210
|
+
return bigIntReplacer;
|
|
1211
|
+
}
|
|
1212
|
+
});
|
|
1185
1213
|
Object.defineProperty(exports, 'binaryToBase64', {
|
|
1186
1214
|
enumerable: true,
|
|
1187
1215
|
get: function () {
|
|
@@ -1656,6 +1684,12 @@ Object.defineProperty(exports, 'ripemd160', {
|
|
|
1656
1684
|
return ripemd160;
|
|
1657
1685
|
}
|
|
1658
1686
|
});
|
|
1687
|
+
Object.defineProperty(exports, 'safeBigIntStringify', {
|
|
1688
|
+
enumerable: true,
|
|
1689
|
+
get: function () {
|
|
1690
|
+
return safeBigIntStringify;
|
|
1691
|
+
}
|
|
1692
|
+
});
|
|
1659
1693
|
Object.defineProperty(exports, 'sanitizeTypedData', {
|
|
1660
1694
|
enumerable: true,
|
|
1661
1695
|
get: function () {
|
package/dist/cjs/utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_utils = require('./utils-
|
|
2
|
+
const require_utils = require('./utils-V1uXtT51.cjs');
|
|
3
3
|
const require_time = require('./time-B4xLc27Y.cjs');
|
|
4
4
|
const require_grpc = require('./grpc-DQDVCGpY.cjs');
|
|
5
5
|
let __protobuf_ts_grpcweb_transport = require("@protobuf-ts/grpcweb-transport");
|
|
@@ -20,6 +20,7 @@ exports.addHexPrefix = require_utils.addHexPrefix;
|
|
|
20
20
|
exports.amountToCosmosSdkDecAmount = require_utils.amountToCosmosSdkDecAmount;
|
|
21
21
|
exports.base64ToUint8Array = require_utils.base64ToUint8Array;
|
|
22
22
|
exports.base64ToUtf8 = require_utils.base64ToUtf8;
|
|
23
|
+
exports.bigIntReplacer = require_utils.bigIntReplacer;
|
|
23
24
|
exports.binaryToBase64 = require_utils.binaryToBase64;
|
|
24
25
|
exports.concatUint8Arrays = require_utils.concatUint8Arrays;
|
|
25
26
|
exports.cosmosSdkDecToBigNumber = require_utils.cosmosSdkDecToBigNumber;
|
|
@@ -107,6 +108,7 @@ exports.publicKeyToAddress = require_utils.publicKeyToAddress;
|
|
|
107
108
|
exports.recoverTypedSignaturePubKey = require_utils.recoverTypedSignaturePubKey;
|
|
108
109
|
exports.removeHexPrefix = require_utils.removeHexPrefix;
|
|
109
110
|
exports.ripemd160 = require_utils.ripemd160;
|
|
111
|
+
exports.safeBigIntStringify = require_utils.safeBigIntStringify;
|
|
110
112
|
exports.sanitizeTypedData = require_utils.sanitizeTypedData;
|
|
111
113
|
exports.sha256 = require_utils.sha256;
|
|
112
114
|
exports.sortObjectByKeys = require_utils.sortObjectByKeys;
|
package/dist/cjs/utils.d.cts
CHANGED
|
@@ -2,9 +2,9 @@ import "./tx_pb-tECSPcSB.cjs";
|
|
|
2
2
|
import "./BaseGrpcConsumer-PDufF0fz.cjs";
|
|
3
3
|
import "./index-B19YRG03.cjs";
|
|
4
4
|
import "./any_pb-CP-3DVyl.cjs";
|
|
5
|
-
import { $c as cosmosSdkDecToBigNumber, $l as
|
|
5
|
+
import { $c as cosmosSdkDecToBigNumber, $l as TypedDataUtilsSanitizeData, Ac as hexToBuff, Al as spotPriceFromChainPriceToFixed, Bc as getChecksumAddress, Bl as hexToNumber, Cc as base64ToUint8Array, Cl as formatPriceToAllowablePrice, Dc as fromBase64, Dl as isNumber, Ec as concatUint8Arrays, El as getTensMultiplier, Fc as uint8ArrayToBase64, Fl as spotQuantityToChainQuantity, Gc as getSubaccountId, Gl as isServerSide, Hc as getEthereumAddress, Hl as isJsonString, Ic as uint8ArrayToHex, Il as spotQuantityToChainQuantityToFixed, Jc as getDerivativeMarketDecimals, Jl as safeBigIntStringify, Kc as isCw20ContractAddress, Kl as objectToJson, Lc as uint8ArrayToString, Ll as bigIntReplacer, Mc as stringToUint8Array, Ml as spotPriceToChainPriceToFixed, Nc as toBase64, Nl as spotQuantityFromChainQuantity, Oc as fromUtf8, Ol as numberToCosmosSdkDecString, Pc as toUtf8, Pl as spotQuantityFromChainQuantityToFixed, Qc as amountToCosmosSdkDecAmount, Ql as TypedDataUtilsHashStruct, Rc as addHexPrefix, Rl as getErrorMessage, Sc as DEFAULT_DERIVATION_PATH, Sl as formatPriceToAllowableDecimals, Su as protobufTimestampToUnixSeconds, Tc as binaryToBase64, Tl as getSignificantDecimalsFromNumber, Uc as getInjectiveAddress, Ul as isNode, Vc as getDefaultSubaccountId, Vl as isBrowser, Wc as getInjectiveAddressFromSubaccountId, Wl as isReactNative, Xc as getSpotMarketDecimals, Xl as sortObjectByKeysWithReduce, Yc as getDerivativeMarketTensMultiplier, Yl as sortObjectByKeys, Zc as getSpotMarketTensMultiplier, Zl as SignTypedDataVersionV4, _c as BECH32_ADDR_CONS_PREFIX, _l as derivativeQuantityToChainQuantityToFixed, _u as getGasPriceBasedOnMessage, al as denomAmountToGrpcChainDenomAmount, au as privateKeyHashToPublicKey, bc as BECH32_PUBKEY_CONS_PREFIX, bl as formatNumberToAllowableDecimals, bu as protobufTimestampToDate, cc as recoverTypedSignaturePubKey, cl as derivativeMarginToChainMargin, cu as privateKeyToPublicKeyBase64, dc as grpcPagingToPaging, dl as derivativePriceFromChainPriceToFixed, du as sanitizeTypedData, el as denomAmountFromChainDenomAmount, eu as TypedMessageV4, fc as grpcPagingToPagingV2, fl as derivativePriceToChainPrice, fu as sha256, gc as BECH32_ADDR_ACC_PREFIX, gl as derivativeQuantityToChainQuantity, gu as GrpcWebFetchTransport, hc as paginationUint8ArrayToString, hl as derivativeQuantityFromChainQuantityToFixed, hu as getGrpcWebTransport, il as denomAmountToChainDenomAmountToFixed, iu as messageHash, jc as hexToUint8Array, jl as spotPriceToChainPrice, kc as hexToBase64, kl as spotPriceFromChainPrice, lc as fetchAllWithPagination, ll as derivativeMarginToChainMarginToFixed, lu as publicKeyToAddress, mc as paginationRequestFromPagination, ml as derivativeQuantityFromChainQuantity, mu as ofacList, nl as denomAmountFromGrpcChainDenomAmount, nu as domainHash, ol as derivativeMarginFromChainMargin, ou as privateKeyHashToPublicKeyBase64, pc as pageRequestToGrpcPageRequestV2, pl as derivativePriceToChainPriceToFixed, pu as parseCoins, qc as removeHexPrefix, ql as protoObjectToJson, rl as denomAmountToChainDenomAmount, ru as hashToHex, sl as derivativeMarginFromChainMarginToFixed, su as privateKeyToPublicKey, tl as denomAmountFromChainDenomAmountToFixed, tu as decompressPubKey, uc as grpcPaginationToPagination, ul as derivativePriceFromChainPrice, uu as ripemd160, vc as BECH32_ADDR_VAL_PREFIX, vl as formatAmountToAllowableAmount, vu as makeTimeoutTimestamp, wc as base64ToUtf8, wl as getExactDecimalsFromNumber, xc as BECH32_PUBKEY_VAL_PREFIX, xl as formatNumberToAllowableTensMultiplier, xu as protobufTimestampToUnixMs, yc as BECH32_PUBKEY_ACC_PREFIX, yl as formatAmountToAllowableDecimals, yu as makeTimeoutTimestampInNs, zc as getAddressFromInjectiveAddress, zl as grpcCoinToUiCoin } from "./index-1Wy-0PTh.cjs";
|
|
6
6
|
import "./index-D4uWOVE5.cjs";
|
|
7
7
|
import "./index-Cqfc1ppG.cjs";
|
|
8
8
|
import "./index-CKBod1ba.cjs";
|
|
9
9
|
import "./index-Cc5Q73-y.cjs";
|
|
10
|
-
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, binaryToBase64, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
10
|
+
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, binaryToBase64, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as denomAmountFromGrpcChainDenomAmount } from "./utils-
|
|
1
|
+
import { O as denomAmountFromGrpcChainDenomAmount } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { o as ChainModule } from "./ChainRestTendermintApi-
|
|
3
|
+
import { o as ChainModule } from "./ChainRestTendermintApi-CMrAg0Zm.js";
|
|
4
4
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
|
|
5
5
|
import { toHumanReadable } from "@injectivelabs/utils";
|
|
6
6
|
import * as InjectiveExchangeV1Beta1QueryPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jt as uint8ArrayToString, Kt as uint8ArrayToBase64, l as ChainGrpcCommonTransformer } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
3
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
|
|
4
4
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
|
package/dist/esm/{DirectEthSecp256k1Wallet-VC6TDitT.js → DirectEthSecp256k1Wallet-a9KiF9fA.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Kt as
|
|
1
|
+
import { Kt as uint8ArrayToBase64, Pt as base64ToUint8Array, qt as uint8ArrayToHex } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { O as getPublicKey, P as PublicKey, n as PrivateKey } from "./accounts-
|
|
3
|
+
import { O as getPublicKey, P as PublicKey, n as PrivateKey } from "./accounts-DFC9RYDH.js";
|
|
4
4
|
import * as CosmosBaseV1Beta1CoinPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/base/v1beta1/coin_pb";
|
|
5
5
|
import * as InjectiveTypesV1Beta1AccountPb from "@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb";
|
|
6
6
|
import * as IbcCoreClientV1ClientPb from "@injectivelabs/core-proto-ts-v2/generated/ibc/core/client/v1/client_pb";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wt as toBase64, on as safeBigIntStringify, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { t as MsgBase } from "./MsgBase-
|
|
3
|
+
import { t as MsgBase } from "./MsgBase-BkRgVbdY.js";
|
|
4
4
|
import { GeneralException } from "@injectivelabs/exceptions";
|
|
5
5
|
import * as InjectiveWasmxV1TxPb from "@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb";
|
|
6
6
|
|
|
@@ -14,10 +14,10 @@ var ExecArgBase = class {
|
|
|
14
14
|
this.params = params;
|
|
15
15
|
}
|
|
16
16
|
toJSON() {
|
|
17
|
-
return fromUtf8(
|
|
17
|
+
return fromUtf8(safeBigIntStringify(this.params));
|
|
18
18
|
}
|
|
19
19
|
toExecJSON() {
|
|
20
|
-
return fromUtf8(
|
|
20
|
+
return fromUtf8(safeBigIntStringify(this.toExecData()));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -54,7 +54,7 @@ var MsgExecuteContractCompat = class MsgExecuteContractCompat extends MsgBase {
|
|
|
54
54
|
return InjectiveWasmxV1TxPb.MsgExecuteContractCompat.create({
|
|
55
55
|
sender: params.sender,
|
|
56
56
|
contract: params.contractAddress,
|
|
57
|
-
msg:
|
|
57
|
+
msg: safeBigIntStringify(msg),
|
|
58
58
|
funds
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -72,7 +72,7 @@ var MsgExecuteContractCompat = class MsgExecuteContractCompat extends MsgBase {
|
|
|
72
72
|
value: {
|
|
73
73
|
sender: proto.sender,
|
|
74
74
|
contract: proto.contract,
|
|
75
|
-
msg:
|
|
75
|
+
msg: safeBigIntStringify(this.getMsgObject()),
|
|
76
76
|
funds: proto.funds
|
|
77
77
|
}
|
|
78
78
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jt as uint8ArrayToString, a as grpcPagingToPagingV2, en as isJsonString } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
3
|
import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-DptVGP0n.js";
|
|
4
4
|
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-CjpUoGXy.js";
|
|
5
5
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
|
|
6
|
-
import { r as IndexerModule } from "./IndexerGrpcWeb3GwApi-
|
|
6
|
+
import { r as IndexerModule } from "./IndexerGrpcWeb3GwApi-CtUYowus.js";
|
|
7
7
|
import { a as StreamOperation$1, c as TokenVerification, s as TokenType } from "./types-Cq0sRR6y.js";
|
|
8
8
|
import { BigNumber, toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
9
9
|
import { GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Pt as base64ToUint8Array, Ut as stringToUint8Array, on as safeBigIntStringify, qt as uint8ArrayToHex, t as recoverTypedSignaturePubKey } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
3
|
import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-CjpUoGXy.js";
|
|
4
4
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
@@ -93,7 +93,7 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
|
|
|
93
93
|
prepareTxRequest.chainId = BigInt(chainId);
|
|
94
94
|
prepareTxRequest.signerAddress = address;
|
|
95
95
|
prepareTxRequest.fee = cosmosTxFee;
|
|
96
|
-
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(
|
|
96
|
+
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
|
|
97
97
|
if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
|
|
98
98
|
if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
|
|
99
99
|
return await this.executeGrpcCall(prepareTxRequest, this.client.prepareTx.bind(this.client));
|
|
@@ -114,7 +114,7 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
|
|
|
114
114
|
const prepareTxRequest = InjectiveExchangeRpcPb.PrepareCosmosTxRequest.create();
|
|
115
115
|
prepareTxRequest.fee = cosmosTxFee;
|
|
116
116
|
prepareTxRequest.senderAddress = address;
|
|
117
|
-
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(
|
|
117
|
+
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
|
|
118
118
|
if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
|
|
119
119
|
if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
|
|
120
120
|
return await this.executeGrpcCall(prepareTxRequest, this.client.prepareCosmosTx.bind(this.client));
|
|
@@ -146,10 +146,10 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
|
|
|
146
146
|
broadcastTxRequest.chainId = BigInt(chainId);
|
|
147
147
|
broadcastTxRequest.pubKey = cosmosPubKey;
|
|
148
148
|
broadcastTxRequest.signature = signature;
|
|
149
|
-
broadcastTxRequest.tx = stringToUint8Array(
|
|
149
|
+
broadcastTxRequest.tx = stringToUint8Array(safeBigIntStringify(parsedTypedData.message));
|
|
150
150
|
broadcastTxRequest.feePayer = txResponse.feePayer;
|
|
151
151
|
broadcastTxRequest.feePayerSig = txResponse.feePayerSig;
|
|
152
|
-
broadcastTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(
|
|
152
|
+
broadcastTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
|
|
153
153
|
return await this.executeGrpcCall(broadcastTxRequest, this.client.broadcastTx.bind(this.client));
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
@@ -200,7 +200,7 @@ var IndexerGrpcWeb3GwApi = class extends IndexerGrpcTransactionApi {
|
|
|
200
200
|
prepareTxRequest.chainId = BigInt(chainId);
|
|
201
201
|
prepareTxRequest.signerAddress = address;
|
|
202
202
|
prepareTxRequest.fee = cosmosTxFee;
|
|
203
|
-
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(
|
|
203
|
+
prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
|
|
204
204
|
if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
|
|
205
205
|
if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
|
|
206
206
|
if (eip712Version) prepareTxRequest.eip712Wrapper = eip712Version;
|
|
@@ -345,6 +345,7 @@ const protoTypeToAminoType = (type) => {
|
|
|
345
345
|
//#region src/core/modules/utils.ts
|
|
346
346
|
function prepareSignBytes(obj) {
|
|
347
347
|
if (Array.isArray(obj)) return obj.map(prepareSignBytes);
|
|
348
|
+
if (typeof obj === "bigint") return obj.toString();
|
|
348
349
|
if (typeof obj !== `object` || obj === null) return obj;
|
|
349
350
|
const sorted = {};
|
|
350
351
|
Object.keys(obj).sort().forEach((key) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as hexToUint8Array, It as binaryToBase64, Kt as uint8ArrayToBase64, Lt as concatUint8Arrays, Pt as base64ToUint8Array, et as numberToCosmosSdkDecString, ht as messageHash, on as safeBigIntStringify, pt as domainHash, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { A as createAny, F as Address } from "./accounts-
|
|
4
|
-
import { n as prepareSignBytes, t as MsgBase } from "./MsgBase-
|
|
5
|
-
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-
|
|
6
|
-
import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-
|
|
3
|
+
import { A as createAny, F as Address } from "./accounts-DFC9RYDH.js";
|
|
4
|
+
import { n as prepareSignBytes, t as MsgBase } from "./MsgBase-BkRgVbdY.js";
|
|
5
|
+
import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-C-2XsVVs.js";
|
|
6
|
+
import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-DEljIeLd.js";
|
|
7
7
|
import { keccak256 } from "viem";
|
|
8
8
|
import { BigNumber, DEFAULT_BRIDGE_FEE_AMOUNT, DEFAULT_BRIDGE_FEE_DENOM, toChainFormat, toPascalCase } from "@injectivelabs/utils";
|
|
9
9
|
import { GeneralException } from "@injectivelabs/exceptions";
|
|
@@ -4302,7 +4302,7 @@ var ExecArgCW20Send = class ExecArgCW20Send extends ExecArgBase {
|
|
|
4302
4302
|
return {
|
|
4303
4303
|
contract: params.contractAddress,
|
|
4304
4304
|
amount: params.amount,
|
|
4305
|
-
msg: uint8ArrayToBase64(fromUtf8(
|
|
4305
|
+
msg: uint8ArrayToBase64(fromUtf8(safeBigIntStringify(params.msg || {})))
|
|
4306
4306
|
};
|
|
4307
4307
|
}
|
|
4308
4308
|
toExecData() {
|
|
@@ -4329,7 +4329,7 @@ var MsgExecuteContract = class MsgExecuteContract extends MsgBase {
|
|
|
4329
4329
|
return CosmwasmWasmV1TxPb.MsgExecuteContract.create({
|
|
4330
4330
|
sender: params.sender,
|
|
4331
4331
|
contract: params.contractAddress,
|
|
4332
|
-
msg: fromUtf8(
|
|
4332
|
+
msg: fromUtf8(safeBigIntStringify(msg)),
|
|
4333
4333
|
funds
|
|
4334
4334
|
});
|
|
4335
4335
|
}
|
|
@@ -4397,7 +4397,7 @@ var MsgMigrateContract = class MsgMigrateContract extends MsgBase {
|
|
|
4397
4397
|
sender: params.sender,
|
|
4398
4398
|
contract: params.contract,
|
|
4399
4399
|
codeId: BigInt(params.codeId),
|
|
4400
|
-
msg: fromUtf8(
|
|
4400
|
+
msg: fromUtf8(safeBigIntStringify(params.msg))
|
|
4401
4401
|
});
|
|
4402
4402
|
}
|
|
4403
4403
|
toData() {
|
|
@@ -4540,7 +4540,7 @@ var MsgInstantiateContract = class MsgInstantiateContract extends MsgBase {
|
|
|
4540
4540
|
admin: params.admin,
|
|
4541
4541
|
codeId: BigInt(params.codeId),
|
|
4542
4542
|
label: params.label,
|
|
4543
|
-
msg: fromUtf8(
|
|
4543
|
+
msg: fromUtf8(safeBigIntStringify(params.msg)),
|
|
4544
4544
|
funds
|
|
4545
4545
|
});
|
|
4546
4546
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as toUtf8, It as binaryToBase64, Rt as fromBase64, Wt as toBase64 } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { h as ChainGrpcWasmApi } from "./chain-
|
|
4
|
-
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-
|
|
3
|
+
import { h as ChainGrpcWasmApi } from "./chain-phKWVf8c.js";
|
|
4
|
+
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-DEljIeLd.js";
|
|
5
5
|
import { GeneralException } from "@injectivelabs/exceptions";
|
|
6
6
|
import { Network, getNetworkEndpoints, isMainnet } from "@injectivelabs/networks";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as BECH32_PUBKEY_ACC_PREFIX, Dt as BECH32_ADDR_ACC_PREFIX, Gt as toUtf8, Ht as hexToUint8Array, Kt as uint8ArrayToBase64, Nt as DEFAULT_DERIVATION_PATH, Ot as BECH32_ADDR_CONS_PREFIX, Pt as base64ToUint8Array, Ut as stringToUint8Array, dt as TypedDataUtilsSanitizeData, et as numberToCosmosSdkDecString, ft as decompressPubKey, h as getInjectiveAddress, kt as BECH32_ADDR_VAL_PREFIX, m as getEthereumAddress, on as safeBigIntStringify, qt as uint8ArrayToHex, t as recoverTypedSignaturePubKey } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
|
-
import { t as MsgBase } from "./MsgBase-
|
|
3
|
+
import { t as MsgBase } from "./MsgBase-BkRgVbdY.js";
|
|
4
4
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
5
5
|
import { hashTypedData, keccak256, toBytes } from "viem";
|
|
6
6
|
import { DEFAULT_GAS_LIMIT, getDefaultStdFee, getStdFee, toBigNumber, toChainFormat } from "@injectivelabs/utils";
|
|
@@ -321,7 +321,7 @@ const createWeb3Extension = ({ evmChainId, feePayer, feePayerSig }) => {
|
|
|
321
321
|
return web3Extension;
|
|
322
322
|
};
|
|
323
323
|
const createNonCriticalExtensionFromObject = (object) => {
|
|
324
|
-
return createAny(new TextEncoder().encode(
|
|
324
|
+
return createAny(new TextEncoder().encode(safeBigIntStringify(object)), "/google.protobuf.Struct");
|
|
325
325
|
};
|
|
326
326
|
const getTransactionPartsFromTxRaw = (txRaw) => {
|
|
327
327
|
const authInfo = CosmosTxV1Beta1TxPb.AuthInfo.fromBinary(txRaw.authInfoBytes);
|
|
@@ -568,11 +568,11 @@ const getEip712TypedDataV2 = ({ msgs, tx, fee, evmChainId }) => {
|
|
|
568
568
|
primaryType: "Tx",
|
|
569
569
|
...getEip712DomainV2(evmChainId),
|
|
570
570
|
message: {
|
|
571
|
-
context:
|
|
571
|
+
context: safeBigIntStringify(getEipTxContext({
|
|
572
572
|
...tx,
|
|
573
573
|
fee
|
|
574
|
-
})
|
|
575
|
-
msgs:
|
|
574
|
+
})),
|
|
575
|
+
msgs: safeBigIntStringify(eip712Msgs)
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jt as uint8ArrayToString, O as denomAmountFromGrpcChainDenomAmount, Pt as base64ToUint8Array, Wt as toBase64, l as ChainGrpcCommonTransformer, n as fetchAllWithPagination, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
|
|
3
3
|
import { a as protobufTimestampToUnixSeconds, r as protobufTimestampToDate } from "./time-DYEqYFao.js";
|
|
4
|
-
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-
|
|
4
|
+
import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-CMrAg0Zm.js";
|
|
5
5
|
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
|
|
6
6
|
import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
|
|
7
7
|
import { toBigNumber, toHumanReadable } from "@injectivelabs/utils";
|
|
@@ -2,7 +2,7 @@ import "../tx_pb-TiSRD5ay.js";
|
|
|
2
2
|
import "../BaseGrpcConsumer-BbvNzhrS.js";
|
|
3
3
|
import "../index-qFCOVI7n.js";
|
|
4
4
|
import "../any_pb-B1YYUSUf.js";
|
|
5
|
-
import { $f as
|
|
5
|
+
import { $f as CosmosAccountRestResponse, $h as StakingModuleParams, $m as FeeDiscountAccountInfo, $p as GrpcPeggyParams, A as ChainGrpcAuctionApi, Ag as ProposalDeposit, Ah as OrderType, Am as Account, Ap as PermissionAddressRoles, B as ChainGrpcAuthApi, Bf as TokenFactoryModuleParams, Bh as GrpcPool, Bm as GrpcEvmBlobConfig, Bp as PermissionRoleManager, C as ChainGrpcInsuranceFundApi, Cg as GrpcGovernanceTallyParams, Ch as GrpcSpotMarket, Cm as MinModuleParams, Cp as GrpcPermissionRoleActors, D as ChainGrpcTendermintApi, Dg as GrpcTallyResult, Dh as GrpcTradingRewardCampaignBoostInfo, Dm as Metadata, Dp as GrpcPermissionsParams, E as ChainGrpcPermissionsApi, Eg as GrpcProposalDeposit, Eh as GrpcTradeRewardCampaign, Em as GrpcSupply, Ep as GrpcPermissionsNamespace, F as ChainGrpcPeggyApi, Ff as RestApiResponse, Fg as VoteOption, Fh as TradingRewardCampaignInfo, Fm as EvmBlobConfig, Fp as PermissionPolicyManagerCapability, Gf as GrpcDistributionParams, Gh as GrpcUnbondingDelegation, Gm as CampaignRewardPool, Gp as GrpcTxFeesEipBaseFee, H as ChainGrpcIbcApi, Hf as DistributionModuleParams, Hh as GrpcReDelegationEntryResponse, Hm as GrpcEvmChainConfig, Hp as PermissionsModuleParams, I as ChainGrpcAuthZApi, If as BlockLatestRestResponse, Ig as VoteOptionMap, Ih as BondStatus, Im as EvmBlobScheduleConfig, Ip as PermissionPolicyStatus, Jf as DenomBalance, Jh as GrpcValidatorCommission, Jm as ChainDerivativePosition, Jp as TxFeesModuleStateParams, Kf as ValidatorRewards, Kh as GrpcUnbondingDelegationEntry, Km as ChainDenomDecimal, Kp as GrpcTxFeesParams, L as ChainGrpcWasmApi, Lf as NodeInfoRestResponse, Lg as WeightedVoteOption, Lh as Delegation, Lm as EvmChainConfig, Lp as PermissionRole, M as ChainGrpcOracleApi, Mg as ProposalStatusMap, Mh as PointsMultiplier, Mm as AuthModuleParams, Mp as PermissionGenesisState, N as ChainGrpcErc20Api, Ng as TallyResult, Nh as TradeRewardCampaign, Nm as EthAccount, Np as PermissionNamespace, O as ChainGrpcExchangeApi, Og as GrpcVote, Oh as GrpcTradingRewardCampaignInfo, Om as SendEnabled, Op as PermissionActionMap, P as ChainGrpcWasmXApi, Pf as ChainModule, Pg as Vote, Ph as TradingRewardCampaignBoostInfo, Pm as PubKey, Pp as PermissionParams, Qf as BaseAccountRestResponse, Qh as ReDelegation, Qm as ExchangeParams, Qp as TokenPair, R as ChainGrpcMintApi, Rf as AuthorityMetadata, Rh as GrpcDelegation, Rm as EvmLog, Rp as PermissionRoleActors, S as ChainRestBankApi, Sg as GrpcGovernanceDepositParams, Sh as GrpcPointsMultiplier, Sm as GrpcMintParams, Sp as GrpcPermissionRole, T as ChainGrpcDistributionApi, Tg as GrpcProposal, Th as GrpcSpotOrder, Tm as GrpcBankParams, Tp as GrpcPermissionRoleManager, U as ChainGrpcGovApi, Uf as GrpcDecCoin, Uh as GrpcReDelegationResponse, Um as GrpcEvmLog, Up as GrpcOracleParams, V as ChainGrpcEvmApi, Vf as TokenFactoryModuleState, Vh as GrpcReDelegation, Vm as GrpcEvmBlobScheduleConfig, Vp as PermissionVoucher, Wf as GrpcDelegationDelegatorReward, Wh as GrpcStakingParams, Wm as GrpcEvmParams, Wp as OracleModuleParams, Xf as AccountResponse, Xh as GrpcValidatorDescription, Xm as DepositProposalParams, Xp as GrpcTokenPair, Yf as DenomOwnersResponse, Yh as GrpcValidatorCommissionRates, Ym as ChainPosition, Yp as GrpcParams, Zf as AccountsResponse, Zh as Pool, Zm as ExchangeModuleParams, Zp as Params, _ as ChainGrpcEvmTransformer, _g as GrpcContractInfo, _h as GrpcMarketStatus, _m as GrpcInsuranceParams, _p as GrpcPermissionActorRoles, a as ChainGrpcExchangeTransformer, ag as CodeInfoResponse, ah as GrpcChainDerivativePosition, am as CancelDerivativeOrderAuthz, ap as AuctionLastAuctionResult, b as ChainRestWasmApi, bg as grpcContractInfo, bh as GrpcOrderType, bm as InsuranceModuleParams, bp as GrpcPermissionPolicyStatus, c as ChainGrpcCommonTransformer, cg as ContractCodeHistoryEntry, ch as GrpcChainPosition, cm as CreateDerivativeMarketOrderAuthz, cp as AuctionModuleStateParams, d as ChainGrpcPeggyTransformer, dg as ContractInfo, dh as GrpcDenomMinNotional, dm as GenericAuthorization, dp as GrpcAuctionBid, eg as UnBondingDelegation, eh as FeeDiscountSchedule, em as PeggyModuleParams, ep as AuctionBid, f as ChainGrpcAuthZTransformer, fg as ContractStateWithPagination, fh as GrpcExchangeParams, fm as Grant, fp as GrpcAuctionEventAuctionResult, g as ChainGrpcAuthTransformer, gg as GrpcContractCodeHistoryEntry, gh as GrpcFeeDiscountTierTTL, gm as GrpcInsuranceFund, gp as GrpcAuctionParams, h as ChainGrpcBankTransformer, hg as GrpcCodeInfoResponse, hh as GrpcFeeDiscountTierInfo, hm as GrantWithDecodedAuthorization, hp as GrpcAuctionLastAuctionResult, i as ChainGrpcPermissionsTransformer, ig as AbsoluteTxPosition, ih as GrpcChainDerivativeMarket, im as BatchCreateSpotLimitOrdersAuthz, ip as AuctionEventBid, j as ChainGrpcTxFeesApi, jg as ProposalStatus, jh as OrderTypeMap, jm as AuthBaseAccount, jp as PermissionAddressVoucher, k as ChainGrpcStakingApi, kg as Proposal, kh as IsOptedOutOfRewards, km as TotalSupply, kp as PermissionActorRoles, l as ChainGrpcTxFeesTransformer, lg as ContractCodeHistoryOperationType, lh as GrpcChainSpotMarket, lm as CreateSpotLimitOrderAuthz, lp as AuctionModuleStateResponse, m as ChainGrpcMintTransformer, mg as GrpcAbsoluteTxPosition, mh as GrpcFeeDiscountSchedule, mm as GrantAuthorizationWithDecodedAuthorization, mp as GrpcAuctionEventBid, n as ChainGrpcTokenFactoryTransformer, ng as ValidatorCommission, nh as FeeDiscountTierTTL, nm as BatchCancelSpotOrdersAuthz, np as AuctionEventAuctionResult, o as ChainGrpcStakingTransformer, og as ContractAccountBalance, oh as GrpcChainFullDerivativeMarket, om as CancelSpotOrderAuthz, op as AuctionModuleParams, p as ChainGrpcWasmTransformer, pg as GoogleProtoBufAny, ph as GrpcFeeDiscountAccountInfo, pm as GrantAuthorization, pp as GrpcAuctionEventAuctionStart, qf as BalancesResponse, qh as GrpcValidator, qm as ChainDenomMinNotional, qp as TxFeesEipBaseFee, r as ChainGrpcDistributionTransformer, rg as ValidatorDescription, rh as GrpcCampaignRewardPool, rm as BatchCreateDerivativeLimitOrdersAuthz, rp as AuctionEventAuctionStart, s as ChainGrpcAuctionTransformer, sg as ContractAccountsBalanceWithPagination, sh as GrpcChainFullSpotMarket, sm as CreateDerivativeLimitOrderAuthz, sp as AuctionModuleState, t as ChainGrpcInsuranceFundTransformer, tg as Validator, th as FeeDiscountTierInfo, tm as BatchCancelDerivativeOrdersAuthz, tp as AuctionCurrentBasket, u as ChainGrpcErc20Transformer, ug as ContractCodeHistoryOperationTypeMap, uh as GrpcDenomDecimals, um as CreateSpotMarketOrderAuthz, up as AuctionParams, v as ChainGrpcGovTransformer, vg as MarketingInfo, vh as GrpcMarketStatusMap, vm as GrpcRedemptionSchedule, vp as GrpcPermissionAddressVoucher, w as ChainGrpcTokenFactoryApi, wg as GrpcGovernanceVotingParams, wh as GrpcSpotMarketOrder, wm as BankModuleParams, wp as GrpcPermissionRoleIDs, x as ChainRestAuthApi, xg as GovModuleStateParams, xh as GrpcOrderTypeMap, xm as OracleTypeMap, xp as GrpcPermissionPolicyStatusManagerCapability, y as ChainRestTendermintApi, yg as TokenInfo, yh as GrpcOrderInfo, ym as InsuranceFund, yp as GrpcPermissionNamespace, z as ChainGrpcBankApi, zf as FactoryDenomWithMetadata, zh as GrpcDelegationResponse, zm as EvmParams, zp as PermissionRoleIDs } from "../index-IV55OZfT.js";
|
|
6
6
|
import "../index-DdGVE3_u.js";
|
|
7
7
|
import { ct as OracleType } from "../index-B1R417vW.js";
|
|
8
8
|
import "../index-aNMYd-s0.js";
|
package/dist/esm/client/chain.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { l as ChainGrpcCommonTransformer } from "../utils-
|
|
1
|
+
import { l as ChainGrpcCommonTransformer } from "../utils-DwGoPRTL.js";
|
|
2
2
|
import "../defineProperty-Bq6QU9Te.js";
|
|
3
3
|
import "../time-DYEqYFao.js";
|
|
4
4
|
import "../grpc-lYZqzL0k.js";
|
|
5
|
-
import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "../ChainRestTendermintApi-
|
|
5
|
+
import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "../ChainRestTendermintApi-CMrAg0Zm.js";
|
|
6
6
|
import "../BaseGrpcConsumer-DptVGP0n.js";
|
|
7
|
-
import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-
|
|
8
|
-
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-
|
|
7
|
+
import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-phKWVf8c.js";
|
|
8
|
+
import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-C-2XsVVs.js";
|
|
9
9
|
import "../BaseRestConsumer-rK4eS4W8.js";
|
|
10
10
|
|
|
11
11
|
export { BondStatus, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeTransformer, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcTxFeesApi, ChainGrpcTxFeesTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainGrpcWasmXApi, ChainModule, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, ContractCodeHistoryOperationTypeMap, GrpcMarketStatusMap, GrpcOrderTypeMap, OracleType, OracleTypeMap, OrderTypeMap, PermissionActionMap, ProposalStatusMap, VoteOptionMap };
|