tx · 6EZpXxK5TK9p626jp56x6wdgax1AnHoKJVhmWbqAX5Cv

3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B:  -0.01400000 Waves

2020.04.14 11:33 [953837] smart account 3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B > SELF 0.00000000 Waves

{ "type": 13, "id": "6EZpXxK5TK9p626jp56x6wdgax1AnHoKJVhmWbqAX5Cv", "fee": 1400000, "feeAssetId": null, "timestamp": 1586853130412, "version": 1, "sender": "3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B", "senderPublicKey": "YmYsKHtsKRVKHxPW2qUzePRZWkwcZDryNtR31EGizkx", "proofs": [ "5YiHLsDN9Y4QMr5yewih3xjKDg8HDopPBWKNaf2XrVvUGSwTJvbh9xrXX9eWxbYvqLd5CJQ5PZ7e9TLb3TjAnxLh" ], "script": "base64:AAIDAAAAAAAAADAIARIWChQICAgICAgICAgICAgICAgBAQEBARIUChIICAEIAQEBCAEBAQgBAQEBCAEAAAB1AAAAAAdiQml0Q08yAQAAACAkubz3kBYNSCNdNAZyd/QzZ1pU4dNNWTExj4jouAng0QAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIAgjYJZN0ooEg5eZ/JuydkXbHU5+gV7ekdpHJWSdU+NxAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQmXeqpNBOU0gXTRoLnFygaPj7BjtrRIP0AAAAABGVBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTK9zs+5y/RVeIPrfhFsyze+43QDUVrfW8AAAAABHBBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTUPeuO2Y1p2TpK+OH14WsDuVCV2jcMFFQAAAAAA2lndgAAAAAAAAAAEgAAAAADY1BCAAA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ldEtleUluZ3JFY29zeXN0ZW1WAAAAAQUAAAAEaXRlbQUAAAANaW5nckVjb3N5c3RlbQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALT3duZXJQdWJLZXkDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwcbwoKV", "chainId": 84, "height": 953837, "spentComplexity": 0 } View: original | compacted Prev: 12QHGBegRQCwbTZ4Gg2FSdnrxYv15uJUSVb8emCozxSh Next: HoxDmHXgCb3n7uHNJVCoPP94XzfZYSFpbUBnXHoM5FG5 Diff:
OldNewDifferences
357357 func addProyectos (title,categoria,subCategoria,nombreProj,country,description,desarrollador,responsable1,tel1,messenger1,email1,responsable2,tel2,messenger2,email2,tokTotal,tokInicial,ingrCliente,ingrVendedor,ingrEcosystem) = {
358358 let supplier = toBase58String(i.caller.bytes)
359359 let item = getKeyProyecto(supplier, title)
360- WriteSet([DataEntry(getKeyProyecto(supplier, title), title), DataEntry(getKeyItemProyecto(item), 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)])
360+ WriteSet([DataEntry(getKeyProyecto(supplier, title), 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)])
361361 }
362362
363363
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let bBitCO2 = base58'3UMwob2PDKVYmDMZZdT9ijK7EdRJZKFoBLCAXnwKtNN4'
55
66 let nomPrice = 1
77
88 let wvs = 100000000
99
1010 let supplierDiscount = 12
1111
1212 let NONE = "none"
1313
1414 let OwnerPubKey = base58'YmYsKHtsKRVKHxPW2qUzePRZWkwcZDryNtR31EGizkx'
1515
1616 let issuer = Address(base58'3MsQwxepm5q2BG1PYUMwqoD2JLgKrACa3P2')
1717
1818 let eAdd = Address(base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')
1919
2020 let pAdd = Address(base58'3N9GKCsktAL7oPFmaKsgPBoDfu3ijk23Vmm')
2121
2222 let igv = 18
2323
2424 let cPB = 88
2525
2626 let uIP = 5
2727
2828 let pIP = 10
2929
3030 let sIP = 1
3131
3232 let eIP = 1
3333
3434 func getNumberByKey (key) = {
3535 let num = match getInteger(this, key) {
3636 case a: Int =>
3737 a
3838 case _ =>
3939 0
4040 }
4141 num
4242 }
4343
4444
4545 func getStrByKey (key) = {
4646 let str = match getString(this, key) {
4747 case a: String =>
4848 a
4949 case _ =>
5050 NONE
5151 }
5252 str
5353 }
5454
5555
5656 func getKeyItem (supplier,title) = ("A y G:" + toBase58String(sha256(toBytes((supplier + title)))))
5757
5858
5959 func getKeyItemSupplier (item) = (item + "_P SAC")
6060
6161
6262 func getValueItemSupplier (item) = getStrByKey(getKeyItemSupplier(item))
6363
6464
6565 func getKeySupplier (supplier) = (supplier + "_P SAC")
6666
6767
6868 func getValueSupplier (supplier) = getStrByKey(getKeySupplier(supplier))
6969
7070
7171 func getKeyUserItemCounter (user,item) = "Order_№:"
7272
7373
7474 func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item))
7575
7676
7777 func getKeyEnte (supplier,title) = ("RubroEmpresarial:" + toBase58String(sha256(toBytes((supplier + title)))))
7878
7979
8080 func getKeyEnteCategoria (item) = (item + "Vendedor, Categoria")
8181
8282
8383 func getValueEnteCategoria (item) = getStrByKey(getKeyEnteCategoria(item))
8484
8585
8686 func getKeyEnteSubCategoria (item) = (item + "Vendedor, Sub-Categoria")
8787
8888
8989 func getValueEnteSubCategoria (item) = getStrByKey(getKeyEnteSubCategoria(item))
9090
9191
9292 func getKeyNombreVendedor (item) = "NombreVendedor:"
9393
9494
9595 func getValueNombreVendedor (item) = getStrByKey(getKeyNombreVendedor(item))
9696
9797
9898 func getKeyPaisVendedor (item) = "PaisVendedor:"
9999
100100
101101 func getValuePaisVendedor (item) = getStrByKey(getKeyPaisVendedor(item))
102102
103103
104104 func getKeyTelVendedor (item) = "Tel. Vendedor:"
105105
106106
107107 func getValueTelVendedor (item) = getStrByKey(getKeyTelVendedor(item))
108108
109109
110110 func getKeyMessVendedor (item) = "Servicio_Messenger(Wapp,Skype,etc):"
111111
112112
113113 func getValueMessVendedor (item) = getStrByKey(getKeyMessVendedor(item))
114114
115115
116116 func getKeyEmailVendedor (item) = "Email Vendedor:"
117117
118118
119119 func getValueEmailVendedor (item) = getStrByKey(getKeyEmailVendedor(item))
120120
121121
122122 func getKeyDescriptionVendedor (item) = "Descripcion de la Entidad / Otros:"
123123
124124
125125 func getValueDescriptionVendedor (item) = getStrByKey(getKeyDescriptionVendedor(item))
126126
127127
128128 func getKeyListaVendedor (item) = "Lista de VendedoresGTS:"
129129
130130
131131 func getValueListaVendedor (item) = getStrByKey(getKeyListaVendedor(item))
132132
133133
134134 func getKeyCodigoVendedor (item) = "CodigoGTS del Vendedor:"
135135
136136
137137 func getValueCodigoVendedor (item) = getStrByKey(getKeyCodigoVendedor(item))
138138
139139
140140 func getKeyNameProd1V (item) = "NombreProducto1:"
141141
142142
143143 func getValueNameProd1V (item) = getStrByKey(getKeyNameProd1V(item))
144144
145145
146146 func getKeyNameProd2V (item) = "NombreProducto2:"
147147
148148
149149 func getValueNameProd2V (item) = getStrByKey(getKeyNameProd2V(item))
150150
151151
152152 func getKeyNameProd3V (item) = "NombreProducto3:"
153153
154154
155155 func getValueNameProd3V (item) = getStrByKey(getKeyNameProd3V(item))
156156
157157
158158 func getKeyPrecioProd1V (item) = "PrecioNominalProducto1:"
159159
160160
161161 func getValuePrecioProd1V (item) = getNumberByKey(getKeyPrecioProd1V(item))
162162
163163
164164 func getKeyPrecioProd2V (item) = "PrecioNominalProducto2:"
165165
166166
167167 func getValuePrecioProd2V (item) = getNumberByKey(getKeyPrecioProd2V(item))
168168
169169
170170 func getKeyPrecioProd3V (item) = "PrecioNominalProducto3:"
171171
172172
173173 func getValuePrecioProd3V (item) = getNumberByKey(getKeyPrecioProd3V(item))
174174
175175
176176 func getKeyDescProd1V (item) = "DescuentoProducto1:"
177177
178178
179179 func getValueDescProd1V (item) = getNumberByKey(getKeyDescProd1V(item))
180180
181181
182182 func getKeyDescProd2V (item) = "DescuentoProducto2:"
183183
184184
185185 func getValueDescProd2V (item) = getNumberByKey(getKeyDescProd2V(item))
186186
187187
188188 func getKeyDescProd3V (item) = "DescuentoProducto3:"
189189
190190
191191 func getValueDescProd3V (item) = getNumberByKey(getKeyDescProd3V(item))
192192
193193
194194 func getKeyQtyProd1V (item) = "CantidadProducto1:"
195195
196196
197197 func getValueQtyProd1V (item) = getNumberByKey(getKeyQtyProd1V(item))
198198
199199
200200 func getKeyQtyProd2V (item) = "CantidadProducto2:"
201201
202202
203203 func getValueQtyProd2V (item) = getNumberByKey(getKeyQtyProd2V(item))
204204
205205
206206 func getKeyQtyProd3V (item) = "CantidadProducto3:"
207207
208208
209209 func getValueQtyProd3V (item) = getNumberByKey(getKeyQtyProd3V(item))
210210
211211
212212 func getKeyIngrProyV (item) = "Ingreso para el Proyecto por VentasGTS:"
213213
214214
215215 func getValueIngrProyV (item) = getNumberByKey(getKeyIngrProyV(item))
216216
217217
218218 func getKeyIngrVendedor (item) = "Ingreso para el Vendedor por la Venta:"
219219
220220
221221 func getValueIngrVendedor (item) = getNumberByKey(getKeyIngrVendedor(item))
222222
223223
224224 func getKeyIngrEcosystemV (item) = "Ingreso para el Ecosistema por VentasGTS:"
225225
226226
227227 func getValueIngrEcosystemV (item) = getNumberByKey(getKeyIngrEcosystemV(item))
228228
229229
230230 func getKeyProject (pA) = ("ItemProject" + pA)
231231
232232
233233 func getValueProject (pA) = getStrByKey(getKeyProject(pA))
234234
235235
236236 func getKeyProyecto (supplier,title) = ("itemProyecto:" + toBase58String(sha256(toBytes((supplier + title)))))
237237
238238
239239 func getKeyItemProyecto (itemProject) = ("ItemProyecto" + itemProject)
240240
241241
242242 func getKeyProyectoCategoria (itemProject) = "Proyecto, Categoria"
243243
244244
245245 func getValueProyectoCategoria (itemProject) = getStrByKey(getKeyProyectoCategoria(itemProject))
246246
247247
248248 func getKeyProyectoSubCategoria (itemProject) = "Proyecto, Sub-Categoria"
249249
250250
251251 func getValueProyectoSubCategoria (itemProject) = getStrByKey(getKeyProyectoSubCategoria(itemProject))
252252
253253
254254 func getKeyNombreProyecto (item) = "NombreProyecto:"
255255
256256
257257 func getValueNombreProyecto (item) = getStrByKey(getKeyNombreProyecto(item))
258258
259259
260260 func getKeyPaisProyecto (item) = "PaisProyecto:"
261261
262262
263263 func getValuePaisProyecto (item) = getStrByKey(getKeyPaisProyecto(item))
264264
265265
266266 func getKeyDescriptionProyecto (item) = "Descripcion del Proyecto:"
267267
268268
269269 func getValueDescriptionProyecto (item) = getStrByKey(getKeyDescriptionProyecto(item))
270270
271271
272272 func getKeyDesarrolladorProyecto (item) = "Desarrollador del Proyecto:"
273273
274274
275275 func getValueDesarrolladorProyecto (item) = getStrByKey(getKeyDesarrolladorProyecto(item))
276276
277277
278278 func getKeyResp1Proyecto (item) = "Responsable №1 del Proyecto:"
279279
280280
281281 func getValueResp1Proyecto (item) = getStrByKey(getKeyResp1Proyecto(item))
282282
283283
284284 func getKeyResp2Proyecto (item) = "Responsable №2 del Proyecto:"
285285
286286
287287 func getValueResp2Proyecto (item) = getStrByKey(getKeyResp2Proyecto(item))
288288
289289
290290 func getKeyTelResp1Proyecto (item) = "Responsable №1 del Proyecto / Tel.:"
291291
292292
293293 func getValueTelResp1Proyecto (item) = getStrByKey(getKeyTelResp1Proyecto(item))
294294
295295
296296 func getKeyTelResp2Proyecto (item) = "Responsable №2 del Proyecto / Tel.:"
297297
298298
299299 func getValueTelResp2Proyecto (item) = getStrByKey(getKeyTelResp2Proyecto(item))
300300
301301
302302 func getKeyMessResp1Proyecto (item) = "Responsable №1 del Proyecto / Messenger.:"
303303
304304
305305 func getValueMessResp1Proyecto (item) = getStrByKey(getKeyMessResp1Proyecto(item))
306306
307307
308308 func getKeyMessResp2Proyecto (item) = "Responsable №2 del Proyecto / Messenger:"
309309
310310
311311 func getValueMessResp2Proyecto (item) = getStrByKey(getKeyMessResp2Proyecto(item))
312312
313313
314314 func getKeyEmailResp1Proyecto (item) = "Responsable №1 del Proyecto / Email.:"
315315
316316
317317 func getValueEmailResp1Proyecto (item) = getStrByKey(getKeyEmailResp1Proyecto(item))
318318
319319
320320 func getKeyEmailResp2Proyecto (item) = "Responsable №2 del Proyecto / Email:"
321321
322322
323323 func getValueEmailResp2Proyecto (item) = getStrByKey(getKeyEmailResp2Proyecto(item))
324324
325325
326326 func getKeyTokInicialQtyProyecto (item) = "Cantidad Inicial de Tokens del Proyecto:"
327327
328328
329329 func getValueTokInicialQtyProyecto (item) = getNumberByKey(getKeyTokInicialQtyProyecto(item))
330330
331331
332332 func getKeyTokTotalQtyProyecto (item) = "Cantidad Total de Tokens del Proyecto:"
333333
334334
335335 func getValueTokTotalQtyProyecto (item) = getNumberByKey(getKeyTokTotalQtyProyecto(item))
336336
337337
338338 func getKeyIngrClienteProj (item) = "Ingresos para el Cliente, en tokens:"
339339
340340
341341 func getValueIngrClienteProj (item) = getNumberByKey(getKeyIngrClienteProj(item))
342342
343343
344344 func getKeyIngrVendedorProj (item) = "Ingresos para el Vendedor, en tokens:"
345345
346346
347347 func getValueIngrVendedorProj (item) = getNumberByKey(getKeyIngrVendedorProj(item))
348348
349349
350350 func getKeyIngrEcosystemProj (item) = "Ingresos para el Ecosistema, en tokens:"
351351
352352
353353 func getValueIngrEcosystemProj (item) = getNumberByKey(getKeyIngrEcosystemProj(item))
354354
355355
356356 @Callable(i)
357357 func addProyectos (title,categoria,subCategoria,nombreProj,country,description,desarrollador,responsable1,tel1,messenger1,email1,responsable2,tel2,messenger2,email2,tokTotal,tokInicial,ingrCliente,ingrVendedor,ingrEcosystem) = {
358358 let supplier = toBase58String(i.caller.bytes)
359359 let item = getKeyProyecto(supplier, title)
360- WriteSet([DataEntry(getKeyProyecto(supplier, title), title), DataEntry(getKeyItemProyecto(item), 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)])
360+ WriteSet([DataEntry(getKeyProyecto(supplier, title), 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)])
361361 }
362362
363363
364364
365365 @Callable(i)
366366 func addProductosVendedorGTS (title,vendedor,codigo,nombreProd1,precioProd1,descProd1,cantidadProd1,nombreProd2,precioProd2,descProd2,cantidadProd2,nombreProd3,precioProd3,descProd3,cantidadProd3,ingrProyecto,ingrVendedor,ingrEcosystem) = {
367367 let supplier = toBase58String(i.caller.bytes)
368368 let item = getKeyItem(supplier, title)
369369 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)])
370370 }
371371
372372
373373 @Verifier(tx)
374374 func verify () = match tx {
375375 case t: SetScriptTransaction =>
376376 sigVerify(tx.bodyBytes, tx.proofs[0], OwnerPubKey)
377377 case d: ReissueTransaction|DataTransaction =>
378378 true
379379 case tx: TransferTransaction =>
380380 true
381381 case tx: ExchangeTransaction =>
382382 let withWaves = if (!(isDefined(tx.sellOrder.assetPair.priceAsset)))
383383 then true
384384 else !(isDefined(tx.sellOrder.assetPair.amountAsset))
385385 withWaves
386386 case _ =>
387387 false
388388 }
389389

github/deemru/w8io/026f985 
61.01 ms