@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.6

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 (172) hide show
  1. package/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
  2. package/cosmos/auth/v1beta1/tx.registry.js +33 -1
  3. package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
  4. package/cosmos/authz/v1beta1/tx.registry.js +69 -1
  5. package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
  6. package/cosmos/bank/v1beta1/tx.registry.js +87 -1
  7. package/cosmos/benchmark/v1/tx.registry.d.ts +23 -0
  8. package/cosmos/benchmark/v1/tx.registry.js +33 -1
  9. package/cosmos/bundle.d.ts +1138 -181
  10. package/cosmos/bundle.js +184 -184
  11. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  12. package/cosmos/circuit/v1/tx.registry.js +69 -1
  13. package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
  14. package/cosmos/consensus/v1/tx.registry.js +33 -1
  15. package/cosmos/counter/v1/tx.registry.d.ts +23 -0
  16. package/cosmos/counter/v1/tx.registry.js +33 -1
  17. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  18. package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
  19. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  20. package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
  21. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  22. package/cosmos/gov/v1/tx.registry.js +141 -1
  23. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  24. package/cosmos/gov/v1beta1/tx.registry.js +87 -1
  25. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  26. package/cosmos/group/v1/tx.registry.js +267 -1
  27. package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
  28. package/cosmos/mint/v1beta1/tx.registry.js +33 -1
  29. package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
  30. package/cosmos/protocolpool/v1/tx.registry.js +105 -1
  31. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  32. package/cosmos/staking/v1beta1/tx.registry.js +141 -1
  33. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
  34. package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
  35. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  36. package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
  37. package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
  38. package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
  39. package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
  40. package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
  41. package/esm/cosmos/bundle.js +184 -184
  42. package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
  43. package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
  44. package/esm/cosmos/counter/v1/tx.registry.js +31 -0
  45. package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  46. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  47. package/esm/cosmos/gov/v1/tx.registry.js +139 -0
  48. package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
  49. package/esm/cosmos/group/v1/tx.registry.js +265 -0
  50. package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
  51. package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
  52. package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
  53. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
  54. package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  55. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
  56. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
  57. package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
  58. package/esm/ibc/bundle.js +96 -96
  59. package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
  60. package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
  61. package/esm/ibc/core/client/v1/tx.registry.js +157 -0
  62. package/esm/ibc/core/client/v2/tx.registry.js +49 -0
  63. package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
  64. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
  65. package/esm/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  66. package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  67. package/esm/sparkdream/blog/{params.js → v1/params.js} +3 -3
  68. package/esm/sparkdream/blog/{post.js → v1/post.js} +3 -3
  69. package/esm/sparkdream/blog/{query.js → v1/query.js} +14 -14
  70. package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  71. package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  72. package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  73. package/esm/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  74. package/esm/sparkdream/blog/v1/tx.registry.js +87 -0
  75. package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  76. package/esm/sparkdream/bundle.js +68 -48
  77. package/esm/sparkdream/client.js +7 -7
  78. package/esm/sparkdream/lcd.js +10 -6
  79. package/esm/sparkdream/rpc.query.js +6 -2
  80. package/esm/sparkdream/rpc.tx.js +6 -2
  81. package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  82. package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  83. package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  84. package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  85. package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  86. package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  87. package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  88. package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  89. package/esm/sparkdream/sparkdream/v1/tx.registry.js +33 -0
  90. package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  91. package/esm/tendermint/bundle.js +18 -18
  92. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
  93. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
  94. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
  95. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
  96. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  97. package/ibc/applications/transfer/v1/tx.registry.js +51 -1
  98. package/ibc/bundle.d.ts +630 -81
  99. package/ibc/bundle.js +96 -96
  100. package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
  101. package/ibc/core/channel/v1/tx.registry.js +195 -1
  102. package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
  103. package/ibc/core/channel/v2/tx.registry.js +87 -1
  104. package/ibc/core/client/v1/tx.registry.d.ts +107 -0
  105. package/ibc/core/client/v1/tx.registry.js +159 -1
  106. package/ibc/core/client/v2/tx.registry.d.ts +35 -0
  107. package/ibc/core/client/v2/tx.registry.js +51 -1
  108. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  109. package/ibc/core/connection/v1/tx.registry.js +105 -1
  110. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
  111. package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
  112. package/package.json +1 -1
  113. package/sparkdream/{sparkdream/module → blog/module/v1}/module.d.ts +12 -6
  114. package/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  115. package/sparkdream/blog/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  116. package/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  117. package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +3 -3
  118. package/sparkdream/blog/{params.js → v1/params.js} +3 -3
  119. package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +6 -4
  120. package/sparkdream/blog/{post.js → v1/post.js} +3 -3
  121. package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +23 -15
  122. package/sparkdream/blog/{query.js → v1/query.js} +14 -14
  123. package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  124. package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
  125. package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  126. package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
  127. package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  128. package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +29 -17
  129. package/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  130. package/sparkdream/blog/v1/tx.registry.d.ts +61 -0
  131. package/sparkdream/blog/v1/tx.registry.js +91 -0
  132. package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
  133. package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  134. package/sparkdream/bundle.d.ts +476 -348
  135. package/sparkdream/bundle.js +68 -48
  136. package/sparkdream/client.d.ts +15 -15
  137. package/sparkdream/client.js +7 -7
  138. package/sparkdream/lcd.d.ts +6 -2
  139. package/sparkdream/lcd.js +10 -6
  140. package/sparkdream/rpc.query.d.ts +8 -4
  141. package/sparkdream/rpc.query.js +6 -2
  142. package/sparkdream/rpc.tx.d.ts +6 -2
  143. package/sparkdream/rpc.tx.js +6 -2
  144. package/sparkdream/{blog/module → sparkdream/module/v1}/module.d.ts +12 -6
  145. package/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  146. package/sparkdream/sparkdream/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  147. package/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  148. package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +3 -3
  149. package/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  150. package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +6 -6
  151. package/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  152. package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  153. package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
  154. package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  155. package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
  156. package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  157. package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +5 -5
  158. package/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  159. package/sparkdream/sparkdream/v1/tx.registry.d.ts +25 -0
  160. package/sparkdream/sparkdream/v1/tx.registry.js +37 -0
  161. package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
  162. package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  163. package/tendermint/bundle.d.ts +844 -844
  164. package/tendermint/bundle.js +18 -18
  165. package/esm/sparkdream/blog/tx.registry.js +0 -2
  166. package/esm/sparkdream/sparkdream/tx.registry.js +0 -2
  167. package/sparkdream/blog/tx.registry.d.ts +0 -2
  168. package/sparkdream/blog/tx.registry.js +0 -5
  169. package/sparkdream/sparkdream/tx.registry.d.ts +0 -2
  170. package/sparkdream/sparkdream/tx.registry.js +0 -5
  171. /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
  172. /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
