@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,105 @@
|
|
|
1
1
|
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm], ["/ibc.core.connection.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
|
+
connectionOpenInit(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
13
|
+
value: MsgConnectionOpenInit.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
connectionOpenTry(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
19
|
+
value: MsgConnectionOpenTry.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
connectionOpenAck(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
25
|
+
value: MsgConnectionOpenAck.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
connectionOpenConfirm(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
31
|
+
value: MsgConnectionOpenConfirm.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
updateConnectionParams(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
37
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
withTypeUrl: {
|
|
42
|
+
connectionOpenInit(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
connectionOpenTry(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
51
|
+
value
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
connectionOpenAck(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
connectionOpenConfirm(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
63
|
+
value
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
updateConnectionParams(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
69
|
+
value
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
fromPartial: {
|
|
74
|
+
connectionOpenInit(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
77
|
+
value: MsgConnectionOpenInit.fromPartial(value)
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
connectionOpenTry(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
83
|
+
value: MsgConnectionOpenTry.fromPartial(value)
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
connectionOpenAck(value) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
89
|
+
value: MsgConnectionOpenAck.fromPartial(value)
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
connectionOpenConfirm(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
95
|
+
value: MsgConnectionOpenConfirm.fromPartial(value)
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
updateConnectionParams(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
101
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
@@ -1,2 +1,69 @@
|
|
|
1
1
|
import { MsgStoreCode, MsgRemoveChecksum, MsgMigrateContract } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.lightclients.wasm.v1.MsgStoreCode", MsgStoreCode], ["/ibc.lightclients.wasm.v1.MsgRemoveChecksum", MsgRemoveChecksum], ["/ibc.lightclients.wasm.v1.MsgMigrateContract", MsgMigrateContract]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
storeCode(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
13
|
+
value: MsgStoreCode.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
removeChecksum(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
19
|
+
value: MsgRemoveChecksum.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
migrateContract(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
25
|
+
value: MsgMigrateContract.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
storeCode(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
removeChecksum(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
migrateContract(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
fromPartial: {
|
|
50
|
+
storeCode(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
53
|
+
value: MsgStoreCode.fromPartial(value)
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
removeChecksum(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
59
|
+
value: MsgRemoveChecksum.fromPartial(value)
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
migrateContract(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
65
|
+
value: MsgMigrateContract.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
@@ -1,2 +1,87 @@
|
|
|
1
1
|
import { MsgUpdateParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost } from "./tx";
|
|
2
2
|
export const registry = [["/sparkdream.blog.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.blog.MsgCreatePost", MsgCreatePost], ["/sparkdream.blog.MsgUpdatePost", MsgUpdatePost], ["/sparkdream.blog.MsgDeletePost", MsgDeletePost]];
|
|
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: "/sparkdream.blog.MsgUpdateParams",
|
|
13
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
createPost(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/sparkdream.blog.MsgCreatePost",
|
|
19
|
+
value: MsgCreatePost.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
updatePost(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/sparkdream.blog.MsgUpdatePost",
|
|
25
|
+
value: MsgUpdatePost.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
deletePost(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/sparkdream.blog.MsgDeletePost",
|
|
31
|
+
value: MsgDeletePost.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
withTypeUrl: {
|
|
36
|
+
updateParams(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/sparkdream.blog.MsgUpdateParams",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
createPost(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/sparkdream.blog.MsgCreatePost",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
updatePost(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/sparkdream.blog.MsgUpdatePost",
|
|
51
|
+
value
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
deletePost(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/sparkdream.blog.MsgDeletePost",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
fromPartial: {
|
|
62
|
+
updateParams(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/sparkdream.blog.MsgUpdateParams",
|
|
65
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
createPost(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/sparkdream.blog.MsgCreatePost",
|
|
71
|
+
value: MsgCreatePost.fromPartial(value)
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
updatePost(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/sparkdream.blog.MsgUpdatePost",
|
|
77
|
+
value: MsgUpdatePost.fromPartial(value)
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
deletePost(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/sparkdream.blog.MsgDeletePost",
|
|
83
|
+
value: MsgDeletePost.fromPartial(value)
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
@@ -1,2 +1,33 @@
|
|
|
1
1
|
import { MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/sparkdream.sparkdream.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
|
+
updateParams(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/sparkdream.sparkdream.MsgUpdateParams",
|
|
13
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
withTypeUrl: {
|
|
18
|
+
updateParams(value) {
|
|
19
|
+
return {
|
|
20
|
+
typeUrl: "/sparkdream.sparkdream.MsgUpdateParams",
|
|
21
|
+
value
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
fromPartial: {
|
|
26
|
+
updateParams(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/sparkdream.sparkdream.MsgUpdateParams",
|
|
29
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgRegisterInterchainAccount, MsgSendTx, 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
|
+
registerInterchainAccount(value: MsgRegisterInterchainAccount): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
sendTx(value: MsgSendTx): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
updateParams(value: MsgUpdateParams): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
registerInterchainAccount(value: MsgRegisterInterchainAccount): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgRegisterInterchainAccount;
|
|
25
|
+
};
|
|
26
|
+
sendTx(value: MsgSendTx): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgSendTx;
|
|
29
|
+
};
|
|
30
|
+
updateParams(value: MsgUpdateParams): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgUpdateParams;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
fromPartial: {
|
|
36
|
+
registerInterchainAccount(value: MsgRegisterInterchainAccount): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgRegisterInterchainAccount;
|
|
39
|
+
};
|
|
40
|
+
sendTx(value: MsgSendTx): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgSendTx;
|
|
43
|
+
};
|
|
44
|
+
updateParams(value: MsgUpdateParams): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgUpdateParams;
|
|
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.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount", tx_1.MsgRegisterInterchainAccount], ["/ibc.applications.interchain_accounts.controller.v1.MsgSendTx", tx_1.MsgSendTx], ["/ibc.applications.interchain_accounts.controller.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
|
+
registerInterchainAccount(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
17
|
+
value: tx_1.MsgRegisterInterchainAccount.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
sendTx(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
23
|
+
value: tx_1.MsgSendTx.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
updateParams(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
29
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
withTypeUrl: {
|
|
34
|
+
registerInterchainAccount(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
sendTx(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
updateParams(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
fromPartial: {
|
|
54
|
+
registerInterchainAccount(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
57
|
+
value: tx_1.MsgRegisterInterchainAccount.fromPartial(value)
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
sendTx(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
63
|
+
value: tx_1.MsgSendTx.fromPartial(value)
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
updateParams(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
69
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
@@ -1,2 +1,37 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgUpdateParams, MsgModuleQuerySafe } 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
|
+
moduleQuerySafe(value: MsgModuleQuerySafe): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
withTypeUrl: {
|
|
18
|
+
updateParams(value: MsgUpdateParams): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: MsgUpdateParams;
|
|
21
|
+
};
|
|
22
|
+
moduleQuerySafe(value: MsgModuleQuerySafe): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgModuleQuerySafe;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
fromPartial: {
|
|
28
|
+
updateParams(value: MsgUpdateParams): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgUpdateParams;
|
|
31
|
+
};
|
|
32
|
+
moduleQuerySafe(value: MsgModuleQuerySafe): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: MsgModuleQuerySafe;
|
|
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.applications.interchain_accounts.host.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe", tx_1.MsgModuleQuerySafe]];
|
|
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
|
+
updateParams(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
17
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
moduleQuerySafe(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
23
|
+
value: tx_1.MsgModuleQuerySafe.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
withTypeUrl: {
|
|
28
|
+
updateParams(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
31
|
+
value
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
moduleQuerySafe(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fromPartial: {
|
|
42
|
+
updateParams(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
45
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
moduleQuerySafe(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
51
|
+
value: tx_1.MsgModuleQuerySafe.fromPartial(value)
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
@@ -1,2 +1,37 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgTransfer, 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
|
+
transfer(value: MsgTransfer): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
updateParams(value: MsgUpdateParams): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
withTypeUrl: {
|
|
18
|
+
transfer(value: MsgTransfer): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: MsgTransfer;
|
|
21
|
+
};
|
|
22
|
+
updateParams(value: MsgUpdateParams): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgUpdateParams;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
fromPartial: {
|
|
28
|
+
transfer(value: MsgTransfer): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgTransfer;
|
|
31
|
+
};
|
|
32
|
+
updateParams(value: MsgUpdateParams): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: MsgUpdateParams;
|
|
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.applications.transfer.v1.MsgTransfer", tx_1.MsgTransfer], ["/ibc.applications.transfer.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
|
+
transfer(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
17
|
+
value: tx_1.MsgTransfer.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
updateParams(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
23
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
withTypeUrl: {
|
|
28
|
+
transfer(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
31
|
+
value
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
updateParams(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
fromPartial: {
|
|
42
|
+
transfer(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
45
|
+
value: tx_1.MsgTransfer.fromPartial(value)
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
updateParams(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
51
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|