injectivejs 1.9.3 → 1.9.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.
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/gov.js +5 -5
- package/cosmos/gov/v1/tx.registry.d.ts +7 -7
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/gov.js +5 -5
- package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/group/v1/tx.js +3 -3
- package/cosmos/group/v1/tx.registry.d.ts +14 -14
- package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
- package/cosmos/group/v1/types.js +7 -7
- package/cosmos/ics23/v1/proofs.js +5 -5
- package/cosmos/staking/v1beta1/staking.js +8 -8
- package/cosmos/staking/v1beta1/tx.js +3 -3
- package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/tx/signing/v1beta1/signing.js +3 -3
- package/cosmos/tx/v1beta1/service.js +5 -5
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos_proto/cosmos.js +3 -3
- package/cosmwasm/wasm/v1/proposal_legacy.js +1 -1
- package/cosmwasm/wasm/v1/query.js +1 -1
- package/cosmwasm/wasm/v1/tx.js +1 -1
- package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/cosmwasm/wasm/v1/types.js +6 -6
- package/esm/binary.js +1 -1
- package/esm/cosmos/staking/v1beta1/staking.js +1 -1
- package/esm/cosmos/staking/v1beta1/tx.js +1 -1
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1 -1
- package/esm/cosmwasm/wasm/v1/query.js +1 -1
- package/esm/cosmwasm/wasm/v1/tx.js +1 -1
- package/esm/cosmwasm/wasm/v1/types.js +1 -1
- package/esm/extern.js +2 -2
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- 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 +2 -2
- package/google/protobuf/descriptor.js +36 -37
- package/google/protobuf/duration.d.ts +1 -1
- package/google/protobuf/timestamp.d.ts +1 -1
- package/helper-func-types.d.ts +2 -2
- package/helper-func-types.js +4 -5
- package/helpers.d.ts +1 -1
- package/helpers.js +13 -13
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/core/channel/v1/channel.js +5 -5
- package/ibc/core/channel/v1/tx.js +3 -3
- package/ibc/core/channel/v1/tx.registry.d.ts +19 -19
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
- package/ibc/core/client/v1/tx.registry.d.ts +7 -7
- package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
- package/ibc/core/connection/v1/connection.js +3 -3
- package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/injective/auction/v1beta1/tx.registry.d.ts +2 -2
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
- package/injective/exchange/v1beta1/exchange.js +12 -12
- package/injective/exchange/v1beta1/proposal.js +3 -3
- package/injective/exchange/v1beta1/query.js +7 -7
- package/injective/exchange/v1beta1/tx.registry.d.ts +35 -35
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
- package/injective/insurance/v1beta1/tx.registry.d.ts +4 -4
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
- package/injective/ocr/v1beta1/tx.registry.d.ts +9 -9
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
- package/injective/oracle/v1beta1/oracle.js +3 -3
- package/injective/oracle/v1beta1/tx.registry.d.ts +8 -8
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
- package/injective/peggy/v1/attestation.js +3 -3
- package/injective/peggy/v1/ethereum_signer.js +3 -3
- package/injective/peggy/v1/msgs.registry.d.ts +14 -14
- package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
- package/injective/permissions/v1beta1/permissions.js +3 -3
- package/injective/permissions/v1beta1/tx.registry.d.ts +7 -7
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
- package/injective/stream/v1beta1/query.js +3 -3
- package/injective/tokenfactory/v1beta1/tx.registry.d.ts +6 -6
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
- package/injective/wasmx/v1/proposal.js +3 -3
- package/injective/wasmx/v1/tx.registry.d.ts +6 -6
- package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
- package/package.json +8 -6
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.js +14 -14
- package/tendermint/types/types.js +3 -3
- package/tendermint/types/validator.js +3 -3
- package/types.d.ts +1 -7
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +4 -5
- package/varint.d.ts +1 -1
- package/varint.js +17 -18
|
@@ -5,59 +5,59 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
valsetConfirm(value: MsgValsetConfirm): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
sendToEth(value: MsgSendToEth): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
requestBatch(value: MsgRequestBatch): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
confirmBatch(value: MsgConfirmBatch): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
depositClaim(value: MsgDepositClaim): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
withdrawClaim(value: MsgWithdrawClaim): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
valsetUpdateClaim(value: MsgValsetUpdatedClaim): {
|
|
31
31
|
typeUrl: string;
|
|
32
|
-
value: Uint8Array
|
|
32
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
33
33
|
};
|
|
34
34
|
eRC20DeployedClaim(value: MsgERC20DeployedClaim): {
|
|
35
35
|
typeUrl: string;
|
|
36
|
-
value: Uint8Array
|
|
36
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
37
37
|
};
|
|
38
38
|
setOrchestratorAddresses(value: MsgSetOrchestratorAddresses): {
|
|
39
39
|
typeUrl: string;
|
|
40
|
-
value: Uint8Array
|
|
40
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
41
41
|
};
|
|
42
42
|
cancelSendToEth(value: MsgCancelSendToEth): {
|
|
43
43
|
typeUrl: string;
|
|
44
|
-
value: Uint8Array
|
|
44
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
45
45
|
};
|
|
46
46
|
submitBadSignatureEvidence(value: MsgSubmitBadSignatureEvidence): {
|
|
47
47
|
typeUrl: string;
|
|
48
|
-
value: Uint8Array
|
|
48
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
49
49
|
};
|
|
50
50
|
updateParams(value: MsgUpdateParams): {
|
|
51
51
|
typeUrl: string;
|
|
52
|
-
value: Uint8Array
|
|
52
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
53
53
|
};
|
|
54
54
|
blacklistEthereumAddresses(value: MsgBlacklistEthereumAddresses): {
|
|
55
55
|
typeUrl: string;
|
|
56
|
-
value: Uint8Array
|
|
56
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
57
57
|
};
|
|
58
58
|
revokeEthereumBlacklist(value: MsgRevokeEthereumBlacklist): {
|
|
59
59
|
typeUrl: string;
|
|
60
|
-
value: Uint8Array
|
|
60
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
withTypeUrl: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgValsetConfirm, MsgSendToEth, MsgRequestBatch, MsgConfirmBatch, MsgDepositClaim, MsgWithdrawClaim, MsgValsetUpdatedClaim, MsgERC20DeployedClaim, MsgSetOrchestratorAddresses, MsgCancelSendToEth, MsgSubmitBadSignatureEvidence, MsgUpdateParams, MsgBlacklistEthereumAddresses, MsgRevokeEthereumBlacklist } from "./msgs";
|
|
3
|
-
export declare const createValsetConfirm: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgValsetConfirm | MsgValsetConfirm[], fee:
|
|
4
|
-
export declare const createSendToEth: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSendToEth | MsgSendToEth[], fee:
|
|
5
|
-
export declare const createRequestBatch: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRequestBatch | MsgRequestBatch[], fee:
|
|
6
|
-
export declare const createConfirmBatch: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgConfirmBatch | MsgConfirmBatch[], fee:
|
|
7
|
-
export declare const createDepositClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositClaim | MsgDepositClaim[], fee:
|
|
8
|
-
export declare const createWithdrawClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawClaim | MsgWithdrawClaim[], fee:
|
|
9
|
-
export declare const createValsetUpdateClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgValsetUpdatedClaim | MsgValsetUpdatedClaim[], fee:
|
|
10
|
-
export declare const createERC20DeployedClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgERC20DeployedClaim | MsgERC20DeployedClaim[], fee:
|
|
11
|
-
export declare const createSetOrchestratorAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetOrchestratorAddresses | MsgSetOrchestratorAddresses[], fee:
|
|
12
|
-
export declare const createCancelSendToEth: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelSendToEth | MsgCancelSendToEth[], fee:
|
|
13
|
-
export declare const createSubmitBadSignatureEvidence: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitBadSignatureEvidence | MsgSubmitBadSignatureEvidence[], fee:
|
|
14
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
15
|
-
export declare const createBlacklistEthereumAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBlacklistEthereumAddresses | MsgBlacklistEthereumAddresses[], fee:
|
|
16
|
-
export declare const createRevokeEthereumBlacklist: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeEthereumBlacklist | MsgRevokeEthereumBlacklist[], fee:
|
|
3
|
+
export declare const createValsetConfirm: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgValsetConfirm | MsgValsetConfirm[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createSendToEth: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSendToEth | MsgSendToEth[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createRequestBatch: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRequestBatch | MsgRequestBatch[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createConfirmBatch: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgConfirmBatch | MsgConfirmBatch[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createDepositClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositClaim | MsgDepositClaim[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createWithdrawClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawClaim | MsgWithdrawClaim[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createValsetUpdateClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgValsetUpdatedClaim | MsgValsetUpdatedClaim[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
10
|
+
export declare const createERC20DeployedClaim: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgERC20DeployedClaim | MsgERC20DeployedClaim[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
11
|
+
export declare const createSetOrchestratorAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetOrchestratorAddresses | MsgSetOrchestratorAddresses[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
12
|
+
export declare const createCancelSendToEth: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelSendToEth | MsgCancelSendToEth[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
13
|
+
export declare const createSubmitBadSignatureEvidence: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitBadSignatureEvidence | MsgSubmitBadSignatureEvidence[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
14
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
15
|
+
export declare const createBlacklistEthereumAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBlacklistEthereumAddresses | MsgBlacklistEthereumAddresses[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
16
|
+
export declare const createRevokeEthereumBlacklist: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeEthereumBlacklist | MsgRevokeEthereumBlacklist[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddressVoucher = exports.Voucher = exports.RoleIDs = exports.Role = exports.AddressRoles = exports.Namespace = exports.
|
|
3
|
+
exports.AddressVoucher = exports.Voucher = exports.RoleIDs = exports.Role = exports.AddressRoles = exports.Namespace = exports.ActionAmino = exports.Action = void 0;
|
|
4
|
+
exports.actionFromJSON = actionFromJSON;
|
|
5
|
+
exports.actionToJSON = actionToJSON;
|
|
4
6
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
5
7
|
const binary_1 = require("../../../binary");
|
|
6
8
|
/** each Action enum value should be a power of two */
|
|
@@ -33,7 +35,6 @@ function actionFromJSON(object) {
|
|
|
33
35
|
return Action.UNRECOGNIZED;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
|
-
exports.actionFromJSON = actionFromJSON;
|
|
37
38
|
function actionToJSON(object) {
|
|
38
39
|
switch (object) {
|
|
39
40
|
case Action.UNSPECIFIED:
|
|
@@ -49,7 +50,6 @@ function actionToJSON(object) {
|
|
|
49
50
|
return "UNRECOGNIZED";
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
exports.actionToJSON = actionToJSON;
|
|
53
53
|
function createBaseNamespace() {
|
|
54
54
|
return {
|
|
55
55
|
denom: "",
|
|
@@ -5,31 +5,31 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
updateParams(value: MsgUpdateParams): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
createNamespace(value: MsgCreateNamespace): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
deleteNamespace(value: MsgDeleteNamespace): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
updateNamespace(value: MsgUpdateNamespace): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
updateNamespaceRoles(value: MsgUpdateNamespaceRoles): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
revokeNamespaceRoles(value: MsgRevokeNamespaceRoles): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
claimVoucher(value: MsgClaimVoucher): {
|
|
31
31
|
typeUrl: string;
|
|
32
|
-
value: Uint8Array
|
|
32
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
withTypeUrl: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgUpdateParams, MsgCreateNamespace, MsgDeleteNamespace, MsgUpdateNamespace, MsgUpdateNamespaceRoles, MsgRevokeNamespaceRoles, MsgClaimVoucher } from "./tx";
|
|
3
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
4
|
-
export declare const createCreateNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateNamespace | MsgCreateNamespace[], fee:
|
|
5
|
-
export declare const createDeleteNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeleteNamespace | MsgDeleteNamespace[], fee:
|
|
6
|
-
export declare const createUpdateNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateNamespace | MsgUpdateNamespace[], fee:
|
|
7
|
-
export declare const createUpdateNamespaceRoles: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateNamespaceRoles | MsgUpdateNamespaceRoles[], fee:
|
|
8
|
-
export declare const createRevokeNamespaceRoles: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeNamespaceRoles | MsgRevokeNamespaceRoles[], fee:
|
|
9
|
-
export declare const createClaimVoucher: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgClaimVoucher | MsgClaimVoucher[], fee:
|
|
3
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createCreateNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateNamespace | MsgCreateNamespace[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createDeleteNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeleteNamespace | MsgDeleteNamespace[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createUpdateNamespace: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateNamespace | MsgUpdateNamespace[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createUpdateNamespaceRoles: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateNamespaceRoles | MsgUpdateNamespaceRoles[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createRevokeNamespaceRoles: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeNamespaceRoles | MsgRevokeNamespaceRoles[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createClaimVoucher: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgClaimVoucher | MsgClaimVoucher[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OraclePriceFilter = exports.SubaccountDepositsFilter = exports.BankBalancesFilter = exports.OrderbookFilter = exports.OrdersFilter = exports.PositionsFilter = exports.TradesFilter = exports.DerivativeTrade = exports.SpotTrade = exports.OraclePrice = exports.Position = exports.DerivativeOrder = exports.DerivativeOrderUpdate = exports.SpotOrder = exports.SpotOrderUpdate = exports.SubaccountDeposit = exports.SubaccountDeposits = exports.BankBalance = exports.Orderbook = exports.OrderbookUpdate = exports.StreamResponse = exports.StreamRequest = exports.
|
|
3
|
+
exports.OraclePriceFilter = exports.SubaccountDepositsFilter = exports.BankBalancesFilter = exports.OrderbookFilter = exports.OrdersFilter = exports.PositionsFilter = exports.TradesFilter = exports.DerivativeTrade = exports.SpotTrade = exports.OraclePrice = exports.Position = exports.DerivativeOrder = exports.DerivativeOrderUpdate = exports.SpotOrder = exports.SpotOrderUpdate = exports.SubaccountDeposit = exports.SubaccountDeposits = exports.BankBalance = exports.Orderbook = exports.OrderbookUpdate = exports.StreamResponse = exports.StreamRequest = exports.OrderUpdateStatusAmino = exports.OrderUpdateStatus = void 0;
|
|
4
|
+
exports.orderUpdateStatusFromJSON = orderUpdateStatusFromJSON;
|
|
5
|
+
exports.orderUpdateStatusToJSON = orderUpdateStatusToJSON;
|
|
4
6
|
const exchange_1 = require("../../exchange/v1beta1/exchange");
|
|
5
7
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
6
8
|
const binary_1 = require("../../../binary");
|
|
@@ -34,7 +36,6 @@ function orderUpdateStatusFromJSON(object) {
|
|
|
34
36
|
return OrderUpdateStatus.UNRECOGNIZED;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
exports.orderUpdateStatusFromJSON = orderUpdateStatusFromJSON;
|
|
38
39
|
function orderUpdateStatusToJSON(object) {
|
|
39
40
|
switch (object) {
|
|
40
41
|
case OrderUpdateStatus.Unspecified:
|
|
@@ -50,7 +51,6 @@ function orderUpdateStatusToJSON(object) {
|
|
|
50
51
|
return "UNRECOGNIZED";
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
exports.orderUpdateStatusToJSON = orderUpdateStatusToJSON;
|
|
54
54
|
function createBaseStreamRequest() {
|
|
55
55
|
return {
|
|
56
56
|
bankBalancesFilter: undefined,
|
|
@@ -5,27 +5,27 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
createDenom(value: MsgCreateDenom): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
mint(value: MsgMint): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
burn(value: MsgBurn): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
changeAdmin(value: MsgChangeAdmin): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
setDenomMetadata(value: MsgSetDenomMetadata): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
updateParams(value: MsgUpdateParams): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
withTypeUrl: {
|
|
@@ -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:
|
|
4
|
-
export declare const createMint: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMint | MsgMint[], fee:
|
|
5
|
-
export declare const createBurn: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBurn | MsgBurn[], fee:
|
|
6
|
-
export declare const createChangeAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgChangeAdmin | MsgChangeAdmin[], fee:
|
|
7
|
-
export declare const createSetDenomMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetDenomMetadata | MsgSetDenomMetadata[], fee:
|
|
8
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
3
|
+
export declare const createCreateDenom: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateDenom | MsgCreateDenom[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createMint: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMint | MsgMint[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createBurn: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createChangeAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgChangeAdmin | MsgChangeAdmin[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createSetDenomMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetDenomMetadata | MsgSetDenomMetadata[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchStoreCodeProposal = exports.ContractRegistrationRequest = exports.BatchContractDeregistrationProposal = exports.BatchContractRegistrationRequestProposal = exports.ContractRegistrationRequestProposal = exports.
|
|
3
|
+
exports.BatchStoreCodeProposal = exports.ContractRegistrationRequest = exports.BatchContractDeregistrationProposal = exports.BatchContractRegistrationRequestProposal = exports.ContractRegistrationRequestProposal = exports.FundingModeAmino = exports.FundingMode = void 0;
|
|
4
|
+
exports.fundingModeFromJSON = fundingModeFromJSON;
|
|
5
|
+
exports.fundingModeToJSON = fundingModeToJSON;
|
|
4
6
|
const proposal_legacy_1 = require("../../../cosmwasm/wasm/v1/proposal_legacy");
|
|
5
7
|
const binary_1 = require("../../../binary");
|
|
6
8
|
const registry_1 = require("../../../registry");
|
|
@@ -34,7 +36,6 @@ function fundingModeFromJSON(object) {
|
|
|
34
36
|
return FundingMode.UNRECOGNIZED;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
exports.fundingModeFromJSON = fundingModeFromJSON;
|
|
38
39
|
function fundingModeToJSON(object) {
|
|
39
40
|
switch (object) {
|
|
40
41
|
case FundingMode.Unspecified:
|
|
@@ -50,7 +51,6 @@ function fundingModeToJSON(object) {
|
|
|
50
51
|
return "UNRECOGNIZED";
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
exports.fundingModeToJSON = fundingModeToJSON;
|
|
54
54
|
function createBaseContractRegistrationRequestProposal() {
|
|
55
55
|
return {
|
|
56
56
|
title: "",
|
|
@@ -5,27 +5,27 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
updateRegistryContractParams(value: MsgUpdateContract): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
activateRegistryContract(value: MsgActivateContract): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
deactivateRegistryContract(value: MsgDeactivateContract): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
executeContractCompat(value: MsgExecuteContractCompat): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
updateParams(value: MsgUpdateParams): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
registerContract(value: MsgRegisterContract): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
withTypeUrl: {
|
|
@@ -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:
|
|
4
|
-
export declare const createActivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgActivateContract | MsgActivateContract[], fee:
|
|
5
|
-
export declare const createDeactivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeactivateContract | MsgDeactivateContract[], fee:
|
|
6
|
-
export declare const createExecuteContractCompat: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContractCompat | MsgExecuteContractCompat[], fee:
|
|
7
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
8
|
-
export declare const createRegisterContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRegisterContract | MsgRegisterContract[], fee:
|
|
3
|
+
export declare const createUpdateRegistryContractParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateContract | MsgUpdateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createActivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgActivateContract | MsgActivateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createDeactivateRegistryContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeactivateContract | MsgDeactivateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createExecuteContractCompat: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContractCompat | MsgExecuteContractCompat[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createRegisterContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRegisterContract | MsgRegisterContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "injectivejs",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
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,10 +25,12 @@
|
|
|
25
25
|
"prepare": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@interchainjs/cosmos": "
|
|
29
|
-
"@interchainjs/cosmos-types": "
|
|
30
|
-
"@interchainjs/
|
|
31
|
-
"@interchainjs/
|
|
28
|
+
"@interchainjs/cosmos": "1.9.5",
|
|
29
|
+
"@interchainjs/cosmos-types": "1.9.5",
|
|
30
|
+
"@interchainjs/encoding": "1.9.5",
|
|
31
|
+
"@interchainjs/pubkey": "1.9.5",
|
|
32
|
+
"@interchainjs/types": "1.9.5",
|
|
33
|
+
"@interchainjs/utils": "1.9.5",
|
|
32
34
|
"@noble/hashes": "^1.3.1",
|
|
33
35
|
"decimal.js": "^10.4.3"
|
|
34
36
|
},
|
|
@@ -39,5 +41,5 @@
|
|
|
39
41
|
"cosmjs",
|
|
40
42
|
"wallet"
|
|
41
43
|
],
|
|
42
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "198703f750d8a583e2cdad586d255ab3fbad7436"
|
|
43
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.20
|
|
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.20
|
|
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/tendermint/abci/types.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.Snapshot = exports.Misbehavior = exports.ExtendedVoteInfo = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.ExecTxResult = exports.EventAttribute =
|
|
3
|
+
exports.Event = exports.ExtendedCommitInfo = exports.CommitInfo = exports.ResponseFinalizeBlock = exports.ResponseVerifyVoteExtension = exports.ResponseExtendVote = exports.ResponseProcessProposal = exports.ResponsePrepareProposal = exports.ResponseApplySnapshotChunk = exports.ResponseLoadSnapshotChunk = exports.ResponseOfferSnapshot = exports.ResponseListSnapshots = exports.ResponseCommit = exports.ResponseCheckTx = exports.ResponseQuery = exports.ResponseInitChain = exports.ResponseInfo = exports.ResponseFlush = exports.ResponseEcho = exports.ResponseException = exports.Response = exports.RequestFinalizeBlock = exports.RequestVerifyVoteExtension = exports.RequestExtendVote = exports.RequestProcessProposal = exports.RequestPrepareProposal = exports.RequestApplySnapshotChunk = exports.RequestLoadSnapshotChunk = exports.RequestOfferSnapshot = exports.RequestListSnapshots = exports.RequestCommit = exports.RequestCheckTx = exports.RequestQuery = exports.RequestInitChain = exports.RequestInfo = exports.RequestFlush = exports.RequestEcho = exports.Request = exports.MisbehaviorTypeAmino = exports.MisbehaviorType = exports.ResponseVerifyVoteExtension_VerifyStatusAmino = exports.ResponseVerifyVoteExtension_VerifyStatus = exports.ResponseProcessProposal_ProposalStatusAmino = exports.ResponseProcessProposal_ProposalStatus = exports.ResponseApplySnapshotChunk_ResultAmino = exports.ResponseApplySnapshotChunk_Result = exports.ResponseOfferSnapshot_ResultAmino = exports.ResponseOfferSnapshot_Result = exports.CheckTxTypeAmino = exports.CheckTxType = void 0;
|
|
4
|
+
exports.Snapshot = exports.Misbehavior = exports.ExtendedVoteInfo = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.ExecTxResult = exports.EventAttribute = void 0;
|
|
5
|
+
exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
|
|
6
|
+
exports.checkTxTypeToJSON = checkTxTypeToJSON;
|
|
7
|
+
exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
|
|
8
|
+
exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
|
|
9
|
+
exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
|
|
10
|
+
exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
|
|
11
|
+
exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
|
|
12
|
+
exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
|
|
13
|
+
exports.responseVerifyVoteExtension_VerifyStatusFromJSON = responseVerifyVoteExtension_VerifyStatusFromJSON;
|
|
14
|
+
exports.responseVerifyVoteExtension_VerifyStatusToJSON = responseVerifyVoteExtension_VerifyStatusToJSON;
|
|
15
|
+
exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
|
|
16
|
+
exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
|
|
5
17
|
const timestamp_1 = require("../../google/protobuf/timestamp");
|
|
6
18
|
const params_1 = require("../types/params");
|
|
7
19
|
const proof_1 = require("../crypto/proof");
|
|
@@ -29,7 +41,6 @@ function checkTxTypeFromJSON(object) {
|
|
|
29
41
|
return CheckTxType.UNRECOGNIZED;
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
|
-
exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
|
|
33
44
|
function checkTxTypeToJSON(object) {
|
|
34
45
|
switch (object) {
|
|
35
46
|
case CheckTxType.NEW:
|
|
@@ -41,7 +52,6 @@ function checkTxTypeToJSON(object) {
|
|
|
41
52
|
return "UNRECOGNIZED";
|
|
42
53
|
}
|
|
43
54
|
}
|
|
44
|
-
exports.checkTxTypeToJSON = checkTxTypeToJSON;
|
|
45
55
|
var ResponseOfferSnapshot_Result;
|
|
46
56
|
(function (ResponseOfferSnapshot_Result) {
|
|
47
57
|
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
|
@@ -85,7 +95,6 @@ function responseOfferSnapshot_ResultFromJSON(object) {
|
|
|
85
95
|
return ResponseOfferSnapshot_Result.UNRECOGNIZED;
|
|
86
96
|
}
|
|
87
97
|
}
|
|
88
|
-
exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
|
|
89
98
|
function responseOfferSnapshot_ResultToJSON(object) {
|
|
90
99
|
switch (object) {
|
|
91
100
|
case ResponseOfferSnapshot_Result.UNKNOWN:
|
|
@@ -105,7 +114,6 @@ function responseOfferSnapshot_ResultToJSON(object) {
|
|
|
105
114
|
return "UNRECOGNIZED";
|
|
106
115
|
}
|
|
107
116
|
}
|
|
108
|
-
exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
|
|
109
117
|
var ResponseApplySnapshotChunk_Result;
|
|
110
118
|
(function (ResponseApplySnapshotChunk_Result) {
|
|
111
119
|
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
|
@@ -149,7 +157,6 @@ function responseApplySnapshotChunk_ResultFromJSON(object) {
|
|
|
149
157
|
return ResponseApplySnapshotChunk_Result.UNRECOGNIZED;
|
|
150
158
|
}
|
|
151
159
|
}
|
|
152
|
-
exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
|
|
153
160
|
function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
154
161
|
switch (object) {
|
|
155
162
|
case ResponseApplySnapshotChunk_Result.UNKNOWN:
|
|
@@ -169,7 +176,6 @@ function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
|
169
176
|
return "UNRECOGNIZED";
|
|
170
177
|
}
|
|
171
178
|
}
|
|
172
|
-
exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
|
|
173
179
|
var ResponseProcessProposal_ProposalStatus;
|
|
174
180
|
(function (ResponseProcessProposal_ProposalStatus) {
|
|
175
181
|
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -195,7 +201,6 @@ function responseProcessProposal_ProposalStatusFromJSON(object) {
|
|
|
195
201
|
return ResponseProcessProposal_ProposalStatus.UNRECOGNIZED;
|
|
196
202
|
}
|
|
197
203
|
}
|
|
198
|
-
exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
|
|
199
204
|
function responseProcessProposal_ProposalStatusToJSON(object) {
|
|
200
205
|
switch (object) {
|
|
201
206
|
case ResponseProcessProposal_ProposalStatus.UNKNOWN:
|
|
@@ -209,7 +214,6 @@ function responseProcessProposal_ProposalStatusToJSON(object) {
|
|
|
209
214
|
return "UNRECOGNIZED";
|
|
210
215
|
}
|
|
211
216
|
}
|
|
212
|
-
exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
|
|
213
217
|
var ResponseVerifyVoteExtension_VerifyStatus;
|
|
214
218
|
(function (ResponseVerifyVoteExtension_VerifyStatus) {
|
|
215
219
|
ResponseVerifyVoteExtension_VerifyStatus[ResponseVerifyVoteExtension_VerifyStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -241,7 +245,6 @@ function responseVerifyVoteExtension_VerifyStatusFromJSON(object) {
|
|
|
241
245
|
return ResponseVerifyVoteExtension_VerifyStatus.UNRECOGNIZED;
|
|
242
246
|
}
|
|
243
247
|
}
|
|
244
|
-
exports.responseVerifyVoteExtension_VerifyStatusFromJSON = responseVerifyVoteExtension_VerifyStatusFromJSON;
|
|
245
248
|
function responseVerifyVoteExtension_VerifyStatusToJSON(object) {
|
|
246
249
|
switch (object) {
|
|
247
250
|
case ResponseVerifyVoteExtension_VerifyStatus.UNKNOWN:
|
|
@@ -255,7 +258,6 @@ function responseVerifyVoteExtension_VerifyStatusToJSON(object) {
|
|
|
255
258
|
return "UNRECOGNIZED";
|
|
256
259
|
}
|
|
257
260
|
}
|
|
258
|
-
exports.responseVerifyVoteExtension_VerifyStatusToJSON = responseVerifyVoteExtension_VerifyStatusToJSON;
|
|
259
261
|
var MisbehaviorType;
|
|
260
262
|
(function (MisbehaviorType) {
|
|
261
263
|
MisbehaviorType[MisbehaviorType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -281,7 +283,6 @@ function misbehaviorTypeFromJSON(object) {
|
|
|
281
283
|
return MisbehaviorType.UNRECOGNIZED;
|
|
282
284
|
}
|
|
283
285
|
}
|
|
284
|
-
exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
|
|
285
286
|
function misbehaviorTypeToJSON(object) {
|
|
286
287
|
switch (object) {
|
|
287
288
|
case MisbehaviorType.UNKNOWN:
|
|
@@ -295,7 +296,6 @@ function misbehaviorTypeToJSON(object) {
|
|
|
295
296
|
return "UNRECOGNIZED";
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
|
-
exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
|
|
299
299
|
function createBaseRequest() {
|
|
300
300
|
return {
|
|
301
301
|
echo: undefined,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.ExtendedCommitSig = exports.ExtendedCommit = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.
|
|
3
|
+
exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.ExtendedCommitSig = exports.ExtendedCommit = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.SignedMsgTypeAmino = exports.SignedMsgType = void 0;
|
|
4
|
+
exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
|
|
5
|
+
exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
|
|
4
6
|
const proof_1 = require("../crypto/proof");
|
|
5
7
|
const types_1 = require("../version/types");
|
|
6
8
|
const timestamp_1 = require("../../google/protobuf/timestamp");
|
|
@@ -39,7 +41,6 @@ function signedMsgTypeFromJSON(object) {
|
|
|
39
41
|
return SignedMsgType.UNRECOGNIZED;
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
|
-
exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
|
|
43
44
|
function signedMsgTypeToJSON(object) {
|
|
44
45
|
switch (object) {
|
|
45
46
|
case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN:
|
|
@@ -55,7 +56,6 @@ function signedMsgTypeToJSON(object) {
|
|
|
55
56
|
return "UNRECOGNIZED";
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
|
-
exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
|
|
59
59
|
function createBasePartSetHeader() {
|
|
60
60
|
return {
|
|
61
61
|
total: 0,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.
|
|
3
|
+
exports.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.BlockIDFlagAmino = exports.BlockIDFlag = void 0;
|
|
4
|
+
exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
|
|
5
|
+
exports.blockIDFlagToJSON = blockIDFlagToJSON;
|
|
4
6
|
const keys_1 = require("../crypto/keys");
|
|
5
7
|
const binary_1 = require("../../binary");
|
|
6
8
|
const helpers_1 = require("../../helpers");
|
|
@@ -37,7 +39,6 @@ function blockIDFlagFromJSON(object) {
|
|
|
37
39
|
return BlockIDFlag.UNRECOGNIZED;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
|
-
exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
|
|
41
42
|
function blockIDFlagToJSON(object) {
|
|
42
43
|
switch (object) {
|
|
43
44
|
case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN:
|
|
@@ -53,7 +54,6 @@ function blockIDFlagToJSON(object) {
|
|
|
53
54
|
return "UNRECOGNIZED";
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
|
-
exports.blockIDFlagToJSON = blockIDFlagToJSON;
|
|
57
57
|
function createBaseValidatorSet() {
|
|
58
58
|
return {
|
|
59
59
|
validators: [],
|
package/types.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
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.20
|
|
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
|
*/
|
|
6
6
|
import { IBinaryReader, IBinaryWriter } from "./binary";
|
|
7
7
|
import { Any } from "./google/protobuf/any";
|
|
8
|
-
import { OfflineSigner } from "@interchainjs/cosmos/types/wallet";
|
|
9
|
-
import { HttpEndpoint } from "@interchainjs/types";
|
|
10
8
|
export type ProtoMsg = Omit<Any, "typeUrl"> & {
|
|
11
9
|
typeUrl: any;
|
|
12
10
|
};
|
|
@@ -119,7 +117,3 @@ export interface TxRpc {
|
|
|
119
117
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
120
118
|
signAndBroadcast?(signerAddress: string, messages: EncodeObject[], fee: StdFee | "auto" | number, memo: string): Promise<DeliverTxResponse>;
|
|
121
119
|
}
|
|
122
|
-
export interface SigningClientParams {
|
|
123
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
124
|
-
signer: OfflineSigner;
|
|
125
|
-
}
|