@@ -1,2 +1,69 @@
1
1
  import { MsgRegisterInterchainAccount, MsgSendTx, MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount", MsgRegisterInterchainAccount], ["/ibc.applications.interchain_accounts.controller.v1.MsgSendTx", MsgSendTx], ["/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams", MsgUpdateParams]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ registerInterchainAccount(value) {
11
+ return {
12
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
13
+ value: MsgRegisterInterchainAccount.encode(value).finish()
14
+ };
15
+ },
16
+ sendTx(value) {
17
+ return {
18
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
19
+ value: MsgSendTx.encode(value).finish()
20
+ };
21
+ },
22
+ updateParams(value) {
23
+ return {
24
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
25
+ value: MsgUpdateParams.encode(value).finish()
26
+ };
27
+ }
28
+ },
29
+ withTypeUrl: {
30
+ registerInterchainAccount(value) {
31
+ return {
32
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
33
+ value
34
+ };
35
+ },
36
+ sendTx(value) {
37
+ return {
38
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
39
+ value
40
+ };
41
+ },
42
+ updateParams(value) {
43
+ return {
44
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
45
+ value
46
+ };
47
+ }
48
+ },
49
+ fromPartial: {
50
+ registerInterchainAccount(value) {
51
+ return {
52
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
53
+ value: MsgRegisterInterchainAccount.fromPartial(value)
54
+ };
55
+ },
56
+ sendTx(value) {
57
+ return {
58
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
59
+ value: MsgSendTx.fromPartial(value)
60
+ };
61
+ },
62
+ updateParams(value) {
63
+ return {
64
+ typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
65
+ value: MsgUpdateParams.fromPartial(value)
66
+ };
67
+ }
68
+ }
69
+ };
@@ -1,2 +1,51 @@
1
1
  import { MsgUpdateParams, MsgModuleQuerySafe } from "./tx";
