@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,5 +1,163 @@
|
|
|
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.client.v1.MsgCreateClient", tx_1.MsgCreateClient], ["/ibc.core.client.v1.MsgUpdateClient", tx_1.MsgUpdateClient], ["/ibc.core.client.v1.MsgUpgradeClient", tx_1.MsgUpgradeClient], ["/ibc.core.client.v1.MsgSubmitMisbehaviour", tx_1.MsgSubmitMisbehaviour], ["/ibc.core.client.v1.MsgRecoverClient", tx_1.MsgRecoverClient], ["/ibc.core.client.v1.MsgIBCSoftwareUpgrade", tx_1.MsgIBCSoftwareUpgrade], ["/ibc.core.client.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/ibc.core.client.v1.MsgDeleteClientCreator", tx_1.MsgDeleteClientCreator]];
|
|
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
|
+
createClient(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
17
|
+
value: tx_1.MsgCreateClient.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
updateClient(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
23
|
+
value: tx_1.MsgUpdateClient.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
upgradeClient(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
29
|
+
value: tx_1.MsgUpgradeClient.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
submitMisbehaviour(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
35
|
+
value: tx_1.MsgSubmitMisbehaviour.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
recoverClient(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
41
|
+
value: tx_1.MsgRecoverClient.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
iBCSoftwareUpgrade(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
47
|
+
value: tx_1.MsgIBCSoftwareUpgrade.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
updateClientParams(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
53
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
deleteClientCreator(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
59
|
+
value: tx_1.MsgDeleteClientCreator.encode(value).finish()
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
withTypeUrl: {
|
|
64
|
+
createClient(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
updateClient(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
upgradeClient(value) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
79
|
+
value
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
submitMisbehaviour(value) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
85
|
+
value
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
recoverClient(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
91
|
+
value
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
iBCSoftwareUpgrade(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
97
|
+
value
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
updateClientParams(value) {
|
|
101
|
+
return {
|
|
102
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
103
|
+
value
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
deleteClientCreator(value) {
|
|
107
|
+
return {
|
|
108
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
109
|
+
value
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
fromPartial: {
|
|
114
|
+
createClient(value) {
|
|
115
|
+
return {
|
|
116
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
117
|
+
value: tx_1.MsgCreateClient.fromPartial(value)
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
updateClient(value) {
|
|
121
|
+
return {
|
|
122
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
123
|
+
value: tx_1.MsgUpdateClient.fromPartial(value)
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
upgradeClient(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
129
|
+
value: tx_1.MsgUpgradeClient.fromPartial(value)
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
submitMisbehaviour(value) {
|
|
133
|
+
return {
|
|
134
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
135
|
+
value: tx_1.MsgSubmitMisbehaviour.fromPartial(value)
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
recoverClient(value) {
|
|
139
|
+
return {
|
|
140
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
141
|
+
value: tx_1.MsgRecoverClient.fromPartial(value)
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
iBCSoftwareUpgrade(value) {
|
|
145
|
+
return {
|
|
146
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
147
|
+
value: tx_1.MsgIBCSoftwareUpgrade.fromPartial(value)
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
updateClientParams(value) {
|
|
151
|
+
return {
|
|
152
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
153
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
deleteClientCreator(value) {
|
|
157
|
+
return {
|
|
158
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
159
|
+
value: tx_1.MsgDeleteClientCreator.fromPartial(value)
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
};
|
|
@@ -1,2 +1,37 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgRegisterCounterparty, MsgUpdateClientConfig } 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
|
+
registerCounterparty(value: MsgRegisterCounterparty): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
updateClientConfig(value: MsgUpdateClientConfig): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
withTypeUrl: {
|
|
18
|
+
registerCounterparty(value: MsgRegisterCounterparty): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: MsgRegisterCounterparty;
|
|
21
|
+
};
|
|
22
|
+
updateClientConfig(value: MsgUpdateClientConfig): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgUpdateClientConfig;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
fromPartial: {
|
|
28
|
+
registerCounterparty(value: MsgRegisterCounterparty): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgRegisterCounterparty;
|
|
31
|
+
};
|
|
32
|
+
updateClientConfig(value: MsgUpdateClientConfig): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: MsgUpdateClientConfig;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -1,5 +1,55 @@
|
|
|
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.client.v2.MsgRegisterCounterparty", tx_1.MsgRegisterCounterparty], ["/ibc.core.client.v2.MsgUpdateClientConfig", tx_1.MsgUpdateClientConfig]];
|
|
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
|
+
registerCounterparty(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
17
|
+
value: tx_1.MsgRegisterCounterparty.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
updateClientConfig(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
23
|
+
value: tx_1.MsgUpdateClientConfig.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
withTypeUrl: {
|
|
28
|
+
registerCounterparty(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
31
|
+
value
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
updateClientConfig(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fromPartial: {
|
|
42
|
+
registerCounterparty(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
45
|
+
value: tx_1.MsgRegisterCounterparty.fromPartial(value)
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
updateClientConfig(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
51
|
+
value: tx_1.MsgUpdateClientConfig.fromPartial(value)
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
@@ -1,2 +1,73 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm, MsgUpdateParams } 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
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
updateConnectionParams(value: MsgUpdateParams): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgConnectionOpenInit;
|
|
33
|
+
};
|
|
34
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: MsgConnectionOpenTry;
|
|
37
|
+
};
|
|
38
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgConnectionOpenAck;
|
|
41
|
+
};
|
|
42
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgConnectionOpenConfirm;
|
|
45
|
+
};
|
|
46
|
+
updateConnectionParams(value: MsgUpdateParams): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: MsgUpdateParams;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
fromPartial: {
|
|
52
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgConnectionOpenInit;
|
|
55
|
+
};
|
|
56
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgConnectionOpenTry;
|
|
59
|
+
};
|
|
60
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
61
|
+
typeUrl: string;
|
|
62
|
+
value: MsgConnectionOpenAck;
|
|
63
|
+
};
|
|
64
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: MsgConnectionOpenConfirm;
|
|
67
|
+
};
|
|
68
|
+
updateConnectionParams(value: MsgUpdateParams): {
|
|
69
|
+
typeUrl: string;
|
|
70
|
+
value: MsgUpdateParams;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,5 +1,109 @@
|
|
|
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.connection.v1.MsgConnectionOpenInit", tx_1.MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", tx_1.MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", tx_1.MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", tx_1.MsgConnectionOpenConfirm], ["/ibc.core.connection.v1.MsgUpdateParams", tx_1.MsgUpdateParams]];
|
|
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
|
+
connectionOpenInit(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
17
|
+
value: tx_1.MsgConnectionOpenInit.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
connectionOpenTry(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
23
|
+
value: tx_1.MsgConnectionOpenTry.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
connectionOpenAck(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
29
|
+
value: tx_1.MsgConnectionOpenAck.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
connectionOpenConfirm(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
35
|
+
value: tx_1.MsgConnectionOpenConfirm.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
updateConnectionParams(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
41
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
withTypeUrl: {
|
|
46
|
+
connectionOpenInit(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
connectionOpenTry(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
55
|
+
value
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
connectionOpenAck(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
connectionOpenConfirm(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
updateConnectionParams(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
fromPartial: {
|
|
78
|
+
connectionOpenInit(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
81
|
+
value: tx_1.MsgConnectionOpenInit.fromPartial(value)
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
connectionOpenTry(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
87
|
+
value: tx_1.MsgConnectionOpenTry.fromPartial(value)
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
connectionOpenAck(value) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
93
|
+
value: tx_1.MsgConnectionOpenAck.fromPartial(value)
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
connectionOpenConfirm(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
99
|
+
value: tx_1.MsgConnectionOpenConfirm.fromPartial(value)
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
updateConnectionParams(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
105
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
};
|
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgStoreCode, MsgRemoveChecksum, MsgMigrateContract } 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
|
+
storeCode(value: MsgStoreCode): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
removeChecksum(value: MsgRemoveChecksum): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
migrateContract(value: MsgMigrateContract): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
storeCode(value: MsgStoreCode): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgStoreCode;
|
|
25
|
+
};
|
|
26
|
+
removeChecksum(value: MsgRemoveChecksum): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgRemoveChecksum;
|
|
29
|
+
};
|
|
30
|
+
migrateContract(value: MsgMigrateContract): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgMigrateContract;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
fromPartial: {
|
|
36
|
+
storeCode(value: MsgStoreCode): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgStoreCode;
|
|
39
|
+
};
|
|
40
|
+
removeChecksum(value: MsgRemoveChecksum): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgRemoveChecksum;
|
|
43
|
+
};
|
|
44
|
+
migrateContract(value: MsgMigrateContract): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgMigrateContract;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,5 +1,73 @@
|
|
|
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.lightclients.wasm.v1.MsgStoreCode", tx_1.MsgStoreCode], ["/ibc.lightclients.wasm.v1.MsgRemoveChecksum", tx_1.MsgRemoveChecksum], ["/ibc.lightclients.wasm.v1.MsgMigrateContract", tx_1.MsgMigrateContract]];
|
|
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
|
+
storeCode(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
17
|
+
value: tx_1.MsgStoreCode.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
removeChecksum(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
23
|
+
value: tx_1.MsgRemoveChecksum.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
migrateContract(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
29
|
+
value: tx_1.MsgMigrateContract.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
withTypeUrl: {
|
|
34
|
+
storeCode(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
removeChecksum(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
migrateContract(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
fromPartial: {
|
|
54
|
+
storeCode(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
57
|
+
value: tx_1.MsgStoreCode.fromPartial(value)
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
removeChecksum(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
63
|
+
value: tx_1.MsgRemoveChecksum.fromPartial(value)
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
migrateContract(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
69
|
+
value: tx_1.MsgMigrateContract.fromPartial(value)
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
package/package.json
CHANGED
|
@@ -1,2 +1,61 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgUpdateParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost } 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
|
+
updateParams(value: MsgUpdateParams): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
createPost(value: MsgCreatePost): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
updatePost(value: MsgUpdatePost): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
deletePost(value: MsgDeletePost): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
withTypeUrl: {
|
|
26
|
+
updateParams(value: MsgUpdateParams): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgUpdateParams;
|
|
29
|
+
};
|
|
30
|
+
createPost(value: MsgCreatePost): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgCreatePost;
|
|
33
|
+
};
|
|
34
|
+
updatePost(value: MsgUpdatePost): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: MsgUpdatePost;
|
|
37
|
+
};
|
|
38
|
+
deletePost(value: MsgDeletePost): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgDeletePost;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
fromPartial: {
|
|
44
|
+
updateParams(value: MsgUpdateParams): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgUpdateParams;
|
|
47
|
+
};
|
|
48
|
+
createPost(value: MsgCreatePost): {
|
|
49
|
+
typeUrl: string;
|
|
50
|
+
value: MsgCreatePost;
|
|
51
|
+
};
|
|
52
|
+
updatePost(value: MsgUpdatePost): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgUpdatePost;
|
|
55
|
+
};
|
|
56
|
+
deletePost(value: MsgDeletePost): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgDeletePost;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|