@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,69 @@
|
|
|
1
1
|
import { MsgRegisterInterchainAccount, MsgSendTx, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount", MsgRegisterInterchainAccount], ["/ibc.applications.interchain_accounts.controller.v1.MsgSendTx", MsgSendTx], ["/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
registerInterchainAccount(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
13
|
+
value: MsgRegisterInterchainAccount.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
sendTx(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
19
|
+
value: MsgSendTx.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
updateParams(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
25
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
registerInterchainAccount(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
sendTx(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
updateParams(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
fromPartial: {
|
|
50
|
+
registerInterchainAccount(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount",
|
|
53
|
+
value: MsgRegisterInterchainAccount.fromPartial(value)
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
sendTx(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx",
|
|
59
|
+
value: MsgSendTx.fromPartial(value)
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
updateParams(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams",
|
|
65
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
@@ -1,2 +1,51 @@
|
|
|
1
1
|
import { MsgUpdateParams, MsgModuleQuerySafe } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams", MsgUpdateParams], ["/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe", MsgModuleQuerySafe]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
updateParams(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
13
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
moduleQuerySafe(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
19
|
+
value: MsgModuleQuerySafe.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
withTypeUrl: {
|
|
24
|
+
updateParams(value) {
|
|
25
|
+
return {
|
|
26
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
27
|
+
value
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
moduleQuerySafe(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
fromPartial: {
|
|
38
|
+
updateParams(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams",
|
|
41
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
moduleQuerySafe(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.applications.interchain_accounts.host.v1.MsgModuleQuerySafe",
|
|
47
|
+
value: MsgModuleQuerySafe.fromPartial(value)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -1,2 +1,51 @@
|
|
|
1
1
|
import { MsgTransfer, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer], ["/ibc.applications.transfer.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
transfer(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
13
|
+
value: MsgTransfer.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateParams(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
19
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
withTypeUrl: {
|
|
24
|
+
transfer(value) {
|
|
25
|
+
return {
|
|
26
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
27
|
+
value
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
updateParams(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
fromPartial: {
|
|
38
|
+
transfer(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
41
|
+
value: MsgTransfer.fromPartial(value)
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
updateParams(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
47
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -1,2 +1,195 @@
|
|
|
1
1
|
import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
channelOpenInit(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
13
|
+
value: MsgChannelOpenInit.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
channelOpenTry(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
19
|
+
value: MsgChannelOpenTry.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
channelOpenAck(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
25
|
+
value: MsgChannelOpenAck.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
channelOpenConfirm(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
31
|
+
value: MsgChannelOpenConfirm.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
channelCloseInit(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
37
|
+
value: MsgChannelCloseInit.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
channelCloseConfirm(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
43
|
+
value: MsgChannelCloseConfirm.encode(value).finish()
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
recvPacket(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
49
|
+
value: MsgRecvPacket.encode(value).finish()
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
timeout(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
55
|
+
value: MsgTimeout.encode(value).finish()
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
timeoutOnClose(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
61
|
+
value: MsgTimeoutOnClose.encode(value).finish()
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
acknowledgement(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
67
|
+
value: MsgAcknowledgement.encode(value).finish()
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
withTypeUrl: {
|
|
72
|
+
channelOpenInit(value) {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
75
|
+
value
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
channelOpenTry(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
81
|
+
value
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
channelOpenAck(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
87
|
+
value
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
channelOpenConfirm(value) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
93
|
+
value
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
channelCloseInit(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
99
|
+
value
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
channelCloseConfirm(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
105
|
+
value
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
recvPacket(value) {
|
|
109
|
+
return {
|
|
110
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
111
|
+
value
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
timeout(value) {
|
|
115
|
+
return {
|
|
116
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
117
|
+
value
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
timeoutOnClose(value) {
|
|
121
|
+
return {
|
|
122
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
123
|
+
value
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
acknowledgement(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
129
|
+
value
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
fromPartial: {
|
|
134
|
+
channelOpenInit(value) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
137
|
+
value: MsgChannelOpenInit.fromPartial(value)
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
channelOpenTry(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
143
|
+
value: MsgChannelOpenTry.fromPartial(value)
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
channelOpenAck(value) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
149
|
+
value: MsgChannelOpenAck.fromPartial(value)
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
channelOpenConfirm(value) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
155
|
+
value: MsgChannelOpenConfirm.fromPartial(value)
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
channelCloseInit(value) {
|
|
159
|
+
return {
|
|
160
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
161
|
+
value: MsgChannelCloseInit.fromPartial(value)
|
|
162
|
+
};
|
|
163
|
+
},
|
|
164
|
+
channelCloseConfirm(value) {
|
|
165
|
+
return {
|
|
166
|
+
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
167
|
+
value: MsgChannelCloseConfirm.fromPartial(value)
|
|
168
|
+
};
|
|
169
|
+
},
|
|
170
|
+
recvPacket(value) {
|
|
171
|
+
return {
|
|
172
|
+
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
173
|
+
value: MsgRecvPacket.fromPartial(value)
|
|
174
|
+
};
|
|
175
|
+
},
|
|
176
|
+
timeout(value) {
|
|
177
|
+
return {
|
|
178
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
179
|
+
value: MsgTimeout.fromPartial(value)
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
timeoutOnClose(value) {
|
|
183
|
+
return {
|
|
184
|
+
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
185
|
+
value: MsgTimeoutOnClose.fromPartial(value)
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
acknowledgement(value) {
|
|
189
|
+
return {
|
|
190
|
+
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
191
|
+
value: MsgAcknowledgement.fromPartial(value)
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
};
|
|
@@ -1,2 +1,87 @@
|
|
|
1
1
|
import { MsgSendPacket, MsgRecvPacket, MsgTimeout, MsgAcknowledgement } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.channel.v2.MsgSendPacket", MsgSendPacket], ["/ibc.core.channel.v2.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v2.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v2.MsgAcknowledgement", MsgAcknowledgement]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
sendPacket(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
13
|
+
value: MsgSendPacket.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
recvPacket(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
19
|
+
value: MsgRecvPacket.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
timeout(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
25
|
+
value: MsgTimeout.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
acknowledgement(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
31
|
+
value: MsgAcknowledgement.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
withTypeUrl: {
|
|
36
|
+
sendPacket(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
recvPacket(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
timeout(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
51
|
+
value
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
acknowledgement(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
fromPartial: {
|
|
62
|
+
sendPacket(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
65
|
+
value: MsgSendPacket.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
recvPacket(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
71
|
+
value: MsgRecvPacket.fromPartial(value)
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
timeout(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
77
|
+
value: MsgTimeout.fromPartial(value)
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
acknowledgement(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
83
|
+
value: MsgAcknowledgement.fromPartial(value)
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
@@ -1,2 +1,159 @@
|
|
|
1
1
|
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour, MsgRecoverClient, MsgIBCSoftwareUpgrade, MsgUpdateParams, MsgDeleteClientCreator } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.client.v1.MsgCreateClient", MsgCreateClient], ["/ibc.core.client.v1.MsgUpdateClient", MsgUpdateClient], ["/ibc.core.client.v1.MsgUpgradeClient", MsgUpgradeClient], ["/ibc.core.client.v1.MsgSubmitMisbehaviour", MsgSubmitMisbehaviour], ["/ibc.core.client.v1.MsgRecoverClient", MsgRecoverClient], ["/ibc.core.client.v1.MsgIBCSoftwareUpgrade", MsgIBCSoftwareUpgrade], ["/ibc.core.client.v1.MsgUpdateParams", MsgUpdateParams], ["/ibc.core.client.v1.MsgDeleteClientCreator", MsgDeleteClientCreator]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
createClient(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
13
|
+
value: MsgCreateClient.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateClient(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
19
|
+
value: MsgUpdateClient.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
upgradeClient(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
25
|
+
value: MsgUpgradeClient.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
submitMisbehaviour(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
31
|
+
value: MsgSubmitMisbehaviour.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
recoverClient(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
37
|
+
value: MsgRecoverClient.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
iBCSoftwareUpgrade(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
43
|
+
value: MsgIBCSoftwareUpgrade.encode(value).finish()
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
updateClientParams(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
49
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
deleteClientCreator(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
55
|
+
value: MsgDeleteClientCreator.encode(value).finish()
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
withTypeUrl: {
|
|
60
|
+
createClient(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
63
|
+
value
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
updateClient(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
69
|
+
value
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
upgradeClient(value) {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
75
|
+
value
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
submitMisbehaviour(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
81
|
+
value
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
recoverClient(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
87
|
+
value
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
iBCSoftwareUpgrade(value) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
93
|
+
value
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
updateClientParams(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
99
|
+
value
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
deleteClientCreator(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
105
|
+
value
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
fromPartial: {
|
|
110
|
+
createClient(value) {
|
|
111
|
+
return {
|
|
112
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
113
|
+
value: MsgCreateClient.fromPartial(value)
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
updateClient(value) {
|
|
117
|
+
return {
|
|
118
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
119
|
+
value: MsgUpdateClient.fromPartial(value)
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
upgradeClient(value) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
125
|
+
value: MsgUpgradeClient.fromPartial(value)
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
submitMisbehaviour(value) {
|
|
129
|
+
return {
|
|
130
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
131
|
+
value: MsgSubmitMisbehaviour.fromPartial(value)
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
recoverClient(value) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
137
|
+
value: MsgRecoverClient.fromPartial(value)
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
iBCSoftwareUpgrade(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
143
|
+
value: MsgIBCSoftwareUpgrade.fromPartial(value)
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
updateClientParams(value) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
149
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
deleteClientCreator(value) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
155
|
+
value: MsgDeleteClientCreator.fromPartial(value)
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
@@ -1,2 +1,51 @@
|
|
|
1
1
|
import { MsgRegisterCounterparty, MsgUpdateClientConfig } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.client.v2.MsgRegisterCounterparty", MsgRegisterCounterparty], ["/ibc.core.client.v2.MsgUpdateClientConfig", MsgUpdateClientConfig]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
registerCounterparty(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
13
|
+
value: MsgRegisterCounterparty.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateClientConfig(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
19
|
+
value: MsgUpdateClientConfig.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
withTypeUrl: {
|
|
24
|
+
registerCounterparty(value) {
|
|
25
|
+
return {
|
|
26
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
27
|
+
value
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
updateClientConfig(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
fromPartial: {
|
|
38
|
+
registerCounterparty(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
41
|
+
value: MsgRegisterCounterparty.fromPartial(value)
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
updateClientConfig(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
47
|
+
value: MsgUpdateClientConfig.fromPartial(value)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|