2
2
  export const registry = [["/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams", MsgUpdateParams], ["/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe", MsgModuleQuerySafe]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ updateParams(value) {
11
+ return {
12
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
13
+ value: MsgUpdateParams.encode(value).finish()
14
+ };
15
+ },
16
+ moduleQuerySafe(value) {
17
+ return {
18
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
19
+ value: MsgModuleQuerySafe.encode(value).finish()
20
+ };
21
+ }
22
+ },
23
+ withTypeUrl: {
24
+ updateParams(value) {
25
+ return {
26
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
27
+ value
28
+ };
29
+ },
30
+ moduleQuerySafe(value) {
31
+ return {
32
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
33
+ value
34
+ };
35
+ }
36
+ },
37
+ fromPartial: {
38
+ updateParams(value) {
39
+ return {
40
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
41
+ value: MsgUpdateParams.fromPartial(value)
42
+ };
43
+ },
44
+ moduleQuerySafe(value) {
45
+ return {
46
+ typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
47
+ value: MsgModuleQuerySafe.fromPartial(value)
48
+ };
49
+ }
50
+ }
51
+ };
@@ -1,2 +1,51 @@
1
1
  import { MsgTransfer, MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer], ["/ibc.applications.transfer.v1.MsgUpdateParams", MsgUpdateParams]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ transfer(value) {
11
+ return {
12
+ typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
13
+ value: MsgTransfer.encode(value).finish()
14
+ };
15
+ },
16
+ updateParams(value) {
17
+ return {
18
+ typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
19
+ value: MsgUpdateParams.encode(value).finish()
20
+ };
21
+ }
22
+ },
23
+ withTypeUrl: {
24
+ transfer(value) {
25
+ return {
26
+ typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
27
+ value
28
+ };
29
+ },
30
+ updateParams(value) {
31
+ return {
32
+ typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
33
+ value
34
+ };
35
+ }
36
+ },
37
+ fromPartial: {
38
+ transfer(value) {
39
+ return {
40
+ typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
41
+ value: MsgTransfer.fromPartial(value)
42
+ };
43
+ },
44
+ updateParams(value) {
45
+ return {
46
+ typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
47
+ value: MsgUpdateParams.fromPartial(value)
48
+ };
49
+ }
50
+ }
51
+ };
package/esm/ibc/bundle.js CHANGED
@@ -48,54 +48,54 @@ import * as _169 from "./lightclients/wasm/v1/genesis";
48
48
  import * as _170 from "./lightclients/wasm/v1/query";
49
49
  import * as _171 from "./lightclients/wasm/v1/tx";
50
50
  import * as _172 from "./lightclients/wasm/v1/wasm";
