decentrand 3.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +56 -0
  3. package/abi/EstateRegistry.json +1226 -0
  4. package/abi/LANDRegistry.json +1372 -0
  5. package/abi/MANAToken.json +410 -0
  6. package/dist/commands/build.d.ts +3 -0
  7. package/dist/commands/build.d.ts.map +1 -0
  8. package/dist/commands/build.js +108 -0
  9. package/dist/commands/build.js.map +1 -0
  10. package/dist/commands/coords.d.ts +3 -0
  11. package/dist/commands/coords.d.ts.map +1 -0
  12. package/dist/commands/coords.js +122 -0
  13. package/dist/commands/coords.js.map +1 -0
  14. package/dist/commands/deploy.d.ts +4 -0
  15. package/dist/commands/deploy.d.ts.map +1 -0
  16. package/dist/commands/deploy.js +280 -0
  17. package/dist/commands/deploy.js.map +1 -0
  18. package/dist/commands/export.d.ts +3 -0
  19. package/dist/commands/export.d.ts.map +1 -0
  20. package/dist/commands/export.js +20 -0
  21. package/dist/commands/export.js.map +1 -0
  22. package/dist/commands/index.d.ts +3 -0
  23. package/dist/commands/index.d.ts.map +1 -0
  24. package/dist/commands/index.js +19 -0
  25. package/dist/commands/index.js.map +1 -0
  26. package/dist/commands/info.d.ts +3 -0
  27. package/dist/commands/info.d.ts.map +1 -0
  28. package/dist/commands/info.js +186 -0
  29. package/dist/commands/info.js.map +1 -0
  30. package/dist/commands/init/help.d.ts +12 -0
  31. package/dist/commands/init/help.d.ts.map +1 -0
  32. package/dist/commands/init/help.js +41 -0
  33. package/dist/commands/init/help.js.map +1 -0
  34. package/dist/commands/init/index.d.ts +3 -0
  35. package/dist/commands/init/index.d.ts.map +1 -0
  36. package/dist/commands/init/index.js +96 -0
  37. package/dist/commands/init/index.js.map +1 -0
  38. package/dist/commands/init/library.d.ts +1 -0
  39. package/dist/commands/init/library.d.ts.map +1 -0
  40. package/dist/commands/init/library.js +2 -0
  41. package/dist/commands/init/library.js.map +1 -0
  42. package/dist/commands/init/repositories.d.ts +11 -0
  43. package/dist/commands/init/repositories.d.ts.map +1 -0
  44. package/dist/commands/init/repositories.js +40 -0
  45. package/dist/commands/init/repositories.js.map +1 -0
  46. package/dist/commands/init/scene.d.ts +3 -0
  47. package/dist/commands/init/scene.d.ts.map +1 -0
  48. package/dist/commands/init/scene.js +56 -0
  49. package/dist/commands/init/scene.js.map +1 -0
  50. package/dist/commands/init/types.d.ts +22 -0
  51. package/dist/commands/init/types.d.ts.map +1 -0
  52. package/dist/commands/init/types.js +3 -0
  53. package/dist/commands/init/types.js.map +1 -0
  54. package/dist/commands/init/utils.d.ts +6 -0
  55. package/dist/commands/init/utils.d.ts.map +1 -0
  56. package/dist/commands/init/utils.js +76 -0
  57. package/dist/commands/init/utils.js.map +1 -0
  58. package/dist/commands/install.d.ts +3 -0
  59. package/dist/commands/install.d.ts.map +1 -0
  60. package/dist/commands/install.js +92 -0
  61. package/dist/commands/install.js.map +1 -0
  62. package/dist/commands/pack.d.ts +3 -0
  63. package/dist/commands/pack.d.ts.map +1 -0
  64. package/dist/commands/pack.js +102 -0
  65. package/dist/commands/pack.js.map +1 -0
  66. package/dist/commands/start.d.ts +3 -0
  67. package/dist/commands/start.d.ts.map +1 -0
  68. package/dist/commands/start.js +235 -0
  69. package/dist/commands/start.js.map +1 -0
  70. package/dist/commands/status.d.ts +3 -0
  71. package/dist/commands/status.d.ts.map +1 -0
  72. package/dist/commands/status.js +80 -0
  73. package/dist/commands/status.js.map +1 -0
  74. package/dist/commands/workspace.d.ts +3 -0
  75. package/dist/commands/workspace.d.ts.map +1 -0
  76. package/dist/commands/workspace.js +81 -0
  77. package/dist/commands/workspace.js.map +1 -0
  78. package/dist/commands/world-acl.d.ts +22 -0
  79. package/dist/commands/world-acl.d.ts.map +1 -0
  80. package/dist/commands/world-acl.js +262 -0
  81. package/dist/commands/world-acl.js.map +1 -0
  82. package/dist/config.d.ts +31 -0
  83. package/dist/config.d.ts.map +1 -0
  84. package/dist/config.js +128 -0
  85. package/dist/config.js.map +1 -0
  86. package/dist/index.d.ts +3 -0
  87. package/dist/index.d.ts.map +1 -0
  88. package/dist/index.js +21 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/lib/API.d.ts +23 -0
  91. package/dist/lib/API.d.ts.map +1 -0
  92. package/dist/lib/API.js +175 -0
  93. package/dist/lib/API.js.map +1 -0
  94. package/dist/lib/Decentraland.d.ts +75 -0
  95. package/dist/lib/Decentraland.d.ts.map +1 -0
  96. package/dist/lib/Decentraland.js +227 -0
  97. package/dist/lib/Decentraland.js.map +1 -0
  98. package/dist/lib/Ethereum.d.ts +52 -0
  99. package/dist/lib/Ethereum.d.ts.map +1 -0
  100. package/dist/lib/Ethereum.js +245 -0
  101. package/dist/lib/Ethereum.js.map +1 -0
  102. package/dist/lib/IEthereumDataProvider.d.ts +17 -0
  103. package/dist/lib/IEthereumDataProvider.d.ts.map +1 -0
  104. package/dist/lib/IEthereumDataProvider.js +3 -0
  105. package/dist/lib/IEthereumDataProvider.js.map +1 -0
  106. package/dist/lib/LinkerAPI.d.ts +28 -0
  107. package/dist/lib/LinkerAPI.d.ts.map +1 -0
  108. package/dist/lib/LinkerAPI.js +151 -0
  109. package/dist/lib/LinkerAPI.js.map +1 -0
  110. package/dist/lib/Preview.d.ts +17 -0
  111. package/dist/lib/Preview.d.ts.map +1 -0
  112. package/dist/lib/Preview.js +113 -0
  113. package/dist/lib/Preview.js.map +1 -0
  114. package/dist/lib/Project.d.ts +152 -0
  115. package/dist/lib/Project.d.ts.map +1 -0
  116. package/dist/lib/Project.js +446 -0
  117. package/dist/lib/Project.js.map +1 -0
  118. package/dist/lib/Workspace.d.ts +21 -0
  119. package/dist/lib/Workspace.d.ts.map +1 -0
  120. package/dist/lib/Workspace.js +140 -0
  121. package/dist/lib/Workspace.js.map +1 -0
  122. package/dist/lib/WorldsContentServer.d.ts +27 -0
  123. package/dist/lib/WorldsContentServer.d.ts.map +1 -0
  124. package/dist/lib/WorldsContentServer.js +79 -0
  125. package/dist/lib/WorldsContentServer.js.map +1 -0
  126. package/dist/lib/WorldsContentServerLinkerAPI.d.ts +21 -0
  127. package/dist/lib/WorldsContentServerLinkerAPI.d.ts.map +1 -0
  128. package/dist/lib/WorldsContentServerLinkerAPI.js +105 -0
  129. package/dist/lib/WorldsContentServerLinkerAPI.js.map +1 -0
  130. package/dist/lib/adapters/proto/broker.d.ts +2 -0
  131. package/dist/lib/adapters/proto/broker.d.ts.map +1 -0
  132. package/dist/lib/adapters/proto/broker.js +2189 -0
  133. package/dist/lib/adapters/proto/broker.js.map +1 -0
  134. package/dist/lib/adapters/proto/comms.d.ts +2 -0
  135. package/dist/lib/adapters/proto/comms.d.ts.map +1 -0
  136. package/dist/lib/adapters/proto/comms.js +965 -0
  137. package/dist/lib/adapters/proto/comms.js.map +1 -0
  138. package/dist/lib/adapters/ws.d.ts +12 -0
  139. package/dist/lib/adapters/ws.d.ts.map +1 -0
  140. package/dist/lib/adapters/ws.js +20 -0
  141. package/dist/lib/adapters/ws.js.map +1 -0
  142. package/dist/lib/content/ContentService.d.ts +27 -0
  143. package/dist/lib/content/ContentService.d.ts.map +1 -0
  144. package/dist/lib/content/ContentService.js +60 -0
  145. package/dist/lib/content/ContentService.js.map +1 -0
  146. package/dist/lib/content/types.d.ts +12 -0
  147. package/dist/lib/content/types.d.ts.map +1 -0
  148. package/dist/lib/content/types.js +3 -0
  149. package/dist/lib/content/types.js.map +1 -0
  150. package/dist/lib/controllers/bff.d.ts +8 -0
  151. package/dist/lib/controllers/bff.d.ts.map +1 -0
  152. package/dist/lib/controllers/bff.js +58 -0
  153. package/dist/lib/controllers/bff.js.map +1 -0
  154. package/dist/lib/controllers/debugger.d.ts +4 -0
  155. package/dist/lib/controllers/debugger.d.ts.map +1 -0
  156. package/dist/lib/controllers/debugger.js +42 -0
  157. package/dist/lib/controllers/debugger.js.map +1 -0
  158. package/dist/lib/controllers/ecs6-endpoints.d.ts +11 -0
  159. package/dist/lib/controllers/ecs6-endpoints.d.ts.map +1 -0
  160. package/dist/lib/controllers/ecs6-endpoints.js +543 -0
  161. package/dist/lib/controllers/ecs6-endpoints.js.map +1 -0
  162. package/dist/lib/controllers/legacy-comms-v1.d.ts +7 -0
  163. package/dist/lib/controllers/legacy-comms-v1.d.ts.map +1 -0
  164. package/dist/lib/controllers/legacy-comms-v1.js +98 -0
  165. package/dist/lib/controllers/legacy-comms-v1.js.map +1 -0
  166. package/dist/lib/smartItems/buildSmartItem.d.ts +2 -0
  167. package/dist/lib/smartItems/buildSmartItem.d.ts.map +1 -0
  168. package/dist/lib/smartItems/buildSmartItem.js +18 -0
  169. package/dist/lib/smartItems/buildSmartItem.js.map +1 -0
  170. package/dist/lib/smartItems/packProject.d.ts +2 -0
  171. package/dist/lib/smartItems/packProject.d.ts.map +1 -0
  172. package/dist/lib/smartItems/packProject.js +31 -0
  173. package/dist/lib/smartItems/packProject.js.map +1 -0
  174. package/dist/main.d.ts +2 -0
  175. package/dist/main.d.ts.map +1 -0
  176. package/dist/main.js +151 -0
  177. package/dist/main.js.map +1 -0
  178. package/dist/project/installDependencies.d.ts +2 -0
  179. package/dist/project/installDependencies.d.ts.map +1 -0
  180. package/dist/project/installDependencies.js +57 -0
  181. package/dist/project/installDependencies.js.map +1 -0
  182. package/dist/project/isTypescriptProject.d.ts +2 -0
  183. package/dist/project/isTypescriptProject.d.ts.map +1 -0
  184. package/dist/project/isTypescriptProject.js +14 -0
  185. package/dist/project/isTypescriptProject.js.map +1 -0
  186. package/dist/project/projectInfo.d.ts +8 -0
  187. package/dist/project/projectInfo.d.ts.map +1 -0
  188. package/dist/project/projectInfo.js +89 -0
  189. package/dist/project/projectInfo.js.map +1 -0
  190. package/dist/project/updateBundleDependenciesField.d.ts +4 -0
  191. package/dist/project/updateBundleDependenciesField.d.ts.map +1 -0
  192. package/dist/project/updateBundleDependenciesField.js +67 -0
  193. package/dist/project/updateBundleDependenciesField.js.map +1 -0
  194. package/dist/sceneJson/index.d.ts +4 -0
  195. package/dist/sceneJson/index.d.ts.map +1 -0
  196. package/dist/sceneJson/index.js +24 -0
  197. package/dist/sceneJson/index.js.map +1 -0
  198. package/dist/sceneJson/lintSceneFile.d.ts +2 -0
  199. package/dist/sceneJson/lintSceneFile.d.ts.map +1 -0
  200. package/dist/sceneJson/lintSceneFile.js +13 -0
  201. package/dist/sceneJson/lintSceneFile.js.map +1 -0
  202. package/dist/sceneJson/utils.d.ts +3 -0
  203. package/dist/sceneJson/utils.d.ts.map +1 -0
  204. package/dist/sceneJson/utils.js +66 -0
  205. package/dist/sceneJson/utils.js.map +1 -0
  206. package/dist/utils/analytics.d.ts +42 -0
  207. package/dist/utils/analytics.d.ts.map +1 -0
  208. package/dist/utils/analytics.js +111 -0
  209. package/dist/utils/analytics.js.map +1 -0
  210. package/dist/utils/buildProject.d.ts +2 -0
  211. package/dist/utils/buildProject.d.ts.map +1 -0
  212. package/dist/utils/buildProject.js +26 -0
  213. package/dist/utils/buildProject.js.map +1 -0
  214. package/dist/utils/catalystPointers.d.ts +20 -0
  215. package/dist/utils/catalystPointers.d.ts.map +1 -0
  216. package/dist/utils/catalystPointers.js +51 -0
  217. package/dist/utils/catalystPointers.js.map +1 -0
  218. package/dist/utils/coordinateHelpers.d.ts +65 -0
  219. package/dist/utils/coordinateHelpers.d.ts.map +1 -0
  220. package/dist/utils/coordinateHelpers.js +126 -0
  221. package/dist/utils/coordinateHelpers.js.map +1 -0
  222. package/dist/utils/download.d.ts +3 -0
  223. package/dist/utils/download.d.ts.map +1 -0
  224. package/dist/utils/download.js +42 -0
  225. package/dist/utils/download.js.map +1 -0
  226. package/dist/utils/env.d.ts +6 -0
  227. package/dist/utils/env.d.ts.map +1 -0
  228. package/dist/utils/env.js +31 -0
  229. package/dist/utils/env.js.map +1 -0
  230. package/dist/utils/errors.d.ts +18 -0
  231. package/dist/utils/errors.d.ts.map +1 -0
  232. package/dist/utils/errors.js +27 -0
  233. package/dist/utils/errors.js.map +1 -0
  234. package/dist/utils/filesystem.d.ts +41 -0
  235. package/dist/utils/filesystem.d.ts.map +1 -0
  236. package/dist/utils/filesystem.js +84 -0
  237. package/dist/utils/filesystem.js.map +1 -0
  238. package/dist/utils/getDummyMappings.d.ts +3 -0
  239. package/dist/utils/getDummyMappings.d.ts.map +1 -0
  240. package/dist/utils/getDummyMappings.js +19 -0
  241. package/dist/utils/getDummyMappings.js.map +1 -0
  242. package/dist/utils/getProjectFilePaths.d.ts +2 -0
  243. package/dist/utils/getProjectFilePaths.d.ts.map +1 -0
  244. package/dist/utils/getProjectFilePaths.js +40 -0
  245. package/dist/utils/getProjectFilePaths.js.map +1 -0
  246. package/dist/utils/index.d.ts +11 -0
  247. package/dist/utils/index.d.ts.map +1 -0
  248. package/dist/utils/index.js +33 -0
  249. package/dist/utils/index.js.map +1 -0
  250. package/dist/utils/installedDependencies.d.ts +6 -0
  251. package/dist/utils/installedDependencies.d.ts.map +1 -0
  252. package/dist/utils/installedDependencies.js +44 -0
  253. package/dist/utils/installedDependencies.js.map +1 -0
  254. package/dist/utils/land.d.ts +4 -0
  255. package/dist/utils/land.d.ts.map +1 -0
  256. package/dist/utils/land.js +35 -0
  257. package/dist/utils/land.js.map +1 -0
  258. package/dist/utils/logging.d.ts +19 -0
  259. package/dist/utils/logging.d.ts.map +1 -0
  260. package/dist/utils/logging.js +97 -0
  261. package/dist/utils/logging.js.map +1 -0
  262. package/dist/utils/moduleHelpers.d.ts +22 -0
  263. package/dist/utils/moduleHelpers.d.ts.map +1 -0
  264. package/dist/utils/moduleHelpers.js +163 -0
  265. package/dist/utils/moduleHelpers.js.map +1 -0
  266. package/dist/utils/nodeAndNpmVersion.d.ts +5 -0
  267. package/dist/utils/nodeAndNpmVersion.d.ts.map +1 -0
  268. package/dist/utils/nodeAndNpmVersion.js +64 -0
  269. package/dist/utils/nodeAndNpmVersion.js.map +1 -0
  270. package/dist/utils/pathsExistOnDir.d.ts +2 -0
  271. package/dist/utils/pathsExistOnDir.d.ts.map +1 -0
  272. package/dist/utils/pathsExistOnDir.js +12 -0
  273. package/dist/utils/pathsExistOnDir.js.map +1 -0
  274. package/dist/utils/project.d.ts +29 -0
  275. package/dist/utils/project.d.ts.map +1 -0
  276. package/dist/utils/project.js +48 -0
  277. package/dist/utils/project.js.map +1 -0
  278. package/dist/utils/shellCommands.d.ts +19 -0
  279. package/dist/utils/shellCommands.d.ts.map +1 -0
  280. package/dist/utils/shellCommands.js +73 -0
  281. package/dist/utils/shellCommands.js.map +1 -0
  282. package/dist/utils/spinner.d.ts +6 -0
  283. package/dist/utils/spinner.d.ts.map +1 -0
  284. package/dist/utils/spinner.js +58 -0
  285. package/dist/utils/spinner.js.map +1 -0
  286. package/package.json +115 -0
  287. package/samples/workspace/Dockerfile +21 -0
  288. package/samples/workspace/package.json +16 -0
  289. package/sbzkmrj2.cjs +1 -0
