tx · AakKd76v1QuzqCr34mnDr4NUHiAvbZPPEUj79e32Wpq6 3MzTHG5iGCbiLSwa6we3A9Bgu1AxLJsJGJi: -0.01400000 Waves 2020.04.14 11:24 [953827] smart account 3MzTHG5iGCbiLSwa6we3A9Bgu1AxLJsJGJi > SELF 0.00000000 Waves
{ "type": 13, "id": "AakKd76v1QuzqCr34mnDr4NUHiAvbZPPEUj79e32Wpq6", "fee": 1400000, "feeAssetId": null, "timestamp": 1586852646564, "version": 1, "sender": "3MzTHG5iGCbiLSwa6we3A9Bgu1AxLJsJGJi", "senderPublicKey": "CRfx64Rq1YaF34soxVToYf8jdWSMQ9FuU2HhFUAq7yg3", "proofs": [ "3owJ3Pitmbdo4y7vAcr7nx5jGbvYkKk6spDbmfu4pej1KigfwfUNcUXjnzxLGngqy217q3XuaPPXrvnPvg4cECEm" ], "script": "base64:AAIDAAAAAAAAADAIARIWChQICAgICAgICAgICAgICAgBAQEBARIUChIICAEIAQEBCAEBAQgBAQEBCAEAAAB1AAAAAAdiQml0Q08yAQAAACAkubz3kBYNSCNdNAZyd/QzZ1pU4dNNWTExj4jouAng0QAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIAgjYJZN0ooEg5eZ/JuydkXbHU5+gV7ekdpHJWSdU+NxAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQmXeqpNBOU0gXTRoLnFygaPj7BjtrRIP0AAAAABGVBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTK9zs+5y/RVeIPrfhFsyze+43QDUVrfW8AAAAABHBBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTUPeuO2Y1p2TpK+OH14WsDuVCV2jcMFFQAAAAAA2lndgAAAAAAAAAAEgAAAAADY1BCAAAAAAAA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bmRlZG9yAAAAAQUAAAAEaXRlbQUAAAAMaW5nclZlbmRlZG9yCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAUZ2V0S2V5SW5nckVjb3N5c3RlbVYAAAABBQAAAARpdGVtBQAAAA1pbmdyRWNvc3lzdGVtBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtPd25lclB1YktleQMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAJd2l0aFdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAAJd2l0aFdhdmVzBzwsoUU=", "chainId": 84, "height": 953827, "spentComplexity": 0 } View: original | compacted Prev: none Next: none 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 getKeyUserItemCounter (user,item) = "Order_№:" | |
72 | + | ||
73 | + | ||
74 | + | func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item)) | |
75 | + | ||
76 | + | ||
77 | + | func getKeyEnte (supplier,title) = ("RubroEmpresarial:" + toBase58String(sha256(toBytes((supplier + title))))) | |
78 | + | ||
79 | + | ||
80 | + | func getKeyEnteCategoria (item) = (item + "Vendedor, Categoria") | |
81 | + | ||
82 | + | ||
83 | + | func getValueEnteCategoria (item) = getStrByKey(getKeyEnteCategoria(item)) | |
84 | + | ||
85 | + | ||
86 | + | func getKeyEnteSubCategoria (item) = (item + "Vendedor, Sub-Categoria") | |
87 | + | ||
88 | + | ||
89 | + | func getValueEnteSubCategoria (item) = getStrByKey(getKeyEnteSubCategoria(item)) | |
90 | + | ||
91 | + | ||
92 | + | func getKeyNombreVendedor (item) = "NombreVendedor:" | |
93 | + | ||
94 | + | ||
95 | + | func getValueNombreVendedor (item) = getStrByKey(getKeyNombreVendedor(item)) | |
96 | + | ||
97 | + | ||
98 | + | func getKeyPaisVendedor (item) = "PaisVendedor:" | |
99 | + | ||
100 | + | ||
101 | + | func getValuePaisVendedor (item) = getStrByKey(getKeyPaisVendedor(item)) | |
102 | + | ||
103 | + | ||
104 | + | func getKeyTelVendedor (item) = "Tel. Vendedor:" | |
105 | + | ||
106 | + | ||
107 | + | func getValueTelVendedor (item) = getStrByKey(getKeyTelVendedor(item)) | |
108 | + | ||
109 | + | ||
110 | + | func getKeyMessVendedor (item) = "Servicio_Messenger(Wapp,Skype,etc):" | |
111 | + | ||
112 | + | ||
113 | + | func getValueMessVendedor (item) = getStrByKey(getKeyMessVendedor(item)) | |
114 | + | ||
115 | + | ||
116 | + | func getKeyEmailVendedor (item) = "Email Vendedor:" | |
117 | + | ||
118 | + | ||
119 | + | func getValueEmailVendedor (item) = getStrByKey(getKeyEmailVendedor(item)) | |
120 | + | ||
121 | + | ||
122 | + | func getKeyDescriptionVendedor (item) = "Descripcion de la Entidad / Otros:" | |
123 | + | ||
124 | + | ||
125 | + | func getValueDescriptionVendedor (item) = getStrByKey(getKeyDescriptionVendedor(item)) | |
126 | + | ||
127 | + | ||
128 | + | func getKeyListaVendedor (item) = "Lista de VendedoresGTS:" | |
129 | + | ||
130 | + | ||
131 | + | func getValueListaVendedor (item) = getStrByKey(getKeyListaVendedor(item)) | |
132 | + | ||
133 | + | ||
134 | + | func getKeyCodigoVendedor (item) = "CodigoGTS del Vendedor:" | |
135 | + | ||
136 | + | ||
137 | + | func getValueCodigoVendedor (item) = getStrByKey(getKeyCodigoVendedor(item)) | |
138 | + | ||
139 | + | ||
140 | + | func getKeyNameProd1V (item) = "NombreProducto1:" | |
141 | + | ||
142 | + | ||
143 | + | func getValueNameProd1V (item) = getStrByKey(getKeyNameProd1V(item)) | |
144 | + | ||
145 | + | ||
146 | + | func getKeyNameProd2V (item) = "NombreProducto2:" | |
147 | + | ||
148 | + | ||
149 | + | func getValueNameProd2V (item) = getStrByKey(getKeyNameProd2V(item)) | |
150 | + | ||
151 | + | ||
152 | + | func getKeyNameProd3V (item) = "NombreProducto3:" | |
153 | + | ||
154 | + | ||
155 | + | func getValueNameProd3V (item) = getStrByKey(getKeyNameProd3V(item)) | |
156 | + | ||
157 | + | ||
158 | + | func getKeyPrecioProd1V (item) = "PrecioNominalProducto1:" | |
159 | + | ||
160 | + | ||
161 | + | func getValuePrecioProd1V (item) = getNumberByKey(getKeyPrecioProd1V(item)) | |
162 | + | ||
163 | + | ||
164 | + | func getKeyPrecioProd2V (item) = "PrecioNominalProducto2:" | |
165 | + | ||
166 | + | ||
167 | + | func getValuePrecioProd2V (item) = getNumberByKey(getKeyPrecioProd2V(item)) | |
168 | + | ||
169 | + | ||
170 | + | func getKeyPrecioProd3V (item) = "PrecioNominalProducto3:" | |
171 | + | ||
172 | + | ||
173 | + | func getValuePrecioProd3V (item) = getNumberByKey(getKeyPrecioProd3V(item)) | |
174 | + | ||
175 | + | ||
176 | + | func getKeyDescProd1V (item) = "DescuentoProducto1:" | |
177 | + | ||
178 | + | ||
179 | + | func getValueDescProd1V (item) = getNumberByKey(getKeyDescProd1V(item)) | |
180 | + | ||
181 | + | ||
182 | + | func getKeyDescProd2V (item) = "DescuentoProducto2:" | |
183 | + | ||
184 | + | ||
185 | + | func getValueDescProd2V (item) = getNumberByKey(getKeyDescProd2V(item)) | |
186 | + | ||
187 | + | ||
188 | + | func getKeyDescProd3V (item) = "DescuentoProducto3:" | |
189 | + | ||
190 | + | ||
191 | + | func getValueDescProd3V (item) = getNumberByKey(getKeyDescProd3V(item)) | |
192 | + | ||
193 | + | ||
194 | + | func getKeyQtyProd1V (item) = "CantidadProducto1:" | |
195 | + | ||
196 | + | ||
197 | + | func getValueQtyProd1V (item) = getNumberByKey(getKeyQtyProd1V(item)) | |
198 | + | ||
199 | + | ||
200 | + | func getKeyQtyProd2V (item) = "CantidadProducto2:" | |
201 | + | ||
202 | + | ||
203 | + | func getValueQtyProd2V (item) = getNumberByKey(getKeyQtyProd2V(item)) | |
204 | + | ||
205 | + | ||
206 | + | func getKeyQtyProd3V (item) = "CantidadProducto3:" | |
207 | + | ||
208 | + | ||
209 | + | func getValueQtyProd3V (item) = getNumberByKey(getKeyQtyProd3V(item)) | |
210 | + | ||
211 | + | ||
212 | + | func getKeyIngrProyV (item) = "Ingreso para el Proyecto por VentasGTS:" | |
213 | + | ||
214 | + | ||
215 | + | func getValueIngrProyV (item) = getNumberByKey(getKeyIngrProyV(item)) | |
216 | + | ||
217 | + | ||
218 | + | func getKeyIngrVendedor (item) = "Ingreso para el Vendedor por la Venta:" | |
219 | + | ||
220 | + | ||
221 | + | func getValueIngrVendedor (item) = getNumberByKey(getKeyIngrVendedor(item)) | |
222 | + | ||
223 | + | ||
224 | + | func getKeyIngrEcosystemV (item) = "Ingreso para el Ecosistema por VentasGTS:" | |
225 | + | ||
226 | + | ||
227 | + | func getValueIngrEcosystemV (item) = getNumberByKey(getKeyIngrEcosystemV(item)) | |
228 | + | ||
229 | + | ||
230 | + | func getKeyProject (pA) = ("ItemProject" + pA) | |
231 | + | ||
232 | + | ||
233 | + | func getValueProject (pA) = getStrByKey(getKeyProject(pA)) | |
234 | + | ||
235 | + | ||
236 | + | func getKeyProyecto (supplier,title) = ("itemProyecto:" + toBase58String(sha256(toBytes((supplier + title))))) | |
237 | + | ||
238 | + | ||
239 | + | func getKeyItemProyecto (itemProject) = ("ItemProyecto" + itemProject) | |
240 | + | ||
241 | + | ||
242 | + | func getKeyProyectoCategoria (itemProject) = "Proyecto, Categoria" | |
243 | + | ||
244 | + | ||
245 | + | func getValueProyectoCategoria (itemProject) = getStrByKey(getKeyProyectoCategoria(itemProject)) | |
246 | + | ||
247 | + | ||
248 | + | func getKeyProyectoSubCategoria (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(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)]) | |
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 32.59 ms ◑