tx · GvFKTgr7tbthZvJvzZQLBhavntZdnMrNq3SNe78xg5HX

3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8:  -0.01400000 Waves

2020.08.26 12:08 [1149478] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves

{ "type": 13, "id": "GvFKTgr7tbthZvJvzZQLBhavntZdnMrNq3SNe78xg5HX", "fee": 1400000, "feeAssetId": null, "timestamp": 1598432949844, "version": 1, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "5zvGh81SVFqn6UuZ9MayT5mUgxpkf3oLwVRQwcw1pe1prmLEhEnS3pE7vh788uo8Sj8b4E8HJnQBMWhHTPR6peU7" ], "script": "base64:AAIDAAAAAAAAACAIARIECgIICBIHCgUICAgIARIHCgUICAgIARIECgIIAQAAADAAAAAAB3lCaXRDTzIBAAAAIGmM1P/bTQF96Mt4t9+zj8FcPDlb6Qx5aA0hjmfpm0utAAAAAARndHMxAQAAACDDxYMO3SsdGFMCSZ4E3p59+bOpZEBHwTUZ+0J8yxIGZwAAAAAIc3RhcnRRdHkAAAAAALY1DNAAAAAADEZpcnN0RmFzZVF0eQAAAAAAEpeskAAAAAANU2Vjb25kRmFzZVF0eQAAAAAAo51gQAAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIHYlgUf22Lk37u4at3MrCWteEN5n68yQc4q5Um14SA8PAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSxn8sta9KJwYVeSm05ro6/tXJvgonaFpMAAAAABGVBZGQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSZfSwz7guLhVBBDbpt8HuP9d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AAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwdT//5V", "chainId": 84, "height": 1149478, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5z8dnmDqfeoFhw3SFeqR4FW3QVYoCWMK8gHgCXEQNNBy Next: 8Rp416FtWTQkonwvrGnZKTh84auqaNS3NQzLQg9QYHvh Diff:
OldNewDifferences
237237 then throw("Payment Amount can't be less than item Purchase Order")
238238 else if ((ah.amount > an))
239239 then throw("Payment Amount can't be higher than item Purchase Order")
240- else ScriptResult(WriteSet([DataEntry(J(as, F), (L(as, F) + 1)), DataEntry(E(D, F), F), DataEntry(M(F), ak), DataEntry(O(F), al), DataEntry(Q(F), am), DataEntry("Payment_amount,_yBitCO2cents", an), DataEntry("Imp, %", n), DataEntry("STtl, yBitCO2cents", at), DataEntry("CP 1 B, yBitCO2cents", au), DataEntry(Y(F), av), DataEntry("UBI, 10e-4 gts1", (aw * 10000)), DataEntry(aa(F), ax), DataEntry("EcSys, yBitCO2cents", ay), DataEntry("EcSys, 10e-4 gts1", (az * 10000)), DataEntry(ac(F), aA), DataEntry("SBI, 10e-4 gts1", (aB * 10000)), DataEntry(("Order_Status:_" + as), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", (aC * 10000)), DataEntry(U(F), (aq - (aC * 10000))), DataEntry(W(D), (ar + ah.amount))]), TransferSet([ScriptTransfer(ae.caller, aw, b), ScriptTransfer(m, ax, a), ScriptTransfer(l, ay, a), ScriptTransfer(l, az, b), ScriptTransfer(k, aA, a), ScriptTransfer(k, aB, b)]))
240+ else ScriptResult(WriteSet([DataEntry(J(as, F), (L(as, F) + 1)), DataEntry(E(D, F), F), DataEntry(M(F), ak), DataEntry(O(F), al), DataEntry(Q(F), am), DataEntry("Payment_amount,_yBitCO2cents", an), DataEntry("Imp, %", n), DataEntry("STtl, yBitCO2cents", at), DataEntry("CP 1 B, yBitCO2cents", au), DataEntry(Y(F), av), DataEntry("UBI, 10e-4 gts1", (aw / 10000)), DataEntry(aa(F), ax), DataEntry("EcSys, yBitCO2cents", ay), DataEntry("EcSys, 10e-4 gts1", (az * 1000000)), DataEntry(ac(F), aA), DataEntry("SBI, 10e-4 gts1", (aB * 1000000)), DataEntry(("Order_Status:_" + as), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", (aC * 10000)), DataEntry(U(F), (aq - (aC * 10000))), DataEntry(W(D), (ar + ah.amount))]), TransferSet([ScriptTransfer(ae.caller, aw, b), ScriptTransfer(m, ax, a), ScriptTransfer(l, ay, a), ScriptTransfer(l, az, b), ScriptTransfer(k, aA, a), ScriptTransfer(k, aB, b)]))
241241 }
242242 }
243243
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx'
55
66 let b = base58'EBDBY14t3xuduZ2GCNqEUpoLoy9eAAYfyQZA5ryVJxzS'
77
88 let c = 3056930000
99
1010 let d = 311930000
1111
1212 let e = 2745000000
1313
1414 let f = 1
1515
1616 let g = 100000000
1717
1818 let h = 12
1919
2020 let i = "none"
2121
2222 let j = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
2323
2424 let k = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
2525
2626 let l = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
2727
2828 let m = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
2929
3030 let n = 18
3131
3232 let o = 10000
3333
3434 let p = (10 * o)
3535
3636 let q = 7
3737
3838 let r = 10
3939
4040 let s = 1
4141
4242 let t = 2
4343
4444 let u = 2
4545
4646 func v (w) = {
4747 let x = {
4848 let y = getInteger(this, w)
4949 if ($isInstanceOf(y, "Int"))
5050 then {
5151 let z = y
5252 z
5353 }
5454 else 0
5555 }
5656 x
5757 }
5858
5959
6060 func A (w) = {
6161 let B = {
6262 let y = getString(this, w)
6363 if ($isInstanceOf(y, "String"))
6464 then {
6565 let z = y
6666 z
6767 }
6868 else i
6969 }
7070 B
7171 }
7272
7373
7474 func C (D) = (D + "Bit-CO2 Shop, Lima-Perú")
7575
7676
7777 func E (D,F) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((D + F)))))
7878
7979
8080 func G (F) = "Project"
8181
8282
8383 func H (F) = "Nodo del Ecosistema"
8484
8585
8686 func I (F) = "GTStable"
8787
8888
8989 func J (K,F) = "Order_№:"
9090
9191
9292 func L (K,F) = v(J(K, F))
9393
9494
9595 func M (F) = "Categoría del Producto:"
9696
9797
9898 func N (F) = A(M(F))
9999
100100
101101 func O (F) = "Nombre del Usuario:"
102102
103103
104104 func P (F) = A(O(F))
105105
106106
107107 func Q (F) = "№ de Documento / DNI del Usuario:"
108108
109109
110110 func R (F) = A(Q(F))
111111
112112
113113 func S (F) = "Tokens Ofertados en la presente etapa / Saldo, ytok:"
114114
115115
116116 func T (F) = v(S(F))
117117
118118
119119 func U (F) = "Balance/Saldo GTS, ytokens:"
120120
121121
122122 func V (F) = v(U(F))
123123
124124
125125 func W (D) = "Monto Bruto por VentaGTS, wvls:"
126126
127127
128128 func X (D) = v(W(D))
129129
130130
131131 func Y (F) = "UI,_wvls:"
132132
133133
134134 func Z (F) = v(Y(F))
135135
136136
137137 func aa (F) = "PI,_wvls:"
138138
139139
140140 func ab (F) = v(aa(F))
141141
142142
143143 func ac (F) = "SI,_wvls:"
144144
145145
146146 func ad (F) = v(ac(F))
147147
148148
149149 @Callable(ae)
150150 func deposit (af,ag) = {
151151 let ah = extract(ae.payment)
152152 if ((ah.assetId != a))
153153 then throw("deposito permitido solo en yBitCO2 tokens")
154154 else {
155155 let D = toBase58String(ae.caller.bytes)
156156 let ai = {
157157 let y = getInteger(this, D)
158158 if ($isInstanceOf(y, "Int"))
159159 then {
160160 let z = y
161161 z
162162 }
163163 else c
164164 }
165165 let aj = (ai + ah.amount)
166166 if ((0 >= aj))
167167 then throw("No hay yBitCO2 en su balance")
168168 else WriteSet([DataEntry(D, aj)])
169169 }
170170 }
171171
172172
173173
174174 @Callable(ae)
175175 func purchaseGTS (F,ak,al,am,an) = {
176176 let ah = extract(ae.payment)
177177 if ((ah.assetId != a))
178178 then throw("Use yBitCO2 tokens para adquirir ProductosGTS")
179179 else {
180180 let D = {
181181 let y = getString(this, C(F))
182182 if ($isInstanceOf(y, "String"))
183183 then {
184184 let z = y
185185 z
186186 }
187187 else i
188188 }
189189 let ao = {
190190 let y = getString(this, G(F))
191191 if ($isInstanceOf(y, "String"))
192192 then {
193193 let z = y
194194 i
195195 }
196196 else m
197197 }
198198 let ap = {
199199 let y = getString(this, H(F))
200200 if ($isInstanceOf(y, "String"))
201201 then {
202202 let z = y
203203 i
204204 }
205205 else l
206206 }
207207 let aq = {
208208 let y = getInteger(this, U(F))
209209 if ($isInstanceOf(y, "Int"))
210210 then {
211211 let z = y
212212 z
213213 }
214214 else e
215215 }
216216 let ar = {
217217 let y = getInteger(this, W(D))
218218 if ($isInstanceOf(y, "Int"))
219219 then {
220220 let z = y
221221 z
222222 }
223223 else 0
224224 }
225225 let as = toBase58String(ae.caller.bytes)
226226 let at = (an - ((n * an) / 100))
227227 let au = ((88 * p) / 100)
228228 let av = ((at * q) / 100)
229229 let aw = ((av / au) * 1)
230230 let ax = ((at * r) / 100)
231231 let ay = ((at * s) / 100)
232232 let az = (((at * u) / (100 * au)) * 1)
233233 let aA = ((an - ax) - ay)
234234 let aB = (((at * t) / (100 * au)) * 1)
235235 let aC = (((at * 11) / (au * 100)) * 1)
236236 if ((an > ah.amount))
237237 then throw("Payment Amount can't be less than item Purchase Order")
238238 else if ((ah.amount > an))
239239 then throw("Payment Amount can't be higher than item Purchase Order")
240- else ScriptResult(WriteSet([DataEntry(J(as, F), (L(as, F) + 1)), DataEntry(E(D, F), F), DataEntry(M(F), ak), DataEntry(O(F), al), DataEntry(Q(F), am), DataEntry("Payment_amount,_yBitCO2cents", an), DataEntry("Imp, %", n), DataEntry("STtl, yBitCO2cents", at), DataEntry("CP 1 B, yBitCO2cents", au), DataEntry(Y(F), av), DataEntry("UBI, 10e-4 gts1", (aw * 10000)), DataEntry(aa(F), ax), DataEntry("EcSys, yBitCO2cents", ay), DataEntry("EcSys, 10e-4 gts1", (az * 10000)), DataEntry(ac(F), aA), DataEntry("SBI, 10e-4 gts1", (aB * 10000)), DataEntry(("Order_Status:_" + as), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", (aC * 10000)), DataEntry(U(F), (aq - (aC * 10000))), DataEntry(W(D), (ar + ah.amount))]), TransferSet([ScriptTransfer(ae.caller, aw, b), ScriptTransfer(m, ax, a), ScriptTransfer(l, ay, a), ScriptTransfer(l, az, b), ScriptTransfer(k, aA, a), ScriptTransfer(k, aB, b)]))
240+ else ScriptResult(WriteSet([DataEntry(J(as, F), (L(as, F) + 1)), DataEntry(E(D, F), F), DataEntry(M(F), ak), DataEntry(O(F), al), DataEntry(Q(F), am), DataEntry("Payment_amount,_yBitCO2cents", an), DataEntry("Imp, %", n), DataEntry("STtl, yBitCO2cents", at), DataEntry("CP 1 B, yBitCO2cents", au), DataEntry(Y(F), av), DataEntry("UBI, 10e-4 gts1", (aw / 10000)), DataEntry(aa(F), ax), DataEntry("EcSys, yBitCO2cents", ay), DataEntry("EcSys, 10e-4 gts1", (az * 1000000)), DataEntry(ac(F), aA), DataEntry("SBI, 10e-4 gts1", (aB * 1000000)), DataEntry(("Order_Status:_" + as), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", (aC * 10000)), DataEntry(U(F), (aq - (aC * 10000))), DataEntry(W(D), (ar + ah.amount))]), TransferSet([ScriptTransfer(ae.caller, aw, b), ScriptTransfer(m, ax, a), ScriptTransfer(l, ay, a), ScriptTransfer(l, az, b), ScriptTransfer(k, aA, a), ScriptTransfer(k, aB, b)]))
241241 }
242242 }
243243
244244
245245
246246 @Callable(ae)
247247 func purchaseGTS2 (F,ak,al,am,an) = {
248248 let ah = extract(ae.payment)
249249 if (isDefined(ah.assetId))
250250 then throw("El Precio en waves.")
251251 else {
252252 let D = {
253253 let y = getString(this, C(F))
254254 if ($isInstanceOf(y, "String"))
255255 then {
256256 let z = y
257257 z
258258 }
259259 else i
260260 }
261261 let ao = {
262262 let y = getString(this, G(F))
263263 if ($isInstanceOf(y, "String"))
264264 then {
265265 let z = y
266266 i
267267 }
268268 else m
269269 }
270270 let ap = {
271271 let y = getString(this, H(F))
272272 if ($isInstanceOf(y, "String"))
273273 then {
274274 let z = y
275275 i
276276 }
277277 else l
278278 }
279279 let aq = {
280280 let y = getInteger(this, U(F))
281281 if ($isInstanceOf(y, "Int"))
282282 then {
283283 let z = y
284284 z
285285 }
286286 else e
287287 }
288288 let ar = {
289289 let y = getInteger(this, W(D))
290290 if ($isInstanceOf(y, "Int"))
291291 then {
292292 let z = y
293293 z
294294 }
295295 else 0
296296 }
297297 let as = toBase58String(ae.caller.bytes)
298298 let at = (an - ((n * an) / 100))
299299 let au = ((88 * o) / 100)
300300 let av = ((at * q) / 100)
301301 let aw = ((av / au) * 1)
302302 let ax = ((at * r) / 100)
303303 let ay = ((at * s) / 100)
304304 let az = (((at * u) / (100 * au)) * 1)
305305 let aA = ((an - ax) - ay)
306306 let aB = (((at * t) / (100 * au)) * 1)
307307 let aC = (((at * 11) / (au * 100)) * 1)
308308 if ((an > ah.amount))
309309 then throw("Payment Amount can't be less than item Purchase Order")
310310 else if ((ah.amount > an))
311311 then throw("Payment Amount can't be higher than item Purchase Order")
312312 else ScriptResult(WriteSet([DataEntry(J(as, F), (L(as, F) + 1)), DataEntry(E(D, F), F), DataEntry(M(F), ak), DataEntry(O(F), al), DataEntry(Q(F), am), DataEntry("Payment_amount,_wvls", an), DataEntry("Imp, %", n), DataEntry("STtl, wvls", at), DataEntry("CP 1 B, wvls", (au * 10000)), DataEntry(Y(F), av), DataEntry("UBI, 10e-4 ybitco2", aw), DataEntry(aa(F), ax), DataEntry("EcSys, wvls", ay), DataEntry("EcSys, 10e-4 ybitco2", az), DataEntry(ac(F), aA), DataEntry("SBI, 10e-4 ybitco2", aB), DataEntry(("Order_Status:_" + as), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 ybitco2", aC), DataEntry(U(F), (aq - (aC / 1))), DataEntry(W(D), (ar + ah.amount))]), TransferSet([ScriptTransfer(ae.caller, aw, a), ScriptTransfer(m, ax, unit), ScriptTransfer(l, ay, unit), ScriptTransfer(l, az, a), ScriptTransfer(k, aA, unit), ScriptTransfer(k, aB, a)]))
313313 }
314314 }
315315
316316
317317
318318 @Callable(ae)
319319 func withdraw (F,aD) = {
320320 let as = toBase58String(ae.caller.bytes)
321321 let D = {
322322 let y = getString(this, C(F))
323323 if ($isInstanceOf(y, "String"))
324324 then {
325325 let z = y
326326 z
327327 }
328328 else i
329329 }
330330 let aE = {
331331 let y = getInteger(this, U(F))
332332 if ($isInstanceOf(y, "Int"))
333333 then {
334334 let z = y
335335 z
336336 }
337337 else c
338338 }
339339 let aj = (aE - aD)
340340 if ((0 > aD))
341341 then throw("El balance de retiro no puede ser negativo!")
342342 else if ((0 >= aj))
343343 then throw("Ooppss.. Insuficiente balance!")
344344 else ScriptResult(WriteSet([DataEntry(F, aj)]), TransferSet([ScriptTransfer(ae.caller, aD, a)]))
345345 }
346346
347347
348348 @Verifier(aF)
349349 func aG () = {
350350 let y = aF
351351 if ($isInstanceOf(y, "SetScriptTransaction"))
352352 then {
353353 let aH = y
354354 sigVerify(aF.bodyBytes, aF.proofs[0], j)
355355 }
356356 else if (if ($isInstanceOf(y, "DataTransaction"))
357357 then true
358358 else $isInstanceOf(y, "ReissueTransaction"))
359359 then {
360360 let aI = y
361361 true
362362 }
363363 else if ($isInstanceOf(y, "TransferTransaction"))
364364 then {
365365 let aF = y
366366 true
367367 }
368368 else if ($isInstanceOf(y, "ExchangeTransaction"))
369369 then {
370370 let aF = y
371371 let aJ = if (!(isDefined(aF.sellOrder.assetPair.priceAsset)))
372372 then true
373373 else !(isDefined(aF.sellOrder.assetPair.amountAsset))
374374 aJ
375375 }
376376 else false
377377 }
378378

github/deemru/w8io/169f3d6 
76.41 ms