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