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