tx · DRwt1DT1VHYy7967QPKo7Lu7MiNDJXm39PW5PzWBguVh

3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3:  -0.01400000 Waves

2022.06.06 23:38 [2084982] smart account 3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3 > SELF 0.00000000 Waves

{ "type": 13, "id": "DRwt1DT1VHYy7967QPKo7Lu7MiNDJXm39PW5PzWBguVh", "fee": 1400000, "feeAssetId": null, "timestamp": 1654547977223, "version": 1, "sender": "3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3", "senderPublicKey": "BvVeg8smaC5URu5BzVQBgiAJGww7pTwsKHdiW14QEuAo", "proofs": [ "hXWdkP3JSuaJ1qdKTZ1MkdxLQM7NQVofqe6oh92d1vayHgugFyLMFMrddbqNXuPoPRa9NyxJRefzooCv5b8M3VU" ], "script": "base64:AAIFAAAAAAAAACcIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgAAAAiAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAAJaWR4TFBBc0lkAAAAAAAAAAADAAAAAAlpZHhBbUFzSWQAAAAAAAAAAAQAAAAACWlkeFByQXNJZAAAAAAAAAAABQAAAAAPaWR4RmFjdFN0YWtDbnRyAAAAAAAAAAABAAAAAAVkZWxheQIAAAAJJXNfX2RlbGF5AQAAAAtrZXlGYWN0Q250cgAAAAACAAAAEyVzX19mYWN0b3J5Q29udHJhY3QBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABQlc19fbWFuYWdlclB1YmxpY0tleQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABslc19fcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkBAAAAC2tleVBvb2xBZGRyAAAAAAIAAAAPJXNfX3Bvb2xBZGRyZXNzAQAAAAtrZXlBbXRBc3NldAAAAA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mUgdG8gcGVyZm9ybSB0aGUgYWN0aW9uBQAAAANuaWwCAAAAASAGAwkAAAAAAAACBQAAAAxlbnN1cmVDYW5HZXQFAAAADGVuc3VyZUNhbkdldAQAAAAEc2V0SQkAA/wAAAAEBQAAAAxwb29sQ29udHJhY3QCAAAABHNldEkJAARMAAAAAgkBAAAAEWxhc3RQdXRPbmVUa25DYWxsAAAAAQUAAAAGY2FsbGVyCQAETAAAAAIFAAAABmhlaWdodAUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAABHNldEkFAAAABHNldEkFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5rY98ew==", "chainId": 84, "height": 2084982, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2xvq2kj9f56vjx5yhwbvJHYp7fUDynUpihfto617bFkA Next: 3Wf7MgTxWf2gGDSkEagdb4BRcUZ7ubCXXtc1gwqKe52y Diff:
OldNewDifferences
235235 if ((Y == Y))
236236 then {
237237 let at = invoke(F, "setS", [p(), as], nil)
238- let au = invoke(F, "setS", [q(r), as], nil)
238+ let au = invoke(F, "setS", [q(height), as], nil)
239239 $Tuple2(nil, $Tuple2(at, au))
240240 }
241241 else throw("Strict value is not equal to itself.")
244244
245245
246246 @Callable(R)
247-func ensureCanGetOneTkn (t) = {
247+func ensureCanGetOrPutOneTkn (t) = {
248248 let Y = W(R)
249249 if ((Y == Y))
250250 then {
254254 then {
255255 let aw = N
256256 let ax = (aw + value(getInteger(F, h)))
257- let ay = (r >= ax)
258- let az = (ax - r)
257+ let ay = (height >= ax)
258+ let az = (ax - height)
259259 if (ay)
260260 then true
261261 else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
270270 then {
271271 let aw = N
272272 let ax = (aw + value(getInteger(F, h)))
273- let aB = (r >= ax)
274- let az = (ax - r)
273+ let aB = (height >= ax)
274+ let az = (ax - height)
275275 if (aB)
276276 then true
277277 else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
280280 }
281281 if ((aA == aA))
282282 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- }
288- else throw("Strict value is not equal to itself.")
289- }
290- else throw("Strict value is not equal to itself.")
291- }
292- else throw("Strict value is not equal to itself.")
293- }
294-
295-
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
315- }
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)
283+ let aC = invoke(F, "setI", [u(t), height], nil)
335284 if ((aC == aC))
336285 then nil
337286 else throw("Strict value is not equal to itself.")
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
4747 func s (t) = makeString(["%s%s__lastGetOneTknCall", t], a)
4848
4949
5050 func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a)
5151
5252
5353 func v () = "%s__factoryConfig"
5454
5555
5656 func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config")
5757
5858
5959 func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A)
6060
6161
6262 func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
6363
6464
6565 func E (C,D) = valueOrErrorMessage(getInteger(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], ""))
6666
6767
6868 let F = addressFromStringValue(B(this, l()))
6969
7070 let G = addressFromStringValue(B(F, i()))
7171
7272 func H () = {
7373 let I = B(F, m())
7474 let J = B(F, n())
7575 let K = E(G, z(J))
7676 let x = E(G, z(I))
7777 split(B(G, w(toString(x), toString(K))), a)
7878 }
7979
8080
8181 func L () = split(B(G, v()), a)
8282
8383
8484 func M () = {
8585 let N = getString(j())
8686 if ($isInstanceOf(N, "String"))
8787 then {
8888 let O = N
8989 fromBase58String(O)
9090 }
9191 else if ($isInstanceOf(N, "Unit"))
9292 then unit
9393 else throw("Match error")
9494 }
9595
9696
9797 func P () = {
9898 let N = getString(k())
9999 if ($isInstanceOf(N, "String"))
100100 then {
101101 let O = N
102102 fromBase58String(O)
103103 }
104104 else if ($isInstanceOf(N, "Unit"))
105105 then unit
106106 else throw("Match error")
107107 }
108108
109109
110110 func Q (R) = {
111111 let S = throw("Permission denied")
112112 let N = M()
113113 if ($isInstanceOf(N, "ByteVector"))
114114 then {
115115 let T = N
116116 if ((R.callerPublicKey == T))
117117 then true
118118 else S
119119 }
120120 else if ($isInstanceOf(N, "Unit"))
121121 then if ((R.caller == this))
122122 then true
123123 else S
124124 else throw("Match error")
125125 }
126126
127127
128128 func U () = {
129129 let N = getString(o())
130130 if ($isInstanceOf(N, "String"))
131131 then {
132132 let O = N
133133 if ((size(O) == 0))
134134 then nil
135135 else split(O, a)
136136 }
137137 else nil
138138 }
139139
140140
141141 func V (R) = if (containsElement(U(), toBase58String(R.callerPublicKey)))
142142 then true
143143 else Q(R)
144144
145145
146146 func W (R) = if ((R.caller == F))
147147 then true
148148 else throw("caller must be the pool")
149149
150150
151151 @Callable(R)
152152 func constructor (X) = {
153153 let Y = Q(R)
154154 if ((Y == Y))
155155 then [StringEntry(l(), X)]
156156 else throw("Strict value is not equal to itself.")
157157 }
158158
159159
160160
161161 @Callable(R)
162162 func setManager (Z) = {
163163 let Y = Q(R)
164164 if ((Y == Y))
165165 then {
166166 let aa = fromBase58String(Z)
167167 if ((aa == aa))
168168 then [StringEntry(k(), Z)]
169169 else throw("Strict value is not equal to itself.")
170170 }
171171 else throw("Strict value is not equal to itself.")
172172 }
173173
174174
175175
176176 @Callable(R)
177177 func confirmManager () = {
178178 let ab = P()
179179 let ac = if (isDefined(ab))
180180 then true
181181 else throw("No pending manager")
182182 if ((ac == ac))
183183 then {
184184 let ad = if ((R.callerPublicKey == value(ab)))
185185 then true
186186 else throw("You are not pending manager")
187187 if ((ad == ad))
188188 then [StringEntry(j(), toBase58String(value(ab))), DeleteEntry(k())]
189189 else throw("Strict value is not equal to itself.")
190190 }
191191 else throw("Strict value is not equal to itself.")
192192 }
193193
194194
195195
196196 @Callable(R)
197197 func setAdmins (ae) = {
198198 let Y = Q(R)
199199 if ((Y == Y))
200200 then [StringEntry(o(), makeString(ae, a))]
201201 else throw("Strict value is not equal to itself.")
202202 }
203203
204204
205205
206206 @Callable(R)
207207 func unstakeAndGetOneTkn (af,ag,ah,ai,aj,ak) = {
208208 let al = if ((size(R.payments) != 0))
209209 then throw("No pmnts expd")
210210 else true
211211 if ((al == al))
212212 then {
213213 let am = H()
214214 let an = L()
215215 let ao = fromBase58String(am[d])
216216 let ap = valueOrErrorMessage(addressFromString(an[g]), "Wr st addr")
217217 let aq = invoke(ap, "unstake", [toBase58String(ao), af], nil)
218218 if ((aq == aq))
219219 then {
220220 let ar = invoke(F, "getOneTkn", [ag, ah, ai, aj, ak], [AttachedPayment(ao, af)])
221221 if ((ar == ar))
222222 then nil
223223 else throw("Strict value is not equal to itself.")
224224 }
225225 else throw("Strict value is not equal to itself.")
226226 }
227227 else throw("Strict value is not equal to itself.")
228228 }
229229
230230
231231
232232 @Callable(R)
233233 func setAmp (as) = {
234234 let Y = V(R)
235235 if ((Y == Y))
236236 then {
237237 let at = invoke(F, "setS", [p(), as], nil)
238- let au = invoke(F, "setS", [q(r), as], nil)
238+ let au = invoke(F, "setS", [q(height), as], nil)
239239 $Tuple2(nil, $Tuple2(at, au))
240240 }
241241 else throw("Strict value is not equal to itself.")
242242 }
243243
244244
245245
246246 @Callable(R)
247-func ensureCanGetOneTkn (t) = {
247+func ensureCanGetOrPutOneTkn (t) = {
248248 let Y = W(R)
249249 if ((Y == Y))
250250 then {
251251 let av = {
252252 let N = getInteger(F, u(t))
253253 if ($isInstanceOf(N, "Int"))
254254 then {
255255 let aw = N
256256 let ax = (aw + value(getInteger(F, h)))
257- let ay = (r >= ax)
258- let az = (ax - r)
257+ let ay = (height >= ax)
258+ let az = (ax - height)
259259 if (ay)
260260 then true
261261 else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
262262 }
263263 else true
264264 }
265265 if ((av == av))
266266 then {
267267 let aA = {
268268 let N = getInteger(F, s(t))
269269 if ($isInstanceOf(N, "Int"))
270270 then {
271271 let aw = N
272272 let ax = (aw + value(getInteger(F, h)))
273- let aB = (r >= ax)
274- let az = (ax - r)
273+ let aB = (height >= ax)
274+ let az = (ax - height)
275275 if (aB)
276276 then true
277277 else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " "))
278278 }
279279 else true
280280 }
281281 if ((aA == aA))
282282 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- }
288- else throw("Strict value is not equal to itself.")
289- }
290- else throw("Strict value is not equal to itself.")
291- }
292- else throw("Strict value is not equal to itself.")
293- }
294-
295-
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
315- }
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)
283+ let aC = invoke(F, "setI", [u(t), height], nil)
335284 if ((aC == aC))
336285 then nil
337286 else throw("Strict value is not equal to itself.")
338287 }
339288 else throw("Strict value is not equal to itself.")
340289 }
341290 else throw("Strict value is not equal to itself.")
342291 }
343292 else throw("Strict value is not equal to itself.")
344293 }
345294
346295
347296 @Verifier(aD)
348297 func aE () = {
349298 let aF = {
350299 let N = M()
351300 if ($isInstanceOf(N, "ByteVector"))
352301 then {
353302 let T = N
354303 T
355304 }
356305 else if ($isInstanceOf(N, "Unit"))
357306 then aD.senderPublicKey
358307 else throw("Match error")
359308 }
360309 sigVerify(aD.bodyBytes, aD.proofs[0], aF)
361310 }
362311

github/deemru/w8io/169f3d6 
68.78 ms