tx · CY4RpcSwX6zoRSZeuGqdiXYAyVcPReezgYUFkxb12Yrc 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3: -0.02000000 Waves 2020.06.16 19:31 [1046307] smart account 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3 > SELF 0.00000000 Waves
{ "type": 13, "id": "CY4RpcSwX6zoRSZeuGqdiXYAyVcPReezgYUFkxb12Yrc", "fee": 2000000, "feeAssetId": null, "timestamp": 1592325080023, "version": 1, "sender": "3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3", "senderPublicKey": "3VHsLLWkFL98S7B2qFvsehH7yt6RF3dJouXsR5X3WHHZ", "proofs": [ "3q7NzQDPaNq4hURwVXKGLmuVijJYUSeyAW5oXE5gnSq4asnTxxZjhkWFrRmQGnYidr46rAuSXMY4HHuV37QukPoi", "XfTBx4nvQTC1ugYXNWjg9tiNSRcgif5zHYoJSMjN8QcciyLpcoMRMY1WzN31UKf3yXebTRubmEwybxo7SJJebeY", "373V8k7cMMxs7ayGUBt7N2Zm84nQQYjF6SPpwktxuhEkcCSouSAW2YEfFEXg2iBbcHJL6UCJJ96LEKNmPn4v95SV" ], "script": "base64:AAIDAAAAAAAAABcIARIAEgASBAoCCAESABIDCgEIEgASAAAAAEsBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkE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AAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAAJbGVhc2luZ1R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAlsZWFzaW5nVHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAlsZWFzaW5nVHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABhub2RlT3JhY2xlUHJvdmlkZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFVNwb25zb3JGZWVUcmFuc2FjdGlvbgQAAAAJc3BvbnNvclR4BQAAAAckbWF0Y2gwAwkBAAAAG2NoZWNrSXNWYWxpZE1pblNwb25zb3JlZEZlZQAAAAEFAAAACXNwb25zb3JUeAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAwcJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAN4H0zi", "chainId": 84, "height": 1046307, "spentComplexity": 0 } View: original | compacted Prev: 9td7wDZWLgCtvgPniJYVzNRiHDay3XTDj13Tz5oBkCEb Next: 9fqXsoa7d5zs3RgSuGwzXRoD55PdnF9NA1rEa9KQG21B Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = { | |
5 | 5 | let c = getInteger(this, b) | |
6 | 6 | if ($isInstanceOf(c, "Int")) | |
7 | 7 | then { | |
8 | 8 | let d = c | |
9 | 9 | d | |
10 | 10 | } | |
11 | 11 | else 0 | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func e (b) = { | |
16 | 16 | let c = getString(this, b) | |
17 | 17 | if ($isInstanceOf(c, "String")) | |
18 | 18 | then { | |
19 | 19 | let d = c | |
20 | 20 | d | |
21 | 21 | } | |
22 | 22 | else "" | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func f (b) = { | |
27 | 27 | let c = getBoolean(this, b) | |
28 | 28 | if ($isInstanceOf(c, "Boolean")) | |
29 | 29 | then { | |
30 | 30 | let d = c | |
31 | 31 | d | |
32 | 32 | } | |
33 | 33 | else false | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func g (h,b) = { | |
38 | 38 | let c = getInteger(addressFromStringValue(h), b) | |
39 | 39 | if ($isInstanceOf(c, "Int")) | |
40 | 40 | then { | |
41 | 41 | let d = c | |
42 | 42 | d | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func i (h,b) = { | |
49 | 49 | let c = getString(addressFromStringValue(h), b) | |
50 | 50 | if ($isInstanceOf(c, "String")) | |
51 | 51 | then { | |
52 | 52 | let d = c | |
53 | 53 | d | |
54 | 54 | } | |
55 | 55 | else "" | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func j (h,b) = { | |
60 | 60 | let c = getBoolean(addressFromStringValue(h), b) | |
61 | 61 | if ($isInstanceOf(c, "Boolean")) | |
62 | 62 | then { | |
63 | 63 | let d = c | |
64 | 64 | d | |
65 | 65 | } | |
66 | 66 | else false | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | let k = ["D96T5UoL7E2FERaEwov9Frx8XFVPNGqZ4TyDiWvn1urJ", "Fk2zgbrRA8KytTVMVy6Df5i4tTEsKaqg6ybh6x6Hehjj", "37f1yE54FyMKwEkg413peq5Gbze9sBavASVeTYbQLTvJ", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
71 | 71 | ||
72 | 72 | let l = 30 | |
73 | 73 | ||
74 | 74 | let m = "_" | |
75 | 75 | ||
76 | 76 | let n = "+" | |
77 | 77 | ||
78 | 78 | let o = 100000000 | |
79 | 79 | ||
80 | 80 | let p = 1000000 | |
81 | 81 | ||
82 | 82 | let q = "neutrino_asset_id" | |
83 | 83 | ||
84 | 84 | let r = "bond_asset_id" | |
85 | 85 | ||
86 | 86 | let s = "auction_contract" | |
87 | 87 | ||
88 | 88 | let t = "liquidation_contract" | |
89 | 89 | ||
90 | 90 | let u = "rpd_contract" | |
91 | 91 | ||
92 | 92 | let v = "control_contract" | |
93 | 93 | ||
94 | 94 | let w = "balance_waves_lock_interval" | |
95 | 95 | ||
96 | 96 | let x = "balance_neutrino_lock_interval" | |
97 | 97 | ||
98 | 98 | let y = "min_waves_swap_amount" | |
99 | 99 | ||
100 | 100 | let z = "min_neutrino_swap_amount" | |
101 | 101 | ||
102 | 102 | let A = "node_oracle_provider" | |
103 | 103 | ||
104 | 104 | let B = "rpd_balance" | |
105 | 105 | ||
106 | 106 | func C (D) = ((B + "_") + toBase58String(D)) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | let E = "price" | |
110 | 110 | ||
111 | 111 | let F = "price_index" | |
112 | 112 | ||
113 | 113 | let G = "is_blocked" | |
114 | 114 | ||
115 | 115 | func H (I) = ((E + "_") + toString(I)) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func J (K) = ((F + "_") + toString(K)) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | let L = "balance_lock_" | |
122 | 122 | ||
123 | 123 | let M = (L + "waves") | |
124 | 124 | ||
125 | 125 | let N = (L + "neutrino") | |
126 | 126 | ||
127 | 127 | func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P)) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func S (T) = ((M + "_") + T) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func U (T) = ((N + "_") + T) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func V (T) = ("balance_unlock_block_" + T) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func W (P) = (("rpd_profit" + "_") + toString(P)) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func X (Y,Z) = fraction(fraction(Y, 100, Z), o, p) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func aa (Y,Z) = fraction(fraction(Y, Z, 100), p, o) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ab (Y,Z) = aa(Y, Z) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ac (ad) = split(ad, ",") | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | let ae = e(t) | |
158 | 158 | ||
159 | 159 | let af = e(q) | |
160 | 160 | ||
161 | 161 | let ag = fromBase58String(af) | |
162 | 162 | ||
163 | 163 | let ah = e(s) | |
164 | 164 | ||
165 | 165 | let ai = e(u) | |
166 | 166 | ||
167 | 167 | let aj = e(v) | |
168 | 168 | ||
169 | 169 | let ak = g(aj, F) | |
170 | 170 | ||
171 | 171 | let al = j(aj, G) | |
172 | 172 | ||
173 | 173 | let am = fromBase58String(e(A)) | |
174 | 174 | ||
175 | 175 | let an = a(w) | |
176 | 176 | ||
177 | 177 | let ao = a(x) | |
178 | 178 | ||
179 | 179 | let ap = a(y) | |
180 | 180 | ||
181 | 181 | let aq = a(z) | |
182 | 182 | ||
183 | 183 | let ar = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN") | |
184 | 184 | ||
185 | 185 | let as = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
186 | 186 | ||
187 | 187 | let at = this | |
188 | 188 | ||
189 | 189 | let au = g(aj, E) | |
190 | 190 | ||
191 | 191 | let av = a(N) | |
192 | 192 | ||
193 | 193 | let aw = a(M) | |
194 | 194 | ||
195 | 195 | let ax = (wavesBalance(at) - aw) | |
196 | 196 | ||
197 | 197 | let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag)) | |
198 | 198 | ||
199 | 199 | let az = (aa(ax, au) - ay) | |
200 | 200 | ||
201 | 201 | let aA = (ay - aa(ax, au)) | |
202 | 202 | ||
203 | 203 | func aB (aC) = { | |
204 | 204 | let aD = 100000 | |
205 | 205 | let aE = 1000 | |
206 | 206 | let aF = aa(aD, au) | |
207 | 207 | let aG = (aF * 2) | |
208 | 208 | let aH = fraction(aF, aE, 100) | |
209 | 209 | let aI = extract(aC.minSponsoredAssetFee) | |
210 | 210 | if (if ((aI >= aG)) | |
211 | 211 | then (aH >= aI) | |
212 | 212 | else false) | |
213 | 213 | then (aC.assetId == ag) | |
214 | 214 | else false | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aJ (D) = g(ai, C(D)) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aK (I) = g(aj, H(I)) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aL (K) = g(aj, J(K)) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aM (R) = a(Q(R)) | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func aN (T) = a(S(T)) | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func aO (T) = a(U(T)) | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func aP (T) = a(V(T)) | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func aQ (P) = a(W(P)) | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | @Callable(aR) | |
243 | 243 | func swapWavesToNeutrino () = { | |
244 | 244 | let aS = extract(aR.payment) | |
245 | 245 | let aT = toString(aR.caller) | |
246 | 246 | if ((ap > aS.amount)) | |
247 | 247 | then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets.")) | |
248 | 248 | else if (isDefined(aS.assetId)) | |
249 | 249 | then throw("Only Waves token is allowed for swapping.") | |
250 | 250 | else if (al) | |
251 | 251 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
252 | 252 | else if ((aP(aT) > height)) | |
253 | 253 | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
254 | 254 | else if (if ((aO(aT) != 0)) | |
255 | 255 | then true | |
256 | 256 | else (aN(aT) != 0)) | |
257 | 257 | then throw("please withdraw locked funds first") | |
258 | 258 | else WriteSet([DataEntry(S(aT), aS.amount), DataEntry(V(aT), (height + an)), DataEntry(M, (aw + aS.amount))]) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Callable(aR) | |
264 | 264 | func swapNeutrinoToWaves () = { | |
265 | 265 | let aS = extract(aR.payment) | |
266 | 266 | let aT = toString(aR.caller) | |
267 | 267 | if ((aq > aS.amount)) | |
268 | 268 | then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents.")) | |
269 | 269 | else if (al) | |
270 | 270 | then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.") | |
271 | 271 | else if ((aS.assetId != ag)) | |
272 | 272 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
273 | 273 | else if ((aP(aT) > height)) | |
274 | 274 | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
275 | 275 | else if (if ((aO(aT) != 0)) | |
276 | 276 | then true | |
277 | 277 | else (aN(aT) != 0)) | |
278 | 278 | then throw("please withdraw locked funds first") | |
279 | 279 | else WriteSet([DataEntry(U(aT), aS.amount), DataEntry(V(aT), (height + ao)), DataEntry(N, (av + aS.amount))]) | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(aR) | |
285 | 285 | func withdraw (aT,K) = { | |
286 | 286 | let aU = aP(aT) | |
287 | 287 | let aV = aN(aT) | |
288 | 288 | let aW = aO(aT) | |
289 | 289 | let aX = aL(K) | |
290 | 290 | let aY = aL((K - 1)) | |
291 | 291 | let aZ = aK(aX) | |
292 | 292 | let ba = 0 | |
293 | 293 | let bb = aa(aV, (aZ - ba)) | |
294 | 294 | let bc = X(aW, (aZ + ba)) | |
295 | 295 | if (al) | |
296 | 296 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
297 | 297 | else if ((aU > height)) | |
298 | 298 | then throw((("please wait for: " + toString(aU)) + " block height to withdraw WAVES funds")) | |
299 | 299 | else if (if (if ((K > ak)) | |
300 | 300 | then true | |
301 | 301 | else (aU > aX)) | |
302 | 302 | then true | |
303 | 303 | else if ((aY != 0)) | |
304 | 304 | then (aY >= aU) | |
305 | 305 | else false) | |
306 | 306 | then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aX)) + " unlockHeight=") + toString(aU)) + " prevIndexHeight=") + toString(aY))) | |
307 | 307 | else if (if ((0 >= bb)) | |
308 | 308 | then (0 >= bc) | |
309 | 309 | else false) | |
310 | 310 | then throw("balance equals zero") | |
311 | 311 | else ScriptResult(WriteSet([DataEntry(S(aT), 0), DataEntry(U(aT), 0), DataEntry(M, (aw - aV)), DataEntry(N, (av - aW))]), TransferSet([ScriptTransfer(addressFromStringValue(aT), bc, unit), ScriptTransfer(addressFromStringValue(aT), bb, ag)])) | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | ||
316 | 316 | @Callable(aR) | |
317 | 317 | func transferToAuction () = { | |
318 | 318 | let bd = (ay - assetBalance(addressFromStringValue(ah), ar)) | |
319 | 319 | let be = (az - assetBalance(addressFromStringValue(ae), ag)) | |
320 | 320 | if (al) | |
321 | 321 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
322 | 322 | else if ((bd > (1 * p))) | |
323 | 323 | then TransferSet([ScriptTransfer(addressFromStringValue(ah), bd, ar)]) | |
324 | 324 | else if ((be >= (1 * p))) | |
325 | 325 | then TransferSet([ScriptTransfer(addressFromStringValue(ae), be, ag)]) | |
326 | 326 | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(0)) + ". Surplus:") + toString(be)) + "|") + toString(az))) | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | ||
331 | 331 | @Callable(aR) | |
332 | 332 | func transfer (aT) = { | |
333 | 333 | let aS = extract(aR.payment) | |
334 | 334 | TransferSet([ScriptTransfer(addressFromStringValue(aT), aS.amount, aS.assetId)]) | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | ||
339 | 339 | @Callable(aR) | |
340 | 340 | func migrationUSDNB2NSBTSwap () = { | |
341 | 341 | let aS = extract(aR.payment) | |
342 | 342 | let aT = aR.caller | |
343 | 343 | if ((as != aS.assetId)) | |
344 | 344 | then throw("error: attempt to swap not USDNB tokens") | |
345 | 345 | else TransferSet([ScriptTransfer(aT, (aS.amount * p), ar)]) | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | ||
350 | 350 | @Callable(aR) | |
351 | 351 | func updateReservesAndNeutrinoSupply () = { | |
352 | 352 | func bf (b) = { | |
353 | 353 | let c = getInteger(this, b) | |
354 | 354 | if ($isInstanceOf(c, "Int")) | |
355 | 355 | then { | |
356 | 356 | let d = c | |
357 | 357 | d | |
358 | 358 | } | |
359 | 359 | else 0 | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | let bg = bf("updateReservesAndNeutrinoSupplyIdx") | |
363 | 363 | let bh = (bg + 1) | |
364 | 364 | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", bh), DataEntry("reserve", ax), DataEntry("neutrinoSupply", ay), DataEntry("deficit", aA), DataEntry("surplus", az), DataEntry("bondSupply", (extract(assetInfo(ar)).quantity - assetBalance(at, ar)))]) | |
365 | 365 | } | |
366 | 366 | ||
367 | 367 | ||
368 | 368 | @Verifier(aC) | |
369 | 369 | func bi () = { | |
370 | 370 | let bj = toBase58String(aC.id) | |
371 | 371 | let P = ((((if (sigVerify(aC.bodyBytes, aC.proofs[0], fromBase58String(k[0]))) | |
372 | 372 | then 1 | |
373 | 373 | else 0) + (if (sigVerify(aC.bodyBytes, aC.proofs[1], fromBase58String(k[1]))) | |
374 | 374 | then 1 | |
375 | 375 | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[2], fromBase58String(k[2]))) | |
376 | 376 | then 1 | |
377 | 377 | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[3], fromBase58String(k[3]))) | |
378 | 378 | then 2 | |
379 | 379 | else 0)) | |
380 | 380 | let c = aC | |
381 | 381 | if (if ($isInstanceOf(c, "LeaseCancelTransaction")) | |
382 | 382 | then true | |
383 | 383 | else $isInstanceOf(c, "LeaseTransaction")) | |
384 | 384 | then { | |
385 | 385 | let bk = c | |
386 | 386 | sigVerify(bk.bodyBytes, bk.proofs[0], am) | |
387 | 387 | } | |
388 | 388 | else if ($isInstanceOf(c, "SponsorFeeTransaction")) | |
389 | 389 | then { | |
390 | 390 | let bl = c | |
391 | 391 | if (aB(bl)) | |
392 | 392 | then (P >= 3) | |
393 | 393 | else false | |
394 | 394 | } | |
395 | 395 | else (P >= 3) | |
396 | 396 | } | |
397 | 397 |
github/deemru/w8io/169f3d6 52.57 ms ◑