@bze/bzejs 0.0.10 → 0.0.11

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 (175) hide show
  1. package/package.json +1 -1
  2. package/types/codegen/amino/amino.d.ts +1 -0
  3. package/types/codegen/amino/bundle.d.ts +1 -0
  4. package/types/codegen/beezee/burner/query.d.ts +0 -1
  5. package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
  6. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
  7. package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
  8. package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
  9. package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
  10. package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
  11. package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
  12. package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
  13. package/types/codegen/bze/bundle.d.ts +247 -3513
  14. package/types/codegen/confio/proofs.d.ts +439 -0
  15. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
  16. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
  17. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
  18. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
  19. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
  20. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
  21. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
  22. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
  23. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
  24. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
  25. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
  26. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
  27. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
  28. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
  29. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  30. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
  31. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
  32. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
  33. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
  34. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
  35. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
  36. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
  37. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
  38. package/types/codegen/cosmos/bundle.d.ts +3223 -41279
  39. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
  40. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
  41. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
  42. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
  43. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
  44. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
  45. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
  46. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
  47. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
  48. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  49. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
  50. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
  51. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
  52. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
  53. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
  54. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
  55. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
  56. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
  57. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
  58. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
  59. package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
  60. package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
  61. package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
  62. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  63. package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
  64. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
  65. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
  66. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
  67. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  68. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  69. package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
  70. package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
  71. package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
  72. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
  73. package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
  74. package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
  75. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
  76. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
  77. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
  78. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
  79. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
  80. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
  81. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
  82. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
  83. package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
  84. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
  85. package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
  86. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
  87. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
  88. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
  89. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
  90. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
  91. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
  92. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
  93. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
  94. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  95. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
  96. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
  97. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
  98. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
  99. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
  100. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  101. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
  102. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
  103. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
  104. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
  105. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
  106. package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
  107. package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
  108. package/types/codegen/google/api/http.d.ts +0 -55
  109. package/types/codegen/google/bundle.d.ts +284 -7810
  110. package/types/codegen/google/protobuf/any.d.ts +0 -30
  111. package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
  112. package/types/codegen/google/protobuf/duration.d.ts +1 -14
  113. package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
  114. package/types/codegen/helpers.d.ts +2 -2
  115. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  116. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
  117. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  119. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
  120. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  121. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  124. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
  125. package/types/codegen/ibc/bundle.d.ts +4077 -0
  126. package/types/codegen/ibc/client.d.ts +560 -0
  127. package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
  128. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
  129. package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
  130. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  131. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  132. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  133. package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  136. package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
  137. package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
  138. package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
  139. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  140. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  141. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  142. package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
  143. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  144. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  145. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  146. package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
  147. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
  148. package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
  149. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  150. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  151. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  152. package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  155. package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
  156. package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
  157. package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
  158. package/types/codegen/ibc/lcd.d.ts +75 -0
  159. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
  161. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
  162. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
  163. package/types/codegen/ibc/rpc.query.d.ts +243 -0
  164. package/types/codegen/ibc/rpc.tx.d.ts +65 -0
  165. package/types/codegen/ics23/bundle.d.ts +545 -0
  166. package/types/codegen/index.d.ts +5 -2
  167. package/types/codegen/tendermint/abci/types.d.ts +8 -78
  168. package/types/codegen/tendermint/bundle.d.ts +567 -18175
  169. package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
  170. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  171. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  172. package/types/codegen/tendermint/types/params.d.ts +0 -32
  173. package/types/codegen/tendermint/types/types.d.ts +5 -36
  174. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  175. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -0,0 +1,132 @@
