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
package/binary.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/binary.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
|
*/
|
|
@@ -5,15 +5,15 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
grant(value: MsgGrant): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
exec(value: MsgExec): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
revoke(value: MsgRevoke): {
|
|
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 { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
3
|
-
export declare const createGrant: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrant | MsgGrant[], fee:
|
|
4
|
-
export declare const createExec: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExec | MsgExec[], fee:
|
|
5
|
-
export declare const createRevoke: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevoke | MsgRevoke[], fee:
|
|
3
|
+
export declare const createGrant: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrant | MsgGrant[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createExec: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createRevoke: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevoke | MsgRevoke[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -5,19 +5,19 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
send(value: MsgSend): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
multiSend(value: MsgMultiSend): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
updateParams(value: MsgUpdateParams): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
setSendEnabled(value: MsgSetSendEnabled): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
withTypeUrl: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
|
|
3
|
-
export declare const createSend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSend | MsgSend[], fee:
|
|
4
|
-
export declare const createMultiSend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMultiSend | MsgMultiSend[], fee:
|
|
5
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
6
|
-
export declare const createSetSendEnabled: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetSendEnabled | MsgSetSendEnabled[], fee:
|
|
3
|
+
export declare const createSend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSend | MsgSend[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createMultiSend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgMultiSend | MsgMultiSend[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
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>;
|
|
6
|
+
export declare const createSetSendEnabled: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetSendEnabled | MsgSetSendEnabled[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -5,31 +5,31 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
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
|
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
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 { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
3
|
-
export declare const createSetWithdrawAddress: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetWithdrawAddress | MsgSetWithdrawAddress[], fee:
|
|
4
|
-
export declare const createWithdrawDelegatorReward: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawDelegatorReward | MsgWithdrawDelegatorReward[], fee:
|
|
5
|
-
export declare const createWithdrawValidatorCommission: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawValidatorCommission | MsgWithdrawValidatorCommission[], fee:
|
|
6
|
-
export declare const createFundCommunityPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], fee:
|
|
7
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
8
|
-
export declare const createCommunityPoolSpend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee:
|
|
9
|
-
export declare const createDepositValidatorRewardsPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositValidatorRewardsPool | MsgDepositValidatorRewardsPool[], fee:
|
|
3
|
+
export declare const createSetWithdrawAddress: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetWithdrawAddress | MsgSetWithdrawAddress[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createWithdrawDelegatorReward: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawDelegatorReward | MsgWithdrawDelegatorReward[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createWithdrawValidatorCommission: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawValidatorCommission | MsgWithdrawValidatorCommission[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createFundCommunityPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], 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 createCommunityPoolSpend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createDepositValidatorRewardsPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositValidatorRewardsPool | MsgDepositValidatorRewardsPool[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -5,15 +5,15 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
grantAllowance(value: MsgGrantAllowance): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
revokeAllowance(value: MsgRevokeAllowance): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
pruneAllowances(value: MsgPruneAllowances): {
|
|
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 { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
3
|
-
export declare const createGrantAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrantAllowance | MsgGrantAllowance[], fee:
|
|
4
|
-
export declare const createRevokeAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeAllowance | MsgRevokeAllowance[], fee:
|
|
5
|
-
export declare const createPruneAllowances: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPruneAllowances | MsgPruneAllowances[], fee:
|
|
3
|
+
export declare const createGrantAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrantAllowance | MsgGrantAllowance[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createRevokeAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeAllowance | MsgRevokeAllowance[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createPruneAllowances: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPruneAllowances | MsgPruneAllowances[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
package/cosmos/gov/v1/gov.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Params = exports.TallyParams = exports.VotingParams = exports.DepositParams = exports.Vote = exports.TallyResult = exports.Proposal = exports.Deposit = exports.WeightedVoteOption = exports.
|
|
3
|
+
exports.Params = exports.TallyParams = exports.VotingParams = exports.DepositParams = exports.Vote = exports.TallyResult = exports.Proposal = exports.Deposit = exports.WeightedVoteOption = exports.ProposalStatusAmino = exports.ProposalStatus = exports.VoteOptionAmino = exports.VoteOption = void 0;
|
|
4
|
+
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
5
|
+
exports.voteOptionToJSON = voteOptionToJSON;
|
|
6
|
+
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
7
|
+
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
4
8
|
const coin_1 = require("../../base/v1beta1/coin");
|
|
5
9
|
const any_1 = require("../../../google/protobuf/any");
|
|
6
10
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
@@ -46,7 +50,6 @@ function voteOptionFromJSON(object) {
|
|
|
46
50
|
return VoteOption.UNRECOGNIZED;
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
|
-
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
50
53
|
function voteOptionToJSON(object) {
|
|
51
54
|
switch (object) {
|
|
52
55
|
case VoteOption.VOTE_OPTION_UNSPECIFIED:
|
|
@@ -64,7 +67,6 @@ function voteOptionToJSON(object) {
|
|
|
64
67
|
return "UNRECOGNIZED";
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
|
-
exports.voteOptionToJSON = voteOptionToJSON;
|
|
68
70
|
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
|
69
71
|
var ProposalStatus;
|
|
70
72
|
(function (ProposalStatus) {
|
|
@@ -124,7 +126,6 @@ function proposalStatusFromJSON(object) {
|
|
|
124
126
|
return ProposalStatus.UNRECOGNIZED;
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
|
-
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
128
129
|
function proposalStatusToJSON(object) {
|
|
129
130
|
switch (object) {
|
|
130
131
|
case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
|
|
@@ -144,7 +145,6 @@ function proposalStatusToJSON(object) {
|
|
|
144
145
|
return "UNRECOGNIZED";
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
|
-
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
148
148
|
function createBaseWeightedVoteOption() {
|
|
149
149
|
return {
|
|
150
150
|
option: 0,
|
|
@@ -5,31 +5,31 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
submitProposal(value: MsgSubmitProposal): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
execLegacyContent(value: MsgExecLegacyContent): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
vote(value: MsgVote): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
voteWeighted(value: MsgVoteWeighted): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
deposit(value: MsgDeposit): {
|
|
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
|
cancelProposal(value: MsgCancelProposal): {
|
|
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 { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
3
|
-
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee:
|
|
4
|
-
export declare const createExecLegacyContent: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee:
|
|
5
|
-
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee:
|
|
6
|
-
export declare const createVoteWeighted: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee:
|
|
7
|
-
export declare const createDeposit: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeposit | MsgDeposit[], fee:
|
|
8
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee:
|
|
9
|
-
export declare const createCancelProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee:
|
|
3
|
+
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createExecLegacyContent: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createVoteWeighted: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createDeposit: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeposit | MsgDeposit[], 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>;
|
|
9
|
+
export declare const createCancelProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TallyParams = exports.VotingParams = exports.DepositParams = exports.Vote = exports.TallyResult = exports.Proposal = exports.Deposit = exports.TextProposal = exports.WeightedVoteOption = exports.
|
|
3
|
+
exports.TallyParams = exports.VotingParams = exports.DepositParams = exports.Vote = exports.TallyResult = exports.Proposal = exports.Deposit = exports.TextProposal = exports.WeightedVoteOption = exports.ProposalStatusAmino = exports.ProposalStatus = exports.VoteOptionAmino = exports.VoteOption = void 0;
|
|
4
|
+
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
5
|
+
exports.voteOptionToJSON = voteOptionToJSON;
|
|
6
|
+
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
7
|
+
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
4
8
|
const coin_1 = require("../../base/v1beta1/coin");
|
|
5
9
|
const any_1 = require("../../../google/protobuf/any");
|
|
6
10
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
@@ -55,7 +59,6 @@ function voteOptionFromJSON(object) {
|
|
|
55
59
|
return VoteOption.UNRECOGNIZED;
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
|
-
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
59
62
|
function voteOptionToJSON(object) {
|
|
60
63
|
switch (object) {
|
|
61
64
|
case VoteOption.VOTE_OPTION_UNSPECIFIED:
|
|
@@ -73,7 +76,6 @@ function voteOptionToJSON(object) {
|
|
|
73
76
|
return "UNRECOGNIZED";
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
|
-
exports.voteOptionToJSON = voteOptionToJSON;
|
|
77
79
|
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
|
78
80
|
var ProposalStatus;
|
|
79
81
|
(function (ProposalStatus) {
|
|
@@ -133,7 +135,6 @@ function proposalStatusFromJSON(object) {
|
|
|
133
135
|
return ProposalStatus.UNRECOGNIZED;
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
|
-
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
137
138
|
function proposalStatusToJSON(object) {
|
|
138
139
|
switch (object) {
|
|
139
140
|
case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
|
|
@@ -153,7 +154,6 @@ function proposalStatusToJSON(object) {
|
|
|
153
154
|
return "UNRECOGNIZED";
|
|
154
155
|
}
|
|
155
156
|
}
|
|
156
|
-
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
157
157
|
function createBaseWeightedVoteOption() {
|
|
158
158
|
return {
|
|
159
159
|
option: 0,
|
|
@@ -5,19 +5,19 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
submitProposal(value: MsgSubmitProposal): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
vote(value: MsgVote): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
voteWeighted(value: MsgVoteWeighted): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
deposit(value: MsgDeposit): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
withTypeUrl: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
3
|
-
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee:
|
|
4
|
-
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee:
|
|
5
|
-
export declare const createVoteWeighted: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee:
|
|
6
|
-
export declare const createDeposit: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeposit | MsgDeposit[], fee:
|
|
3
|
+
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createVoteWeighted: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createDeposit: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
package/cosmos/group/v1/tx.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgLeaveGroupResponse = exports.MsgLeaveGroup = exports.MsgExecResponse = exports.MsgExec = exports.MsgVoteResponse = exports.MsgVote = exports.MsgWithdrawProposalResponse = exports.MsgWithdrawProposal = exports.MsgSubmitProposalResponse = exports.MsgSubmitProposal = exports.MsgUpdateGroupPolicyMetadataResponse = exports.MsgUpdateGroupPolicyMetadata = exports.MsgUpdateGroupPolicyDecisionPolicyResponse = exports.MsgUpdateGroupPolicyDecisionPolicy = exports.MsgCreateGroupWithPolicyResponse = exports.MsgCreateGroupWithPolicy = exports.MsgUpdateGroupPolicyAdminResponse = exports.MsgUpdateGroupPolicyAdmin = exports.MsgCreateGroupPolicyResponse = exports.MsgCreateGroupPolicy = exports.MsgUpdateGroupMetadataResponse = exports.MsgUpdateGroupMetadata = exports.MsgUpdateGroupAdminResponse = exports.MsgUpdateGroupAdmin = exports.MsgUpdateGroupMembersResponse = exports.MsgUpdateGroupMembers = exports.MsgCreateGroupResponse = exports.MsgCreateGroup = exports.
|
|
3
|
+
exports.MsgLeaveGroupResponse = exports.MsgLeaveGroup = exports.MsgExecResponse = exports.MsgExec = exports.MsgVoteResponse = exports.MsgVote = exports.MsgWithdrawProposalResponse = exports.MsgWithdrawProposal = exports.MsgSubmitProposalResponse = exports.MsgSubmitProposal = exports.MsgUpdateGroupPolicyMetadataResponse = exports.MsgUpdateGroupPolicyMetadata = exports.MsgUpdateGroupPolicyDecisionPolicyResponse = exports.MsgUpdateGroupPolicyDecisionPolicy = exports.MsgCreateGroupWithPolicyResponse = exports.MsgCreateGroupWithPolicy = exports.MsgUpdateGroupPolicyAdminResponse = exports.MsgUpdateGroupPolicyAdmin = exports.MsgCreateGroupPolicyResponse = exports.MsgCreateGroupPolicy = exports.MsgUpdateGroupMetadataResponse = exports.MsgUpdateGroupMetadata = exports.MsgUpdateGroupAdminResponse = exports.MsgUpdateGroupAdmin = exports.MsgUpdateGroupMembersResponse = exports.MsgUpdateGroupMembers = exports.MsgCreateGroupResponse = exports.MsgCreateGroup = exports.ExecAmino = exports.Exec = void 0;
|
|
4
|
+
exports.execFromJSON = execFromJSON;
|
|
5
|
+
exports.execToJSON = execToJSON;
|
|
4
6
|
const types_1 = require("./types");
|
|
5
7
|
const any_1 = require("../../../google/protobuf/any");
|
|
6
8
|
const binary_1 = require("../../../binary");
|
|
@@ -38,7 +40,6 @@ function execFromJSON(object) {
|
|
|
38
40
|
return Exec.UNRECOGNIZED;
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
|
-
exports.execFromJSON = execFromJSON;
|
|
42
43
|
function execToJSON(object) {
|
|
43
44
|
switch (object) {
|
|
44
45
|
case Exec.EXEC_UNSPECIFIED:
|
|
@@ -50,7 +51,6 @@ function execToJSON(object) {
|
|
|
50
51
|
return "UNRECOGNIZED";
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
exports.execToJSON = execToJSON;
|
|
54
54
|
function createBaseMsgCreateGroup() {
|
|
55
55
|
return {
|
|
56
56
|
admin: "",
|
|
@@ -5,59 +5,59 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
createGroup(value: MsgCreateGroup): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
updateGroupMembers(value: MsgUpdateGroupMembers): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
updateGroupAdmin(value: MsgUpdateGroupAdmin): {
|
|
15
15
|
typeUrl: string;
|
|
16
|
-
value: Uint8Array
|
|
16
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
17
17
|
};
|
|
18
18
|
updateGroupMetadata(value: MsgUpdateGroupMetadata): {
|
|
19
19
|
typeUrl: string;
|
|
20
|
-
value: Uint8Array
|
|
20
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
22
|
createGroupPolicy(value: MsgCreateGroupPolicy): {
|
|
23
23
|
typeUrl: string;
|
|
24
|
-
value: Uint8Array
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
25
|
};
|
|
26
26
|
createGroupWithPolicy(value: MsgCreateGroupWithPolicy): {
|
|
27
27
|
typeUrl: string;
|
|
28
|
-
value: Uint8Array
|
|
28
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
29
29
|
};
|
|
30
30
|
updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): {
|
|
31
31
|
typeUrl: string;
|
|
32
|
-
value: Uint8Array
|
|
32
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
33
33
|
};
|
|
34
34
|
updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): {
|
|
35
35
|
typeUrl: string;
|
|
36
|
-
value: Uint8Array
|
|
36
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
37
37
|
};
|
|
38
38
|
updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): {
|
|
39
39
|
typeUrl: string;
|
|
40
|
-
value: Uint8Array
|
|
40
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
41
41
|
};
|
|
42
42
|
submitProposal(value: MsgSubmitProposal): {
|
|
43
43
|
typeUrl: string;
|
|
44
|
-
value: Uint8Array
|
|
44
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
45
45
|
};
|
|
46
46
|
withdrawProposal(value: MsgWithdrawProposal): {
|
|
47
47
|
typeUrl: string;
|
|
48
|
-
value: Uint8Array
|
|
48
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
49
49
|
};
|
|
50
50
|
vote(value: MsgVote): {
|
|
51
51
|
typeUrl: string;
|
|
52
|
-
value: Uint8Array
|
|
52
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
53
53
|
};
|
|
54
54
|
exec(value: MsgExec): {
|
|
55
55
|
typeUrl: string;
|
|
56
|
-
value: Uint8Array
|
|
56
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
57
57
|
};
|
|
58
58
|
leaveGroup(value: MsgLeaveGroup): {
|
|
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 { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
|
|
3
|
-
export declare const createCreateGroup: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroup | MsgCreateGroup[], fee:
|
|
4
|
-
export declare const createUpdateGroupMembers: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupMembers | MsgUpdateGroupMembers[], fee:
|
|
5
|
-
export declare const createUpdateGroupAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupAdmin | MsgUpdateGroupAdmin[], fee:
|
|
6
|
-
export declare const createUpdateGroupMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupMetadata | MsgUpdateGroupMetadata[], fee:
|
|
7
|
-
export declare const createCreateGroupPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroupPolicy | MsgCreateGroupPolicy[], fee:
|
|
8
|
-
export declare const createCreateGroupWithPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroupWithPolicy | MsgCreateGroupWithPolicy[], fee:
|
|
9
|
-
export declare const createUpdateGroupPolicyAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyAdmin | MsgUpdateGroupPolicyAdmin[], fee:
|
|
10
|
-
export declare const createUpdateGroupPolicyDecisionPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyDecisionPolicy | MsgUpdateGroupPolicyDecisionPolicy[], fee:
|
|
11
|
-
export declare const createUpdateGroupPolicyMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyMetadata | MsgUpdateGroupPolicyMetadata[], fee:
|
|
12
|
-
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee:
|
|
13
|
-
export declare const createWithdrawProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawProposal | MsgWithdrawProposal[], fee:
|
|
14
|
-
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee:
|
|
15
|
-
export declare const createExec: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExec | MsgExec[], fee:
|
|
16
|
-
export declare const createLeaveGroup: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgLeaveGroup | MsgLeaveGroup[], fee:
|
|
3
|
+
export declare const createCreateGroup: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroup | MsgCreateGroup[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createUpdateGroupMembers: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupMembers | MsgUpdateGroupMembers[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createUpdateGroupAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupAdmin | MsgUpdateGroupAdmin[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createUpdateGroupMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupMetadata | MsgUpdateGroupMetadata[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createCreateGroupPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroupPolicy | MsgCreateGroupPolicy[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createCreateGroupWithPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCreateGroupWithPolicy | MsgCreateGroupWithPolicy[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createUpdateGroupPolicyAdmin: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyAdmin | MsgUpdateGroupPolicyAdmin[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
10
|
+
export declare const createUpdateGroupPolicyDecisionPolicy: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyDecisionPolicy | MsgUpdateGroupPolicyDecisionPolicy[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
11
|
+
export declare const createUpdateGroupPolicyMetadata: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateGroupPolicyMetadata | MsgUpdateGroupPolicyMetadata[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
12
|
+
export declare const createSubmitProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
13
|
+
export declare const createWithdrawProposal: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawProposal | MsgWithdrawProposal[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
14
|
+
export declare const createVote: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
15
|
+
export declare const createExec: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
16
|
+
export declare const createLeaveGroup: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgLeaveGroup | MsgLeaveGroup[], fee: import("../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
package/cosmos/group/v1/types.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Vote = exports.TallyResult = exports.Proposal = exports.GroupPolicyInfo = exports.GroupMember = exports.GroupInfo = exports.DecisionPolicyWindows = exports.PercentageDecisionPolicy = exports.ThresholdDecisionPolicy = exports.MemberRequest = exports.Member = exports.
|
|
3
|
+
exports.Vote = exports.TallyResult = exports.Proposal = exports.GroupPolicyInfo = exports.GroupMember = exports.GroupInfo = exports.DecisionPolicyWindows = exports.PercentageDecisionPolicy = exports.ThresholdDecisionPolicy = exports.MemberRequest = exports.Member = exports.ProposalExecutorResultAmino = exports.ProposalExecutorResult = exports.ProposalStatusAmino = exports.ProposalStatus = exports.VoteOptionAmino = exports.VoteOption = void 0;
|
|
4
|
+
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
5
|
+
exports.voteOptionToJSON = voteOptionToJSON;
|
|
6
|
+
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
7
|
+
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
8
|
+
exports.proposalExecutorResultFromJSON = proposalExecutorResultFromJSON;
|
|
9
|
+
exports.proposalExecutorResultToJSON = proposalExecutorResultToJSON;
|
|
4
10
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
5
11
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
6
12
|
const any_1 = require("../../../google/protobuf/any");
|
|
@@ -49,7 +55,6 @@ function voteOptionFromJSON(object) {
|
|
|
49
55
|
return VoteOption.UNRECOGNIZED;
|
|
50
56
|
}
|
|
51
57
|
}
|
|
52
|
-
exports.voteOptionFromJSON = voteOptionFromJSON;
|
|
53
58
|
function voteOptionToJSON(object) {
|
|
54
59
|
switch (object) {
|
|
55
60
|
case VoteOption.VOTE_OPTION_UNSPECIFIED:
|
|
@@ -67,7 +72,6 @@ function voteOptionToJSON(object) {
|
|
|
67
72
|
return "UNRECOGNIZED";
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
|
-
exports.voteOptionToJSON = voteOptionToJSON;
|
|
71
75
|
/** ProposalStatus defines proposal statuses. */
|
|
72
76
|
var ProposalStatus;
|
|
73
77
|
(function (ProposalStatus) {
|
|
@@ -124,7 +128,6 @@ function proposalStatusFromJSON(object) {
|
|
|
124
128
|
return ProposalStatus.UNRECOGNIZED;
|
|
125
129
|
}
|
|
126
130
|
}
|
|
127
|
-
exports.proposalStatusFromJSON = proposalStatusFromJSON;
|
|
128
131
|
function proposalStatusToJSON(object) {
|
|
129
132
|
switch (object) {
|
|
130
133
|
case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
|
|
@@ -144,7 +147,6 @@ function proposalStatusToJSON(object) {
|
|
|
144
147
|
return "UNRECOGNIZED";
|
|
145
148
|
}
|
|
146
149
|
}
|
|
147
|
-
exports.proposalStatusToJSON = proposalStatusToJSON;
|
|
148
150
|
/** ProposalExecutorResult defines types of proposal executor results. */
|
|
149
151
|
var ProposalExecutorResult;
|
|
150
152
|
(function (ProposalExecutorResult) {
|
|
@@ -179,7 +181,6 @@ function proposalExecutorResultFromJSON(object) {
|
|
|
179
181
|
return ProposalExecutorResult.UNRECOGNIZED;
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
|
-
exports.proposalExecutorResultFromJSON = proposalExecutorResultFromJSON;
|
|
183
184
|
function proposalExecutorResultToJSON(object) {
|
|
184
185
|
switch (object) {
|
|
185
186
|
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED:
|
|
@@ -195,7 +196,6 @@ function proposalExecutorResultToJSON(object) {
|
|
|
195
196
|
return "UNRECOGNIZED";
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
|
-
exports.proposalExecutorResultToJSON = proposalExecutorResultToJSON;
|
|
199
199
|
function createBaseMember() {
|
|
200
200
|
return {
|
|
201
201
|
address: "",
|