@xpla/xplajs 1.8.0-rc.2 → 1.8.0

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.
Files changed (94) hide show
  1. package/binary.js +1 -1
  2. package/cosmos/auth/v1beta1/tx.registry.d.ts +1 -1
  3. package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +1 -1
  4. package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
  5. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
  6. package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
  7. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
  8. package/cosmos/consensus/v1/tx.registry.d.ts +1 -1
  9. package/cosmos/consensus/v1/tx.rpc.func.d.ts +1 -1
  10. package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
  11. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
  12. package/cosmos/evidence/v1beta1/tx.registry.d.ts +1 -1
  13. package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +1 -1
  14. package/cosmos/evm/feemarket/v1/tx.registry.d.ts +1 -1
  15. package/cosmos/evm/feemarket/v1/tx.rpc.func.d.ts +1 -1
  16. package/cosmos/evm/vm/v1/evm.js +4 -4
  17. package/cosmos/evm/vm/v1/tx.registry.d.ts +2 -2
  18. package/cosmos/evm/vm/v1/tx.rpc.func.d.ts +2 -2
  19. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
  20. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
  21. package/cosmos/gov/v1/gov.js +7 -7
  22. package/cosmos/gov/v1/tx.registry.d.ts +7 -7
  23. package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
  24. package/cosmos/gov/v1beta1/gov.js +7 -7
  25. package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
  26. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
  27. package/cosmos/ics23/v1/proofs.js +7 -7
  28. package/cosmos/mint/v1beta1/tx.registry.d.ts +1 -1
  29. package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +1 -1
  30. package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -2
  31. package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +2 -2
  32. package/cosmos/staking/v1beta1/authz.js +4 -4
  33. package/cosmos/staking/v1beta1/staking.js +7 -7
  34. package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
  35. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
  36. package/cosmos/tx/signing/v1beta1/signing.js +4 -4
  37. package/cosmos/tx/v1beta1/service.js +7 -7
  38. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -2
  39. package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +2 -2
  40. package/cosmos_proto/cosmos.js +4 -4
  41. package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
  42. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
  43. package/cosmwasm/wasm/v1/types.js +7 -7
  44. package/esm/helpers.js +1 -1
  45. package/ethermint/evm/v1/tx.registry.d.ts +2 -2
  46. package/ethermint/evm/v1/tx.rpc.func.d.ts +2 -2
  47. package/ethermint/feemarket/v1/tx.registry.d.ts +1 -1
  48. package/ethermint/feemarket/v1/tx.rpc.func.d.ts +1 -1
  49. package/google/protobuf/descriptor.js +62 -63
  50. package/google/protobuf/duration.d.ts +1 -1
  51. package/google/protobuf/timestamp.d.ts +1 -1
  52. package/helper-func-types.d.ts +1 -1
  53. package/helper-func-types.js +2 -3
  54. package/helpers.js +13 -13
  55. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +3 -3
  56. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +3 -3
  57. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -2
  58. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +2 -2
  59. package/ibc/applications/interchain_accounts/v1/packet.js +4 -4
  60. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
  61. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
  62. package/ibc/core/channel/v1/channel.js +7 -7
  63. package/ibc/core/channel/v1/tx.js +4 -4
  64. package/ibc/core/channel/v1/tx.registry.d.ts +10 -10
  65. package/ibc/core/channel/v1/tx.rpc.func.d.ts +10 -10
  66. package/ibc/core/channel/v2/packet.js +4 -4
  67. package/ibc/core/channel/v2/tx.js +4 -4
  68. package/ibc/core/channel/v2/tx.registry.d.ts +4 -4
  69. package/ibc/core/channel/v2/tx.rpc.func.d.ts +4 -4
  70. package/ibc/core/client/v1/tx.registry.d.ts +8 -8
  71. package/ibc/core/client/v1/tx.rpc.func.d.ts +8 -8
  72. package/ibc/core/client/v2/tx.registry.d.ts +2 -2
  73. package/ibc/core/client/v2/tx.rpc.func.d.ts +2 -2
  74. package/ibc/core/connection/v1/connection.js +4 -4
  75. package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
  76. package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
  77. package/ibc/lightclients/solomachine/v2/solomachine.js +4 -4
  78. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +3 -3
  79. package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +3 -3
  80. package/package.json +7 -7
  81. package/tendermint/abci/types.js +20 -20
  82. package/tendermint/types/types.js +4 -4
  83. package/tendermint/types/validator.js +4 -4
  84. package/utf8.js +3 -4
  85. package/varint.js +16 -17
  86. package/xpla/burn/v1beta1/tx.registry.d.ts +1 -1
  87. package/xpla/burn/v1beta1/tx.rpc.func.d.ts +1 -1
  88. package/xpla/lcd.js +17 -7
  89. package/xpla/reward/v1beta1/tx.registry.d.ts +2 -2
  90. package/xpla/reward/v1beta1/tx.rpc.func.d.ts +2 -2
  91. package/xpla/rpc.query.js +17 -7
  92. package/xpla/rpc.tx.js +17 -7
  93. package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -2
  94. package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +2 -2