1
+ import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
+ import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, GeneratedType]>;
4
+ export declare const load: (protoRegistry: Registry) => void;
5
+ export declare const MessageComposer: {
6
+ encoded: {
7
+ channelOpenInit(value: MsgChannelOpenInit): {
8
+ typeUrl: string;
9
+ value: Uint8Array;
10
+ };
11
+ channelOpenTry(value: MsgChannelOpenTry): {
12
+ typeUrl: string;
13
+ value: Uint8Array;
14
+ };
15
+ channelOpenAck(value: MsgChannelOpenAck): {
16
+ typeUrl: string;
17
+ value: Uint8Array;
18
+ };
19
+ channelOpenConfirm(value: MsgChannelOpenConfirm): {
20
+ typeUrl: string;
21
+ value: Uint8Array;
22
+ };
23
+ channelCloseInit(value: MsgChannelCloseInit): {
24
+ typeUrl: string;
25
+ value: Uint8Array;
26
+ };
27
+ channelCloseConfirm(value: MsgChannelCloseConfirm): {
28
+ typeUrl: string;
29
+ value: Uint8Array;
30
+ };
31
+ recvPacket(value: MsgRecvPacket): {
32
+ typeUrl: string;
33
+ value: Uint8Array;
34
+ };
35
+ timeout(value: MsgTimeout): {
36
+ typeUrl: string;
37
+ value: Uint8Array;
38
+ };
39
+ timeoutOnClose(value: MsgTimeoutOnClose): {
40
+ typeUrl: string;
41
+ value: Uint8Array;
42
+ };
43
+ acknowledgement(value: MsgAcknowledgement): {
44
+ typeUrl: string;
45
+ value: Uint8Array;
46
+ };
47
+ };
48
+ withTypeUrl: {
49
+ channelOpenInit(value: MsgChannelOpenInit): {
50
+ typeUrl: string;
51
+ value: MsgChannelOpenInit;
52
+ };
53
+ channelOpenTry(value: MsgChannelOpenTry): {
54
+ typeUrl: string;
55
+ value: MsgChannelOpenTry;
56
+ };
57
+ channelOpenAck(value: MsgChannelOpenAck): {
58
+ typeUrl: string;
59
+ value: MsgChannelOpenAck;
60
+ };
61
+ channelOpenConfirm(value: MsgChannelOpenConfirm): {
62
+ typeUrl: string;
63
+ value: MsgChannelOpenConfirm;
64
+ };
65
+ channelCloseInit(value: MsgChannelCloseInit): {
66
+ typeUrl: string;
67
+ value: MsgChannelCloseInit;
68
+ };
69
+ channelCloseConfirm(value: MsgChannelCloseConfirm): {
70
+ typeUrl: string;
71
+ value: MsgChannelCloseConfirm;
72
+ };
73
+ recvPacket(value: MsgRecvPacket): {
74
+ typeUrl: string;
75
+ value: MsgRecvPacket;
76
+ };
77
+ timeout(value: MsgTimeout): {
78
+ typeUrl: string;
79
+ value: MsgTimeout;
80
+ };
81
+ timeoutOnClose(value: MsgTimeoutOnClose): {
82
+ typeUrl: string;
83
+ value: MsgTimeoutOnClose;
84
+ };
85
+ acknowledgement(value: MsgAcknowledgement): {
86
+ typeUrl: string;
87
+ value: MsgAcknowledgement;
88
+ };
89
+ };
90
+ fromPartial: {
91
+ channelOpenInit(value: MsgChannelOpenInit): {
92
+ typeUrl: string;
93
+ value: MsgChannelOpenInit;
94
+ };
95
+ channelOpenTry(value: MsgChannelOpenTry): {
96
+ typeUrl: string;
97
+ value: MsgChannelOpenTry;
98
+ };
99
+ channelOpenAck(value: MsgChannelOpenAck): {
100
+ typeUrl: string;
101
+ value: MsgChannelOpenAck;
102
+ };
103
+ channelOpenConfirm(value: MsgChannelOpenConfirm): {
104
+ typeUrl: string;
105
+ value: MsgChannelOpenConfirm;
106
+ };
107
+ channelCloseInit(value: MsgChannelCloseInit): {
108
+ typeUrl: string;
109
+ value: MsgChannelCloseInit;
110
+ };
111
+ channelCloseConfirm(value: MsgChannelCloseConfirm): {
112
+ typeUrl: string;
113
+ value: MsgChannelCloseConfirm;
114
+ };
115
+ recvPacket(value: MsgRecvPacket): {
116
+ typeUrl: string;
117
+ value: MsgRecvPacket;
118
+ };
119
+ timeout(value: MsgTimeout): {
120
+ typeUrl: string;
121
+ value: MsgTimeout;
122
+ };
123
+ timeoutOnClose(value: MsgTimeoutOnClose): {
124
+ typeUrl: string;
125
+ value: MsgTimeoutOnClose;
126
+ };
127
+ acknowledgement(value: MsgAcknowledgement): {
128
+ typeUrl: string;
129
+ value: MsgAcknowledgement;
130
+ };
131
+ };
132
+ };
@@ -0,0 +1,42 @@
1
+ import { Rpc } from "../../../../helpers";
2
+ import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx";
3
+ /** Msg defines the ibc/channel Msg service. */
4
+ export interface Msg {
5
+ /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */
6
+ channelOpenInit(request: MsgChannelOpenInit): Promise<MsgChannelOpenInitResponse>;
7
+ /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */
8
+ channelOpenTry(request: MsgChannelOpenTry): Promise<MsgChannelOpenTryResponse>;
9
+ /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */
10
+ channelOpenAck(request: MsgChannelOpenAck): Promise<MsgChannelOpenAckResponse>;
11
+ /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */
12
+ channelOpenConfirm(request: MsgChannelOpenConfirm): Promise<MsgChannelOpenConfirmResponse>;
13
+ /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */
14
+ channelCloseInit(request: MsgChannelCloseInit): Promise<MsgChannelCloseInitResponse>;
15
+ /**
16
+ * ChannelCloseConfirm defines a rpc handler method for
17
+ * MsgChannelCloseConfirm.
18
+ */
19
+ channelCloseConfirm(request: MsgChannelCloseConfirm): Promise<MsgChannelCloseConfirmResponse>;
20
+ /** RecvPacket defines a rpc handler method for MsgRecvPacket. */
21
+ recvPacket(request: MsgRecvPacket): Promise<MsgRecvPacketResponse>;
22
+ /** Timeout defines a rpc handler method for MsgTimeout. */
23
+ timeout(request: MsgTimeout): Promise<MsgTimeoutResponse>;
24
+ /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */
25
+ timeoutOnClose(request: MsgTimeoutOnClose): Promise<MsgTimeoutOnCloseResponse>;
26
+ /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */
27
+ acknowledgement(request: MsgAcknowledgement): Promise<MsgAcknowledgementResponse>;
28
+ }
29
+ export declare class MsgClientImpl implements Msg {
30
+ private readonly rpc;
31
+ constructor(rpc: Rpc);
32
+ channelOpenInit(request: MsgChannelOpenInit): Promise<MsgChannelOpenInitResponse>;
33
+ channelOpenTry(request: MsgChannelOpenTry): Promise<MsgChannelOpenTryResponse>;
34
+ channelOpenAck(request: MsgChannelOpenAck): Promise<MsgChannelOpenAckResponse>;
35
+ channelOpenConfirm(request: MsgChannelOpenConfirm): Promise<MsgChannelOpenConfirmResponse>;
36
+ channelCloseInit(request: MsgChannelCloseInit): Promise<MsgChannelCloseInitResponse>;
37
+ channelCloseConfirm(request: MsgChannelCloseConfirm): Promise<MsgChannelCloseConfirmResponse>;
38
+ recvPacket(request: MsgRecvPacket): Promise<MsgRecvPacketResponse>;
39
+ timeout(request: MsgTimeout): Promise<MsgTimeoutResponse>;
40
+ timeoutOnClose(request: MsgTimeoutOnClose): Promise<MsgTimeoutOnCloseResponse>;
41
+ acknowledgement(request: MsgAcknowledgement): Promise<MsgAcknowledgementResponse>;
42
+ }
@@ -0,0 +1,195 @@
1
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
2
+ import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "../../../../helpers";
5
+ /**
6
+ * IdentifiedClientState defines a client state with an additional client
7
+ * identifier field.
8
+ */
9
+ export interface IdentifiedClientState {
10
+ /** client identifier */
11
+ clientId: string;
12
+ /** client state */
13
+ clientState?: Any;
14
+ }
15
+ /**
16
+ * IdentifiedClientState defines a client state with an additional client
17
+ * identifier field.
18
+ */
19
+ export interface IdentifiedClientStateSDKType {
20
+ client_id: string;
21
+ client_state?: AnySDKType;
22
+ }
23
+ /**
24
+ * ConsensusStateWithHeight defines a consensus state with an additional height
25
+ * field.
26
+ */
27
+ export interface ConsensusStateWithHeight {
28
+ /** consensus state height */
29
+ height?: Height;
30
+ /** consensus state */
31
+ consensusState?: Any;
32
+ }
33
+ /**
34
+ * ConsensusStateWithHeight defines a consensus state with an additional height
35
+ * field.
36
+ */
37
+ export interface ConsensusStateWithHeightSDKType {
38
+ height?: HeightSDKType;
39
+ consensus_state?: AnySDKType;
40
+ }
41
+ /**
42
+ * ClientConsensusStates defines all the stored consensus states for a given
43
+ * client.
44
+ */
45
+ export interface ClientConsensusStates {
46
+ /** client identifier */
47
+ clientId: string;
48
+ /** consensus states and their heights associated with the client */
49
+ consensusStates: ConsensusStateWithHeight[];
50
+ }
51
+ /**
52
+ * ClientConsensusStates defines all the stored consensus states for a given
53
+ * client.
54
+ */
55
+ export interface ClientConsensusStatesSDKType {
56
+ client_id: string;
57
+ consensus_states: ConsensusStateWithHeightSDKType[];
58
+ }
59
+ /**
60
+ * ClientUpdateProposal is a governance proposal. If it passes, the substitute
61
+ * client's latest consensus state is copied over to the subject client. The proposal
62
+ * handler may fail if the subject and the substitute do not match in client and
63
+ * chain parameters (with exception to latest height, frozen height, and chain-id).
64
+ */
65
+ export interface ClientUpdateProposal {
66
+ /** the title of the update proposal */
67
+ title: string;
68
+ /** the description of the proposal */
69
+ description: string;
70
+ /** the client identifier for the client to be updated if the proposal passes */
71
+ subjectClientId: string;
72
+ /**
73
+ * the substitute client identifier for the client standing in for the subject
74
+ * client
75
+ */
76
+ substituteClientId: string;
77
+ }
78
+ /**
79
+ * ClientUpdateProposal is a governance proposal. If it passes, the substitute
80
+ * client's latest consensus state is copied over to the subject client. The proposal
81
+ * handler may fail if the subject and the substitute do not match in client and
82
+ * chain parameters (with exception to latest height, frozen height, and chain-id).
83
+ */
84
+ export interface ClientUpdateProposalSDKType {
85
+ title: string;
86
+ description: string;
87
+ subject_client_id: string;
88
+ substitute_client_id: string;
89
+ }
90
+ /**
91
+ * UpgradeProposal is a gov Content type for initiating an IBC breaking
92
+ * upgrade.
93
+ */
94
+ export interface UpgradeProposal {
95
+ title: string;
96
+ description: string;
97
+ plan?: Plan;
98
+ /**
99
+ * An UpgradedClientState must be provided to perform an IBC breaking upgrade.
100
+ * This will make the chain commit to the correct upgraded (self) client state
101
+ * before the upgrade occurs, so that connecting chains can verify that the
102
+ * new upgraded client is valid by verifying a proof on the previous version
103
+ * of the chain. This will allow IBC connections to persist smoothly across
104
+ * planned chain upgrades
105
+ */
106
+ upgradedClientState?: Any;
107
+ }
108
+ /**
109
+ * UpgradeProposal is a gov Content type for initiating an IBC breaking
110
+ * upgrade.
111
+ */
112
+ export interface UpgradeProposalSDKType {
113
+ title: string;
114
+ description: string;
115
+ plan?: PlanSDKType;
116
+ upgraded_client_state?: AnySDKType;
117
+ }
118
+ /**
119
+ * Height is a monotonically increasing data type
120
+ * that can be compared against another Height for the purposes of updating and
121
+ * freezing clients
122
+ *
123
+ * Normally the RevisionHeight is incremented at each height while keeping
124
+ * RevisionNumber the same. However some consensus algorithms may choose to
125
+ * reset the height in certain conditions e.g. hard forks, state-machine
126
+ * breaking changes In these cases, the RevisionNumber is incremented so that
127
+ * height continues to be monitonically increasing even as the RevisionHeight
128
+ * gets reset
129
+ */
130
+ export interface Height {
131
+ /** the revision that the client is currently on */
132
+ revisionNumber: Long;
133
+ /** the height within the given revision */
134
+ revisionHeight: Long;
135
+ }
136
+ /**
137
+ * Height is a monotonically increasing data type
138
+ * that can be compared against another Height for the purposes of updating and
139
+ * freezing clients
140
+ *
141
+ * Normally the RevisionHeight is incremented at each height while keeping
142
+ * RevisionNumber the same. However some consensus algorithms may choose to
143
+ * reset the height in certain conditions e.g. hard forks, state-machine
144
+ * breaking changes In these cases, the RevisionNumber is incremented so that
145
+ * height continues to be monitonically increasing even as the RevisionHeight
146
+ * gets reset
147
+ */
148
+ export interface HeightSDKType {
149
+ revision_number: Long;
150
+ revision_height: Long;
151
+ }
152
+ /** Params defines the set of IBC light client parameters. */
153
+ export interface Params {
154
+ /** allowed_clients defines the list of allowed client state types. */
155
+ allowedClients: string[];
156
+ }
157
+ /** Params defines the set of IBC light client parameters. */
158
+ export interface ParamsSDKType {
159
+ allowed_clients: string[];
160
+ }
161
+ export declare const IdentifiedClientState: {
162
+ encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer;
163
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState;
164
+ fromPartial(object: DeepPartial<IdentifiedClientState>): IdentifiedClientState;
165
+ };
166
+ export declare const ConsensusStateWithHeight: {
167
+ encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer;
168
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight;
169
+ fromPartial(object: DeepPartial<ConsensusStateWithHeight>): ConsensusStateWithHeight;
170
+ };
171
+ export declare const ClientConsensusStates: {
172
+ encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer;
173
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates;
174
+ fromPartial(object: DeepPartial<ClientConsensusStates>): ClientConsensusStates;
175
+ };
176
+ export declare const ClientUpdateProposal: {
177
+ encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer;
178
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal;
179
+ fromPartial(object: DeepPartial<ClientUpdateProposal>): ClientUpdateProposal;
180
+ };
181
+ export declare const UpgradeProposal: {
182
+ encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer;
183
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal;
184
+ fromPartial(object: DeepPartial<UpgradeProposal>): UpgradeProposal;
185
+ };
186
+ export declare const Height: {
187
+ encode(message: Height, writer?: _m0.Writer): _m0.Writer;
188
+ decode(input: _m0.Reader | Uint8Array, length?: number): Height;
189
+ fromPartial(object: DeepPartial<Height>): Height;
190
+ };
191
+ export declare const Params: {
192
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
193
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
194
+ fromPartial(object: DeepPartial<Params>): Params;
195
+ };
@@ -0,0 +1,75 @@
1
+ import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client";
2
+ import { Long, DeepPartial } from "../../../../helpers";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ /** GenesisState defines the ibc client submodule's genesis state. */
5
+ export interface GenesisState {
6
+ /** client states with their corresponding identifiers */
7
+ clients: IdentifiedClientState[];
8
+ /** consensus states from each client */
9
+ clientsConsensus: ClientConsensusStates[];
10
+ /** metadata from each client */
11
+ clientsMetadata: IdentifiedGenesisMetadata[];
12
+ params?: Params;
13
+ /** create localhost on initialization */
14
+ createLocalhost: boolean;
15
+ /** the sequence for the next generated client identifier */
16
+ nextClientSequence: Long;
17
+ }
18
+ /** GenesisState defines the ibc client submodule's genesis state. */
19
+ export interface GenesisStateSDKType {
20
+ clients: IdentifiedClientStateSDKType[];
21
+ clients_consensus: ClientConsensusStatesSDKType[];
22
+ clients_metadata: IdentifiedGenesisMetadataSDKType[];
23
+ params?: ParamsSDKType;
24
+ create_localhost: boolean;
25
+ next_client_sequence: Long;
26
+ }
27
+ /**
28
+ * GenesisMetadata defines the genesis type for metadata that clients may return
29
+ * with ExportMetadata
30
+ */
31
+ export interface GenesisMetadata {
32
+ /** store key of metadata without clientID-prefix */
33
+ key: Uint8Array;
34
+ /** metadata value */
35
+ value: Uint8Array;
36
+ }
37
+ /**
38
+ * GenesisMetadata defines the genesis type for metadata that clients may return
39
+ * with ExportMetadata
40
+ */
41
+ export interface GenesisMetadataSDKType {
42
+ key: Uint8Array;
43
+ value: Uint8Array;
44
+ }
45
+ /**
46
+ * IdentifiedGenesisMetadata has the client metadata with the corresponding
47
+ * client id.
48
+ */
49
+ export interface IdentifiedGenesisMetadata {
50
+ clientId: string;
51
+ clientMetadata: GenesisMetadata[];
52
+ }
53
+ /**
54
+ * IdentifiedGenesisMetadata has the client metadata with the corresponding
55
+ * client id.
56
+ */
57
+ export interface IdentifiedGenesisMetadataSDKType {
58
+ client_id: string;
59
+ client_metadata: GenesisMetadataSDKType[];
60
+ }
61
+ export declare const GenesisState: {
62
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
63
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
64
+ fromPartial(object: DeepPartial<GenesisState>): GenesisState;
65
+ };
66
+ export declare const GenesisMetadata: {
67
+ encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer;
68
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata;
69
+ fromPartial(object: DeepPartial<GenesisMetadata>): GenesisMetadata;
70
+ };
71
+ export declare const IdentifiedGenesisMetadata: {
72
+ encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer;
73
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata;
74
+ fromPartial(object: DeepPartial<IdentifiedGenesisMetadata>): IdentifiedGenesisMetadata;
75
+ };