@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/auth/v1beta1/tx.registry.js +33 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +69 -1
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +87 -1
- package/cosmos/benchmark/v1/tx.registry.d.ts +23 -0
- package/cosmos/benchmark/v1/tx.registry.js +33 -1
- package/cosmos/bundle.d.ts +957 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
- package/cosmos/circuit/v1/tx.registry.js +69 -1
- package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
- package/cosmos/consensus/v1/tx.registry.js +33 -1
- package/cosmos/counter/v1/tx.registry.d.ts +23 -0
- package/cosmos/counter/v1/tx.registry.js +33 -1
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +141 -1
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +87 -1
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +267 -1
- package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/mint/v1beta1/tx.registry.js +33 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
- package/cosmos/protocolpool/v1/tx.registry.js +105 -1
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +141 -1
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
- package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
- package/esm/cosmos/counter/v1/tx.registry.js +31 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/gov/v1/tx.registry.js +139 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/group/v1/tx.registry.js +265 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
- package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
- package/esm/ibc/core/client/v1/tx.registry.js +157 -0
- package/esm/ibc/core/client/v2/tx.registry.js +49 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
- package/esm/sparkdream/blog/tx.registry.js +85 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +31 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +51 -1
- package/ibc/bundle.d.ts +549 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
- package/ibc/core/channel/v1/tx.registry.js +195 -1
- package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
- package/ibc/core/channel/v2/tx.registry.js +87 -1
- package/ibc/core/client/v1/tx.registry.d.ts +107 -0
- package/ibc/core/client/v1/tx.registry.js +159 -1
- package/ibc/core/client/v2/tx.registry.d.ts +35 -0
- package/ibc/core/client/v2/tx.registry.js +51 -1
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +105 -1
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
- package/package.json +1 -1
- package/sparkdream/blog/tx.registry.d.ts +59 -0
- package/sparkdream/blog/tx.registry.js +87 -1
- package/sparkdream/bundle.d.ts +78 -0
- package/sparkdream/sparkdream/tx.registry.d.ts +23 -0
- package/sparkdream/sparkdream/tx.registry.js +33 -1
|
@@ -1,2 +1,133 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
channelOpenInit(value: MsgChannelOpenInit): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
channelOpenTry(value: MsgChannelOpenTry): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
channelOpenAck(value: MsgChannelOpenAck): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
channelOpenConfirm(value: MsgChannelOpenConfirm): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
channelCloseInit(value: MsgChannelCloseInit): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
+
};
|
|
28
|
+
channelCloseConfirm(value: MsgChannelCloseConfirm): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
31
|
+
};
|
|
32
|
+
recvPacket(value: MsgRecvPacket): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
35
|
+
};
|
|
36
|
+
timeout(value: MsgTimeout): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
39
|
+
};
|
|
40
|
+
timeoutOnClose(value: MsgTimeoutOnClose): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
43
|
+
};
|
|
44
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
withTypeUrl: {
|
|
50
|
+
channelOpenInit(value: MsgChannelOpenInit): {
|
|
51
|
+
typeUrl: string;
|
|
52
|
+
value: MsgChannelOpenInit;
|
|
53
|
+
};
|
|
54
|
+
channelOpenTry(value: MsgChannelOpenTry): {
|
|
55
|
+
typeUrl: string;
|
|
56
|
+
value: MsgChannelOpenTry;
|
|
57
|
+
};
|
|
58
|
+
channelOpenAck(value: MsgChannelOpenAck): {
|
|
59
|
+
typeUrl: string;
|
|
60
|
+
value: MsgChannelOpenAck;
|
|
61
|
+
};
|
|
62
|
+
channelOpenConfirm(value: MsgChannelOpenConfirm): {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
value: MsgChannelOpenConfirm;
|
|
65
|
+
};
|
|
66
|
+
channelCloseInit(value: MsgChannelCloseInit): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: MsgChannelCloseInit;
|
|
69
|
+
};
|
|
70
|
+
channelCloseConfirm(value: MsgChannelCloseConfirm): {
|
|
71
|
+
typeUrl: string;
|
|
72
|
+
value: MsgChannelCloseConfirm;
|
|
73
|
+
};
|
|
74
|
+
recvPacket(value: MsgRecvPacket): {
|
|
75
|
+
typeUrl: string;
|
|
76
|
+
value: MsgRecvPacket;
|
|
77
|
+
};
|
|
78
|
+
timeout(value: MsgTimeout): {
|
|
79
|
+
typeUrl: string;
|
|
80
|
+
value: MsgTimeout;
|
|
81
|
+
};
|
|
82
|
+
timeoutOnClose(value: MsgTimeoutOnClose): {
|
|
83
|
+
typeUrl: string;
|
|
84
|
+
value: MsgTimeoutOnClose;
|
|
85
|
+
};
|
|
86
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
87
|
+
typeUrl: string;
|
|
88
|
+
value: MsgAcknowledgement;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
fromPartial: {
|
|
92
|
+
channelOpenInit(value: MsgChannelOpenInit): {
|
|
93
|
+
typeUrl: string;
|
|
94
|
+
value: MsgChannelOpenInit;
|
|
95
|
+
};
|
|
96
|
+
channelOpenTry(value: MsgChannelOpenTry): {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
value: MsgChannelOpenTry;
|
|
99
|
+
};
|
|
100
|
+
channelOpenAck(value: MsgChannelOpenAck): {
|
|
101
|
+
typeUrl: string;
|
|
102
|
+
value: MsgChannelOpenAck;
|
|
103
|
+
};
|
|
104
|
+
channelOpenConfirm(value: MsgChannelOpenConfirm): {
|
|
105
|
+
typeUrl: string;
|
|
106
|
+
value: MsgChannelOpenConfirm;
|
|
107
|
+
};
|
|
108
|
+
channelCloseInit(value: MsgChannelCloseInit): {
|
|
109
|
+
typeUrl: string;
|
|
110
|
+
value: MsgChannelCloseInit;
|
|
111
|
+
};
|
|
112
|
+
channelCloseConfirm(value: MsgChannelCloseConfirm): {
|
|
113
|
+
typeUrl: string;
|
|
114
|
+
value: MsgChannelCloseConfirm;
|
|
115
|
+
};
|
|
116
|
+
recvPacket(value: MsgRecvPacket): {
|
|
117
|
+
typeUrl: string;
|
|
118
|
+
value: MsgRecvPacket;
|
|
119
|
+
};
|
|
120
|
+
timeout(value: MsgTimeout): {
|
|
121
|
+
typeUrl: string;
|
|
122
|
+
value: MsgTimeout;
|
|
123
|
+
};
|
|
124
|
+
timeoutOnClose(value: MsgTimeoutOnClose): {
|
|
125
|
+
typeUrl: string;
|
|
126
|
+
value: MsgTimeoutOnClose;
|
|
127
|
+
};
|
|
128
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
129
|
+
typeUrl: string;
|
|
130
|
+
value: MsgAcknowledgement;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
@@ -1,5 +1,199 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/ibc.core.channel.v1.MsgChannelOpenInit", tx_1.MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", tx_1.MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", tx_1.MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", tx_1.MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", tx_1.MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", tx_1.MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", tx_1.MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", tx_1.MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", tx_1.MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", tx_1.MsgAcknowledgement]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
channelOpenInit(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
17
|
+
value: tx_1.MsgChannelOpenInit.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
channelOpenTry(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
23
|
+
value: tx_1.MsgChannelOpenTry.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
channelOpenAck(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
29
|
+
value: tx_1.MsgChannelOpenAck.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
channelOpenConfirm(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
35
|
+
value: tx_1.MsgChannelOpenConfirm.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
channelCloseInit(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
41
|
+
value: tx_1.MsgChannelCloseInit.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
channelCloseConfirm(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
47
|
+
value: tx_1.MsgChannelCloseConfirm.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
recvPacket(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
53
|
+
value: tx_1.MsgRecvPacket.encode(value).finish()
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
timeout(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
59
|
+
value: tx_1.MsgTimeout.encode(value).finish()
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
timeoutOnClose(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
65
|
+
value: tx_1.MsgTimeoutOnClose.encode(value).finish()
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
acknowledgement(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
71
|
+
value: tx_1.MsgAcknowledgement.encode(value).finish()
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
withTypeUrl: {
|
|
76
|
+
channelOpenInit(value) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
79
|
+
value
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
channelOpenTry(value) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
85
|
+
value
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
channelOpenAck(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
91
|
+
value
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
channelOpenConfirm(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
97
|
+
value
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
channelCloseInit(value) {
|
|
101
|
+
return {
|
|
102
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
103
|
+
value
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
channelCloseConfirm(value) {
|
|
107
|
+
return {
|
|
108
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
109
|
+
value
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
recvPacket(value) {
|
|
113
|
+
return {
|
|
114
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
115
|
+
value
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
timeout(value) {
|
|
119
|
+
return {
|
|
120
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
121
|
+
value
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
timeoutOnClose(value) {
|
|
125
|
+
return {
|
|
126
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
127
|
+
value
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
acknowledgement(value) {
|
|
131
|
+
return {
|
|
132
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
133
|
+
value
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
fromPartial: {
|
|
138
|
+
channelOpenInit(value) {
|
|
139
|
+
return {
|
|
140
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
141
|
+
value: tx_1.MsgChannelOpenInit.fromPartial(value)
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
channelOpenTry(value) {
|
|
145
|
+
return {
|
|
146
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
147
|
+
value: tx_1.MsgChannelOpenTry.fromPartial(value)
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
channelOpenAck(value) {
|
|
151
|
+
return {
|
|
152
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
153
|
+
value: tx_1.MsgChannelOpenAck.fromPartial(value)
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
channelOpenConfirm(value) {
|
|
157
|
+
return {
|
|
158
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
159
|
+
value: tx_1.MsgChannelOpenConfirm.fromPartial(value)
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
channelCloseInit(value) {
|
|
163
|
+
return {
|
|
164
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
165
|
+
value: tx_1.MsgChannelCloseInit.fromPartial(value)
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
channelCloseConfirm(value) {
|
|
169
|
+
return {
|
|
170
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
171
|
+
value: tx_1.MsgChannelCloseConfirm.fromPartial(value)
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
recvPacket(value) {
|
|
175
|
+
return {
|
|
176
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
177
|
+
value: tx_1.MsgRecvPacket.fromPartial(value)
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
timeout(value) {
|
|
181
|
+
return {
|
|
182
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
183
|
+
value: tx_1.MsgTimeout.fromPartial(value)
|
|
184
|
+
};
|
|
185
|
+
},
|
|
186
|
+
timeoutOnClose(value) {
|
|
187
|
+
return {
|
|
188
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
189
|
+
value: tx_1.MsgTimeoutOnClose.fromPartial(value)
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
acknowledgement(value) {
|
|
193
|
+
return {
|
|
194
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
195
|
+
value: tx_1.MsgAcknowledgement.fromPartial(value)
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
@@ -1,2 +1,61 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgSendPacket, MsgRecvPacket, MsgTimeout, MsgAcknowledgement } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
sendPacket(value: MsgSendPacket): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
recvPacket(value: MsgRecvPacket): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
timeout(value: MsgTimeout): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
withTypeUrl: {
|
|
26
|
+
sendPacket(value: MsgSendPacket): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgSendPacket;
|
|
29
|
+
};
|
|
30
|
+
recvPacket(value: MsgRecvPacket): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgRecvPacket;
|
|
33
|
+
};
|
|
34
|
+
timeout(value: MsgTimeout): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: MsgTimeout;
|
|
37
|
+
};
|
|
38
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgAcknowledgement;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
fromPartial: {
|
|
44
|
+
sendPacket(value: MsgSendPacket): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgSendPacket;
|
|
47
|
+
};
|
|
48
|
+
recvPacket(value: MsgRecvPacket): {
|
|
49
|
+
typeUrl: string;
|
|
50
|
+
value: MsgRecvPacket;
|
|
51
|
+
};
|
|
52
|
+
timeout(value: MsgTimeout): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgTimeout;
|
|
55
|
+
};
|
|
56
|
+
acknowledgement(value: MsgAcknowledgement): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgAcknowledgement;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/ibc.core.channel.v2.MsgSendPacket", tx_1.MsgSendPacket], ["/ibc.core.channel.v2.MsgRecvPacket", tx_1.MsgRecvPacket], ["/ibc.core.channel.v2.MsgTimeout", tx_1.MsgTimeout], ["/ibc.core.channel.v2.MsgAcknowledgement", tx_1.MsgAcknowledgement]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
sendPacket(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
17
|
+
value: tx_1.MsgSendPacket.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
recvPacket(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
23
|
+
value: tx_1.MsgRecvPacket.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
timeout(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
29
|
+
value: tx_1.MsgTimeout.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
acknowledgement(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
35
|
+
value: tx_1.MsgAcknowledgement.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
withTypeUrl: {
|
|
40
|
+
sendPacket(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
recvPacket(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
timeout(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
55
|
+
value
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
acknowledgement(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
fromPartial: {
|
|
66
|
+
sendPacket(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
69
|
+
value: tx_1.MsgSendPacket.fromPartial(value)
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
recvPacket(value) {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
75
|
+
value: tx_1.MsgRecvPacket.fromPartial(value)
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
timeout(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
81
|
+
value: tx_1.MsgTimeout.fromPartial(value)
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
acknowledgement(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
87
|
+
value: tx_1.MsgAcknowledgement.fromPartial(value)
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
@@ -1,2 +1,109 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour, MsgRecoverClient, MsgIBCSoftwareUpgrade, MsgUpdateParams, MsgDeleteClientCreator } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
createClient(value: MsgCreateClient): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
updateClient(value: MsgUpdateClient): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
upgradeClient(value: MsgUpgradeClient): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
recoverClient(value: MsgRecoverClient): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
+
};
|
|
28
|
+
iBCSoftwareUpgrade(value: MsgIBCSoftwareUpgrade): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
31
|
+
};
|
|
32
|
+
updateClientParams(value: MsgUpdateParams): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
35
|
+
};
|
|
36
|
+
deleteClientCreator(value: MsgDeleteClientCreator): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
withTypeUrl: {
|
|
42
|
+
createClient(value: MsgCreateClient): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgCreateClient;
|
|
45
|
+
};
|
|
46
|
+
updateClient(value: MsgUpdateClient): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: MsgUpdateClient;
|
|
49
|
+
};
|
|
50
|
+
upgradeClient(value: MsgUpgradeClient): {
|
|
51
|
+
typeUrl: string;
|
|
52
|
+
value: MsgUpgradeClient;
|
|
53
|
+
};
|
|
54
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
|
55
|
+
typeUrl: string;
|
|
56
|
+
value: MsgSubmitMisbehaviour;
|
|
57
|
+
};
|
|
58
|
+
recoverClient(value: MsgRecoverClient): {
|
|
59
|
+
typeUrl: string;
|
|
60
|
+
value: MsgRecoverClient;
|
|
61
|
+
};
|
|
62
|
+
iBCSoftwareUpgrade(value: MsgIBCSoftwareUpgrade): {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
value: MsgIBCSoftwareUpgrade;
|
|
65
|
+
};
|
|
66
|
+
updateClientParams(value: MsgUpdateParams): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: MsgUpdateParams;
|
|
69
|
+
};
|
|
70
|
+
deleteClientCreator(value: MsgDeleteClientCreator): {
|
|
71
|
+
typeUrl: string;
|
|
72
|
+
value: MsgDeleteClientCreator;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
fromPartial: {
|
|
76
|
+
createClient(value: MsgCreateClient): {
|
|
77
|
+
typeUrl: string;
|
|
78
|
+
value: MsgCreateClient;
|
|
79
|
+
};
|
|
80
|
+
updateClient(value: MsgUpdateClient): {
|
|
81
|
+
typeUrl: string;
|
|
82
|
+
value: MsgUpdateClient;
|
|
83
|
+
};
|
|
84
|
+
upgradeClient(value: MsgUpgradeClient): {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
value: MsgUpgradeClient;
|
|
87
|
+
};
|
|
88
|
+
submitMisbehaviour(value: MsgSubmitMisbehaviour): {
|
|
89
|
+
typeUrl: string;
|
|
90
|
+
value: MsgSubmitMisbehaviour;
|
|
91
|
+
};
|
|
92
|
+
recoverClient(value: MsgRecoverClient): {
|
|
93
|
+
typeUrl: string;
|
|
94
|
+
value: MsgRecoverClient;
|
|
95
|
+
};
|
|
96
|
+
iBCSoftwareUpgrade(value: MsgIBCSoftwareUpgrade): {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
value: MsgIBCSoftwareUpgrade;
|
|
99
|
+
};
|
|
100
|
+
updateClientParams(value: MsgUpdateParams): {
|
|
101
|
+
typeUrl: string;
|
|
102
|
+
value: MsgUpdateParams;
|
|
103
|
+
};
|
|
104
|
+
deleteClientCreator(value: MsgDeleteClientCreator): {
|
|
105
|
+
typeUrl: string;
|
|
106
|
+
value: MsgDeleteClientCreator;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|