tx · G7yd65Z7CM17UtgBE7Cn4MeLqAiAzWXG9fTdPyH6Hic2

3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k:  -0.01400000 Waves

2020.08.18 20:46 [1138631] smart account 3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k > SELF 0.00000000 Waves

{ "type": 13, "id": "G7yd65Z7CM17UtgBE7Cn4MeLqAiAzWXG9fTdPyH6Hic2", "fee": 1400000, "feeAssetId": null, "timestamp": 1597772896830, "version": 1, "sender": "3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k", "senderPublicKey": "7FQufF9XhJBsTdvrn67eWxYT7ZxDwzjuXAprkWiHrS3Y", "proofs": [ "4aMbADj6XhUPnagvS7mqubvFEX28m66A28GhcWE8GQodFovcdBRBYbHjJ156Cj647dkMbHUf29w97t7WaFd77jbZ" ], "script": "base64:AAIDAAAAAAAAACEIARIECgIICBIGCgQICAgBEgkKBwgICAgBCAgSBAoCCAEAAAArAAAAAAd4Qml0Q08yAQAAACAgBGSmqgN7DW+mqvqXJVizlol6Uwz/77rGaIdsg1TcjQAAAAAHYkJpdENPMgEAAAAgJLm895AWDUgjXTQGcnf0M2daVOHTTVkxMY+I6LgJ4NEAAAAACHN0YXJ0UXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAACG5vbVByaWNlAAAAAAAAAAABAAAAAAN3dnMAAAAAAAX14QAAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAAC093bmVyUHViS2V5AQAAACBc10kgzntLYC3wdTXyP6D5J32rgBzym30loQrY6e/2HwAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUsZ/LLWvSicGFXkptOa6Ov7Vyb4KJ2haTAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUmX0sM+4Li4VQQQ26bf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AAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAl3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHKHqUtQ==", "chainId": 84, "height": 1138631, "spentComplexity": 0 } View: original | compacted Prev: 7mEprpR8Z7yw2UFe42qo1Ar1AEY6RRGgL1ZVsRMU8uqW Next: FrzfEmvF6NsmnQgL6XhG7ek18aansEEi78GSPrKRVWht Diff:
OldNewDifferences
159159
160160
161161 @Callable(Z)
162-func purchaseGTS (D,af,ag,ah) = {
162+func purchaseGTS2 (D,af,ag,ah) = {
163163 let ac = extract(Z.payment)
164164 if (isDefined(ac.assetId))
165165 then throw("you can adquire Products only by Waves tokens")
211211
212212
213213 @Callable(Z)
214-func purchaseGTS1 (D,at,af,ag,ah,m,l) = {
214+func purchaseGTS (D,at,af,ag,ah,m,l) = {
215215 let ac = extract(Z.payment)
216216 if (isDefined(ac.assetId))
217- then throw("El Precio de los aves.")
217+ then throw("El Precio en waves.")
218218 else {
219219 let B = {
220220 let w = getString(this, A(D))
256256 then throw("Payment Amount can't be less than item Purchase Order")
257257 else if ((ac.amount > ah))
258258 then throw("Payment Amount can't be higher than item Purchase Order")
259- else ScriptResult(WriteSet([DataEntry(E(ak, D), (G(ak, D) + 1)), DataEntry(C(B, D), D), DataEntry(H(D), at), DataEntry(J(D), af), DataEntry(L(D), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", n), DataEntry("STtl, wvs", al), DataEntry("CP 1 B, wvs", (o * 1000000)), DataEntry(T(D), am), DataEntry("UBI", an), DataEntry(V(D), ao), DataEntry("EcSys", aq), DataEntry(X(D), ar), DataEntry("SBI: b", as), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry(R(B), (aj + ac.amount))]), TransferSet([ScriptTransfer(Z.caller, an, a), ScriptTransfer(addressFromStringValue(m), ao, unit), ScriptTransfer(k, ar, unit), ScriptTransfer(k, as, a), ScriptTransfer(addressFromStringValue(l), ap, unit), ScriptTransfer(addressFromStringValue(l), aq, a)]))
259+ else ScriptResult(WriteSet([DataEntry(E(ak, D), (G(ak, D) + 1)), DataEntry(C(B, D), D), DataEntry(H(D), at), DataEntry(J(D), af), DataEntry(L(D), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", n), DataEntry("STtl, wvs", al), DataEntry("CP 1 B, wvs", (o * 1000000)), DataEntry(T(D), am), DataEntry("UBI", an), DataEntry(V(D), ao), DataEntry("EcSys", aq), DataEntry(X(D), ar), DataEntry("SBI: b", as), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry(R(B), (aj + ac.amount))]), TransferSet([ScriptTransfer(k, ar, unit), ScriptTransfer(k, as, a)]))
260260 }
261261 }
262262
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN'
55
66 let b = base58'3UMwob2PDKVYmDMZZdT9ijK7EdRJZKFoBLCAXnwKtNN4'
77
88 let c = 305693
99
1010 let d = 31193
1111
1212 let e = 274500
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'7FQufF9XhJBsTdvrn67eWxYT7ZxDwzjuXAprkWiHrS3Y'
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 = 88
3333
3434 let p = 7
3535
3636 let q = 10
3737
3838 let r = 1
3939
4040 let s = 1
4141
4242 func t (u) = {
4343 let v = {
4444 let w = getInteger(this, u)
4545 if ($isInstanceOf(w, "Int"))
4646 then {
4747 let x = w
4848 x
4949 }
5050 else 0
5151 }
5252 v
5353 }
5454
5555
5656 func y (u) = {
5757 let z = {
5858 let w = getString(this, u)
5959 if ($isInstanceOf(w, "String"))
6060 then {
6161 let x = w
6262 x
6363 }
6464 else i
6565 }
6666 z
6767 }
6868
6969
7070 func A (B) = (B + "Bit-CO2 Shop, Lima-Perú")
7171
7272
7373 func C (B,D) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((B + D)))))
7474
7575
7676 func E (F,D) = "Order_№:"
7777
7878
7979 func G (F,D) = t(E(F, D))
8080
8181
8282 func H (D) = "Categoría del Producto:"
8383
8484
8585 func I (D) = y(H(D))
8686
8787
8888 func J (D) = "Nombre del Usuario:"
8989
9090
9191 func K (D) = y(J(D))
9292
9393
9494 func L (D) = "№ de Documento / DNI del Usuario:"
9595
9696
9797 func M (D) = y(L(D))
9898
9999
100100 func N (D) = "Tokens Ofertados en la presente etapa / Saldo:"
101101
102102
103103 func O (D) = t(N(D))
104104
105105
106106 func P (D) = "Balance/Saldo GTS, tokens:"
107107
108108
109109 func Q (D) = t(P(D))
110110
111111
112112 func R (B) = "Ingresos por VentaGTS:"
113113
114114
115115 func S (B) = t(R(B))
116116
117117
118118 func T (D) = "UI,_wvs:"
119119
120120
121121 func U (D) = t(T(D))
122122
123123
124124 func V (D) = "PI,_%:"
125125
126126
127127 func W (D) = t(V(D))
128128
129129
130130 func X (D) = "SI,_%:"
131131
132132
133133 func Y (D) = t(X(D))
134134
135135
136136 @Callable(Z)
137137 func deposit (aa,ab) = {
138138 let ac = extract(Z.payment)
139139 if ((ac.assetId != a))
140140 then throw("deposito permitido solo en xBitCO2 tokens")
141141 else {
142142 let B = toBase58String(Z.caller.bytes)
143143 let ad = {
144144 let w = getInteger(this, B)
145145 if ($isInstanceOf(w, "Int"))
146146 then {
147147 let x = w
148148 x
149149 }
150150 else c
151151 }
152152 let ae = (ad + ac.amount)
153153 if ((0 >= ae))
154154 then throw("No hay xBitCO2 en su balance")
155155 else WriteSet([DataEntry(B, ae)])
156156 }
157157 }
158158
159159
160160
161161 @Callable(Z)
162-func purchaseGTS (D,af,ag,ah) = {
162+func purchaseGTS2 (D,af,ag,ah) = {
163163 let ac = extract(Z.payment)
164164 if (isDefined(ac.assetId))
165165 then throw("you can adquire Products only by Waves tokens")
166166 else {
167167 let B = {
168168 let w = getString(this, A(D))
169169 if ($isInstanceOf(w, "String"))
170170 then {
171171 let x = w
172172 x
173173 }
174174 else i
175175 }
176176 let ai = {
177177 let w = getInteger(this, P(D))
178178 if ($isInstanceOf(w, "Int"))
179179 then {
180180 let x = w
181181 x
182182 }
183183 else c
184184 }
185185 let aj = {
186186 let w = getInteger(this, R(B))
187187 if ($isInstanceOf(w, "Int"))
188188 then {
189189 let x = w
190190 x
191191 }
192192 else 0
193193 }
194194 let ak = toBase58String(Z.caller.bytes)
195195 let al = (ah - ((n * ah) / 100))
196196 let am = ((al * p) / 100)
197197 let an = (am / o)
198198 let ao = ((al * q) / 100)
199199 let ap = ((al * s) / 100)
200200 let aq = ((al * s) / (o * 100))
201201 let ar = ((ah - ao) - ap)
202202 let as = ((al * r) / (o * 100))
203203 if ((ah > ac.amount))
204204 then throw("Payment Amount can't be less than item Purchase Order")
205205 else if ((ac.amount > ah))
206206 then throw("Payment Amount can't be higher than item Purchase Order")
207207 else ScriptResult(WriteSet([DataEntry(E(ak, D), (G(ak, D) + 1)), DataEntry(J(D), af), DataEntry(L(D), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", n), DataEntry("STtl, wvs", al), DataEntry("CP 1 B, wvs", (o * 1000000)), DataEntry(T(D), am), DataEntry("UBI", an), DataEntry(V(D), ao), DataEntry("EcSys", aq), DataEntry(("Order_Status:_" + ak), "confirmed"), DataEntry(X(D), ar), DataEntry("SBI: b", as), DataEntry(R(B), (aj + ac.amount))]), TransferSet([ScriptTransfer(Z.caller, an, b), ScriptTransfer(m, ao, unit), ScriptTransfer(k, ar, unit), ScriptTransfer(k, as, b), ScriptTransfer(l, ap, unit), ScriptTransfer(l, aq, b)]))
208208 }
209209 }
210210
211211
212212
213213 @Callable(Z)
214-func purchaseGTS1 (D,at,af,ag,ah,m,l) = {
214+func purchaseGTS (D,at,af,ag,ah,m,l) = {
215215 let ac = extract(Z.payment)
216216 if (isDefined(ac.assetId))
217- then throw("El Precio de los aves.")
217+ then throw("El Precio en waves.")
218218 else {
219219 let B = {
220220 let w = getString(this, A(D))
221221 if ($isInstanceOf(w, "String"))
222222 then {
223223 let x = w
224224 x
225225 }
226226 else i
227227 }
228228 let ai = {
229229 let w = getInteger(this, P(D))
230230 if ($isInstanceOf(w, "Int"))
231231 then {
232232 let x = w
233233 x
234234 }
235235 else e
236236 }
237237 let aj = {
238238 let w = getInteger(this, R(B))
239239 if ($isInstanceOf(w, "Int"))
240240 then {
241241 let x = w
242242 x
243243 }
244244 else 0
245245 }
246246 let ak = toBase58String(Z.caller.bytes)
247247 let al = (ah - ((n * ah) / 100))
248248 let am = ((al * p) / 100)
249249 let an = (am / o)
250250 let ao = ((al * q) / 100)
251251 let ap = ((al * s) / 100)
252252 let aq = ((al * s) / (o * 100))
253253 let ar = ((ah - ao) - ap)
254254 let as = ((al * r) / (o * 100))
255255 if ((ah > ac.amount))
256256 then throw("Payment Amount can't be less than item Purchase Order")
257257 else if ((ac.amount > ah))
258258 then throw("Payment Amount can't be higher than item Purchase Order")
259- else ScriptResult(WriteSet([DataEntry(E(ak, D), (G(ak, D) + 1)), DataEntry(C(B, D), D), DataEntry(H(D), at), DataEntry(J(D), af), DataEntry(L(D), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", n), DataEntry("STtl, wvs", al), DataEntry("CP 1 B, wvs", (o * 1000000)), DataEntry(T(D), am), DataEntry("UBI", an), DataEntry(V(D), ao), DataEntry("EcSys", aq), DataEntry(X(D), ar), DataEntry("SBI: b", as), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry(R(B), (aj + ac.amount))]), TransferSet([ScriptTransfer(Z.caller, an, a), ScriptTransfer(addressFromStringValue(m), ao, unit), ScriptTransfer(k, ar, unit), ScriptTransfer(k, as, a), ScriptTransfer(addressFromStringValue(l), ap, unit), ScriptTransfer(addressFromStringValue(l), aq, a)]))
259+ else ScriptResult(WriteSet([DataEntry(E(ak, D), (G(ak, D) + 1)), DataEntry(C(B, D), D), DataEntry(H(D), at), DataEntry(J(D), af), DataEntry(L(D), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", n), DataEntry("STtl, wvs", al), DataEntry("CP 1 B, wvs", (o * 1000000)), DataEntry(T(D), am), DataEntry("UBI", an), DataEntry(V(D), ao), DataEntry("EcSys", aq), DataEntry(X(D), ar), DataEntry("SBI: b", as), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry(R(B), (aj + ac.amount))]), TransferSet([ScriptTransfer(k, ar, unit), ScriptTransfer(k, as, a)]))
260260 }
261261 }
262262
263263
264264
265265 @Callable(Z)
266266 func withdraw (D,au) = {
267267 let ak = toBase58String(Z.caller.bytes)
268268 let B = {
269269 let w = getString(this, A(D))
270270 if ($isInstanceOf(w, "String"))
271271 then {
272272 let x = w
273273 x
274274 }
275275 else i
276276 }
277277 let ai = {
278278 let w = getInteger(this, P(D))
279279 if ($isInstanceOf(w, "Int"))
280280 then {
281281 let x = w
282282 x
283283 }
284284 else c
285285 }
286286 let ae = (ai - au)
287287 if ((0 > au))
288288 then throw("El balance de retiro no puede ser negativo!")
289289 else if ((0 >= ae))
290290 then throw("Ooppss.. Insuficiente balance!")
291291 else ScriptResult(WriteSet([DataEntry(D, ae)]), TransferSet([ScriptTransfer(Z.caller, au, a)]))
292292 }
293293
294294
295295 @Verifier(av)
296296 func aw () = {
297297 let w = av
298298 if ($isInstanceOf(w, "SetScriptTransaction"))
299299 then {
300300 let ax = w
301301 sigVerify(av.bodyBytes, av.proofs[0], j)
302302 }
303303 else if (if ($isInstanceOf(w, "DataTransaction"))
304304 then true
305305 else $isInstanceOf(w, "ReissueTransaction"))
306306 then {
307307 let ay = w
308308 true
309309 }
310310 else if ($isInstanceOf(w, "TransferTransaction"))
311311 then {
312312 let av = w
313313 true
314314 }
315315 else if ($isInstanceOf(w, "ExchangeTransaction"))
316316 then {
317317 let av = w
318318 let az = if (!(isDefined(av.sellOrder.assetPair.priceAsset)))
319319 then true
320320 else !(isDefined(av.sellOrder.assetPair.amountAsset))
321321 az
322322 }
323323 else false
324324 }
325325

github/deemru/w8io/026f985 
45.62 ms