@ark-us/wasmxjs 0.0.3 → 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.
Files changed (124) hide show
  1. package/README.md +1 -1
  2. package/main/codegen/index.js +10 -10
  3. package/main/codegen/{wasmx → mythos}/bundle.js +21 -21
  4. package/main/codegen/{wasmx → mythos}/client.js +19 -19
  5. package/main/codegen/{wasmx → mythos}/rpc.query.js +1 -1
  6. package/main/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
  7. package/main/codegen/{wasmx → mythos}/wasmx/v1/contract.js +176 -29
  8. package/main/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +14 -14
  9. package/main/codegen/{wasmx → mythos}/wasmx/v1/query.js +81 -55
  10. package/main/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +22 -9
  11. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +80 -24
  12. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.js +25 -4
  13. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
  14. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
  15. package/main/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
  16. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
  17. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
  18. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
  19. package/main/codegen/tendermint/bundle.js +17 -17
  20. package/module/codegen/index.js +3 -3
  21. package/module/codegen/{wasmx → mythos}/bundle.js +19 -19
  22. package/module/codegen/{wasmx → mythos}/client.js +11 -11
  23. package/module/codegen/{wasmx → mythos}/rpc.query.js +1 -1
  24. package/module/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
  25. package/module/codegen/{wasmx → mythos}/wasmx/v1/contract.js +151 -21
  26. package/module/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +15 -15
  27. package/module/codegen/{wasmx → mythos}/wasmx/v1/query.js +77 -53
  28. package/module/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +19 -10
  29. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +80 -24
  30. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.js +25 -4
  31. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
  32. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
  33. package/module/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
  34. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
  35. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
  36. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
  37. package/module/codegen/tendermint/bundle.js +17 -17
  38. package/package.json +1 -1
  39. package/src/codegen/index.ts +3 -3
  40. package/src/codegen/{wasmx → mythos}/bundle.ts +21 -21
  41. package/src/codegen/{wasmx → mythos}/client.ts +12 -12
  42. package/src/codegen/{wasmx → mythos}/rpc.query.ts +1 -1
  43. package/src/codegen/{wasmx → mythos}/rpc.tx.ts +1 -1
  44. package/src/codegen/{wasmx → mythos}/wasmx/v1/contract.ts +228 -33
  45. package/src/codegen/{wasmx → mythos}/wasmx/v1/genesis.ts +19 -19
  46. package/src/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.ts +24 -10
  47. package/src/codegen/{wasmx → mythos}/wasmx/v1/query.ts +123 -82
  48. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.ts +114 -32
  49. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.ts +41 -41
  50. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.ts +8 -8
  51. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.ts +33 -4
  52. package/src/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.ts +7 -7
  53. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.amino.ts +9 -9
  54. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.registry.ts +16 -16
  55. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.ts +3 -3
  56. package/src/codegen/tendermint/bundle.ts +22 -22
  57. package/types/codegen/index.d.ts +3 -3
  58. package/types/codegen/mythos/bundle.d.ts +1039 -0
  59. package/types/codegen/{wasmx → mythos}/client.d.ts +31 -31
  60. package/types/codegen/mythos/index.d.ts +11 -0
  61. package/types/codegen/{wasmx → mythos}/rpc.query.d.ts +10 -10
  62. package/types/codegen/{wasmx → mythos}/rpc.tx.d.ts +1 -1
  63. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
  64. package/types/codegen/{wasmx → mythos}/websrv/v1/tx.amino.d.ts +6 -6
  65. package/types/codegen/tendermint/bundle.d.ts +456 -456
  66. package/types/codegen/wasmx/bundle.d.ts +0 -1039
  67. package/types/codegen/wasmx/index.d.ts +0 -11
  68. package/types/codegen/wasmx/lcd.d.ts +0 -14
  69. package/types/codegen/wasmx/wasmx/contract.d.ts +0 -139
  70. package/types/codegen/wasmx/wasmx/genesis.d.ts +0 -121
  71. package/types/codegen/wasmx/wasmx/query.d.ts +0 -451
  72. package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
  73. package/types/codegen/wasmx/wasmx/query.rpc.Query.d.ts +0 -48
  74. package/types/codegen/wasmx/wasmx/tx.d.ts +0 -404
  75. package/types/codegen/wasmx/wasmx/tx.rpc.msg.d.ts +0 -39
  76. package/types/codegen/wasmx/wasmx/v1/params.d.ts +0 -14
  77. package/types/codegen/wasmx/wasmx/v1/tx.amino.d.ts +0 -134
  78. package/types/codegen/wasmx/wasmx/v1/tx.registry.d.ts +0 -176
  79. package/types/codegen/wasmx/websrv/query.d.ts +0 -315
  80. package/types/codegen/wasmx/websrv/query.rpc.Query.d.ts +0 -40
  81. package/types/codegen/wasmx/websrv/tx.amino.d.ts +0 -41
  82. package/types/codegen/wasmx/websrv/tx.d.ts +0 -90
  83. package/types/codegen/wasmx/websrv/tx.rpc.msg.d.ts +0 -18
  84. package/types/codegen/wasmx/websrv/v1/genesis.d.ts +0 -17
  85. package/types/codegen/wasmx/websrv/v1/params.d.ts +0 -16
  86. package/types/codegen/wasmx/websrv/v1/proposal.d.ts +0 -65
  87. package/types/codegen/wasmx/websrv/v1/tx.registry.d.ts +0 -76
  88. /package/main/codegen/{wasmx → mythos}/index.js +0 -0
  89. /package/main/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
  90. /package/main/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
  91. /package/main/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
  92. /package/main/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
  93. /package/main/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
  94. /package/main/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
  95. /package/module/codegen/{wasmx → mythos}/index.js +0 -0
  96. /package/module/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
  97. /package/module/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
  98. /package/module/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
  99. /package/module/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
  100. /package/module/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
  101. /package/module/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
  102. /package/src/codegen/{wasmx → mythos}/index.ts +0 -0
  103. /package/src/codegen/{wasmx → mythos}/wasmx/v1/params.ts +0 -0
  104. /package/src/codegen/{wasmx → mythos}/websrv/v1/genesis.ts +0 -0
  105. /package/src/codegen/{wasmx → mythos}/websrv/v1/params.ts +0 -0
  106. /package/src/codegen/{wasmx → mythos}/websrv/v1/proposal.ts +0 -0
  107. /package/src/codegen/{wasmx → mythos}/websrv/v1/query.ts +0 -0
  108. /package/src/codegen/{wasmx → mythos}/websrv/v1/tx.ts +0 -0
  109. /package/types/codegen/{wasmx → mythos}/wasmx/v1/contract.d.ts +0 -0
  110. /package/types/codegen/{wasmx → mythos}/wasmx/v1/genesis.d.ts +0 -0
  111. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
  112. /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.d.ts +0 -0
  113. /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.d.ts +0 -0
  114. /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.d.ts +0 -0
  115. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
  116. /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.d.ts +0 -0
  117. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
  118. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
  119. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
  120. /package/types/codegen/{wasmx → mythos}/websrv/v1/query.d.ts +0 -0
  121. /package/types/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.d.ts +0 -0
  122. /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.d.ts +0 -0
  123. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.d.ts +0 -0
  124. /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { MsgStoreCode, MsgStoreCodeEvm, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
2
- export const registry = [["/wasmx.wasmx.v1.MsgStoreCode", MsgStoreCode], ["/wasmx.wasmx.v1.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/wasmx.wasmx.v1.MsgInstantiateContract", MsgInstantiateContract], ["/wasmx.wasmx.v1.MsgInstantiateContract2", MsgInstantiateContract2], ["/wasmx.wasmx.v1.MsgExecuteContract", MsgExecuteContract], ["/wasmx.wasmx.v1.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/wasmx.wasmx.v1.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/wasmx.wasmx.v1.MsgCompileContract", MsgCompileContract]];
2
+ export const registry = [["/mythos.wasmx.v1.MsgStoreCode", MsgStoreCode], ["/mythos.wasmx.v1.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/mythos.wasmx.v1.MsgInstantiateContract", MsgInstantiateContract], ["/mythos.wasmx.v1.MsgInstantiateContract2", MsgInstantiateContract2], ["/mythos.wasmx.v1.MsgExecuteContract", MsgExecuteContract], ["/mythos.wasmx.v1.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/mythos.wasmx.v1.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/mythos.wasmx.v1.MsgCompileContract", MsgCompileContract]];
3
3
  export const load = protoRegistry => {
4
4
  registry.forEach(([typeUrl, mod]) => {
5
5
  protoRegistry.register(typeUrl, mod);
@@ -9,49 +9,49 @@ export const MessageComposer = {
9
9
  encoded: {
10
10
  storeCode(value) {
11
11
  return {
12
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
12
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
13
13
  value: MsgStoreCode.encode(value).finish()
14
14
  };
15
15
  },
16
16
  storeCodeEvm(value) {
17
17
  return {
18
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
18
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
19
19
  value: MsgStoreCodeEvm.encode(value).finish()
20
20
  };
21
21
  },
22
22
  instantiateContract(value) {
23
23
  return {
24
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
24
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
25
25
  value: MsgInstantiateContract.encode(value).finish()
26
26
  };
27
27
  },
28
28
  instantiateContract2(value) {
29
29
  return {
30
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
30
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
31
31
  value: MsgInstantiateContract2.encode(value).finish()
32
32
  };
33
33
  },
34
34
  executeContract(value) {
35
35
  return {
36
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
36
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
37
37
  value: MsgExecuteContract.encode(value).finish()
38
38
  };
39
39
  },
40
40
  executeWithOriginContract(value) {
41
41
  return {
42
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
42
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
43
43
  value: MsgExecuteWithOriginContract.encode(value).finish()
44
44
  };
45
45
  },
46
46
  executeDelegateContract(value) {
47
47
  return {
48
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
48
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
49
49
  value: MsgExecuteDelegateContract.encode(value).finish()
50
50
  };
51
51
  },
52
52
  compileContract(value) {
53
53
  return {
54
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
54
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
55
55
  value: MsgCompileContract.encode(value).finish()
56
56
  };
57
57
  }
@@ -59,49 +59,49 @@ export const MessageComposer = {
59
59
  withTypeUrl: {
60
60
  storeCode(value) {
61
61
  return {
62
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
62
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
63
63
  value
64
64
  };
65
65
  },
66
66
  storeCodeEvm(value) {
67
67
  return {
68
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
68
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
69
69
  value
70
70
  };
71
71
  },
72
72
  instantiateContract(value) {
73
73
  return {
74
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
74
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
75
75
  value
76
76
  };
77
77
  },
78
78
  instantiateContract2(value) {
79
79
  return {
80
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
80
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
81
81
  value
82
82
  };
83
83
  },
84
84
  executeContract(value) {
85
85
  return {
86
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
86
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
87
87
  value
88
88
  };
89
89
  },
90
90
  executeWithOriginContract(value) {
91
91
  return {
92
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
92
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
93
93
  value
94
94
  };
95
95
  },
96
96
  executeDelegateContract(value) {
97
97
  return {
98
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
98
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
99
99
  value
100
100
  };
101
101
  },
102
102
  compileContract(value) {
103
103
  return {
104
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
104
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
105
105
  value
106
106
  };
107
107
  }
@@ -109,49 +109,49 @@ export const MessageComposer = {
109
109
  toJSON: {
110
110
  storeCode(value) {
111
111
  return {
112
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
112
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
113
113
  value: MsgStoreCode.toJSON(value)
114
114
  };
115
115
  },
116
116
  storeCodeEvm(value) {
117
117
  return {
118
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
118
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
119
119
  value: MsgStoreCodeEvm.toJSON(value)
120
120
  };
121
121
  },
122
122
  instantiateContract(value) {
123
123
  return {
124
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
124
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
125
125
  value: MsgInstantiateContract.toJSON(value)
126
126
  };
127
127
  },
128
128
  instantiateContract2(value) {
129
129
  return {
130
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
130
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
131
131
  value: MsgInstantiateContract2.toJSON(value)
132
132
  };
133
133
  },
134
134
  executeContract(value) {
135
135
  return {
136
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
136
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
137
137
  value: MsgExecuteContract.toJSON(value)
138
138
  };
139
139
  },
140
140
  executeWithOriginContract(value) {
141
141
  return {
142
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
142
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
143
143
  value: MsgExecuteWithOriginContract.toJSON(value)
144
144
  };
145
145
  },
146
146
  executeDelegateContract(value) {
147
147
  return {
148
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
148
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
149
149
  value: MsgExecuteDelegateContract.toJSON(value)
150
150
  };
151
151
  },
152
152
  compileContract(value) {
153
153
  return {
154
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
154
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
155
155
  value: MsgCompileContract.toJSON(value)
156
156
  };
157
157
  }
@@ -159,49 +159,49 @@ export const MessageComposer = {
159
159
  fromJSON: {
160
160
  storeCode(value) {
161
161
  return {
162
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
162
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
163
163
  value: MsgStoreCode.fromJSON(value)
164
164
  };
165
165
  },
166
166
  storeCodeEvm(value) {
167
167
  return {
168
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
168
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
169
169
  value: MsgStoreCodeEvm.fromJSON(value)
170
170
  };
171
171
  },
172
172
  instantiateContract(value) {
173
173
  return {
174
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
174
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
175
175
  value: MsgInstantiateContract.fromJSON(value)
176
176
  };
177
177
  },
178
178
  instantiateContract2(value) {
179
179
  return {
180
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
180
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
181
181
  value: MsgInstantiateContract2.fromJSON(value)
182
182
  };
183
183
  },
184
184
  executeContract(value) {
185
185
  return {
186
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
186
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
187
187
  value: MsgExecuteContract.fromJSON(value)
188
188
  };
189
189
  },
190
190
  executeWithOriginContract(value) {
191
191
  return {
192
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
192
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
193
193
  value: MsgExecuteWithOriginContract.fromJSON(value)
194
194
  };
195
195
  },
196
196
  executeDelegateContract(value) {
197
197
  return {
198
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
198
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
199
199
  value: MsgExecuteDelegateContract.fromJSON(value)
200
200
  };
201
201
  },
202
202
  compileContract(value) {
203
203
  return {
204
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
204
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
205
205
  value: MsgCompileContract.fromJSON(value)
206
206
  };
207
207
  }
@@ -209,49 +209,49 @@ export const MessageComposer = {
209
209
  fromPartial: {
210
210
  storeCode(value) {
211
211
  return {
212
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
212
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
213
213
  value: MsgStoreCode.fromPartial(value)
214
214
  };
215
215
  },
216
216
  storeCodeEvm(value) {
217
217
  return {
218
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
218
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
219
219
  value: MsgStoreCodeEvm.fromPartial(value)
220
220
  };
221
221
  },
222
222
  instantiateContract(value) {
223
223
  return {
224
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
224
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
225
225
  value: MsgInstantiateContract.fromPartial(value)
226
226
  };
227
227
  },
228
228
  instantiateContract2(value) {
229
229
  return {
230
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
230
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
231
231
  value: MsgInstantiateContract2.fromPartial(value)
232
232
  };
233
233
  },
234
234
  executeContract(value) {
235
235
  return {
236
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
236
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
237
237
  value: MsgExecuteContract.fromPartial(value)
238
238
  };
239
239
  },
240
240
  executeWithOriginContract(value) {
241
241
  return {
242
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
242
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
243
243
  value: MsgExecuteWithOriginContract.fromPartial(value)
244
244
  };
245
245
  },
246
246
  executeDelegateContract(value) {
247
247
  return {
248
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
248
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
249
249
  value: MsgExecuteDelegateContract.fromPartial(value)
250
250
  };
251
251
  },
252
252
  compileContract(value) {
253
253
  return {
254
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
254
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
255
255
  value: MsgCompileContract.fromPartial(value)
256
256
  };
257
257
  }
@@ -18,42 +18,42 @@ export class MsgClientImpl {
18
18
  }
19
19
  storeCode(request) {
20
20
  const data = MsgStoreCode.encode(request).finish();
21
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCode", data);
21
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "StoreCode", data);
22
22
  return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data)));
23
23
  }
24
24
  storeCodeEvm(request) {
25
25
  const data = MsgStoreCodeEvm.encode(request).finish();
26
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCodeEvm", data);
26
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "StoreCodeEvm", data);
27
27
  return promise.then(data => MsgStoreCodeEvmResponse.decode(new _m0.Reader(data)));
28
28
  }
29
29
  instantiateContract(request) {
30
30
  const data = MsgInstantiateContract.encode(request).finish();
31
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract", data);
31
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "InstantiateContract", data);
32
32
  return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data)));
33
33
  }
34
34
  instantiateContract2(request) {
35
35
  const data = MsgInstantiateContract2.encode(request).finish();
36
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract2", data);
36
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "InstantiateContract2", data);
37
37
  return promise.then(data => MsgInstantiateContract2Response.decode(new _m0.Reader(data)));
38
38
  }
39
39
  executeContract(request) {
40
40
  const data = MsgExecuteContract.encode(request).finish();
41
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteContract", data);
41
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteContract", data);
42
42
  return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data)));
43
43
  }
44
44
  executeWithOriginContract(request) {
45
45
  const data = MsgExecuteWithOriginContract.encode(request).finish();
46
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteWithOriginContract", data);
46
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteWithOriginContract", data);
47
47
  return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data)));
