tx · 2TEGQk9ww5JK8DPiT5R4fUUEFNfu1NxfjhzWQsHW5HZ5

3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8:  -0.01000000 Waves

2021.10.20 12:47 [1754440] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves

{ "type": 13, "id": "2TEGQk9ww5JK8DPiT5R4fUUEFNfu1NxfjhzWQsHW5HZ5", "fee": 1000000, "feeAssetId": null, "timestamp": 1634723236981, "version": 2, "chainId": 84, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "4hePoqNCRAKQ5kgvXfQBavQvvthkNPLeqjowAdBpZvn9Q3eVJCTKkVdVJkE5oBoZ9DB6kQHPFgtDS5XwZw2d55Jd" ], "script": "base64:AAIDAAAAAAAAABcIARIECgIICBIHCgUICAgIARIECgIIAQAAAD0AAAAAB3lCaXRDTzIBAAAAIGmM1P/bTQF96Mt4t9+zj8FcPDlb6Qx5aA0hjmfpm0utAAAAAAhzdGFydFF0eQAAAAAAAASqHQAAAAAMRmlyc3RGYXNlUXR5AAAAAAAAAHnZAAAAAA1TZWNvbmRGYXNlUXR5AAAAAAAABDBEAAAAAAN3dnMAAAAAAAX14QAAAAAABE5PTkUCAAAABG5vbmUAAAAABEJDTzIJAQAAAAdBZGRyZXNzAAAAAQEAAAAgaYzU/9tNAX3oy3i337OPwVw8OVvpDHloDSGOZ+mbS60AAAAAC093bmVyUHViS2V5AQAAACB2JYFH9ti5N+7uGrdzKwlrXhDeZ+vMkHOKuVJteEgPDwAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUsZ/LLWvSicGFXkptOa6Ov7Vyb4KJ2haTAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUmX0sM+4Li4VQQQ26bfB7j/XU/VW4HmxXAAAAAARwQWRkCQEAAA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ktleQMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB8zc0+4=", "height": 1754440, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8iLpZYaGtn5A77QSpZCX1UMJxWSYGUV2XBo8qiUsTB91 Next: 9riBWej53S3SQmUymc8zTUS1QjATVxBK7JvdMLNrTyXY Diff:
OldNewDifferences
246246 }
247247 let ai = toBase58String(g.bytes)
248248 let aF = {
249- let y = getInteger(this, ai)
249+ let y = getInteger(this, ah(ai))
250250 if ($isInstanceOf(y, "Int"))
251251 then {
252252 let z = y
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx'
55
66 let b = 305693
77
88 let c = 31193
99
1010 let d = 274500
1111
1212 let e = 100000000
1313
1414 let f = "none"
1515
1616 let g = Address(base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx')
1717
1818 let h = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
1919
2020 let i = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
2121
2222 let j = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
2323
2424 let k = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
2525
2626 let l = 116
2727
2828 let m = 2539
2929
3030 let n = 100000
3131
3232 let o = 3
3333
3434 let p = 10
3535
3636 let q = 7
3737
3838 let r = 2
3939
4040 let s = 1
4141
4242 let t = 2
4343
4444 let u = 11
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 f
6969 }
7070 B
7171 }
7272
7373
7474 func C (D) = (D + "Vendedor, Lima-Perú")
7575
7676
7777 func E (D,F) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((D + F)))))
7878
7979
8080 func G (F) = "Issuer/Tienda"
8181
8282
8383 func H (F) = A(G(F))
8484
8585
8686 func I (F) = "Project"
8787
8888
8989 func J (F) = A(I(F))
9090
9191
9292 func K (F) = "Nodo"
9393
9494
9595 func L (F) = A(K(F))
9696
9797
9898 func M (N,F) = "Order_№:"
9999
100100
101101 func O (N,F) = v(M(N, F))
102102
103103
104104 func P (F) = "Categoría del Producto:"
105105
106106
107107 func Q (F) = A(P(F))
108108
109109
110110 func R (F) = "Nombre del Usuario:"
111111
112112
113113 func S (F) = A(R(F))
114114
115115
116116 func T (F) = "№ de Documento / DNI del Usuario:"
117117
118118
119119 func U (F) = A(T(F))
120120
121121
122122 func V (F) = "UI, x10e-04 bit:"
123123
124124
125125 func W (F) = v(V(F))
126126
127127
128128 func X (F) = "PI, wvls:"
129129
130130
131131 func Y (F) = v(X(F))
132132
133133
134134 func Z (F) = "SI, x10e-04 bit:"
135135
136136
137137 func aa (F) = v(Z(F))
138138
139139
140140 func ab (F) = "NIb, x10e-04 bit:"
141141
142142
143143 func ac (F) = v(ab(F))
144144
145145
146146 func ad (F) = "NIw, wvls:"
147147
148148
149149 func ae (F) = v(ad(F))
150150
151151
152152 func af (F) = "Tokens Ofertados en la presente etapa / Saldo, ytok:"
153153
154154
155155 func ag (F) = v(af(F))
156156
157157
158158 func ah (ai) = "Saldo ytokens pretokens, x10e-04:"
159159
160160
161161 func aj (ai) = v(ah(ai))
162162
163163
164164 func ak (F) = "Saldo ytokens Supplier:"
165165
166166
167167 func al (F) = v(ak(F))
168168
169169
170170 func am (D) = "Saldo del Vendedor, wvls:"
171171
172172
173173 func an (D) = v(am(D))
174174
175175
176176 func ao (D) = "Saldo del Issuer:"
177177
178178
179179 func ap (D) = v(ao(D))
180180
181181
182182 func aq (ar) = "Saldo del Proyecto, wvs:"
183183
184184
185185 func as (ar) = v(aq(ar))
186186
187187
188188 @Callable(at)
189189 func deposit (au,av) = {
190190 let aw = extract(at.payment)
191191 if ((aw.assetId != a))
192192 then throw("deposito permitido solo en yBitCO2 tokens")
193193 else {
194194 let D = toBase58String(at.caller.bytes)
195195 let ax = {
196196 let y = getInteger(this, D)
197197 if ($isInstanceOf(y, "Int"))
198198 then {
199199 let z = y
200200 z
201201 }
202202 else b
203203 }
204204 let ay = (ax + aw.amount)
205205 if ((0 >= ay))
206206 then throw("No hay yBitCO2 en su balance")
207207 else WriteSet([DataEntry(D, ay)])
208208 }
209209 }
210210
211211
212212
213213 @Callable(at)
214214 func purchaseGTS (F,az,aA,aB,aC) = {
215215 let aw = extract(at.payment)
216216 if (isDefined(aw.assetId))
217217 then throw("El Precio en waves.")
218218 else {
219219 let D = {
220220 let y = getString(this, C(F))
221221 if ($isInstanceOf(y, "String"))
222222 then {
223223 let z = y
224224 z
225225 }
226226 else f
227227 }
228228 let aD = {
229229 let y = getString(this, G(F))
230230 if ($isInstanceOf(y, "String"))
231231 then {
232232 let z = y
233233 z
234234 }
235235 else i
236236 }
237237 let ar = toBase58String(k.bytes)
238238 let aE = {
239239 let y = getInteger(this, ar)
240240 if ($isInstanceOf(y, "Int"))
241241 then {
242242 let z = y
243243 z
244244 }
245245 else 10
246246 }
247247 let ai = toBase58String(g.bytes)
248248 let aF = {
249- let y = getInteger(this, ai)
249+ let y = getInteger(this, ah(ai))
250250 if ($isInstanceOf(y, "Int"))
251251 then {
252252 let z = y
253253 z
254254 }
255255 else c
256256 }
257257 let aG = {
258258 let y = getInteger(this, am(D))
259259 if ($isInstanceOf(y, "Int"))
260260 then {
261261 let z = y
262262 z
263263 }
264264 else 0
265265 }
266266 let aH = {
267267 let y = getInteger(this, ao(D))
268268 if ($isInstanceOf(y, "Int"))
269269 then {
270270 let z = y
271271 z
272272 }
273273 else c
274274 }
275275 let aI = toBase58String(at.caller.bytes)
276276 let aJ = aC
277277 let aK = ((p * aJ) / u)
278278 let aL = ((s * aJ) / u)
279279 let aM = aL
280280 let aN = (aE + aK)
281281 let aO = (10000 * aF)
282282 let aP = (((100 - o) * (l * n)) / 10000)
283283 let aQ = (((aC * m) / 100) / aP)
284284 let aR = (aQ * 10000)
285285 let aS = ((q * aQ) / u)
286286 let aT = ((r * aQ) / u)
287287 let aU = ((t * aQ) / u)
288288 let aV = (aG + (aw.amount / e))
289289 let aW = (aH - (aw.amount / e))
290290 if ((aC > aw.amount))
291291 then throw("Payment Amount can't be less than item Purchase Order")
292292 else if ((aw.amount > aC))
293293 then throw("Payment Amount can't be higher than item Purchase Order")
294294 else ScriptResult(WriteSet([DataEntry(M(aI, F), (O(aI, F) + 1)), DataEntry(C(D), D), DataEntry(E(D, F), F), DataEntry(P(F), az), DataEntry(R(F), aA), DataEntry(T(F), aB), DataEntry(G(F), A(G(F))), DataEntry(I(F), A(I(F))), DataEntry(K(F), A(K(F))), DataEntry("Tienda", D), DataEntry("usdn", m), DataEntry("eurou", l), DataEntry("Apoyo Ecológico, wvls", aC), DataEntry(X(F), aK), DataEntry(ad(F), aL), DataEntry("1 Bit-CO2 Precio Nominal, euros x10e-4", n), DataEntry("1 Bit-CO2 Precio con Descto, usd x10e-4", aP), DataEntry("Total bit-co2 a distribuir, x10e-4", aQ), DataEntry(V(F), aS), DataEntry(Z(F), aT), DataEntry(ab(F), aU), DataEntry(("Order_Status:_" + aI), "Transacción Confirmada!"), DataEntry("PreTokenQty", aO), DataEntry(ah(ai), (aO - aQ)), DataEntry("SeIw", aM), DataEntry("SpIw", aN), DataEntry("projAdd", aE), DataEntry(aq(ar), as(ar)), DataEntry(aq(ar), (as(ar) + aN)), DataEntry("balanceSupplier", aG), DataEntry("balanceTienda", aV), DataEntry("balanceIssuer", aW), DataEntry("startQty", b), DataEntry("FirstFaseQty", c), DataEntry("SecondFaseQty", d), DataEntry(am(D), (aG + aw.amount))]), TransferSet([ScriptTransfer(k, aK, unit), ScriptTransfer(at.caller, aS, a), ScriptTransfer(i, aT, a), ScriptTransfer(j, aL, unit), ScriptTransfer(j, aU, a)]))
295295 }
296296 }
297297
298298
299299
300300 @Callable(at)
301301 func withdraw (F,aX) = {
302302 let aI = toBase58String(at.caller.bytes)
303303 let D = {
304304 let y = getString(this, C(F))
305305 if ($isInstanceOf(y, "String"))
306306 then {
307307 let z = y
308308 z
309309 }
310310 else f
311311 }
312312 let aY = {
313313 let y = getInteger(this, ak(F))
314314 if ($isInstanceOf(y, "Int"))
315315 then {
316316 let z = y
317317 z
318318 }
319319 else b
320320 }
321321 let ay = (aY - aX)
322322 if ((0 > aX))
323323 then throw("El balance de retiro no puede ser negativo!")
324324 else if ((0 >= ay))
325325 then throw("Ooppss.. Insuficiente balance!")
326326 else ScriptResult(WriteSet([DataEntry(F, ay)]), TransferSet([ScriptTransfer(at.caller, aX, a)]))
327327 }
328328
329329
330330 @Verifier(aZ)
331331 func ba () = {
332332 let y = aZ
333333 if ($isInstanceOf(y, "SetScriptTransaction"))
334334 then {
335335 let bb = y
336336 sigVerify(aZ.bodyBytes, aZ.proofs[0], h)
337337 }
338338 else if (if ($isInstanceOf(y, "ReissueTransaction"))
339339 then true
340340 else $isInstanceOf(y, "DataTransaction"))
341341 then {
342342 let bc = y
343343 true
344344 }
345345 else if ($isInstanceOf(y, "TransferTransaction"))
346346 then {
347347 let aZ = y
348348 true
349349 }
350350 else false
351351 }
352352

github/deemru/w8io/026f985 
45.06 ms