tx · H1RDLZQyuzdDJs3HGBYQTZoQqsaM89VNyCmHZV2Muvyd

3N6BogmeefYY8WZkxX8cLij7Sd1H7mkWAKL:  -0.01400000 Waves

2022.06.07 10:14 [2085628] smart account 3N6BogmeefYY8WZkxX8cLij7Sd1H7mkWAKL > SELF 0.00000000 Waves

{ "type": 13, "id": "H1RDLZQyuzdDJs3HGBYQTZoQqsaM89VNyCmHZV2Muvyd", "fee": 1400000, "feeAssetId": null, "timestamp": 1654586075133, "version": 1, "sender": "3N6BogmeefYY8WZkxX8cLij7Sd1H7mkWAKL", "senderPublicKey": "2oJMYLGBFHyrvKtf5nekg3ycc9Aa3h7i9riwRPycfNHE", "proofs": [ "4RJgAQforSKLqcdDMByZm7YGVpcn61PJMpKtXydZ8FDZYZejqQ2FcNoberDTKunSQHow8k2raaELRJCNNwEnmyFo" ], "script": "base64:AAIFAAAAAAAAACcIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgAAAAhAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAAJaWR4TFBBc0lkAAAAAAAAAAADAAAAAAlpZHhBbUFzSWQAAAAAAAAAAAQAAAAACWlkeFByQXNJZAAAAAAAAAAABQAAAAAPaWR4RmFjdFN0YWtDbnRyAAAAAAAAAAABAAAAAAVkZWxheQIAAAAJJXNfX2RlbGF5AQAAAAtrZXlGYWN0Q250cgAAAAACAAAAEyVzX19mYWN0b3J5Q29udHJhY3QBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABQlc19fbWFuYWdlclB1YmxpY0tleQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABslc19fcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkBAAAAC2tleVBvb2xBZGRyAAAAAAIAAAAPJXNfX3Bvb2xBZGRyZXNzAQAAAAtrZXlBbXRBc3NldAAAA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2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5//f6Pw==", "chainId": 84, "height": 2085628, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HbaQ4XcRQzqCJnaoTdp9uqEjHDpQMV9cnYcdsD3d9dvk Next: 3JzturS9Cgz6SHmch3eNQ7Hts3bZTWmjvkBjDC97dxM8 Diff:
OldNewDifferences
4444 func q (r) = ("%s%d__amp__" + toString(r))
4545
4646
47-func s (t) = makeString(["%s%s__lastGetOneTknCall", t], a)
47+func s (t) = makeString(["%s%s__lastGetOrPutOneTknCall", t], a)
4848
4949
50-func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a)
50+func u () = "%s__factoryConfig"
5151
5252
53-func v () = "%s__factoryConfig"
53+func v (w,x) = (((("%d%d%s__" + w) + "__") + x) + "__config")
5454
5555
56-func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config")
56+func y (z) = ("%s%s%s__mappings__baseAsset2internalId__" + z)
5757
5858
59-func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A)
59+func A (B,C) = valueOrErrorMessage(getString(B, C), makeString(["mandatory ", toString(B), ".", C, " not defined"], ""))
6060
6161
62-func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
62+func D (B,C) = valueOrErrorMessage(getInteger(B, C), makeString(["mandatory ", toString(B), ".", C, " not defined"], ""))
6363
6464
65-func E (C,D) = valueOrErrorMessage(getInteger(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
65+let E = addressFromStringValue(A(this, l()))
6666
67+let F = addressFromStringValue(A(E, i()))
6768
68-let F = addressFromStringValue(B(this, l()))
69-
70-let G = addressFromStringValue(B(F, i()))
71-
72-func H () = {
73- let I = B(F, m())
74- let J = B(F, n())
75- let K = E(G, z(J))
76- let x = E(G, z(I))
77- split(B(G, w(toString(x), toString(K))), a)
69+func G () = {
70+ let H = A(E, m())
71+ let I = A(E, n())
72+ let J = D(F, y(I))
73+ let w = D(F, y(H))
74+ split(A(F, v(toString(w), toString(J))), a)
7875 }
7976
8077
81-func L () = split(B(G, v()), a)
78+func K () = split(A(F, u()), a)
8279
8380
84-func M () = {
85- let N = getString(j())
86- if ($isInstanceOf(N, "String"))
81+func L () = {
82+ let M = getString(j())
83+ if ($isInstanceOf(M, "String"))
8784 then {
88- let O = N
89- fromBase58String(O)
85+ let N = M
86+ fromBase58String(N)
9087 }
91- else if ($isInstanceOf(N, "Unit"))
88+ else if ($isInstanceOf(M, "Unit"))
9289 then unit
9390 else throw("Match error")
9491 }
9592
9693
97-func P () = {
98- let N = getString(k())
99- if ($isInstanceOf(N, "String"))
94+func O () = {
95+ let M = getString(k())
96+ if ($isInstanceOf(M, "String"))
10097 then {
101- let O = N
102- fromBase58String(O)
98+ let N = M
99+ fromBase58String(N)
103100 }
104- else if ($isInstanceOf(N, "Unit"))
101+ else if ($isInstanceOf(M, "Unit"))
105102 then unit
106103 else throw("Match error")
107104 }
108105
109106
110-func Q (R) = {
111- let S = throw("Permission denied")
112- let N = M()
113- if ($isInstanceOf(N, "ByteVector"))
107+func P (Q) = {
108+ let R = throw("Permission denied")
109+ let M = L()
110+ if ($isInstanceOf(M, "ByteVector"))
114111 then {
115- let T = N
116- if ((R.callerPublicKey == T))
112+ let S = M
113+ if ((Q.callerPublicKey == S))
117114 then true
118- else S
115+ else R
119116 }
120- else if ($isInstanceOf(N, "Unit"))
121- then if ((R.caller == this))
117+ else if ($isInstanceOf(M, "Unit"))
118+ then if ((Q.caller == this))
122119 then true
123- else S
120+ else R
124121 else throw("Match error")
125122 }
126123
127124
128-func U () = {
129- let N = getString(o())
130- if ($isInstanceOf(N, "String"))
125+func T () = {
126+ let M = getString(o())
127+ if ($isInstanceOf(M, "String"))
131128 then {
132- let O = N
133- if ((size(O) == 0))
129+ let N = M
130+ if ((size(N) == 0))
134131 then nil
135- else split(O, a)
132+ else split(N, a)
136133 }
137134 else nil
138135 }
139136
140137
141-func V (R) = if (containsElement(U(), toBase58String(R.callerPublicKey)))
138+func U (Q) = if (containsElement(T(), toBase58String(Q.callerPublicKey)))
142139 then true
143- else Q(R)
140+ else P(Q)
144141
145142
146-func W (R) = if ((R.caller == F))
143+func V (Q) = if ((Q.caller == E))
147144 then true
148145 else throw("caller must be the pool")
149146
150147
151-@Callable(R)
152-func constructor (X) = {
153- let Y = Q(R)
154- if ((Y == Y))
155- then [StringEntry(l(), X)]
148+@Callable(Q)
149+func constructor (W) = {
150+ let X = P(Q)
151+ if ((X == X))
152+ then [StringEntry(l(), W)]
156153 else throw("Strict value is not equal to itself.")
157154 }
158155
159156
160157
161-@Callable(R)
162-func setManager (Z) = {
163- let Y = Q(R)
164- if ((Y == Y))
158+@Callable(Q)
159+func setManager (Y) = {
160+ let X = P(Q)
161+ if ((X == X))
165162 then {
166- let aa = fromBase58String(Z)
167- if ((aa == aa))
168- then [StringEntry(k(), Z)]
163+ let Z = fromBase58String(Y)
164+ if ((Z == Z))
165+ then [StringEntry(k(), Y)]
169166 else throw("Strict value is not equal to itself.")
170167 }
171168 else throw("Strict value is not equal to itself.")
173170
174171
175172
176-@Callable(R)
173+@Callable(Q)
177174 func confirmManager () = {
178- let ab = P()
179- let ac = if (isDefined(ab))
175+ let aa = O()
176+ let ab = if (isDefined(aa))
180177 then true
181178 else throw("No pending manager")
182- if ((ac == ac))
179+ if ((ab == ab))
183180 then {
184- let ad = if ((R.callerPublicKey == value(ab)))
181+ let ac = if ((Q.callerPublicKey == value(aa)))
185182 then true
186183 else throw("You are not pending manager")
187- if ((ad == ad))
188- then [StringEntry(j(), toBase58String(value(ab))), DeleteEntry(k())]
184+ if ((ac == ac))
185+ then [StringEntry(j(), toBase58String(value(aa))), DeleteEntry(k())]
189186 else throw("Strict value is not equal to itself.")
190187 }
191188 else throw("Strict value is not equal to itself.")
193190
194191
195192
196-@Callable(R)
197-func setAdmins (ae) = {
198- let Y = Q(R)
199- if ((Y == Y))
200- then [StringEntry(o(), makeString(ae, a))]
193+@Callable(Q)
194+func setAdmins (ad) = {
195+ let X = P(Q)
196+ if ((X == X))
197+ then [StringEntry(o(), makeString(ad, a))]
201198 else throw("Strict value is not equal to itself.")
202199 }
203200
204201
205202
206-@Callable(R)
207-func unstakeAndGetOneTkn (af,ag,ah,ai,aj,ak) = {
208- let al = if ((size(R.payments) != 0))
203+@Callable(Q)
204+func unstakeAndGetOneTkn (ae,af,ag,ah,ai,aj) = {
205+ let ak = if ((size(Q.payments) != 0))
209206 then throw("No pmnts expd")
210207 else true
211- if ((al == al))
208+ if ((ak == ak))
212209 then {
213- let am = H()
214- let an = L()
215- let ao = fromBase58String(am[d])
216- let ap = valueOrErrorMessage(addressFromString(an[g]), "Wr st addr")
217- let aq = invoke(ap, "unstake", [toBase58String(ao), af], nil)
218- if ((aq == aq))
210+ let al = G()
211+ let am = K()
212+ let an = fromBase58String(al[d])
213+ let ao = valueOrErrorMessage(addressFromString(am[g]), "Wr st addr")
214+ let ap = invoke(ao, "unstake", [toBase58String(an), ae], nil)
215+ if ((ap == ap))
219216 then {
220- let ar = invoke(F, "getOneTkn", [ag, ah, ai, aj, ak], [AttachedPayment(ao, af)])
221- if ((ar == ar))
217+ let aq = invoke(E, "getOneTkn", [af, ag, ah, ai, aj], [AttachedPayment(an, ae)])
218+ if ((aq == aq))
222219 then nil
223220 else throw("Strict value is not equal to itself.")
224221 }
229226
230227
231228
232-@Callable(R)
233-func setAmp (as) = {
234- let Y = V(R)
235- if ((Y == Y))
229+@Callable(Q)
230+func setAmp (ar) = {
231+ let X = U(Q)
232+ if ((X == X))
236233 then {
237- let at = invoke(F, "setS", [p(), as], nil)
238- let au = invoke(F, "setS", [q(r), as], nil)
239- $Tuple2(nil, $Tuple2(at, au))
234+ let as = invoke(E, "setS", [p(), ar], nil)
235+ let at = invoke(E, "setS", [q(height), ar], nil)
236+ $Tuple2(nil, $Tuple2(as, at))
240237 }
241238 else throw("Strict value is not equal to itself.")
242239 }
243240
244241
245242
246-@Callable(R)
247-func ensureCanGetOneTkn (t) = {
248- let Y = W(R)
249- if ((Y == Y))
243+@Callable(Q)
244+func ensureCanGetOrPutOneTkn (t) = {
245+ let X = V(Q)
246+ if ((X == X))
250247 then {
251- let av = {
252- let N = getInteger(F, u(t))
253- if ($isInstanceOf(N, "Int"))
248+ let au = {
249+ let M = getInteger(E, s(t))
250+ if ($isInstanceOf(M, "Int"))
254251 then {
255- let aw = N
256- let ax = (aw + value(getInteger(F, h)))
257- let ay = (r >= ax)
258- let az = (ax - r)
259- if (ay)
252+ let av = M
253+ let aw = (av + value(getInteger(E, h)))
254+ let ax = (height >= aw)
255+ let ay = (aw - height)
256+ if (ax)
260257 then true
261- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
258+ else throw(makeString(["you should wait", toString(ay), "blocks more to perform the action"], " "))
262259 }
263260 else true
264261 }
265- if ((av == av))
262+ if ((au == au))
266263 then {
267- let aA = {
268- let N = getInteger(F, s(t))
269- if ($isInstanceOf(N, "Int"))
270- then {
271- let aw = N
272- let ax = (aw + value(getInteger(F, h)))
273- let aB = (r >= ax)
274- let az = (ax - r)
275- if (aB)
276- then true
277- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
278- }
279- else true
280- }
281- if ((aA == aA))
282- then {
283- let aC = invoke(F, "setI", [u(t), r], nil)
284- if ((aC == aC))
285- then nil
286- else throw("Strict value is not equal to itself.")
287- }
264+ let az = invoke(E, "setI", [s(t), height], nil)
265+ if ((az == az))
266+ then nil
288267 else throw("Strict value is not equal to itself.")
289268 }
290269 else throw("Strict value is not equal to itself.")
293272 }
294273
295274
296-
297-@Callable(R)
298-func ensureCanPutOneTkn (t) = {
299- let Y = W(R)
300- if ((Y == Y))
301- then {
302- let av = {
303- let N = getInteger(F, u(t))
304- if ($isInstanceOf(N, "Int"))
305- then {
306- let aw = N
307- let ax = (aw + value(getInteger(F, h)))
308- let ay = (r >= ax)
309- let az = (ax - r)
310- if (ay)
311- then true
312- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
313- }
314- else true
275+@Verifier(aA)
276+func aB () = {
277+ let aC = {
278+ let M = L()
279+ if ($isInstanceOf(M, "ByteVector"))
280+ then {
281+ let S = M
282+ S
315283 }
316- if ((av == av))
317- then {
318- let aA = {
319- let N = getInteger(F, s(t))
320- if ($isInstanceOf(N, "Int"))
321- then {
322- let aw = N
323- let ax = (aw + value(getInteger(F, h)))
324- let aB = (r >= ax)
325- let az = (ax - r)
326- if (aB)
327- then true
328- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
329- }
330- else true
331- }
332- if ((aA == aA))
333- then {
334- let aC = invoke(F, "setI", [u(t), r], nil)
335- if ((aC == aC))
336- then nil
337- else throw("Strict value is not equal to itself.")
338- }
339- else throw("Strict value is not equal to itself.")
340- }
341- else throw("Strict value is not equal to itself.")
342- }
343- else throw("Strict value is not equal to itself.")
344- }
345-
346-
347-@Verifier(aD)
348-func aE () = {
349- let aF = {
350- let N = M()
351- if ($isInstanceOf(N, "ByteVector"))
352- then {
353- let T = N
354- T
355- }
356- else if ($isInstanceOf(N, "Unit"))
357- then aD.senderPublicKey
284+ else if ($isInstanceOf(M, "Unit"))
285+ then aA.senderPublicKey
358286 else throw("Match error")
359287 }
360- sigVerify(aD.bodyBytes, aD.proofs[0], aF)
288+ sigVerify(aA.bodyBytes, aA.proofs[0], aC)
361289 }
362290
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = 1
99
1010 let d = 3
1111
1212 let e = 4
1313
1414 let f = 5
1515
1616 let g = 1
1717
1818 let h = "%s__delay"
1919
2020 func i () = "%s__factoryContract"
2121
2222
2323 func j () = "%s__managerPublicKey"
2424
2525
2626 func k () = "%s__pendingManagerPublicKey"
2727
2828
2929 func l () = "%s__poolAddress"
3030
3131
3232 func m () = "%s__amountAsset"
3333
3434
3535 func n () = "%s__priceAsset"
3636
3737
3838 func o () = "%s__adminPubKeys"
3939
4040
4141 func p () = "%s__amp"
4242
4343
4444 func q (r) = ("%s%d__amp__" + toString(r))
4545
4646
47-func s (t) = makeString(["%s%s__lastGetOneTknCall", t], a)
47+func s (t) = makeString(["%s%s__lastGetOrPutOneTknCall", t], a)
4848
4949
50-func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a)
50+func u () = "%s__factoryConfig"
5151
5252
53-func v () = "%s__factoryConfig"
53+func v (w,x) = (((("%d%d%s__" + w) + "__") + x) + "__config")
5454
5555
56-func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config")
56+func y (z) = ("%s%s%s__mappings__baseAsset2internalId__" + z)
5757
5858
59-func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A)
59+func A (B,C) = valueOrErrorMessage(getString(B, C), makeString(["mandatory ", toString(B), ".", C, " not defined"], ""))
6060
6161
62-func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
62+func D (B,C) = valueOrErrorMessage(getInteger(B, C), makeString(["mandatory ", toString(B), ".", C, " not defined"], ""))
6363
6464
65-func E (C,D) = valueOrErrorMessage(getInteger(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
65+let E = addressFromStringValue(A(this, l()))
6666
67+let F = addressFromStringValue(A(E, i()))
6768
68-let F = addressFromStringValue(B(this, l()))
69-
70-let G = addressFromStringValue(B(F, i()))
71-
72-func H () = {
73- let I = B(F, m())
74- let J = B(F, n())
75- let K = E(G, z(J))
76- let x = E(G, z(I))
77- split(B(G, w(toString(x), toString(K))), a)
69+func G () = {
70+ let H = A(E, m())
71+ let I = A(E, n())
72+ let J = D(F, y(I))
73+ let w = D(F, y(H))
74+ split(A(F, v(toString(w), toString(J))), a)
7875 }
7976
8077
81-func L () = split(B(G, v()), a)
78+func K () = split(A(F, u()), a)
8279
8380
84-func M () = {
85- let N = getString(j())
86- if ($isInstanceOf(N, "String"))
81+func L () = {
82+ let M = getString(j())
83+ if ($isInstanceOf(M, "String"))
8784 then {
88- let O = N
89- fromBase58String(O)
85+ let N = M
86+ fromBase58String(N)
9087 }
91- else if ($isInstanceOf(N, "Unit"))
88+ else if ($isInstanceOf(M, "Unit"))
9289 then unit
9390 else throw("Match error")
9491 }
9592
9693
97-func P () = {
98- let N = getString(k())
99- if ($isInstanceOf(N, "String"))
94+func O () = {
95+ let M = getString(k())
96+ if ($isInstanceOf(M, "String"))
10097 then {
101- let O = N
102- fromBase58String(O)
98+ let N = M
99+ fromBase58String(N)
103100 }
104- else if ($isInstanceOf(N, "Unit"))
101+ else if ($isInstanceOf(M, "Unit"))
105102 then unit
106103 else throw("Match error")
107104 }
108105
109106
110-func Q (R) = {
111- let S = throw("Permission denied")
112- let N = M()
113- if ($isInstanceOf(N, "ByteVector"))
107+func P (Q) = {
108+ let R = throw("Permission denied")
109+ let M = L()
110+ if ($isInstanceOf(M, "ByteVector"))
114111 then {
115- let T = N
116- if ((R.callerPublicKey == T))
112+ let S = M
113+ if ((Q.callerPublicKey == S))
117114 then true
118- else S
115+ else R
119116 }
120- else if ($isInstanceOf(N, "Unit"))
121- then if ((R.caller == this))
117+ else if ($isInstanceOf(M, "Unit"))
118+ then if ((Q.caller == this))
122119 then true
123- else S
120+ else R
124121 else throw("Match error")
125122 }
126123
127124
128-func U () = {
129- let N = getString(o())
130- if ($isInstanceOf(N, "String"))
125+func T () = {
126+ let M = getString(o())
127+ if ($isInstanceOf(M, "String"))
131128 then {
132- let O = N
133- if ((size(O) == 0))
129+ let N = M
130+ if ((size(N) == 0))
134131 then nil
135- else split(O, a)
132+ else split(N, a)
136133 }
137134 else nil
138135 }
139136
140137
141-func V (R) = if (containsElement(U(), toBase58String(R.callerPublicKey)))
138+func U (Q) = if (containsElement(T(), toBase58String(Q.callerPublicKey)))
142139 then true
143- else Q(R)
140+ else P(Q)
144141
145142
146-func W (R) = if ((R.caller == F))
143+func V (Q) = if ((Q.caller == E))
147144 then true
148145 else throw("caller must be the pool")
149146
150147
151-@Callable(R)
152-func constructor (X) = {
153- let Y = Q(R)
154- if ((Y == Y))
155- then [StringEntry(l(), X)]
148+@Callable(Q)
149+func constructor (W) = {
150+ let X = P(Q)
151+ if ((X == X))
152+ then [StringEntry(l(), W)]
156153 else throw("Strict value is not equal to itself.")
157154 }
158155
159156
160157
161-@Callable(R)
162-func setManager (Z) = {
163- let Y = Q(R)
164- if ((Y == Y))
158+@Callable(Q)
159+func setManager (Y) = {
160+ let X = P(Q)
161+ if ((X == X))
165162 then {
166- let aa = fromBase58String(Z)
167- if ((aa == aa))
168- then [StringEntry(k(), Z)]
163+ let Z = fromBase58String(Y)
164+ if ((Z == Z))
165+ then [StringEntry(k(), Y)]
169166 else throw("Strict value is not equal to itself.")
170167 }
171168 else throw("Strict value is not equal to itself.")
172169 }
173170
174171
175172
176-@Callable(R)
173+@Callable(Q)
177174 func confirmManager () = {
178- let ab = P()
179- let ac = if (isDefined(ab))
175+ let aa = O()
176+ let ab = if (isDefined(aa))
180177 then true
181178 else throw("No pending manager")
182- if ((ac == ac))
179+ if ((ab == ab))
183180 then {
184- let ad = if ((R.callerPublicKey == value(ab)))
181+ let ac = if ((Q.callerPublicKey == value(aa)))
185182 then true
186183 else throw("You are not pending manager")
187- if ((ad == ad))
188- then [StringEntry(j(), toBase58String(value(ab))), DeleteEntry(k())]
184+ if ((ac == ac))
185+ then [StringEntry(j(), toBase58String(value(aa))), DeleteEntry(k())]
189186 else throw("Strict value is not equal to itself.")
190187 }
191188 else throw("Strict value is not equal to itself.")
192189 }
193190
194191
195192
196-@Callable(R)
197-func setAdmins (ae) = {
198- let Y = Q(R)
199- if ((Y == Y))
200- then [StringEntry(o(), makeString(ae, a))]
193+@Callable(Q)
194+func setAdmins (ad) = {
195+ let X = P(Q)
196+ if ((X == X))
197+ then [StringEntry(o(), makeString(ad, a))]
201198 else throw("Strict value is not equal to itself.")
202199 }
203200
204201
205202
206-@Callable(R)
207-func unstakeAndGetOneTkn (af,ag,ah,ai,aj,ak) = {
208- let al = if ((size(R.payments) != 0))
203+@Callable(Q)
204+func unstakeAndGetOneTkn (ae,af,ag,ah,ai,aj) = {
205+ let ak = if ((size(Q.payments) != 0))
209206 then throw("No pmnts expd")
210207 else true
211- if ((al == al))
208+ if ((ak == ak))
212209 then {
213- let am = H()
214- let an = L()
215- let ao = fromBase58String(am[d])
216- let ap = valueOrErrorMessage(addressFromString(an[g]), "Wr st addr")
217- let aq = invoke(ap, "unstake", [toBase58String(ao), af], nil)
218- if ((aq == aq))
210+ let al = G()
211+ let am = K()
212+ let an = fromBase58String(al[d])
213+ let ao = valueOrErrorMessage(addressFromString(am[g]), "Wr st addr")
214+ let ap = invoke(ao, "unstake", [toBase58String(an), ae], nil)
215+ if ((ap == ap))
219216 then {
220- let ar = invoke(F, "getOneTkn", [ag, ah, ai, aj, ak], [AttachedPayment(ao, af)])
221- if ((ar == ar))
217+ let aq = invoke(E, "getOneTkn", [af, ag, ah, ai, aj], [AttachedPayment(an, ae)])
218+ if ((aq == aq))
222219 then nil
223220 else throw("Strict value is not equal to itself.")
224221 }
225222 else throw("Strict value is not equal to itself.")
226223 }
227224 else throw("Strict value is not equal to itself.")
228225 }
229226
230227
231228
232-@Callable(R)
233-func setAmp (as) = {
234- let Y = V(R)
235- if ((Y == Y))
229+@Callable(Q)
230+func setAmp (ar) = {
231+ let X = U(Q)
232+ if ((X == X))
236233 then {
237- let at = invoke(F, "setS", [p(), as], nil)
238- let au = invoke(F, "setS", [q(r), as], nil)
239- $Tuple2(nil, $Tuple2(at, au))
234+ let as = invoke(E, "setS", [p(), ar], nil)
235+ let at = invoke(E, "setS", [q(height), ar], nil)
236+ $Tuple2(nil, $Tuple2(as, at))
240237 }
241238 else throw("Strict value is not equal to itself.")
242239 }
243240
244241
245242
246-@Callable(R)
247-func ensureCanGetOneTkn (t) = {
248- let Y = W(R)
249- if ((Y == Y))
243+@Callable(Q)
244+func ensureCanGetOrPutOneTkn (t) = {
245+ let X = V(Q)
246+ if ((X == X))
250247 then {
251- let av = {
252- let N = getInteger(F, u(t))
253- if ($isInstanceOf(N, "Int"))
248+ let au = {
249+ let M = getInteger(E, s(t))
250+ if ($isInstanceOf(M, "Int"))
254251 then {
255- let aw = N
256- let ax = (aw + value(getInteger(F, h)))
257- let ay = (r >= ax)
258- let az = (ax - r)
259- if (ay)
252+ let av = M
253+ let aw = (av + value(getInteger(E, h)))
254+ let ax = (height >= aw)
255+ let ay = (aw - height)
256+ if (ax)
260257 then true
261- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
258+ else throw(makeString(["you should wait", toString(ay), "blocks more to perform the action"], " "))
262259 }
263260 else true
264261 }
265- if ((av == av))
262+ if ((au == au))
266263 then {
267- let aA = {
268- let N = getInteger(F, s(t))
269- if ($isInstanceOf(N, "Int"))
270- then {
271- let aw = N
272- let ax = (aw + value(getInteger(F, h)))
273- let aB = (r >= ax)
274- let az = (ax - r)
275- if (aB)
276- then true
277- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
278- }
279- else true
280- }
281- if ((aA == aA))
282- then {
283- let aC = invoke(F, "setI", [u(t), r], nil)
284- if ((aC == aC))
285- then nil
286- else throw("Strict value is not equal to itself.")
287- }
264+ let az = invoke(E, "setI", [s(t), height], nil)
265+ if ((az == az))
266+ then nil
288267 else throw("Strict value is not equal to itself.")
289268 }
290269 else throw("Strict value is not equal to itself.")
291270 }
292271 else throw("Strict value is not equal to itself.")
293272 }
294273
295274
296-
297-@Callable(R)
298-func ensureCanPutOneTkn (t) = {
299- let Y = W(R)
300- if ((Y == Y))
301- then {
302- let av = {
303- let N = getInteger(F, u(t))
304- if ($isInstanceOf(N, "Int"))
305- then {
306- let aw = N
307- let ax = (aw + value(getInteger(F, h)))
308- let ay = (r >= ax)
309- let az = (ax - r)
310- if (ay)
311- then true
312- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
313- }
314- else true
275+@Verifier(aA)
276+func aB () = {
277+ let aC = {
278+ let M = L()
279+ if ($isInstanceOf(M, "ByteVector"))
280+ then {
281+ let S = M
282+ S
315283 }
316- if ((av == av))
317- then {
318- let aA = {
319- let N = getInteger(F, s(t))
320- if ($isInstanceOf(N, "Int"))
321- then {
322- let aw = N
323- let ax = (aw + value(getInteger(F, h)))
324- let aB = (r >= ax)
325- let az = (ax - r)
326- if (aB)
327- then true
328- else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
329- }
330- else true
331- }
332- if ((aA == aA))
333- then {
334- let aC = invoke(F, "setI", [u(t), r], nil)
335- if ((aC == aC))
336- then nil
337- else throw("Strict value is not equal to itself.")
338- }
339- else throw("Strict value is not equal to itself.")
340- }
341- else throw("Strict value is not equal to itself.")
342- }
343- else throw("Strict value is not equal to itself.")
344- }
345-
346-
347-@Verifier(aD)
348-func aE () = {
349- let aF = {
350- let N = M()
351- if ($isInstanceOf(N, "ByteVector"))
352- then {
353- let T = N
354- T
355- }
356- else if ($isInstanceOf(N, "Unit"))
357- then aD.senderPublicKey
284+ else if ($isInstanceOf(M, "Unit"))
285+ then aA.senderPublicKey
358286 else throw("Match error")
359287 }
360- sigVerify(aD.bodyBytes, aD.proofs[0], aF)
288+ sigVerify(aA.bodyBytes, aA.proofs[0], aC)
361289 }
362290

github/deemru/w8io/169f3d6 
76.54 ms