tx · Bkcx5sa9LSdYkzECW5715zRn8Kzqbir2X5jTEArRiFYH

3NBEzvRCvPT99ctcZ7jAesYGqpBxzf3CQhu:  -0.01000000 Waves

2023.08.04 15:39 [2695851] smart account 3NBEzvRCvPT99ctcZ7jAesYGqpBxzf3CQhu > SELF 0.00000000 Waves

{ "type": 13, "id": "Bkcx5sa9LSdYkzECW5715zRn8Kzqbir2X5jTEArRiFYH", "fee": 1000000, "feeAssetId": null, "timestamp": 1691152775815, "version": 2, "chainId": 84, "sender": "3NBEzvRCvPT99ctcZ7jAesYGqpBxzf3CQhu", "senderPublicKey": "uhJB66MKDzzNwnqLzaPQthV2wTtfwZp1sbw73vPzrhn", "proofs": [ "2nYTFc6oZE6CpxXXjVKvFLt4M1dB82bwPzUEej8d2kbuGuXsdi2z6K7sTZU4nyjCGvGRK5iT8hGdYCYWKLJGnBN2" ], "script": "base64:BgImCAISBAoCCBgSABIAEgUKAwQBCBIAEgMKAQESAwoBARIAEgMKAQEuAAdrQWN0aXZlAgZhY3RpdmUAC2tBY3RpdmVHbG9iAhRhY3RpdmVfYWxsX2NvbnRyYWN0cwAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQAMa1VTRE5BZGRyZXNzAhhzdGFraW5nX3VzZG5uc2J0X2FkZHJlc3MADGtFVVJOQWRkcmVzcwIUc3Rha2luZ19ldXJuX2FkZHJlc3MADGtMMk1QQWRkcmVzcwIUc3Rha2luZ19sMm1wX2FkZHJlc3MADGtMZWFzaW5nUG9vbAIPbGVhc2luZ19hZGRyZXNzAA5rTGVhc2luZ0Ftb3VudAIObGVhc2luZ19hbW91bnQACmtMZWFzaW5nSWQCCmxlYXNpbmdfaWQADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgANa0NwbW1Db250cmFj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bGxDb21tb24EAgh3aXRoZHJhdwgIBQFpBmNhbGxlcgVieXRlcwkAzAgCAgEwBQNuaWwIBQFpCHBheW1lbnRzAWkBCGV4Y2hhbmdlARJtaW5BbW91bnRUb1JlY2VpdmUJAQpjYWxsQ29tbW9uBAIIZXhjaGFuZ2UICAUBaQZjYWxsZXIFYnl0ZXMJAMwIAgkApAMBBRJtaW5BbW91bnRUb1JlY2VpdmUFA25pbAgFAWkIcGF5bWVudHMBAnR4AQZ2ZXJpZnkABBNtdWx0aVNpZ25lZEJ5QWRtaW5zBBJhZG1pblB1YktleTFTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQxhZG1pblB1YktleTEAAQAABBJhZG1pblB1YktleTJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAIFE211bHRpU2lnbmVkQnlBZG1pbnP+VYfp", "height": 2695851, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "active"
5+
6+let b = "active_all_contracts"
7+
8+let c = "shutdown_cause"
9+
10+let d = "staking_usdnnsbt_address"
11+
12+let e = "staking_eurn_address"
13+
14+let f = "staking_l2mp_address"
15+
16+let g = "leasing_address"
17+
18+let h = "leasing_amount"
19+
20+let i = "leasing_id"
21+
22+let j = "admin_pub_1"
23+
24+let k = "admin_pub_2"
25+
26+let l = "admin_pub_3"
27+
28+let m = "admin_invoke_pub"
29+
30+let n = "cpmm_contract"
31+
32+let o = "usdn_asset_id"
33+
34+let p = "eurn_asset_id"
35+
36+let q = "l2mp_asset_id"
37+
38+let r = "staking_assets"
39+
40+let s = "share_asset_id"
41+
42+let t = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
43+
44+func u (v) = {
45+ let w = getString(t, v)
46+ if ($isInstanceOf(w, "String"))
47+ then {
48+ let x = w
49+ fromBase58String(x)
50+ }
51+ else {
52+ let y = w
53+ throw((v + "is empty"))
54+ }
55+ }
56+
57+
58+let z = u(j)
59+
60+let A = u(k)
61+
62+let B = u(l)
63+
64+let C = u(m)
65+
66+let D = Address(u(d))
67+
68+let E = Address(u(e))
69+
70+let F = Address(u(f))
71+
72+let G = Address(u(n))
73+
74+let H = u(o)
75+
76+let I = u(p)
77+
78+let J = u(q)
79+
80+let K = getStringValue(t, r)
81+
82+let L = valueOrElse(getBoolean(t, b), true)
83+
84+let M = valueOrElse(getBoolean(this, a), true)
85+
86+func N () = if (if (M)
87+ then L
88+ else false)
89+ then unit
90+ else throw("DApp is inactive at this moment")
91+
92+
93+func O (P) = if ((P == G))
94+ then unit
95+ else throw("Only global Contract can invoke this function")
96+
97+
98+func Q () = throw("Wrong staking asset")
99+
100+
101+func R (S) = if (containsElement([z, A, B], S))
102+ then unit
103+ else throw("Only admin can call this function")
104+
105+
106+func T (U) = [BooleanEntry(a, false), StringEntry(c, U)]
107+
108+
109+func V (W,X) = if (W)
110+ then if ((X == H))
111+ then $Tuple2("lockNeutrino", D)
112+ else if ((X == I))
113+ then $Tuple2("startStaking", E)
114+ else if ((X == J))
115+ then $Tuple2("stake", F)
116+ else Q()
117+ else if ((X == H))
118+ then $Tuple2("unlockNeutrino", D)
119+ else if ((X == I))
120+ then $Tuple2("stopStaking", E)
121+ else if ((X == J))
122+ then $Tuple2("withdraw", F)
123+ else Q()
124+
125+
126+func Y (W,Z,X) = if (W)
127+ then {
128+ let aa = V(W, X)
129+ let ab = aa._1
130+ let ac = aa._2
131+ $Tuple4(ab, ac, nil, [AttachedPayment(X, Z)])
132+ }
133+ else {
134+ let ad = V(W, X)
135+ let ab = ad._1
136+ let ac = ad._2
137+ if ((X == J))
138+ then $Tuple4(ab, ac, [Z], nil)
139+ else $Tuple4(ab, ac, [Z, toBase58String(X)], nil)
140+ }
141+
142+
143+func ae (af,ag) = {
144+ let ah = af
145+ let ai = ah._1
146+ let aj = ah._2
147+ $Tuple2((ai :+ ag.amount), (aj :+ (if ((ag.assetId == unit))
148+ then base58''
149+ else ag.assetId)))
150+ }
151+
152+
153+func ak (al,am) = {
154+ let w = am
155+ if (if ($isInstanceOf(w, "Issue"))
156+ then true
157+ else if ($isInstanceOf(w, "Burn"))
158+ then true
159+ else if ($isInstanceOf(w, "Reissue"))
160+ then true
161+ else if ($isInstanceOf(w, "ScriptTransfer"))
162+ then true
163+ else if ($isInstanceOf(w, "BinaryEntry"))
164+ then true
165+ else if ($isInstanceOf(w, "BooleanEntry"))
166+ then true
167+ else if ($isInstanceOf(w, "StringEntry"))
168+ then true
169+ else $isInstanceOf(w, "IntegerEntry"))
170+ then {
171+ let an = w
172+ (al :+ an)
173+ }
174+ else al
175+ }
176+
177+
178+func ao (al,am) = {
179+ let w = am
180+ if ($isInstanceOf(w, "String"))
181+ then {
182+ let ap = w
183+ (al :+ ap)
184+ }
185+ else if ($isInstanceOf(w, "Int"))
186+ then {
187+ let ap = w
188+ (al :+ ap)
189+ }
190+ else if ($isInstanceOf(w, "Boolean"))
191+ then {
192+ let ap = w
193+ (al :+ ap)
194+ }
195+ else if ($isInstanceOf(w, "ByteVector"))
196+ then {
197+ let ap = w
198+ (al :+ ap)
199+ }
200+ else if ($isInstanceOf(w, "Unit"))
201+ then {
202+ let ap = w
203+ (al :+ ap)
204+ }
205+ else throw()
206+ }
207+
208+
209+func aq (ar,P,as,at) = valueOrElse(N(), {
210+ let au = {
211+ let av = at
212+ let aw = size(av)
213+ let ax = $Tuple2(nil, nil)
214+ func ay (az,aA) = if ((aA >= aw))
215+ then az
216+ else ae(az, av[aA])
217+
218+ func aB (az,aA) = if ((aA >= aw))
219+ then az
220+ else throw("List size exceeds 10")
221+
222+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
223+ }
224+ let ai = au._1
225+ let aj = au._2
226+ let aC = if (if ((ar == "replenishWithTwoTokens"))
227+ then (size(at) == 3)
228+ else false)
229+ then [at[2]]
230+ else if (if ((ar == "replenishWithOneToken"))
231+ then (size(at) == 2)
232+ else false)
233+ then [at[1]]
234+ else nil
235+ let aD = {
236+ let aE = reentrantInvoke(G, ar, [P, as, ai, aj], aC)
237+ if ($isInstanceOf(aE, "(List[Any], List[Any])"))
238+ then aE
239+ else throw(($getType(aE) + " couldn't be cast to (List[Any], List[Any])"))
240+ }
241+ if ((aD == aD))
242+ then {
243+ let aF = aD._2
244+ let aG = aD._1
245+ let aH = {
246+ let av = aF
247+ let aw = size(av)
248+ let ax = nil
249+ func aI (az,aA) = if ((aA >= aw))
250+ then az
251+ else ao(az, av[aA])
252+
253+ func aJ (az,aA) = if ((aA >= aw))
254+ then az
255+ else throw("List size exceeds 10")
256+
257+ aJ(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
258+ }
259+ let aK = {
260+ let av = aG
261+ let aw = size(av)
262+ let ax = nil
263+ func aL (az,aA) = if ((aA >= aw))
264+ then az
265+ else ak(az, av[aA])
266+
267+ func aM (az,aA) = if ((aA >= aw))
268+ then az
269+ else throw("List size exceeds 15")
270+
271+ aM(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(aL(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
272+ }
273+ $Tuple2(aK, aH)
274+ }
275+ else throw("Strict value is not equal to itself.")
276+ })
277+
278+
279+@Callable(aN)
280+func callFunction (ar,as) = aq(ar, aN.caller.bytes, as, aN.payments)
281+
282+
283+
284+@Callable(aN)
285+func shutdown () = valueOrElse(R(aN.callerPublicKey), if (!(M))
286+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, c), "the cause wasn't specified")))
287+ else T("Paused by admin"))
288+
289+
290+
291+@Callable(aN)
292+func activate () = valueOrElse(R(aN.callerPublicKey), if (M)
293+ then throw("DApp is already active")
294+ else [BooleanEntry(a, true), DeleteEntry(c)])
295+
296+
297+
298+@Callable(aN)
299+func stakeUnstake (W,Z,aO) = valueOrElse(O(aN.caller), valueOrElse(N(), if ((aO == "WAVES"))
300+ then {
301+ let aP = addressFromStringValue(valueOrErrorMessage(getString(t, g), "No leasing pool in oracle"))
302+ let aQ = getBinary(this, i)
303+ let aR = valueOrElse(getInteger(this, h), 0)
304+ let aS = if (W)
305+ then (aR + Z)
306+ else (aR - Z)
307+ let aT = Lease(aP, aS)
308+ let aU = calculateLeaseId(aT)
309+ let aV = [aT, BinaryEntry(i, aU), IntegerEntry(h, aS)]
310+ let w = aQ
311+ if ($isInstanceOf(w, "ByteVector"))
312+ then {
313+ let aW = w
314+ ([LeaseCancel(aW)] ++ aV)
315+ }
316+ else aV
317+ }
318+ else {
319+ let aX = Y(W, Z, fromBase58String(aO))
320+ let ab = aX._1
321+ let aY = aX._2
322+ let aZ = aX._3
323+ let at = aX._4
324+ let ba = invoke(aY, ab, aZ, at)
325+ if ((ba == ba))
326+ then nil
327+ else throw("Strict value is not equal to itself.")
328+ }))
329+
330+
331+
332+@Callable(aN)
333+func claimNetrinoRewards () = valueOrElse(O(aN.caller), valueOrElse(N(), {
334+ let ba = invoke(D, "claimRewards", nil, nil)
335+ if ((ba == ba))
336+ then $Tuple2(nil, ba)
337+ else throw("Strict value is not equal to itself.")
338+ }))
339+
340+
341+
342+@Callable(aN)
343+func reissueShareToken (Z) = valueOrElse(O(aN.caller), valueOrElse(N(), {
344+ let bb = fromBase58String(getStringValue(this, s))
345+[Reissue(bb, Z, true), ScriptTransfer(aN.caller, Z, bb)]
346+ }))
347+
348+
349+
350+@Callable(aN)
351+func replenishWithTwoTokens (bc) = aq("replenishWithTwoTokens", aN.caller.bytes, ["false", "0"], aN.payments)
352+
353+
354+
355+@Callable(aN)
356+func withdraw () = aq("withdraw", aN.caller.bytes, ["0"], aN.payments)
357+
358+
359+
360+@Callable(aN)
361+func exchange (bd) = aq("exchange", aN.caller.bytes, [toString(bd)], aN.payments)
362+
363+
364+@Verifier(be)
365+func bf () = {
366+ let bg = {
367+ let bh = if (sigVerify(be.bodyBytes, be.proofs[0], z))
368+ then 1
369+ else 0
370+ let bi = if (sigVerify(be.bodyBytes, be.proofs[1], A))
371+ then 1
372+ else 0
373+ let bj = if (sigVerify(be.bodyBytes, be.proofs[2], B))
374+ then 1
375+ else 0
376+ (((bh + bi) + bj) >= 2)
377+ }
378+ bg
379+ }
380+

github/deemru/w8io/026f985 
21.03 ms