decentralcardgame-cardchain-client-ts 0.0.36 → 0.0.38

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 (141) hide show
  1. package/amino_adapter.d.ts +9 -0
  2. package/amino_adapter.js +22 -0
  3. package/cardchain.cardchain/module.js +53 -52
  4. package/cardchain.featureflag/module.js +3 -2
  5. package/client.js +1 -1
  6. package/cosmos.auth.v1beta1/module.js +2 -1
  7. package/cosmos.authz.v1beta1/module.js +4 -3
  8. package/cosmos.bank.v1beta1/module.js +5 -4
  9. package/cosmos.bank.v1beta1/rest.d.ts +20 -20
  10. package/cosmos.bank.v1beta1/rest.js +16 -16
  11. package/cosmos.circuit.v1/module.js +4 -3
  12. package/cosmos.consensus.v1/module.js +2 -1
  13. package/cosmos.crisis.v1beta1/module.js +3 -2
  14. package/cosmos.distribution.v1beta1/module.js +8 -7
  15. package/cosmos.evidence.v1beta1/module.js +2 -1
  16. package/cosmos.feegrant.v1beta1/module.js +4 -3
  17. package/cosmos.gov.v1/module.js +8 -7
  18. package/cosmos.gov.v1beta1/module.js +5 -4
  19. package/cosmos.group.v1/module.js +17 -14
  20. package/cosmos.group.v1/types.d.ts +2 -1
  21. package/cosmos.group.v1/types.js +2 -1
  22. package/cosmos.mint.v1beta1/module.js +2 -1
  23. package/cosmos.nft.v1beta1/module.js +2 -1
  24. package/cosmos.slashing.v1beta1/module.js +3 -2
  25. package/cosmos.staking.v1beta1/module.js +8 -7
  26. package/cosmos.tx.v1beta1/rest.d.ts +8 -0
  27. package/cosmos.upgrade.v1beta1/module.js +3 -2
  28. package/cosmos.vesting.v1beta1/module.js +4 -3
  29. package/ibc.applications.fee.v1/module.js +5 -4
  30. package/ibc.applications.interchain_accounts.controller.v1/module.js +4 -3
  31. package/ibc.applications.interchain_accounts.host.v1/module.js +3 -2
  32. package/ibc.applications.transfer.v1/module.js +3 -2
  33. package/ibc.core.channel.v1/module.js +20 -19
  34. package/ibc.core.client.v1/module.js +8 -7
  35. package/ibc.core.connection.v1/module.js +6 -5
  36. package/index.d.ts +20 -20
  37. package/index.js +9 -9
  38. package/package.json +1 -1
  39. package/types/cosmos/app/runtime/v1alpha1/module.d.ts +13 -1
  40. package/types/cosmos/app/runtime/v1alpha1/module.js +36 -0
  41. package/types/cosmos/app/v1alpha1/query.d.ts +6 -2
  42. package/types/cosmos/auth/module/v1/module.d.ts +6 -0
  43. package/types/cosmos/auth/module/v1/module.js +18 -1
  44. package/types/cosmos/auth/v1beta1/query.d.ts +21 -107
  45. package/types/cosmos/auth/v1beta1/tx.d.ts +1 -9
  46. package/types/cosmos/authz/v1beta1/authz.d.ts +0 -1
  47. package/types/cosmos/authz/v1beta1/event.d.ts +0 -1
  48. package/types/cosmos/authz/v1beta1/genesis.d.ts +0 -1
  49. package/types/cosmos/authz/v1beta1/query.d.ts +2 -11
  50. package/types/cosmos/authz/v1beta1/tx.d.ts +0 -1
  51. package/types/cosmos/autocli/v1/options.d.ts +21 -1
  52. package/types/cosmos/autocli/v1/options.js +65 -2
  53. package/types/cosmos/bank/v1beta1/authz.d.ts +0 -4
  54. package/types/cosmos/bank/v1beta1/bank.d.ts +2 -14
  55. package/types/cosmos/bank/v1beta1/genesis.d.ts +1 -5
  56. package/types/cosmos/bank/v1beta1/query.d.ts +12 -62
  57. package/types/cosmos/bank/v1beta1/query.js +6 -6
  58. package/types/cosmos/bank/v1beta1/tx.d.ts +2 -18
  59. package/types/cosmos/base/abci/v1beta1/abci.d.ts +2 -12
  60. package/types/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -1
  61. package/types/cosmos/base/tendermint/v1beta1/query.d.ts +0 -5
  62. package/types/cosmos/benchmark/module/v1/module.d.ts +52 -0
  63. package/types/cosmos/benchmark/module/v1/module.js +289 -0
  64. package/types/cosmos/benchmark/v1/benchmark.d.ts +32 -0
  65. package/types/cosmos/benchmark/v1/benchmark.js +164 -0
  66. package/types/cosmos/benchmark/v1/tx.d.ts +51 -0
  67. package/types/cosmos/benchmark/v1/tx.js +196 -0
  68. package/types/cosmos/consensus/v1/query.d.ts +0 -1
  69. package/types/cosmos/consensus/v1/tx.d.ts +0 -4
  70. package/types/cosmos/{orm/module/v1alpha1 → counter/module/v1}/module.d.ts +4 -6
  71. package/types/cosmos/counter/module/v1/module.js +62 -0
  72. package/types/cosmos/counter/v1/query.d.ts +47 -0
  73. package/types/cosmos/counter/v1/query.js +122 -0
  74. package/types/cosmos/counter/v1/tx.d.ts +52 -0
  75. package/types/cosmos/counter/v1/tx.js +153 -0
  76. package/types/cosmos/crisis/v1beta1/tx.d.ts +1 -9
  77. package/types/cosmos/crypto/hd/v1/hd.d.ts +0 -1
  78. package/types/cosmos/crypto/keyring/v1/record.d.ts +0 -1
  79. package/types/cosmos/crypto/secp256r1/keys.d.ts +0 -1
  80. package/types/cosmos/distribution/v1beta1/query.d.ts +5 -1
  81. package/types/cosmos/distribution/v1beta1/tx.d.ts +4 -22
  82. package/types/cosmos/epochs/module/v1/module.d.ts +25 -0
  83. package/types/cosmos/{orm/module/v1alpha1 → epochs/module/v1}/module.js +2 -2
  84. package/types/cosmos/epochs/v1beta1/events.d.ts +32 -0
  85. package/types/cosmos/epochs/v1beta1/events.js +140 -0
  86. package/types/cosmos/epochs/v1beta1/genesis.d.ts +86 -0
  87. package/types/cosmos/epochs/v1beta1/genesis.js +256 -0
  88. package/types/cosmos/epochs/v1beta1/query.d.ts +73 -0
  89. package/types/cosmos/epochs/v1beta1/query.js +233 -0
  90. package/types/cosmos/evidence/v1beta1/query.d.ts +1 -5
  91. package/types/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -1
  92. package/types/cosmos/feegrant/v1beta1/genesis.d.ts +0 -1
  93. package/types/cosmos/feegrant/v1beta1/query.d.ts +3 -16
  94. package/types/cosmos/feegrant/v1beta1/tx.d.ts +3 -16
  95. package/types/cosmos/gov/v1/genesis.d.ts +1 -8
  96. package/types/cosmos/gov/v1/gov.d.ts +9 -50
  97. package/types/cosmos/gov/v1/gov.js +0 -1
  98. package/types/cosmos/gov/v1/query.d.ts +1 -6
  99. package/types/cosmos/gov/v1/tx.d.ts +6 -37
  100. package/types/cosmos/gov/v1beta1/gov.d.ts +2 -10
  101. package/types/cosmos/gov/v1beta1/tx.d.ts +3 -15
  102. package/types/cosmos/group/v1/events.d.ts +8 -1
  103. package/types/cosmos/group/v1/events.js +68 -0
  104. package/types/cosmos/group/v1/genesis.d.ts +0 -1
  105. package/types/cosmos/group/v1/query.d.ts +3 -16
  106. package/types/cosmos/group/v1/tx.d.ts +2 -11
  107. package/types/cosmos/group/v1/tx.js +0 -1
  108. package/types/cosmos/group/v1/types.d.ts +2 -11
  109. package/types/cosmos/group/v1/types.js +0 -1
  110. package/types/cosmos/mint/v1beta1/tx.d.ts +1 -9
  111. package/types/cosmos/params/v1beta1/query.d.ts +1 -11
  112. package/types/cosmos/protocolpool/module/v1/module.d.ts +27 -0
  113. package/types/cosmos/protocolpool/module/v1/module.js +62 -0
  114. package/types/cosmos/protocolpool/v1/genesis.d.ts +33 -0
  115. package/types/cosmos/protocolpool/v1/genesis.js +84 -0
  116. package/types/cosmos/protocolpool/v1/query.d.ts +108 -0
  117. package/types/cosmos/protocolpool/v1/query.js +420 -0
  118. package/types/cosmos/protocolpool/v1/tx.d.ts +159 -0
  119. package/types/cosmos/protocolpool/v1/tx.js +700 -0
  120. package/types/cosmos/protocolpool/v1/types.d.ts +45 -0
  121. package/types/cosmos/protocolpool/v1/types.js +196 -0
  122. package/types/cosmos/slashing/v1beta1/tx.d.ts +1 -9
  123. package/types/cosmos/staking/v1beta1/authz.d.ts +2 -10
  124. package/types/cosmos/staking/v1beta1/authz.js +1 -5
  125. package/types/cosmos/staking/v1beta1/staking.d.ts +1 -5
  126. package/types/cosmos/staking/v1beta1/tx.d.ts +4 -25
  127. package/types/cosmos/store/snapshots/v1/snapshot.d.ts +5 -25
  128. package/types/cosmos/store/v1beta1/listening.d.ts +0 -2
  129. package/types/cosmos/tx/v1beta1/service.d.ts +6 -52
  130. package/types/cosmos/tx/v1beta1/tx.d.ts +37 -17
  131. package/types/cosmos/tx/v1beta1/tx.js +61 -1
  132. package/types/cosmos/upgrade/v1beta1/query.d.ts +4 -25
  133. package/types/cosmos/upgrade/v1beta1/tx.d.ts +5 -28
  134. package/types/cosmos/vesting/v1beta1/tx.d.ts +1 -15
  135. package/types/cosmos/vesting/v1beta1/vesting.d.ts +0 -2
  136. package/types/cosmos/orm/query/v1alpha1/query.d.ts +0 -148
  137. package/types/cosmos/orm/query/v1alpha1/query.js +0 -705
  138. package/types/cosmos/orm/v1/orm.d.ts +0 -115
  139. package/types/cosmos/orm/v1/orm.js +0 -300
  140. package/types/cosmos/orm/v1alpha1/schema.d.ts +0 -77
  141. package/types/cosmos/orm/v1alpha1/schema.js +0 -243
