tx · ASHSadn4pVZLRLaUBbTVv3XVNBxJMun3BP6ksQZKcjGY

3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8:  -0.01400000 Waves

2020.08.21 16:21 [1142742] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves

{ "type": 13, "id": "ASHSadn4pVZLRLaUBbTVv3XVNBxJMun3BP6ksQZKcjGY", "fee": 1400000, "feeAssetId": null, "timestamp": 1598016108209, "version": 1, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "2ebqQ1g34eeawpPxeAdmE19gt1Wjg3k2bsa1FYAwSAtyv4sWNmMpPuBFRrqZfVpHSy36yxdDhRy644kYHhMhmRUo" ], "script": "base64:AAIDAAAAAAAAABkIARIECgIICBIJCgcICAgIAQgIEgQKAggBAAAAKgAAAAAHeUJpdENPMgEAAAAgaYzU/9tNAX3oy3i337OPwVw8OVvpDHloDSGOZ+mbS60AAAAACHN0YXJ0UXR5AAAAAAC2NQzQAAAAAAxGaXJzdEZhc2VRdHkAAAAAABKXrJAAAAAADVNlY29uZEZhc2VRdHkAAAAAAKOdYEAAAAAACG5vbVByaWNlAAAAAAAAAAABAAAAAAN3dnMAAAAAAAX14QAAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAAC093bmVyUHViS2V5AQAAACB2JYFH9ti5N+7uGrdzKwlrXhDeZ+vMkHOKuVJteEgPDwAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUsZ/LLWvSicGFXkptOa6Ov7Vyb4KJ2haTAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUmX0sM+4Li4VQQQ26bfB7j/XU/VW4HmxXAAAAAARwQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUQ6WuNYi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QYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHuYGCSg==", "chainId": 84, "height": 1142742, "spentComplexity": 0 } View: original | compacted Prev: E2YNvYkSf1b9uRmch64K6WLXNjE8hDziQ66wGP2DdzBA Next: 9D1twTUs2WvW682hKZHwRdjmbAMZXcajyGsCqppok1ao Diff:
OldNewDifferences
194194 let am = n
195195 let an = ((88 * am) / 100)
196196 let ao = ((al * o) / 100)
197- let ap = ((ao / an) / 10000)
197+ let ap = ((ao / an) * 10000)
198198 let aq = ((al * p) / 100)
199199 let ar = ((al * r) / 100)
200- let as = ((ar / an) / 10000)
200+ let as = ((ar / an) * 10000)
201201 let at = ((ah - aq) - ar)
202- let au = (((al * q) / (an * 100)) / 10000)
202+ let au = (((al * q) / (an * 100)) * 10000)
203203 if ((ah > ab.amount))
204204 then throw("Payment Amount can't be less than item Purchase Order")
205205 else if ((ab.amount > ah))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx'
55
66 let b = 3056930000
77
88 let c = 311930000
99
1010 let d = 2745000000
1111
1212 let e = 1
1313
1414 let f = 100000000
1515
1616 let g = 12
1717
1818 let h = "none"
1919
2020 let i = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U'
2121
2222 let j = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW')
2323
2424 let k = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c')
2525
2626 let l = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD')
2727
2828 let m = 18
2929
3030 let n = 32000000
3131
3232 let o = 7
3333
3434 let p = 10
3535
3636 let q = 1
3737
3838 let r = 1
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 h
6363 }
6464 y
6565 }
6666
6767
6868 func z (A) = (A + "Bit-CO2 Shop, Lima-Perú")
6969
7070
7171 func B (A,C) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((A + C)))))
7272
7373
7474 func D (E,C) = "Order_№:"
7575
7676
7777 func F (E,C) = s(D(E, C))
7878
7979
8080 func G (C) = "Categoría del Producto:"
8181
8282
8383 func H (C) = x(G(C))
8484
8585
8686 func I (C) = "Nombre del Usuario:"
8787
8888
8989 func J (C) = x(I(C))
9090
9191
9292 func K (C) = "№ de Documento / DNI del Usuario:"
9393
9494
9595 func L (C) = x(K(C))
9696
9797
9898 func M (C) = "Tokens Ofertados en la presente etapa / Saldo, ytok:"
9999
100100
101101 func N (C) = s(M(C))
102102
103103
104104 func O (C) = "Balance/Saldo GTS, ytokens:"
105105
106106
107107 func P (C) = s(O(C))
108108
109109
110110 func Q (A) = "Ingresos por VentaGTS, wvls:"
111111
112112
113113 func R (A) = s(Q(A))
114114
115115
116116 func S (C) = "UI,_wvls:"
117117
118118
119119 func T (C) = s(S(C))
120120
121121
122122 func U (C) = "PI,_wvls:"
123123
124124
125125 func V (C) = s(U(C))
126126
127127
128128 func W (C) = "SI,_wvls:"
129129
130130
131131 func X (C) = s(W(C))
132132
133133
134134 @Callable(Y)
135135 func deposit (Z,aa) = {
136136 let ab = extract(Y.payment)
137137 if ((ab.assetId != a))
138138 then throw("deposito permitido solo en yBitCO2 tokens")
139139 else {
140140 let A = toBase58String(Y.caller.bytes)
141141 let ac = {
142142 let v = getInteger(this, A)
143143 if ($isInstanceOf(v, "Int"))
144144 then {
145145 let w = v
146146 w
147147 }
148148 else b
149149 }
150150 let ad = (ac + ab.amount)
151151 if ((0 >= ad))
152152 then throw("No hay yBitCO2 en su balance")
153153 else WriteSet([DataEntry(A, ad)])
154154 }
155155 }
156156
157157
158158
159159 @Callable(Y)
160160 func purchaseGTS (C,ae,af,ag,ah,l,k) = {
161161 let ab = extract(Y.payment)
162162 if (isDefined(ab.assetId))
163163 then throw("El Precio en waves.")
164164 else {
165165 let A = {
166166 let v = getString(this, z(C))
167167 if ($isInstanceOf(v, "String"))
168168 then {
169169 let w = v
170170 w
171171 }
172172 else h
173173 }
174174 let ai = {
175175 let v = getInteger(this, O(C))
176176 if ($isInstanceOf(v, "Int"))
177177 then {
178178 let w = v
179179 w
180180 }
181181 else d
182182 }
183183 let aj = {
184184 let v = getInteger(this, Q(A))
185185 if ($isInstanceOf(v, "Int"))
186186 then {
187187 let w = v
188188 w
189189 }
190190 else 0
191191 }
192192 let ak = toBase58String(Y.caller.bytes)
193193 let al = (ah - ((m * ah) / 100))
194194 let am = n
195195 let an = ((88 * am) / 100)
196196 let ao = ((al * o) / 100)
197- let ap = ((ao / an) / 10000)
197+ let ap = ((ao / an) * 10000)
198198 let aq = ((al * p) / 100)
199199 let ar = ((al * r) / 100)
200- let as = ((ar / an) / 10000)
200+ let as = ((ar / an) * 10000)
201201 let at = ((ah - aq) - ar)
202- let au = (((al * q) / (an * 100)) / 10000)
202+ let au = (((al * q) / (an * 100)) * 10000)
203203 if ((ah > ab.amount))
204204 then throw("Payment Amount can't be less than item Purchase Order")
205205 else if ((ab.amount > ah))
206206 then throw("Payment Amount can't be higher than item Purchase Order")
207207 else ScriptResult(WriteSet([DataEntry(D(ak, C), (F(ak, C) + 1)), DataEntry(B(A, C), C), DataEntry(G(C), ae), DataEntry(I(C), af), DataEntry(K(C), ag), DataEntry("Payment_amount,_wvs", ah), DataEntry("Imp, %", m), DataEntry("STtl, waves", al), DataEntry("CP 1 B, waves", (an * 1)), DataEntry(S(C), ao), DataEntry("UBI", ap), DataEntry(U(C), aq), DataEntry("EcSys", as), DataEntry(W(C), at), DataEntry("SBI: b", au), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry(Q(A), (aj + ab.amount))]), TransferSet([ScriptTransfer(Y.caller, (ap / 10000), a), ScriptTransfer(j, at, unit), ScriptTransfer(j, (au / 10000), a)]))
208208 }
209209 }
210210
211211
212212
213213 @Callable(Y)
214214 func withdraw (C,av) = {
215215 let ak = toBase58String(Y.caller.bytes)
216216 let A = {
217217 let v = getString(this, z(C))
218218 if ($isInstanceOf(v, "String"))
219219 then {
220220 let w = v
221221 w
222222 }
223223 else h
224224 }
225225 let ai = {
226226 let v = getInteger(this, O(C))
227227 if ($isInstanceOf(v, "Int"))
228228 then {
229229 let w = v
230230 w
231231 }
232232 else b
233233 }
234234 let ad = (ai - av)
235235 if ((0 > av))
236236 then throw("El balance de retiro no puede ser negativo!")
237237 else if ((0 >= ad))
238238 then throw("Ooppss.. Insuficiente balance!")
239239 else ScriptResult(WriteSet([DataEntry(C, ad)]), TransferSet([ScriptTransfer(Y.caller, av, a)]))
240240 }
241241
242242
243243 @Verifier(aw)
244244 func ax () = {
245245 let v = aw
246246 if ($isInstanceOf(v, "SetScriptTransaction"))
247247 then {
248248 let ay = v
249249 sigVerify(aw.bodyBytes, aw.proofs[0], i)
250250 }
251251 else if (if ($isInstanceOf(v, "DataTransaction"))
252252 then true
253253 else $isInstanceOf(v, "ReissueTransaction"))
254254 then {
255255 let az = v
256256 true
257257 }
258258 else if ($isInstanceOf(v, "TransferTransaction"))
259259 then {
260260 let aw = v
261261 true
262262 }
263263 else if ($isInstanceOf(v, "ExchangeTransaction"))
264264 then {
265265 let aw = v
266266 let aA = if (!(isDefined(aw.sellOrder.assetPair.priceAsset)))
267267 then true
268268 else !(isDefined(aw.sellOrder.assetPair.amountAsset))
269269 aA
270270 }
271271 else false
272272 }
273273

github/deemru/w8io/026f985 
46.39 ms