tx · oLGVt6pb2pBjhivDQ7Yuoo7KX86HE9y6fSGVYNjv9RG

3MzpqUDAkmPQNhDvTfe8oxDHLfhn6zCJMVV:  -0.01400000 Waves

2020.03.27 23:04 [928295] smart account 3MzpqUDAkmPQNhDvTfe8oxDHLfhn6zCJMVV > SELF 0.00000000 Waves

{ "type": 13, "id": "oLGVt6pb2pBjhivDQ7Yuoo7KX86HE9y6fSGVYNjv9RG", "fee": 1400000, "feeAssetId": null, "timestamp": 1585339489057, "version": 1, "sender": "3MzpqUDAkmPQNhDvTfe8oxDHLfhn6zCJMVV", "senderPublicKey": "XtyNbJw3KkfoUSRF7ogfrorEXvgDKntNcFBmvVAWx3u", "proofs": [ "ADF6BgZJp9osLAFFLS96ef4f2dJRkELTjcmw8nrRjT4VenBFbJ2xtX2dznSHuUGgXA2QNU6CBiVVu9n3K9Z6Ctk" ], "script": "base64:AAIDAAAAAAAAABUIARIAEgASBAoCCAESABIDCgEIEgAAAABOAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAAAIAAA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xUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAAJbGVhc2luZ1R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAYbm9kZU9yYWNsZVByb3ZpZGVyUHViS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABVTcG9uc29yRmVlVHJhbnNhY3Rpb24EAAAACXNwb25zb3JUeAUAAAAHJG1hdGNoMAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABhub2RlT3JhY2xlUHJvdmlkZXJQdWJLZXkJAQAAABtjaGVja0lzVmFsaWRNaW5TcG9uc29yZWRGZWUAAAABBQAAAAlzcG9uc29yVHgHBrGTeaA=", "chainId": 84, "height": 928295, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
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+func k (l) = {
71+ let c = l
72+ if ($isInstanceOf(c, "Int"))
73+ then {
74+ let d = c
75+ d
76+ }
77+ else 0
78+ }
79+
80+
81+let m = 30
82+
83+let n = "_"
84+
85+let o = "+"
86+
87+let p = 100000000
88+
89+let q = 1000000
90+
91+let r = 5
92+
93+let s = "neutrino_asset_id"
94+
95+let t = "bond_asset_id"
96+
97+let u = "auction_contract"
98+
99+let v = "liquidation_contract"
100+
101+let w = "rpd_contract"
102+
103+let x = "control_contract"
104+
105+let y = "balance_waves_lock_interval"
106+
107+let z = "balance_neutrino_lock_interval"
108+
109+let A = "min_waves_swap_amount"
110+
111+let B = "min_neutrino_swap_amount"
112+
113+let C = "node_oracle_provider"
114+
115+let D = 100
116+
117+let E = 100000
118+
119+let F = "rpd_balance"
120+
121+func G (H) = ((F + "_") + toBase58String(H))
122+
123+
124+let I = "price"
125+
126+let J = "price_index"
127+
128+let K = "is_blocked"
129+
130+func L (M) = ((I + "_") + toString(M))
131+
132+
133+func N (O) = ((J + "_") + toString(O))
134+
135+
136+let P = "balance_lock_"
137+
138+let Q = (P + "waves")
139+
140+let R = (P + "neutrino")
141+
142+func S (T,H) = ((((F + "_") + toBase58String(H)) + "_") + toString(T))
143+
144+
145+func U (V) = (("cancel_lease_tx_reserve_fee" + "_") + V)
146+
147+
148+func W (X) = ((Q + "_") + X)
149+
150+
151+func Y (X) = ((R + "_") + X)
152+
153+
154+func Z (X) = ("balance_unlock_block_" + X)
155+
156+
157+func aa (T) = (("rpd_profit" + "_") + toString(T))
158+
159+
160+func ab (ac,ad) = fraction(fraction(ac, 100, ad), p, q)
161+
162+
163+func ae (ac,ad) = fraction(fraction(ac, ad, 100), q, p)
164+
165+
166+func af (ac,ad) = ae(ac, ad)
167+
168+
169+func ag (ah) = split(ah, ",")
170+
171+
172+let ai = e(v)
173+
174+let aj = e(s)
175+
176+let ak = fromBase58String(aj)
177+
178+let al = e(u)
179+
180+let am = e(w)
181+
182+let an = e(x)
183+
184+let ao = g(an, J)
185+
186+let ap = j(an, K)
187+
188+let aq = fromBase58String(e(C))
189+
190+let ar = a(y)
191+
192+let as = a(z)
193+
194+let at = a(A)
195+
196+let au = a(B)
197+
198+let av = fromBase58String("6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g")
199+
200+let aw = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF")
201+
202+let ax = this
203+
204+let ay = g(an, I)
205+
206+let az = a(R)
207+
208+let aA = a(Q)
209+
210+let aB = (wavesBalance(ax) - aA)
211+
212+let aC = (((az + extract(assetInfo(ak)).quantity) - assetBalance(ax, ak)) - assetBalance(addressFromStringValue(ai), ak))
213+
214+let aD = (ae(aB, ay) - aC)
215+
216+let aE = (aC - ae(aB, ay))
217+
218+func aF (aG) = {
219+ let aH = 93
220+ let aI = ae(E, aH)
221+ let aJ = (aI + fraction(aI, D, 100))
222+ (k(aG.minSponsoredAssetFee) == aJ)
223+ }
224+
225+
226+func aK (H) = g(am, G(H))
227+
228+
229+func aL (M) = g(an, L(M))
230+
231+
232+func aM (O) = g(an, N(O))
233+
234+
235+func aN (V) = a(U(V))
236+
237+
238+func aO (X) = a(W(X))
239+
240+
241+func aP (X) = a(Y(X))
242+
243+
244+func aQ (X) = a(Z(X))
245+
246+
247+func aR (T) = a(aa(T))
248+
249+
250+@Callable(aS)
251+func swapWavesToNeutrino () = {
252+ let aT = extract(aS.payment)
253+ let aU = toString(aS.caller)
254+ if ((at > aT.amount))
255+ then throw((("The specified Waves amount is less than the required minimum of " + toString(at)) + " wavelets."))
256+ else if (isDefined(aT.assetId))
257+ then throw("Only Waves token is allowed for swapping.")
258+ else if (ap)
259+ then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
260+ else if ((aQ(aU) > height))
261+ then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
262+ else if (if ((aP(aU) != 0))
263+ then true
264+ else (aO(aU) != 0))
265+ then throw("please withdraw locked funds first")
266+ else WriteSet([DataEntry(W(aU), aT.amount), DataEntry(Z(aU), (height + ar)), DataEntry(Q, (aA + aT.amount))])
267+ }
268+
269+
270+
271+@Callable(aS)
272+func swapNeutrinoToWaves () = {
273+ let aT = extract(aS.payment)
274+ let aU = toString(aS.caller)
275+ if ((au > aT.amount))
276+ then throw((("The specified Neutrino amount is less than the required minimum of " + toString(au)) + " Neutrino cents."))
277+ else if (ap)
278+ then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.")
279+ else if ((aT.assetId != ak))
280+ then throw("Only appropriate Neutrino tokens are allowed for swapping.")
281+ else if ((aQ(aU) > height))
282+ then throw((("await " + toString((aQ(aU) - height))) + " blocks"))
283+ else if (if ((aP(aU) != 0))
284+ then true
285+ else (aO(aU) != 0))
286+ then throw("please withdraw locked funds first")
287+ else WriteSet([DataEntry(Y(aU), aT.amount), DataEntry(Z(aU), (height + as)), DataEntry(R, (az + aT.amount))])
288+ }
289+
290+
291+
292+@Callable(aS)
293+func withdraw (aU,O) = {
294+ let aV = aQ(aU)
295+ let aW = aO(aU)
296+ let aX = aP(aU)
297+ let aY = aM(O)
298+ let aZ = aM((O - 1))
299+ let ba = aL(aY)
300+ let bb = ae(aW, ba)
301+ let bc = ab(aX, ba)
302+ if (ap)
303+ then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
304+ else if ((aV > height))
305+ then throw((("please wait for: " + toString(aV)) + " block height to withdraw WAVES funds"))
306+ else if (if (if ((O > ao))
307+ then true
308+ else (aV > aY))
309+ then true
310+ else if ((aZ != 0))
311+ then (aZ >= aV)
312+ else false)
313+ then throw(((((((((("invalid price history index: index=" + toString(O)) + " priceIndex=") + toString(ao)) + " indexHeight=") + toString(aY)) + " unlockHeight=") + toString(aV)) + " prevIndexHeight=") + toString(aZ)))
314+ else if (if ((0 >= bb))
315+ then (0 >= bc)
316+ else false)
317+ then throw("balance equals zero")
318+ else ScriptResult(WriteSet([DataEntry(W(aU), 0), DataEntry(Y(aU), 0), DataEntry(Q, (aA - aW)), DataEntry(R, (az - aX))]), TransferSet([ScriptTransfer(addressFromStringValue(aU), bc, unit), ScriptTransfer(addressFromStringValue(aU), bb, ak)]))
319+ }
320+
321+
322+
323+@Callable(aS)
324+func transferToAuction () = {
325+ let bd = (aE - assetBalance(addressFromStringValue(al), av))
326+ let be = fraction(aC, r, 100)
327+ let bf = (aD - assetBalance(addressFromStringValue(ai), ak))
328+ if (ap)
329+ then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
330+ else if (if ((bd > be))
331+ then (bd > 0)
332+ else false)
333+ then TransferSet([ScriptTransfer(addressFromStringValue(al), bd, av)])
334+ else if ((bf >= (1 * q)))
335+ then TransferSet([ScriptTransfer(addressFromStringValue(ai), bf, ak)])
336+ else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(be)) + ". Surplus:") + toString(bf)) + "|") + toString(aD)))
337+ }
338+
339+
340+
341+@Callable(aS)
342+func transfer (aU) = {
343+ let aT = extract(aS.payment)
344+ TransferSet([ScriptTransfer(addressFromStringValue(aU), aT.amount, aT.assetId)])
345+ }
346+
347+
348+
349+@Callable(aS)
350+func migrationUSDNB2NSBTSwap () = {
351+ let aT = extract(aS.payment)
352+ let aU = aS.caller
353+ if ((aw != aT.assetId))
354+ then throw("error: attempt to swap not USDNB tokens")
355+ else TransferSet([ScriptTransfer(aU, (aT.amount * q), av)])
356+ }
357+
358+
359+@Verifier(aG)
360+func bg () = {
361+ let bh = toBase58String(aG.id)
362+ let c = aG
363+ if (if ($isInstanceOf(c, "LeaseCancelTransaction"))
364+ then true
365+ else $isInstanceOf(c, "LeaseTransaction"))
366+ then {
367+ let bi = c
368+ sigVerify(aG.bodyBytes, aG.proofs[0], aq)
369+ }
370+ else if ($isInstanceOf(c, "SponsorFeeTransaction"))
371+ then {
372+ let bj = c
373+ if (sigVerify(aG.bodyBytes, aG.proofs[0], aq))
374+ then aF(bj)
375+ else false
376+ }
377+ else true
378+ }
379+

github/deemru/w8io/026f985 
25.05 ms