@@ -8,6 +8,7 @@ import { EventVote } from "../types/cosmos/group/v1/events";
8
8
  import { EventExec } from "../types/cosmos/group/v1/events";
9
9
  import { EventLeaveGroup } from "../types/cosmos/group/v1/events";
10
10
  import { EventProposalPruned } from "../types/cosmos/group/v1/events";
11
+ import { EventTallyError } from "../types/cosmos/group/v1/events";
11
12
  import { Member } from "../types/cosmos/group/v1/types";
12
13
  import { MemberRequest } from "../types/cosmos/group/v1/types";
13
14
  import { ThresholdDecisionPolicy } from "../types/cosmos/group/v1/types";
@@ -19,4 +20,4 @@ import { GroupPolicyInfo } from "../types/cosmos/group/v1/types";
19
20
  import { Proposal } from "../types/cosmos/group/v1/types";
20
21
  import { TallyResult } from "../types/cosmos/group/v1/types";
21
22
  import { Vote } from "../types/cosmos/group/v1/types";
22
- export { EventCreateGroup, EventUpdateGroup, EventCreateGroupPolicy, EventUpdateGroupPolicy, EventSubmitProposal, EventWithdrawProposal, EventVote, EventExec, EventLeaveGroup, EventProposalPruned, Member, MemberRequest, ThresholdDecisionPolicy, PercentageDecisionPolicy, DecisionPolicyWindows, GroupInfo, GroupMember, GroupPolicyInfo, Proposal, TallyResult, Vote, };
23
+ export { EventCreateGroup, EventUpdateGroup, EventCreateGroupPolicy, EventUpdateGroupPolicy, EventSubmitProposal, EventWithdrawProposal, EventVote, EventExec, EventLeaveGroup, EventProposalPruned, EventTallyError, Member, MemberRequest, ThresholdDecisionPolicy, PercentageDecisionPolicy, DecisionPolicyWindows, GroupInfo, GroupMember, GroupPolicyInfo, Proposal, TallyResult, Vote, };
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -28,7 +29,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
28
29
  }