51
- import * as _281 from "./applications/interchain_accounts/controller/v1/tx.amino";
52
- import * as _282 from "./applications/interchain_accounts/host/v1/tx.amino";
53
- import * as _283 from "./applications/transfer/v1/tx.amino";
54
- import * as _284 from "./core/channel/v1/tx.amino";
55
- import * as _285 from "./core/channel/v2/tx.amino";
56
- import * as _286 from "./core/client/v1/tx.amino";
57
- import * as _287 from "./core/client/v2/tx.amino";
58
- import * as _288 from "./core/connection/v1/tx.amino";
59
- import * as _289 from "./lightclients/wasm/v1/tx.amino";
60
- import * as _290 from "./applications/interchain_accounts/controller/v1/tx.registry";
61
- import * as _291 from "./applications/interchain_accounts/host/v1/tx.registry";
62
- import * as _292 from "./applications/transfer/v1/tx.registry";
63
- import * as _293 from "./core/channel/v1/tx.registry";
64
- import * as _294 from "./core/channel/v2/tx.registry";
65
- import * as _295 from "./core/client/v1/tx.registry";
66
- import * as _296 from "./core/client/v2/tx.registry";
67
- import * as _297 from "./core/connection/v1/tx.registry";
68
- import * as _298 from "./lightclients/wasm/v1/tx.registry";
69
- import * as _299 from "./applications/interchain_accounts/controller/v1/query.lcd";
70
- import * as _300 from "./applications/interchain_accounts/host/v1/query.lcd";
71
- import * as _301 from "./applications/transfer/v1/query.lcd";
72
- import * as _302 from "./core/channel/v1/query.lcd";
73
- import * as _303 from "./core/channel/v2/query.lcd";
74
- import * as _304 from "./core/client/v1/query.lcd";
75
- import * as _305 from "./core/client/v2/query.lcd";
76
- import * as _306 from "./core/connection/v1/query.lcd";
77
- import * as _307 from "./lightclients/wasm/v1/query.lcd";
78
- import * as _308 from "./applications/interchain_accounts/controller/v1/query.rpc.Query";
79
- import * as _309 from "./applications/interchain_accounts/host/v1/query.rpc.Query";
80
- import * as _310 from "./applications/transfer/v1/query.rpc.Query";
81
- import * as _311 from "./core/channel/v1/query.rpc.Query";
82
- import * as _312 from "./core/channel/v2/query.rpc.Query";
83
- import * as _313 from "./core/client/v1/query.rpc.Query";
84
- import * as _314 from "./core/client/v2/query.rpc.Query";
85
- import * as _315 from "./core/connection/v1/query.rpc.Query";
86
- import * as _316 from "./lightclients/wasm/v1/query.rpc.Query";
87
- import * as _317 from "./applications/interchain_accounts/controller/v1/tx.rpc.msg";
88
- import * as _318 from "./applications/interchain_accounts/host/v1/tx.rpc.msg";
89
- import * as _319 from "./applications/transfer/v1/tx.rpc.msg";
90
- import * as _320 from "./core/channel/v1/tx.rpc.msg";
91
- import * as _321 from "./core/channel/v2/tx.rpc.msg";
92
- import * as _322 from "./core/client/v1/tx.rpc.msg";
93
- import * as _323 from "./core/client/v2/tx.rpc.msg";
94
- import * as _324 from "./core/connection/v1/tx.rpc.msg";
95
- import * as _325 from "./lightclients/wasm/v1/tx.rpc.msg";
96
- import * as _339 from "./lcd";
97
- import * as _340 from "./rpc.query";
98
- import * as _341 from "./rpc.tx";
51
+ import * as _283 from "./applications/interchain_accounts/controller/v1/tx.amino";
52
+ import * as _284 from "./applications/interchain_accounts/host/v1/tx.amino";
53
+ import * as _285 from "./applications/transfer/v1/tx.amino";
54
+ import * as _286 from "./core/channel/v1/tx.amino";
55
+ import * as _287 from "./core/channel/v2/tx.amino";
56
+ import * as _288 from "./core/client/v1/tx.amino";
57
+ import * as _289 from "./core/client/v2/tx.amino";
58
+ import * as _290 from "./core/connection/v1/tx.amino";
59
+ import * as _291 from "./lightclients/wasm/v1/tx.amino";
60
+ import * as _292 from "./applications/interchain_accounts/controller/v1/tx.registry";
61
+ import * as _293 from "./applications/interchain_accounts/host/v1/tx.registry";
62
+ import * as _294 from "./applications/transfer/v1/tx.registry";
63
+ import * as _295 from "./core/channel/v1/tx.registry";
64
+ import * as _296 from "./core/channel/v2/tx.registry";
65
+ import * as _297 from "./core/client/v1/tx.registry";
66
+ import * as _298 from "./core/client/v2/tx.registry";
67
+ import * as _299 from "./core/connection/v1/tx.registry";
68
+ import * as _300 from "./lightclients/wasm/v1/tx.registry";
69
+ import * as _301 from "./applications/interchain_accounts/controller/v1/query.lcd";
70
+ import * as _302 from "./applications/interchain_accounts/host/v1/query.lcd";
71
+ import * as _303 from "./applications/transfer/v1/query.lcd";
72
+ import * as _304 from "./core/channel/v1/query.lcd";
73
+ import * as _305 from "./core/channel/v2/query.lcd";
74
+ import * as _306 from "./core/client/v1/query.lcd";
75
+ import * as _307 from "./core/client/v2/query.lcd";
76
+ import * as _308 from "./core/connection/v1/query.lcd";
77
+ import * as _309 from "./lightclients/wasm/v1/query.lcd";
78
+ import * as _310 from "./applications/interchain_accounts/controller/v1/query.rpc.Query";
79
+ import * as _311 from "./applications/interchain_accounts/host/v1/query.rpc.Query";
80
+ import * as _312 from "./applications/transfer/v1/query.rpc.Query";
81
+ import * as _313 from "./core/channel/v1/query.rpc.Query";
82
+ import * as _314 from "./core/channel/v2/query.rpc.Query";
83
+ import * as _315 from "./core/client/v1/query.rpc.Query";
84
+ import * as _316 from "./core/client/v2/query.rpc.Query";
85
+ import * as _317 from "./core/connection/v1/query.rpc.Query";
86
+ import * as _318 from "./lightclients/wasm/v1/query.rpc.Query";
87
+ import * as _319 from "./applications/interchain_accounts/controller/v1/tx.rpc.msg";
88
+ import * as _320 from "./applications/interchain_accounts/host/v1/tx.rpc.msg";
89
+ import * as _321 from "./applications/transfer/v1/tx.rpc.msg";
90
+ import * as _322 from "./core/channel/v1/tx.rpc.msg";
91
+ import * as _323 from "./core/channel/v2/tx.rpc.msg";
92
+ import * as _324 from "./core/client/v1/tx.rpc.msg";
93
+ import * as _325 from "./core/client/v2/tx.rpc.msg";
94
+ import * as _326 from "./core/connection/v1/tx.rpc.msg";
95
+ import * as _327 from "./lightclients/wasm/v1/tx.rpc.msg";
96
+ import * as _341 from "./lcd";
97
+ import * as _342 from "./rpc.query";
98
+ import * as _343 from "./rpc.tx";
99
99
  export var ibc;
