tx · Bro2913rhsobSodyqitc4TVXeE5yW35VPBqLWWCN9Gk3

3MySPM4gzNE8iefJDpekrCeXLAXwnvWhU2o:  -0.01000000 Waves

2021.11.03 22:07 [1775195] smart account 3MySPM4gzNE8iefJDpekrCeXLAXwnvWhU2o > SELF 0.00000000 Waves

{ "type": 13, "id": "Bro2913rhsobSodyqitc4TVXeE5yW35VPBqLWWCN9Gk3", "fee": 1000000, "feeAssetId": null, "timestamp": 1635966455984, "version": 2, "chainId": 84, "sender": "3MySPM4gzNE8iefJDpekrCeXLAXwnvWhU2o", "senderPublicKey": "5qTzfYpQxgho51JhHuiVXkksJnxe9n2PzSmXtEto8VyG", "proofs": [ "283d3pNDE9hHRA2mRBy2LvRczYdjiWYgLmMHDa4RZVTXhEuvdQu9SUEGvatrvNrfzAVmh1knXXp8DPCHebHbv8MN" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYBCAgICAgAAAAuAAAAAAd5Qml0Q08yAQAAACBpjNT/200BfejLeLffs4/BXDw5W+kMeWgNIY5n6ZtLrQAAAAAQVG9rVG9WZW5kZWRvclF0eQAAAAAAAAAnEAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIEfZJiTjEbCW1ePg4KFg875nRP72kK8UjQkTbQvjiwZHAAAAAAZjdGFBcHACAAAAIzNNeVNQTTRnek5FOGllZkpEcGVrckNlWExBWHdudldoVTJvAAAAABZlY3hhY2h4a2FwYXdpeDAxcHJlaWNvCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU3xPba43MIrTdBzkj1KIh5RJhI+0VJu6nAAAAABxlTTN4TjA4eE4wOHBleHByb2R4YWNBcHB4d3ZzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUZXtlAwFojd9til2zY8ueY3NTvHmic+ofAAAAAAp0eGFjeE4wOHBlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU2H+zv6hoVfC6umL2/Iw6/XNeoYjeAvgKAAAAAApOMDhwZXhwc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 1775195, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 4es8ARherweHnVK5NmjghwFSGUPaoRHcVbkz2aa8GhM8 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx'
5+
6+let b = 10000
7+
8+let c = "none"
9+
10+let d = base58'5qTzfYpQxgho51JhHuiVXkksJnxe9n2PzSmXtEto8VyG'
11+
12+let e = "3MySPM4gzNE8iefJDpekrCeXLAXwnvWhU2o"
13+
14+let f = Address(base58'3NAFcFPrj1wWrVMcsJMLvWBzmBt93oLh6w8')
15+
16+let g = Address(base58'3MyAfquD1K4mvWJNDLVPRG4BWiAW3RQUpXG')
17+
18+let h = Address(base58'3N9epiFphbL3Sf25xMASL1jAPxDH5D8vX85')
19+
20+let i = Address(base58'3N4c7DzgBcyVWTEv9N11vNpg4B1bfg5ryfJ')
21+
22+let j = 116
23+
24+let k = 2539
25+
26+let l = 100000
27+
28+let m = 3
29+
30+let n = 10
31+
32+let o = 1
33+
34+let p = 7
35+
36+let q = 2
37+
38+let r = 2
39+
40+let s = 11
41+
42+func t (u) = {
43+ let v = {
44+ let w = getInteger(this, u)
45+ if ($isInstanceOf(w, "Int"))
46+ then {
47+ let x = w
48+ x
49+ }
50+ else 0
51+ }
52+ v
53+ }
54+
55+
56+func y (u) = {
57+ let z = {
58+ let w = getString(this, u)
59+ if ($isInstanceOf(w, "String"))
60+ then {
61+ let x = w
62+ x
63+ }
64+ else c
65+ }
66+ z
67+ }
68+
69+
70+func A (B,C) = "Order_№:"
71+
72+
73+func D (B,C) = t(A(B, C))
74+
75+
76+func E (C) = "Proyecto de Apoyo | Inversión"
77+
78+
79+func F (C) = y(E(C))
80+
81+
82+func G (C) = "№ de Documento | DNI del Comprador:"
83+
84+
85+func H (C) = y(G(C))
86+
87+
88+func I (C) = "Producto-GTS adquirido | Categoría:"
89+
90+
91+func J (C) = y(I(C))
92+
93+
94+func K (C) = "Tienda | Vendedor-GTS:"
95+
96+
97+func L (C) = y(K(C))
98+
99+
100+func M (C) = "Nodo-Activo Participante"
101+
102+
103+func N (C) = "PI, wvls:"
104+
105+
106+func O (C) = t(N(C))
107+
108+
109+func P (C) = "NIw, wvls:"
110+
111+
112+func Q (C) = t(P(C))
113+
114+
115+func R (C) = "UI, 10e-4 bit-co2:"
116+
117+
118+func S (C) = t(R(C))
119+
120+
121+func T (C) = "SI, 10e-4 bit-co2:"
122+
123+
124+func U (C) = t(T(C))
125+
126+
127+func V (C) = "NIb, 10e-4 bit-co2:"
128+
129+
130+func W (C) = t(V(C))
131+
132+
133+func X (Y) = "Tokens entregados desde Tienda1, 10e-4 bit-co2:"
134+
135+
136+func Z (Y) = t(X(Y))
137+
138+
139+func aa (ab) = "Fondos desde Programa-03gts, wvls:"
140+
141+
142+func ac (ab) = t(aa(ab))
143+
144+
145+@Callable(ad)
146+func purchaseGTS (ae,af,ag,ah,ai,C) = {
147+ let aj = extract(ad.payment)
148+ if (isDefined(aj.assetId))
149+ then throw("El Precio en waves.")
150+ else {
151+ let ak = {
152+ let w = getString(this, M(C))
153+ if ($isInstanceOf(w, "String"))
154+ then {
155+ let x = w
156+ x
157+ }
158+ else c
159+ }
160+ let Y = toBase58String(h.bytes)
161+ let al = {
162+ let w = getInteger(this, X(Y))
163+ if ($isInstanceOf(w, "Int"))
164+ then {
165+ let x = w
166+ x
167+ }
168+ else 0
169+ }
170+ let ab = toBase58String(f.bytes)
171+ let am = {
172+ let w = getInteger(this, aa(ab))
173+ if ($isInstanceOf(w, "Int"))
174+ then {
175+ let x = w
176+ x
177+ }
178+ else 0
179+ }
180+ let an = toBase58String(ad.caller.bytes)
181+ let ao = ae
182+ let ap = ((n * ao) / s)
183+ let aq = ((o * ao) / s)
184+ let ar = (((100 - m) * (j * l)) / 10000)
185+ let as = (((ae * k) / 100) / ar)
186+ let at = (as * 10000)
187+ let au = ((p * as) / s)
188+ let av = ((q * as) / s)
189+ let aw = ((r * as) / s)
190+ if ((al >= (b * 10000)))
191+ then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
192+ else {
193+ let ax = ((b * 10000) - al)
194+ if ((ae > aj.amount))
195+ then throw("Payment Amount can't be less than item Purchase Order")
196+ else if ((aj.amount > ae))
197+ then throw("Payment Amount can't be higher than item Purchase Order")
198+ else ScriptResult(WriteSet([DataEntry(A(an, C), (D(an, C) + 1)), DataEntry(G(C), af), DataEntry(E(C), ag), DataEntry("Monto de apoyo ecológico, wvls", ae), DataEntry(I(C), ah), DataEntry(K(C), ai), DataEntry(M(C), C), DataEntry("usdn", k), DataEntry("eurou", j), DataEntry("Precio de 1 token con dscto, 10e-4 usd", ar), DataEntry("Total de tokens a distribuir, 10e-4 bit-co2", as), DataEntry(("Order_Status:_" + an), "Transacción Confirmada!"), DataEntry(aa(ab), (ac(ab) + ap)), DataEntry(X(Y), (Z(Y) + as)), DataEntry("Saldo de tokens en oferta, 10e-04 bit-co2", (ax - ((Z(Y) - al) + as)))]), TransferSet([ScriptTransfer(f, ap, unit), ScriptTransfer(g, aq, unit), ScriptTransfer(ad.caller, au, a), ScriptTransfer(h, av, a), ScriptTransfer(i, aw, a)]))
199+ }
200+ }
201+ }
202+
203+
204+@Verifier(ay)
205+func az () = {
206+ let w = ay
207+ if ($isInstanceOf(w, "SetScriptTransaction"))
208+ then {
209+ let aA = w
210+ sigVerify(ay.bodyBytes, ay.proofs[0], d)
211+ }
212+ else if (if ($isInstanceOf(w, "ReissueTransaction"))
213+ then true
214+ else $isInstanceOf(w, "DataTransaction"))
215+ then {
216+ let aB = w
217+ true
218+ }
219+ else if ($isInstanceOf(w, "TransferTransaction"))
220+ then {
221+ let ay = w
222+ true
223+ }
224+ else false
225+ }
226+

github/deemru/w8io/026f985 
19.61 ms