29
30
  try {
30
31
  const { address } = (await signer.getAccounts())[0];
31
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
32
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
32
33
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
33
34
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
34
35
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -32,7 +33,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
32
33
  }
33
34
  try {
34
35
  const { address } = (await signer.getAccounts())[0];
35
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
36
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
36
37
  let msg = this.msgSend({ value: MsgSend.fromPartial(value) });
37
38
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
38
39
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -32,7 +33,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
32
33
  }
33
34
  try {
34
35
  const { address } = (await signer.getAccounts())[0];
35
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
36
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
36
37
  let msg = this.msgUnjail({ value: MsgUnjail.fromPartial(value) });
37
38
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
38
39
  }
@@ -46,7 +47,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
46
47
  }
47
48
  try {
48
49
  const { address } = (await signer.getAccounts())[0];
49
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
50
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
50
51
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
51
52
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
52
53
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -56,7 +57,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
56
57
  }
57
58
  try {
58
59
  const { address } = (await signer.getAccounts())[0];
59
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
60
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
60
61
  let msg = this.msgCreateValidator({ value: MsgCreateValidator.fromPartial(value) });
61
62
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
62
63
  }
@@ -70,7 +71,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
70
71
  }
71
72
  try {
72
73
  const { address } = (await signer.getAccounts())[0];
73
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
74
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
74
75
  let msg = this.msgEditValidator({ value: MsgEditValidator.fromPartial(value) });
75
76
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
76
77
  }
