tx · A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq

3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3:  -0.02000000 Waves

2020.06.17 15:55 [1047562] smart account 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3 > SELF 0.00000000 Waves

{ "type": 13, "id": "A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq", "fee": 2000000, "feeAssetId": null, "timestamp": 1592398563811, "version": 1, "sender": "3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3", "senderPublicKey": "3VHsLLWkFL98S7B2qFvsehH7yt6RF3dJouXsR5X3WHHZ", "proofs": [ "2hHM7e8kdiFURpMXXr9FC3SBBAzfgaLcVG3YUJHCQhGFj7WbVkiTy3hianVd8rCKpoSgS5uUMozipX96fKzJ7DpD", "2Yp4TPMW4SFDwzCg8NNq58htfmLke9qRDwQyYZpddQ9edzcjz6XQvZzCEGA8qmJ6h93fJSd52j8f3uzW3EYw3Qa4", "5osJG67ufzAPYR716bA7V291i51yB7Zkx9CZujuhb8axdgKWYzqK9mat3TYhrtchZ1Mh6GgRGyHuH6AKH8pFfmNd" ], "script": "base64:AAIDAAAAAAAAABcIARIAEgASBAoCCAESABIDCgEIEgASAAAAAEsBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQ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AAAAAgUAAAAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAAJbGVhc2luZ1R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAlsZWFzaW5nVHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAlsZWFzaW5nVHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABhub2RlT3JhY2xlUHJvdmlkZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFVNwb25zb3JGZWVUcmFuc2FjdGlvbgQAAAAJc3BvbnNvclR4BQAAAAckbWF0Y2gwAwkBAAAAG2NoZWNrSXNWYWxpZE1pblNwb25zb3JlZEZlZQAAAAEFAAAACXNwb25zb3JUeAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAwcJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAN4H0zi", "chainId": 84, "height": 1047562, "spentComplexity": 0 } View: original | compacted Prev: HSWGCEpvdbLJpj7S1S4ggLdGfSjqVzDqfVUtoKeeasxy Next: 6Hsb9Pmqi7FrTQ57ewkVBqLBMtLpEaMATJaKbD7Kpebp Diff:
OldNewDifferences
7979
8080 let p = 1000000
8181
82-let q = 1000000
82+let q = "neutrino_asset_id"
8383
84-let r = "neutrino_asset_id"
84+let r = "bond_asset_id"
8585
86-let s = "bond_asset_id"
86+let s = "auction_contract"
8787
88-let t = "auction_contract"
88+let t = "liquidation_contract"
8989
90-let u = "liquidation_contract"
90+let u = "rpd_contract"
9191
92-let v = "rpd_contract"
92+let v = "control_contract"
9393
94-let w = "control_contract"
94+let w = "balance_waves_lock_interval"
9595
96-let x = "balance_waves_lock_interval"
96+let x = "balance_neutrino_lock_interval"
9797
98-let y = "balance_neutrino_lock_interval"
98+let y = "min_waves_swap_amount"
9999
100-let z = "min_waves_swap_amount"
100+let z = "min_neutrino_swap_amount"
101101
102-let A = "min_neutrino_swap_amount"
102+let A = "node_oracle_provider"
103103
104-let B = "node_oracle_provider"
104+let B = "rpd_balance"
105105
106-let C = "rpd_balance"
107-
108-func D (E) = ((C + "_") + toBase58String(E))
106+func C (D) = ((B + "_") + toBase58String(D))
109107
110108
111-let F = "price"
109+let E = "price"
112110
113-let G = "price_index"
111+let F = "price_index"
114112
115-let H = "is_blocked"
113+let G = "is_blocked"
116114
117-func I (J) = ((F + "_") + toString(J))
115+func H (I) = ((E + "_") + toString(I))
118116
119117
120-func K (L) = ((G + "_") + toString(L))
118+func J (K) = ((F + "_") + toString(K))
121119
122120
123-let M = "balance_lock_"
121+let L = "balance_lock_"
124122
125-let N = (M + "waves")
123+let M = (L + "waves")
126124
127-let O = (M + "neutrino")
125+let N = (L + "neutrino")
128126
129-func P (Q,E) = ((((C + "_") + toBase58String(E)) + "_") + toString(Q))
127+func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P))
130128
131129
132-func R (S) = (("cancel_lease_tx_reserve_fee" + "_") + S)
130+func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R)
133131
134132
135-func T (U) = ((N + "_") + U)
133+func S (T) = ((M + "_") + T)
136134
137135
138-func V (U) = ((O + "_") + U)
136+func U (T) = ((N + "_") + T)
139137
140138
141-func W (U) = ("balance_unlock_block_" + U)
139+func V (T) = ("balance_unlock_block_" + T)
142140
143141
144-func X (Q) = (("rpd_profit" + "_") + toString(Q))
142+func W (P) = (("rpd_profit" + "_") + toString(P))
145143
146144
147-func Y (Z,aa) = fraction(fraction(Z, q, aa), o, p)
145+func X (Y,Z) = fraction(fraction(Y, 100, Z), o, p)
148146
149147
150-func ab (Z,aa) = fraction(fraction(Z, aa, q), p, o)
148+func aa (Y,Z) = fraction(fraction(Y, Z, 100), p, o)
151149
152150
153-func ac (Z,aa) = ab(Z, aa)
151+func ab (Y,Z) = aa(Y, Z)
154152
155153
156-func ad (ae) = split(ae, ",")
154+func ac (ad) = split(ad, ",")
157155
158156
159-let af = e(u)
157+let ae = e(t)
160158
161-let ag = e(r)
159+let af = e(q)
162160
163-let ah = fromBase58String(ag)
161+let ag = fromBase58String(af)
164162
165-let ai = e(t)
163+let ah = e(s)
164+
165+let ai = e(u)
166166
167167 let aj = e(v)
168168
169-let ak = e(w)
169+let ak = g(aj, F)
170170
171-let al = g(ak, G)
171+let al = j(aj, G)
172172
173-let am = j(ak, H)
173+let am = fromBase58String(e(A))
174174
175-let an = fromBase58String(e(B))
175+let an = a(w)
176176
177177 let ao = a(x)
178178
180180
181181 let aq = a(z)
182182
183-let ar = a(A)
183+let ar = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN")
184184
185-let as = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN")
185+let as = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
186186
187-let at = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
187+let at = this
188188
189-let au = this
189+let au = g(aj, E)
190190
191-let av = g(ak, F)
191+let av = a(N)
192192
193-let aw = a(O)
193+let aw = a(M)
194194
195-let ax = a(N)
195+let ax = (wavesBalance(at) - aw)
196196
197-let ay = (wavesBalance(au) - ax)
197+let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag))
198198
199-let az = (((aw + extract(assetInfo(ah)).quantity) - assetBalance(au, ah)) - assetBalance(addressFromStringValue(af), ah))
199+let az = (aa(ax, au) - ay)
200200
201-let aA = (ab(ay, av) - az)
201+let aA = (ay - aa(ax, au))
202202
203-let aB = (az - ab(ay, av))
204-
205-func aC (aD) = {
206- let aE = 100000
207- let aF = 1000
208- let aG = ab(aE, av)
209- let aH = (aG * 2)
210- let aI = fraction(aG, aF, 100)
211- let aJ = extract(aD.minSponsoredAssetFee)
212- if (if ((aJ >= aH))
213- then (aI >= aJ)
203+func aB (aC) = {
204+ let aD = 100000
205+ let aE = 1000
206+ let aF = aa(aD, au)
207+ let aG = (aF * 2)
208+ let aH = fraction(aF, aE, 100)
209+ let aI = extract(aC.minSponsoredAssetFee)
210+ if (if ((aI >= aG))
211+ then (aH >= aI)
214212 else false)
215- then (aD.assetId == ah)
213+ then (aC.assetId == ag)
216214 else false
217215 }
218216
219217
220-func aK (E) = g(aj, D(E))
218+func aJ (D) = g(ai, C(D))
221219
222220
223-func aL (J) = g(ak, I(J))
221+func aK (I) = g(aj, H(I))
224222
225223
226-func aM (L) = g(ak, K(L))
224+func aL (K) = g(aj, J(K))
227225
228226
229-func aN (S) = a(R(S))
227+func aM (R) = a(Q(R))
230228
231229
232-func aO (U) = a(T(U))
230+func aN (T) = a(S(T))
233231
234232
235-func aP (U) = a(V(U))
233+func aO (T) = a(U(T))
236234
237235
238-func aQ (U) = a(W(U))
236+func aP (T) = a(V(T))
239237
240238
241-func aR (Q) = a(X(Q))
239+func aQ (P) = a(W(P))
242240
243241
244-@Callable(aS)
242+@Callable(aR)
245243 func swapWavesToNeutrino () = {
246- let aT = extract(aS.payment)
247- let aU = toString(aS.caller)
248- if ((aq > aT.amount))
249- then throw((("The specified Waves amount is less than the required minimum of " + toString(aq)) + " wavelets."))
250- else if (isDefined(aT.assetId))
244+ let aS = extract(aR.payment)
245+ let aT = toString(aR.caller)
246+ if ((ap > aS.amount))
247+ then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets."))
248+ else if (isDefined(aS.assetId))
251249 then throw("Only Waves token is allowed for swapping.")
252- else if (am)
250+ else if (al)
253251 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
254- else if ((aQ(aU) > height))
255- then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
256- else if (if ((aP(aU) != 0))
252+ else if ((aP(aT) > height))
253+ then throw((("await " + toString((aP(aT) - height))) + " blocks"))
254+ else if (if ((aO(aT) != 0))
257255 then true
258- else (aO(aU) != 0))
256+ else (aN(aT) != 0))
259257 then throw("please withdraw locked funds first")
260- else WriteSet([DataEntry(T(aU), aT.amount), DataEntry(W(aU), (height + ao)), DataEntry(N, (ax + aT.amount))])
258+ else WriteSet([DataEntry(S(aT), aS.amount), DataEntry(V(aT), (height + an)), DataEntry(M, (aw + aS.amount))])
261259 }
262260
263261
264262
265-@Callable(aS)
263+@Callable(aR)
266264 func swapNeutrinoToWaves () = {
267- let aT = extract(aS.payment)
268- let aU = toString(aS.caller)
269- if ((ar > aT.amount))
270- then throw((("The specified Neutrino amount is less than the required minimum of " + toString(ar)) + " Neutrino cents."))
271- else if (am)
265+ let aS = extract(aR.payment)
266+ let aT = toString(aR.caller)
267+ if ((aq > aS.amount))
268+ then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents."))
269+ else if (al)
272270 then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.")
273- else if ((aT.assetId != ah))
271+ else if ((aS.assetId != ag))
274272 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
275- else if ((aQ(aU) > height))
276- then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
277- else if (if ((aP(aU) != 0))
273+ else if ((aP(aT) > height))
274+ then throw((("await " + toString((aP(aT) - height))) + " blocks"))
275+ else if (if ((aO(aT) != 0))
278276 then true
279- else (aO(aU) != 0))
277+ else (aN(aT) != 0))
280278 then throw("please withdraw locked funds first")
281- else WriteSet([DataEntry(V(aU), aT.amount), DataEntry(W(aU), (height + ap)), DataEntry(O, (aw + aT.amount))])
279+ else WriteSet([DataEntry(U(aT), aS.amount), DataEntry(V(aT), (height + ao)), DataEntry(N, (av + aS.amount))])
282280 }
283281
284282
285283
286-@Callable(aS)
287-func withdraw (aU,L) = {
288- let aV = aQ(aU)
289- let aW = aO(aU)
290- let aX = aP(aU)
291- let aY = aM(L)
292- let aZ = aM((L - 1))
293- let ba = aL(aY)
294- let bb = 0
295- let bc = ab(aW, (ba - bb))
296- let bd = Y(aX, (ba + bb))
297- if (am)
284+@Callable(aR)
285+func withdraw (aT,K) = {
286+ let aU = aP(aT)
287+ let aV = aN(aT)
288+ let aW = aO(aT)
289+ let aX = aL(K)
290+ let aY = aL((K - 1))
291+ let aZ = aK(aX)
292+ let ba = 0
293+ let bb = aa(aV, (aZ - ba))
294+ let bc = X(aW, (aZ + ba))
295+ if (al)
298296 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
299- else if ((aV > height))
300- then throw((("please wait for: " + toString(aV)) + " block height to withdraw WAVES funds"))
301- else if (if (if ((L > al))
297+ else if ((aU > height))
298+ then throw((("please wait for: " + toString(aU)) + " block height to withdraw WAVES funds"))
299+ else if (if (if ((K > ak))
302300 then true
303- else (aV > aY))
301+ else (aU > aX))
304302 then true
305- else if ((aZ != 0))
306- then (aZ >= aV)
303+ else if ((aY != 0))
304+ then (aY >= aU)
307305 else false)
308- then throw(((((((((("invalid price history index: index=" + toString(L)) + " priceIndex=") + toString(al)) + " indexHeight=") + toString(aY)) + " unlockHeight=") + toString(aV)) + " prevIndexHeight=") + toString(aZ)))
309- else if (if ((0 >= bc))
310- then (0 >= bd)
306+ then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aX)) + " unlockHeight=") + toString(aU)) + " prevIndexHeight=") + toString(aY)))
307+ else if (if ((0 >= bb))
308+ then (0 >= bc)
311309 else false)
312310 then throw("balance equals zero")
313- else ScriptResult(WriteSet([DataEntry(T(aU), 0), DataEntry(V(aU), 0), DataEntry(N, (ax - aW)), DataEntry(O, (aw - aX))]), TransferSet([ScriptTransfer(addressFromStringValue(aU), bd, unit), ScriptTransfer(addressFromStringValue(aU), bc, ah)]))
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)]))
314312 }
315313
316314
317315
318-@Callable(aS)
316+@Callable(aR)
319317 func transferToAuction () = {
320- let be = (az - assetBalance(addressFromStringValue(ai), as))
321- let bf = (aA - assetBalance(addressFromStringValue(af), ah))
322- if (am)
318+ let bd = (ay - assetBalance(addressFromStringValue(ah), ar))
319+ let be = (az - assetBalance(addressFromStringValue(ae), ag))
320+ if (al)
323321 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
324- else if ((be > (1 * p)))
325- then TransferSet([ScriptTransfer(addressFromStringValue(ai), be, as)])
326- else if ((bf >= (1 * p)))
327- then TransferSet([ScriptTransfer(addressFromStringValue(af), bf, ah)])
328- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(be)) + "|") + toString(0)) + ". Surplus:") + toString(bf)) + "|") + toString(aA)))
322+ else if ((bd > (1 * p)))
323+ then TransferSet([ScriptTransfer(addressFromStringValue(ah), bd, ar)])
324+ else if ((be >= (1 * p)))
325+ then TransferSet([ScriptTransfer(addressFromStringValue(ae), be, ag)])
326+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(0)) + ". Surplus:") + toString(be)) + "|") + toString(az)))
329327 }
330328
331329
332330
333-@Callable(aS)
334-func transfer (aU) = {
335- let aT = extract(aS.payment)
336- TransferSet([ScriptTransfer(addressFromStringValue(aU), aT.amount, aT.assetId)])
331+@Callable(aR)
332+func transfer (aT) = {
333+ let aS = extract(aR.payment)
334+ TransferSet([ScriptTransfer(addressFromStringValue(aT), aS.amount, aS.assetId)])
337335 }
338336
339337
340338
341-@Callable(aS)
339+@Callable(aR)
342340 func migrationUSDNB2NSBTSwap () = {
343- let aT = extract(aS.payment)
344- let aU = aS.caller
345- if ((at != aT.assetId))
341+ let aS = extract(aR.payment)
342+ let aT = aR.caller
343+ if ((as != aS.assetId))
346344 then throw("error: attempt to swap not USDNB tokens")
347- else TransferSet([ScriptTransfer(aU, (aT.amount * p), as)])
345+ else TransferSet([ScriptTransfer(aT, (aS.amount * p), ar)])
348346 }
349347
350348
351349
352-@Callable(aS)
350+@Callable(aR)
353351 func updateReservesAndNeutrinoSupply () = {
354- func bg (b) = {
352+ func bf (b) = {
355353 let c = getInteger(this, b)
356354 if ($isInstanceOf(c, "Int"))
357355 then {
361359 else 0
362360 }
363361
364- let bh = bg("updateReservesAndNeutrinoSupplyIdx")
365- let bi = (bh + 1)
366- WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", bi), DataEntry("reserve", ay), DataEntry("neutrinoSupply", az), DataEntry("deficit", aB), DataEntry("surplus", aA), DataEntry("bondSupply", (extract(assetInfo(as)).quantity - assetBalance(au, as)))])
362+ let bg = bf("updateReservesAndNeutrinoSupplyIdx")
363+ let bh = (bg + 1)
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)))])
367365 }
368366
369367
370-@Verifier(aD)
371-func bj () = {
372- let bk = toBase58String(aD.id)
373- let Q = ((((if (sigVerify(aD.bodyBytes, aD.proofs[0], fromBase58String(k[0])))
368+@Verifier(aC)
369+func bi () = {
370+ let bj = toBase58String(aC.id)
371+ let P = ((((if (sigVerify(aC.bodyBytes, aC.proofs[0], fromBase58String(k[0])))
374372 then 1
375- else 0) + (if (sigVerify(aD.bodyBytes, aD.proofs[1], fromBase58String(k[1])))
373+ else 0) + (if (sigVerify(aC.bodyBytes, aC.proofs[1], fromBase58String(k[1])))
376374 then 1
377- else 0)) + (if (sigVerify(aD.bodyBytes, aD.proofs[2], fromBase58String(k[2])))
375+ else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[2], fromBase58String(k[2])))
378376 then 1
379- else 0)) + (if (sigVerify(aD.bodyBytes, aD.proofs[3], fromBase58String(k[3])))
377+ else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[3], fromBase58String(k[3])))
380378 then 2
381379 else 0))
382- let c = aD
380+ let c = aC
383381 if (if ($isInstanceOf(c, "LeaseCancelTransaction"))
384382 then true
385383 else $isInstanceOf(c, "LeaseTransaction"))
386384 then {
387- let bl = c
388- sigVerify(aD.bodyBytes, aD.proofs[0], an)
385+ let bk = c
386+ sigVerify(bk.bodyBytes, bk.proofs[0], am)
389387 }
390388 else if ($isInstanceOf(c, "SponsorFeeTransaction"))
391389 then {
392- let bm = c
393- if (aC(bm))
394- then (Q >= 3)
390+ let bl = c
391+ if (aB(bl))
392+ then (P >= 3)
395393 else false
396394 }
397- else (Q >= 3)
395+ else (P >= 3)
398396 }
399397
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getInteger(this, b)
66 if ($isInstanceOf(c, "Int"))
77 then {
88 let d = c
99 d
1010 }
1111 else 0
1212 }
1313
1414
1515 func e (b) = {
1616 let c = getString(this, b)
1717 if ($isInstanceOf(c, "String"))
1818 then {
1919 let d = c
2020 d
2121 }
2222 else ""
2323 }
2424
2525
2626 func f (b) = {
2727 let c = getBoolean(this, b)
2828 if ($isInstanceOf(c, "Boolean"))
2929 then {
3030 let d = c
3131 d
3232 }
3333 else false
3434 }
3535
3636
3737 func g (h,b) = {
3838 let c = getInteger(addressFromStringValue(h), b)
3939 if ($isInstanceOf(c, "Int"))
4040 then {
4141 let d = c
4242 d
4343 }
4444 else 0
4545 }
4646
4747
4848 func i (h,b) = {
4949 let c = getString(addressFromStringValue(h), b)
5050 if ($isInstanceOf(c, "String"))
5151 then {
5252 let d = c
5353 d
5454 }
5555 else ""
5656 }
5757
5858
5959 func j (h,b) = {
6060 let c = getBoolean(addressFromStringValue(h), b)
6161 if ($isInstanceOf(c, "Boolean"))
6262 then {
6363 let d = c
6464 d
6565 }
6666 else false
6767 }
6868
6969
7070 let k = ["D96T5UoL7E2FERaEwov9Frx8XFVPNGqZ4TyDiWvn1urJ", "Fk2zgbrRA8KytTVMVy6Df5i4tTEsKaqg6ybh6x6Hehjj", "37f1yE54FyMKwEkg413peq5Gbze9sBavASVeTYbQLTvJ", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
7171
7272 let l = 30
7373
7474 let m = "_"
7575
7676 let n = "+"
7777
7878 let o = 100000000
7979
8080 let p = 1000000
8181
82-let q = 1000000
82+let q = "neutrino_asset_id"
8383
84-let r = "neutrino_asset_id"
84+let r = "bond_asset_id"
8585
86-let s = "bond_asset_id"
86+let s = "auction_contract"
8787
88-let t = "auction_contract"
88+let t = "liquidation_contract"
8989
90-let u = "liquidation_contract"
90+let u = "rpd_contract"
9191
92-let v = "rpd_contract"
92+let v = "control_contract"
9393
94-let w = "control_contract"
94+let w = "balance_waves_lock_interval"
9595
96-let x = "balance_waves_lock_interval"
96+let x = "balance_neutrino_lock_interval"
9797
98-let y = "balance_neutrino_lock_interval"
98+let y = "min_waves_swap_amount"
9999
100-let z = "min_waves_swap_amount"
100+let z = "min_neutrino_swap_amount"
101101
102-let A = "min_neutrino_swap_amount"
102+let A = "node_oracle_provider"
103103
104-let B = "node_oracle_provider"
104+let B = "rpd_balance"
105105
106-let C = "rpd_balance"
107-
108-func D (E) = ((C + "_") + toBase58String(E))
106+func C (D) = ((B + "_") + toBase58String(D))
109107
110108
111-let F = "price"
109+let E = "price"
112110
113-let G = "price_index"
111+let F = "price_index"
114112
115-let H = "is_blocked"
113+let G = "is_blocked"
116114
117-func I (J) = ((F + "_") + toString(J))
115+func H (I) = ((E + "_") + toString(I))
118116
119117
120-func K (L) = ((G + "_") + toString(L))
118+func J (K) = ((F + "_") + toString(K))
121119
122120
123-let M = "balance_lock_"
121+let L = "balance_lock_"
124122
125-let N = (M + "waves")
123+let M = (L + "waves")
126124
127-let O = (M + "neutrino")
125+let N = (L + "neutrino")
128126
129-func P (Q,E) = ((((C + "_") + toBase58String(E)) + "_") + toString(Q))
127+func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P))
130128
131129
132-func R (S) = (("cancel_lease_tx_reserve_fee" + "_") + S)
130+func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R)
133131
134132
135-func T (U) = ((N + "_") + U)
133+func S (T) = ((M + "_") + T)
136134
137135
138-func V (U) = ((O + "_") + U)
136+func U (T) = ((N + "_") + T)
139137
140138
141-func W (U) = ("balance_unlock_block_" + U)
139+func V (T) = ("balance_unlock_block_" + T)
142140
143141
144-func X (Q) = (("rpd_profit" + "_") + toString(Q))
142+func W (P) = (("rpd_profit" + "_") + toString(P))
145143
146144
147-func Y (Z,aa) = fraction(fraction(Z, q, aa), o, p)
145+func X (Y,Z) = fraction(fraction(Y, 100, Z), o, p)
148146
149147
150-func ab (Z,aa) = fraction(fraction(Z, aa, q), p, o)
148+func aa (Y,Z) = fraction(fraction(Y, Z, 100), p, o)
151149
152150
153-func ac (Z,aa) = ab(Z, aa)
151+func ab (Y,Z) = aa(Y, Z)
154152
155153
156-func ad (ae) = split(ae, ",")
154+func ac (ad) = split(ad, ",")
157155
158156
159-let af = e(u)
157+let ae = e(t)
160158
161-let ag = e(r)
159+let af = e(q)
162160
163-let ah = fromBase58String(ag)
161+let ag = fromBase58String(af)
164162
165-let ai = e(t)
163+let ah = e(s)
164+
165+let ai = e(u)
166166
167167 let aj = e(v)
168168
169-let ak = e(w)
169+let ak = g(aj, F)
170170
171-let al = g(ak, G)
171+let al = j(aj, G)
172172
173-let am = j(ak, H)
173+let am = fromBase58String(e(A))
174174
175-let an = fromBase58String(e(B))
175+let an = a(w)
176176
177177 let ao = a(x)
178178
179179 let ap = a(y)
180180
181181 let aq = a(z)
182182
183-let ar = a(A)
183+let ar = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN")
184184
185-let as = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN")
185+let as = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
186186
187-let at = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
187+let at = this
188188
189-let au = this
189+let au = g(aj, E)
190190
191-let av = g(ak, F)
191+let av = a(N)
192192
193-let aw = a(O)
193+let aw = a(M)
194194
195-let ax = a(N)
195+let ax = (wavesBalance(at) - aw)
196196
197-let ay = (wavesBalance(au) - ax)
197+let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag))
198198
199-let az = (((aw + extract(assetInfo(ah)).quantity) - assetBalance(au, ah)) - assetBalance(addressFromStringValue(af), ah))
199+let az = (aa(ax, au) - ay)
200200
201-let aA = (ab(ay, av) - az)
201+let aA = (ay - aa(ax, au))
202202
203-let aB = (az - ab(ay, av))
204-
205-func aC (aD) = {
206- let aE = 100000
207- let aF = 1000
208- let aG = ab(aE, av)
209- let aH = (aG * 2)
210- let aI = fraction(aG, aF, 100)
211- let aJ = extract(aD.minSponsoredAssetFee)
212- if (if ((aJ >= aH))
213- then (aI >= aJ)
203+func aB (aC) = {
204+ let aD = 100000
205+ let aE = 1000
206+ let aF = aa(aD, au)
207+ let aG = (aF * 2)
208+ let aH = fraction(aF, aE, 100)
209+ let aI = extract(aC.minSponsoredAssetFee)
210+ if (if ((aI >= aG))
211+ then (aH >= aI)
214212 else false)
215- then (aD.assetId == ah)
213+ then (aC.assetId == ag)
216214 else false
217215 }
218216
219217
220-func aK (E) = g(aj, D(E))
218+func aJ (D) = g(ai, C(D))
221219
222220
223-func aL (J) = g(ak, I(J))
221+func aK (I) = g(aj, H(I))
224222
225223
226-func aM (L) = g(ak, K(L))
224+func aL (K) = g(aj, J(K))
227225
228226
229-func aN (S) = a(R(S))
227+func aM (R) = a(Q(R))
230228
231229
232-func aO (U) = a(T(U))
230+func aN (T) = a(S(T))
233231
234232
235-func aP (U) = a(V(U))
233+func aO (T) = a(U(T))
236234
237235
238-func aQ (U) = a(W(U))
236+func aP (T) = a(V(T))
239237
240238
241-func aR (Q) = a(X(Q))
239+func aQ (P) = a(W(P))
242240
243241
244-@Callable(aS)
242+@Callable(aR)
245243 func swapWavesToNeutrino () = {
246- let aT = extract(aS.payment)
247- let aU = toString(aS.caller)
248- if ((aq > aT.amount))
249- then throw((("The specified Waves amount is less than the required minimum of " + toString(aq)) + " wavelets."))
250- else if (isDefined(aT.assetId))
244+ let aS = extract(aR.payment)
245+ let aT = toString(aR.caller)
246+ if ((ap > aS.amount))
247+ then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets."))
248+ else if (isDefined(aS.assetId))
251249 then throw("Only Waves token is allowed for swapping.")
252- else if (am)
250+ else if (al)
253251 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
254- else if ((aQ(aU) > height))
255- then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
256- else if (if ((aP(aU) != 0))
252+ else if ((aP(aT) > height))
253+ then throw((("await " + toString((aP(aT) - height))) + " blocks"))
254+ else if (if ((aO(aT) != 0))
257255 then true
258- else (aO(aU) != 0))
256+ else (aN(aT) != 0))
259257 then throw("please withdraw locked funds first")
260- else WriteSet([DataEntry(T(aU), aT.amount), DataEntry(W(aU), (height + ao)), DataEntry(N, (ax + aT.amount))])
258+ else WriteSet([DataEntry(S(aT), aS.amount), DataEntry(V(aT), (height + an)), DataEntry(M, (aw + aS.amount))])
261259 }
262260
263261
264262
265-@Callable(aS)
263+@Callable(aR)
266264 func swapNeutrinoToWaves () = {
267- let aT = extract(aS.payment)
268- let aU = toString(aS.caller)
269- if ((ar > aT.amount))
270- then throw((("The specified Neutrino amount is less than the required minimum of " + toString(ar)) + " Neutrino cents."))
271- else if (am)
265+ let aS = extract(aR.payment)
266+ let aT = toString(aR.caller)
267+ if ((aq > aS.amount))
268+ then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents."))
269+ else if (al)
272270 then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.")
273- else if ((aT.assetId != ah))
271+ else if ((aS.assetId != ag))
274272 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
275- else if ((aQ(aU) > height))
276- then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
277- else if (if ((aP(aU) != 0))
273+ else if ((aP(aT) > height))
274+ then throw((("await " + toString((aP(aT) - height))) + " blocks"))
275+ else if (if ((aO(aT) != 0))
278276 then true
279- else (aO(aU) != 0))
277+ else (aN(aT) != 0))
280278 then throw("please withdraw locked funds first")
281- else WriteSet([DataEntry(V(aU), aT.amount), DataEntry(W(aU), (height + ap)), DataEntry(O, (aw + aT.amount))])
279+ else WriteSet([DataEntry(U(aT), aS.amount), DataEntry(V(aT), (height + ao)), DataEntry(N, (av + aS.amount))])
282280 }
283281
284282
285283
286-@Callable(aS)
287-func withdraw (aU,L) = {
288- let aV = aQ(aU)
289- let aW = aO(aU)
290- let aX = aP(aU)
291- let aY = aM(L)
292- let aZ = aM((L - 1))
293- let ba = aL(aY)
294- let bb = 0
295- let bc = ab(aW, (ba - bb))
296- let bd = Y(aX, (ba + bb))
297- if (am)
284+@Callable(aR)
285+func withdraw (aT,K) = {
286+ let aU = aP(aT)
287+ let aV = aN(aT)
288+ let aW = aO(aT)
289+ let aX = aL(K)
290+ let aY = aL((K - 1))
291+ let aZ = aK(aX)
292+ let ba = 0
293+ let bb = aa(aV, (aZ - ba))
294+ let bc = X(aW, (aZ + ba))
295+ if (al)
298296 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
299- else if ((aV > height))
300- then throw((("please wait for: " + toString(aV)) + " block height to withdraw WAVES funds"))
301- else if (if (if ((L > al))
297+ else if ((aU > height))
298+ then throw((("please wait for: " + toString(aU)) + " block height to withdraw WAVES funds"))
299+ else if (if (if ((K > ak))
302300 then true
303- else (aV > aY))
301+ else (aU > aX))
304302 then true
305- else if ((aZ != 0))
306- then (aZ >= aV)
303+ else if ((aY != 0))
304+ then (aY >= aU)
307305 else false)
308- then throw(((((((((("invalid price history index: index=" + toString(L)) + " priceIndex=") + toString(al)) + " indexHeight=") + toString(aY)) + " unlockHeight=") + toString(aV)) + " prevIndexHeight=") + toString(aZ)))
309- else if (if ((0 >= bc))
310- then (0 >= bd)
306+ then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aX)) + " unlockHeight=") + toString(aU)) + " prevIndexHeight=") + toString(aY)))
307+ else if (if ((0 >= bb))
308+ then (0 >= bc)
311309 else false)
312310 then throw("balance equals zero")
313- else ScriptResult(WriteSet([DataEntry(T(aU), 0), DataEntry(V(aU), 0), DataEntry(N, (ax - aW)), DataEntry(O, (aw - aX))]), TransferSet([ScriptTransfer(addressFromStringValue(aU), bd, unit), ScriptTransfer(addressFromStringValue(aU), bc, ah)]))
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)]))
314312 }
315313
316314
317315
318-@Callable(aS)
316+@Callable(aR)
319317 func transferToAuction () = {
320- let be = (az - assetBalance(addressFromStringValue(ai), as))
321- let bf = (aA - assetBalance(addressFromStringValue(af), ah))
322- if (am)
318+ let bd = (ay - assetBalance(addressFromStringValue(ah), ar))
319+ let be = (az - assetBalance(addressFromStringValue(ae), ag))
320+ if (al)
323321 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
324- else if ((be > (1 * p)))
325- then TransferSet([ScriptTransfer(addressFromStringValue(ai), be, as)])
326- else if ((bf >= (1 * p)))
327- then TransferSet([ScriptTransfer(addressFromStringValue(af), bf, ah)])
328- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(be)) + "|") + toString(0)) + ". Surplus:") + toString(bf)) + "|") + toString(aA)))
322+ else if ((bd > (1 * p)))
323+ then TransferSet([ScriptTransfer(addressFromStringValue(ah), bd, ar)])
324+ else if ((be >= (1 * p)))
325+ then TransferSet([ScriptTransfer(addressFromStringValue(ae), be, ag)])
326+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(0)) + ". Surplus:") + toString(be)) + "|") + toString(az)))
329327 }
330328
331329
332330
333-@Callable(aS)
334-func transfer (aU) = {
335- let aT = extract(aS.payment)
336- TransferSet([ScriptTransfer(addressFromStringValue(aU), aT.amount, aT.assetId)])
331+@Callable(aR)
332+func transfer (aT) = {
333+ let aS = extract(aR.payment)
334+ TransferSet([ScriptTransfer(addressFromStringValue(aT), aS.amount, aS.assetId)])
337335 }
338336
339337
340338
341-@Callable(aS)
339+@Callable(aR)
342340 func migrationUSDNB2NSBTSwap () = {
343- let aT = extract(aS.payment)
344- let aU = aS.caller
345- if ((at != aT.assetId))
341+ let aS = extract(aR.payment)
342+ let aT = aR.caller
343+ if ((as != aS.assetId))
346344 then throw("error: attempt to swap not USDNB tokens")
347- else TransferSet([ScriptTransfer(aU, (aT.amount * p), as)])
345+ else TransferSet([ScriptTransfer(aT, (aS.amount * p), ar)])
348346 }
349347
350348
351349
352-@Callable(aS)
350+@Callable(aR)
353351 func updateReservesAndNeutrinoSupply () = {
354- func bg (b) = {
352+ func bf (b) = {
355353 let c = getInteger(this, b)
356354 if ($isInstanceOf(c, "Int"))
357355 then {
358356 let d = c
359357 d
360358 }
361359 else 0
362360 }
363361
364- let bh = bg("updateReservesAndNeutrinoSupplyIdx")
365- let bi = (bh + 1)
366- WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", bi), DataEntry("reserve", ay), DataEntry("neutrinoSupply", az), DataEntry("deficit", aB), DataEntry("surplus", aA), DataEntry("bondSupply", (extract(assetInfo(as)).quantity - assetBalance(au, as)))])
362+ let bg = bf("updateReservesAndNeutrinoSupplyIdx")
363+ let bh = (bg + 1)
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)))])
367365 }
368366
369367
370-@Verifier(aD)
371-func bj () = {
372- let bk = toBase58String(aD.id)
373- let Q = ((((if (sigVerify(aD.bodyBytes, aD.proofs[0], fromBase58String(k[0])))
368+@Verifier(aC)
369+func bi () = {
370+ let bj = toBase58String(aC.id)
371+ let P = ((((if (sigVerify(aC.bodyBytes, aC.proofs[0], fromBase58String(k[0])))
374372 then 1
375- else 0) + (if (sigVerify(aD.bodyBytes, aD.proofs[1], fromBase58String(k[1])))
373+ else 0) + (if (sigVerify(aC.bodyBytes, aC.proofs[1], fromBase58String(k[1])))
376374 then 1
377- else 0)) + (if (sigVerify(aD.bodyBytes, aD.proofs[2], fromBase58String(k[2])))
375+ else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[2], fromBase58String(k[2])))
378376 then 1
379- else 0)) + (if (sigVerify(aD.bodyBytes, aD.proofs[3], fromBase58String(k[3])))
377+ else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[3], fromBase58String(k[3])))
380378 then 2
381379 else 0))
382- let c = aD
380+ let c = aC
383381 if (if ($isInstanceOf(c, "LeaseCancelTransaction"))
384382 then true
385383 else $isInstanceOf(c, "LeaseTransaction"))
386384 then {
387- let bl = c
388- sigVerify(aD.bodyBytes, aD.proofs[0], an)
385+ let bk = c
386+ sigVerify(bk.bodyBytes, bk.proofs[0], am)
389387 }
390388 else if ($isInstanceOf(c, "SponsorFeeTransaction"))
391389 then {
392- let bm = c
393- if (aC(bm))
394- then (Q >= 3)
390+ let bl = c
391+ if (aB(bl))
392+ then (P >= 3)
395393 else false
396394 }
397- else (Q >= 3)
395+ else (P >= 3)
398396 }
399397

github/deemru/w8io/169f3d6 
131.22 ms