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
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompressedNonExistenceProof = exports.CompressedExistenceProof = exports.CompressedBatchEntry = exports.CompressedBatchProof = exports.BatchEntry = exports.BatchProof = exports.InnerSpec = exports.ProofSpec = exports.InnerOp = exports.LeafOp = exports.CommitmentProof = exports.NonExistenceProof = exports.ExistenceProof = exports.
|
|
3
|
+
exports.CompressedNonExistenceProof = exports.CompressedExistenceProof = exports.CompressedBatchEntry = exports.CompressedBatchProof = exports.BatchEntry = exports.BatchProof = exports.InnerSpec = exports.ProofSpec = exports.InnerOp = exports.LeafOp = exports.CommitmentProof = exports.NonExistenceProof = exports.ExistenceProof = exports.LengthOpAmino = exports.LengthOp = exports.HashOpAmino = exports.HashOp = void 0;
|
|
4
|
+
exports.hashOpFromJSON = hashOpFromJSON;
|
|
5
|
+
exports.hashOpToJSON = hashOpToJSON;
|
|
6
|
+
exports.lengthOpFromJSON = lengthOpFromJSON;
|
|
7
|
+
exports.lengthOpToJSON = lengthOpToJSON;
|
|
4
8
|
const binary_1 = require("../../../binary");
|
|
5
9
|
const helpers_1 = require("../../../helpers");
|
|
6
10
|
var HashOp;
|
|
@@ -58,7 +62,6 @@ function hashOpFromJSON(object) {
|
|
|
58
62
|
return HashOp.UNRECOGNIZED;
|
|
59
63
|
}
|
|
60
64
|
}
|
|
61
|
-
exports.hashOpFromJSON = hashOpFromJSON;
|
|
62
65
|
function hashOpToJSON(object) {
|
|
63
66
|
switch (object) {
|
|
64
67
|
case HashOp.NO_HASH:
|
|
@@ -86,7 +89,6 @@ function hashOpToJSON(object) {
|
|
|
86
89
|
return "UNRECOGNIZED";
|
|
87
90
|
}
|
|
88
91
|
}
|
|
89
|
-
exports.hashOpToJSON = hashOpToJSON;
|
|
90
92
|
/**
|
|
91
93
|
* LengthOp defines how to process the key and value of the LeafOp
|
|
92
94
|
* to include length information. After encoding the length with the given
|
|
@@ -151,7 +153,6 @@ function lengthOpFromJSON(object) {
|
|
|
151
153
|
return LengthOp.UNRECOGNIZED;
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
|
-
exports.lengthOpFromJSON = lengthOpFromJSON;
|
|
155
156
|
function lengthOpToJSON(object) {
|
|
156
157
|
switch (object) {
|
|
157
158
|
case LengthOp.NO_PREFIX:
|
|
@@ -177,7 +178,6 @@ function lengthOpToJSON(object) {
|
|
|
177
178
|
return "UNRECOGNIZED";
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
|
-
exports.lengthOpToJSON = lengthOpToJSON;
|
|
181
181
|
function createBaseExistenceProof() {
|
|
182
182
|
return {
|
|
183
183
|
key: new Uint8Array(),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValidatorUpdates = exports.Pool = exports.RedelegationResponse = exports.RedelegationEntryResponse = exports.DelegationResponse = exports.Params = exports.Redelegation = exports.RedelegationEntry = exports.UnbondingDelegationEntry = exports.UnbondingDelegation = exports.Delegation = exports.DVVTriplets = exports.DVVTriplet = exports.DVPairs = exports.DVPair = exports.ValAddresses = exports.Validator = exports.Description = exports.Commission = exports.CommissionRates = exports.HistoricalInfo = exports.
|
|
3
|
+
exports.ValidatorUpdates = exports.Pool = exports.RedelegationResponse = exports.RedelegationEntryResponse = exports.DelegationResponse = exports.Params = exports.Redelegation = exports.RedelegationEntry = exports.UnbondingDelegationEntry = exports.UnbondingDelegation = exports.Delegation = exports.DVVTriplets = exports.DVVTriplet = exports.DVPairs = exports.DVPair = exports.ValAddresses = exports.Validator = exports.Description = exports.Commission = exports.CommissionRates = exports.HistoricalInfo = exports.InfractionAmino = exports.Infraction = exports.BondStatusAmino = exports.BondStatus = void 0;
|
|
4
|
+
exports.bondStatusFromJSON = bondStatusFromJSON;
|
|
5
|
+
exports.bondStatusToJSON = bondStatusToJSON;
|
|
6
|
+
exports.infractionFromJSON = infractionFromJSON;
|
|
7
|
+
exports.infractionToJSON = infractionToJSON;
|
|
4
8
|
const types_1 = require("../../../tendermint/types/types");
|
|
5
9
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
6
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
@@ -10,7 +14,7 @@ const types_2 = require("../../../tendermint/abci/types");
|
|
|
10
14
|
const binary_1 = require("../../../binary");
|
|
11
15
|
const registry_1 = require("../../../registry");
|
|
12
16
|
const helpers_1 = require("../../../helpers");
|
|
13
|
-
const
|
|
17
|
+
const pubkey_1 = require("@interchainjs/pubkey");
|
|
14
18
|
/** BondStatus is the status of a validator. */
|
|
15
19
|
var BondStatus;
|
|
16
20
|
(function (BondStatus) {
|
|
@@ -45,7 +49,6 @@ function bondStatusFromJSON(object) {
|
|
|
45
49
|
return BondStatus.UNRECOGNIZED;
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
|
-
exports.bondStatusFromJSON = bondStatusFromJSON;
|
|
49
52
|
function bondStatusToJSON(object) {
|
|
50
53
|
switch (object) {
|
|
51
54
|
case BondStatus.BOND_STATUS_UNSPECIFIED:
|
|
@@ -61,7 +64,6 @@ function bondStatusToJSON(object) {
|
|
|
61
64
|
return "UNRECOGNIZED";
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
|
-
exports.bondStatusToJSON = bondStatusToJSON;
|
|
65
67
|
/** Infraction indicates the infraction a validator commited. */
|
|
66
68
|
var Infraction;
|
|
67
69
|
(function (Infraction) {
|
|
@@ -91,7 +93,6 @@ function infractionFromJSON(object) {
|
|
|
91
93
|
return Infraction.UNRECOGNIZED;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
exports.infractionFromJSON = infractionFromJSON;
|
|
95
96
|
function infractionToJSON(object) {
|
|
96
97
|
switch (object) {
|
|
97
98
|
case Infraction.INFRACTION_UNSPECIFIED:
|
|
@@ -105,7 +106,6 @@ function infractionToJSON(object) {
|
|
|
105
106
|
return "UNRECOGNIZED";
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
|
-
exports.infractionToJSON = infractionToJSON;
|
|
109
109
|
function createBaseHistoricalInfo() {
|
|
110
110
|
return {
|
|
111
111
|
header: types_1.Header.fromPartial({}),
|
|
@@ -672,7 +672,7 @@ exports.Validator = {
|
|
|
672
672
|
message.operatorAddress = object.operator_address;
|
|
673
673
|
}
|
|
674
674
|
if (object.consensus_pubkey !== undefined && object.consensus_pubkey !== null) {
|
|
675
|
-
message.consensusPubkey = (0,
|
|
675
|
+
message.consensusPubkey = (0, pubkey_1.encodePubkey)(object.consensus_pubkey);
|
|
676
676
|
}
|
|
677
677
|
if (object.jailed !== undefined && object.jailed !== null) {
|
|
678
678
|
message.jailed = object.jailed;
|
|
@@ -710,7 +710,7 @@ exports.Validator = {
|
|
|
710
710
|
toAmino(message) {
|
|
711
711
|
const obj = {};
|
|
712
712
|
obj.operator_address = message.operatorAddress === "" ? undefined : message.operatorAddress;
|
|
713
|
-
obj.consensus_pubkey = message.consensusPubkey ? (0,
|
|
713
|
+
obj.consensus_pubkey = message.consensusPubkey ? (0, pubkey_1.decodePubkey)(message.consensusPubkey) : undefined;
|
|
714
714
|
obj.jailed = message.jailed === false ? undefined : message.jailed;
|
|
715
715
|
obj.status = message.status === 0 ? undefined : message.status;
|
|
716
716
|
obj.tokens = message.tokens === "" ? undefined : message.tokens;
|
|
@@ -8,7 +8,7 @@ const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
|
8
8
|
const binary_1 = require("../../../binary");
|
|
9
9
|
const registry_1 = require("../../../registry");
|
|
10
10
|
const helpers_1 = require("../../../helpers");
|
|
11
|
-
const
|
|
11
|
+
const pubkey_1 = require("@interchainjs/pubkey");
|
|
12
12
|
function createBaseMsgCreateValidator() {
|
|
13
13
|
return {
|
|
14
14
|
description: staking_1.Description.fromPartial({}),
|
|
@@ -117,7 +117,7 @@ exports.MsgCreateValidator = {
|
|
|
117
117
|
message.validatorAddress = object.validator_address;
|
|
118
118
|
}
|
|
119
119
|
if (object.pubkey !== undefined && object.pubkey !== null) {
|
|
120
|
-
message.pubkey = (0,
|
|
120
|
+
message.pubkey = (0, pubkey_1.encodePubkey)(object.pubkey);
|
|
121
121
|
}
|
|
122
122
|
if (object.value !== undefined && object.value !== null) {
|
|
123
123
|
message.value = coin_1.Coin.fromAmino(object.value);
|
|
@@ -131,7 +131,7 @@ exports.MsgCreateValidator = {
|
|
|
131
131
|
obj.min_self_delegation = message.minSelfDelegation ?? "";
|
|
132
132
|
obj.delegator_address = message.delegatorAddress === "" ? undefined : message.delegatorAddress;
|
|
133
133
|
obj.validator_address = message.validatorAddress === "" ? undefined : message.validatorAddress;
|
|
134
|
-
obj.pubkey = message.pubkey ? (0,
|
|
134
|
+
obj.pubkey = message.pubkey ? (0, pubkey_1.decodePubkey)(message.pubkey) : undefined;
|
|
135
135
|
obj.value = message.value ? coin_1.Coin.toAmino(message.value) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
136
136
|
return obj;
|
|
137
137
|
},
|
|
@@ -5,31 +5,31 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
createValidator(value: MsgCreateValidator): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
editValidator(value: MsgEditValidator): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
delegate(value: MsgDelegate): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
beginRedelegate(value: MsgBeginRedelegate): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
undelegate(value: MsgUndelegate): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
updateParams(value: MsgUpdateParams): {
|
|
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 { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
|
|
3
|
-
export declare const createCreateValidator: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateValidator | MsgCreateValidator[], fee:
|
|
4
|
-
export declare const createEditValidator: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgEditValidator | MsgEditValidator[], fee:
|
|
5
|
-
export declare const createDelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDelegate | MsgDelegate[], fee:
|
|
6
|
-
export declare const createBeginRedelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBeginRedelegate | MsgBeginRedelegate[], fee:
|
|
7
|
-
export declare const createUndelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUndelegate | MsgUndelegate[], fee:
|
|
8
|
-
export declare const createCancelUnbondingDelegation: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelUnbondingDelegation | MsgCancelUnbondingDelegation[], fee:
|
|
9
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
3
|
+
export declare const createCreateValidator: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateValidator | MsgCreateValidator[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createEditValidator: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgEditValidator | MsgEditValidator[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createDelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDelegate | MsgDelegate[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createBeginRedelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgBeginRedelegate | MsgBeginRedelegate[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createUndelegate: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUndelegate | MsgUndelegate[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createCancelUnbondingDelegation: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelUnbondingDelegation | MsgCancelUnbondingDelegation[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
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.SignatureDescriptor_Data_Multi = exports.SignatureDescriptor_Data_Single = exports.SignatureDescriptor_Data = exports.SignatureDescriptor = exports.SignatureDescriptors = exports.
|
|
3
|
+
exports.SignatureDescriptor_Data_Multi = exports.SignatureDescriptor_Data_Single = exports.SignatureDescriptor_Data = exports.SignatureDescriptor = exports.SignatureDescriptors = exports.SignModeAmino = exports.SignMode = void 0;
|
|
4
|
+
exports.signModeFromJSON = signModeFromJSON;
|
|
5
|
+
exports.signModeToJSON = signModeToJSON;
|
|
4
6
|
const multisig_1 = require("../../../crypto/multisig/v1beta1/multisig");
|
|
5
7
|
const any_1 = require("../../../../google/protobuf/any");
|
|
6
8
|
const binary_1 = require("../../../../binary");
|
|
@@ -90,7 +92,6 @@ function signModeFromJSON(object) {
|
|
|
90
92
|
return SignMode.UNRECOGNIZED;
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
|
-
exports.signModeFromJSON = signModeFromJSON;
|
|
94
95
|
function signModeToJSON(object) {
|
|
95
96
|
switch (object) {
|
|
96
97
|
case SignMode.SIGN_MODE_UNSPECIFIED:
|
|
@@ -110,7 +111,6 @@ function signModeToJSON(object) {
|
|
|
110
111
|
return "UNRECOGNIZED";
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
|
-
exports.signModeToJSON = signModeToJSON;
|
|
114
114
|
function createBaseSignatureDescriptors() {
|
|
115
115
|
return {
|
|
116
116
|
signatures: []
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TxDecodeAminoResponse = exports.TxDecodeAminoRequest = exports.TxEncodeAminoResponse = exports.TxEncodeAminoRequest = exports.TxEncodeResponse = exports.TxEncodeRequest = exports.TxDecodeResponse = exports.TxDecodeRequest = exports.GetBlockWithTxsResponse = exports.GetBlockWithTxsRequest = exports.GetTxResponse = exports.GetTxRequest = exports.SimulateResponse = exports.SimulateRequest = exports.BroadcastTxResponse = exports.BroadcastTxRequest = exports.GetTxsEventResponse = exports.GetTxsEventRequest = exports.
|
|
3
|
+
exports.TxDecodeAminoResponse = exports.TxDecodeAminoRequest = exports.TxEncodeAminoResponse = exports.TxEncodeAminoRequest = exports.TxEncodeResponse = exports.TxEncodeRequest = exports.TxDecodeResponse = exports.TxDecodeRequest = exports.GetBlockWithTxsResponse = exports.GetBlockWithTxsRequest = exports.GetTxResponse = exports.GetTxRequest = exports.SimulateResponse = exports.SimulateRequest = exports.BroadcastTxResponse = exports.BroadcastTxRequest = exports.GetTxsEventResponse = exports.GetTxsEventRequest = exports.BroadcastModeAmino = exports.BroadcastMode = exports.OrderByAmino = exports.OrderBy = void 0;
|
|
4
|
+
exports.orderByFromJSON = orderByFromJSON;
|
|
5
|
+
exports.orderByToJSON = orderByToJSON;
|
|
6
|
+
exports.broadcastModeFromJSON = broadcastModeFromJSON;
|
|
7
|
+
exports.broadcastModeToJSON = broadcastModeToJSON;
|
|
4
8
|
const tx_1 = require("./tx");
|
|
5
9
|
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
6
10
|
const abci_1 = require("../../base/abci/v1beta1/abci");
|
|
@@ -40,7 +44,6 @@ function orderByFromJSON(object) {
|
|
|
40
44
|
return OrderBy.UNRECOGNIZED;
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
|
-
exports.orderByFromJSON = orderByFromJSON;
|
|
44
47
|
function orderByToJSON(object) {
|
|
45
48
|
switch (object) {
|
|
46
49
|
case OrderBy.ORDER_BY_UNSPECIFIED:
|
|
@@ -54,7 +57,6 @@ function orderByToJSON(object) {
|
|
|
54
57
|
return "UNRECOGNIZED";
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
|
-
exports.orderByToJSON = orderByToJSON;
|
|
58
60
|
/**
|
|
59
61
|
* BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC
|
|
60
62
|
* method.
|
|
@@ -101,7 +103,6 @@ function broadcastModeFromJSON(object) {
|
|
|
101
103
|
return BroadcastMode.UNRECOGNIZED;
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
|
-
exports.broadcastModeFromJSON = broadcastModeFromJSON;
|
|
105
106
|
function broadcastModeToJSON(object) {
|
|
106
107
|
switch (object) {
|
|
107
108
|
case BroadcastMode.BROADCAST_MODE_UNSPECIFIED:
|
|
@@ -117,7 +118,6 @@ function broadcastModeToJSON(object) {
|
|
|
117
118
|
return "UNRECOGNIZED";
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
|
-
exports.broadcastModeToJSON = broadcastModeToJSON;
|
|
121
121
|
function createBaseGetTxsEventRequest() {
|
|
122
122
|
return {
|
|
123
123
|
events: [],
|
|
@@ -5,15 +5,15 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
createVestingAccount(value: MsgCreateVestingAccount): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
withTypeUrl: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx";
|
|
3
|
-
export declare const createCreateVestingAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateVestingAccount | MsgCreateVestingAccount[], fee:
|
|
4
|
-
export declare const createCreatePermanentLockedAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreatePermanentLockedAccount | MsgCreatePermanentLockedAccount[], fee:
|
|
5
|
-
export declare const createCreatePeriodicVestingAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreatePeriodicVestingAccount | MsgCreatePeriodicVestingAccount[], fee:
|
|
3
|
+
export declare const createCreateVestingAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateVestingAccount | MsgCreateVestingAccount[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createCreatePermanentLockedAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreatePermanentLockedAccount | MsgCreatePermanentLockedAccount[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createCreatePeriodicVestingAccount: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreatePeriodicVestingAccount | MsgCreatePeriodicVestingAccount[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
package/cosmos_proto/cosmos.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScalarDescriptor = exports.InterfaceDescriptor = exports.
|
|
3
|
+
exports.ScalarDescriptor = exports.InterfaceDescriptor = exports.ScalarTypeAmino = exports.ScalarType = void 0;
|
|
4
|
+
exports.scalarTypeFromJSON = scalarTypeFromJSON;
|
|
5
|
+
exports.scalarTypeToJSON = scalarTypeToJSON;
|
|
4
6
|
const binary_1 = require("../binary");
|
|
5
7
|
var ScalarType;
|
|
6
8
|
(function (ScalarType) {
|
|
@@ -27,7 +29,6 @@ function scalarTypeFromJSON(object) {
|
|
|
27
29
|
return ScalarType.UNRECOGNIZED;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
|
-
exports.scalarTypeFromJSON = scalarTypeFromJSON;
|
|
31
32
|
function scalarTypeToJSON(object) {
|
|
32
33
|
switch (object) {
|
|
33
34
|
case ScalarType.SCALAR_TYPE_UNSPECIFIED:
|
|
@@ -41,7 +42,6 @@ function scalarTypeToJSON(object) {
|
|
|
41
42
|
return "UNRECOGNIZED";
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
exports.scalarTypeToJSON = scalarTypeToJSON;
|
|
45
45
|
function createBaseInterfaceDescriptor() {
|
|
46
46
|
return {
|
|
47
47
|
name: "",
|
|
@@ -6,7 +6,7 @@ const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
7
|
const registry_1 = require("../../../registry");
|
|
8
8
|
const helpers_1 = require("../../../helpers");
|
|
9
|
-
const encoding_1 = require("@
|
|
9
|
+
const encoding_1 = require("@interchainjs/encoding");
|
|
10
10
|
function createBaseStoreCodeProposal() {
|
|
11
11
|
return {
|
|
12
12
|
title: "",
|
|
@@ -5,7 +5,7 @@ const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
|
5
5
|
const types_1 = require("./types");
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
7
|
const helpers_1 = require("../../../helpers");
|
|
8
|
-
const encoding_1 = require("@
|
|
8
|
+
const encoding_1 = require("@interchainjs/encoding");
|
|
9
9
|
function createBaseQueryContractInfoRequest() {
|
|
10
10
|
return {
|
|
11
11
|
address: ""
|
package/cosmwasm/wasm/v1/tx.js
CHANGED
|
@@ -5,7 +5,7 @@ const types_1 = require("./types");
|
|
|
5
5
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
7
|
const helpers_1 = require("../../../helpers");
|
|
8
|
-
const encoding_1 = require("@
|
|
8
|
+
const encoding_1 = require("@interchainjs/encoding");
|
|
9
9
|
function createBaseMsgStoreCode() {
|
|
10
10
|
return {
|
|
11
11
|
sender: "",
|
|
@@ -5,71 +5,71 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
storeCode(value: MsgStoreCode): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
instantiateContract(value: MsgInstantiateContract): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
instantiateContract2(value: MsgInstantiateContract2): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
executeContract(value: MsgExecuteContract): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
migrateContract(value: MsgMigrateContract): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
updateAdmin(value: MsgUpdateAdmin): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
clearAdmin(value: MsgClearAdmin): {
|
|
31
31
|
typeUrl: string;
|
|
32
|
-
value: Uint8Array
|
|
32
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
33
33
|
};
|
|
34
34
|
updateInstantiateConfig(value: MsgUpdateInstantiateConfig): {
|
|
35
35
|
typeUrl: string;
|
|
36
|
-
value: Uint8Array
|
|
36
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
37
37
|
};
|
|
38
38
|
updateParams(value: MsgUpdateParams): {
|
|
39
39
|
typeUrl: string;
|
|
40
|
-
value: Uint8Array
|
|
40
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
41
41
|
};
|
|
42
42
|
sudoContract(value: MsgSudoContract): {
|
|
43
43
|
typeUrl: string;
|
|
44
|
-
value: Uint8Array
|
|
44
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
45
45
|
};
|
|
46
46
|
pinCodes(value: MsgPinCodes): {
|
|
47
47
|
typeUrl: string;
|
|
48
|
-
value: Uint8Array
|
|
48
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
49
49
|
};
|
|
50
50
|
unpinCodes(value: MsgUnpinCodes): {
|
|
51
51
|
typeUrl: string;
|
|
52
|
-
value: Uint8Array
|
|
52
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
53
53
|
};
|
|
54
54
|
storeAndInstantiateContract(value: MsgStoreAndInstantiateContract): {
|
|
55
55
|
typeUrl: string;
|
|
56
|
-
value: Uint8Array
|
|
56
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
57
57
|
};
|
|
58
58
|
removeCodeUploadParamsAddresses(value: MsgRemoveCodeUploadParamsAddresses): {
|
|
59
59
|
typeUrl: string;
|
|
60
|
-
value: Uint8Array
|
|
60
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
61
61
|
};
|
|
62
62
|
addCodeUploadParamsAddresses(value: MsgAddCodeUploadParamsAddresses): {
|
|
63
63
|
typeUrl: string;
|
|
64
|
-
value: Uint8Array
|
|
64
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
65
65
|
};
|
|
66
66
|
storeAndMigrateContract(value: MsgStoreAndMigrateContract): {
|
|
67
67
|
typeUrl: string;
|
|
68
|
-
value: Uint8Array
|
|
68
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
69
69
|
};
|
|
70
70
|
updateContractLabel(value: MsgUpdateContractLabel): {
|
|
71
71
|
typeUrl: string;
|
|
72
|
-
value: Uint8Array
|
|
72
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
withTypeUrl: {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin, MsgUpdateInstantiateConfig, MsgUpdateParams, MsgSudoContract, MsgPinCodes, MsgUnpinCodes, MsgStoreAndInstantiateContract, MsgRemoveCodeUploadParamsAddresses, MsgAddCodeUploadParamsAddresses, MsgStoreAndMigrateContract, MsgUpdateContractLabel } from "./tx";
|
|
3
|
-
export declare const createStoreCode: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreCode | MsgStoreCode[], fee:
|
|
4
|
-
export declare const createInstantiateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgInstantiateContract | MsgInstantiateContract[], fee:
|
|
5
|
-
export declare const createInstantiateContract2: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgInstantiateContract2 | MsgInstantiateContract2[], fee:
|
|
6
|
-
export declare const createExecuteContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContract | MsgExecuteContract[], fee:
|
|
7
|
-
export declare const createMigrateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMigrateContract | MsgMigrateContract[], fee:
|
|
8
|
-
export declare const createUpdateAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateAdmin | MsgUpdateAdmin[], fee:
|
|
9
|
-
export declare const createClearAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgClearAdmin | MsgClearAdmin[], fee:
|
|
10
|
-
export declare const createUpdateInstantiateConfig: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateInstantiateConfig | MsgUpdateInstantiateConfig[], fee:
|
|
11
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
12
|
-
export declare const createSudoContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSudoContract | MsgSudoContract[], fee:
|
|
13
|
-
export declare const createPinCodes: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPinCodes | MsgPinCodes[], fee:
|
|
14
|
-
export declare const createUnpinCodes: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUnpinCodes | MsgUnpinCodes[], fee:
|
|
15
|
-
export declare const createStoreAndInstantiateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreAndInstantiateContract | MsgStoreAndInstantiateContract[], fee:
|
|
16
|
-
export declare const createRemoveCodeUploadParamsAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRemoveCodeUploadParamsAddresses | MsgRemoveCodeUploadParamsAddresses[], fee:
|
|
17
|
-
export declare const createAddCodeUploadParamsAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgAddCodeUploadParamsAddresses | MsgAddCodeUploadParamsAddresses[], fee:
|
|
18
|
-
export declare const createStoreAndMigrateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreAndMigrateContract | MsgStoreAndMigrateContract[], fee:
|
|
19
|
-
export declare const createUpdateContractLabel: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateContractLabel | MsgUpdateContractLabel[], fee:
|
|
3
|
+
export declare const createStoreCode: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreCode | MsgStoreCode[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createInstantiateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgInstantiateContract | MsgInstantiateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createInstantiateContract2: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgInstantiateContract2 | MsgInstantiateContract2[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createExecuteContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecuteContract | MsgExecuteContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createMigrateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMigrateContract | MsgMigrateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createUpdateAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateAdmin | MsgUpdateAdmin[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createClearAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgClearAdmin | MsgClearAdmin[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
10
|
+
export declare const createUpdateInstantiateConfig: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateInstantiateConfig | MsgUpdateInstantiateConfig[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
11
|
+
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>;
|
|
12
|
+
export declare const createSudoContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSudoContract | MsgSudoContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
13
|
+
export declare const createPinCodes: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPinCodes | MsgPinCodes[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
14
|
+
export declare const createUnpinCodes: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUnpinCodes | MsgUnpinCodes[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
15
|
+
export declare const createStoreAndInstantiateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreAndInstantiateContract | MsgStoreAndInstantiateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
16
|
+
export declare const createRemoveCodeUploadParamsAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRemoveCodeUploadParamsAddresses | MsgRemoveCodeUploadParamsAddresses[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
17
|
+
export declare const createAddCodeUploadParamsAddresses: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgAddCodeUploadParamsAddresses | MsgAddCodeUploadParamsAddresses[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
18
|
+
export declare const createStoreAndMigrateContract: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgStoreAndMigrateContract | MsgStoreAndMigrateContract[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
19
|
+
export declare const createUpdateContractLabel: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateContractLabel | MsgUpdateContractLabel[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.
|
|
3
|
+
exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.ContractCodeHistoryOperationTypeAmino = exports.ContractCodeHistoryOperationType = exports.AccessTypeAmino = exports.AccessType = void 0;
|
|
4
|
+
exports.accessTypeFromJSON = accessTypeFromJSON;
|
|
5
|
+
exports.accessTypeToJSON = accessTypeToJSON;
|
|
6
|
+
exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
|
|
7
|
+
exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
|
|
4
8
|
const any_1 = require("../../../google/protobuf/any");
|
|
5
9
|
const helpers_1 = require("../../../helpers");
|
|
6
10
|
const binary_1 = require("../../../binary");
|
|
7
11
|
const registry_1 = require("../../../registry");
|
|
8
|
-
const encoding_1 = require("@
|
|
12
|
+
const encoding_1 = require("@interchainjs/encoding");
|
|
9
13
|
/** AccessType permission types */
|
|
10
14
|
var AccessType;
|
|
11
15
|
(function (AccessType) {
|
|
@@ -40,7 +44,6 @@ function accessTypeFromJSON(object) {
|
|
|
40
44
|
return AccessType.UNRECOGNIZED;
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
|
-
exports.accessTypeFromJSON = accessTypeFromJSON;
|
|
44
47
|
function accessTypeToJSON(object) {
|
|
45
48
|
switch (object) {
|
|
46
49
|
case AccessType.ACCESS_TYPE_UNSPECIFIED:
|
|
@@ -56,7 +59,6 @@ function accessTypeToJSON(object) {
|
|
|
56
59
|
return "UNRECOGNIZED";
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
|
-
exports.accessTypeToJSON = accessTypeToJSON;
|
|
60
62
|
/** ContractCodeHistoryOperationType actions that caused a code change */
|
|
61
63
|
var ContractCodeHistoryOperationType;
|
|
62
64
|
(function (ContractCodeHistoryOperationType) {
|
|
@@ -91,7 +93,6 @@ function contractCodeHistoryOperationTypeFromJSON(object) {
|
|
|
91
93
|
return ContractCodeHistoryOperationType.UNRECOGNIZED;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
|
|
95
96
|
function contractCodeHistoryOperationTypeToJSON(object) {
|
|
96
97
|
switch (object) {
|
|
97
98
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED:
|
|
@@ -107,7 +108,6 @@ function contractCodeHistoryOperationTypeToJSON(object) {
|
|
|
107
108
|
return "UNRECOGNIZED";
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
|
-
exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
|
|
111
111
|
function createBaseAccessTypeParam() {
|
|
112
112
|
return {
|
|
113
113
|
value: 0
|
package/esm/binary.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.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
|
*/
|
|
@@ -7,7 +7,7 @@ import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
8
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
9
9
|
import { toTimestamp, fromTimestamp, isSet } from "../../../helpers";
|
|
10
|
-
import { encodePubkey, decodePubkey } from "@
|
|
10
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
11
11
|
/** BondStatus is the status of a validator. */
|
|
12
12
|
export var BondStatus;
|
|
13
13
|
(function (BondStatus) {
|
|
@@ -5,7 +5,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
|
5
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
6
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
7
7
|
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
8
|
-
import { encodePubkey, decodePubkey } from "@
|
|
8
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
9
9
|
function createBaseMsgCreateValidator() {
|
|
10
10
|
return {
|
|
11
11
|
description: Description.fromPartial({}),
|
|
@@ -3,7 +3,7 @@ import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
5
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
6
|
-
import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@
|
|
6
|
+
import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@interchainjs/encoding";
|
|
7
7
|
function createBaseStoreCodeProposal() {
|
|
8
8
|
return {
|
|
9
9
|
title: "",
|
|
@@ -2,7 +2,7 @@ import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pa
|
|
|
2
2
|
import { ContractInfo, ContractCodeHistoryEntry, Model, AccessConfig, Params } from "./types";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
|
-
import { toUtf8, fromUtf8 } from "@
|
|
5
|
+
import { toUtf8, fromUtf8 } from "@interchainjs/encoding";
|
|
6
6
|
function createBaseQueryContractInfoRequest() {
|
|
7
7
|
return {
|
|
8
8
|
address: ""
|
|
@@ -2,7 +2,7 @@ import { AccessConfig, Params } from "./types";
|
|
|
2
2
|
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
|
-
import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@
|
|
5
|
+
import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@interchainjs/encoding";
|
|
6
6
|
function createBaseMsgStoreCode() {
|
|
7
7
|
return {
|
|
8
8
|
sender: "",
|