48
48
  }
49
49
  executeDelegateContract(request) {
50
50
  const data = MsgExecuteDelegateContract.encode(request).finish();
51
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteDelegateContract", data);
51
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteDelegateContract", data);
52
52
  return promise.then(data => MsgExecuteDelegateContractResponse.decode(new _m0.Reader(data)));
53
53
  }
54
54
  compileContract(request) {
55
55
  const data = MsgCompileContract.encode(request).finish();
56
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "CompileContract", data);
56
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "CompileContract", data);
57
57
  return promise.then(data => MsgCompileContractResponse.decode(new _m0.Reader(data)));
58
58
  }
59
59
  }
@@ -18,39 +18,39 @@ export class QueryClientImpl {
18
18
  }
19
19
  httpGet(request) {
20
20
  const data = QueryHttpRequestGet.encode(request).finish();
21
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "HttpGet", data);
21
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "HttpGet", data);
22
22
  return promise.then(data => QueryHttpResponseGet.decode(new _m0.Reader(data)));
23
23
  }
24
24
  contractByRoute(request) {
25
25
  const data = QueryContractByRouteRequest.encode(request).finish();
26
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "ContractByRoute", data);
26
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "ContractByRoute", data);
27
27
  return promise.then(data => QueryContractByRouteResponse.decode(new _m0.Reader(data)));