100
100
  (function (ibc) {
101
101
  let applications;
@@ -108,11 +108,11 @@ export var ibc;
108
108
  ..._124,
109
109
  ..._125,
110
110
  ..._126,
111
- ..._281,
112
- ..._290,
113
- ..._299,
114
- ..._308,
115
- ..._317
111
+ ..._283,
112
+ ..._292,
113
+ ..._301,
114
+ ..._310,
115
+ ..._319
116
116
  };
117
117
  })(controller = interchain_accounts.controller || (interchain_accounts.controller = {}));
118
118
  let genesis;
@@ -127,11 +127,11 @@ export var ibc;
127
127
  ..._128,
128
128
  ..._129,
129
129
  ..._130,
130
- ..._282,
131
- ..._291,
132
- ..._300,
133
- ..._309,
134
- ..._318
130
+ ..._284,
131
+ ..._293,
132
+ ..._302,
133
+ ..._311,
134
+ ..._320
135
135
  };
136
136
  })(host = interchain_accounts.host || (interchain_accounts.host = {}));
137
137
  interchain_accounts.v1 = {
@@ -157,11 +157,11 @@ export var ibc;
157
157
  ..._140,
158
158
  ..._141,
159
159
  ..._142,
160
- ..._283,
161
- ..._292,
162
- ..._301,
163
- ..._310,
164
- ..._319
160
+ ..._285,
161
+ ..._294,
162
+ ..._303,
163
+ ..._312,
164
+ ..._321
165
165
  };
166
166
  })(transfer = applications.transfer || (applications.transfer = {}));
