tx · BNzNLAeEzKNMkQYn1XieKbmf4VimvZCyd8ykuVTBwDpn

3NA6gug1TT67nGzrAGa36rG5nzTzUGtFQG9:  -0.01300000 Waves

2025.01.28 18:59 [3479143] smart account 3NA6gug1TT67nGzrAGa36rG5nzTzUGtFQG9 > SELF 0.00000000 Waves

{ "type": 13, "id": "BNzNLAeEzKNMkQYn1XieKbmf4VimvZCyd8ykuVTBwDpn", "fee": 1300000, "feeAssetId": null, "timestamp": 1738080001325, "version": 2, "chainId": 84, "sender": "3NA6gug1TT67nGzrAGa36rG5nzTzUGtFQG9", "senderPublicKey": "3gX6tHzxt5SFVKDcuDS9r5RxJ9erHrBxGwv3dZoi4SAW", "proofs": [ "2BCFnJVZpdMH2vpquSH1BXrrrDF1GG91uExmA987xSCV7dmA1skK9yXuPHsPd9e7aRnG72Q5wiQqxbrjmGLkSRZp" ], "script": "base64:AAIFAAAAAAAAABYIAhIDCgEIEgASAwoBCBIAEgQKAgEIAAAAGAEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdEVudgAAAAAJAQAAAAdnZXRCb29sAAAAAQIAAAAHVEVTVEVOVgEAAAAXc3RhdGljS2V5X29yYWNsZUFkZHJlc3MAAAAAAgAAABRzdGF0aWNfb3JhY2xlQWRkcmVzcwEAAAAWc3RhdGljS2V5X2l0ZW1zQWRkcmVzcwAAAAACAAAAE3N0YXRpY19pdGVtc0FkZHJlc3MBAAAAHnN0YXRpY0tleV9tdXRhbnRGYXJtaW5nQWRkcmVzcwAAAAACAAAAG3N0YXRpY19tdXRhbnRGYXJtaW5nQWRkcmVzcwEAAAASc3RhdGljS2V5X2V4dHJhRmVlAAAAAAIAAAAPc3RhdGljX2V4dHJhRmVlAQAAABdzdGF0aWNL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AAAAAAAUAAAAKc2Vjb25kVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAApzZWNvbmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAACnNlY29uZFVzZXIAAAAAAAAAAAEAAAAAAAAAAAAEAAAAD3RoaXJkVXNlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50CQAAZAAAAAIJAABkAAAAAgUAAAAPZmlyc3RVc2VyU2lnbmVkBQAAABBzZWNvbmRVc2VyU2lnbmVkBQAAAA90aGlyZFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4CQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAAXivPuo=", "height": 3479143, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: nJ8AUT8N1vUDwkfN5ZBmZRQmMMREzxg48wZpUd8r6Vq Next: 5mRRCsVUaXPVqKpSm48sU9papkYbHZCTNBTwV17kemxR Diff:
OldNewDifferences
3030 func j () = "static_feeAggregator"
3131
3232
33-func k (l,m) = (((l + "_") + m) + "_unstake_height")
33+func k () = "static_scriptMasterAddress"
3434
3535
36-func n (l,o) = (((l + "_") + o) + "_owner")
36+func l (m,n) = (((m + "_") + n) + "_unstake_height")
3737
3838
39-func p (o) = ("limit_" + o)
39+func o (m,p) = (((m + "_") + p) + "_owner")
4040
4141
42-let q = ["ART-LAKE", "ART-XTREE", "ART-XSOCK", "ART-XMISTL"]
42+func q (p) = ("limit_" + p)
4343
44-func r (b) = {
44+
45+let r = ["ART-LAKE", "ART-XTREE", "ART-XSOCK", "ART-XMISTL"]
46+
47+func s (b) = {
4548 let c = getString(this, b)
4649 if ($isInstanceOf(c, "String"))
4750 then {
48- let s = c
49- s
51+ let t = c
52+ t
5053 }
5154 else ""
5255 }
5356
5457
55-func t (b) = {
58+func u (b) = {
5659 let c = getInteger(this, b)
5760 if ($isInstanceOf(c, "Int"))
5861 then {
59- let s = c
60- s
62+ let t = c
63+ t
6164 }
6265 else 0
6366 }
6467
6568
66-func u (v,b) = {
67- let c = getString(v, b)
69+func v (w,b) = {
70+ let c = getString(w, b)
6871 if ($isInstanceOf(c, "String"))
6972 then {
70- let s = c
71- s
73+ let t = c
74+ t
7275 }
7376 else ""
7477 }
7578
7679
77-func w () = Address(fromBase58String(r(f())))
80+func x () = Address(fromBase58String(s(f())))
7881
7982
80-func x () = Address(fromBase58String(u(w(), g())))
83+func y () = Address(fromBase58String(v(x(), g())))
8184
8285
83-func y () = Address(fromBase58String(u(w(), j())))
86+func z () = Address(fromBase58String(v(x(), j())))
8487
8588
86-func z () = Address(fromBase58String(u(w(), h())))
89+func A () = Address(fromBase58String(v(x(), h())))
8790
8891
89-func A (B) = {
90- let c = B
92+func B () = Address(fromBase58String(v(x(), k())))
93+
94+
95+func C (D) = {
96+ let c = D
9197 if ($isInstanceOf(c, "String"))
9298 then {
93- let C = c
94- C
99+ let E = c
100+ E
95101 }
96102 else throw("wrong type, expected: String")
97103 }
98104
99105
100-func D (B) = {
101- let c = B
106+func F (D) = {
107+ let c = D
102108 if ($isInstanceOf(c, "Int"))
103109 then {
104- let E = c
105- E
110+ let G = c
111+ G
106112 }
107113 else throw("wrong type, expected: Int")
108114 }
109115
110116
111-func F (G) = if (isDefined(G.assetId))
117+func H (I) = if (isDefined(I.assetId))
112118 then throw("WCAP: Please attach waves")
113119 else {
114- let H = getIntegerValue(w(), i())
115- if ((G.amount != H))
116- then throw((("WCAP: Please attach exactly " + toString(H)) + " amount of wavelets"))
117- else [ScriptTransfer(y(), H, unit)]
120+ let J = getIntegerValue(x(), i())
121+ if ((I.amount != J))
122+ then throw((("WCAP: Please attach exactly " + toString(J)) + " amount of wavelets"))
123+ else [ScriptTransfer(z(), J, unit)]
118124 }
119125
120126
121-func I (l,m) = {
122- let J = t(k(l, m))
123- let K = 240
124- if ((height > (J + K)))
127+func K (m,n) = {
128+ let L = u(l(m, n))
129+ let M = 240
130+ if ((height > (L + M)))
125131 then false
126132 else true
127133 }
128134
129135
130-@Callable(L)
131-func configureOracle (M) = if ((L.caller != this))
136+@Callable(N)
137+func configureOracle (O) = if ((N.caller != this))
132138 then throw("admin only")
133- else [StringEntry(f(), M)]
139+ else [StringEntry(f(), O)]
134140
135141
136142
137-@Callable(L)
143+@Callable(N)
138144 func stakeItem () = {
139- let N = F(L.payments[1])
140- if (!(if ((size(L.payments) == 2))
141- then (L.payments[0].amount == 1)
145+ let P = H(N.payments[1])
146+ if (!(if ((size(N.payments) == 2))
147+ then (N.payments[0].amount == 1)
142148 else false))
143149 then throw("Invalid payment")
144150 else {
145- let O = value(L.payments[0].assetId)
146- let l = A(invoke(x(), "checkArtefactDetails", [toBase58String(O)], nil))
147- if ((l == l))
148- then if (!(containsElement(q, l)))
151+ let Q = value(N.payments[0].assetId)
152+ let m = C(invoke(y(), "checkArtefactDetails", [toBase58String(Q)], nil))
153+ if ((m == m))
154+ then if (!(containsElement(r, m)))
149155 then throw("You can't stake this artafect")
150- else if (I(l, toBase58String(O)))
156+ else if (K(m, toBase58String(Q)))
151157 then throw("Item can't be staked yet, it's in cooldown")
152158 else {
153- let P = toString(L.caller)
154- let m = r(n(l, P))
155- if ((m != ""))
156- then throw(("You are already staking " + l))
159+ let R = toString(N.caller)
160+ let n = s(o(m, R))
161+ if ((n != ""))
162+ then throw(("You are already staking " + m))
157163 else {
158- let Q = if ((l == "ART-LAKE"))
159- then invoke(x(), "manipulateBoostAccount", [2, P], nil)
160- else if ((l == "ART-XTREE"))
161- then invoke(x(), "manipulateBoostAccount", [3, P], nil)
164+ let S = if ((m == "ART-LAKE"))
165+ then invoke(y(), "manipulateBoostAccount", [2, R], nil)
166+ else if ((m == "ART-XTREE"))
167+ then invoke(y(), "manipulateBoostAccount", [3, R], nil)
162168 else nil
163- if ((Q == Q))
164- then ([StringEntry(n(l, P), toBase58String(O))] ++ N)
169+ if ((S == S))
170+ then ([StringEntry(o(m, R), toBase58String(Q))] ++ P)
165171 else throw("Strict value is not equal to itself.")
166172 }
167173 }
171177
172178
173179
174-@Callable(L)
175-func unstakeItem (l) = {
176- let N = F(L.payments[0])
177- if (!(containsElement(q, l)))
180+@Callable(N)
181+func unstakeItem (m) = {
182+ let P = H(N.payments[0])
183+ if (!(containsElement(r, m)))
178184 then throw("This artefact doesn't exist")
179185 else {
180- let P = toString(L.caller)
181- let m = r(n(l, P))
186+ let R = toString(N.caller)
187+ let n = s(o(m, R))
182188 if ((m == "ART-XSOCK"))
183189 then throw("You can not unstake ART-XSOCK anymore")
184- else if ((m == ""))
185- then throw(("You didnt stake " + l))
190+ else if ((n == ""))
191+ then throw(("You didnt stake " + m))
186192 else {
187- let Q = if ((l == "ART-LAKE"))
188- then invoke(x(), "manipulateBoostAccount", [-2, P], nil)
189- else if ((l == "ART-XTREE"))
190- then invoke(x(), "manipulateBoostAccount", [-3, P], nil)
193+ let S = if ((m == "ART-LAKE"))
194+ then invoke(y(), "manipulateBoostAccount", [-2, R], nil)
195+ else if ((m == "ART-XTREE"))
196+ then invoke(y(), "manipulateBoostAccount", [-3, R], nil)
191197 else nil
192- if ((Q == Q))
193- then ([IntegerEntry(k(l, m), height), ScriptTransfer(L.caller, 1, fromBase58String(m)), DeleteEntry(n(l, P))] ++ N)
198+ if ((S == S))
199+ then ([IntegerEntry(l(m, n), height), ScriptTransfer(N.caller, 1, fromBase58String(n)), DeleteEntry(o(m, R))] ++ P)
194200 else throw("Strict value is not equal to itself.")
195201 }
196202 }
198204
199205
200206
201-@Callable(L)
207+@Callable(N)
202208 func oneTimeUseFeed () = {
203- let N = F(L.payments[1])
204- if (!(if ((size(L.payments) == 2))
205- then (L.payments[0].amount == 1)
209+ let P = H(N.payments[1])
210+ if (!(if ((size(N.payments) == 2))
211+ then (N.payments[0].amount == 1)
206212 else false))
207213 then throw("Invalid payment")
208214 else {
209- let O = value(L.payments[0].assetId)
210- let l = A(invoke(x(), "checkArtefactDetails", [toBase58String(O)], nil))
211- if ((l == l))
212- then if (!(contains(l, "ART-FEED")))
213- then throw("You can't use this artafect to earn feedlimit!")
214- else {
215- let P = toString(L.caller)
216- let R = drop(l, 8)
217- let S = parseIntValue(R)
218- let T = invoke(z(), "topUpReward", ["FEED", (S / 2)], nil)
219- if ((T == T))
220- then ([IntegerEntry(p(P), (t(p(P)) + S)), Burn(O, 1)] ++ N)
221- else throw("Strict value is not equal to itself.")
222- }
215+ let Q = value(N.payments[0].assetId)
216+ let m = C(invoke(y(), "checkArtefactDetails", [toBase58String(Q)], nil))
217+ if ((m == m))
218+ then {
219+ let n = s(o("ART-XSOCK", toString(N.caller)))
220+ if (!(contains(m, "ART-FEED")))
221+ then throw("You can't use this artafect to earn feedlimit!")
222+ else {
223+ let R = toString(N.caller)
224+ let T = drop(m, 8)
225+ let U = parseIntValue(T)
226+ let V = invoke(A(), "topUpReward", ["FEED", (U / 2)], nil)
227+ if ((V == V))
228+ then {
229+ let W = if ((n == ""))
230+ then 0
231+ else (U / 10)
232+ ([IntegerEntry(q(R), ((u(q(R)) + U) + W)), Burn(Q, 1)] ++ P)
233+ }
234+ else throw("Strict value is not equal to itself.")
235+ }
236+ }
223237 else throw("Strict value is not equal to itself.")
224238 }
225239 }
226240
227241
228242
229-@Callable(L)
230-func addFeedLimit (R,v) = if ((L.caller != z()))
243+@Callable(N)
244+func addFeedLimit (T,w) = if (if ((N.caller != A()))
245+ then (N.caller != B())
246+ else false)
231247 then throw("admin only")
232- else [IntegerEntry(p(v), (t(p(v)) + R))]
248+ else [IntegerEntry(q(w), (u(q(w)) + T))]
233249
234250
235-@Verifier(U)
236-func V () = if (e())
237- then sigVerify(U.bodyBytes, U.proofs[0], U.senderPublicKey)
251+@Verifier(X)
252+func Y () = if (e())
253+ then sigVerify(X.bodyBytes, X.proofs[0], X.senderPublicKey)
238254 else {
239- let W = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
240- let X = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
241- let Y = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
242- let Z = if (sigVerify(U.bodyBytes, U.proofs[0], W))
255+ let Z = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
256+ let aa = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
257+ let ab = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
258+ let ac = if (sigVerify(X.bodyBytes, X.proofs[0], Z))
243259 then 1
244- else if (sigVerify(U.bodyBytes, U.proofs[1], W))
260+ else if (sigVerify(X.bodyBytes, X.proofs[1], Z))
245261 then 1
246- else if (sigVerify(U.bodyBytes, U.proofs[2], W))
262+ else if (sigVerify(X.bodyBytes, X.proofs[2], Z))
247263 then 1
248264 else 0
249- let aa = if (sigVerify(U.bodyBytes, U.proofs[0], X))
265+ let ad = if (sigVerify(X.bodyBytes, X.proofs[0], aa))
250266 then 1
251- else if (sigVerify(U.bodyBytes, U.proofs[1], X))
267+ else if (sigVerify(X.bodyBytes, X.proofs[1], aa))
252268 then 1
253- else if (sigVerify(U.bodyBytes, U.proofs[2], X))
269+ else if (sigVerify(X.bodyBytes, X.proofs[2], aa))
254270 then 1
255271 else 0
256- let ab = if (sigVerify(U.bodyBytes, U.proofs[0], Y))
272+ let ae = if (sigVerify(X.bodyBytes, X.proofs[0], ab))
257273 then 1
258- else if (sigVerify(U.bodyBytes, U.proofs[1], Y))
274+ else if (sigVerify(X.bodyBytes, X.proofs[1], ab))
259275 then 1
260- else if (sigVerify(U.bodyBytes, U.proofs[2], Y))
276+ else if (sigVerify(X.bodyBytes, X.proofs[2], ab))
261277 then 1
262278 else 0
263- let ac = ((Z + aa) + ab)
264- let c = U
265- (ac >= 2)
279+ let af = ((ac + ad) + ae)
280+ let c = X
281+ (af >= 1)
266282 }
267283
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getBoolean(this, b)
66 if ($isInstanceOf(c, "Boolean"))
77 then {
88 let d = c
99 d
1010 }
1111 else false
1212 }
1313
1414
1515 func e () = a("TESTENV")
1616
1717
1818 func f () = "static_oracleAddress"
1919
2020
2121 func g () = "static_itemsAddress"
2222
2323
2424 func h () = "static_mutantFarmingAddress"
2525
2626
2727 func i () = "static_extraFee"
2828
2929
3030 func j () = "static_feeAggregator"
3131
3232
33-func k (l,m) = (((l + "_") + m) + "_unstake_height")
33+func k () = "static_scriptMasterAddress"
3434
3535
36-func n (l,o) = (((l + "_") + o) + "_owner")
36+func l (m,n) = (((m + "_") + n) + "_unstake_height")
3737
3838
39-func p (o) = ("limit_" + o)
39+func o (m,p) = (((m + "_") + p) + "_owner")
4040
4141
42-let q = ["ART-LAKE", "ART-XTREE", "ART-XSOCK", "ART-XMISTL"]
42+func q (p) = ("limit_" + p)
4343
44-func r (b) = {
44+
45+let r = ["ART-LAKE", "ART-XTREE", "ART-XSOCK", "ART-XMISTL"]
46+
47+func s (b) = {
4548 let c = getString(this, b)
4649 if ($isInstanceOf(c, "String"))
4750 then {
48- let s = c
49- s
51+ let t = c
52+ t
5053 }
5154 else ""
5255 }
5356
5457
55-func t (b) = {
58+func u (b) = {
5659 let c = getInteger(this, b)
5760 if ($isInstanceOf(c, "Int"))
5861 then {
59- let s = c
60- s
62+ let t = c
63+ t
6164 }
6265 else 0
6366 }
6467
6568
66-func u (v,b) = {
67- let c = getString(v, b)
69+func v (w,b) = {
70+ let c = getString(w, b)
6871 if ($isInstanceOf(c, "String"))
6972 then {
70- let s = c
71- s
73+ let t = c
74+ t
7275 }
7376 else ""
7477 }
7578
7679
77-func w () = Address(fromBase58String(r(f())))
80+func x () = Address(fromBase58String(s(f())))
7881
7982
80-func x () = Address(fromBase58String(u(w(), g())))
83+func y () = Address(fromBase58String(v(x(), g())))
8184
8285
83-func y () = Address(fromBase58String(u(w(), j())))
86+func z () = Address(fromBase58String(v(x(), j())))
8487
8588
86-func z () = Address(fromBase58String(u(w(), h())))
89+func A () = Address(fromBase58String(v(x(), h())))
8790
8891
89-func A (B) = {
90- let c = B
92+func B () = Address(fromBase58String(v(x(), k())))
93+
94+
95+func C (D) = {
96+ let c = D
9197 if ($isInstanceOf(c, "String"))
9298 then {
93- let C = c
94- C
99+ let E = c
100+ E
95101 }
96102 else throw("wrong type, expected: String")
97103 }
98104
99105
100-func D (B) = {
101- let c = B
106+func F (D) = {
107+ let c = D
102108 if ($isInstanceOf(c, "Int"))
103109 then {
104- let E = c
105- E
110+ let G = c
111+ G
106112 }
107113 else throw("wrong type, expected: Int")
108114 }
109115
110116
111-func F (G) = if (isDefined(G.assetId))
117+func H (I) = if (isDefined(I.assetId))
112118 then throw("WCAP: Please attach waves")
113119 else {
114- let H = getIntegerValue(w(), i())
115- if ((G.amount != H))
116- then throw((("WCAP: Please attach exactly " + toString(H)) + " amount of wavelets"))
117- else [ScriptTransfer(y(), H, unit)]
120+ let J = getIntegerValue(x(), i())
121+ if ((I.amount != J))
122+ then throw((("WCAP: Please attach exactly " + toString(J)) + " amount of wavelets"))
123+ else [ScriptTransfer(z(), J, unit)]
118124 }
119125
120126
121-func I (l,m) = {
122- let J = t(k(l, m))
123- let K = 240
124- if ((height > (J + K)))
127+func K (m,n) = {
128+ let L = u(l(m, n))
129+ let M = 240
130+ if ((height > (L + M)))
125131 then false
126132 else true
127133 }
128134
129135
130-@Callable(L)
131-func configureOracle (M) = if ((L.caller != this))
136+@Callable(N)
137+func configureOracle (O) = if ((N.caller != this))
132138 then throw("admin only")
133- else [StringEntry(f(), M)]
139+ else [StringEntry(f(), O)]
134140
135141
136142
137-@Callable(L)
143+@Callable(N)
138144 func stakeItem () = {
139- let N = F(L.payments[1])
140- if (!(if ((size(L.payments) == 2))
141- then (L.payments[0].amount == 1)
145+ let P = H(N.payments[1])
146+ if (!(if ((size(N.payments) == 2))
147+ then (N.payments[0].amount == 1)
142148 else false))
143149 then throw("Invalid payment")
144150 else {
145- let O = value(L.payments[0].assetId)
146- let l = A(invoke(x(), "checkArtefactDetails", [toBase58String(O)], nil))
147- if ((l == l))
148- then if (!(containsElement(q, l)))
151+ let Q = value(N.payments[0].assetId)
152+ let m = C(invoke(y(), "checkArtefactDetails", [toBase58String(Q)], nil))
153+ if ((m == m))
154+ then if (!(containsElement(r, m)))
149155 then throw("You can't stake this artafect")
150- else if (I(l, toBase58String(O)))
156+ else if (K(m, toBase58String(Q)))
151157 then throw("Item can't be staked yet, it's in cooldown")
152158 else {
153- let P = toString(L.caller)
154- let m = r(n(l, P))
155- if ((m != ""))
156- then throw(("You are already staking " + l))
159+ let R = toString(N.caller)
160+ let n = s(o(m, R))
161+ if ((n != ""))
162+ then throw(("You are already staking " + m))
157163 else {
158- let Q = if ((l == "ART-LAKE"))
159- then invoke(x(), "manipulateBoostAccount", [2, P], nil)
160- else if ((l == "ART-XTREE"))
161- then invoke(x(), "manipulateBoostAccount", [3, P], nil)
164+ let S = if ((m == "ART-LAKE"))
165+ then invoke(y(), "manipulateBoostAccount", [2, R], nil)
166+ else if ((m == "ART-XTREE"))
167+ then invoke(y(), "manipulateBoostAccount", [3, R], nil)
162168 else nil
163- if ((Q == Q))
164- then ([StringEntry(n(l, P), toBase58String(O))] ++ N)
169+ if ((S == S))
170+ then ([StringEntry(o(m, R), toBase58String(Q))] ++ P)
165171 else throw("Strict value is not equal to itself.")
166172 }
167173 }
168174 else throw("Strict value is not equal to itself.")
169175 }
170176 }
171177
172178
173179
174-@Callable(L)
175-func unstakeItem (l) = {
176- let N = F(L.payments[0])
177- if (!(containsElement(q, l)))
180+@Callable(N)
181+func unstakeItem (m) = {
182+ let P = H(N.payments[0])
183+ if (!(containsElement(r, m)))
178184 then throw("This artefact doesn't exist")
179185 else {
180- let P = toString(L.caller)
181- let m = r(n(l, P))
186+ let R = toString(N.caller)
187+ let n = s(o(m, R))
182188 if ((m == "ART-XSOCK"))
183189 then throw("You can not unstake ART-XSOCK anymore")
184- else if ((m == ""))
185- then throw(("You didnt stake " + l))
190+ else if ((n == ""))
191+ then throw(("You didnt stake " + m))
186192 else {
187- let Q = if ((l == "ART-LAKE"))
188- then invoke(x(), "manipulateBoostAccount", [-2, P], nil)
189- else if ((l == "ART-XTREE"))
190- then invoke(x(), "manipulateBoostAccount", [-3, P], nil)
193+ let S = if ((m == "ART-LAKE"))
194+ then invoke(y(), "manipulateBoostAccount", [-2, R], nil)
195+ else if ((m == "ART-XTREE"))
196+ then invoke(y(), "manipulateBoostAccount", [-3, R], nil)
191197 else nil
192- if ((Q == Q))
193- then ([IntegerEntry(k(l, m), height), ScriptTransfer(L.caller, 1, fromBase58String(m)), DeleteEntry(n(l, P))] ++ N)
198+ if ((S == S))
199+ then ([IntegerEntry(l(m, n), height), ScriptTransfer(N.caller, 1, fromBase58String(n)), DeleteEntry(o(m, R))] ++ P)
194200 else throw("Strict value is not equal to itself.")
195201 }
196202 }
197203 }
198204
199205
200206
201-@Callable(L)
207+@Callable(N)
202208 func oneTimeUseFeed () = {
203- let N = F(L.payments[1])
204- if (!(if ((size(L.payments) == 2))
205- then (L.payments[0].amount == 1)
209+ let P = H(N.payments[1])
210+ if (!(if ((size(N.payments) == 2))
211+ then (N.payments[0].amount == 1)
206212 else false))
207213 then throw("Invalid payment")
208214 else {
209- let O = value(L.payments[0].assetId)
210- let l = A(invoke(x(), "checkArtefactDetails", [toBase58String(O)], nil))
211- if ((l == l))
212- then if (!(contains(l, "ART-FEED")))
213- then throw("You can't use this artafect to earn feedlimit!")
214- else {
215- let P = toString(L.caller)
216- let R = drop(l, 8)
217- let S = parseIntValue(R)
218- let T = invoke(z(), "topUpReward", ["FEED", (S / 2)], nil)
219- if ((T == T))
220- then ([IntegerEntry(p(P), (t(p(P)) + S)), Burn(O, 1)] ++ N)
221- else throw("Strict value is not equal to itself.")
222- }
215+ let Q = value(N.payments[0].assetId)
216+ let m = C(invoke(y(), "checkArtefactDetails", [toBase58String(Q)], nil))
217+ if ((m == m))
218+ then {
219+ let n = s(o("ART-XSOCK", toString(N.caller)))
220+ if (!(contains(m, "ART-FEED")))
221+ then throw("You can't use this artafect to earn feedlimit!")
222+ else {
223+ let R = toString(N.caller)
224+ let T = drop(m, 8)
225+ let U = parseIntValue(T)
226+ let V = invoke(A(), "topUpReward", ["FEED", (U / 2)], nil)
227+ if ((V == V))
228+ then {
229+ let W = if ((n == ""))
230+ then 0
231+ else (U / 10)
232+ ([IntegerEntry(q(R), ((u(q(R)) + U) + W)), Burn(Q, 1)] ++ P)
233+ }
234+ else throw("Strict value is not equal to itself.")
235+ }
236+ }
223237 else throw("Strict value is not equal to itself.")
224238 }
225239 }
226240
227241
228242
229-@Callable(L)
230-func addFeedLimit (R,v) = if ((L.caller != z()))
243+@Callable(N)
244+func addFeedLimit (T,w) = if (if ((N.caller != A()))
245+ then (N.caller != B())
246+ else false)
231247 then throw("admin only")
232- else [IntegerEntry(p(v), (t(p(v)) + R))]
248+ else [IntegerEntry(q(w), (u(q(w)) + T))]
233249
234250
235-@Verifier(U)
236-func V () = if (e())
237- then sigVerify(U.bodyBytes, U.proofs[0], U.senderPublicKey)
251+@Verifier(X)
252+func Y () = if (e())
253+ then sigVerify(X.bodyBytes, X.proofs[0], X.senderPublicKey)
238254 else {
239- let W = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
240- let X = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
241- let Y = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
242- let Z = if (sigVerify(U.bodyBytes, U.proofs[0], W))
255+ let Z = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
256+ let aa = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
257+ let ab = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
258+ let ac = if (sigVerify(X.bodyBytes, X.proofs[0], Z))
243259 then 1
244- else if (sigVerify(U.bodyBytes, U.proofs[1], W))
260+ else if (sigVerify(X.bodyBytes, X.proofs[1], Z))
245261 then 1
246- else if (sigVerify(U.bodyBytes, U.proofs[2], W))
262+ else if (sigVerify(X.bodyBytes, X.proofs[2], Z))
247263 then 1
248264 else 0
249- let aa = if (sigVerify(U.bodyBytes, U.proofs[0], X))
265+ let ad = if (sigVerify(X.bodyBytes, X.proofs[0], aa))
250266 then 1
251- else if (sigVerify(U.bodyBytes, U.proofs[1], X))
267+ else if (sigVerify(X.bodyBytes, X.proofs[1], aa))
252268 then 1
253- else if (sigVerify(U.bodyBytes, U.proofs[2], X))
269+ else if (sigVerify(X.bodyBytes, X.proofs[2], aa))
254270 then 1
255271 else 0
256- let ab = if (sigVerify(U.bodyBytes, U.proofs[0], Y))
272+ let ae = if (sigVerify(X.bodyBytes, X.proofs[0], ab))
257273 then 1
258- else if (sigVerify(U.bodyBytes, U.proofs[1], Y))
274+ else if (sigVerify(X.bodyBytes, X.proofs[1], ab))
259275 then 1
260- else if (sigVerify(U.bodyBytes, U.proofs[2], Y))
276+ else if (sigVerify(X.bodyBytes, X.proofs[2], ab))
261277 then 1
262278 else 0
263- let ac = ((Z + aa) + ab)
264- let c = U
265- (ac >= 2)
279+ let af = ((ac + ad) + ae)
280+ let c = X
281+ (af >= 1)
266282 }
267283

github/deemru/w8io/169f3d6 
74.76 ms