package/binary.js CHANGED
@@ -42,7 +42,7 @@ var WireType;
42
42
  WireType[WireType["Fixed64"] = 1] = "Fixed64";
43
43
  WireType[WireType["Bytes"] = 2] = "Bytes";
44
44
  WireType[WireType["Fixed32"] = 5] = "Fixed32";
45
- })(WireType = exports.WireType || (exports.WireType = {}));
45
+ })(WireType || (exports.WireType = WireType = {}));
46
46
  class BinaryReader {
47
47
  buf;
48
48
  pos;
@@ -5,7 +5,7 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  updateParams(value: MsgUpdateParams): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  };
11
11
  withTypeUrl: {
@@ -8,4 +8,4 @@ import { MsgUpdateParams } from "./tx";
8
8
  * @package cosmos.auth.v1beta1
9
9
  * @see proto service: cosmos.auth.v1beta1.UpdateParams
10
10
  */
11
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
11
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -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: {
@@ -8,7 +8,7 @@ import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
8
8
  * @package cosmos.authz.v1beta1
9
9
  * @see proto service: cosmos.authz.v1beta1.Grant
10
10
  */
11
- export declare const grant: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgGrant | MsgGrant[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
11
+ export declare const grant: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgGrant | MsgGrant[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
12
12
  /**
13
13
  * Exec attempts to execute the provided messages using
14
14
  * authorizations granted to the grantee. Each message should have only
@@ -17,7 +17,7 @@ export declare const grant: (client: import("@interchainjs/cosmos/types/signing-
17
17
  * @package cosmos.authz.v1beta1
18
18
  * @see proto service: cosmos.authz.v1beta1.Exec
19
19
  */
20
- export declare const exec: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
20
+ export declare const exec: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
21
21
  /**
22
22
  * Revoke revokes any authorization corresponding to the provided method name on the
23
23
  * granter's account that has been granted to the grantee.
@@ -25,4 +25,4 @@ export declare const exec: (client: import("@interchainjs/cosmos/types/signing-c
25
25
  * @package cosmos.authz.v1beta1
26
26
  * @see proto service: cosmos.authz.v1beta1.Revoke
27
27
  */
28
- export declare const revoke: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRevoke | MsgRevoke[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
28
+ export declare const revoke: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgRevoke | MsgRevoke[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/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: {
@@ -5,14 +5,14 @@ import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx"
5
5
  * @package cosmos.bank.v1beta1
6
6
  * @see proto service: cosmos.bank.v1beta1.Send
7
7
  */
8
- export declare const send: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSend | MsgSend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
8
+ export declare const send: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSend | MsgSend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
9
  /**
10
10
  * MultiSend defines a method for sending coins from some accounts to other accounts.
11
11
  * @name multiSend
12
12
  * @package cosmos.bank.v1beta1
13
13
  * @see proto service: cosmos.bank.v1beta1.MultiSend
14
14
  */
15
- export declare const multiSend: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgMultiSend | MsgMultiSend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
15
+ export declare const multiSend: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgMultiSend | MsgMultiSend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
16
16
  /**
17
17
  * UpdateParams defines a governance operation for updating the x/bank module parameters.
18
18
  * The authority is defined in the keeper.
@@ -22,7 +22,7 @@ export declare const multiSend: (client: import("@interchainjs/cosmos/types/sign
22
22
  * @package cosmos.bank.v1beta1
23
23
  * @see proto service: cosmos.bank.v1beta1.UpdateParams
24
24
  */
25
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
25
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
26
26
  /**
27
27
  * SetSendEnabled is a governance operation for setting the SendEnabled flag
28
28
  * on any number of Denoms. Only the entries to add or update should be
@@ -34,4 +34,4 @@ export declare const updateParams: (client: import("@interchainjs/cosmos/types/s
34
34
  * @package cosmos.bank.v1beta1
35
35
  * @see proto service: cosmos.bank.v1beta1.SetSendEnabled
36
36
  */
37
- export declare const setSendEnabled: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSetSendEnabled | MsgSetSendEnabled[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
37
+ export declare const setSendEnabled: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSetSendEnabled | MsgSetSendEnabled[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -5,7 +5,7 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  updateParams(value: MsgUpdateParams): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  };
11
11
  withTypeUrl: {
@@ -8,4 +8,4 @@ import { MsgUpdateParams } from "./tx";
8
8
  * @package cosmos.consensus.v1
9
9
  * @see proto service: cosmos.consensus.v1.UpdateParams
10
10
  */
11
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
11
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/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: {
@@ -6,7 +6,7 @@ import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidator
6
6
  * @package cosmos.distribution.v1beta1
7
7
  * @see proto service: cosmos.distribution.v1beta1.SetWithdrawAddress
8
8
  */
9
- export declare const setWithdrawAddress: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSetWithdrawAddress | MsgSetWithdrawAddress[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
+ export declare const setWithdrawAddress: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSetWithdrawAddress | MsgSetWithdrawAddress[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
10
10
  /**
11
11
  * WithdrawDelegatorReward defines a method to withdraw rewards of delegator
12
12
  * from a single validator.
@@ -14,7 +14,7 @@ export declare const setWithdrawAddress: (client: import("@interchainjs/cosmos/t
14
14
  * @package cosmos.distribution.v1beta1
15
15
  * @see proto service: cosmos.distribution.v1beta1.WithdrawDelegatorReward
16
16
  */
17
- export declare const withdrawDelegatorReward: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgWithdrawDelegatorReward | MsgWithdrawDelegatorReward[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
17
+ export declare const withdrawDelegatorReward: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgWithdrawDelegatorReward | MsgWithdrawDelegatorReward[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
18
18
  /**
19
19
  * WithdrawValidatorCommission defines a method to withdraw the
20
20
  * full commission to the validator address.
@@ -22,7 +22,7 @@ export declare const withdrawDelegatorReward: (client: import("@interchainjs/cos
22
22
  * @package cosmos.distribution.v1beta1
23
23
  * @see proto service: cosmos.distribution.v1beta1.WithdrawValidatorCommission
24
24
  */
25
- export declare const withdrawValidatorCommission: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgWithdrawValidatorCommission | MsgWithdrawValidatorCommission[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
25
+ export declare const withdrawValidatorCommission: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgWithdrawValidatorCommission | MsgWithdrawValidatorCommission[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
26
26
  /**
27
27
  * FundCommunityPool defines a method to allow an account to directly
28
28
  * fund the community pool.
@@ -30,7 +30,7 @@ export declare const withdrawValidatorCommission: (client: import("@interchainjs
30
30
  * @package cosmos.distribution.v1beta1
31
31
  * @see proto service: cosmos.distribution.v1beta1.FundCommunityPool
32
32
  */
33
- export declare const fundCommunityPool: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
33
+ export declare const fundCommunityPool: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
34
34
  /**
35
35
  * UpdateParams defines a governance operation for updating the x/distribution
36
36
  * module parameters. The authority is defined in the keeper.
@@ -40,7 +40,7 @@ export declare const fundCommunityPool: (client: import("@interchainjs/cosmos/ty
40
40
  * @package cosmos.distribution.v1beta1
41
41
  * @see proto service: cosmos.distribution.v1beta1.UpdateParams
42
42
  */
43
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
43
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
44
44
  /**
45
45
  * CommunityPoolSpend defines a governance operation for sending tokens from
46
46
  * the community pool in the x/distribution module to another account, which
@@ -52,7 +52,7 @@ export declare const updateParams: (client: import("@interchainjs/cosmos/types/s
52
52
  * @package cosmos.distribution.v1beta1
53
53
  * @see proto service: cosmos.distribution.v1beta1.CommunityPoolSpend
54
54
  */
55
- export declare const communityPoolSpend: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
55
+ export declare const communityPoolSpend: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
56
56
  /**
57
57
  * DepositValidatorRewardsPool defines a method to provide additional rewards
58
58
  * to delegators to a specific validator.
@@ -62,4 +62,4 @@ export declare const communityPoolSpend: (client: import("@interchainjs/cosmos/t
62
62
  * @package cosmos.distribution.v1beta1
63
63
  * @see proto service: cosmos.distribution.v1beta1.DepositValidatorRewardsPool
64
64
  */
65
- export declare const depositValidatorRewardsPool: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDepositValidatorRewardsPool | MsgDepositValidatorRewardsPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
65
+ export declare const depositValidatorRewardsPool: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgDepositValidatorRewardsPool | MsgDepositValidatorRewardsPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -5,7 +5,7 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  submitEvidence(value: MsgSubmitEvidence): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  };
11
11
  withTypeUrl: {
@@ -6,4 +6,4 @@ import { MsgSubmitEvidence } from "./tx";
6
6
  * @package cosmos.evidence.v1beta1
7
7
  * @see proto service: cosmos.evidence.v1beta1.SubmitEvidence
8
8
  */
9
- export declare const submitEvidence: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSubmitEvidence | MsgSubmitEvidence[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
+ export declare const submitEvidence: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSubmitEvidence | MsgSubmitEvidence[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -5,7 +5,7 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  updateParams(value: MsgUpdateParams): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  };
11
11
  withTypeUrl: {
@@ -7,4 +7,4 @@ import { MsgUpdateParams } from "./tx";
7
7
  * @package cosmos.evm.feemarket.v1
8
8
  * @see proto service: cosmos.evm.feemarket.v1.UpdateParams
9
9
  */
10
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
10
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.AccessControlType = exports.AccessControl = exports.Params = exports.accessTypeToJSON = exports.accessTypeFromJSON = exports.AccessTypeAmino = exports.AccessType = void 0;
3
+ exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.AccessControlType = exports.AccessControl = exports.Params = exports.AccessTypeAmino = exports.AccessType = void 0;
4
+ exports.accessTypeFromJSON = accessTypeFromJSON;
5
+ exports.accessTypeToJSON = accessTypeToJSON;
4
6
  const binary_1 = require("../../../../binary");
5
7
  const registry_1 = require("../../../../registry");
6
8
  const helpers_1 = require("../../../../helpers");
@@ -14,7 +16,7 @@ var AccessType;
14
16
  /** ACCESS_TYPE_PERMISSIONED - ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses */
15
17
  AccessType[AccessType["ACCESS_TYPE_PERMISSIONED"] = 2] = "ACCESS_TYPE_PERMISSIONED";
16
18
  AccessType[AccessType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
17
- })(AccessType = exports.AccessType || (exports.AccessType = {}));
19
+ })(AccessType || (exports.AccessType = AccessType = {}));
18
20
  exports.AccessTypeAmino = AccessType;
19
21
  function accessTypeFromJSON(object) {
20
22
  switch (object) {
@@ -33,7 +35,6 @@ function accessTypeFromJSON(object) {
33
35
  return AccessType.UNRECOGNIZED;
34
36
  }
35
37
  }
36
- exports.accessTypeFromJSON = accessTypeFromJSON;
37
38
  function accessTypeToJSON(object) {
38
39
  switch (object) {
39
40
  case AccessType.ACCESS_TYPE_PERMISSIONLESS:
@@ -47,7 +48,6 @@ function accessTypeToJSON(object) {
47
48
  return "UNRECOGNIZED";
48
49
  }
49
50
  }
50
- exports.accessTypeToJSON = accessTypeToJSON;
51
51
  function createBaseParams() {
52
52
  return {
53
53
  evmDenom: "",
@@ -5,11 +5,11 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  ethereumTx(value: MsgEthereumTx): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  updateParams(value: MsgUpdateParams): {
11
11
  typeUrl: string;
12
- value: Uint8Array;
12
+ value: Uint8Array<ArrayBufferLike>;
13
13
  };
14
14
  };
15
15
  withTypeUrl: {
@@ -5,7 +5,7 @@ import { MsgEthereumTx, MsgUpdateParams } from "./tx";
5
5
  * @package cosmos.evm.vm.v1
6
6
  * @see proto service: cosmos.evm.vm.v1.EthereumTx
7
7
  */
8
- export declare const ethereumTx: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgEthereumTx | MsgEthereumTx[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
8
+ export declare const ethereumTx: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgEthereumTx | MsgEthereumTx[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
9
  /**
10
10
  * UpdateParams defined a governance operation for updating the x/vm module
11
11
  * parameters. The authority is hard-coded to the Cosmos SDK x/gov module
@@ -14,4 +14,4 @@ export declare const ethereumTx: (client: import("@interchainjs/cosmos/types/sig
14
14
  * @package cosmos.evm.vm.v1
15
15
  * @see proto service: cosmos.evm.vm.v1.UpdateParams
16
16
  */
17
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
17
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/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: {
@@ -6,7 +6,7 @@ import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx"
6
6
  * @package cosmos.feegrant.v1beta1
7
7
  * @see proto service: cosmos.feegrant.v1beta1.GrantAllowance
8
8
  */
9
- export declare const grantAllowance: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgGrantAllowance | MsgGrantAllowance[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
+ export declare const grantAllowance: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgGrantAllowance | MsgGrantAllowance[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
10
10
  /**
11
11
  * RevokeAllowance revokes any fee allowance of granter's account that
12
12
  * has been granted to the grantee.
@@ -14,7 +14,7 @@ export declare const grantAllowance: (client: import("@interchainjs/cosmos/types
14
14
  * @package cosmos.feegrant.v1beta1
15
15
  * @see proto service: cosmos.feegrant.v1beta1.RevokeAllowance
16
16
  */
17
- export declare const revokeAllowance: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRevokeAllowance | MsgRevokeAllowance[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
17
+ export declare const revokeAllowance: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgRevokeAllowance | MsgRevokeAllowance[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
18
18
  /**
19
19
  * PruneAllowances prunes expired fee allowances, currently up to 75 at a time.
20
20
  *
@@ -23,4 +23,4 @@ export declare const revokeAllowance: (client: import("@interchainjs/cosmos/type
23
23
  * @package cosmos.feegrant.v1beta1
24
24
  * @see proto service: cosmos.feegrant.v1beta1.PruneAllowances
25
25
  */
26
- export declare const pruneAllowances: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgPruneAllowances | MsgPruneAllowances[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
26
+ export declare const pruneAllowances: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgPruneAllowances | MsgPruneAllowances[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -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.proposalStatusToJSON = exports.proposalStatusFromJSON = exports.ProposalStatusAmino = exports.ProposalStatus = exports.voteOptionToJSON = exports.voteOptionFromJSON = exports.VoteOptionAmino = exports.VoteOption = void 0;
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");
@@ -22,7 +26,7 @@ var VoteOption;
22
26
  /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
23
27
  VoteOption[VoteOption["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
24
28
  VoteOption[VoteOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
25
- })(VoteOption = exports.VoteOption || (exports.VoteOption = {}));
29
+ })(VoteOption || (exports.VoteOption = VoteOption = {}));
26
30
  exports.VoteOptionAmino = VoteOption;
27
31
  function voteOptionFromJSON(object) {
28
32
  switch (object) {
@@ -47,7 +51,6 @@ function voteOptionFromJSON(object) {
47
51
  return VoteOption.UNRECOGNIZED;
48
52
  }
49
53
  }
50
- exports.voteOptionFromJSON = voteOptionFromJSON;
51
54
  function voteOptionToJSON(object) {
52
55
  switch (object) {
53
56
  case VoteOption.VOTE_OPTION_UNSPECIFIED:
@@ -65,7 +68,6 @@ function voteOptionToJSON(object) {
65
68
  return "UNRECOGNIZED";
66
69
  }
67
70
  }
68
- exports.voteOptionToJSON = voteOptionToJSON;
69
71
  /** ProposalStatus enumerates the valid statuses of a proposal. */
70
72
  var ProposalStatus;
71
73
  (function (ProposalStatus) {
@@ -97,7 +99,7 @@ var ProposalStatus;
97
99
  */
98
100
  ProposalStatus[ProposalStatus["PROPOSAL_STATUS_FAILED"] = 5] = "PROPOSAL_STATUS_FAILED";
99
101
  ProposalStatus[ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
100
- })(ProposalStatus = exports.ProposalStatus || (exports.ProposalStatus = {}));
102
+ })(ProposalStatus || (exports.ProposalStatus = ProposalStatus = {}));
101
103
  exports.ProposalStatusAmino = ProposalStatus;
102
104
  function proposalStatusFromJSON(object) {
103
105
  switch (object) {
@@ -125,7 +127,6 @@ function proposalStatusFromJSON(object) {
125
127
  return ProposalStatus.UNRECOGNIZED;
126
128
  }
127
129
  }
128
- exports.proposalStatusFromJSON = proposalStatusFromJSON;
129
130
  function proposalStatusToJSON(object) {
130
131
  switch (object) {
131
132
  case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
@@ -145,7 +146,6 @@ function proposalStatusToJSON(object) {
145
146
  return "UNRECOGNIZED";
146
147
  }
147
148
  }
148
- exports.proposalStatusToJSON = proposalStatusToJSON;
149
149
  function createBaseWeightedVoteOption() {
150
150
  return {
151
151
  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: {
@@ -5,7 +5,7 @@ import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgD
5
5
  * @package cosmos.gov.v1
6
6
  * @see proto service: cosmos.gov.v1.SubmitProposal
7
7
  */
8
- export declare const submitProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
8
+ export declare const submitProposal: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
9
  /**
10
10
  * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal
11
11
  * to execute a legacy content-based proposal.
@@ -13,28 +13,28 @@ export declare const submitProposal: (client: import("@interchainjs/cosmos/types
13
13
  * @package cosmos.gov.v1
14
14
  * @see proto service: cosmos.gov.v1.ExecLegacyContent
15
15
  */
16
- export declare const execLegacyContent: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
16
+ export declare const execLegacyContent: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
17
17
  /**
18
18
  * Vote defines a method to add a vote on a specific proposal.
19
19
  * @name vote
20
20
  * @package cosmos.gov.v1
21
21
  * @see proto service: cosmos.gov.v1.Vote
22
22
  */
23
- export declare const vote: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
23
+ export declare const vote: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
24
24
  /**
25
25
  * VoteWeighted defines a method to add a weighted vote on a specific proposal.
26
26
  * @name voteWeighted
27
27
  * @package cosmos.gov.v1
28
28
  * @see proto service: cosmos.gov.v1.VoteWeighted
29
29
  */
30
- export declare const voteWeighted: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
30
+ export declare const voteWeighted: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
31
31
  /**
32
32
  * Deposit defines a method to add deposit on a specific proposal.
33
33
  * @name deposit
34
34
  * @package cosmos.gov.v1
35
35
  * @see proto service: cosmos.gov.v1.Deposit
36
36
  */
37
- export declare const deposit: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
37
+ export declare const deposit: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
38
38
  /**
39
39
  * UpdateParams defines a governance operation for updating the x/gov module
40
40
  * parameters. The authority is defined in the keeper.
@@ -44,7 +44,7 @@ export declare const deposit: (client: import("@interchainjs/cosmos/types/signin
44
44
  * @package cosmos.gov.v1
45
45
  * @see proto service: cosmos.gov.v1.UpdateParams
46
46
  */
47
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
47
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
48
48
  /**
49
49
  * CancelProposal defines a method to cancel governance proposal
50
50
  *
@@ -53,4 +53,4 @@ export declare const updateParams: (client: import("@interchainjs/cosmos/types/s
53
53
  * @package cosmos.gov.v1
54
54
  * @see proto service: cosmos.gov.v1.CancelProposal
55
55
  */
56
- export declare const cancelProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
56
+ export declare const cancelProposal: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/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.proposalStatusToJSON = exports.proposalStatusFromJSON = exports.ProposalStatusAmino = exports.ProposalStatus = exports.voteOptionToJSON = exports.voteOptionFromJSON = exports.VoteOptionAmino = exports.VoteOption = void 0;
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");
@@ -27,7 +31,7 @@ var VoteOption;
27
31
  /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
28
32
  VoteOption[VoteOption["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
29
33
  VoteOption[VoteOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
30
- })(VoteOption = exports.VoteOption || (exports.VoteOption = {}));
34
+ })(VoteOption || (exports.VoteOption = VoteOption = {}));
31
35
  exports.VoteOptionAmino = VoteOption;
32
36
  function voteOptionFromJSON(object) {
33
37
  switch (object) {
@@ -52,7 +56,6 @@ function voteOptionFromJSON(object) {
52
56
  return VoteOption.UNRECOGNIZED;
53
57
  }
54
58
  }
55
- exports.voteOptionFromJSON = voteOptionFromJSON;
56
59
  function voteOptionToJSON(object) {
57
60
  switch (object) {
58
61
  case VoteOption.VOTE_OPTION_UNSPECIFIED:
@@ -70,7 +73,6 @@ function voteOptionToJSON(object) {
70
73
  return "UNRECOGNIZED";
71
74
  }
72
75
  }
73
- exports.voteOptionToJSON = voteOptionToJSON;
74
76
  /** ProposalStatus enumerates the valid statuses of a proposal. */
75
77
  var ProposalStatus;
76
78
  (function (ProposalStatus) {
@@ -102,7 +104,7 @@ var ProposalStatus;
102
104
  */
103
105
  ProposalStatus[ProposalStatus["PROPOSAL_STATUS_FAILED"] = 5] = "PROPOSAL_STATUS_FAILED";
104
106
  ProposalStatus[ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
105
- })(ProposalStatus = exports.ProposalStatus || (exports.ProposalStatus = {}));
107
+ })(ProposalStatus || (exports.ProposalStatus = ProposalStatus = {}));
106
108
  exports.ProposalStatusAmino = ProposalStatus;
107
109
  function proposalStatusFromJSON(object) {
108
110
  switch (object) {
@@ -130,7 +132,6 @@ function proposalStatusFromJSON(object) {
130
132
  return ProposalStatus.UNRECOGNIZED;
131
133
  }
132
134
  }
133
- exports.proposalStatusFromJSON = proposalStatusFromJSON;
134
135
  function proposalStatusToJSON(object) {
135
136
  switch (object) {
136
137
  case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
@@ -150,7 +151,6 @@ function proposalStatusToJSON(object) {
150
151
  return "UNRECOGNIZED";
151
152
  }
152
153
  }
153
- exports.proposalStatusToJSON = proposalStatusToJSON;
154
154
  function createBaseWeightedVoteOption() {
155
155
  return {
156
156
  option: 0,