tx · Jg9a4hpm4g1g2cACwv5DktWPuSkmXTExdk6k6C37zsF

3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8:  -0.01000000 Waves

2021.11.01 23:28 [1772416] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves

{ "type": 13, "id": "Jg9a4hpm4g1g2cACwv5DktWPuSkmXTExdk6k6C37zsF", "fee": 1000000, "feeAssetId": null, "timestamp": 1635798578669, "version": 2, "chainId": 84, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "4FZkAfhVu43kFyeTE4sAVuBhEwreRihD6PtmrG4AvCTfW4293aZwWrj5XtYC6NeBBQ2Dhmgy9SGxSxDMzt7Xt6G" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYBCAgICAgAAAAtAAAAAAd5Qml0Q08yAQAAACBpjNT/200BfejLeLffs4/BXDw5W+kMeWgNIY5n6ZtLrQAAAAAQVG9rVG9WZW5kZWRvclF0eQAAAAAAAAAnEAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIHYlgUf22Lk37u4at3MrCWteEN5n68yQc4q5Um14SA8PAAAAABZlY3hhY2h4a2FwYXdpeDAxcHJlaWNvCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU3xPba43MIrTdBzkj1KIh5RJhI+0VJu6nAAAAABxlTTN4TjA4eE4wOHBleHByb2R4YWNBcHB4d3ZzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUZXtlAwFojd9til2zY8ueY3NTvHmic+ofAAAAAAp0eGFjeE4wOHBlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU2H+zv6hoVfC6umL2/Iw6/XNeoYjeAvgKAAAAAApOMDhwZXhwcm9kCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUoSOcBtKbP7i/nEoP0XqHwB6tn5K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9Ti3csqKi3534QJ7MwTPPmNhpXN3oSc5Pjjhm7bLv Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx'
55
66 let b = 10000
77
88 let c = "none"
99
1010 let d = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
1111
1212 let e = Address(base58'3NAFcFPrj1wWrVMcsJMLvWBzmBt93oLh6w8')
1313
1414 let f = Address(base58'3MyAfquD1K4mvWJNDLVPRG4BWiAW3RQUpXG')
1515
1616 let g = Address(base58'3N9epiFphbL3Sf25xMASL1jAPxDH5D8vX85')
1717
1818 let h = Address(base58'3N4c7DzgBcyVWTEv9N11vNpg4B1bfg5ryfJ')
1919
2020 let i = 116
2121
2222 let j = 2539
2323
2424 let k = 100000
2525
2626 let l = 3
2727
2828 let m = 10
2929
3030 let n = 1
3131
3232 let o = 7
3333
3434 let p = 2
3535
3636 let q = 2
3737
3838 let r = 11
3939
4040 func s (t) = {
4141 let u = {
4242 let v = getInteger(this, t)
4343 if ($isInstanceOf(v, "Int"))
4444 then {
4545 let w = v
4646 w
4747 }
4848 else 0
4949 }
5050 u
5151 }
5252
5353
5454 func x (t) = {
5555 let y = {
5656 let v = getString(this, t)
5757 if ($isInstanceOf(v, "String"))
5858 then {
5959 let w = v
6060 w
6161 }
6262 else c
6363 }
6464 y
6565 }
6666
6767
6868 func z (A,B) = "Order_№:"
6969
7070
7171 func C (A,B) = s(z(A, B))
7272
7373
7474 func D (B) = "Proyecto de Apoyo | Inversión"
7575
7676
7777 func E (B) = x(D(B))
7878
7979
8080 func F (B) = "№ de Documento | DNI del Comprador:"
8181
8282
8383 func G (B) = x(F(B))
8484
8585
8686 func H (B) = "Producto-GTS adquirido | Categoría:"
8787
8888
8989 func I (B) = x(H(B))
9090
9191
9292 func J (B) = "Tienda | Vendedor-GTS:"
9393
9494
9595 func K (B) = x(J(B))
9696
9797
9898 func L (B) = "Nodo-Activo Participante"
9999
100100
101101 func M (B) = "PI, wvls:"
102102
103103
104104 func N (B) = s(M(B))
105105
106106
107107 func O (B) = "NIw, wvls:"
108108
109109
110110 func P (B) = s(O(B))
111111
112112
113113 func Q (B) = "UI, 10e-4 bit-co2:"
114114
115115
116116 func R (B) = s(Q(B))
117117
118118
119119 func S (B) = "SI, 10e-4 bit-co2:"
120120
121121
122122 func T (B) = s(S(B))
123123
124124
125125 func U (B) = "NIb, 10e-4 bit-co2:"
126126
127127
128128 func V (B) = s(U(B))
129129
130130
131131 func W (X) = "Tokens entregados desde Tienda1, 10e-4 bit-co2:"
132132
133133
134134 func Y (X) = s(W(X))
135135
136136
137137 func Z (aa) = "Fondos en Programa-03gts para F1 PreICO, wvls:"
138138
139139
140140 func ab (aa) = s(Z(aa))
141141
142142
143143 @Callable(ac)
144144 func purchaseGTS (ad,ae,af,ag,ah,B) = {
145145 let ai = extract(ac.payment)
146146 if (isDefined(ai.assetId))
147147 then throw("El Precio en waves.")
148148 else {
149149 let aj = {
150150 let v = getString(this, L(B))
151151 if ($isInstanceOf(v, "String"))
152152 then {
153153 let w = v
154154 w
155155 }
156156 else c
157157 }
158158 let X = toBase58String(g.bytes)
159159 let ak = {
160160 let v = getInteger(this, W(X))
161161 if ($isInstanceOf(v, "Int"))
162162 then {
163163 let w = v
164164 w
165165 }
166166 else 0
167167 }
168168 let aa = toBase58String(e.bytes)
169169 let al = {
170170 let v = getInteger(this, Z(aa))
171171 if ($isInstanceOf(v, "Int"))
172172 then {
173173 let w = v
174174 w
175175 }
176176 else 0
177177 }
178178 let am = toBase58String(ac.caller.bytes)
179179 let an = ad
180180 let ao = ((m * an) / r)
181181 let ap = ((n * an) / r)
182182 let aq = (((100 - l) * (i * k)) / 10000)
183183 let ar = (((ad * j) / 100) / aq)
184184 let as = (ar * 10000)
185185 let at = ((o * ar) / r)
186186 let au = ((p * ar) / r)
187187 let av = ((q * ar) / r)
188188 if ((ak >= (b * 10000)))
189189 then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
190190 else {
191191 let aw = ((b * 10000) - ak)
192192 if ((ad > ai.amount))
193193 then throw("Payment Amount can't be less than item Purchase Order")
194194 else if ((ai.amount > ad))
195195 then throw("Payment Amount can't be higher than item Purchase Order")
196196 else ScriptResult(WriteSet([DataEntry(z(am, B), (C(am, B) + 1)), DataEntry(F(B), ae), DataEntry(D(B), af), DataEntry("Monto de apoyo ecológico, wvls", ad), DataEntry(H(B), ag), DataEntry(J(B), ah), DataEntry(L(B), B), DataEntry("usdn", j), DataEntry("eurou", i), DataEntry("Precio de 1 token con dscto, 10e-4 usd", aq), DataEntry("Total de tokens a distribuir, 10e-4 bit-co2", ar), DataEntry(("Order_Status:_" + am), "Transacción Confirmada!"), DataEntry(Z(aa), (ab(aa) + ao)), DataEntry(W(X), (Y(X) + ar)), DataEntry("Saldo de tokens en oferta, 10e-04 bit-co2", (aw - ((Y(X) - ak) + ar)))]), TransferSet([ScriptTransfer(e, ao, unit), ScriptTransfer(f, ap, unit), ScriptTransfer(ac.caller, at, a), ScriptTransfer(g, au, a), ScriptTransfer(h, av, a)]))
197197 }
198198 }
199199 }
200200
201201
202202 @Verifier(ax)
203203 func ay () = {
204204 let v = ax
205205 if ($isInstanceOf(v, "SetScriptTransaction"))
206206 then {
207207 let az = v
208208 sigVerify(ax.bodyBytes, ax.proofs[0], d)
209209 }
210210 else if (if ($isInstanceOf(v, "ReissueTransaction"))
211211 then true
212212 else $isInstanceOf(v, "DataTransaction"))
213213 then {
214214 let aA = v
215215 true
216216 }
217217 else if ($isInstanceOf(v, "TransferTransaction"))
218218 then {
219219 let ax = v
220220 true
221221 }
222222 else false
223223 }
224224

github/deemru/w8io/026f985 
38.59 ms