@@ -84,7 +85,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
84
85
  }
85
86
  try {
86
87
  const { address } = (await signer.getAccounts())[0];
87
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
88
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
88
89
  let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
89
90
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
90
91
  }
@@ -98,7 +99,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
98
99
  }
99
100
  try {
100
101
  const { address } = (await signer.getAccounts())[0];
101
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
102
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
102
103
  let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
103
104
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
104
105
  }
@@ -112,7 +113,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
112
113
  }
113
114
  try {
114
115
  const { address } = (await signer.getAccounts())[0];
115
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
116
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
116
117
  let msg = this.msgUndelegate({ value: MsgUndelegate.fromPartial(value) });
117
118
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
118
119
  }
@@ -126,7 +127,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
126
127
  }
127
128
  try {
128
129
  const { address } = (await signer.getAccounts())[0];
129
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
130
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
130
131
  let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
131
132
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
132
133
  }
@@ -140,7 +141,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
140
141
  }
141
142
  try {
142
143
  const { address } = (await signer.getAccounts())[0];
143
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
144
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
144
145
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
145
146
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
146
147
  }
@@ -124,6 +124,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
124
124
  }[];
125
125
  memo: string;
126
126
  timeout_height: number;
127
+ unordered: boolean;
128
+ timeout_timestamp: string;
127
129
  extension_options: {
128
130
  type_url: string;
129
131
  value: string;
@@ -268,6 +270,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
268
270
  }[];
269
271
  memo: string;
270
272
  timeout_height: number;
273
+ unordered: boolean;
274
+ timeout_timestamp: string;
271
275
  extension_options: {
272
276
  type_url: string;
273
277
  value: string;
@@ -373,6 +377,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
373
377
  }[];
374
378
  memo: string;
375
379
  timeout_height: number;
380
+ unordered: boolean;
381
+ timeout_timestamp: string;
376
382
  extension_options: {
377
383
  type_url: string;
378
384
  value: string;
@@ -622,6 +628,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
622
628
  }[];
623
629
  memo: string;
624
630
  timeout_height: number;
631
+ unordered: boolean;
632
+ timeout_timestamp: string;
625
633
  extension_options: {
626
634
  type_url: string;
627
635
  value: string;
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -31,7 +32,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
31
32
  }
32
33
  try {
33
34
  const { address } = (await signer.getAccounts())[0];
34
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
35
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
35
36
  let msg = this.msgSoftwareUpgrade({ value: MsgSoftwareUpgrade.fromPartial(value) });
36
37
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
37
38
  }