@@ -0,0 +1,410 @@
1
+ {
2
+ "contractName": "MANAToken",
3
+ "abi": [
4
+ {
5
+ "constant": true,
6
+ "inputs": [],
7
+ "name": "mintingFinished",
8
+ "outputs": [
9
+ {
10
+ "name": "",
11
+ "type": "bool"
12
+ }
13
+ ],
14
+ "payable": false,
15
+ "stateMutability": "view",
16
+ "type": "function"
17
+ },
18
+ {
19
+ "constant": true,
20
+ "inputs": [],
21
+ "name": "name",
22
+ "outputs": [
23
+ {
24
+ "name": "",
25
+ "type": "string"
26
+ }
27
+ ],
28
+ "payable": false,
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "constant": false,
34
+ "inputs": [
35
+ {
36
+ "name": "_spender",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "name": "_value",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "name": "approve",
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "bool"
49
+ }
50
+ ],
51
+ "payable": false,
52
+ "stateMutability": "nonpayable",
53
+ "type": "function"
54
+ },
55
+ {
56
+ "constant": true,
57
+ "inputs": [],
58
+ "name": "totalSupply",
59
+ "outputs": [
60
+ {
61
+ "name": "",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "payable": false,
66
+ "stateMutability": "view",
67
+ "type": "function"
68
+ },
69
+ {
70
+ "constant": false,
71
+ "inputs": [
72
+ {
73
+ "name": "_from",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "name": "_to",
78
+ "type": "address"
79
+ },
80
+ {
81
+ "name": "_value",
82
+ "type": "uint256"
83
+ }
84
+ ],
85
+ "name": "transferFrom",
86
+ "outputs": [
87
+ {
88
+ "name": "",
89
+ "type": "bool"
90
+ }
91
+ ],
92
+ "payable": false,
93
+ "stateMutability": "nonpayable",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "constant": true,
98
+ "inputs": [],
99
+ "name": "decimals",
100
+ "outputs": [
101
+ {
102
+ "name": "",
103
+ "type": "uint8"
104
+ }
105
+ ],
106
+ "payable": false,
107
+ "stateMutability": "view",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "constant": false,
112
+ "inputs": [],
113
+ "name": "unpause",
114
+ "outputs": [
115
+ {
116
+ "name": "",
117
+ "type": "bool"
118
+ }
119
+ ],
120
+ "payable": false,
121
+ "stateMutability": "nonpayable",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "constant": false,
126
+ "inputs": [
127
+ {
128
+ "name": "_to",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "name": "_amount",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "mint",
137
+ "outputs": [
138
+ {
139
+ "name": "",
140
+ "type": "bool"
141
+ }
142
+ ],
143
+ "payable": false,
144
+ "stateMutability": "nonpayable",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "constant": false,
149
+ "inputs": [
150
+ {
151
+ "name": "_value",
152
+ "type": "uint256"
153
+ }
154
+ ],
155
+ "name": "burn",
156
+ "outputs": [],
157
+ "payable": false,
158
+ "stateMutability": "nonpayable",
159
+ "type": "function"
160
+ },
161
+ {
162
+ "constant": true,
163
+ "inputs": [],
164
+ "name": "paused",
165
+ "outputs": [
166
+ {
167
+ "name": "",
168
+ "type": "bool"
169
+ }
170
+ ],
171
+ "payable": false,
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "constant": false,
177
+ "inputs": [],
178
+ "name": "finishMinting",
179
+ "outputs": [
180
+ {
181
+ "name": "",
182
+ "type": "bool"
183
+ }
184
+ ],
185
+ "payable": false,
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "constant": false,
191
+ "inputs": [],
192
+ "name": "pause",
193
+ "outputs": [
194
+ {
195
+ "name": "",
196
+ "type": "bool"
197
+ }
198
+ ],
199
+ "payable": false,
200
+ "stateMutability": "nonpayable",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "constant": true,
205
+ "inputs": [],
206
+ "name": "owner",
207
+ "outputs": [
208
+ {
209
+ "name": "",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "payable": false,
214
+ "stateMutability": "view",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "constant": true,
219
+ "inputs": [],
220
+ "name": "symbol",
221
+ "outputs": [
222
+ {
223
+ "name": "",
224
+ "type": "string"
225
+ }
226
+ ],
227
+ "payable": false,
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "constant": true,
233
+ "inputs": [
234
+ {
235
+ "name": "_owner",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "name": "_spender",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "name": "allowance",
244
+ "outputs": [
245
+ {
246
+ "name": "remaining",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "payable": false,
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "constant": false,
256
+ "inputs": [
257
+ {
258
+ "name": "newOwner",
259
+ "type": "address"
260
+ }
261
+ ],
262
+ "name": "transferOwnership",
263
+ "outputs": [],
264
+ "payable": false,
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "anonymous": false,
270
+ "inputs": [
271
+ {
272
+ "indexed": true,
273
+ "name": "to",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "name": "amount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "Mint",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [],
288
+ "name": "MintFinished",
289
+ "type": "event"
290
+ },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [],
294
+ "name": "Pause",
295
+ "type": "event"
296
+ },
297
+ {
298
+ "anonymous": false,
299
+ "inputs": [],
300
+ "name": "Unpause",
301
+ "type": "event"
302
+ },
303
+ {
304
+ "anonymous": false,
305
+ "inputs": [
306
+ {
307
+ "indexed": true,
308
+ "name": "burner",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "name": "value",
314
+ "type": "uint256"
315
+ }
316
+ ],
317
+ "name": "Burn",
318
+ "type": "event"
319
+ },
320
+ {
321
+ "anonymous": false,
322
+ "inputs": [
323
+ {
324
+ "indexed": true,
325
+ "name": "owner",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "indexed": true,
330
+ "name": "spender",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "name": "value",
336
+ "type": "uint256"
337
+ }
338
+ ],
339
+ "name": "Approval",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": true,
347
+ "name": "from",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "indexed": true,
352
+ "name": "to",
353
+ "type": "address"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "name": "value",
358
+ "type": "uint256"
359
+ }
360
+ ],
361
+ "name": "Transfer",
362
+ "type": "event"
363
+ },
364
+ {
365
+ "constant": true,
366
+ "inputs": [
367
+ {
368
+ "name": "_owner",
369
+ "type": "address"
370
+ }
371
+ ],
372
+ "name": "balanceOf",
373
+ "outputs": [
374
+ {
375
+ "name": "balance",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "payable": false,
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "constant": false,
385
+ "inputs": [
386
+ {
387
+ "name": "_to",
388
+ "type": "address"
389
+ },
390
+ {
391
+ "name": "_value",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "name": "transfer",
396
+ "outputs": [
397
+ {
398
+ "name": "",
399
+ "type": "bool"
400
+ }
401
+ ],
402
+ "payable": false,
403
+ "stateMutability": "nonpayable",
404
+ "type": "function"
405
+ }
406
+ ],
407
+ "networks": {},
408
+ "schemaVersion": "1.0.1",
409
+ "updatedAt": "2018-02-20T20:47:14.751Z"
410
+ }
@@ -0,0 +1,3 @@
1
+ export declare const help: () => string;
2
+ export declare function main(): Promise<number>;
3
+ //# sourceMappingURL=build.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,IAAI,cAgBhB,CAAA;AAED,wBAAsB,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAgF5C"}
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.main = exports.help = void 0;
7
+ const arg_1 = __importDefault(require("arg"));
8
+ const chalk_1 = __importDefault(require("chalk"));
9
+ const assert_1 = require("assert");
10
+ const Decentraland_1 = require("../lib/Decentraland");
11
+ const installDependencies_1 = __importDefault(require("../project/installDependencies"));
12
+ const updateBundleDependenciesField_1 = __importDefault(require("../project/updateBundleDependenciesField"));
13
+ const analytics_1 = require("../utils/analytics");
14
+ const moduleHelpers_1 = require("../utils/moduleHelpers");
15
+ const help = () => `
16
+ Usage: ${chalk_1.default.bold('dcl build [options]')}
17
+
18
+ ${chalk_1.default.dim('Options:')}
19
+
20
+ -h, --help Displays complete help
21
+ -w, --watch Watch for file changes and build on change
22
+ -p, --production Build without sourcemaps
23
+ --skip-version-checks Skip the ECS and CLI version checks, avoid the warning message and launch anyway
24
+ --skip-install Skip installing dependencies
25
+
26
+ ${chalk_1.default.dim('Example:')}
27
+
28
+ - Build your scene:
29
+
30
+ ${chalk_1.default.green('$ dcl build')}
31
+ `;
32
+ exports.help = help;
33
+ async function main() {
34
+ const args = (0, arg_1.default)({
35
+ '--help': Boolean,
36
+ '-h': '--help',
37
+ '--watch': Boolean,
38
+ '-w': '--watch',
39
+ '--skip-version-checks': Boolean,
40
+ '--production': Boolean,
41
+ '-p': '--production',
42
+ '--skip-install': Boolean
43
+ });
44
+ const dcl = new Decentraland_1.Decentraland({
45
+ watch: args['--watch'] || args['-w'] || false,
46
+ workingDir: process.cwd()
47
+ });
48
+ const skipVersionCheck = args['--skip-version-checks'];
49
+ const skipInstall = args['--skip-install'];
50
+ const online = await (0, moduleHelpers_1.isOnline)();
51
+ const errors = [];
52
+ for (const project of dcl.workspace.getAllProjects()) {
53
+ const needDependencies = await project.needsDependencies();
54
+ if (needDependencies && !skipInstall) {
55
+ if (online) {
56
+ await (0, installDependencies_1.default)(project.getProjectWorkingDir(), false /* silent */);
57
+ }
58
+ else {
59
+ (0, assert_1.fail)('This project can not start as you are offline and dependencies need to be installed.');
60
+ }
61
+ }
62
+ if (!skipVersionCheck) {
63
+ await project.checkCLIandECSCompatibility();
64
+ }
65
+ try {
66
+ await (0, updateBundleDependenciesField_1.default)({
67
+ workDir: project.getProjectWorkingDir()
68
+ });
69
+ }
70
+ catch (err) {
71
+ console.warn(`Unable to update bundle dependencies field.`, err);
72
+ }
73
+ if (await project.isTypescriptProject()) {
74
+ try {
75
+ await (0, moduleHelpers_1.buildTypescript)({
76
+ workingDir: project.getProjectWorkingDir(),
77
+ watch: !!args['--watch'],
78
+ production: !!args['--production']
79
+ });
80
+ }
81
+ catch (err) {
82
+ errors.push({ project, err });
83
+ }
84
+ }
85
+ }
86
+ if (errors.length) {
87
+ const projectList = errors.map((item) => item.project.getProjectWorkingDir()).join('\n\t');
88
+ throw new Error(`Error compiling (see logs above) the scenes: \n\t${projectList}`);
89
+ }
90
+ if (dcl.workspace.isSingleProject()) {
91
+ const baseCoords = await dcl.workspace.getBaseCoords();
92
+ analytics_1.Analytics.buildScene({
93
+ projectHash: dcl.getProjectHash(),
94
+ ecs: await dcl.workspace.getSingleProject().getEcsPackageVersion(),
95
+ coords: baseCoords,
96
+ isWorkspace: false
97
+ });
98
+ }
99
+ else {
100
+ analytics_1.Analytics.buildScene({
101
+ projectHash: dcl.getProjectHash(),
102
+ isWorkspace: true
103
+ });
104
+ }
105
+ return 0;
106
+ }
107
+ exports.main = main;
108
+ //# sourceMappingURL=build.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAqB;AACrB,kDAAyB;AAEzB,mCAA6B;AAC7B,sDAAkD;AAClD,yFAAgE;AAChE,6GAAoF;AACpF,kDAA8C;AAC9C,0DAAkE;AAE3D,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC;WACf,eAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC;;MAEtC,eAAK,CAAC,GAAG,CAAC,UAAU,CAAC;;;;;;;;MAQrB,eAAK,CAAC,GAAG,CAAC,UAAU,CAAC;;;;MAIrB,eAAK,CAAC,KAAK,CAAC,aAAa,CAAC;CAC/B,CAAA;AAhBY,QAAA,IAAI,QAgBhB;AAEM,KAAK,UAAU,IAAI;IACxB,MAAM,IAAI,GAAG,IAAA,aAAG,EAAC;QACf,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,OAAO;QAClB,IAAI,EAAE,SAAS;QACf,uBAAuB,EAAE,OAAO;QAChC,cAAc,EAAE,OAAO;QACvB,IAAI,EAAE,cAAc;QACpB,gBAAgB,EAAE,OAAO;KAC1B,CAAC,CAAA;IAEF,MAAM,GAAG,GAAG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C;oBACxB,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;iBACnC,CAAC,CAAA;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAA;aAC9B;SACF;KACF;IAED,IAAI,MAAM,CAAC,MAAM,EAAE;QACjB,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAE1F,MAAM,IAAI,KAAK,CAAC,oDAAoD,WAAW,EAAE,CAAC,CAAA;KACnF;IAED,IAAI,GAAG,CAAC,SAAS,CAAC,eAAe,EAAE,EAAE;QACnC,MAAM,UAAU,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,aAAa,EAAE,CAAA;QACtD,qBAAS,CAAC,UAAU,CAAC;YACnB,WAAW,EAAE,GAAG,CAAC,cAAc,EAAE;YACjC,GAAG,EAAE,MAAM,GAAG,CAAC,SAAS,CAAC,gBAAgB,EAAG,CAAC,oBAAoB,EAAE;YACnE,MAAM,EAAE,UAAU;YAClB,WAAW,EAAE,KAAK;SACnB,CAAC,CAAA;KACH;SAAM;QACL,qBAAS,CAAC,UAAU,CAAC;YACnB,WAAW,EAAE,GAAG,CAAC,cAAc,EAAE;YACjC,WAAW,EAAE,IAAI;SAClB,CAAC,CAAA;KACH;IAED,OAAO,CAAC,CAAA;AACV,CAAC;AAhFD,oBAgFC"}
@@ -0,0 +1,3 @@
1
+ export declare function help(): string;
2
+ export declare function main(): Promise<void>;
3
+ //# sourceMappingURL=coords.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coords.d.ts","sourceRoot":"","sources":["../../src/commands/coords.ts"],"names":[],"mappings":"AASA,wBAAgB,IAAI,WAqBnB;AAED,wBAAsB,IAAI,kBAqCzB"}
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __rest = (this && this.__rest) || function (s, e) {
26
+ var t = {};
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
28
+ t[p] = s[p];
29
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
30
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
32
+ t[p[i]] = s[p[i]];
33
+ }
34
+ return t;
35
+ };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.main = exports.help = void 0;
41
+ const schemas_1 = require("@dcl/schemas");
42
+ const chalk_1 = __importDefault(require("chalk"));
43
+ const errors_1 = require("../utils/errors");
44
+ const coordinateHelpers_1 = require("../utils/coordinateHelpers");
45
+ const sceneJson_1 = require("../sceneJson");
46
+ const spinner = __importStar(require("../utils/spinner"));
47
+ const Workspace_1 = require("../lib/Workspace");
48
+ function help() {
49
+ return `
50
+ Usage: ${chalk_1.default.bold('dcl coords [parcels]')}
51
+
52
+ ${chalk_1.default.dim('Options:')}
53
+
54
+ -h, --help Displays complete help
55
+
56
+ ${chalk_1.default.dim('Examples:')}
57
+ - ${chalk_1.default.bold('Single parcel')}
58
+ - Pass a single argument with the scene coords. This coordinate is also set as the base parcel.
59
+ ${chalk_1.default.green('$ dcl coords 0,0')}
60
+
61
+ - ${chalk_1.default.bold('Multiple parcels')}
62
+ - Pass two arguments: the South-West and the North-East parcels. The South-West parcel is also set as the base parcel.
63
+ ${chalk_1.default.green('$ dcl coords 0,0 1,1')}
64
+
65
+ - ${chalk_1.default.bold('Customize Base Parcel')}
66
+ - Pass three arguments: the South-West and the North-East parcels, and the parcel to use as a base parcel.
67
+ ${chalk_1.default.green('$ dcl coords 0,0 1,1 1,0')}
68
+ `;
69
+ }
70
+ exports.help = help;
71
+ async function main() {
72
+ spinner.create('Generating coords');
73
+ const parcels = process.argv.slice(process.argv.findIndex((arg) => arg === 'coords') + 1);
74
+ const workingDir = process.cwd();
75
+ const workspace = (0, Workspace_1.createWorkspace)({ workingDir });
76
+ const project = workspace.getSingleProject();
77
+ if (project === null) {
78
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, `Can not change a coords of workspace.`);
79
+ }
80
+ else if (project.getInfo().sceneType !== schemas_1.sdk.ProjectType.SCENE) {
81
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, 'Only parcel scenes can be edited the coords property.');
82
+ }
83
+ if (!parcels || !parcels.length) {
84
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, 'Please provide a target to retrieve data');
85
+ }
86
+ if (parcels.length > 3) {
87
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, 'Invalid number of args');
88
+ }
89
+ const invalidParcel = parcels.find((p) => !(0, coordinateHelpers_1.isValid)(p));
90
+ if (invalidParcel) {
91
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, `Invalid target "${chalk_1.default.bold(invalidParcel)}"`);
92
+ }
93
+ const parcelObjects = parcels.map(coordinateHelpers_1.getObject);
94
+ const _a = await (0, sceneJson_1.getSceneFile)(workingDir), { scene } = _a, sceneJson = __rest(_a, ["scene"]);
95
+ const newScene = getSceneObject(parcelObjects);
96
+ const parsedSceneJson = Object.assign(Object.assign({}, sceneJson), { scene: newScene });
97
+ await (0, sceneJson_1.setSceneFile)(parsedSceneJson, workingDir);
98
+ spinner.succeed();
99
+ }
100
+ exports.main = main;
101
+ function getSceneObject([sw, ne, baseParcel = sw]) {
102
+ if (!ne) {
103
+ const coords = (0, coordinateHelpers_1.getString)(sw);
104
+ return { base: coords, parcels: [coords] };
105
+ }
106
+ const getValues = (key) => Array.from({
107
+ length: ne[key] - sw[key] + 1
108
+ }).map((_, value) => value + sw[key]);
109
+ const xValues = getValues('x');
110
+ const yValues = getValues('y');
111
+ const parcels = xValues.reduce((acc, x) => {
112
+ const coord = yValues.map((y) => (0, coordinateHelpers_1.getString)({ x, y }));
113
+ return acc.concat(coord);
114
+ }, []);
115
+ const base = parcels.length ? (0, coordinateHelpers_1.getString)(baseParcel) : '';
116
+ if (!parcels.includes(base)) {
117
+ spinner.fail();
118
+ (0, errors_1.fail)(errors_1.ErrorType.INFO_ERROR, `Invalid base parcel ${chalk_1.default.bold(base)}`);
119
+ }
120
+ return { parcels, base };
121
+ }
122
+ //# sourceMappingURL=coords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coords.js","sourceRoot":"","sources":["../../src/commands/coords.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAyC;AACzC,kDAAyB;AAEzB,4CAAiD;AACjD,kEAAkF;AAClF,4CAAyD;AACzD,0DAA2C;AAC3C,gDAAkD;AAElD,SA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CACtC,KAAK,CAAC,IAAI,CAAC;QACT,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;KAC9B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;IAEvC,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAa,EAAE,CAAC,EAAE,EAAE;QAClD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,6BAAS,EAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QACrD,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IAC1B,CAAC,EAAE,EAAE,CAAC,CAAA;IACN,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAA,6BAAS,EAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IACxD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QAC3B,OAAO,CAAC,IAAI,EAAE,CAAA;QACd,IAAA,aAAI,EAAC,kBAAS,CAAC,UAAU,EAAE,uBAAuB,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;KACtE;IAED,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;AAC1B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const help: () => string;
2
+ export declare function failWithSpinner(message: string, error?: any): void;
3
+ export declare function main(): Promise<void>;
4
+ //# sourceMappingURL=deploy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,IAAI,cAwBhB,CAAA;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAGlE;AAED,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAiO1C"}