tx · 6QAaMxdDLH6mgLnB7Pi6sFp152ZqfpuezG1qMBbu5pEJ

3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8:  -0.01400000 Waves

2020.08.26 12:50 [1149520] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves

{ "type": 13, "id": "6QAaMxdDLH6mgLnB7Pi6sFp152ZqfpuezG1qMBbu5pEJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1598435460737, "version": 1, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "486kSanSGjSbBygqP1uWoMY7182mbw1RX41mPDQEzuTJWfF3yE4arCXDw4N12LXRvvEnBimidCVWwQvNKg1VVbpu" ], "script": "base64:AAIDAAAAAAAAACwIARIECgIICBIECgIICBIHCgUICAgIARIHCgUICAgIARIECgIIARIECgIIAQAAADEAAAAAB3lCaXRDTzIBAAAAIGmM1P/bTQF96Mt4t9+zj8FcPDlb6Qx5aA0hjmfpm0utAAAAAARndHMxAQAAACDDxYMO3SsdGFMCSZ4E3p59+bOpZEBHwTUZ+0J8yxIGZwAAAAAIc3RhcnRRdHkAAAAAALY1DNAAAAAADEZpcnN0RmFzZVF0eQAAAAAAEpeskAAAAAANU2Vjb25kRmFzZVF0eQAAAAAAo51gQAAAAAALc3RhcnRRdHlHVFMAAAAAAAHSc1QAAAAAD0ZpcnN0RmFzZVF0eUdUUwAAAAAAAC+YxAAAAAAQU2Vjb25kRmFzZVF0eUdUUwAAAAAAAaLakAAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIHYlgUf22Lk37u4at3MrCWteEN5n68yQc4q5Um14SA8PAAAAAAZpc3N1ZXIJ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nl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALT3duZXJQdWJLZXkDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwf1qT/U", "chainId": 84, "height": 1149520, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Rp416FtWTQkonwvrGnZKTh84auqaNS3NQzLQg9QYHvh Next: BezRfJK5jpJ4XrLKdFmbq6a1vXkP2PbdiGieWid1SvD2 Diff:
OldNewDifferences
55
66 let b = base58'EBDBY14t3xuduZ2GCNqEUpoLoy9eAAYfyQZA5ryVJxzS'
77
8-let c = 30569300
8+let c = 3056930000
99
10-let d = 3119300
10+let d = 311930000
1111
12-let e = 27450000
12+let e = 2745000000
1313
14-let f = 1
14+let f = 30569300
1515
16-let g = 100000000
16+let g = 3119300
1717
18-let h = 12
18+let h = 27450000
1919
20-let i = "none"
20+let i = 1
2121
22-let j = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
22+let j = 100000000
2323
24-let k = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
24+let k = 12
2525
26-let l = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
26+let l = "none"
2727
28-let m = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
28+let m = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
2929
30-let n = 18
30+let n = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
3131
32-let o = 10000
32+let o = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
3333
34-let p = 100000
34+let p = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
3535
36-let q = 7
36+let q = 18
3737
38-let r = 10
38+let r = 10000
3939
40-let s = 1
40+let s = 100000
4141
42-let t = 2
42+let t = 7
4343
44-let u = 2
44+let u = 10
4545
46-func v (w) = {
47- let x = {
48- let y = getInteger(this, w)
49- if ($isInstanceOf(y, "Int"))
46+let v = 1
47+
48+let w = 2
49+
50+let x = 2
51+
52+func y (z) = {
53+ let A = {
54+ let B = getInteger(this, z)
55+ if ($isInstanceOf(B, "Int"))
5056 then {
51- let z = y
52- z
57+ let C = B
58+ C
5359 }
5460 else 0
5561 }
56- x
62+ A
5763 }
5864
5965
60-func A (w) = {
61- let B = {
62- let y = getString(this, w)
63- if ($isInstanceOf(y, "String"))
66+func D (z) = {
67+ let E = {
68+ let B = getString(this, z)
69+ if ($isInstanceOf(B, "String"))
6470 then {
65- let z = y
66- z
71+ let C = B
72+ C
6773 }
68- else i
74+ else l
6975 }
70- B
76+ E
7177 }
7278
7379
74-func C (D) = (D + "Bit-CO2 Shop, Lima-Perú")
80+func F (G) = (G + "Bit-CO2 Shop, Lima-Perú")
7581
7682
77-func E (D,F) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((D + F)))))
83+func H (G,I) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((G + I)))))
7884
7985
80-func G (F) = "Project"
86+func J (I) = "Project"
8187
8288
83-func H (F) = "Nodo del Ecosistema"
89+func K (I) = "Nodo del Ecosistema"
8490
8591
86-func I (F) = "GTStable"
92+func L (I) = "GTStable"
8793
8894
89-func J (K,F) = "Order_№:"
95+func M (N,I) = "Order_№:"
9096
9197
92-func L (K,F) = v(J(K, F))
98+func O (N,I) = y(M(N, I))
9399
94100
95-func M (F) = "Categoría del Producto:"
101+func P (I) = "Categoría del Producto:"
96102
97103
98-func N (F) = A(M(F))
104+func Q (I) = D(P(I))
99105
100106
101-func O (F) = "Nombre del Usuario:"
107+func R (I) = "Nombre del Usuario:"
102108
103109
104-func P (F) = A(O(F))
110+func S (I) = D(R(I))
105111
106112
107-func Q (F) = "№ de Documento / DNI del Usuario:"
113+func T (I) = "№ de Documento / DNI del Usuario:"
108114
109115
110-func R (F) = A(Q(F))
116+func U (I) = D(T(I))
111117
112118
113-func S (F) = "Tokens Ofertados en la presente etapa / Saldo, ytok:"
119+func V (I) = "Balance/Saldo GTS, gts-tokens:"
114120
115121
116-func T (F) = v(S(F))
122+func W (I) = y(V(I))
117123
118124
119-func U (F) = "Balance/Saldo GTS, ytokens:"
125+func X (G) = "Monto Bruto por VentaGTS, wvls:"
120126
121127
122-func V (F) = v(U(F))
128+func Y (G) = y(X(G))
123129
124130
125-func W (D) = "Monto Bruto por VentaGTS, wvls:"
131+func Z (I) = "UI,_wvls:"
126132
127133
128-func X (D) = v(W(D))
134+func aa (I) = y(Z(I))
129135
130136
131-func Y (F) = "UI,_wvls:"
137+func ab (I) = "PI,_wvls:"
132138
133139
134-func Z (F) = v(Y(F))
140+func ac (I) = y(ab(I))
135141
136142
137-func aa (F) = "PI,_wvls:"
143+func ad (I) = "SI,_wvls:"
138144
139145
140-func ab (F) = v(aa(F))
146+func ae (I) = y(ad(I))
141147
142148
143-func ac (F) = "SI,_wvls:"
144-
145-
146-func ad (F) = v(ac(F))
147-
148-
149-@Callable(ae)
150-func deposit (af,ag) = {
151- let ah = extract(ae.payment)
152- if ((ah.assetId != a))
153- then throw("deposito permitido solo en yBitCO2 tokens")
149+@Callable(af)
150+func depositGTS (ag,ah) = {
151+ let ai = extract(af.payment)
152+ if ((ai.assetId != b))
153+ then throw("deposito permitido solo en gts1 tokens")
154154 else {
155- let D = toBase58String(ae.caller.bytes)
156- let ai = {
157- let y = getInteger(this, D)
158- if ($isInstanceOf(y, "Int"))
155+ let G = toBase58String(af.caller.bytes)
156+ let aj = {
157+ let B = getInteger(this, G)
158+ if ($isInstanceOf(B, "Int"))
159159 then {
160- let z = y
161- z
160+ let C = B
161+ C
162162 }
163- else c
163+ else f
164164 }
165- let aj = (ai + ah.amount)
166- if ((0 >= aj))
167- then throw("No hay yBitCO2 en su balance")
168- else WriteSet([DataEntry(D, aj)])
165+ let ak = (aj + ai.amount)
166+ if ((0 >= ak))
167+ then throw("No hay gts1 en su balance")
168+ else WriteSet([DataEntry(G, ak)])
169169 }
170170 }
171171
172172
173173
174-@Callable(ae)
175-func purchaseGTS (F,ak,al,am,an) = {
176- let ah = extract(ae.payment)
177- if ((ah.assetId != a))
178- then throw("Use yBitCO2 tokens para adquirir ProductosGTS")
174+@Callable(af)
175+func deposit (ag,ah) = {
176+ let ai = extract(af.payment)
177+ if ((ai.assetId != a))
178+ then throw("deposito permitido solo en yBitCO2 tokens")
179179 else {
180- let D = {
181- let y = getString(this, C(F))
182- if ($isInstanceOf(y, "String"))
180+ let G = toBase58String(af.caller.bytes)
181+ let aj = {
182+ let B = getInteger(this, G)
183+ if ($isInstanceOf(B, "Int"))
183184 then {
184- let z = y
185- z
185+ let C = B
186+ C
186187 }
187- else i
188+ else c
188189 }
189- let ao = {
190- let y = getString(this, G(F))
191- if ($isInstanceOf(y, "String"))
192- then {
193- let z = y
194- i
195- }
196- else m
197- }
198- let ap = {
199- let y = getString(this, H(F))
200- if ($isInstanceOf(y, "String"))
201- then {
202- let z = y
203- i
204- }
205- else l
206- }
207- let aq = {
208- let y = getInteger(this, U(F))
209- if ($isInstanceOf(y, "Int"))
210- then {
211- let z = y
212- z
213- }
214- else e
215- }
216- let ar = {
217- let y = getInteger(this, W(D))
218- if ($isInstanceOf(y, "Int"))
219- then {
220- let z = y
221- z
222- }
223- else 0
224- }
225- let as = toBase58String(ae.caller.bytes)
226- let at = (an - ((n * an) / 100))
227- let au = ((88 * p) / 100)
228- let av = ((at * q) / 100)
229- let aw = ((av / au) * 1)
230- let ax = ((at * r) / 100)
231- let ay = ((at * s) / 100)
232- let az = (((at * u) / (100 * au)) * 1)
233- let aA = ((an - ax) - ay)
234- let aB = (((at * t) / (100 * au)) * 1)
235- let aC = (((at * 11) / (au * 100)) * 1)
236- if ((an > ah.amount))
237- then throw("Payment Amount can't be less than item Purchase Order")
238- else if ((ah.amount > an))
239- 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 * 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)]))
190+ let ak = (aj + ai.amount)
191+ if ((0 >= ak))
192+ then throw("No hay yBitCO2 en su balance")
193+ else WriteSet([DataEntry(G, ak)])
241194 }
242195 }
243196
244197
245198
246-@Callable(ae)
247-func purchaseGTS2 (F,ak,al,am,an) = {
248- let ah = extract(ae.payment)
249- if (isDefined(ah.assetId))
250- then throw("El Precio en waves.")
199+@Callable(af)
200+func purchaseGTS (I,al,am,an,ao) = {
201+ let ai = extract(af.payment)
202+ if ((ai.assetId != a))
203+ then throw("Use yBitCO2 tokens para adquirir ProductosGTS")
251204 else {
252- let D = {
253- let y = getString(this, C(F))
254- if ($isInstanceOf(y, "String"))
205+ let G = {
206+ let B = getString(this, F(I))
207+ if ($isInstanceOf(B, "String"))
255208 then {
256- let z = y
257- z
258- }
259- else i
260- }
261- let ao = {
262- let y = getString(this, G(F))
263- if ($isInstanceOf(y, "String"))
264- then {
265- let z = y
266- i
267- }
268- else m
269- }
270- let ap = {
271- let y = getString(this, H(F))
272- if ($isInstanceOf(y, "String"))
273- then {
274- let z = y
275- i
209+ let C = B
210+ C
276211 }
277212 else l
278213 }
214+ let ap = {
215+ let B = getString(this, J(I))
216+ if ($isInstanceOf(B, "String"))
217+ then {
218+ let C = B
219+ l
220+ }
221+ else p
222+ }
279223 let aq = {
280- let y = getInteger(this, U(F))
281- if ($isInstanceOf(y, "Int"))
224+ let B = getString(this, K(I))
225+ if ($isInstanceOf(B, "String"))
282226 then {
283- let z = y
284- z
227+ let C = B
228+ l
285229 }
286- else e
230+ else o
287231 }
288232 let ar = {
289- let y = getInteger(this, W(D))
290- if ($isInstanceOf(y, "Int"))
233+ let B = getInteger(this, V(I))
234+ if ($isInstanceOf(B, "Int"))
291235 then {
292- let z = y
293- z
236+ let C = B
237+ C
238+ }
239+ else h
240+ }
241+ let as = {
242+ let B = getInteger(this, X(G))
243+ if ($isInstanceOf(B, "Int"))
244+ then {
245+ let C = B
246+ C
294247 }
295248 else 0
296249 }
297- let as = toBase58String(ae.caller.bytes)
298- let at = (an - ((n * an) / 100))
299- let au = ((88 * o) / 100)
300- let av = ((at * q) / 100)
301- let aw = ((av / au) * 1)
302- let ax = ((at * r) / 100)
303- let ay = ((at * s) / 100)
304- let az = (((at * u) / (100 * au)) * 1)
305- let aA = ((an - ax) - ay)
306- let aB = (((at * t) / (100 * au)) * 1)
307- let aC = (((at * 11) / (au * 100)) * 1)
308- if ((an > ah.amount))
250+ let at = toBase58String(af.caller.bytes)
251+ let au = (ao - ((q * ao) / 100))
252+ let av = ((88 * s) / 100)
253+ let aw = ((au * t) / 100)
254+ let ax = ((aw / av) * 1)
255+ let ay = ((au * u) / 100)
256+ let az = ((au * v) / 100)
257+ let aA = (((au * x) / (100 * av)) * 1)
258+ let aB = ((ao - ay) - az)
259+ let aC = (((au * w) / (100 * av)) * 1)
260+ let aD = (((au * 11) / (av * 100)) * 1)
261+ if ((ao > ai.amount))
309262 then throw("Payment Amount can't be less than item Purchase Order")
310- else if ((ah.amount > an))
263+ else if ((ai.amount > ao))
311264 then throw("Payment Amount can't be higher than item Purchase Order")
312- 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)]))
265+ else ScriptResult(WriteSet([DataEntry(M(at, I), (O(at, I) + 1)), DataEntry(H(G, I), I), DataEntry(P(I), al), DataEntry(R(I), am), DataEntry(T(I), an), DataEntry("Payment_amount,_yBitCO2cents", ao), DataEntry("Imp, %", q), DataEntry("STtl, yBitCO2cents", au), DataEntry("CP 1 B, yBitCO2cents", (av * 100)), DataEntry(Z(I), aw), DataEntry("UBI, 10e-4 gts1", ax), DataEntry(ab(I), ay), DataEntry("EcSys, yBitCO2cents", az), DataEntry("EcSys, 10e-4 gts1", aA), DataEntry(ad(I), aB), DataEntry("SBI, 10e-4 gts1", aC), DataEntry(("Order_Status:_" + at), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", aD), DataEntry(V(I), (ar - aD)), DataEntry(X(G), (as + ai.amount))]), TransferSet([ScriptTransfer(af.caller, ax, b), ScriptTransfer(p, ay, a), ScriptTransfer(o, az, a), ScriptTransfer(o, aA, b), ScriptTransfer(n, aB, a)]))
313266 }
314267 }
315268
316269
317270
318-@Callable(ae)
319-func withdraw (F,aD) = {
320- let as = toBase58String(ae.caller.bytes)
321- let D = {
322- let y = getString(this, C(F))
323- if ($isInstanceOf(y, "String"))
271+@Callable(af)
272+func purchaseGTS2 (I,al,am,an,ao) = {
273+ let ai = extract(af.payment)
274+ if (isDefined(ai.assetId))
275+ then throw("El Precio en waves.")
276+ else {
277+ let G = {
278+ let B = getString(this, F(I))
279+ if ($isInstanceOf(B, "String"))
280+ then {
281+ let C = B
282+ C
283+ }
284+ else l
285+ }
286+ let ap = {
287+ let B = getString(this, J(I))
288+ if ($isInstanceOf(B, "String"))
289+ then {
290+ let C = B
291+ l
292+ }
293+ else p
294+ }
295+ let aq = {
296+ let B = getString(this, K(I))
297+ if ($isInstanceOf(B, "String"))
298+ then {
299+ let C = B
300+ l
301+ }
302+ else o
303+ }
304+ let ar = {
305+ let B = getInteger(this, V(I))
306+ if ($isInstanceOf(B, "Int"))
307+ then {
308+ let C = B
309+ C
310+ }
311+ else e
312+ }
313+ let as = {
314+ let B = getInteger(this, X(G))
315+ if ($isInstanceOf(B, "Int"))
316+ then {
317+ let C = B
318+ C
319+ }
320+ else 0
321+ }
322+ let at = toBase58String(af.caller.bytes)
323+ let au = (ao - ((q * ao) / 100))
324+ let aE = ((88 * r) / 100)
325+ let aw = ((au * t) / 100)
326+ let ax = ((aw / aE) * 1)
327+ let ay = ((au * u) / 100)
328+ let az = ((au * v) / 100)
329+ let aA = (((au * x) / (100 * aE)) * 1)
330+ let aB = ((ao - ay) - az)
331+ let aC = (((au * w) / (100 * aE)) * 1)
332+ let aD = (((au * 11) / (aE * 100)) * 1)
333+ if ((ao > ai.amount))
334+ then throw("Payment Amount can't be less than item Purchase Order")
335+ else if ((ai.amount > ao))
336+ then throw("Payment Amount can't be higher than item Purchase Order")
337+ else ScriptResult(WriteSet([DataEntry(M(at, I), (O(at, I) + 1)), DataEntry(H(G, I), I), DataEntry(P(I), al), DataEntry(R(I), am), DataEntry(T(I), an), DataEntry("Payment_amount,_wvls", ao), DataEntry("Imp, %", q), DataEntry("STtl, wvls", au), DataEntry("CP 1 B, wvls", (aE * 10000)), DataEntry(Z(I), aw), DataEntry("UBI, 10e-4 ybitco2", ax), DataEntry(ab(I), ay), DataEntry("EcSys, wvls", az), DataEntry("EcSys, 10e-4 ybitco2", aA), DataEntry(ad(I), aB), DataEntry("SBI, 10e-4 ybitco2", aC), DataEntry(("Order_Status:_" + at), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 ybitco2", aD), DataEntry(V(I), (ar - (aD / 1))), DataEntry(X(G), (as + ai.amount))]), TransferSet([ScriptTransfer(af.caller, ax, a), ScriptTransfer(p, ay, unit), ScriptTransfer(o, az, unit), ScriptTransfer(o, aA, a), ScriptTransfer(n, aB, unit), ScriptTransfer(n, aC, a)]))
338+ }
339+ }
340+
341+
342+
343+@Callable(af)
344+func withdrawGTS (I,aF) = {
345+ let at = toBase58String(af.caller.bytes)
346+ let G = {
347+ let B = getString(this, F(I))
348+ if ($isInstanceOf(B, "String"))
324349 then {
325- let z = y
326- z
350+ let C = B
351+ C
327352 }
328- else i
353+ else l
329354 }
330- let aE = {
331- let y = getInteger(this, U(F))
332- if ($isInstanceOf(y, "Int"))
355+ let aG = {
356+ let B = getInteger(this, V(I))
357+ if ($isInstanceOf(B, "Int"))
333358 then {
334- let z = y
335- z
359+ let C = B
360+ C
361+ }
362+ else f
363+ }
364+ let ak = (aG - aF)
365+ if ((0 > aF))
366+ then throw("El balance de retiro no puede ser negativo!")
367+ else if ((0 >= ak))
368+ then throw("Ooppss.. Insuficiente balance!")
369+ else ScriptResult(WriteSet([DataEntry(I, ak)]), TransferSet([ScriptTransfer(af.caller, aF, b)]))
370+ }
371+
372+
373+
374+@Callable(af)
375+func withdraw (I,aF) = {
376+ let at = toBase58String(af.caller.bytes)
377+ let G = {
378+ let B = getString(this, F(I))
379+ if ($isInstanceOf(B, "String"))
380+ then {
381+ let C = B
382+ C
383+ }
384+ else l
385+ }
386+ let aG = {
387+ let B = getInteger(this, V(I))
388+ if ($isInstanceOf(B, "Int"))
389+ then {
390+ let C = B
391+ C
336392 }
337393 else c
338394 }
339- let aj = (aE - aD)
340- if ((0 > aD))
395+ let ak = (aG - aF)
396+ if ((0 > aF))
341397 then throw("El balance de retiro no puede ser negativo!")
342- else if ((0 >= aj))
398+ else if ((0 >= ak))
343399 then throw("Ooppss.. Insuficiente balance!")
344- else ScriptResult(WriteSet([DataEntry(F, aj)]), TransferSet([ScriptTransfer(ae.caller, aD, a)]))
400+ else ScriptResult(WriteSet([DataEntry(I, ak)]), TransferSet([ScriptTransfer(af.caller, aF, a)]))
345401 }
346402
347403
348-@Verifier(aF)
349-func aG () = {
350- let y = aF
351- if ($isInstanceOf(y, "SetScriptTransaction"))
404+@Verifier(aH)
405+func aI () = {
406+ let B = aH
407+ if ($isInstanceOf(B, "SetScriptTransaction"))
352408 then {
353- let aH = y
354- sigVerify(aF.bodyBytes, aF.proofs[0], j)
409+ let aJ = B
410+ sigVerify(aH.bodyBytes, aH.proofs[0], m)
355411 }
356- else if (if ($isInstanceOf(y, "DataTransaction"))
412+ else if (if ($isInstanceOf(B, "DataTransaction"))
357413 then true
358- else $isInstanceOf(y, "ReissueTransaction"))
414+ else $isInstanceOf(B, "ReissueTransaction"))
359415 then {
360- let aI = y
416+ let aK = B
361417 true
362418 }
363- else if ($isInstanceOf(y, "TransferTransaction"))
419+ else if ($isInstanceOf(B, "TransferTransaction"))
364420 then {
365- let aF = y
421+ let aH = B
366422 true
367423 }
368- else if ($isInstanceOf(y, "ExchangeTransaction"))
424+ else if ($isInstanceOf(B, "ExchangeTransaction"))
369425 then {
370- let aF = y
371- let aJ = if (!(isDefined(aF.sellOrder.assetPair.priceAsset)))
426+ let aH = B
427+ let aL = if (!(isDefined(aH.sellOrder.assetPair.priceAsset)))
372428 then true
373- else !(isDefined(aF.sellOrder.assetPair.amountAsset))
374- aJ
429+ else !(isDefined(aH.sellOrder.assetPair.amountAsset))
430+ aL
375431 }
376432 else false
377433 }
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
8-let c = 30569300
8+let c = 3056930000
99
10-let d = 3119300
10+let d = 311930000
1111
12-let e = 27450000
12+let e = 2745000000
1313
14-let f = 1
14+let f = 30569300
1515
16-let g = 100000000
16+let g = 3119300
1717
18-let h = 12
18+let h = 27450000
1919
20-let i = "none"
20+let i = 1
2121
22-let j = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
22+let j = 100000000
2323
24-let k = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
24+let k = 12
2525
26-let l = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
26+let l = "none"
2727
28-let m = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
28+let m = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
2929
30-let n = 18
30+let n = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
3131
32-let o = 10000
32+let o = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
3333
34-let p = 100000
34+let p = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
3535
36-let q = 7
36+let q = 18
3737
38-let r = 10
38+let r = 10000
3939
40-let s = 1
40+let s = 100000
4141
42-let t = 2
42+let t = 7
4343
44-let u = 2
44+let u = 10
4545
46-func v (w) = {
47- let x = {
48- let y = getInteger(this, w)
49- if ($isInstanceOf(y, "Int"))
46+let v = 1
47+
48+let w = 2
49+
50+let x = 2
51+
52+func y (z) = {
53+ let A = {
54+ let B = getInteger(this, z)
55+ if ($isInstanceOf(B, "Int"))
5056 then {
51- let z = y
52- z
57+ let C = B
58+ C
5359 }
5460 else 0
5561 }
56- x
62+ A
5763 }
5864
5965
60-func A (w) = {
61- let B = {
62- let y = getString(this, w)
63- if ($isInstanceOf(y, "String"))
66+func D (z) = {
67+ let E = {
68+ let B = getString(this, z)
69+ if ($isInstanceOf(B, "String"))
6470 then {
65- let z = y
66- z
71+ let C = B
72+ C
6773 }
68- else i
74+ else l
6975 }
70- B
76+ E
7177 }
7278
7379
74-func C (D) = (D + "Bit-CO2 Shop, Lima-Perú")
80+func F (G) = (G + "Bit-CO2 Shop, Lima-Perú")
7581
7682
77-func E (D,F) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((D + F)))))
83+func H (G,I) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((G + I)))))
7884
7985
80-func G (F) = "Project"
86+func J (I) = "Project"
8187
8288
83-func H (F) = "Nodo del Ecosistema"
89+func K (I) = "Nodo del Ecosistema"
8490
8591
86-func I (F) = "GTStable"
92+func L (I) = "GTStable"
8793
8894
89-func J (K,F) = "Order_№:"
95+func M (N,I) = "Order_№:"
9096
9197
92-func L (K,F) = v(J(K, F))
98+func O (N,I) = y(M(N, I))
9399
94100
95-func M (F) = "Categoría del Producto:"
101+func P (I) = "Categoría del Producto:"
96102
97103
98-func N (F) = A(M(F))
104+func Q (I) = D(P(I))
99105
100106
101-func O (F) = "Nombre del Usuario:"
107+func R (I) = "Nombre del Usuario:"
102108
103109
104-func P (F) = A(O(F))
110+func S (I) = D(R(I))
105111
106112
107-func Q (F) = "№ de Documento / DNI del Usuario:"
113+func T (I) = "№ de Documento / DNI del Usuario:"
108114
109115
110-func R (F) = A(Q(F))
116+func U (I) = D(T(I))
111117
112118
113-func S (F) = "Tokens Ofertados en la presente etapa / Saldo, ytok:"
119+func V (I) = "Balance/Saldo GTS, gts-tokens:"
114120
115121
116-func T (F) = v(S(F))
122+func W (I) = y(V(I))
117123
118124
119-func U (F) = "Balance/Saldo GTS, ytokens:"
125+func X (G) = "Monto Bruto por VentaGTS, wvls:"
120126
121127
122-func V (F) = v(U(F))
128+func Y (G) = y(X(G))
123129
124130
125-func W (D) = "Monto Bruto por VentaGTS, wvls:"
131+func Z (I) = "UI,_wvls:"
126132
127133
128-func X (D) = v(W(D))
134+func aa (I) = y(Z(I))
129135
130136
131-func Y (F) = "UI,_wvls:"
137+func ab (I) = "PI,_wvls:"
132138
133139
134-func Z (F) = v(Y(F))
140+func ac (I) = y(ab(I))
135141
136142
137-func aa (F) = "PI,_wvls:"
143+func ad (I) = "SI,_wvls:"
138144
139145
140-func ab (F) = v(aa(F))
146+func ae (I) = y(ad(I))
141147
142148
143-func ac (F) = "SI,_wvls:"
144-
145-
146-func ad (F) = v(ac(F))
147-
148-
149-@Callable(ae)
150-func deposit (af,ag) = {
151- let ah = extract(ae.payment)
152- if ((ah.assetId != a))
153- then throw("deposito permitido solo en yBitCO2 tokens")
149+@Callable(af)
150+func depositGTS (ag,ah) = {
151+ let ai = extract(af.payment)
152+ if ((ai.assetId != b))
153+ then throw("deposito permitido solo en gts1 tokens")
154154 else {
155- let D = toBase58String(ae.caller.bytes)
156- let ai = {
157- let y = getInteger(this, D)
158- if ($isInstanceOf(y, "Int"))
155+ let G = toBase58String(af.caller.bytes)
156+ let aj = {
157+ let B = getInteger(this, G)
158+ if ($isInstanceOf(B, "Int"))
159159 then {
160- let z = y
161- z
160+ let C = B
161+ C
162162 }
163- else c
163+ else f
164164 }
165- let aj = (ai + ah.amount)
166- if ((0 >= aj))
167- then throw("No hay yBitCO2 en su balance")
168- else WriteSet([DataEntry(D, aj)])
165+ let ak = (aj + ai.amount)
166+ if ((0 >= ak))
167+ then throw("No hay gts1 en su balance")
168+ else WriteSet([DataEntry(G, ak)])
169169 }
170170 }
171171
172172
173173
174-@Callable(ae)
175-func purchaseGTS (F,ak,al,am,an) = {
176- let ah = extract(ae.payment)
177- if ((ah.assetId != a))
178- then throw("Use yBitCO2 tokens para adquirir ProductosGTS")
174+@Callable(af)
175+func deposit (ag,ah) = {
176+ let ai = extract(af.payment)
177+ if ((ai.assetId != a))
178+ then throw("deposito permitido solo en yBitCO2 tokens")
179179 else {
180- let D = {
181- let y = getString(this, C(F))
182- if ($isInstanceOf(y, "String"))
180+ let G = toBase58String(af.caller.bytes)
181+ let aj = {
182+ let B = getInteger(this, G)
183+ if ($isInstanceOf(B, "Int"))
183184 then {
184- let z = y
185- z
185+ let C = B
186+ C
186187 }
187- else i
188+ else c
188189 }
189- let ao = {
190- let y = getString(this, G(F))
191- if ($isInstanceOf(y, "String"))
192- then {
193- let z = y
194- i
195- }
196- else m
197- }
198- let ap = {
199- let y = getString(this, H(F))
200- if ($isInstanceOf(y, "String"))
201- then {
202- let z = y
203- i
204- }
205- else l
206- }
207- let aq = {
208- let y = getInteger(this, U(F))
209- if ($isInstanceOf(y, "Int"))
210- then {
211- let z = y
212- z
213- }
214- else e
215- }
216- let ar = {
217- let y = getInteger(this, W(D))
218- if ($isInstanceOf(y, "Int"))
219- then {
220- let z = y
221- z
222- }
223- else 0
224- }
225- let as = toBase58String(ae.caller.bytes)
226- let at = (an - ((n * an) / 100))
227- let au = ((88 * p) / 100)
228- let av = ((at * q) / 100)
229- let aw = ((av / au) * 1)
230- let ax = ((at * r) / 100)
231- let ay = ((at * s) / 100)
232- let az = (((at * u) / (100 * au)) * 1)
233- let aA = ((an - ax) - ay)
234- let aB = (((at * t) / (100 * au)) * 1)
235- let aC = (((at * 11) / (au * 100)) * 1)
236- if ((an > ah.amount))
237- then throw("Payment Amount can't be less than item Purchase Order")
238- else if ((ah.amount > an))
239- 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 * 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)]))
190+ let ak = (aj + ai.amount)
191+ if ((0 >= ak))
192+ then throw("No hay yBitCO2 en su balance")
193+ else WriteSet([DataEntry(G, ak)])
241194 }
242195 }
243196
244197
245198
246-@Callable(ae)
247-func purchaseGTS2 (F,ak,al,am,an) = {
248- let ah = extract(ae.payment)
249- if (isDefined(ah.assetId))
250- then throw("El Precio en waves.")
199+@Callable(af)
200+func purchaseGTS (I,al,am,an,ao) = {
201+ let ai = extract(af.payment)
202+ if ((ai.assetId != a))
203+ then throw("Use yBitCO2 tokens para adquirir ProductosGTS")
251204 else {
252- let D = {
253- let y = getString(this, C(F))
254- if ($isInstanceOf(y, "String"))
205+ let G = {
206+ let B = getString(this, F(I))
207+ if ($isInstanceOf(B, "String"))
255208 then {
256- let z = y
257- z
258- }
259- else i
260- }
261- let ao = {
262- let y = getString(this, G(F))
263- if ($isInstanceOf(y, "String"))
264- then {
265- let z = y
266- i
267- }
268- else m
269- }
270- let ap = {
271- let y = getString(this, H(F))
272- if ($isInstanceOf(y, "String"))
273- then {
274- let z = y
275- i
209+ let C = B
210+ C
276211 }
277212 else l
278213 }
214+ let ap = {
215+ let B = getString(this, J(I))
216+ if ($isInstanceOf(B, "String"))
217+ then {
218+ let C = B
219+ l
220+ }
221+ else p
222+ }
279223 let aq = {
280- let y = getInteger(this, U(F))
281- if ($isInstanceOf(y, "Int"))
224+ let B = getString(this, K(I))
225+ if ($isInstanceOf(B, "String"))
282226 then {
283- let z = y
284- z
227+ let C = B
228+ l
285229 }
286- else e
230+ else o
287231 }
288232 let ar = {
289- let y = getInteger(this, W(D))
290- if ($isInstanceOf(y, "Int"))
233+ let B = getInteger(this, V(I))
234+ if ($isInstanceOf(B, "Int"))
291235 then {
292- let z = y
293- z
236+ let C = B
237+ C
238+ }
239+ else h
240+ }
241+ let as = {
242+ let B = getInteger(this, X(G))
243+ if ($isInstanceOf(B, "Int"))
244+ then {
245+ let C = B
246+ C
294247 }
295248 else 0
296249 }
297- let as = toBase58String(ae.caller.bytes)
298- let at = (an - ((n * an) / 100))
299- let au = ((88 * o) / 100)
300- let av = ((at * q) / 100)
301- let aw = ((av / au) * 1)
302- let ax = ((at * r) / 100)
303- let ay = ((at * s) / 100)
304- let az = (((at * u) / (100 * au)) * 1)
305- let aA = ((an - ax) - ay)
306- let aB = (((at * t) / (100 * au)) * 1)
307- let aC = (((at * 11) / (au * 100)) * 1)
308- if ((an > ah.amount))
250+ let at = toBase58String(af.caller.bytes)
251+ let au = (ao - ((q * ao) / 100))
252+ let av = ((88 * s) / 100)
253+ let aw = ((au * t) / 100)
254+ let ax = ((aw / av) * 1)
255+ let ay = ((au * u) / 100)
256+ let az = ((au * v) / 100)
257+ let aA = (((au * x) / (100 * av)) * 1)
258+ let aB = ((ao - ay) - az)
259+ let aC = (((au * w) / (100 * av)) * 1)
260+ let aD = (((au * 11) / (av * 100)) * 1)
261+ if ((ao > ai.amount))
309262 then throw("Payment Amount can't be less than item Purchase Order")
310- else if ((ah.amount > an))
263+ else if ((ai.amount > ao))
311264 then throw("Payment Amount can't be higher than item Purchase Order")
312- 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)]))
265+ else ScriptResult(WriteSet([DataEntry(M(at, I), (O(at, I) + 1)), DataEntry(H(G, I), I), DataEntry(P(I), al), DataEntry(R(I), am), DataEntry(T(I), an), DataEntry("Payment_amount,_yBitCO2cents", ao), DataEntry("Imp, %", q), DataEntry("STtl, yBitCO2cents", au), DataEntry("CP 1 B, yBitCO2cents", (av * 100)), DataEntry(Z(I), aw), DataEntry("UBI, 10e-4 gts1", ax), DataEntry(ab(I), ay), DataEntry("EcSys, yBitCO2cents", az), DataEntry("EcSys, 10e-4 gts1", aA), DataEntry(ad(I), aB), DataEntry("SBI, 10e-4 gts1", aC), DataEntry(("Order_Status:_" + at), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", aD), DataEntry(V(I), (ar - aD)), DataEntry(X(G), (as + ai.amount))]), TransferSet([ScriptTransfer(af.caller, ax, b), ScriptTransfer(p, ay, a), ScriptTransfer(o, az, a), ScriptTransfer(o, aA, b), ScriptTransfer(n, aB, a)]))
313266 }
314267 }
315268
316269
317270
318-@Callable(ae)
319-func withdraw (F,aD) = {
320- let as = toBase58String(ae.caller.bytes)
321- let D = {
322- let y = getString(this, C(F))
323- if ($isInstanceOf(y, "String"))
271+@Callable(af)
272+func purchaseGTS2 (I,al,am,an,ao) = {
273+ let ai = extract(af.payment)
274+ if (isDefined(ai.assetId))
275+ then throw("El Precio en waves.")
276+ else {
277+ let G = {
278+ let B = getString(this, F(I))
279+ if ($isInstanceOf(B, "String"))
280+ then {
281+ let C = B
282+ C
283+ }
284+ else l
285+ }
286+ let ap = {
287+ let B = getString(this, J(I))
288+ if ($isInstanceOf(B, "String"))
289+ then {
290+ let C = B
291+ l
292+ }
293+ else p
294+ }
295+ let aq = {
296+ let B = getString(this, K(I))
297+ if ($isInstanceOf(B, "String"))
298+ then {
299+ let C = B
300+ l
301+ }
302+ else o
303+ }
304+ let ar = {
305+ let B = getInteger(this, V(I))
306+ if ($isInstanceOf(B, "Int"))
307+ then {
308+ let C = B
309+ C
310+ }
311+ else e
312+ }
313+ let as = {
314+ let B = getInteger(this, X(G))
315+ if ($isInstanceOf(B, "Int"))
316+ then {
317+ let C = B
318+ C
319+ }
320+ else 0
321+ }
322+ let at = toBase58String(af.caller.bytes)
323+ let au = (ao - ((q * ao) / 100))
324+ let aE = ((88 * r) / 100)
325+ let aw = ((au * t) / 100)
326+ let ax = ((aw / aE) * 1)
327+ let ay = ((au * u) / 100)
328+ let az = ((au * v) / 100)
329+ let aA = (((au * x) / (100 * aE)) * 1)
330+ let aB = ((ao - ay) - az)
331+ let aC = (((au * w) / (100 * aE)) * 1)
332+ let aD = (((au * 11) / (aE * 100)) * 1)
333+ if ((ao > ai.amount))
334+ then throw("Payment Amount can't be less than item Purchase Order")
335+ else if ((ai.amount > ao))
336+ then throw("Payment Amount can't be higher than item Purchase Order")
337+ else ScriptResult(WriteSet([DataEntry(M(at, I), (O(at, I) + 1)), DataEntry(H(G, I), I), DataEntry(P(I), al), DataEntry(R(I), am), DataEntry(T(I), an), DataEntry("Payment_amount,_wvls", ao), DataEntry("Imp, %", q), DataEntry("STtl, wvls", au), DataEntry("CP 1 B, wvls", (aE * 10000)), DataEntry(Z(I), aw), DataEntry("UBI, 10e-4 ybitco2", ax), DataEntry(ab(I), ay), DataEntry("EcSys, wvls", az), DataEntry("EcSys, 10e-4 ybitco2", aA), DataEntry(ad(I), aB), DataEntry("SBI, 10e-4 ybitco2", aC), DataEntry(("Order_Status:_" + at), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 ybitco2", aD), DataEntry(V(I), (ar - (aD / 1))), DataEntry(X(G), (as + ai.amount))]), TransferSet([ScriptTransfer(af.caller, ax, a), ScriptTransfer(p, ay, unit), ScriptTransfer(o, az, unit), ScriptTransfer(o, aA, a), ScriptTransfer(n, aB, unit), ScriptTransfer(n, aC, a)]))
338+ }
339+ }
340+
341+
342+
343+@Callable(af)
344+func withdrawGTS (I,aF) = {
345+ let at = toBase58String(af.caller.bytes)
346+ let G = {
347+ let B = getString(this, F(I))
348+ if ($isInstanceOf(B, "String"))
324349 then {
325- let z = y
326- z
350+ let C = B
351+ C
327352 }
328- else i
353+ else l
329354 }
330- let aE = {
331- let y = getInteger(this, U(F))
332- if ($isInstanceOf(y, "Int"))
355+ let aG = {
356+ let B = getInteger(this, V(I))
357+ if ($isInstanceOf(B, "Int"))
333358 then {
334- let z = y
335- z
359+ let C = B
360+ C
361+ }
362+ else f
363+ }
364+ let ak = (aG - aF)
365+ if ((0 > aF))
366+ then throw("El balance de retiro no puede ser negativo!")
367+ else if ((0 >= ak))
368+ then throw("Ooppss.. Insuficiente balance!")
369+ else ScriptResult(WriteSet([DataEntry(I, ak)]), TransferSet([ScriptTransfer(af.caller, aF, b)]))
370+ }
371+
372+
373+
374+@Callable(af)
375+func withdraw (I,aF) = {
376+ let at = toBase58String(af.caller.bytes)
377+ let G = {
378+ let B = getString(this, F(I))
379+ if ($isInstanceOf(B, "String"))
380+ then {
381+ let C = B
382+ C
383+ }
384+ else l
385+ }
386+ let aG = {
387+ let B = getInteger(this, V(I))
388+ if ($isInstanceOf(B, "Int"))
389+ then {
390+ let C = B
391+ C
336392 }
337393 else c
338394 }
339- let aj = (aE - aD)
340- if ((0 > aD))
395+ let ak = (aG - aF)
396+ if ((0 > aF))
341397 then throw("El balance de retiro no puede ser negativo!")
342- else if ((0 >= aj))
398+ else if ((0 >= ak))
343399 then throw("Ooppss.. Insuficiente balance!")
344- else ScriptResult(WriteSet([DataEntry(F, aj)]), TransferSet([ScriptTransfer(ae.caller, aD, a)]))
400+ else ScriptResult(WriteSet([DataEntry(I, ak)]), TransferSet([ScriptTransfer(af.caller, aF, a)]))
345401 }
346402
347403
348-@Verifier(aF)
349-func aG () = {
350- let y = aF
351- if ($isInstanceOf(y, "SetScriptTransaction"))
404+@Verifier(aH)
405+func aI () = {
406+ let B = aH
407+ if ($isInstanceOf(B, "SetScriptTransaction"))
352408 then {
353- let aH = y
354- sigVerify(aF.bodyBytes, aF.proofs[0], j)
409+ let aJ = B
410+ sigVerify(aH.bodyBytes, aH.proofs[0], m)
355411 }
356- else if (if ($isInstanceOf(y, "DataTransaction"))
412+ else if (if ($isInstanceOf(B, "DataTransaction"))
357413 then true
358- else $isInstanceOf(y, "ReissueTransaction"))
414+ else $isInstanceOf(B, "ReissueTransaction"))
359415 then {
360- let aI = y
416+ let aK = B
361417 true
362418 }
363- else if ($isInstanceOf(y, "TransferTransaction"))
419+ else if ($isInstanceOf(B, "TransferTransaction"))
364420 then {
365- let aF = y
421+ let aH = B
366422 true
367423 }
368- else if ($isInstanceOf(y, "ExchangeTransaction"))
424+ else if ($isInstanceOf(B, "ExchangeTransaction"))
369425 then {
370- let aF = y
371- let aJ = if (!(isDefined(aF.sellOrder.assetPair.priceAsset)))
426+ let aH = B
427+ let aL = if (!(isDefined(aH.sellOrder.assetPair.priceAsset)))
372428 then true
373- else !(isDefined(aF.sellOrder.assetPair.amountAsset))
374- aJ
429+ else !(isDefined(aH.sellOrder.assetPair.amountAsset))
430+ aL
375431 }
376432 else false
377433 }
378434

github/deemru/w8io/169f3d6 
1008.92 ms