@@ -45,7 +46,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
45
46
  }
46
47
  try {
47
48
  const { address } = (await signer.getAccounts())[0];
48
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
49
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
49
50
  let msg = this.msgCancelUpgrade({ value: MsgCancelUpgrade.fromPartial(value) });
50
51
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
51
52
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -34,7 +35,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
34
35
  }
35
36
  try {
36
37
  const { address } = (await signer.getAccounts())[0];
37
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
38
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
38
39
  let msg = this.msgCreateVestingAccount({ value: MsgCreateVestingAccount.fromPartial(value) });
39
40
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
40
41
  }
@@ -48,7 +49,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
48
49
  }
49
50
  try {
50
51
  const { address } = (await signer.getAccounts())[0];
51
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
52
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
52
53
  let msg = this.msgCreatePermanentLockedAccount({ value: MsgCreatePermanentLockedAccount.fromPartial(value) });
53
54
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
54
55
  }
@@ -62,7 +63,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
62
63
  }
63
64
  try {
64
65
  const { address } = (await signer.getAccounts())[0];
65
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
66
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
66
67
  let msg = this.msgCreatePeriodicVestingAccount({ value: MsgCreatePeriodicVestingAccount.fromPartial(value) });
67
68
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
68
69
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -39,7 +40,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
39
40
  }
40
41
  try {
41
42
  const { address } = (await signer.getAccounts())[0];
42
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
43
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
43
44
  let msg = this.msgRegisterPayee({ value: MsgRegisterPayee.fromPartial(value) });
44
45
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
45
46
  }
@@ -53,7 +54,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
53
54
  }
54
55
  try {
55
56
  const { address } = (await signer.getAccounts())[0];
56
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
57
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
57
58
  let msg = this.msgRegisterCounterpartyPayee({ value: MsgRegisterCounterpartyPayee.fromPartial(value) });
58
59
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
59
60
  }
@@ -67,7 +68,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
67
68
  }
68
69
  try {
69
70
  const { address } = (await signer.getAccounts())[0];
70
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
71
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
71
72
  let msg = this.msgPayPacketFee({ value: MsgPayPacketFee.fromPartial(value) });
72
73
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
73
74
  }
@@ -81,7 +82,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
81
82
  }
82
83
  try {
83
84
  const { address } = (await signer.getAccounts())[0];
84
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
85
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
85
86
  let msg = this.msgPayPacketFeeAsync({ value: MsgPayPacketFeeAsync.fromPartial(value) });
86
87
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
87
88
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -29,7 +30,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
29
30
  }
30
31
  try {
31
32
  const { address } = (await signer.getAccounts())[0];
32
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
33
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
33
34
  let msg = this.msgRegisterInterchainAccount({ value: MsgRegisterInterchainAccount.fromPartial(value) });
34
35
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
35
36
  }
@@ -43,7 +44,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
43
44
  }
44
45
  try {
45
46
  const { address } = (await signer.getAccounts())[0];
46
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
47
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
47
48
  let msg = this.msgSendTx({ value: MsgSendTx.fromPartial(value) });
48
49
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
49
50
  }
@@ -57,7 +58,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
57
58
  }
58
59
  try {
59
60
  const { address } = (await signer.getAccounts())[0];
60
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
61
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
61
62
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
62
63
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
63
64
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -29,7 +30,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
29
30
  }
30
31
  try {
31
32
  const { address } = (await signer.getAccounts())[0];
32
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
33
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
33
34
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
34
35
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
35
36
  }
@@ -43,7 +44,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
43
44
  }
44
45
  try {
45
46
  const { address } = (await signer.getAccounts())[0];
46
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
47
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
47
48
  let msg = this.msgModuleQuerySafe({ value: MsgModuleQuerySafe.fromPartial(value) });
48
49
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
49
50
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -31,7 +32,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
31
32
  }
32
33
  try {
33
34
  const { address } = (await signer.getAccounts())[0];
34
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
35
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
35
36
  let msg = this.msgTransfer({ value: MsgTransfer.fromPartial(value) });
36
37
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
37
38
  }
@@ -45,7 +46,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
45
46
  }