167
167
  })(applications = ibc.applications || (ibc.applications = {}));
@@ -174,22 +174,22 @@ export var ibc;
174
174
  ..._144,
175
175
  ..._145,
176
176
  ..._146,
177
- ..._284,
178
- ..._293,
179
- ..._302,
180
- ..._311,
181
- ..._320
177
+ ..._286,
178
+ ..._295,
179
+ ..._304,
180
+ ..._313,
181
+ ..._322
182
182
  };
183
183
  channel.v2 = {
184
184
  ..._147,
185
185
  ..._148,
186
186
  ..._149,
187
187
  ..._150,
188
- ..._285,
189
- ..._294,
190
- ..._303,
191
- ..._312,
192
- ..._321
188
+ ..._287,
189
+ ..._296,
190
+ ..._305,
191
+ ..._314,
192
+ ..._323
193
193
  };
194
194
  })(channel = core.channel || (core.channel = {}));
195
195
  let client;
@@ -199,11 +199,11 @@ export var ibc;
199
199
  ..._152,
200
200
  ..._153,
201
201
  ..._154,
202
- ..._286,
203
- ..._295,
204
- ..._304,
205
- ..._313,
206
- ..._322
202
+ ..._288,
203
+ ..._297,
204
+ ..._306,
205
+ ..._315,
206
+ ..._324
207
207
  };
208
208
  client.v2 = {
209
209
  ..._155,
@@ -211,11 +211,11 @@ export var ibc;
211
211
  ..._157,
212
212
  ..._158,
213
213
  ..._159,
214
- ..._287,
215
- ..._296,
216
- ..._305,
217
- ..._314,
218
- ..._323
214
+ ..._289,
215
+ ..._298,
216
+ ..._307,
217
+ ..._316,
218
+ ..._325
219
219
  };
220
220
  })(client = core.client || (core.client = {}));
221
221
  let commitment;
@@ -234,11 +234,11 @@ export var ibc;
234
234
  ..._163,
235
235
  ..._164,
236
236
  ..._165,
237
- ..._288,
238
- ..._297,
239
- ..._306,
240
- ..._315,
241
- ..._324
237
+ ..._290,
238
+ ..._299,
239
+ ..._308,
240
+ ..._317,
241
+ ..._326
242
242
  };
243
243
  })(connection = core.connection || (core.connection = {}));
244
244
  })(core = ibc.core || (ibc.core = {}));
@@ -266,17 +266,17 @@ export var ibc;
266
266
  ..._170,
267
267
  ..._171,
268
268
  ..._172,
269
- ..._289,
270
- ..._298,
271
- ..._307,
272
- ..._316,
273
- ..._325
269
+ ..._291,
270
+ ..._300,
271
+ ..._309,
272
+ ..._318,
273
+ ..._327
274
274
  };
275
275
  })(wasm = lightclients.wasm || (lightclients.wasm = {}));
276
276
  })(lightclients = ibc.lightclients || (ibc.lightclients = {}));
277
277
  ibc.ClientFactory = {
278
- ..._339,
279
- ..._340,
280
- ..._341
278
+ ..._341,
279
+ ..._342,
280
+ ..._343
281
281
  };
282
282
  })(ibc || (ibc = {}));
@@ -1,2 +1,195 @@
1
1
  import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx";
