tx · FyBK84mdAfYxPHWrbS5QjpYdWTmmRKK7dmfaFdUwUkD9

3MydqRdWHFcvU4ZogmgkGNHt8fqYiCRazbn:  -0.10000000 Waves

2020.03.31 12:48 [933466] smart account 3MydqRdWHFcvU4ZogmgkGNHt8fqYiCRazbn > SELF 0.00000000 Waves

{ "type": 13, "id": "FyBK84mdAfYxPHWrbS5QjpYdWTmmRKK7dmfaFdUwUkD9", "fee": 10000000, "feeAssetId": null, "timestamp": 1585648091368, "version": 1, "sender": "3MydqRdWHFcvU4ZogmgkGNHt8fqYiCRazbn", "senderPublicKey": "J4hU7VqLs2JAJXwFnjicQ97XShyZEqt8REC8fJHkTdKd", "proofs": [ "2stWuj9p5HmaJTzsksidPPAUQs6kmnY8cCa5ghgmjAvhGRsNzJR9wPcdvS3Spgny8Q1jJbwzKsUAkE8LM99jS7hQ" ], "script": "base64:AAIDAAAAAAAAAB0IARIAEgASABIAEgASBAoCCAESABIDCgEIEgASAAAAAE0BAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBwEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2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ainId": 84, "height": 933466, "spentComplexity": 0 } View: original | compacted Prev: 24FqrbYPdxUdxaaJKNi6bLNKHmSLgDUwJmY5wvAkbosW Next: Hfb4fzh8zcLJ28wvGRPX8eYLgmyiMVhyvidNQZGLSvYg Diff:
OldNewDifferences
101101
102102 let A = "node_oracle_provider"
103103
104-let B = "rpd_balance"
104+let B = "this_NeutrinoSupply"
105105
106-func C (D) = ((B + "_") + toBase58String(D))
106+let C = "this_Surplus"
107+
108+let D = "this_Deficit"
109+
110+let E = "rpd_balance"
111+
112+func F (G) = ((E + "_") + toBase58String(G))
107113
108114
109-let E = "price"
115+let H = "price"
110116
111-let F = "price_index"
117+let I = "price_index"
112118
113-let G = "is_blocked"
119+let J = "is_blocked"
114120
115-func H (I) = ((E + "_") + toString(I))
121+func K (L) = ((H + "_") + toString(L))
116122
117123
118-func J (K) = ((F + "_") + toString(K))
124+func M (N) = ((I + "_") + toString(N))
119125
120126
121-let L = "balance_lock_"
127+let O = "balance_lock_"
122128
123-let M = (L + "waves")
129+let P = (O + "waves")
124130
125-let N = (L + "neutrino")
131+let Q = (O + "neutrino")
126132
127-func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P))
133+func R (S,G) = ((((E + "_") + toBase58String(G)) + "_") + toString(S))
128134
129135
130-func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R)
136+func T (U) = (("cancel_lease_tx_reserve_fee" + "_") + U)
131137
132138
133-func S (T) = ((M + "_") + T)
139+func V (W) = ((P + "_") + W)
134140
135141
136-func U (T) = ((N + "_") + T)
142+func X (W) = ((Q + "_") + W)
137143
138144
139-func V (T) = ("balance_unlock_block_" + T)
145+func Y (W) = ("balance_unlock_block_" + W)
140146
141147
142-func W (P) = (("rpd_profit" + "_") + toString(P))
148+func Z (S) = (("rpd_profit" + "_") + toString(S))
143149
144150
145-func X (Y,Z) = fraction(fraction(Y, 100, Z), n, o)
151+func aa (ab,ac) = fraction(fraction(ab, 100, ac), n, o)
146152
147153
148-func aa (Y,Z) = fraction(fraction(Y, Z, 100), o, n)
154+func ad (ab,ac) = fraction(fraction(ab, ac, 100), o, n)
149155
150156
151-func ab (Y,Z) = aa(Y, Z)
157+func ae (ab,ac) = ad(ab, ac)
152158
153159
154-func ac (ad) = split(ad, ",")
160+func af (ag) = split(ag, ",")
155161
156162
157-let ae = e(t)
163+let ah = e(t)
158164
159-let af = e(q)
165+let ai = e(q)
160166
161-let ag = fromBase58String(af)
167+let aj = fromBase58String(ai)
162168
163-let ah = e(s)
169+let ak = e(s)
164170
165-let ai = e(u)
171+let al = e(u)
166172
167-let aj = e(v)
173+let am = e(v)
168174
169-let ak = g(aj, F)
175+let an = g(am, I)
170176
171-let al = j(aj, G)
177+let ao = j(am, J)
172178
173-let am = fromBase58String(e(A))
179+let ap = fromBase58String(e(A))
174180
175-let an = a(w)
181+let aq = a(w)
176182
177-let ao = a(x)
183+let ar = a(x)
178184
179-let ap = a(y)
185+let as = a(y)
180186
181-let aq = a(z)
187+let at = a(z)
182188
183-let ar = fromBase58String("Qh28HvUAcFboD1GsAcyURQjNW6mdpuGvXVgFS9e3CzC")
189+let au = fromBase58String("Qh28HvUAcFboD1GsAcyURQjNW6mdpuGvXVgFS9e3CzC")
184190
185-let as = fromBase58String("EyizrdEpB9yuh45Zv3f2UfxKLjcecrmvcq5DSP9fEwum")
191+let av = fromBase58String("EyizrdEpB9yuh45Zv3f2UfxKLjcecrmvcq5DSP9fEwum")
186192
187-let at = this
193+let aw = this
188194
189-let au = g(aj, E)
195+let ax = g(am, H)
190196
191-let av = a(N)
197+let ay = a(Q)
192198
193-let aw = a(M)
199+let az = a(P)
194200
195-let ax = (wavesBalance(at) - aw)
201+let aA = (wavesBalance(aw) - az)
196202
197-let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag))
203+let aB = (((ay + extract(assetInfo(aj)).quantity) - assetBalance(aw, aj)) - assetBalance(addressFromStringValue(ah), aj))
198204
199-let az = (aa(ax, au) - ay)
205+let aC = (ad(aA, ax) - aB)
200206
201-let aA = (ay - aa(ax, au))
207+let aD = (aB - ad(aA, ax))
202208
203-func aB (D) = g(ai, C(D))
209+func aE (G) = g(al, F(G))
204210
205211
206-func aC (I) = g(aj, H(I))
212+func aF (L) = g(am, K(L))
207213
208214
209-func aD (K) = g(aj, J(K))
215+func aG (N) = g(am, M(N))
210216
211217
212-func aE (R) = a(Q(R))
218+func aH (U) = a(T(U))
213219
214220
215-func aF (T) = a(S(T))
221+func aI (W) = a(V(W))
216222
217223
218-func aG (T) = a(U(T))
224+func aJ (W) = a(X(W))
219225
220226
221-func aH (T) = a(V(T))
227+func aK (W) = a(Y(W))
222228
223229
224-func aI (P) = a(W(P))
230+func aL (S) = a(Z(S))
225231
226232
227-@Callable(aJ)
228-func getNeutrinoSupply () = WriteSet([DataEntry("this_NeutrinoSupply", ay)])
233+@Callable(aM)
234+func getNeutrinoSupply () = WriteSet([DataEntry(B, aB)])
229235
230236
231237
232-@Callable(aJ)
233-func getSurplus () = WriteSet([DataEntry("this_Surplus", az)])
238+@Callable(aM)
239+func getSurplus () = WriteSet([DataEntry(C, aC)])
234240
235241
236242
237-@Callable(aJ)
238-func getDeficit () = WriteSet([DataEntry("this_Deficit", aA)])
243+@Callable(aM)
244+func getDeficit () = WriteSet([DataEntry(D, aD)])
239245
240246
241247
242-@Callable(aJ)
248+@Callable(aM)
243249 func swapWavesToNeutrino () = {
244- let aK = extract(aJ.payment)
245- let aL = toString(aJ.caller)
246- if ((ap > aK.amount))
247- then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets."))
248- else if (isDefined(aK.assetId))
250+ let aN = extract(aM.payment)
251+ let aO = toString(aM.caller)
252+ if ((as > aN.amount))
253+ then throw((("The specified Waves amount is less than the required minimum of " + toString(as)) + " wavelets."))
254+ else if (isDefined(aN.assetId))
249255 then throw("Only Waves token is allowed for swapping.")
250- else if (al)
256+ else if (ao)
251257 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
252- else if ((aH(aL) > height))
253- then throw((("await " + toString((aH(aL) - height))) + " blocks"))
254- else if (if ((aG(aL) != 0))
258+ else if ((aK(aO) > height))
259+ then throw((("await " + toString((aK(aO) - height))) + " blocks"))
260+ else if (if ((aJ(aO) != 0))
255261 then true
256- else (aF(aL) != 0))
262+ else (aI(aO) != 0))
257263 then throw("please withdraw locked funds first")
258- else WriteSet([DataEntry(S(aL), aK.amount), DataEntry(V(aL), (height + an)), DataEntry(M, (aw + aK.amount))])
264+ else WriteSet([DataEntry(V(aO), aN.amount), DataEntry(Y(aO), (height + aq)), DataEntry(P, (az + aN.amount))])
259265 }
260266
261267
262268
263-@Callable(aJ)
269+@Callable(aM)
264270 func swapNeutrinoToWaves () = {
265- let aK = extract(aJ.payment)
266- let aL = toString(aJ.caller)
267- if ((aq > aK.amount))
268- then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents."))
269- else if (al)
271+ let aN = extract(aM.payment)
272+ let aO = toString(aM.caller)
273+ if ((at > aN.amount))
274+ then throw((("The specified Neutrino amount is less than the required minimum of " + toString(at)) + " Neutrino cents."))
275+ else if (ao)
270276 then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.")
271- else if ((aK.assetId != ag))
277+ else if ((aN.assetId != aj))
272278 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
273- else if ((aH(aL) > height))
274- then throw((("await " + toString((aH(aL) - height))) + " blocks"))
275- else if (if ((aG(aL) != 0))
279+ else if ((aK(aO) > height))
280+ then throw((("await " + toString((aK(aO) - height))) + " blocks"))
281+ else if (if ((aJ(aO) != 0))
276282 then true
277- else (aF(aL) != 0))
283+ else (aI(aO) != 0))
278284 then throw("please withdraw locked funds first")
279- else WriteSet([DataEntry(U(aL), aK.amount), DataEntry(V(aL), (height + ao)), DataEntry(N, (av + aK.amount))])
285+ else WriteSet([DataEntry(X(aO), aN.amount), DataEntry(Y(aO), (height + ar)), DataEntry(Q, (ay + aN.amount))])
280286 }
281287
282288
283289
284-@Callable(aJ)
285-func withdraw (aL,K) = {
286- let aM = aH(aL)
287- let aN = aF(aL)
288- let aO = aG(aL)
289- let aP = aD(K)
290- let aQ = aD((K - 1))
291- let aR = aC(aP)
292- let aS = aa(aN, aR)
293- let aT = X(aO, aR)
294- if (al)
290+@Callable(aM)
291+func withdraw (aO,N) = {
292+ let aP = aK(aO)
293+ let aQ = aI(aO)
294+ let aR = aJ(aO)
295+ let aS = aG(N)
296+ let aT = aG((N - 1))
297+ let aU = aF(aS)
298+ let aV = ad(aQ, aU)
299+ let aW = aa(aR, aU)
300+ if (ao)
295301 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
296- else if ((aM > height))
297- then throw((("please wait for: " + toString(aM)) + " block height to withdraw WAVES funds"))
298- else if (if (if ((K > ak))
302+ else if ((aP > height))
303+ then throw((("please wait for: " + toString(aP)) + " block height to withdraw WAVES funds"))
304+ else if (if (if ((N > an))
299305 then true
300- else (aM > aP))
306+ else (aP > aS))
301307 then true
302- else if ((aQ != 0))
303- then (aQ >= aM)
308+ else if ((aT != 0))
309+ then (aT >= aP)
304310 else false)
305- then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aP)) + " unlockHeight=") + toString(aM)) + " prevIndexHeight=") + toString(aQ)))
306- else if (if ((0 >= aS))
307- then (0 >= aT)
311+ then throw(((((((((("invalid price history index: index=" + toString(N)) + " priceIndex=") + toString(an)) + " indexHeight=") + toString(aS)) + " unlockHeight=") + toString(aP)) + " prevIndexHeight=") + toString(aT)))
312+ else if (if ((0 >= aV))
313+ then (0 >= aW)
308314 else false)
309315 then throw("balance equals zero")
310- else ScriptResult(WriteSet([DataEntry(S(aL), 0), DataEntry(U(aL), 0), DataEntry(M, (aw - aN)), DataEntry(N, (av - aO))]), TransferSet([ScriptTransfer(addressFromStringValue(aL), aT, unit), ScriptTransfer(addressFromStringValue(aL), aS, ag)]))
316+ else ScriptResult(WriteSet([DataEntry(V(aO), 0), DataEntry(X(aO), 0), DataEntry(P, (az - aQ)), DataEntry(Q, (ay - aR))]), TransferSet([ScriptTransfer(addressFromStringValue(aO), aW, unit), ScriptTransfer(addressFromStringValue(aO), aV, aj)]))
311317 }
312318
313319
314320
315-@Callable(aJ)
321+@Callable(aM)
316322 func transferToAuction () = {
317- let aU = (aA - assetBalance(addressFromStringValue(ah), ar))
318- let aV = fraction(ay, p, 100)
319- let aW = (az - assetBalance(addressFromStringValue(ae), ag))
320- if (al)
323+ let aX = (aD - assetBalance(addressFromStringValue(ak), au))
324+ let aY = fraction(aB, p, 100)
325+ let aZ = (aC - assetBalance(addressFromStringValue(ah), aj))
326+ if (ao)
321327 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
322- else if (if ((aU > aV))
323- then (aU > 0)
328+ else if (if ((aX > aY))
329+ then (aX > 0)
324330 else false)
325- then TransferSet([ScriptTransfer(addressFromStringValue(ah), aU, ar)])
326- else if ((aW >= (1 * o)))
327- then TransferSet([ScriptTransfer(addressFromStringValue(ae), aW, ag)])
328- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(aU)) + "|") + toString(aV)) + ". Surplus:") + toString(aW)) + "|") + toString(az)))
331+ then TransferSet([ScriptTransfer(addressFromStringValue(ak), aX, au)])
332+ else if ((aZ >= (1 * o)))
333+ then TransferSet([ScriptTransfer(addressFromStringValue(ah), aZ, aj)])
334+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(aX)) + "|") + toString(aY)) + ". Surplus:") + toString(aZ)) + "|") + toString(aC)))
329335 }
330336
331337
332338
333-@Callable(aJ)
334-func transfer (aL) = {
335- let aK = extract(aJ.payment)
336- TransferSet([ScriptTransfer(addressFromStringValue(aL), aK.amount, aK.assetId)])
339+@Callable(aM)
340+func transfer (aO) = {
341+ let aN = extract(aM.payment)
342+ TransferSet([ScriptTransfer(addressFromStringValue(aO), aN.amount, aN.assetId)])
337343 }
338344
339345
340346
341-@Callable(aJ)
347+@Callable(aM)
342348 func migrationUSDNB2NSBTSwap () = {
343- let aK = extract(aJ.payment)
344- let aL = aJ.caller
345- if ((as != aK.assetId))
349+ let aN = extract(aM.payment)
350+ let aO = aM.caller
351+ if ((av != aN.assetId))
346352 then throw("error: attempt to swap not USDNB tokens")
347- else TransferSet([ScriptTransfer(aL, (aK.amount * o), ar)])
353+ else TransferSet([ScriptTransfer(aO, (aN.amount * o), au)])
348354 }
349355
350356
351357
352-@Callable(aJ)
358+@Callable(aM)
353359 func testTransfer () = {
354- let aK = extract(aJ.payment)
355- let aL = toString(aJ.caller)
356- WriteSet([DataEntry(U(aL), aK.amount)])
360+ let aN = extract(aM.payment)
361+ let aO = toString(aM.caller)
362+ WriteSet([DataEntry(X(aO), aN.amount)])
357363 }
358364
359365
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 = 30
7171
7272 let l = "_"
7373
7474 let m = "+"
7575
7676 let n = 100000000
7777
7878 let o = 1000000
7979
8080 let p = 5
8181
8282 let q = "neutrino_asset_id"
8383
8484 let r = "bond_asset_id"
8585
8686 let s = "auction_contract"
8787
8888 let t = "liquidation_contract"
8989
9090 let u = "rpd_contract"
9191
9292 let v = "control_contract"
9393
9494 let w = "balance_waves_lock_interval"
9595
9696 let x = "balance_neutrino_lock_interval"
9797
9898 let y = "min_waves_swap_amount"
9999
100100 let z = "min_neutrino_swap_amount"
101101
102102 let A = "node_oracle_provider"
103103
104-let B = "rpd_balance"
104+let B = "this_NeutrinoSupply"
105105
106-func C (D) = ((B + "_") + toBase58String(D))
106+let C = "this_Surplus"
107+
108+let D = "this_Deficit"
109+
110+let E = "rpd_balance"
111+
112+func F (G) = ((E + "_") + toBase58String(G))
107113
108114
109-let E = "price"
115+let H = "price"
110116
111-let F = "price_index"
117+let I = "price_index"
112118
113-let G = "is_blocked"
119+let J = "is_blocked"
114120
115-func H (I) = ((E + "_") + toString(I))
121+func K (L) = ((H + "_") + toString(L))
116122
117123
118-func J (K) = ((F + "_") + toString(K))
124+func M (N) = ((I + "_") + toString(N))
119125
120126
121-let L = "balance_lock_"
127+let O = "balance_lock_"
122128
123-let M = (L + "waves")
129+let P = (O + "waves")
124130
125-let N = (L + "neutrino")
131+let Q = (O + "neutrino")
126132
127-func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P))
133+func R (S,G) = ((((E + "_") + toBase58String(G)) + "_") + toString(S))
128134
129135
130-func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R)
136+func T (U) = (("cancel_lease_tx_reserve_fee" + "_") + U)
131137
132138
133-func S (T) = ((M + "_") + T)
139+func V (W) = ((P + "_") + W)
134140
135141
136-func U (T) = ((N + "_") + T)
142+func X (W) = ((Q + "_") + W)
137143
138144
139-func V (T) = ("balance_unlock_block_" + T)
145+func Y (W) = ("balance_unlock_block_" + W)
140146
141147
142-func W (P) = (("rpd_profit" + "_") + toString(P))
148+func Z (S) = (("rpd_profit" + "_") + toString(S))
143149
144150
145-func X (Y,Z) = fraction(fraction(Y, 100, Z), n, o)
151+func aa (ab,ac) = fraction(fraction(ab, 100, ac), n, o)
146152
147153
148-func aa (Y,Z) = fraction(fraction(Y, Z, 100), o, n)
154+func ad (ab,ac) = fraction(fraction(ab, ac, 100), o, n)
149155
150156
151-func ab (Y,Z) = aa(Y, Z)
157+func ae (ab,ac) = ad(ab, ac)
152158
153159
154-func ac (ad) = split(ad, ",")
160+func af (ag) = split(ag, ",")
155161
156162
157-let ae = e(t)
163+let ah = e(t)
158164
159-let af = e(q)
165+let ai = e(q)
160166
161-let ag = fromBase58String(af)
167+let aj = fromBase58String(ai)
162168
163-let ah = e(s)
169+let ak = e(s)
164170
165-let ai = e(u)
171+let al = e(u)
166172
167-let aj = e(v)
173+let am = e(v)
168174
169-let ak = g(aj, F)
175+let an = g(am, I)
170176
171-let al = j(aj, G)
177+let ao = j(am, J)
172178
173-let am = fromBase58String(e(A))
179+let ap = fromBase58String(e(A))
174180
175-let an = a(w)
181+let aq = a(w)
176182
177-let ao = a(x)
183+let ar = a(x)
178184
179-let ap = a(y)
185+let as = a(y)
180186
181-let aq = a(z)
187+let at = a(z)
182188
183-let ar = fromBase58String("Qh28HvUAcFboD1GsAcyURQjNW6mdpuGvXVgFS9e3CzC")
189+let au = fromBase58String("Qh28HvUAcFboD1GsAcyURQjNW6mdpuGvXVgFS9e3CzC")
184190
185-let as = fromBase58String("EyizrdEpB9yuh45Zv3f2UfxKLjcecrmvcq5DSP9fEwum")
191+let av = fromBase58String("EyizrdEpB9yuh45Zv3f2UfxKLjcecrmvcq5DSP9fEwum")
186192
187-let at = this
193+let aw = this
188194
189-let au = g(aj, E)
195+let ax = g(am, H)
190196
191-let av = a(N)
197+let ay = a(Q)
192198
193-let aw = a(M)
199+let az = a(P)
194200
195-let ax = (wavesBalance(at) - aw)
201+let aA = (wavesBalance(aw) - az)
196202
197-let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag))
203+let aB = (((ay + extract(assetInfo(aj)).quantity) - assetBalance(aw, aj)) - assetBalance(addressFromStringValue(ah), aj))
198204
199-let az = (aa(ax, au) - ay)
205+let aC = (ad(aA, ax) - aB)
200206
201-let aA = (ay - aa(ax, au))
207+let aD = (aB - ad(aA, ax))
202208
203-func aB (D) = g(ai, C(D))
209+func aE (G) = g(al, F(G))
204210
205211
206-func aC (I) = g(aj, H(I))
212+func aF (L) = g(am, K(L))
207213
208214
209-func aD (K) = g(aj, J(K))
215+func aG (N) = g(am, M(N))
210216
211217
212-func aE (R) = a(Q(R))
218+func aH (U) = a(T(U))
213219
214220
215-func aF (T) = a(S(T))
221+func aI (W) = a(V(W))
216222
217223
218-func aG (T) = a(U(T))
224+func aJ (W) = a(X(W))
219225
220226
221-func aH (T) = a(V(T))
227+func aK (W) = a(Y(W))
222228
223229
224-func aI (P) = a(W(P))
230+func aL (S) = a(Z(S))
225231
226232
227-@Callable(aJ)
228-func getNeutrinoSupply () = WriteSet([DataEntry("this_NeutrinoSupply", ay)])
233+@Callable(aM)
234+func getNeutrinoSupply () = WriteSet([DataEntry(B, aB)])
229235
230236
231237
232-@Callable(aJ)
233-func getSurplus () = WriteSet([DataEntry("this_Surplus", az)])
238+@Callable(aM)
239+func getSurplus () = WriteSet([DataEntry(C, aC)])
234240
235241
236242
237-@Callable(aJ)
238-func getDeficit () = WriteSet([DataEntry("this_Deficit", aA)])
243+@Callable(aM)
244+func getDeficit () = WriteSet([DataEntry(D, aD)])
239245
240246
241247
242-@Callable(aJ)
248+@Callable(aM)
243249 func swapWavesToNeutrino () = {
244- let aK = extract(aJ.payment)
245- let aL = toString(aJ.caller)
246- if ((ap > aK.amount))
247- then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets."))
248- else if (isDefined(aK.assetId))
250+ let aN = extract(aM.payment)
251+ let aO = toString(aM.caller)
252+ if ((as > aN.amount))
253+ then throw((("The specified Waves amount is less than the required minimum of " + toString(as)) + " wavelets."))
254+ else if (isDefined(aN.assetId))
249255 then throw("Only Waves token is allowed for swapping.")
250- else if (al)
256+ else if (ao)
251257 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
252- else if ((aH(aL) > height))
253- then throw((("await " + toString((aH(aL) - height))) + " blocks"))
254- else if (if ((aG(aL) != 0))
258+ else if ((aK(aO) > height))
259+ then throw((("await " + toString((aK(aO) - height))) + " blocks"))
260+ else if (if ((aJ(aO) != 0))
255261 then true
256- else (aF(aL) != 0))
262+ else (aI(aO) != 0))
257263 then throw("please withdraw locked funds first")
258- else WriteSet([DataEntry(S(aL), aK.amount), DataEntry(V(aL), (height + an)), DataEntry(M, (aw + aK.amount))])
264+ else WriteSet([DataEntry(V(aO), aN.amount), DataEntry(Y(aO), (height + aq)), DataEntry(P, (az + aN.amount))])
259265 }
260266
261267
262268
263-@Callable(aJ)
269+@Callable(aM)
264270 func swapNeutrinoToWaves () = {
265- let aK = extract(aJ.payment)
266- let aL = toString(aJ.caller)
267- if ((aq > aK.amount))
268- then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents."))
269- else if (al)
271+ let aN = extract(aM.payment)
272+ let aO = toString(aM.caller)
273+ if ((at > aN.amount))
274+ then throw((("The specified Neutrino amount is less than the required minimum of " + toString(at)) + " Neutrino cents."))
275+ else if (ao)
270276 then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.")
271- else if ((aK.assetId != ag))
277+ else if ((aN.assetId != aj))
272278 then throw("Only appropriate Neutrino tokens are allowed for swapping.")
273- else if ((aH(aL) > height))
274- then throw((("await " + toString((aH(aL) - height))) + " blocks"))
275- else if (if ((aG(aL) != 0))
279+ else if ((aK(aO) > height))
280+ then throw((("await " + toString((aK(aO) - height))) + " blocks"))
281+ else if (if ((aJ(aO) != 0))
276282 then true
277- else (aF(aL) != 0))
283+ else (aI(aO) != 0))
278284 then throw("please withdraw locked funds first")
279- else WriteSet([DataEntry(U(aL), aK.amount), DataEntry(V(aL), (height + ao)), DataEntry(N, (av + aK.amount))])
285+ else WriteSet([DataEntry(X(aO), aN.amount), DataEntry(Y(aO), (height + ar)), DataEntry(Q, (ay + aN.amount))])
280286 }
281287
282288
283289
284-@Callable(aJ)
285-func withdraw (aL,K) = {
286- let aM = aH(aL)
287- let aN = aF(aL)
288- let aO = aG(aL)
289- let aP = aD(K)
290- let aQ = aD((K - 1))
291- let aR = aC(aP)
292- let aS = aa(aN, aR)
293- let aT = X(aO, aR)
294- if (al)
290+@Callable(aM)
291+func withdraw (aO,N) = {
292+ let aP = aK(aO)
293+ let aQ = aI(aO)
294+ let aR = aJ(aO)
295+ let aS = aG(N)
296+ let aT = aG((N - 1))
297+ let aU = aF(aS)
298+ let aV = ad(aQ, aU)
299+ let aW = aa(aR, aU)
300+ if (ao)
295301 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
296- else if ((aM > height))
297- then throw((("please wait for: " + toString(aM)) + " block height to withdraw WAVES funds"))
298- else if (if (if ((K > ak))
302+ else if ((aP > height))
303+ then throw((("please wait for: " + toString(aP)) + " block height to withdraw WAVES funds"))
304+ else if (if (if ((N > an))
299305 then true
300- else (aM > aP))
306+ else (aP > aS))
301307 then true
302- else if ((aQ != 0))
303- then (aQ >= aM)
308+ else if ((aT != 0))
309+ then (aT >= aP)
304310 else false)
305- then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aP)) + " unlockHeight=") + toString(aM)) + " prevIndexHeight=") + toString(aQ)))
306- else if (if ((0 >= aS))
307- then (0 >= aT)
311+ then throw(((((((((("invalid price history index: index=" + toString(N)) + " priceIndex=") + toString(an)) + " indexHeight=") + toString(aS)) + " unlockHeight=") + toString(aP)) + " prevIndexHeight=") + toString(aT)))
312+ else if (if ((0 >= aV))
313+ then (0 >= aW)
308314 else false)
309315 then throw("balance equals zero")
310- else ScriptResult(WriteSet([DataEntry(S(aL), 0), DataEntry(U(aL), 0), DataEntry(M, (aw - aN)), DataEntry(N, (av - aO))]), TransferSet([ScriptTransfer(addressFromStringValue(aL), aT, unit), ScriptTransfer(addressFromStringValue(aL), aS, ag)]))
316+ else ScriptResult(WriteSet([DataEntry(V(aO), 0), DataEntry(X(aO), 0), DataEntry(P, (az - aQ)), DataEntry(Q, (ay - aR))]), TransferSet([ScriptTransfer(addressFromStringValue(aO), aW, unit), ScriptTransfer(addressFromStringValue(aO), aV, aj)]))
311317 }
312318
313319
314320
315-@Callable(aJ)
321+@Callable(aM)
316322 func transferToAuction () = {
317- let aU = (aA - assetBalance(addressFromStringValue(ah), ar))
318- let aV = fraction(ay, p, 100)
319- let aW = (az - assetBalance(addressFromStringValue(ae), ag))
320- if (al)
323+ let aX = (aD - assetBalance(addressFromStringValue(ak), au))
324+ let aY = fraction(aB, p, 100)
325+ let aZ = (aC - assetBalance(addressFromStringValue(ah), aj))
326+ if (ao)
321327 then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
322- else if (if ((aU > aV))
323- then (aU > 0)
328+ else if (if ((aX > aY))
329+ then (aX > 0)
324330 else false)
325- then TransferSet([ScriptTransfer(addressFromStringValue(ah), aU, ar)])
326- else if ((aW >= (1 * o)))
327- then TransferSet([ScriptTransfer(addressFromStringValue(ae), aW, ag)])
328- else throw(((((((("bond were generated or do not need it. Deficit:" + toString(aU)) + "|") + toString(aV)) + ". Surplus:") + toString(aW)) + "|") + toString(az)))
331+ then TransferSet([ScriptTransfer(addressFromStringValue(ak), aX, au)])
332+ else if ((aZ >= (1 * o)))
333+ then TransferSet([ScriptTransfer(addressFromStringValue(ah), aZ, aj)])
334+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(aX)) + "|") + toString(aY)) + ". Surplus:") + toString(aZ)) + "|") + toString(aC)))
329335 }
330336
331337
332338
333-@Callable(aJ)
334-func transfer (aL) = {
335- let aK = extract(aJ.payment)
336- TransferSet([ScriptTransfer(addressFromStringValue(aL), aK.amount, aK.assetId)])
339+@Callable(aM)
340+func transfer (aO) = {
341+ let aN = extract(aM.payment)
342+ TransferSet([ScriptTransfer(addressFromStringValue(aO), aN.amount, aN.assetId)])
337343 }
338344
339345
340346
341-@Callable(aJ)
347+@Callable(aM)
342348 func migrationUSDNB2NSBTSwap () = {
343- let aK = extract(aJ.payment)
344- let aL = aJ.caller
345- if ((as != aK.assetId))
349+ let aN = extract(aM.payment)
350+ let aO = aM.caller
351+ if ((av != aN.assetId))
346352 then throw("error: attempt to swap not USDNB tokens")
347- else TransferSet([ScriptTransfer(aL, (aK.amount * o), ar)])
353+ else TransferSet([ScriptTransfer(aO, (aN.amount * o), au)])
348354 }
349355
350356
351357
352-@Callable(aJ)
358+@Callable(aM)
353359 func testTransfer () = {
354- let aK = extract(aJ.payment)
355- let aL = toString(aJ.caller)
356- WriteSet([DataEntry(U(aL), aK.amount)])
360+ let aN = extract(aM.payment)
361+ let aO = toString(aM.caller)
362+ WriteSet([DataEntry(X(aO), aN.amount)])
357363 }
358364
359365

github/deemru/w8io/169f3d6 
122.88 ms