@ark-us/wasmxjs 0.0.1 → 0.0.3
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/README.md +1 -1
- package/main/codegen/cosmos/bundle.js +4 -4
- package/main/codegen/wasmx/bundle.js +29 -13
- package/main/codegen/wasmx/client.js +6 -4
- package/main/codegen/wasmx/index.js +9 -9
- package/main/codegen/wasmx/rpc.query.js +17 -4
- package/main/codegen/wasmx/rpc.tx.js +19 -4
- package/main/codegen/wasmx/wasmx/{contract.js → v1/contract.js} +67 -19
- package/main/codegen/wasmx/wasmx/{genesis.js → v1/genesis.js} +45 -15
- package/main/codegen/wasmx/wasmx/{query.js → v1/query.js} +3 -3
- package/main/codegen/wasmx/wasmx/{query.rpc.Query.js → v1/query.rpc.Query.js} +9 -9
- package/main/codegen/wasmx/wasmx/{tx.amino.js → v1/tx.amino.js} +116 -78
- package/main/codegen/wasmx/wasmx/{tx.js → v1/tx.js} +223 -14
- package/main/codegen/wasmx/wasmx/{tx.registry.js → v1/tx.registry.js} +91 -31
- package/main/codegen/wasmx/wasmx/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +26 -6
- package/main/codegen/wasmx/websrv/v1/genesis.js +59 -0
- package/main/codegen/wasmx/websrv/v1/params.js +59 -0
- package/main/codegen/wasmx/websrv/v1/proposal.js +167 -0
- package/main/codegen/wasmx/websrv/v1/query.js +806 -0
- package/main/codegen/wasmx/websrv/v1/query.rpc.Query.js +128 -0
- package/main/codegen/wasmx/websrv/v1/tx.amino.js +71 -0
- package/main/codegen/wasmx/websrv/v1/tx.js +312 -0
- package/main/codegen/wasmx/websrv/v1/tx.registry.js +123 -0
- package/main/codegen/wasmx/websrv/v1/tx.rpc.msg.js +55 -0
- package/module/codegen/cosmos/bundle.js +4 -4
- package/module/codegen/wasmx/bundle.js +29 -13
- package/module/codegen/wasmx/client.js +6 -4
- package/module/codegen/wasmx/index.js +9 -9
- package/module/codegen/wasmx/rpc.query.js +6 -1
- package/module/codegen/wasmx/rpc.tx.js +6 -1
- package/module/codegen/wasmx/wasmx/{contract.js → v1/contract.js} +63 -17
- package/module/codegen/wasmx/wasmx/{genesis.js → v1/genesis.js} +46 -16
- package/module/codegen/wasmx/wasmx/{query.js → v1/query.js} +3 -3
- package/module/codegen/wasmx/wasmx/{query.rpc.Query.js → v1/query.rpc.Query.js} +9 -9
- package/module/codegen/wasmx/wasmx/{tx.amino.js → v1/tx.amino.js} +55 -13
- package/module/codegen/wasmx/wasmx/{tx.js → v1/tx.js} +213 -12
- package/module/codegen/wasmx/wasmx/v1/tx.registry.js +259 -0
- package/module/codegen/wasmx/wasmx/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +19 -7
- package/module/codegen/wasmx/websrv/v1/genesis.js +50 -0
- package/module/codegen/wasmx/websrv/v1/params.js +50 -0
- package/module/codegen/wasmx/websrv/v1/proposal.js +156 -0
- package/module/codegen/wasmx/websrv/v1/query.js +739 -0
- package/module/codegen/wasmx/websrv/v1/query.rpc.Query.js +83 -0
- package/module/codegen/wasmx/websrv/v1/tx.amino.js +70 -0
- package/module/codegen/wasmx/websrv/v1/tx.js +291 -0
- package/module/codegen/wasmx/websrv/v1/tx.registry.js +109 -0
- package/module/codegen/wasmx/websrv/v1/tx.rpc.msg.js +29 -0
- package/package.json +1 -1
- package/src/codegen/cosmos/bundle.ts +4 -4
- package/src/codegen/wasmx/bundle.ts +46 -23
- package/src/codegen/wasmx/client.ts +7 -4
- package/src/codegen/wasmx/index.ts +9 -9
- package/src/codegen/wasmx/rpc.query.ts +6 -1
- package/src/codegen/wasmx/rpc.tx.ts +6 -1
- package/src/codegen/wasmx/wasmx/{contract.ts → v1/contract.ts} +91 -20
- package/src/codegen/wasmx/wasmx/{genesis.ts → v1/genesis.ts} +69 -19
- package/src/codegen/wasmx/wasmx/{query.rpc.Query.ts → v1/query.rpc.Query.ts} +10 -10
- package/src/codegen/wasmx/wasmx/{query.ts → v1/query.ts} +3 -3
- package/src/codegen/wasmx/wasmx/{tx.amino.ts → v1/tx.amino.ts} +76 -20
- package/src/codegen/wasmx/wasmx/{tx.registry.ts → v1/tx.registry.ts} +102 -32
- package/src/codegen/wasmx/wasmx/{tx.rpc.msg.ts → v1/tx.rpc.msg.ts} +28 -8
- package/src/codegen/wasmx/wasmx/{tx.ts → v1/tx.ts} +304 -2
- package/src/codegen/wasmx/websrv/v1/genesis.ts +70 -0
- package/src/codegen/wasmx/websrv/v1/params.ts +69 -0
- package/src/codegen/wasmx/websrv/v1/proposal.ts +254 -0
- package/src/codegen/wasmx/websrv/v1/query.rpc.Query.ts +121 -0
- package/src/codegen/wasmx/websrv/v1/query.ts +1151 -0
- package/src/codegen/wasmx/websrv/v1/tx.amino.ts +94 -0
- package/src/codegen/wasmx/websrv/v1/tx.registry.ts +125 -0
- package/src/codegen/wasmx/websrv/v1/tx.rpc.msg.ts +44 -0
- package/src/codegen/wasmx/websrv/v1/tx.ts +406 -0
- package/types/codegen/cosmos/bundle.d.ts +2 -2
- package/types/codegen/wasmx/bundle.d.ts +980 -555
- package/types/codegen/wasmx/client.d.ts +75 -18
- package/types/codegen/wasmx/rpc.query.d.ts +22 -9
- package/types/codegen/wasmx/rpc.tx.d.ts +6 -1
- package/types/codegen/wasmx/wasmx/contract.d.ts +19 -2
- package/types/codegen/wasmx/wasmx/genesis.d.ts +19 -5
- package/types/codegen/wasmx/wasmx/tx.amino.d.ts +37 -13
- package/types/codegen/wasmx/wasmx/tx.d.ts +72 -0
- package/types/codegen/wasmx/wasmx/tx.registry.d.ts +41 -1
- package/types/codegen/wasmx/wasmx/tx.rpc.msg.d.ts +7 -1
- package/types/codegen/wasmx/wasmx/v1/contract.d.ts +139 -0
- package/types/codegen/wasmx/wasmx/v1/genesis.d.ts +121 -0
- package/types/codegen/wasmx/wasmx/v1/params.d.ts +14 -0
- package/types/codegen/wasmx/wasmx/v1/query.d.ts +451 -0
- package/types/codegen/wasmx/wasmx/v1/query.rpc.Query.d.ts +48 -0
- package/types/codegen/wasmx/wasmx/v1/tx.amino.d.ts +134 -0
- package/types/codegen/wasmx/wasmx/v1/tx.d.ts +404 -0
- package/types/codegen/wasmx/wasmx/v1/tx.registry.d.ts +176 -0
- package/types/codegen/wasmx/wasmx/v1/tx.rpc.msg.d.ts +39 -0
- package/types/codegen/wasmx/websrv/genesis.d.ts +17 -0
- package/types/codegen/wasmx/websrv/params.d.ts +16 -0
- package/types/codegen/wasmx/websrv/proposal.d.ts +65 -0
- package/types/codegen/wasmx/websrv/query.d.ts +315 -0
- package/types/codegen/wasmx/websrv/query.rpc.Query.d.ts +40 -0
- package/types/codegen/wasmx/websrv/tx.amino.d.ts +41 -0
- package/types/codegen/wasmx/websrv/tx.d.ts +90 -0
- package/types/codegen/wasmx/websrv/tx.registry.d.ts +76 -0
- package/types/codegen/wasmx/websrv/tx.rpc.msg.d.ts +18 -0
- package/types/codegen/wasmx/websrv/v1/genesis.d.ts +17 -0
- package/types/codegen/wasmx/websrv/v1/params.d.ts +16 -0
- package/types/codegen/wasmx/websrv/v1/proposal.d.ts +65 -0
- package/types/codegen/wasmx/websrv/v1/query.d.ts +315 -0
- package/types/codegen/wasmx/websrv/v1/query.rpc.Query.d.ts +40 -0
- package/types/codegen/wasmx/websrv/v1/tx.amino.d.ts +41 -0
- package/types/codegen/wasmx/websrv/v1/tx.d.ts +90 -0
- package/types/codegen/wasmx/websrv/v1/tx.registry.d.ts +76 -0
- package/types/codegen/wasmx/websrv/v1/tx.rpc.msg.d.ts +18 -0
- package/module/codegen/wasmx/wasmx/tx.registry.js +0 -199
- /package/main/codegen/wasmx/wasmx/{params.js → v1/params.js} +0 -0
- /package/module/codegen/wasmx/wasmx/{params.js → v1/params.js} +0 -0
- /package/src/codegen/wasmx/wasmx/{params.ts → v1/params.ts} +0 -0
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract } from "./tx";
|
|
2
|
-
export const registry = [["/wasmx.wasmx.MsgStoreCode", MsgStoreCode], ["/wasmx.wasmx.MsgInstantiateContract", MsgInstantiateContract], ["/wasmx.wasmx.MsgInstantiateContract2", MsgInstantiateContract2], ["/wasmx.wasmx.MsgExecuteContract", MsgExecuteContract], ["/wasmx.wasmx.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/wasmx.wasmx.MsgExecuteDelegateContract", MsgExecuteDelegateContract]];
|
|
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: "/wasmx.wasmx.MsgStoreCode",
|
|
13
|
-
value: MsgStoreCode.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
instantiateContract(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
19
|
-
value: MsgInstantiateContract.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
instantiateContract2(value) {
|
|
23
|
-
return {
|
|
24
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
25
|
-
value: MsgInstantiateContract2.encode(value).finish()
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
executeContract(value) {
|
|
29
|
-
return {
|
|
30
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
31
|
-
value: MsgExecuteContract.encode(value).finish()
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
executeWithOriginContract(value) {
|
|
35
|
-
return {
|
|
36
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
37
|
-
value: MsgExecuteWithOriginContract.encode(value).finish()
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
executeDelegateContract(value) {
|
|
41
|
-
return {
|
|
42
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
43
|
-
value: MsgExecuteDelegateContract.encode(value).finish()
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
withTypeUrl: {
|
|
48
|
-
storeCode(value) {
|
|
49
|
-
return {
|
|
50
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
51
|
-
value
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
instantiateContract(value) {
|
|
55
|
-
return {
|
|
56
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
57
|
-
value
|
|
58
|
-
};
|
|
59
|
-
},
|
|
60
|
-
instantiateContract2(value) {
|
|
61
|
-
return {
|
|
62
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
63
|
-
value
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
executeContract(value) {
|
|
67
|
-
return {
|
|
68
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
69
|
-
value
|
|
70
|
-
};
|
|
71
|
-
},
|
|
72
|
-
executeWithOriginContract(value) {
|
|
73
|
-
return {
|
|
74
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
75
|
-
value
|
|
76
|
-
};
|
|
77
|
-
},
|
|
78
|
-
executeDelegateContract(value) {
|
|
79
|
-
return {
|
|
80
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
81
|
-
value
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
toJSON: {
|
|
86
|
-
storeCode(value) {
|
|
87
|
-
return {
|
|
88
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
89
|
-
value: MsgStoreCode.toJSON(value)
|
|
90
|
-
};
|
|
91
|
-
},
|
|
92
|
-
instantiateContract(value) {
|
|
93
|
-
return {
|
|
94
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
95
|
-
value: MsgInstantiateContract.toJSON(value)
|
|
96
|
-
};
|
|
97
|
-
},
|
|
98
|
-
instantiateContract2(value) {
|
|
99
|
-
return {
|
|
100
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
101
|
-
value: MsgInstantiateContract2.toJSON(value)
|
|
102
|
-
};
|
|
103
|
-
},
|
|
104
|
-
executeContract(value) {
|
|
105
|
-
return {
|
|
106
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
107
|
-
value: MsgExecuteContract.toJSON(value)
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
executeWithOriginContract(value) {
|
|
111
|
-
return {
|
|
112
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
113
|
-
value: MsgExecuteWithOriginContract.toJSON(value)
|
|
114
|
-
};
|
|
115
|
-
},
|
|
116
|
-
executeDelegateContract(value) {
|
|
117
|
-
return {
|
|
118
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
119
|
-
value: MsgExecuteDelegateContract.toJSON(value)
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
fromJSON: {
|
|
124
|
-
storeCode(value) {
|
|
125
|
-
return {
|
|
126
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
127
|
-
value: MsgStoreCode.fromJSON(value)
|
|
128
|
-
};
|
|
129
|
-
},
|
|
130
|
-
instantiateContract(value) {
|
|
131
|
-
return {
|
|
132
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
133
|
-
value: MsgInstantiateContract.fromJSON(value)
|
|
134
|
-
};
|
|
135
|
-
},
|
|
136
|
-
instantiateContract2(value) {
|
|
137
|
-
return {
|
|
138
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
139
|
-
value: MsgInstantiateContract2.fromJSON(value)
|
|
140
|
-
};
|
|
141
|
-
},
|
|
142
|
-
executeContract(value) {
|
|
143
|
-
return {
|
|
144
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
145
|
-
value: MsgExecuteContract.fromJSON(value)
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
executeWithOriginContract(value) {
|
|
149
|
-
return {
|
|
150
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
151
|
-
value: MsgExecuteWithOriginContract.fromJSON(value)
|
|
152
|
-
};
|
|
153
|
-
},
|
|
154
|
-
executeDelegateContract(value) {
|
|
155
|
-
return {
|
|
156
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
157
|
-
value: MsgExecuteDelegateContract.fromJSON(value)
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
fromPartial: {
|
|
162
|
-
storeCode(value) {
|
|
163
|
-
return {
|
|
164
|
-
typeUrl: "/wasmx.wasmx.MsgStoreCode",
|
|
165
|
-
value: MsgStoreCode.fromPartial(value)
|
|
166
|
-
};
|
|
167
|
-
},
|
|
168
|
-
instantiateContract(value) {
|
|
169
|
-
return {
|
|
170
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract",
|
|
171
|
-
value: MsgInstantiateContract.fromPartial(value)
|
|
172
|
-
};
|
|
173
|
-
},
|
|
174
|
-
instantiateContract2(value) {
|
|
175
|
-
return {
|
|
176
|
-
typeUrl: "/wasmx.wasmx.MsgInstantiateContract2",
|
|
177
|
-
value: MsgInstantiateContract2.fromPartial(value)
|
|
178
|
-
};
|
|
179
|
-
},
|
|
180
|
-
executeContract(value) {
|
|
181
|
-
return {
|
|
182
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteContract",
|
|
183
|
-
value: MsgExecuteContract.fromPartial(value)
|
|
184
|
-
};
|
|
185
|
-
},
|
|
186
|
-
executeWithOriginContract(value) {
|
|
187
|
-
return {
|
|
188
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteWithOriginContract",
|
|
189
|
-
value: MsgExecuteWithOriginContract.fromPartial(value)
|
|
190
|
-
};
|
|
191
|
-
},
|
|
192
|
-
executeDelegateContract(value) {
|
|
193
|
-
return {
|
|
194
|
-
typeUrl: "/wasmx.wasmx.MsgExecuteDelegateContract",
|
|
195
|
-
value: MsgExecuteDelegateContract.fromPartial(value)
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|