28
28
  }
29
29
  routeByContract(request) {
30
30
  const data = QueryRouteByContractRequest.encode(request).finish();
31
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "RouteByContract", data);
31
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "RouteByContract", data);
32
32
  return promise.then(data => QueryRouteByContractResponse.decode(new _m0.Reader(data)));
33
33
  }
34
34
  params(request = {}) {
35
35
  const data = QueryParamsRequest.encode(request).finish();
36
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "Params", data);
36
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "Params", data);
37
37
  return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data)));
38
38
  }
39
39
  getAllOauthClients(request = {
40
40
  pagination: undefined
41
41
  }) {
42
42
  const data = QueryGetAllOauthClientsRequest.encode(request).finish();
43
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetAllOauthClients", data);
43
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetAllOauthClients", data);
44
44
  return promise.then(data => QueryGetAllOauthClientsResponse.decode(new _m0.Reader(data)));
45
45
  }
46
46
  getOauthClient(request) {
47
47
  const data = QueryGetOauthClientRequest.encode(request).finish();
48
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClient", data);
48
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetOauthClient", data);
49
49
  return promise.then(data => QueryGetOauthClientResponse.decode(new _m0.Reader(data)));
50
50
  }
51
51
  getOauthClientsByOwner(request) {
52
52
  const data = QueryGetOauthClientsByOwnerRequest.encode(request).finish();
53
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClientsByOwner", data);
53
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetOauthClientsByOwner", data);
54
54
  return promise.then(data => QueryGetOauthClientsByOwnerResponse.decode(new _m0.Reader(data)));
55
55
  }
