tx · 6gJM2fKoXZRZjHDVqsxUHw1exWHjcrsng26H1AQVY999 3MxUSyFKcKESBg3Nf4Gwj1Qn15Jr9NTJE1a: -0.01000000 Waves 2022.08.30 19:47 [2207446] smart account 3MxUSyFKcKESBg3Nf4Gwj1Qn15Jr9NTJE1a > SELF 0.00000000 Waves
{ "type": 13, "id": "6gJM2fKoXZRZjHDVqsxUHw1exWHjcrsng26H1AQVY999", "fee": 1000000, "feeAssetId": null, "timestamp": 1661878135526, "version": 1, "sender": "3MxUSyFKcKESBg3Nf4Gwj1Qn15Jr9NTJE1a", "senderPublicKey": "Gz38AcUCTd55TqzHQABThf42Sb9M2s8VmPT4u68hNZhA", "proofs": [ "3ZQUDA9jLtJgGTGGLsK1mnidp5yVtuq3UHqENmWs4PXrr6XQKawB926kWxndtymujprjdujxGxuF9b8Gb237MfhX" ], "script": "base64:AAIFAAAAAAAABHQIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgSAwoBCCIDU0VQIgVFTVBUWSIOaWR4UG9vbEFkZHJlc3MiCWlkeExQQXNJZCIJaWR4QW1Bc0lkIglpZHhQckFzSWQiD2lkeEZhY3RTdGFrQ250ciIFZGVsYXkiC2tleUZhY3RDbnRyIhNrZXlNYW5hZ2VyUHVibGljS2V5IhprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleSILa2V5UG9vbEFkZHIiC2tleUFtdEFzc2V0Ig1rZXlQcmljZUFzc2V0Ig9rZXlBZG1pblB1YktleXMiBmtleUFtcCINa2V5QW1wSGlzdG9yeSIGaGVpZ2h0IhFsYXN0R2V0T25lVGtuQ2FsbCIGY2FsbGVyIhFsYXN0UHV0T25lVGtuQ2FsbCIQa2V5RmFjdG9yeUNvbmZpZyINa2V5UG9vbENvbmZpZyIGaUFtdEFzIgVpUHJBcyIfa2V5TWFwcGluZ3NCYXNlQXNzZXQyaW50ZXJuYWxJZCIFYkFTdHIiIWtleUFsbG93ZWRMcFN0YWJsZUFkZG9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eXRlcwkAAZEAAAACCAUAAAACYUUAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJhR1sqjaU=", "chainId": 84, "height": 2207446, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GpHG8ppWDjGpdWnzjtGLuN9vwbeuqedVmzdGX8B8K41u Next: FjCpW1xbeUFn7p9XXtmASP4uSq9xGwWURnJSw4t7m4re Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | let b = "" | |
7 | + | ||
8 | + | let c = 1 | |
9 | + | ||
10 | + | let d = 3 | |
11 | + | ||
12 | + | let e = 4 | |
13 | + | ||
14 | + | let f = 5 | |
15 | + | ||
16 | + | let g = 1 | |
17 | + | ||
18 | + | let h = "%s__delay" | |
19 | + | ||
20 | + | func i () = "%s__factoryContract" | |
21 | + | ||
22 | + | ||
23 | + | func j () = "%s__managerPublicKey" | |
24 | + | ||
25 | + | ||
26 | + | func k () = "%s__pendingManagerPublicKey" | |
27 | + | ||
28 | + | ||
29 | + | func l () = "%s__poolAddress" | |
30 | + | ||
31 | + | ||
32 | + | func m () = "%s__amountAsset" | |
33 | + | ||
34 | + | ||
35 | + | func n () = "%s__priceAsset" | |
36 | + | ||
37 | + | ||
38 | + | func o () = "%s__adminPubKeys" | |
39 | + | ||
40 | + | ||
41 | + | func p () = "%s__amp" | |
42 | + | ||
43 | + | ||
44 | + | func q (r) = ("%s%d__amp__" + toString(r)) | |
45 | + | ||
46 | + | ||
47 | + | func s (t) = makeString(["%s%s__lastGetOneTknCall", t], a) | |
48 | + | ||
49 | + | ||
50 | + | func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a) | |
51 | + | ||
52 | + | ||
53 | + | func v () = "%s__factoryConfig" | |
54 | + | ||
55 | + | ||
56 | + | func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config") | |
57 | + | ||
58 | + | ||
59 | + | func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A) | |
60 | + | ||
61 | + | ||
62 | + | func B () = "%s__allowedLpStableAddonScriptHash" | |
63 | + | ||
64 | + | ||
65 | + | func C (D,E) = valueOrErrorMessage(getString(D, E), makeString(["mandatory ", toString(D), ".", E, " not defined"], "")) | |
66 | + | ||
67 | + | ||
68 | + | func F (D,E) = valueOrErrorMessage(getInteger(D, E), makeString(["mandatory ", toString(D), ".", E, " not defined"], "")) | |
69 | + | ||
70 | + | ||
71 | + | let G = addressFromStringValue(C(this, l())) | |
72 | + | ||
73 | + | let H = addressFromStringValue(C(G, i())) | |
74 | + | ||
75 | + | func I () = { | |
76 | + | let J = C(G, m()) | |
77 | + | let K = C(G, n()) | |
78 | + | let L = F(H, z(K)) | |
79 | + | let x = F(H, z(J)) | |
80 | + | split(C(H, w(toString(x), toString(L))), a) | |
81 | + | } | |
82 | + | ||
83 | + | ||
84 | + | func M () = split(C(H, v()), a) | |
85 | + | ||
86 | + | ||
87 | + | func N () = { | |
88 | + | let O = getString(j()) | |
89 | + | if ($isInstanceOf(O, "String")) | |
90 | + | then { | |
91 | + | let P = O | |
92 | + | fromBase58String(P) | |
93 | + | } | |
94 | + | else if ($isInstanceOf(O, "Unit")) | |
95 | + | then unit | |
96 | + | else throw("Match error") | |
97 | + | } | |
98 | + | ||
99 | + | ||
100 | + | func Q () = { | |
101 | + | let O = getString(k()) | |
102 | + | if ($isInstanceOf(O, "String")) | |
103 | + | then { | |
104 | + | let P = O | |
105 | + | fromBase58String(P) | |
106 | + | } | |
107 | + | else if ($isInstanceOf(O, "Unit")) | |
108 | + | then unit | |
109 | + | else throw("Match error") | |
110 | + | } | |
111 | + | ||
112 | + | ||
113 | + | func R (S) = { | |
114 | + | let T = throw("Permission denied") | |
115 | + | let O = N() | |
116 | + | if ($isInstanceOf(O, "ByteVector")) | |
117 | + | then { | |
118 | + | let U = O | |
119 | + | if ((S.callerPublicKey == U)) | |
120 | + | then true | |
121 | + | else T | |
122 | + | } | |
123 | + | else if ($isInstanceOf(O, "Unit")) | |
124 | + | then if ((S.caller == this)) | |
125 | + | then true | |
126 | + | else T | |
127 | + | else throw("Match error") | |
128 | + | } | |
129 | + | ||
130 | + | ||
131 | + | func V () = { | |
132 | + | let O = getString(o()) | |
133 | + | if ($isInstanceOf(O, "String")) | |
134 | + | then { | |
135 | + | let P = O | |
136 | + | if ((size(P) == 0)) | |
137 | + | then nil | |
138 | + | else split(P, a) | |
139 | + | } | |
140 | + | else nil | |
141 | + | } | |
142 | + | ||
143 | + | ||
144 | + | func W (S) = if (containsElement(V(), toBase58String(S.callerPublicKey))) | |
145 | + | then true | |
146 | + | else R(S) | |
147 | + | ||
148 | + | ||
149 | + | func X (S) = if ((S.caller == G)) | |
150 | + | then true | |
151 | + | else throw("caller must be the pool") | |
152 | + | ||
153 | + | ||
154 | + | @Callable(S) | |
155 | + | func constructor (Y) = { | |
156 | + | let Z = R(S) | |
157 | + | if ((Z == Z)) | |
158 | + | then [StringEntry(l(), Y)] | |
159 | + | else throw("Strict value is not equal to itself.") | |
160 | + | } | |
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | @Callable(S) | |
165 | + | func setManager (aa) = { | |
166 | + | let Z = R(S) | |
167 | + | if ((Z == Z)) | |
168 | + | then { | |
169 | + | let ab = fromBase58String(aa) | |
170 | + | if ((ab == ab)) | |
171 | + | then [StringEntry(k(), aa)] | |
172 | + | else throw("Strict value is not equal to itself.") | |
173 | + | } | |
174 | + | else throw("Strict value is not equal to itself.") | |
175 | + | } | |
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | @Callable(S) | |
180 | + | func confirmManager () = { | |
181 | + | let ac = Q() | |
182 | + | let ad = if (isDefined(ac)) | |
183 | + | then true | |
184 | + | else throw("No pending manager") | |
185 | + | if ((ad == ad)) | |
186 | + | then { | |
187 | + | let ae = if ((S.callerPublicKey == value(ac))) | |
188 | + | then true | |
189 | + | else throw("You are not pending manager") | |
190 | + | if ((ae == ae)) | |
191 | + | then [StringEntry(j(), toBase58String(value(ac))), DeleteEntry(k())] | |
192 | + | else throw("Strict value is not equal to itself.") | |
193 | + | } | |
194 | + | else throw("Strict value is not equal to itself.") | |
195 | + | } | |
196 | + | ||
197 | + | ||
198 | + | ||
199 | + | @Callable(S) | |
200 | + | func setAdmins (af) = { | |
201 | + | let Z = R(S) | |
202 | + | if ((Z == Z)) | |
203 | + | then [StringEntry(o(), makeString(af, a))] | |
204 | + | else throw("Strict value is not equal to itself.") | |
205 | + | } | |
206 | + | ||
207 | + | ||
208 | + | ||
209 | + | @Callable(S) | |
210 | + | func unstakeAndGetOneTkn (ag,ah,ai,aj,ak,al) = { | |
211 | + | let am = if ((size(S.payments) != 0)) | |
212 | + | then throw("No pmnts expd") | |
213 | + | else true | |
214 | + | if ((am == am)) | |
215 | + | then { | |
216 | + | let an = I() | |
217 | + | let ao = M() | |
218 | + | let ap = fromBase58String(an[d]) | |
219 | + | let aq = valueOrErrorMessage(addressFromString(ao[g]), "Wr st addr") | |
220 | + | let ar = invoke(aq, "unstake", [toBase58String(ap), ag], nil) | |
221 | + | if ((ar == ar)) | |
222 | + | then { | |
223 | + | let as = reentrantInvoke(G, "getOneTkn", [ah, ai, aj, ak, al], [AttachedPayment(ap, ag)]) | |
224 | + | if ((as == as)) | |
225 | + | then nil | |
226 | + | else throw("Strict value is not equal to itself.") | |
227 | + | } | |
228 | + | else throw("Strict value is not equal to itself.") | |
229 | + | } | |
230 | + | else throw("Strict value is not equal to itself.") | |
231 | + | } | |
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | @Callable(S) | |
236 | + | func setAmp (at) = { | |
237 | + | let Z = W(S) | |
238 | + | if ((Z == Z)) | |
239 | + | then { | |
240 | + | let au = invoke(G, "setS", [p(), at], nil) | |
241 | + | let av = invoke(G, "setS", [q(r), at], nil) | |
242 | + | $Tuple2(nil, $Tuple2(au, av)) | |
243 | + | } | |
244 | + | else throw("Strict value is not equal to itself.") | |
245 | + | } | |
246 | + | ||
247 | + | ||
248 | + | ||
249 | + | @Callable(S) | |
250 | + | func ensureCanGetOneTkn (t) = { | |
251 | + | let Z = X(S) | |
252 | + | if ((Z == Z)) | |
253 | + | then { | |
254 | + | let aw = { | |
255 | + | let O = getInteger(G, u(t)) | |
256 | + | if ($isInstanceOf(O, "Int")) | |
257 | + | then { | |
258 | + | let ax = O | |
259 | + | let ay = (ax + value(getInteger(G, h))) | |
260 | + | let az = (r >= ay) | |
261 | + | let aA = (ay - r) | |
262 | + | if (az) | |
263 | + | then true | |
264 | + | else throw(makeString(["you should wait", toString(aA), "blocks more to perform the action"], " ")) | |
265 | + | } | |
266 | + | else true | |
267 | + | } | |
268 | + | if ((aw == aw)) | |
269 | + | then { | |
270 | + | let aB = { | |
271 | + | let O = getInteger(G, s(t)) | |
272 | + | if ($isInstanceOf(O, "Int")) | |
273 | + | then { | |
274 | + | let ax = O | |
275 | + | let ay = (ax + value(getInteger(G, h))) | |
276 | + | let aC = (r >= ay) | |
277 | + | let aA = (ay - r) | |
278 | + | if (aC) | |
279 | + | then true | |
280 | + | else throw(makeString(["you should wait", toString(aA), "blocks more to perform the action"], " ")) | |
281 | + | } | |
282 | + | else true | |
283 | + | } | |
284 | + | if ((aB == aB)) | |
285 | + | then { | |
286 | + | let aD = invoke(G, "setI", [u(t), r], nil) | |
287 | + | if ((aD == aD)) | |
288 | + | then nil | |
289 | + | else throw("Strict value is not equal to itself.") | |
290 | + | } | |
291 | + | else throw("Strict value is not equal to itself.") | |
292 | + | } | |
293 | + | else throw("Strict value is not equal to itself.") | |
294 | + | } | |
295 | + | else throw("Strict value is not equal to itself.") | |
296 | + | } | |
297 | + | ||
298 | + | ||
299 | + | ||
300 | + | @Callable(S) | |
301 | + | func ensureCanPutOneTkn (t) = { | |
302 | + | let Z = X(S) | |
303 | + | if ((Z == Z)) | |
304 | + | then { | |
305 | + | let aw = { | |
306 | + | let O = getInteger(G, u(t)) | |
307 | + | if ($isInstanceOf(O, "Int")) | |
308 | + | then { | |
309 | + | let ax = O | |
310 | + | let ay = (ax + value(getInteger(G, h))) | |
311 | + | let az = (r >= ay) | |
312 | + | let aA = (ay - r) | |
313 | + | if (az) | |
314 | + | then true | |
315 | + | else throw(makeString(["you should wait", toString(aA), "blocks more to perform the action"], " ")) | |
316 | + | } | |
317 | + | else true | |
318 | + | } | |
319 | + | if ((aw == aw)) | |
320 | + | then { | |
321 | + | let aB = { | |
322 | + | let O = getInteger(G, s(t)) | |
323 | + | if ($isInstanceOf(O, "Int")) | |
324 | + | then { | |
325 | + | let ax = O | |
326 | + | let ay = (ax + value(getInteger(G, h))) | |
327 | + | let aC = (r >= ay) | |
328 | + | let aA = (ay - r) | |
329 | + | if (aC) | |
330 | + | then true | |
331 | + | else throw(makeString(["you should wait", toString(aA), "blocks more to perform the action"], " ")) | |
332 | + | } | |
333 | + | else true | |
334 | + | } | |
335 | + | if ((aB == aB)) | |
336 | + | then { | |
337 | + | let aD = invoke(G, "setI", [u(t), r], nil) | |
338 | + | if ((aD == aD)) | |
339 | + | then nil | |
340 | + | else throw("Strict value is not equal to itself.") | |
341 | + | } | |
342 | + | else throw("Strict value is not equal to itself.") | |
343 | + | } | |
344 | + | else throw("Strict value is not equal to itself.") | |
345 | + | } | |
346 | + | else throw("Strict value is not equal to itself.") | |
347 | + | } | |
348 | + | ||
349 | + | ||
350 | + | @Verifier(aE) | |
351 | + | func aF () = { | |
352 | + | let aG = { | |
353 | + | let O = N() | |
354 | + | if ($isInstanceOf(O, "ByteVector")) | |
355 | + | then { | |
356 | + | let U = O | |
357 | + | U | |
358 | + | } | |
359 | + | else if ($isInstanceOf(O, "Unit")) | |
360 | + | then aE.senderPublicKey | |
361 | + | else throw("Match error") | |
362 | + | } | |
363 | + | let O = aE | |
364 | + | if ($isInstanceOf(O, "SetScriptTransaction")) | |
365 | + | then { | |
366 | + | let P = O | |
367 | + | let aH = blake2b256(value(P.script)) | |
368 | + | let aI = fromBase64String(value(getString(H, B()))) | |
369 | + | let aJ = scriptHash(this) | |
370 | + | if (if ((aI == aH)) | |
371 | + | then (aJ != aH) | |
372 | + | else false) | |
373 | + | then true | |
374 | + | else sigVerify(aE.bodyBytes, aE.proofs[0], aG) | |
375 | + | } | |
376 | + | else sigVerify(aE.bodyBytes, aE.proofs[0], aG) | |
377 | + | } | |
378 | + |
github/deemru/w8io/169f3d6 51.84 ms ◑