tx · FmR8sfqxi9yX1pZ1p2M5AgMBp9prXo2JmSyQ6htYHt9a 3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B: -0.01400000 Waves 2020.04.14 10:44 [953787] smart account 3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B > SELF 0.00000000 Waves
{ "type": 13, "id": "FmR8sfqxi9yX1pZ1p2M5AgMBp9prXo2JmSyQ6htYHt9a", "fee": 1400000, "feeAssetId": null, "timestamp": 1586850273812, "version": 1, "sender": "3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B", "senderPublicKey": "YmYsKHtsKRVKHxPW2qUzePRZWkwcZDryNtR31EGizkx", "proofs": [ "2GtEGYuWQzGSMrfGAWivoRUfSztAn7YWLiX4xbAdub5vNEC663xxeBxwfamrcsTPnLtMuXfiSAd8DBpUnV5Uji7m" ], "script": "base64:AAIDAAAAAAAAADAIARIWChQICAgICAgICAgICAgICAgBAQEBARIUChIICAEIAQEBCAEBAQgBAQEBCAEAAAB1AAAAAAdiQml0Q08yAQAAACAkubz3kBYNSCNdNAZyd/QzZ1pU4dNNWTExj4jouAng0QAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIAgjYJZN0ooEg5eZ/JuydkXbHU5+gV7ekdpHJWSdU+NxAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQmXeqpNBOU0gXTRoLnFygaPj7BjtrRIP0AAAAABGVBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTK9zs+5y/RVeIPrfhFsyze+43QDUVrfW8AAAAABHBBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTUPeuO2Y1p2TpK+OH14WsDuVCV2jcMFFQAAAAAA2lndgAAAAAAAAAAEgAAAAADY1BCAAAAA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Q==", "chainId": 84, "height": 953787, "spentComplexity": 0 } View: original | compacted Prev: none Next: AwbLBf3H4AnF52QC1yiHLyD17MnLgGxHJ4zJ8DtMfEQQ Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let bBitCO2 = base58'3UMwob2PDKVYmDMZZdT9ijK7EdRJZKFoBLCAXnwKtNN4' | |
5 | + | ||
6 | + | let nomPrice = 1 | |
7 | + | ||
8 | + | let wvs = 100000000 | |
9 | + | ||
10 | + | let supplierDiscount = 12 | |
11 | + | ||
12 | + | let NONE = "none" | |
13 | + | ||
14 | + | let OwnerPubKey = base58'YmYsKHtsKRVKHxPW2qUzePRZWkwcZDryNtR31EGizkx' | |
15 | + | ||
16 | + | let issuer = Address(base58'3MsQwxepm5q2BG1PYUMwqoD2JLgKrACa3P2') | |
17 | + | ||
18 | + | let eAdd = Address(base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4') | |
19 | + | ||
20 | + | let pAdd = Address(base58'3N9GKCsktAL7oPFmaKsgPBoDfu3ijk23Vmm') | |
21 | + | ||
22 | + | let igv = 18 | |
23 | + | ||
24 | + | let cPB = 88 | |
25 | + | ||
26 | + | let uIP = 5 | |
27 | + | ||
28 | + | let pIP = 10 | |
29 | + | ||
30 | + | let sIP = 1 | |
31 | + | ||
32 | + | let eIP = 1 | |
33 | + | ||
34 | + | func getNumberByKey (key) = { | |
35 | + | let num = match getInteger(this, key) { | |
36 | + | case a: Int => | |
37 | + | a | |
38 | + | case _ => | |
39 | + | 0 | |
40 | + | } | |
41 | + | num | |
42 | + | } | |
43 | + | ||
44 | + | ||
45 | + | func getStrByKey (key) = { | |
46 | + | let str = match getString(this, key) { | |
47 | + | case a: String => | |
48 | + | a | |
49 | + | case _ => | |
50 | + | NONE | |
51 | + | } | |
52 | + | str | |
53 | + | } | |
54 | + | ||
55 | + | ||
56 | + | func getKeyItem (supplier,title) = ("A y G:" + toBase58String(sha256(toBytes((supplier + title))))) | |
57 | + | ||
58 | + | ||
59 | + | func getKeyItemSupplier (item) = (item + "_P SAC") | |
60 | + | ||
61 | + | ||
62 | + | func getValueItemSupplier (item) = getStrByKey(getKeyItemSupplier(item)) | |
63 | + | ||
64 | + | ||
65 | + | func getKeySupplier (supplier) = (supplier + "_P SAC") | |
66 | + | ||
67 | + | ||
68 | + | func getValueSupplier (supplier) = getStrByKey(getKeySupplier(supplier)) | |
69 | + | ||
70 | + | ||
71 | + | func getKeyProject (pA) = (pA + "_A-PreICO") | |
72 | + | ||
73 | + | ||
74 | + | func getValueProject (pA) = getStrByKey(getKeyProject(pA)) | |
75 | + | ||
76 | + | ||
77 | + | func getKeyUserItemCounter (user,item) = "Order_№:" | |
78 | + | ||
79 | + | ||
80 | + | func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item)) | |
81 | + | ||
82 | + | ||
83 | + | func getKeyEnte (supplier,title) = ("RubroEmpresarial:" + toBase58String(sha256(toBytes((supplier + title))))) | |
84 | + | ||
85 | + | ||
86 | + | func getKeyEnteCategoria (item) = (item + "Vendedor, Categoria") | |
87 | + | ||
88 | + | ||
89 | + | func getValueEnteCategoria (item) = getStrByKey(getKeyEnteCategoria(item)) | |
90 | + | ||
91 | + | ||
92 | + | func getKeyEnteSubCategoria (item) = (item + "Vendedor, Sub-Categoria") | |
93 | + | ||
94 | + | ||
95 | + | func getValueEnteSubCategoria (item) = getStrByKey(getKeyEnteSubCategoria(item)) | |
96 | + | ||
97 | + | ||
98 | + | func getKeyNombreVendedor (item) = "NombreVendedor:" | |
99 | + | ||
100 | + | ||
101 | + | func getValueNombreVendedor (item) = getStrByKey(getKeyNombreVendedor(item)) | |
102 | + | ||
103 | + | ||
104 | + | func getKeyPaisVendedor (item) = "PaisVendedor:" | |
105 | + | ||
106 | + | ||
107 | + | func getValuePaisVendedor (item) = getStrByKey(getKeyPaisVendedor(item)) | |
108 | + | ||
109 | + | ||
110 | + | func getKeyTelVendedor (item) = "Tel. Vendedor:" | |
111 | + | ||
112 | + | ||
113 | + | func getValueTelVendedor (item) = getStrByKey(getKeyTelVendedor(item)) | |
114 | + | ||
115 | + | ||
116 | + | func getKeyMessVendedor (item) = "Servicio_Messenger(Wapp,Skype,etc):" | |
117 | + | ||
118 | + | ||
119 | + | func getValueMessVendedor (item) = getStrByKey(getKeyMessVendedor(item)) | |
120 | + | ||
121 | + | ||
122 | + | func getKeyEmailVendedor (item) = "Email Vendedor:" | |
123 | + | ||
124 | + | ||
125 | + | func getValueEmailVendedor (item) = getStrByKey(getKeyEmailVendedor(item)) | |
126 | + | ||
127 | + | ||
128 | + | func getKeyDescriptionVendedor (item) = "Descripcion de la Entidad / Otros:" | |
129 | + | ||
130 | + | ||
131 | + | func getValueDescriptionVendedor (item) = getStrByKey(getKeyDescriptionVendedor(item)) | |
132 | + | ||
133 | + | ||
134 | + | func getKeyListaVendedor (item) = "Lista de VendedoresGTS:" | |
135 | + | ||
136 | + | ||
137 | + | func getValueListaVendedor (item) = getStrByKey(getKeyListaVendedor(item)) | |
138 | + | ||
139 | + | ||
140 | + | func getKeyCodigoVendedor (item) = "CodigoGTS del Vendedor:" | |
141 | + | ||
142 | + | ||
143 | + | func getValueCodigoVendedor (item) = getStrByKey(getKeyCodigoVendedor(item)) | |
144 | + | ||
145 | + | ||
146 | + | func getKeyNameProd1V (item) = "NombreProducto1:" | |
147 | + | ||
148 | + | ||
149 | + | func getValueNameProd1V (item) = getStrByKey(getKeyNameProd1V(item)) | |
150 | + | ||
151 | + | ||
152 | + | func getKeyNameProd2V (item) = "NombreProducto2:" | |
153 | + | ||
154 | + | ||
155 | + | func getValueNameProd2V (item) = getStrByKey(getKeyNameProd2V(item)) | |
156 | + | ||
157 | + | ||
158 | + | func getKeyNameProd3V (item) = "NombreProducto3:" | |
159 | + | ||
160 | + | ||
161 | + | func getValueNameProd3V (item) = getStrByKey(getKeyNameProd3V(item)) | |
162 | + | ||
163 | + | ||
164 | + | func getKeyPrecioProd1V (item) = "PrecioNominalProducto1:" | |
165 | + | ||
166 | + | ||
167 | + | func getValuePrecioProd1V (item) = getNumberByKey(getKeyPrecioProd1V(item)) | |
168 | + | ||
169 | + | ||
170 | + | func getKeyPrecioProd2V (item) = "PrecioNominalProducto2:" | |
171 | + | ||
172 | + | ||
173 | + | func getValuePrecioProd2V (item) = getNumberByKey(getKeyPrecioProd2V(item)) | |
174 | + | ||
175 | + | ||
176 | + | func getKeyPrecioProd3V (item) = "PrecioNominalProducto3:" | |
177 | + | ||
178 | + | ||
179 | + | func getValuePrecioProd3V (item) = getNumberByKey(getKeyPrecioProd3V(item)) | |
180 | + | ||
181 | + | ||
182 | + | func getKeyDescProd1V (item) = "DescuentoProducto1:" | |
183 | + | ||
184 | + | ||
185 | + | func getValueDescProd1V (item) = getNumberByKey(getKeyDescProd1V(item)) | |
186 | + | ||
187 | + | ||
188 | + | func getKeyDescProd2V (item) = "DescuentoProducto2:" | |
189 | + | ||
190 | + | ||
191 | + | func getValueDescProd2V (item) = getNumberByKey(getKeyDescProd2V(item)) | |
192 | + | ||
193 | + | ||
194 | + | func getKeyDescProd3V (item) = "DescuentoProducto3:" | |
195 | + | ||
196 | + | ||
197 | + | func getValueDescProd3V (item) = getNumberByKey(getKeyDescProd3V(item)) | |
198 | + | ||
199 | + | ||
200 | + | func getKeyQtyProd1V (item) = "CantidadProducto1:" | |
201 | + | ||
202 | + | ||
203 | + | func getValueQtyProd1V (item) = getNumberByKey(getKeyQtyProd1V(item)) | |
204 | + | ||
205 | + | ||
206 | + | func getKeyQtyProd2V (item) = "CantidadProducto2:" | |
207 | + | ||
208 | + | ||
209 | + | func getValueQtyProd2V (item) = getNumberByKey(getKeyQtyProd2V(item)) | |
210 | + | ||
211 | + | ||
212 | + | func getKeyQtyProd3V (item) = "CantidadProducto3:" | |
213 | + | ||
214 | + | ||
215 | + | func getValueQtyProd3V (item) = getNumberByKey(getKeyQtyProd3V(item)) | |
216 | + | ||
217 | + | ||
218 | + | func getKeyIngrProyV (item) = "Ingreso para el Proyecto por VentasGTS:" | |
219 | + | ||
220 | + | ||
221 | + | func getValueIngrProyV (item) = getNumberByKey(getKeyIngrProyV(item)) | |
222 | + | ||
223 | + | ||
224 | + | func getKeyIngrVendedor (item) = "Ingreso para el Vendedor por la Venta:" | |
225 | + | ||
226 | + | ||
227 | + | func getValueIngrVendedor (item) = getNumberByKey(getKeyIngrVendedor(item)) | |
228 | + | ||
229 | + | ||
230 | + | func getKeyIngrEcosystemV (item) = "Ingreso para el Ecosistema por VentasGTS:" | |
231 | + | ||
232 | + | ||
233 | + | func getValueIngrEcosystemV (item) = getNumberByKey(getKeyIngrEcosystemV(item)) | |
234 | + | ||
235 | + | ||
236 | + | func getKeyProyecto (supplier,title) = ("itemProyecto:" + toBase58String(sha256(toBytes((supplier + title))))) | |
237 | + | ||
238 | + | ||
239 | + | func getKeyItemProyecto (itemProject) = (itemProject + "_ItemProyecto") | |
240 | + | ||
241 | + | ||
242 | + | func getKeyProyectoCategoria (itemProject) = (itemProject + "Proyecto, Categoria") | |
243 | + | ||
244 | + | ||
245 | + | func getValueProyectoCategoria (itemProject) = getStrByKey(getKeyProyectoCategoria(itemProject)) | |
246 | + | ||
247 | + | ||
248 | + | func getKeyProyectoSubCategoria (itemProject) = (itemProject + "Proyecto, Sub-Categoria") | |
249 | + | ||
250 | + | ||
251 | + | func getValueProyectoSubCategoria (itemProject) = getStrByKey(getKeyProyectoSubCategoria(itemProject)) | |
252 | + | ||
253 | + | ||
254 | + | func getKeyNombreProyecto (item) = "NombreProyecto:" | |
255 | + | ||
256 | + | ||
257 | + | func getValueNombreProyecto (item) = getStrByKey(getKeyNombreProyecto(item)) | |
258 | + | ||
259 | + | ||
260 | + | func getKeyPaisProyecto (item) = "PaisProyecto:" | |
261 | + | ||
262 | + | ||
263 | + | func getValuePaisProyecto (item) = getStrByKey(getKeyPaisProyecto(item)) | |
264 | + | ||
265 | + | ||
266 | + | func getKeyDescriptionProyecto (item) = "Descripcion del Proyecto:" | |
267 | + | ||
268 | + | ||
269 | + | func getValueDescriptionProyecto (item) = getStrByKey(getKeyDescriptionProyecto(item)) | |
270 | + | ||
271 | + | ||
272 | + | func getKeyDesarrolladorProyecto (item) = "Desarrollador del Proyecto:" | |
273 | + | ||
274 | + | ||
275 | + | func getValueDesarrolladorProyecto (item) = getStrByKey(getKeyDesarrolladorProyecto(item)) | |
276 | + | ||
277 | + | ||
278 | + | func getKeyResp1Proyecto (item) = "Responsable №1 del Proyecto:" | |
279 | + | ||
280 | + | ||
281 | + | func getValueResp1Proyecto (item) = getStrByKey(getKeyResp1Proyecto(item)) | |
282 | + | ||
283 | + | ||
284 | + | func getKeyResp2Proyecto (item) = "Responsable №2 del Proyecto:" | |
285 | + | ||
286 | + | ||
287 | + | func getValueResp2Proyecto (item) = getStrByKey(getKeyResp2Proyecto(item)) | |
288 | + | ||
289 | + | ||
290 | + | func getKeyTelResp1Proyecto (item) = "Responsable №1 del Proyecto / Tel.:" | |
291 | + | ||
292 | + | ||
293 | + | func getValueTelResp1Proyecto (item) = getStrByKey(getKeyTelResp1Proyecto(item)) | |
294 | + | ||
295 | + | ||
296 | + | func getKeyTelResp2Proyecto (item) = "Responsable №2 del Proyecto / Tel.:" | |
297 | + | ||
298 | + | ||
299 | + | func getValueTelResp2Proyecto (item) = getStrByKey(getKeyTelResp2Proyecto(item)) | |
300 | + | ||
301 | + | ||
302 | + | func getKeyMessResp1Proyecto (item) = "Responsable №1 del Proyecto / Messenger.:" | |
303 | + | ||
304 | + | ||
305 | + | func getValueMessResp1Proyecto (item) = getStrByKey(getKeyMessResp1Proyecto(item)) | |
306 | + | ||
307 | + | ||
308 | + | func getKeyMessResp2Proyecto (item) = "Responsable №2 del Proyecto / Messenger:" | |
309 | + | ||
310 | + | ||
311 | + | func getValueMessResp2Proyecto (item) = getStrByKey(getKeyMessResp2Proyecto(item)) | |
312 | + | ||
313 | + | ||
314 | + | func getKeyEmailResp1Proyecto (item) = "Responsable №1 del Proyecto / Email.:" | |
315 | + | ||
316 | + | ||
317 | + | func getValueEmailResp1Proyecto (item) = getStrByKey(getKeyEmailResp1Proyecto(item)) | |
318 | + | ||
319 | + | ||
320 | + | func getKeyEmailResp2Proyecto (item) = "Responsable №2 del Proyecto / Email:" | |
321 | + | ||
322 | + | ||
323 | + | func getValueEmailResp2Proyecto (item) = getStrByKey(getKeyEmailResp2Proyecto(item)) | |
324 | + | ||
325 | + | ||
326 | + | func getKeyTokInicialQtyProyecto (item) = "Cantidad Inicial de Tokens del Proyecto:" | |
327 | + | ||
328 | + | ||
329 | + | func getValueTokInicialQtyProyecto (item) = getNumberByKey(getKeyTokInicialQtyProyecto(item)) | |
330 | + | ||
331 | + | ||
332 | + | func getKeyTokTotalQtyProyecto (item) = "Cantidad Total de Tokens del Proyecto:" | |
333 | + | ||
334 | + | ||
335 | + | func getValueTokTotalQtyProyecto (item) = getNumberByKey(getKeyTokTotalQtyProyecto(item)) | |
336 | + | ||
337 | + | ||
338 | + | func getKeyIngrClienteProj (item) = "Ingresos para el Cliente, en tokens:" | |
339 | + | ||
340 | + | ||
341 | + | func getValueIngrClienteProj (item) = getNumberByKey(getKeyIngrClienteProj(item)) | |
342 | + | ||
343 | + | ||
344 | + | func getKeyIngrVendedorProj (item) = "Ingresos para el Vendedor, en tokens:" | |
345 | + | ||
346 | + | ||
347 | + | func getValueIngrVendedorProj (item) = getNumberByKey(getKeyIngrVendedorProj(item)) | |
348 | + | ||
349 | + | ||
350 | + | func getKeyIngrEcosystemProj (item) = "Ingresos para el Ecosistema, en tokens:" | |
351 | + | ||
352 | + | ||
353 | + | func getValueIngrEcosystemProj (item) = getNumberByKey(getKeyIngrEcosystemProj(item)) | |
354 | + | ||
355 | + | ||
356 | + | @Callable(i) | |
357 | + | func addProyectos (title,categoria,subCategoria,nombreProj,country,description,desarrollador,responsable1,tel1,messenger1,email1,responsable2,tel2,messenger2,email2,tokTotal,tokInicial,ingrCliente,ingrVendedor,ingrEcosystem) = { | |
358 | + | let supplier = toBase58String(i.caller.bytes) | |
359 | + | let item = getKeyProyecto(supplier, title) | |
360 | + | WriteSet([DataEntry(getKeyProject(supplier), title), DataEntry(("Title:_" + supplier), title), DataEntry(getKeyProyectoCategoria(item), categoria), DataEntry(getKeyProyectoSubCategoria(item), subCategoria), DataEntry(getKeyNombreProyecto(item), nombreProj), DataEntry(getKeyPaisProyecto(item), country), DataEntry(getKeyDescriptionProyecto(item), description), DataEntry(getKeyDesarrolladorProyecto(item), desarrollador), DataEntry(getKeyResp1Proyecto(item), responsable1), DataEntry(getKeyTelResp1Proyecto(item), tel1), DataEntry(getKeyMessResp1Proyecto(item), messenger1), DataEntry(getKeyEmailResp1Proyecto(item), email1), DataEntry(getKeyTelResp2Proyecto(item), responsable2), DataEntry(getKeyMessResp2Proyecto(item), tel2), DataEntry(getKeyEmailResp2Proyecto(item), messenger2), DataEntry(getKeyTokTotalQtyProyecto(item), tokTotal), DataEntry(getKeyTokInicialQtyProyecto(item), tokInicial), DataEntry(getKeyIngrClienteProj(item), ingrCliente), DataEntry(getKeyIngrVendedorProj(item), ingrVendedor), DataEntry(getKeyIngrEcosystemProj(item), ingrEcosystem)]) | |
361 | + | } | |
362 | + | ||
363 | + | ||
364 | + | ||
365 | + | @Callable(i) | |
366 | + | func addProductosVendedorGTS (title,vendedor,codigo,nombreProd1,precioProd1,descProd1,cantidadProd1,nombreProd2,precioProd2,descProd2,cantidadProd2,nombreProd3,precioProd3,descProd3,cantidadProd3,ingrProyecto,ingrVendedor,ingrEcosystem) = { | |
367 | + | let supplier = toBase58String(i.caller.bytes) | |
368 | + | let item = getKeyItem(supplier, title) | |
369 | + | WriteSet([DataEntry(getKeyListaVendedor(item), title), DataEntry(("Title:_" + supplier), title), DataEntry(getKeyNombreVendedor(item), vendedor), DataEntry(getKeyCodigoVendedor(item), codigo), DataEntry(getKeyNameProd1V(item), nombreProd1), DataEntry(getKeyPrecioProd1V(item), precioProd1), DataEntry(getKeyDescProd1V(item), descProd1), DataEntry(getKeyQtyProd1V(item), cantidadProd1), DataEntry(getKeyNameProd2V(item), nombreProd2), DataEntry(getKeyPrecioProd2V(item), precioProd2), DataEntry(getKeyDescProd2V(item), descProd2), DataEntry(getKeyQtyProd2V(item), cantidadProd2), DataEntry(getKeyNameProd3V(item), nombreProd3), DataEntry(getKeyPrecioProd3V(item), precioProd3), DataEntry(getKeyDescProd3V(item), descProd3), DataEntry(getKeyQtyProd3V(item), cantidadProd3), DataEntry(getKeyIngrProyV(item), ingrProyecto), DataEntry(getKeyIngrVendedor(item), ingrVendedor), DataEntry(getKeyIngrEcosystemV(item), ingrEcosystem)]) | |
370 | + | } | |
371 | + | ||
372 | + | ||
373 | + | @Verifier(tx) | |
374 | + | func verify () = match tx { | |
375 | + | case t: SetScriptTransaction => | |
376 | + | sigVerify(tx.bodyBytes, tx.proofs[0], OwnerPubKey) | |
377 | + | case d: ReissueTransaction|DataTransaction => | |
378 | + | true | |
379 | + | case tx: TransferTransaction => | |
380 | + | true | |
381 | + | case tx: ExchangeTransaction => | |
382 | + | let withWaves = if (!(isDefined(tx.sellOrder.assetPair.priceAsset))) | |
383 | + | then true | |
384 | + | else !(isDefined(tx.sellOrder.assetPair.amountAsset)) | |
385 | + | withWaves | |
386 | + | case _ => | |
387 | + | false | |
388 | + | } | |
389 | + |
github/deemru/w8io/169f3d6 24.31 ms ◑