56
56
  }
@@ -1,7 +1,7 @@
1
1
  import { Long } from "../../../helpers";
2
2
  export const AminoConverter = {
3
- "/wasmx.websrv.v1.MsgRegisterOAuthClient": {
4
- aminoType: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
3
+ "/mythos.websrv.v1.MsgRegisterOAuthClient": {
4
+ aminoType: "/mythos.websrv.v1.MsgRegisterOAuthClient",
5
5
  toAmino: ({
6
6
  owner,
7
7
  domain
@@ -21,8 +21,8 @@ export const AminoConverter = {
21
21
  };
22
22
  }
23
23
  },
24
- "/wasmx.websrv.v1.MsgEditOAuthClient": {
25
- aminoType: "/wasmx.websrv.v1.MsgEditOAuthClient",
24
+ "/mythos.websrv.v1.MsgEditOAuthClient": {
25
+ aminoType: "/mythos.websrv.v1.MsgEditOAuthClient",
26
26
  toAmino: ({
27
27
  owner,
28
28
  clientId,
@@ -46,8 +46,8 @@ export const AminoConverter = {
46
46
  };
47
47
  }
48
48
  },
49
- "/wasmx.websrv.v1.MsgDeregisterOAuthClient": {
50
- aminoType: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
49
+ "/mythos.websrv.v1.MsgDeregisterOAuthClient": {
50
+ aminoType: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
51
51
  toAmino: ({
52
52
  owner,
53
53
  clientId
@@ -1,5 +1,5 @@
1
1
  import { MsgRegisterOAuthClient, MsgEditOAuthClient, MsgDeregisterOAuthClient } from "./tx";
2
- export const registry = [["/wasmx.websrv.v1.MsgRegisterOAuthClient", MsgRegisterOAuthClient], ["/wasmx.websrv.v1.MsgEditOAuthClient", MsgEditOAuthClient], ["/wasmx.websrv.v1.MsgDeregisterOAuthClient", MsgDeregisterOAuthClient]];
2
+ export const registry = [["/mythos.websrv.v1.MsgRegisterOAuthClient", MsgRegisterOAuthClient], ["/mythos.websrv.v1.MsgEditOAuthClient", MsgEditOAuthClient], ["/mythos.websrv.v1.MsgDeregisterOAuthClient", MsgDeregisterOAuthClient]];
3
3
  export const load = protoRegistry => {
4
4
  registry.forEach(([typeUrl, mod]) => {
5
5
  protoRegistry.register(typeUrl, mod);
@@ -9,19 +9,19 @@ export const MessageComposer = {
9
9
  encoded: {
10
10
  registerOAuthClient(value) {
11
11
  return {
12
- typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
12
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
13
13
  value: MsgRegisterOAuthClient.encode(value).finish()
14
14
  };
15
15
  },
16
16
  editOAuthClient(value) {
17
17
  return {
18
- typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
18
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
19
19
  value: MsgEditOAuthClient.encode(value).finish()
20
20
  };
21
21
  },
22
22
  deregisterOAuthClient(value) {
23
23
  return {
24
- typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
24
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
25
25
  value: MsgDeregisterOAuthClient.encode(value).finish()
26
26
  };
27
27
  }
@@ -29,19 +29,19 @@ export const MessageComposer = {
29
29
  withTypeUrl: {
30
30
  registerOAuthClient(value) {
31
31
  return {
32
- typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
32
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
33
33
  value
34
34
  };
35
35
  },
36
36
  editOAuthClient(value) {
37
37
  return {
38
- typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
38
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
39
39
  value
40
40
  };
41
41
  },
42
42
  deregisterOAuthClient(value) {
43
43
  return {
44
- typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
44
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
45
45
  value
46
46
  };
47
47
  }
@@ -49,19 +49,19 @@ export const MessageComposer = {
49
49
  toJSON: {
50
50
  registerOAuthClient(value) {
51
51
  return {
52
- typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
52
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
53
53
  value: MsgRegisterOAuthClient.toJSON(value)
54
54
  };
55
55
  },
56
56
  editOAuthClient(value) {
57
57
  return {
58
- typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
58
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
59
59
  value: MsgEditOAuthClient.toJSON(value)
60
60
  };
61
61
  },
62
62
  deregisterOAuthClient(value) {
63
63
  return {
64
- typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
64
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
65
65
  value: MsgDeregisterOAuthClient.toJSON(value)
66
66
  };
67
67
  }
@@ -69,19 +69,19 @@ export const MessageComposer = {
69
69
  fromJSON: {
70
70
  registerOAuthClient(value) {
71
71
  return {
72
- typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
72
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
73
73
  value: MsgRegisterOAuthClient.fromJSON(value)
74
74
  };
75
75
  },
76
76
  editOAuthClient(value) {
77
77
  return {
78
- typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
78
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
79
79
  value: MsgEditOAuthClient.fromJSON(value)
80
80
  };
81
81
  },
82
82
  deregisterOAuthClient(value) {
83
83
  return {
84
- typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
84
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
85
85
  value: MsgDeregisterOAuthClient.fromJSON(value)
86
86
  };
87
87
  }
@@ -89,19 +89,19 @@ export const MessageComposer = {
89
89
  fromPartial: {
90
90
  registerOAuthClient(value) {
91
91
  return {
92
- typeUrl: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
92
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
93
93
  value: MsgRegisterOAuthClient.fromPartial(value)
94
94
  };
95
95
  },
96
96
  editOAuthClient(value) {
97
97
  return {
98
- typeUrl: "/wasmx.websrv.v1.MsgEditOAuthClient",
98
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
99
99
  value: MsgEditOAuthClient.fromPartial(value)
100
100
  };
101
101
  },
102
102
  deregisterOAuthClient(value) {
103
103
  return {
104
- typeUrl: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
104
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
105
105
  value: MsgDeregisterOAuthClient.fromPartial(value)
106
106
  };
107
107
  }
@@ -13,17 +13,17 @@ export class MsgClientImpl {
13
13
  }
14
14
  registerOAuthClient(request) {
15
15
  const data = MsgRegisterOAuthClient.encode(request).finish();
16
- const promise = this.rpc.request("wasmx.websrv.v1.Msg", "RegisterOAuthClient", data);
16
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "RegisterOAuthClient", data);
17
17
  return promise.then(data => MsgRegisterOAuthClientResponse.decode(new _m0.Reader(data)));
18
18
  }
19
19
  editOAuthClient(request) {
20
20
  const data = MsgEditOAuthClient.encode(request).finish();
21
- const promise = this.rpc.request("wasmx.websrv.v1.Msg", "EditOAuthClient", data);
21
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "EditOAuthClient", data);
22
22
  return promise.then(data => MsgEditOAuthClientResponse.decode(new _m0.Reader(data)));
23
23
  }
24
24
  deregisterOAuthClient(request) {
25
25
  const data = MsgDeregisterOAuthClient.encode(request).finish();
26
- const promise = this.rpc.request("wasmx.websrv.v1.Msg", "DeregisterOAuthClient", data);
26
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "DeregisterOAuthClient", data);
27
27
  return promise.then(data => MsgDeregisterOAuthClientResponse.decode(new _m0.Reader(data)));
28
28
  }
29
29
  }
@@ -1,26 +1,26 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
3
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
- import * as _18 from "./abci/types";
5
- import * as _19 from "./crypto/keys";
6
- import * as _20 from "./crypto/proof";
7
- import * as _21 from "./libs/bits/types";
8
- import * as _22 from "./p2p/types";
9
- import * as _23 from "./types/block";
10
- import * as _24 from "./types/evidence";
11
- import * as _25 from "./types/params";
12
- import * as _26 from "./types/types";
13
- import * as _27 from "./types/validator";
14
- import * as _28 from "./version/types";
4
+ import * as _28 from "./abci/types";
5
+ import * as _29 from "./crypto/keys";
6
+ import * as _30 from "./crypto/proof";
7
+ import * as _31 from "./libs/bits/types";
8
+ import * as _32 from "./p2p/types";
9
+ import * as _33 from "./types/block";
10
+ import * as _34 from "./types/evidence";
11
+ import * as _35 from "./types/params";
12
+ import * as _36 from "./types/types";
13
+ import * as _37 from "./types/validator";
14
+ import * as _38 from "./version/types";
15
15
  export let tendermint;
16
16
  (function (_tendermint) {
17
- const abci = _tendermint.abci = _objectSpread({}, _18);
18
- const crypto = _tendermint.crypto = _objectSpread(_objectSpread({}, _19), _20);
17
+ const abci = _tendermint.abci = _objectSpread({}, _28);
18
+ const crypto = _tendermint.crypto = _objectSpread(_objectSpread({}, _29), _30);
19
19
  let libs;
20
20
  (function (_libs) {
21
- const bits = _libs.bits = _objectSpread({}, _21);
21
+ const bits = _libs.bits = _objectSpread({}, _31);
22
22
  })(libs || (libs = _tendermint.libs || (_tendermint.libs = {})));
23
- const p2p = _tendermint.p2p = _objectSpread({}, _22);
24
- const types = _tendermint.types = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _23), _24), _25), _26), _27);
25
- const version = _tendermint.version = _objectSpread({}, _28);
23
+ const p2p = _tendermint.p2p = _objectSpread({}, _32);
24
+ const types = _tendermint.types = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _33), _34), _35), _36), _37);
25
+ const version = _tendermint.version = _objectSpread({}, _38);
26
26
  })(tendermint || (tendermint = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark-us/wasmxjs",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Typescript Protobuf Messages for Mythos",
5
5
  "author": "Loredana Cirstea <loredana.cirstea@gmail.com>",
6
6
  "homepage": "https://github.com/ark-us/wasmxjs#readme",
@@ -7,8 +7,8 @@
7
7
  export * from "./cosmos/bundle";
8
8
  export * from "./gogoproto/bundle";
9
9
  export * from "./google/bundle";
10
+ export * from "./mythos/bundle";
11
+ export * from "./mythos/client";
10
12
  export * from "./tendermint/bundle";
11
- export * from "./wasmx/bundle";
12
- export * from "./wasmx/client";
13
- export * from "./wasmx/index";
13
+ export * from "./mythos/index";
14
14
  export * from "./extern";