tx · 5EkGrL6YuR3ZVNQGGyFTkWrVbXpYQS9CUiSMPXdy9Qmc

3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B:  -0.01400000 Waves

2020.04.14 12:59 [953934] smart account 3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B > SELF 0.00000000 Waves

{ "type": 13, "id": "5EkGrL6YuR3ZVNQGGyFTkWrVbXpYQS9CUiSMPXdy9Qmc", "fee": 1400000, "feeAssetId": null, "timestamp": 1586858380998, "version": 1, "sender": "3MyDV3xfvwKzBV8yidXnLcaeQPSdiCmhX3B", "senderPublicKey": "YmYsKHtsKRVKHxPW2qUzePRZWkwcZDryNtR31EGizkx", "proofs": [ "37vs9FcDSTMoUaS7kao1EK7A2e8As8hyLhaxHppUsi9aVwQ6Y4ndAy8kQDfGDHqeBEjNEBDeLDY4QHFrZiZjPh3V" ], "script": "base64:AAIDAAAAAAAAADIIARIWChQICAgICAgICAgICAgICAgBAQEBARIWChQICAgICAgBAQEIAQEBCAEBAQEBAQAAAHoAAAAAB2JCaXRDTzIBAAAAICS5vPeQFg1II100BnJ39DNnWlTh001ZMTGPiOi4CeDRAAAAAAhub21QcmljZQAAAAAAAAAAAQAAAAADd3ZzAAAAAAAF9eEAAAAAABBzdXBwbGllckRpc2NvdW50AAAAAAAAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAtPd25lclB1YktleQEAAAAgCCNglk3SigSDl5n8m7J2RdsdTn6BXt6R2kclZJ1T43EAAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZd6qk0E5TSBdNGgucXKBo+PsGO2tEg/QAAAAAEZUFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVMr3Oz7nL9FV4g+t+EWzLN77jdANRWt9bwAAAAAEcEFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVNQ9647ZjWnZOkr44fXhawO5UJXaNwwUVAAAAAADaWd2AAAAAAAAAAASAAAAAANjUEIAAAAAAAAAAFgAA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AAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALT3duZXJQdWJLZXkDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwfmQ5/j", "chainId": 84, "height": 953934, "spentComplexity": 0 } View: original | compacted Prev: GVBGhXMHgHwdY4fdHKp2S7zVaj3if7NWzF6HEfpxSzAv Next: HAGQfgA9nTiS9QhXjXiv87y8F97RLrX6NyfrYf3jjFhz Diff:
OldNewDifferences
227227 func getValueIngrEcosystemV (item) = getNumberByKey(getKeyIngrEcosystemV(item))
228228
229229
230-func getKeyProducto (supplier,title) = ("itemProducto:" + toBase58String(sha256(toBytes((supplier + title)))))
230+func getKeyVendedor (supplier,title) = ("itemVendedor:" + toBase58String(sha256(toBytes((supplier + title)))))
231231
232232
233-func getKeyProductoCategoria (itemProduct) = "Producto, Categoria"
233+func getKeyVendedorCategoria (itemVendedor) = "Producto, Categoria"
234234
235235
236-func getValueProductoCategoria (itemProduct) = getStrByKey(getKeyProductoCategoria(itemProduct))
236+func getValueVendedorCategoria (itemVendedor) = getStrByKey(getKeyVendedorCategoria(itemVendedor))
237237
238238
239-func getKeyProductoSubCategoria (itemProduct) = "Producto, Sub-Categoria"
239+func getKeyVendedorSubCategoria (itemVendedor) = "vENDEDOR, Sub-Categoria"
240240
241241
242-func getValueProductoSubCategoria (itemProduct) = getStrByKey(getKeyProductoSubCategoria(itemProduct))
242+func getValueVendedorSubCategoria (itemVendedor) = getStrByKey(getKeyVendedorSubCategoria(itemVendedor))
243243
244244
245245 func getKeyProject (pA) = ("ItemProject" + pA)
381381 func addProductosVendedorGTS (title,categoria,subCategoria,vendedor,codigo,nombreProd1,precioProd1,descProd1,cantidadProd1,nombreProd2,precioProd2,descProd2,cantidadProd2,nombreProd3,precioProd3,descProd3,cantidadProd3,ingrProyecto,ingrVendedor,ingrEcosystem) = {
382382 let supplier = toBase58String(i.caller.bytes)
383383 let item = getKeyItem(supplier, title)
384- WriteSet([DataEntry(getKeyListaVendedor(item), title), DataEntry(getKeyProducto(supplier, title), title), DataEntry(getKeyProductoCategoria(item), categoria), DataEntry(getKeyProductoSubCategoria(item), subCategoria), 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)])
384+ WriteSet([DataEntry(getKeyVendedor(supplier, title), title), DataEntry(getKeyVendedorCategoria(item), categoria), DataEntry(getKeyVendedorSubCategoria(item), subCategoria), 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)])
385385 }
386386
387387
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
230-func getKeyProducto (supplier,title) = ("itemProducto:" + toBase58String(sha256(toBytes((supplier + title)))))
230+func getKeyVendedor (supplier,title) = ("itemVendedor:" + toBase58String(sha256(toBytes((supplier + title)))))
231231
232232
233-func getKeyProductoCategoria (itemProduct) = "Producto, Categoria"
233+func getKeyVendedorCategoria (itemVendedor) = "Producto, Categoria"
234234
235235
236-func getValueProductoCategoria (itemProduct) = getStrByKey(getKeyProductoCategoria(itemProduct))
236+func getValueVendedorCategoria (itemVendedor) = getStrByKey(getKeyVendedorCategoria(itemVendedor))
237237
238238
239-func getKeyProductoSubCategoria (itemProduct) = "Producto, Sub-Categoria"
239+func getKeyVendedorSubCategoria (itemVendedor) = "vENDEDOR, Sub-Categoria"
240240
241241
242-func getValueProductoSubCategoria (itemProduct) = getStrByKey(getKeyProductoSubCategoria(itemProduct))
242+func getValueVendedorSubCategoria (itemVendedor) = getStrByKey(getKeyVendedorSubCategoria(itemVendedor))
243243
244244
245245 func getKeyProject (pA) = ("ItemProject" + pA)
246246
247247
248248 func getValueProject (pA) = getStrByKey(getKeyProject(pA))
249249
250250
251251 func getKeyProyecto (supplier,title) = ("itemProyecto:" + toBase58String(sha256(toBytes((supplier + title)))))
252252
253253
254254 func getKeyItemProyecto (itemProject) = ("ItemProyecto" + itemProject)
255255
256256
257257 func getKeyProyectoCategoria (itemProject) = "Proyecto, Categoria"
258258
259259
260260 func getValueProyectoCategoria (itemProject) = getStrByKey(getKeyProyectoCategoria(itemProject))
261261
262262
263263 func getKeyProyectoSubCategoria (itemProject) = "Proyecto, Sub-Categoria"
264264
265265
266266 func getValueProyectoSubCategoria (itemProject) = getStrByKey(getKeyProyectoSubCategoria(itemProject))
267267
268268
269269 func getKeyNombreProyecto (item) = "NombreProyecto:"
270270
271271
272272 func getValueNombreProyecto (item) = getStrByKey(getKeyNombreProyecto(item))
273273
274274
275275 func getKeyPaisProyecto (item) = "PaisProyecto:"
276276
277277
278278 func getValuePaisProyecto (item) = getStrByKey(getKeyPaisProyecto(item))
279279
280280
281281 func getKeyDescriptionProyecto (item) = "Descripcion del Proyecto:"
282282
283283
284284 func getValueDescriptionProyecto (item) = getStrByKey(getKeyDescriptionProyecto(item))
285285
286286
287287 func getKeyDesarrolladorProyecto (item) = "Desarrollador del Proyecto:"
288288
289289
290290 func getValueDesarrolladorProyecto (item) = getStrByKey(getKeyDesarrolladorProyecto(item))
291291
292292
293293 func getKeyResp1Proyecto (item) = "Responsable №1 del Proyecto:"
294294
295295
296296 func getValueResp1Proyecto (item) = getStrByKey(getKeyResp1Proyecto(item))
297297
298298
299299 func getKeyResp2Proyecto (item) = "Responsable №2 del Proyecto:"
300300
301301
302302 func getValueResp2Proyecto (item) = getStrByKey(getKeyResp2Proyecto(item))
303303
304304
305305 func getKeyTelResp1Proyecto (item) = "Responsable №1 del Proyecto / Tel.:"
306306
307307
308308 func getValueTelResp1Proyecto (item) = getStrByKey(getKeyTelResp1Proyecto(item))
309309
310310
311311 func getKeyTelResp2Proyecto (item) = "Responsable №2 del Proyecto / Tel.:"
312312
313313
314314 func getValueTelResp2Proyecto (item) = getStrByKey(getKeyTelResp2Proyecto(item))
315315
316316
317317 func getKeyMessResp1Proyecto (item) = "Responsable №1 del Proyecto / Messenger.:"
318318
319319
320320 func getValueMessResp1Proyecto (item) = getStrByKey(getKeyMessResp1Proyecto(item))
321321
322322
323323 func getKeyMessResp2Proyecto (item) = "Responsable №2 del Proyecto / Messenger:"
324324
325325
326326 func getValueMessResp2Proyecto (item) = getStrByKey(getKeyMessResp2Proyecto(item))
327327
328328
329329 func getKeyEmailResp1Proyecto (item) = "Responsable №1 del Proyecto / Email.:"
330330
331331
332332 func getValueEmailResp1Proyecto (item) = getStrByKey(getKeyEmailResp1Proyecto(item))
333333
334334
335335 func getKeyEmailResp2Proyecto (item) = "Responsable №2 del Proyecto / Email:"
336336
337337
338338 func getValueEmailResp2Proyecto (item) = getStrByKey(getKeyEmailResp2Proyecto(item))
339339
340340
341341 func getKeyTokInicialQtyProyecto (item) = "Cantidad Inicial de Tokens del Proyecto:"
342342
343343
344344 func getValueTokInicialQtyProyecto (item) = getNumberByKey(getKeyTokInicialQtyProyecto(item))
345345
346346
347347 func getKeyTokTotalQtyProyecto (item) = "Cantidad Total de Tokens del Proyecto:"
348348
349349
350350 func getValueTokTotalQtyProyecto (item) = getNumberByKey(getKeyTokTotalQtyProyecto(item))
351351
352352
353353 func getKeyIngrClienteProj (item) = "Ingresos para el Cliente, en tokens:"
354354
355355
356356 func getValueIngrClienteProj (item) = getNumberByKey(getKeyIngrClienteProj(item))
357357
358358
359359 func getKeyIngrVendedorProj (item) = "Ingresos para el Vendedor, en tokens:"
360360
361361
362362 func getValueIngrVendedorProj (item) = getNumberByKey(getKeyIngrVendedorProj(item))
363363
364364
365365 func getKeyIngrEcosystemProj (item) = "Ingresos para el Ecosistema, en tokens:"
366366
367367
368368 func getValueIngrEcosystemProj (item) = getNumberByKey(getKeyIngrEcosystemProj(item))
369369
370370
371371 @Callable(i)
372372 func addProyectos (title,categoria,subCategoria,nombreProj,country,description,desarrollador,responsable1,tel1,messenger1,email1,responsable2,tel2,messenger2,email2,tokTotal,tokInicial,ingrCliente,ingrVendedor,ingrEcosystem) = {
373373 let supplier = toBase58String(i.caller.bytes)
374374 let item = getKeyProyecto(supplier, title)
375375 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)])
376376 }
377377
378378
379379
380380 @Callable(i)
381381 func addProductosVendedorGTS (title,categoria,subCategoria,vendedor,codigo,nombreProd1,precioProd1,descProd1,cantidadProd1,nombreProd2,precioProd2,descProd2,cantidadProd2,nombreProd3,precioProd3,descProd3,cantidadProd3,ingrProyecto,ingrVendedor,ingrEcosystem) = {
382382 let supplier = toBase58String(i.caller.bytes)
383383 let item = getKeyItem(supplier, title)
384- WriteSet([DataEntry(getKeyListaVendedor(item), title), DataEntry(getKeyProducto(supplier, title), title), DataEntry(getKeyProductoCategoria(item), categoria), DataEntry(getKeyProductoSubCategoria(item), subCategoria), 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)])
384+ WriteSet([DataEntry(getKeyVendedor(supplier, title), title), DataEntry(getKeyVendedorCategoria(item), categoria), DataEntry(getKeyVendedorSubCategoria(item), subCategoria), 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)])
385385 }
386386
387387
388388 @Verifier(tx)
389389 func verify () = match tx {
390390 case t: SetScriptTransaction =>
391391 sigVerify(tx.bodyBytes, tx.proofs[0], OwnerPubKey)
392392 case d: ReissueTransaction|DataTransaction =>
393393 true
394394 case tx: TransferTransaction =>
395395 true
396396 case tx: ExchangeTransaction =>
397397 let withWaves = if (!(isDefined(tx.sellOrder.assetPair.priceAsset)))
398398 then true
399399 else !(isDefined(tx.sellOrder.assetPair.amountAsset))
400400 withWaves
401401 case _ =>
402402 false
403403 }
404404

github/deemru/w8io/026f985 
58.74 ms