injectivejs 1.9.13 → 1.9.15
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/base/v1beta1/coin.js +7 -6
- package/cosmos/distribution/v1beta1/distribution.js +16 -15
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/gov.js +4 -3
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
- package/cosmos/staking/v1beta1/staking.js +22 -21
- package/cosmos/staking/v1beta1/tx.js +4 -3
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/esm/binary.js +1 -1
- package/esm/cosmos/base/v1beta1/coin.js +7 -6
- package/esm/cosmos/distribution/v1beta1/distribution.js +16 -15
- package/esm/cosmos/gov/v1beta1/gov.js +4 -3
- package/esm/cosmos/staking/v1beta1/staking.js +22 -21
- package/esm/cosmos/staking/v1beta1/tx.js +4 -3
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/injective/auction/v1beta1/auction.js +4 -3
- package/esm/injective/exchange/v1beta1/events.js +19 -18
- package/esm/injective/exchange/v1beta1/exchange.js +274 -273
- package/esm/injective/exchange/v1beta1/genesis.js +7 -6
- package/esm/injective/exchange/v1beta1/proposal.js +148 -147
- package/esm/injective/exchange/v1beta1/query.js +133 -132
- package/esm/injective/exchange/v1beta1/tx.js +121 -120
- package/esm/injective/ocr/v1beta1/ocr.js +25 -24
- package/esm/injective/oracle/v1beta1/events.js +19 -18
- package/esm/injective/oracle/v1beta1/oracle.js +46 -45
- package/esm/injective/oracle/v1beta1/query.js +19 -18
- package/esm/injective/oracle/v1beta1/tx.js +7 -6
- package/esm/injective/stream/v1beta1/query.js +31 -30
- package/esm/registry.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/helper-func-types.d.ts +3 -66
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
- package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/injective/auction/v1beta1/auction.js +4 -3
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
- package/injective/exchange/v1beta1/events.js +19 -18
- package/injective/exchange/v1beta1/exchange.js +274 -273
- package/injective/exchange/v1beta1/genesis.js +7 -6
- package/injective/exchange/v1beta1/proposal.js +148 -147
- package/injective/exchange/v1beta1/query.js +133 -132
- package/injective/exchange/v1beta1/tx.js +121 -120
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
- package/injective/ocr/v1beta1/ocr.js +25 -24
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
- package/injective/oracle/v1beta1/events.js +19 -18
- package/injective/oracle/v1beta1/oracle.js +46 -45
- package/injective/oracle/v1beta1/query.js +19 -18
- package/injective/oracle/v1beta1/tx.js +7 -6
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
- package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
- package/injective/stream/v1beta1/query.js +31 -30
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
- package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
- package/package.json +8 -8
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -7,6 +7,7 @@ const exchange_1 = require("../../exchange/v1beta1/exchange");
|
|
|
7
7
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
8
8
|
const binary_1 = require("../../../binary");
|
|
9
9
|
const helpers_1 = require("../../../helpers");
|
|
10
|
+
const math_1 = require("@interchainjs/math");
|
|
10
11
|
var OrderUpdateStatus;
|
|
11
12
|
(function (OrderUpdateStatus) {
|
|
12
13
|
OrderUpdateStatus[OrderUpdateStatus["Unspecified"] = 0] = "Unspecified";
|
|
@@ -1349,16 +1350,16 @@ exports.Position = {
|
|
|
1349
1350
|
writer.uint32(24).bool(message.isLong);
|
|
1350
1351
|
}
|
|
1351
1352
|
if (message.quantity !== "") {
|
|
1352
|
-
writer.uint32(34).string(message.quantity);
|
|
1353
|
+
writer.uint32(34).string(math_1.Decimal.fromUserInput(message.quantity, 18).atomics);
|
|
1353
1354
|
}
|
|
1354
1355
|
if (message.entryPrice !== "") {
|
|
1355
|
-
writer.uint32(42).string(message.entryPrice);
|
|
1356
|
+
writer.uint32(42).string(math_1.Decimal.fromUserInput(message.entryPrice, 18).atomics);
|
|
1356
1357
|
}
|
|
1357
1358
|
if (message.margin !== "") {
|
|
1358
|
-
writer.uint32(50).string(message.margin);
|
|
1359
|
+
writer.uint32(50).string(math_1.Decimal.fromUserInput(message.margin, 18).atomics);
|
|
1359
1360
|
}
|
|
1360
1361
|
if (message.cumulativeFundingEntry !== "") {
|
|
1361
|
-
writer.uint32(58).string(message.cumulativeFundingEntry);
|
|
1362
|
+
writer.uint32(58).string(math_1.Decimal.fromUserInput(message.cumulativeFundingEntry, 18).atomics);
|
|
1362
1363
|
}
|
|
1363
1364
|
return writer;
|
|
1364
1365
|
},
|
|
@@ -1379,16 +1380,16 @@ exports.Position = {
|
|
|
1379
1380
|
message.isLong = reader.bool();
|
|
1380
1381
|
break;
|
|
1381
1382
|
case 4:
|
|
1382
|
-
message.quantity = reader.string();
|
|
1383
|
+
message.quantity = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1383
1384
|
break;
|
|
1384
1385
|
case 5:
|
|
1385
|
-
message.entryPrice = reader.string();
|
|
1386
|
+
message.entryPrice = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1386
1387
|
break;
|
|
1387
1388
|
case 6:
|
|
1388
|
-
message.margin = reader.string();
|
|
1389
|
+
message.margin = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1389
1390
|
break;
|
|
1390
1391
|
case 7:
|
|
1391
|
-
message.cumulativeFundingEntry = reader.string();
|
|
1392
|
+
message.cumulativeFundingEntry = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1392
1393
|
break;
|
|
1393
1394
|
default:
|
|
1394
1395
|
reader.skipType(tag & 7);
|
|
@@ -1438,10 +1439,10 @@ exports.Position = {
|
|
|
1438
1439
|
obj.market_id = message.marketId === "" ? undefined : message.marketId;
|
|
1439
1440
|
obj.subaccount_id = message.subaccountId === "" ? undefined : message.subaccountId;
|
|
1440
1441
|
obj.isLong = message.isLong === false ? undefined : message.isLong;
|
|
1441
|
-
obj.quantity = message.quantity === "" ? undefined : message.quantity;
|
|
1442
|
-
obj.entry_price = message.entryPrice === "" ? undefined : message.entryPrice;
|
|
1443
|
-
obj.margin = message.margin === "" ? undefined : message.margin;
|
|
1444
|
-
obj.cumulative_funding_entry = message.cumulativeFundingEntry === "" ? undefined : message.cumulativeFundingEntry;
|
|
1442
|
+
obj.quantity = message.quantity === "" ? undefined : math_1.Decimal.fromUserInput(message.quantity, 18).atomics;
|
|
1443
|
+
obj.entry_price = message.entryPrice === "" ? undefined : math_1.Decimal.fromUserInput(message.entryPrice, 18).atomics;
|
|
1444
|
+
obj.margin = message.margin === "" ? undefined : math_1.Decimal.fromUserInput(message.margin, 18).atomics;
|
|
1445
|
+
obj.cumulative_funding_entry = message.cumulativeFundingEntry === "" ? undefined : math_1.Decimal.fromUserInput(message.cumulativeFundingEntry, 18).atomics;
|
|
1445
1446
|
return obj;
|
|
1446
1447
|
},
|
|
1447
1448
|
fromAminoMsg(object) {
|
|
@@ -1481,7 +1482,7 @@ exports.OraclePrice = {
|
|
|
1481
1482
|
writer.uint32(10).string(message.symbol);
|
|
1482
1483
|
}
|
|
1483
1484
|
if (message.price !== "") {
|
|
1484
|
-
writer.uint32(18).string(message.price);
|
|
1485
|
+
writer.uint32(18).string(math_1.Decimal.fromUserInput(message.price, 18).atomics);
|
|
1485
1486
|
}
|
|
1486
1487
|
if (message.type !== "") {
|
|
1487
1488
|
writer.uint32(26).string(message.type);
|
|
@@ -1499,7 +1500,7 @@ exports.OraclePrice = {
|
|
|
1499
1500
|
message.symbol = reader.string();
|
|
1500
1501
|
break;
|
|
1501
1502
|
case 2:
|
|
1502
|
-
message.price = reader.string();
|
|
1503
|
+
message.price = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1503
1504
|
break;
|
|
1504
1505
|
case 3:
|
|
1505
1506
|
message.type = reader.string();
|
|
@@ -1534,7 +1535,7 @@ exports.OraclePrice = {
|
|
|
1534
1535
|
toAmino(message) {
|
|
1535
1536
|
const obj = {};
|
|
1536
1537
|
obj.symbol = message.symbol === "" ? undefined : message.symbol;
|
|
1537
|
-
obj.price = message.price === "" ? undefined : message.price;
|
|
1538
|
+
obj.price = message.price === "" ? undefined : math_1.Decimal.fromUserInput(message.price, 18).atomics;
|
|
1538
1539
|
obj.type = message.type === "" ? undefined : message.type;
|
|
1539
1540
|
return obj;
|
|
1540
1541
|
},
|
|
@@ -1589,16 +1590,16 @@ exports.SpotTrade = {
|
|
|
1589
1590
|
writer.uint32(26).string(message.executionType);
|
|
1590
1591
|
}
|
|
1591
1592
|
if (message.quantity !== "") {
|
|
1592
|
-
writer.uint32(34).string(message.quantity);
|
|
1593
|
+
writer.uint32(34).string(math_1.Decimal.fromUserInput(message.quantity, 18).atomics);
|
|
1593
1594
|
}
|
|
1594
1595
|
if (message.price !== "") {
|
|
1595
|
-
writer.uint32(42).string(message.price);
|
|
1596
|
+
writer.uint32(42).string(math_1.Decimal.fromUserInput(message.price, 18).atomics);
|
|
1596
1597
|
}
|
|
1597
1598
|
if (message.subaccountId !== "") {
|
|
1598
1599
|
writer.uint32(50).string(message.subaccountId);
|
|
1599
1600
|
}
|
|
1600
1601
|
if (message.fee !== "") {
|
|
1601
|
-
writer.uint32(58).string(message.fee);
|
|
1602
|
+
writer.uint32(58).string(math_1.Decimal.fromUserInput(message.fee, 18).atomics);
|
|
1602
1603
|
}
|
|
1603
1604
|
if (message.orderHash.length !== 0) {
|
|
1604
1605
|
writer.uint32(66).bytes(message.orderHash);
|
|
@@ -1631,16 +1632,16 @@ exports.SpotTrade = {
|
|
|
1631
1632
|
message.executionType = reader.string();
|
|
1632
1633
|
break;
|
|
1633
1634
|
case 4:
|
|
1634
|
-
message.quantity = reader.string();
|
|
1635
|
+
message.quantity = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1635
1636
|
break;
|
|
1636
1637
|
case 5:
|
|
1637
|
-
message.price = reader.string();
|
|
1638
|
+
message.price = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1638
1639
|
break;
|
|
1639
1640
|
case 6:
|
|
1640
1641
|
message.subaccountId = reader.string();
|
|
1641
1642
|
break;
|
|
1642
1643
|
case 7:
|
|
1643
|
-
message.fee = reader.string();
|
|
1644
|
+
message.fee = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1644
1645
|
break;
|
|
1645
1646
|
case 8:
|
|
1646
1647
|
message.orderHash = reader.bytes();
|
|
@@ -1718,10 +1719,10 @@ exports.SpotTrade = {
|
|
|
1718
1719
|
obj.market_id = message.marketId === "" ? undefined : message.marketId;
|
|
1719
1720
|
obj.is_buy = message.isBuy === false ? undefined : message.isBuy;
|
|
1720
1721
|
obj.executionType = message.executionType === "" ? undefined : message.executionType;
|
|
1721
|
-
obj.quantity = message.quantity === "" ? undefined : message.quantity;
|
|
1722
|
-
obj.price = message.price === "" ? undefined : message.price;
|
|
1722
|
+
obj.quantity = message.quantity === "" ? undefined : math_1.Decimal.fromUserInput(message.quantity, 18).atomics;
|
|
1723
|
+
obj.price = message.price === "" ? undefined : math_1.Decimal.fromUserInput(message.price, 18).atomics;
|
|
1723
1724
|
obj.subaccount_id = message.subaccountId === "" ? undefined : message.subaccountId;
|
|
1724
|
-
obj.fee = message.fee === "" ? undefined : message.fee;
|
|
1725
|
+
obj.fee = message.fee === "" ? undefined : math_1.Decimal.fromUserInput(message.fee, 18).atomics;
|
|
1725
1726
|
obj.order_hash = message.orderHash ? (0, helpers_1.base64FromBytes)(message.orderHash) : undefined;
|
|
1726
1727
|
obj.fee_recipient_address = message.feeRecipientAddress === null ? undefined : message.feeRecipientAddress;
|
|
1727
1728
|
obj.cid = message.cid === "" ? undefined : message.cid;
|
|
@@ -1785,10 +1786,10 @@ exports.DerivativeTrade = {
|
|
|
1785
1786
|
exchange_1.PositionDelta.encode(message.positionDelta, writer.uint32(42).fork()).ldelim();
|
|
1786
1787
|
}
|
|
1787
1788
|
if (message.payout !== "") {
|
|
1788
|
-
writer.uint32(50).string(message.payout);
|
|
1789
|
+
writer.uint32(50).string(math_1.Decimal.fromUserInput(message.payout, 18).atomics);
|
|
1789
1790
|
}
|
|
1790
1791
|
if (message.fee !== "") {
|
|
1791
|
-
writer.uint32(58).string(message.fee);
|
|
1792
|
+
writer.uint32(58).string(math_1.Decimal.fromUserInput(message.fee, 18).atomics);
|
|
1792
1793
|
}
|
|
1793
1794
|
if (message.orderHash !== "") {
|
|
1794
1795
|
writer.uint32(66).string(message.orderHash);
|
|
@@ -1827,10 +1828,10 @@ exports.DerivativeTrade = {
|
|
|
1827
1828
|
message.positionDelta = exchange_1.PositionDelta.decode(reader, reader.uint32());
|
|
1828
1829
|
break;
|
|
1829
1830
|
case 6:
|
|
1830
|
-
message.payout = reader.string();
|
|
1831
|
+
message.payout = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1831
1832
|
break;
|
|
1832
1833
|
case 7:
|
|
1833
|
-
message.fee = reader.string();
|
|
1834
|
+
message.fee = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1834
1835
|
break;
|
|
1835
1836
|
case 8:
|
|
1836
1837
|
message.orderHash = reader.string();
|
|
@@ -1910,8 +1911,8 @@ exports.DerivativeTrade = {
|
|
|
1910
1911
|
obj.executionType = message.executionType === "" ? undefined : message.executionType;
|
|
1911
1912
|
obj.subaccount_id = message.subaccountId === "" ? undefined : message.subaccountId;
|
|
1912
1913
|
obj.position_delta = message.positionDelta ? exchange_1.PositionDelta.toAmino(message.positionDelta) : undefined;
|
|
1913
|
-
obj.payout = message.payout === "" ? undefined : message.payout;
|
|
1914
|
-
obj.fee = message.fee === "" ? undefined : message.fee;
|
|
1914
|
+
obj.payout = message.payout === "" ? undefined : math_1.Decimal.fromUserInput(message.payout, 18).atomics;
|
|
1915
|
+
obj.fee = message.fee === "" ? undefined : math_1.Decimal.fromUserInput(message.fee, 18).atomics;
|
|
1915
1916
|
obj.order_hash = message.orderHash === "" ? undefined : message.orderHash;
|
|
1916
1917
|
obj.fee_recipient_address = message.feeRecipientAddress === null ? undefined : message.feeRecipientAddress;
|
|
1917
1918
|
obj.cid = message.cid === "" ? undefined : message.cid;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx";
|
|
3
|
-
export declare const createCreateDenom: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateDenom | MsgCreateDenom[], fee: import("../../../
|
|
4
|
-
export declare const createMint: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMint | MsgMint[], fee: import("../../../
|
|
5
|
-
export declare const createBurn: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../../
|
|
6
|
-
export declare const createChangeAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgChangeAdmin | MsgChangeAdmin[], fee: import("../../../
|
|
7
|
-
export declare const createSetDenomMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetDenomMetadata | MsgSetDenomMetadata[], fee: import("../../../
|
|
8
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../
|
|
3
|
+
export declare const createCreateDenom: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateDenom | MsgCreateDenom[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
4
|
+
export declare const createMint: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMint | MsgMint[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
5
|
+
export declare const createBurn: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
6
|
+
export declare const createChangeAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgChangeAdmin | MsgChangeAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
7
|
+
export declare const createSetDenomMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetDenomMetadata | MsgSetDenomMetadata[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
8
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgUpdateContract, MsgActivateContract, MsgDeactivateContract, MsgExecuteContractCompat, MsgUpdateParams, MsgRegisterContract } from "./tx";
|
|
3
|
-
export declare const createUpdateRegistryContractParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateContract | MsgUpdateContract[], fee: import("../../../
|
|
4
|
-
export declare const createActivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgActivateContract | MsgActivateContract[], fee: import("../../../
|
|
5
|
-
export declare const createDeactivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeactivateContract | MsgDeactivateContract[], fee: import("../../../
|
|
6
|
-
export declare const createExecuteContractCompat: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContractCompat | MsgExecuteContractCompat[], fee: import("../../../
|
|
7
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../
|
|
8
|
-
export declare const createRegisterContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRegisterContract | MsgRegisterContract[], fee: import("../../../
|
|
3
|
+
export declare const createUpdateRegistryContractParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateContract | MsgUpdateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
4
|
+
export declare const createActivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgActivateContract | MsgActivateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
5
|
+
export declare const createDeactivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeactivateContract | MsgDeactivateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
6
|
+
export declare const createExecuteContractCompat: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContractCompat | MsgExecuteContractCompat[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
7
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
|
8
|
+
export declare const createRegisterContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRegisterContract | MsgRegisterContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("../../../types").DeliverTxResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "injectivejs",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.15",
|
|
4
4
|
"description": "Injectivejs is a JavaScript library for interacting with injective sdk.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"prepare": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@interchainjs/cosmos": "1.9.
|
|
29
|
-
"@interchainjs/cosmos-types": "1.9.
|
|
30
|
-
"@interchainjs/encoding": "1.9.
|
|
31
|
-
"@interchainjs/pubkey": "1.9.
|
|
32
|
-
"@interchainjs/types": "1.9.
|
|
33
|
-
"@interchainjs/utils": "1.9.
|
|
28
|
+
"@interchainjs/cosmos": "1.9.15",
|
|
29
|
+
"@interchainjs/cosmos-types": "1.9.15",
|
|
30
|
+
"@interchainjs/encoding": "1.9.15",
|
|
31
|
+
"@interchainjs/pubkey": "1.9.15",
|
|
32
|
+
"@interchainjs/types": "1.9.15",
|
|
33
|
+
"@interchainjs/utils": "1.9.15",
|
|
34
34
|
"@noble/hashes": "^1.3.1",
|
|
35
35
|
"decimal.js": "^10.4.3"
|
|
36
36
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"cosmjs",
|
|
42
42
|
"wallet"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b25a9d240c686eaea167d4758cad2025ee161e71"
|
|
45
45
|
}
|
package/registry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/registry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
package/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
package/utf8.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/utf8.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/varint.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/varint.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.25
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|