tx · 2od46RSrVLEPH4Ukv9MfDx2M3WVTSXKj4wha8FzJudSk 3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k: -0.01400000 Waves 2020.08.18 23:22 [1138784] smart account 3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k > SELF 0.00000000 Waves
{ "type": 13, "id": "2od46RSrVLEPH4Ukv9MfDx2M3WVTSXKj4wha8FzJudSk", "fee": 1400000, "feeAssetId": null, "timestamp": 1597782157712, "version": 1, "sender": "3NB412VeXkiWqruYpeEEWkm364Xc9MskZ2k", "senderPublicKey": "7FQufF9XhJBsTdvrn67eWxYT7ZxDwzjuXAprkWiHrS3Y", "proofs": [ "NfBiMxScVKsdSyxcdj1FTHAGwAiPS6XsnJEY6UkZXo6WMn8jScivknfUeJs6B8ZPx9VsZZUymum1tJV5AKbJt1K" ], "script": "base64:AAIDAAAAAAAAABkIARIECgIICBIJCgcICAgIAQgIEgQKAggBAAAAKgAAAAAHeEJpdENPMgEAAAAgIARkpqoDew1vpqr6lyVYs5aJelMM/++6xmiHbINU3I0AAAAACHN0YXJ0UXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAACG5vbVByaWNlAAAAAAAAAAABAAAAAAN3dnMAAAAAAAX14QAAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAAC093bmVyUHViS2V5AQAAACBc10kgzntLYC3wdTXyP6D5J32rgBzym30loQrY6e/2HwAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUsZ/LLWvSicGFXkptOa6Ov7Vyb4KJ2haTAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUmX0sM+4Li4VQQQ26bfB7j/XU/VW4HmxXAAAAAARwQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUQ6WuNYiemm0n1pXSZ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hAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwe7f7m6", "chainId": 84, "height": 1138784, "spentComplexity": 0 } View: original | compacted Prev: 3s5w7xN7wh5M8Gyf22MFPzggXNgK2Vq6qqZRyksdowc4 Next: A8hjYdAzVxAQUkn8rQY2sxpedcw1PQxHkoNU8Q3aRN2Y Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN' | |
5 | 5 | ||
6 | 6 | let b = 305693 | |
7 | 7 | ||
8 | 8 | let c = 31193 | |
9 | 9 | ||
10 | 10 | let d = 274500 | |
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'7FQufF9XhJBsTdvrn67eWxYT7ZxDwzjuXAprkWiHrS3Y' | |
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 = 88 | |
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:" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func N (C) = s(M(C)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func O (C) = "Balance/Saldo GTS, tokens:" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func P (C) = s(O(C)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Q (A) = "Ingresos por VentaGTS:" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func R (A) = s(Q(A)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func S (C) = "UI,_wvs:" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func T (C) = s(S(C)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func U (C) = "PI,_%:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func V (C) = s(U(C)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func W (C) = "SI,_%:" | |
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 xBitCO2 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 xBitCO2 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 = ((al * o) / 100) | |
195 | 195 | let an = (am / n) | |
196 | 196 | let ao = ((al * p) / 100) | |
197 | 197 | let ap = ((al * r) / 100) | |
198 | 198 | let aq = ((al * r) / (n * 100)) | |
199 | 199 | let ar = ((ah - ao) - ap) | |
200 | 200 | let as = ((al * q) / (n * 100)) | |
201 | 201 | let at = ((al * 11) / (n * 100)) | |
202 | 202 | if ((ah > ab.amount)) | |
203 | 203 | then throw("Payment Amount can't be less than item Purchase Order") | |
204 | 204 | else if ((ab.amount > ah)) | |
205 | 205 | then throw("Payment Amount can't be higher than item Purchase Order") | |
206 | 206 | 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, wvs", al), DataEntry("CP 1 B, wvs", (n * 1000000)), DataEntry(S(C), am), DataEntry("UBI", an), DataEntry(U(C), ao), DataEntry("EcSys", aq), DataEntry(W(C), ar), DataEntry("SBI: b", as), DataEntry(("Order_Status:_" + ak), "Adquisición Confirmada!"), DataEntry("QporVentasGTS", at), DataEntry(O(C), (d - at)), DataEntry(Q(A), (aj + ab.amount))]), TransferSet([ScriptTransfer(Y.caller, an, a), ScriptTransfer(j, ar, unit), ScriptTransfer(j, as, a)])) | |
207 | 207 | } | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | ||
212 | 212 | @Callable(Y) | |
213 | 213 | func withdraw (C,au) = { | |
214 | 214 | let ak = toBase58String(Y.caller.bytes) | |
215 | 215 | let A = { | |
216 | 216 | let v = getString(this, z(C)) | |
217 | 217 | if ($isInstanceOf(v, "String")) | |
218 | 218 | then { | |
219 | 219 | let w = v | |
220 | 220 | w | |
221 | 221 | } | |
222 | 222 | else h | |
223 | 223 | } | |
224 | 224 | let ai = { | |
225 | 225 | let v = getInteger(this, O(C)) | |
226 | 226 | if ($isInstanceOf(v, "Int")) | |
227 | 227 | then { | |
228 | 228 | let w = v | |
229 | 229 | w | |
230 | 230 | } | |
231 | 231 | else b | |
232 | 232 | } | |
233 | 233 | let ad = (ai - au) | |
234 | 234 | if ((0 > au)) | |
235 | 235 | then throw("El balance de retiro no puede ser negativo!") | |
236 | 236 | else if ((0 >= ad)) | |
237 | 237 | then throw("Ooppss.. Insuficiente balance!") | |
238 | 238 | else ScriptResult(WriteSet([DataEntry(C, ad)]), TransferSet([ScriptTransfer(Y.caller, au, a)])) | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | @Verifier(av) | |
243 | 243 | func aw () = { | |
244 | 244 | let v = av | |
245 | 245 | if ($isInstanceOf(v, "SetScriptTransaction")) | |
246 | 246 | then { | |
247 | 247 | let ax = v | |
248 | 248 | sigVerify(av.bodyBytes, av.proofs[0], i) | |
249 | 249 | } | |
250 | 250 | else if (if ($isInstanceOf(v, "DataTransaction")) | |
251 | 251 | then true | |
252 | 252 | else $isInstanceOf(v, "ReissueTransaction")) | |
253 | 253 | then { | |
254 | 254 | let ay = v | |
255 | 255 | true | |
256 | 256 | } | |
257 | 257 | else if ($isInstanceOf(v, "TransferTransaction")) | |
258 | 258 | then { | |
259 | 259 | let av = v | |
260 | 260 | true | |
261 | 261 | } | |
262 | 262 | else if ($isInstanceOf(v, "ExchangeTransaction")) | |
263 | 263 | then { | |
264 | 264 | let av = v | |
265 | 265 | let az = if (!(isDefined(av.sellOrder.assetPair.priceAsset))) | |
266 | 266 | then true | |
267 | 267 | else !(isDefined(av.sellOrder.assetPair.amountAsset)) | |
268 | 268 | az | |
269 | 269 | } | |
270 | 270 | else false | |
271 | 271 | } | |
272 | 272 |
github/deemru/w8io/026f985 27.71 ms ◑