2
2
  export const registry = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ channelOpenInit(value) {
11
+ return {
12
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
13
+ value: MsgChannelOpenInit.encode(value).finish()
14
+ };
15
+ },
16
+ channelOpenTry(value) {
17
+ return {
18
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
19
+ value: MsgChannelOpenTry.encode(value).finish()
20
+ };
21
+ },
22
+ channelOpenAck(value) {
23
+ return {
24
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
25
+ value: MsgChannelOpenAck.encode(value).finish()
26
+ };
27
+ },
28
+ channelOpenConfirm(value) {
29
+ return {
30
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
31
+ value: MsgChannelOpenConfirm.encode(value).finish()
32
+ };
33
+ },
34
+ channelCloseInit(value) {
35
+ return {
36
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
37
+ value: MsgChannelCloseInit.encode(value).finish()
38
+ };
39
+ },
40
+ channelCloseConfirm(value) {
41
+ return {
42
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
43
+ value: MsgChannelCloseConfirm.encode(value).finish()
44
+ };
45
+ },
46
+ recvPacket(value) {
47
+ return {
48
+ typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
49
+ value: MsgRecvPacket.encode(value).finish()
50
+ };
51
+ },
52
+ timeout(value) {
53
+ return {
54
+ typeUrl: "/ibc.core.channel.v1.MsgTimeout",
55
+ value: MsgTimeout.encode(value).finish()
56
+ };
57
+ },
58
+ timeoutOnClose(value) {
59
+ return {
60
+ typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
61
+ value: MsgTimeoutOnClose.encode(value).finish()
62
+ };
63
+ },
64
+ acknowledgement(value) {
65
+ return {
66
+ typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
67
+ value: MsgAcknowledgement.encode(value).finish()
68
+ };
69
+ }
70
+ },
71
+ withTypeUrl: {
72
+ channelOpenInit(value) {
73
+ return {
74
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
75
+ value
76
+ };
77
+ },
78
+ channelOpenTry(value) {
79
+ return {
80
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
81
+ value
82
+ };
83
+ },
84
+ channelOpenAck(value) {
85
+ return {
86
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
87
+ value
88
+ };
89
+ },
90
+ channelOpenConfirm(value) {
91
+ return {
92
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
93
+ value
94
+ };
95
+ },
96
+ channelCloseInit(value) {
97
+ return {
98
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
99
+ value
100
+ };
101
+ },
102
+ channelCloseConfirm(value) {
103
+ return {
104
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
105
+ value
106
+ };
107
+ },
108
+ recvPacket(value) {
109
+ return {
110
+ typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
111
+ value
112
+ };
113
+ },
114
+ timeout(value) {
115
+ return {
116
+ typeUrl: "/ibc.core.channel.v1.MsgTimeout",
117
+ value
118
+ };
119
+ },
120
+ timeoutOnClose(value) {
121
+ return {
122
+ typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
123
+ value
124
+ };
125
+ },
126
+ acknowledgement(value) {
127
+ return {
128
+ typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
129
+ value
130
+ };
131
+ }
132
+ },
133
+ fromPartial: {
134
+ channelOpenInit(value) {
135
+ return {
136
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
137
+ value: MsgChannelOpenInit.fromPartial(value)
138
+ };
139
+ },
140
+ channelOpenTry(value) {
141
+ return {
142
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
143
+ value: MsgChannelOpenTry.fromPartial(value)
144
+ };
145
+ },
146
+ channelOpenAck(value) {
147
+ return {
148
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
149
+ value: MsgChannelOpenAck.fromPartial(value)
150
+ };
151
+ },
152
+ channelOpenConfirm(value) {
153
+ return {
154
+ typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
155
+ value: MsgChannelOpenConfirm.fromPartial(value)
156
+ };
157
+ },
158
+ channelCloseInit(value) {
159
+ return {
160
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
161
+ value: MsgChannelCloseInit.fromPartial(value)
162
+ };
163
+ },
164
+ channelCloseConfirm(value) {
165
+ return {
166
+ typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
167
+ value: MsgChannelCloseConfirm.fromPartial(value)
168
+ };
169
+ },
170
+ recvPacket(value) {
171
+ return {
172
+ typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
173
+ value: MsgRecvPacket.fromPartial(value)
174
+ };
175
+ },
176
+ timeout(value) {
177
+ return {
178
+ typeUrl: "/ibc.core.channel.v1.MsgTimeout",
179
+ value: MsgTimeout.fromPartial(value)
180
+ };
181
+ },
182
+ timeoutOnClose(value) {
183
+ return {
184
+ typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
185
+ value: MsgTimeoutOnClose.fromPartial(value)
186
+ };
187
+ },
188
+ acknowledgement(value) {
189
+ return {
190
+ typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
191
+ value: MsgAcknowledgement.fromPartial(value)
192
+ };
193
+ }
194
+ }
195
+ };