46
47
  try {
47
48
  const { address } = (await signer.getAccounts())[0];
48
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
49
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
49
50
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
50
51
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
51
52
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -57,7 +58,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
57
58
  }
58
59
  try {
59
60
  const { address } = (await signer.getAccounts())[0];
60
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
61
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
61
62
  let msg = this.msgChannelOpenInit({ value: MsgChannelOpenInit.fromPartial(value) });
62
63
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
63
64
  }
@@ -71,7 +72,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
71
72
  }
72
73
  try {
73
74
  const { address } = (await signer.getAccounts())[0];
74
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
75
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
75
76
  let msg = this.msgChannelOpenTry({ value: MsgChannelOpenTry.fromPartial(value) });
76
77
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
77
78
  }
@@ -85,7 +86,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
85
86
  }
86
87
  try {
87
88
  const { address } = (await signer.getAccounts())[0];
88
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
89
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
89
90
  let msg = this.msgChannelOpenAck({ value: MsgChannelOpenAck.fromPartial(value) });
90
91
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
91
92
  }
@@ -99,7 +100,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
99
100
  }
100
101
  try {
101
102
  const { address } = (await signer.getAccounts())[0];
102
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
103
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
103
104
  let msg = this.msgChannelOpenConfirm({ value: MsgChannelOpenConfirm.fromPartial(value) });
104
105
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
105
106
  }
@@ -113,7 +114,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
113
114
  }
114
115
  try {
115
116
  const { address } = (await signer.getAccounts())[0];
116
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
117
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
117
118
  let msg = this.msgChannelCloseInit({ value: MsgChannelCloseInit.fromPartial(value) });
118
119
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
119
120
  }
@@ -127,7 +128,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
127
128
  }
128
129
  try {
129
130
  const { address } = (await signer.getAccounts())[0];
130
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
131
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
131
132
  let msg = this.msgChannelCloseConfirm({ value: MsgChannelCloseConfirm.fromPartial(value) });
132
133
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
133
134
  }
@@ -141,7 +142,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
141
142
  }
142
143
  try {
143
144
  const { address } = (await signer.getAccounts())[0];
144
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
145
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
145
146
  let msg = this.msgRecvPacket({ value: MsgRecvPacket.fromPartial(value) });
146
147
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
147
148
  }
@@ -155,7 +156,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
155
156
  }
156
157
  try {
157
158
  const { address } = (await signer.getAccounts())[0];
158
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
159
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
159
160
  let msg = this.msgTimeout({ value: MsgTimeout.fromPartial(value) });
160
161
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
161
162
  }
@@ -169,7 +170,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
169
170
  }
170
171
  try {
171
172
  const { address } = (await signer.getAccounts())[0];
172
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
173
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
173
174
  let msg = this.msgTimeoutOnClose({ value: MsgTimeoutOnClose.fromPartial(value) });
174
175
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
175
176
  }
@@ -183,7 +184,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
183
184
  }
184
185
  try {
185
186
  const { address } = (await signer.getAccounts())[0];
186
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
187
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
187
188
  let msg = this.msgAcknowledgement({ value: MsgAcknowledgement.fromPartial(value) });
188
189
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
189
190
  }
@@ -197,7 +198,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
197
198
  }
198
199
  try {
199
200
  const { address } = (await signer.getAccounts())[0];
200
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
201
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
201
202
  let msg = this.msgChannelUpgradeInit({ value: MsgChannelUpgradeInit.fromPartial(value) });
202
203
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
203
204
  }
@@ -211,7 +212,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
211
212
  }
212
213
  try {
213
214
  const { address } = (await signer.getAccounts())[0];
214
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
215
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
215
216
  let msg = this.msgChannelUpgradeTry({ value: MsgChannelUpgradeTry.fromPartial(value) });
216
217
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
217
218
  }
@@ -225,7 +226,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
225
226
  }
226
227
  try {
227
228
  const { address } = (await signer.getAccounts())[0];
228
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
229
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
229
230
  let msg = this.msgChannelUpgradeAck({ value: MsgChannelUpgradeAck.fromPartial(value) });
230
231
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
231
232
  }
@@ -239,7 +240,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
239
240
  }
