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/VW4HmxXAAAAAARwQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUQ6WuNYiem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YWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHuYGCSg==", "chainId": 84, "height": 1142742, "spentComplexity": 0 } View: original | compacted Prev: E2YNvYkSf1b9uRmch64K6WLXNjE8hDziQ66wGP2DdzBA Next: 9D1twTUs2WvW682hKZHwRdjmbAMZXcajyGsCqppok1ao Diff:
Old | New | Differences | |
---|---|---|---|
194 | 194 | let am = n | |
195 | 195 | let an = ((88 * am) / 100) | |
196 | 196 | let ao = ((al * o) / 100) | |
197 | - | let ap = ((ao / an) | |
197 | + | let ap = ((ao / an) * 10000) | |
198 | 198 | let aq = ((al * p) / 100) | |
199 | 199 | let ar = ((al * r) / 100) | |
200 | - | let as = ((ar / an) | |
200 | + | let as = ((ar / an) * 10000) | |
201 | 201 | let at = ((ah - aq) - ar) | |
202 | - | let au = (((al * q) / (an * 100)) | |
202 | + | let au = (((al * q) / (an * 100)) * 10000) | |
203 | 203 | if ((ah > ab.amount)) | |
204 | 204 | then throw("Payment Amount can't be less than item Purchase Order") | |
205 | 205 | else if ((ab.amount > ah)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx' | |
5 | 5 | ||
6 | 6 | let b = 3056930000 | |
7 | 7 | ||
8 | 8 | let c = 311930000 | |
9 | 9 | ||
10 | 10 | let d = 2745000000 | |
11 | 11 | ||
12 | 12 | let e = 1 | |
13 | 13 | ||
14 | 14 | let f = 100000000 | |
15 | 15 | ||
16 | 16 | let g = 12 | |
17 | 17 | ||
18 | 18 | let h = "none" | |
19 | 19 | ||
20 | 20 | let i = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U' | |
21 | 21 | ||
22 | 22 | let j = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW') | |
23 | 23 | ||
24 | 24 | let k = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c') | |
25 | 25 | ||
26 | 26 | let l = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD') | |
27 | 27 | ||
28 | 28 | let m = 18 | |
29 | 29 | ||
30 | 30 | let n = 32000000 | |
31 | 31 | ||
32 | 32 | let o = 7 | |
33 | 33 | ||
34 | 34 | let p = 10 | |
35 | 35 | ||
36 | 36 | let q = 1 | |
37 | 37 | ||
38 | 38 | let r = 1 | |
39 | 39 | ||
40 | 40 | func s (t) = { | |
41 | 41 | let u = { | |
42 | 42 | let v = getInteger(this, t) | |
43 | 43 | if ($isInstanceOf(v, "Int")) | |
44 | 44 | then { | |
45 | 45 | let w = v | |
46 | 46 | w | |
47 | 47 | } | |
48 | 48 | else 0 | |
49 | 49 | } | |
50 | 50 | u | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func x (t) = { | |
55 | 55 | let y = { | |
56 | 56 | let v = getString(this, t) | |
57 | 57 | if ($isInstanceOf(v, "String")) | |
58 | 58 | then { | |
59 | 59 | let w = v | |
60 | 60 | w | |
61 | 61 | } | |
62 | 62 | else h | |
63 | 63 | } | |
64 | 64 | y | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (A) = (A + "Bit-CO2 Shop, Lima-Perú") | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func B (A,C) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((A + C))))) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func D (E,C) = "Order_№:" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func F (E,C) = s(D(E, C)) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func G (C) = "Categoría del Producto:" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func H (C) = x(G(C)) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func I (C) = "Nombre del Usuario:" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func J (C) = x(I(C)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func K (C) = "№ de Documento / DNI del Usuario:" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func L (C) = x(K(C)) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func M (C) = "Tokens Ofertados en la presente etapa / Saldo, ytok:" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func N (C) = s(M(C)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func O (C) = "Balance/Saldo GTS, ytokens:" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func P (C) = s(O(C)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Q (A) = "Ingresos por VentaGTS, wvls:" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func R (A) = s(Q(A)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func S (C) = "UI,_wvls:" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func T (C) = s(S(C)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func U (C) = "PI,_wvls:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func V (C) = s(U(C)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func W (C) = "SI,_wvls:" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func X (C) = s(W(C)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | @Callable(Y) | |
135 | 135 | func deposit (Z,aa) = { | |
136 | 136 | let ab = extract(Y.payment) | |
137 | 137 | if ((ab.assetId != a)) | |
138 | 138 | then throw("deposito permitido solo en yBitCO2 tokens") | |
139 | 139 | else { | |
140 | 140 | let A = toBase58String(Y.caller.bytes) | |
141 | 141 | let ac = { | |
142 | 142 | let v = getInteger(this, A) | |
143 | 143 | if ($isInstanceOf(v, "Int")) | |
144 | 144 | then { | |
145 | 145 | let w = v | |
146 | 146 | w | |
147 | 147 | } | |
148 | 148 | else b | |
149 | 149 | } | |
150 | 150 | let ad = (ac + ab.amount) | |
151 | 151 | if ((0 >= ad)) | |
152 | 152 | then throw("No hay yBitCO2 en su balance") | |
153 | 153 | else WriteSet([DataEntry(A, ad)]) | |
154 | 154 | } | |
155 | 155 | } | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
159 | 159 | @Callable(Y) | |
160 | 160 | func purchaseGTS (C,ae,af,ag,ah,l,k) = { | |
161 | 161 | let ab = extract(Y.payment) | |
162 | 162 | if (isDefined(ab.assetId)) | |
163 | 163 | then throw("El Precio en waves.") | |
164 | 164 | else { | |
165 | 165 | let A = { | |
166 | 166 | let v = getString(this, z(C)) | |
167 | 167 | if ($isInstanceOf(v, "String")) | |
168 | 168 | then { | |
169 | 169 | let w = v | |
170 | 170 | w | |
171 | 171 | } | |
172 | 172 | else h | |
173 | 173 | } | |
174 | 174 | let ai = { | |
175 | 175 | let v = getInteger(this, O(C)) | |
176 | 176 | if ($isInstanceOf(v, "Int")) | |
177 | 177 | then { | |
178 | 178 | let w = v | |
179 | 179 | w | |
180 | 180 | } | |
181 | 181 | else d | |
182 | 182 | } | |
183 | 183 | let aj = { | |
184 | 184 | let v = getInteger(this, Q(A)) | |
185 | 185 | if ($isInstanceOf(v, "Int")) | |
186 | 186 | then { | |
187 | 187 | let w = v | |
188 | 188 | w | |
189 | 189 | } | |
190 | 190 | else 0 | |
191 | 191 | } | |
192 | 192 | let ak = toBase58String(Y.caller.bytes) | |
193 | 193 | let al = (ah - ((m * ah) / 100)) | |
194 | 194 | let am = n | |
195 | 195 | let an = ((88 * am) / 100) | |
196 | 196 | let ao = ((al * o) / 100) | |
197 | - | let ap = ((ao / an) | |
197 | + | let ap = ((ao / an) * 10000) | |
198 | 198 | let aq = ((al * p) / 100) | |
199 | 199 | let ar = ((al * r) / 100) | |
200 | - | let as = ((ar / an) | |
200 | + | let as = ((ar / an) * 10000) | |
201 | 201 | let at = ((ah - aq) - ar) | |
202 | - | let au = (((al * q) / (an * 100)) | |
202 | + | let au = (((al * q) / (an * 100)) * 10000) | |
203 | 203 | if ((ah > ab.amount)) | |
204 | 204 | then throw("Payment Amount can't be less than item Purchase Order") | |
205 | 205 | else if ((ab.amount > ah)) | |
206 | 206 | then throw("Payment Amount can't be higher than item Purchase Order") | |
207 | 207 | 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)])) | |
208 | 208 | } | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | ||
213 | 213 | @Callable(Y) | |
214 | 214 | func withdraw (C,av) = { | |
215 | 215 | let ak = toBase58String(Y.caller.bytes) | |
216 | 216 | let A = { | |
217 | 217 | let v = getString(this, z(C)) | |
218 | 218 | if ($isInstanceOf(v, "String")) | |
219 | 219 | then { | |
220 | 220 | let w = v | |
221 | 221 | w | |
222 | 222 | } | |
223 | 223 | else h | |
224 | 224 | } | |
225 | 225 | let ai = { | |
226 | 226 | let v = getInteger(this, O(C)) | |
227 | 227 | if ($isInstanceOf(v, "Int")) | |
228 | 228 | then { | |
229 | 229 | let w = v | |
230 | 230 | w | |
231 | 231 | } | |
232 | 232 | else b | |
233 | 233 | } | |
234 | 234 | let ad = (ai - av) | |
235 | 235 | if ((0 > av)) | |
236 | 236 | then throw("El balance de retiro no puede ser negativo!") | |
237 | 237 | else if ((0 >= ad)) | |
238 | 238 | then throw("Ooppss.. Insuficiente balance!") | |
239 | 239 | else ScriptResult(WriteSet([DataEntry(C, ad)]), TransferSet([ScriptTransfer(Y.caller, av, a)])) | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | @Verifier(aw) | |
244 | 244 | func ax () = { | |
245 | 245 | let v = aw | |
246 | 246 | if ($isInstanceOf(v, "SetScriptTransaction")) | |
247 | 247 | then { | |
248 | 248 | let ay = v | |
249 | 249 | sigVerify(aw.bodyBytes, aw.proofs[0], i) | |
250 | 250 | } | |
251 | 251 | else if (if ($isInstanceOf(v, "DataTransaction")) | |
252 | 252 | then true | |
253 | 253 | else $isInstanceOf(v, "ReissueTransaction")) | |
254 | 254 | then { | |
255 | 255 | let az = v | |
256 | 256 | true | |
257 | 257 | } | |
258 | 258 | else if ($isInstanceOf(v, "TransferTransaction")) | |
259 | 259 | then { | |
260 | 260 | let aw = v | |
261 | 261 | true | |
262 | 262 | } | |
263 | 263 | else if ($isInstanceOf(v, "ExchangeTransaction")) | |
264 | 264 | then { | |
265 | 265 | let aw = v | |
266 | 266 | let aA = if (!(isDefined(aw.sellOrder.assetPair.priceAsset))) | |
267 | 267 | then true | |
268 | 268 | else !(isDefined(aw.sellOrder.assetPair.amountAsset)) | |
269 | 269 | aA | |
270 | 270 | } | |
271 | 271 | else false | |
272 | 272 | } | |
273 | 273 |
github/deemru/w8io/026f985 46.39 ms ◑