240
241
  try {
241
242
  const { address } = (await signer.getAccounts())[0];
242
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
243
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
243
244
  let msg = this.msgChannelUpgradeConfirm({ value: MsgChannelUpgradeConfirm.fromPartial(value) });
244
245
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
245
246
  }
@@ -253,7 +254,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
253
254
  }
254
255
  try {
255
256
  const { address } = (await signer.getAccounts())[0];
256
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
257
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
257
258
  let msg = this.msgChannelUpgradeOpen({ value: MsgChannelUpgradeOpen.fromPartial(value) });
258
259
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
259
260
  }
@@ -267,7 +268,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
267
268
  }
268
269
  try {
269
270
  const { address } = (await signer.getAccounts())[0];
270
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
271
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
271
272
  let msg = this.msgChannelUpgradeTimeout({ value: MsgChannelUpgradeTimeout.fromPartial(value) });
272
273
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
273
274
  }
@@ -281,7 +282,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
281
282
  }
282
283
  try {
283
284
  const { address } = (await signer.getAccounts())[0];
284
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
285
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
285
286
  let msg = this.msgChannelUpgradeCancel({ value: MsgChannelUpgradeCancel.fromPartial(value) });
286
287
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
287
288
  }
@@ -295,7 +296,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
295
296
  }
296
297
  try {
297
298
  const { address } = (await signer.getAccounts())[0];
298
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
299
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
299
300
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
300
301
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
301
302
  }
@@ -309,7 +310,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
309
310
  }
310
311
  try {
311
312
  const { address } = (await signer.getAccounts())[0];
312
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
313
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
313
314
  let msg = this.msgPruneAcknowledgements({ value: MsgPruneAcknowledgements.fromPartial(value) });
314
315
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
315
316
  }
@@ -1,4 +1,5 @@
1
1
  // Generated by Ignite ignite.com/cli
2
+ import { AminoAdapter } from "../amino_adapter";
2
3
  import { SigningStargateClient } from "@cosmjs/stargate";
3
4
  import { Registry } from "@cosmjs/proto-signing";
4
5
  import { msgTypes } from './registry';
@@ -41,7 +42,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
41
42
  }
42
43
  try {
43
44
  const { address } = (await signer.getAccounts())[0];
44
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
45
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
45
46
  let msg = this.msgCreateClient({ value: MsgCreateClient.fromPartial(value) });
46
47
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
47
48
  }
@@ -55,7 +56,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
55
56
  }
56
57
  try {
57
58
  const { address } = (await signer.getAccounts())[0];
58
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
59
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
59
60
  let msg = this.msgUpdateClient({ value: MsgUpdateClient.fromPartial(value) });
60
61
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
61
62
  }
@@ -69,7 +70,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
69
70
  }
70
71
  try {
71
72
  const { address } = (await signer.getAccounts())[0];
72
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
73
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
73
74
  let msg = this.msgUpgradeClient({ value: MsgUpgradeClient.fromPartial(value) });
74
75
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
75
76
  }
@@ -83,7 +84,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
83
84
  }
84
85
  try {
85
86
  const { address } = (await signer.getAccounts())[0];
86
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
87
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
87
88
  let msg = this.msgSubmitMisbehaviour({ value: MsgSubmitMisbehaviour.fromPartial(value) });
88
89
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
89
90
  }
@@ -97,7 +98,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
97
98
  }
98
99
  try {
99
100
  const { address } = (await signer.getAccounts())[0];
100
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
101
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
101
102
  let msg = this.msgRecoverClient({ value: MsgRecoverClient.fromPartial(value) });
102
103
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
103
104
  }
@@ -111,7 +112,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
111
112
  }
112
113
  try {
113
114
  const { address } = (await signer.getAccounts())[0];
114
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
115
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
115
116
  let msg = this.msgIbcsoftwareUpgrade({ value: MsgIBCSoftwareUpgrade.fromPartial(value) });
116
117
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
117
118
  }
@@ -125,7 +126,7 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
125
126
  }
126
127
  try {
127
128
  const { address } = (await signer.getAccounts())[0];
128
- const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry });
129
+ const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, aminoTypes: new AminoAdapter(registry) });
129
130
  let msg = this.msgUpdateParams({ value: MsgUpdateParams.fromPartial(value) });
130
131
  return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
131
132
  }