tx · 6csLhFmjMwSie8E2HXQUoeb7AoghQ6bwYcqgvTGEapPo 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh: -0.01900000 Waves 2022.09.09 12:17 [2221381] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves
{ "type": 13, "id": "6csLhFmjMwSie8E2HXQUoeb7AoghQ6bwYcqgvTGEapPo", "fee": 1900000, "feeAssetId": null, "timestamp": 1662715081620, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "L1uz9SxHjQENkAk1oiJLtC4tWGQ3qEYZNQwaXH7JMsUtJZYqcVtGdgWRtMKWkmFDNmonUFXJbucpduL4dH7snzV" ], "script": "base64:AAIFAAAAAAAAAC0IAhIJCgcICBgYAQgBEgASCAoGCAgICAgIEgMKARgSAwoBCBIAEgASBAoCCAgAAAA1AAAAAANTRVACAAAAAl9fAAAAAAx3YXZlc0Fzc2V0SWQCAAAABVdBVkVTAAAAABFpbnZhbGlkUHJpY2VBc3NldAIAAAATSW52YWxpZCBwcmljZSBhc3NldAEAAAAIdGhyb3dFcnIAAAABAAAAA21zZwkAAAIAAAABCQAEuQAAAAIJAARMAAAAAgIAAAAQdXNlcl9wb29scy5yaWRlOgkABEwAAAACBQAAAANtc2cFAAAAA25pbAIAAAABIAEAAAAHdGhyb3dQRAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAABR0aHJvd0NyZWF0ZU5vdENhbGxlZAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAJENyZWF0ZSBpcyBub3QgY2FsbGVkIGZvciBhc3NldHMgcGFpcgEAAAARdGhyb3dZb3VOb3RJc3N1ZXIAAAAACQEAAAAIdGhyb3dFcnIAAAABAgAAAB5Zb3UgYXJlIG5vdCBhbW91bn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kBAAAADmtleVByaWNlQXNzZXRzAAAAAAAAAAFpAQAAAA5zdGF0dXNSRUFET05MWQAAAAIAAAANYW1vdW50QXNzZXRJZAAAAAxwcmljZUFzc2V0SWQEAAAABnN0YXR1cwQAAAAHJG1hdGNoMAkABCIAAAABCQEAAAAJa2V5U3RhdHVzAAAAAgUAAAANYW1vdW50QXNzZXRJZAUAAAAMcHJpY2VBc3NldElkAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXMFAAAAByRtYXRjaDAFAAAAAXMFAAAABHVuaXQJAAUUAAAAAgUAAAADbmlsBQAAAAZzdGF0dXMAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5/4DwvQ==", "chainId": 84, "height": 2221381, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4fhdtpmrsuVQxeDULS4vr6YrEN2498WxaygNFKSWR4fs Next: E6fTFYGVFTrt8D83bs17eBT3fq9Sehqd6tWYT2c8VDyi Diff:
Old | New | Differences | |
---|---|---|---|
110 | 110 | func P () = makeString(["%s", "priceAssetsMinAmount"], a) | |
111 | 111 | ||
112 | 112 | ||
113 | - | func Q () = makeString(["%s", " | |
113 | + | func Q () = makeString(["%s", "priceAssets"], a) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined")) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "WAVES" | |
7 | 7 | ||
8 | 8 | let c = "Invalid price asset" | |
9 | 9 | ||
10 | 10 | func d (e) = throw(makeString(["user_pools.ride:", e], " ")) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f () = d("Permission denied") | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g () = d("Create is not called for assets pair") | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h () = d("You are not amountAsset issuer") | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func i () = d("Pool with such assets already exists") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func j () = d("Asset is not verified") | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func k () = d(c) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func l () = d("Invalid fee asset") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func m () = d("Invalid amount asset attached") | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func n () = d("Invalid status") | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func o () = d("Can activate pool only in 'pending' status") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func p () = d("FactoryV2 returned not string") | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func q () = d("invalid price asset amount") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func r () = d("invalid fee") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func s () = makeString(["%s", "managerPublicKey"], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func t () = makeString(["%s", "pendingManagerPublicKey"], a) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func u () = makeString(["%s", "adminPubKeys"], a) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func v (w,x) = makeString(["%s%s%s", "status", w, x], a) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func y () = makeString(["%s", "factoryContract"], a) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func z () = makeString(["%s", "assetsStoreContract"], a) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func A (w,x) = makeString(["%s%s%s", "suffix", w, x], a) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func B () = makeString(["%s", "lastIndex"], a) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let C = "u" | |
77 | 77 | ||
78 | 78 | let D = "pending" | |
79 | 79 | ||
80 | 80 | let E = "declined" | |
81 | 81 | ||
82 | 82 | let F = "active" | |
83 | 83 | ||
84 | 84 | let G = [D, E, F] | |
85 | 85 | ||
86 | 86 | func H (w,x) = makeString(["%s%s%s", "createCalled", w, x], a) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func I (w,x) = makeString(["%s%s%s", "createCaller", w, x], a) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func J (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func K (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func L (w,x) = makeString(["%s%s%s", "height", w, x], a) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func M () = makeString(["%s", "feeAssetId"], a) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func N () = makeString(["%s", "feeAmount"], a) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func O () = makeString(["%s", "amountAssetMinAmount"], a) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func P () = makeString(["%s", "priceAssetsMinAmount"], a) | |
111 | 111 | ||
112 | 112 | ||
113 | - | func Q () = makeString(["%s", " | |
113 | + | func Q () = makeString(["%s", "priceAssets"], a) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined")) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func T (U) = { | |
120 | 120 | let V = U | |
121 | 121 | if ($isInstanceOf(V, "String")) | |
122 | 122 | then { | |
123 | 123 | let W = V | |
124 | 124 | if ((size(W) == 0)) | |
125 | 125 | then nil | |
126 | 126 | else split(W, a) | |
127 | 127 | } | |
128 | 128 | else if ($isInstanceOf(V, "Unit")) | |
129 | 129 | then nil | |
130 | 130 | else throw("Match error") | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | let X = addressFromStringValue(R(y())) | |
135 | 135 | ||
136 | 136 | func Y (w,x) = valueOrElse(getBoolean(H(w, x)), false) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Z (w,x) = if (Y(w, x)) | |
140 | 140 | then true | |
141 | 141 | else g() | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aa () = { | |
145 | 145 | let V = getString(s()) | |
146 | 146 | if ($isInstanceOf(V, "String")) | |
147 | 147 | then { | |
148 | 148 | let W = V | |
149 | 149 | fromBase58String(W) | |
150 | 150 | } | |
151 | 151 | else if ($isInstanceOf(V, "Unit")) | |
152 | 152 | then unit | |
153 | 153 | else throw("Match error") | |
154 | 154 | } | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ab () = { | |
158 | 158 | let V = getString(t()) | |
159 | 159 | if ($isInstanceOf(V, "String")) | |
160 | 160 | then { | |
161 | 161 | let W = V | |
162 | 162 | fromBase58String(W) | |
163 | 163 | } | |
164 | 164 | else if ($isInstanceOf(V, "Unit")) | |
165 | 165 | then unit | |
166 | 166 | else throw("Match error") | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ac (ad) = { | |
171 | 171 | let V = aa() | |
172 | 172 | if ($isInstanceOf(V, "ByteVector")) | |
173 | 173 | then { | |
174 | 174 | let ae = V | |
175 | 175 | (ad.callerPublicKey == ae) | |
176 | 176 | } | |
177 | 177 | else if ($isInstanceOf(V, "Unit")) | |
178 | 178 | then (ad.caller == this) | |
179 | 179 | else throw("Match error") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func af (ad) = if (ac(ad)) | |
184 | 184 | then true | |
185 | 185 | else f() | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func ag (ad) = { | |
189 | 189 | let ah = T(getString(u())) | |
190 | 190 | if (containsElement(ah, toBase58String(ad.callerPublicKey))) | |
191 | 191 | then true | |
192 | 192 | else af(ad) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func ai (aj) = (valueOrElse(getInteger(addressFromStringValue(R(z())), (("status_<" + aj) + ">")), 0) == 2) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ak (al) = { | |
200 | 200 | let V = al.assetId | |
201 | 201 | if ($isInstanceOf(V, "ByteVector")) | |
202 | 202 | then { | |
203 | 203 | let am = V | |
204 | 204 | let an = value(assetInfo(am)) | |
205 | 205 | $Tuple2(toBase58String(am), an) | |
206 | 206 | } | |
207 | 207 | else if ($isInstanceOf(V, "Unit")) | |
208 | 208 | then $Tuple2(b, unit) | |
209 | 209 | else throw("Match error") | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func ao (ap) = containsElement(G, ap) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(ad) | |
217 | 217 | func constructor (aq,ar,as,at,au,av,aw) = { | |
218 | 218 | let ax = af(ad) | |
219 | 219 | if ((ax == ax)) | |
220 | 220 | then [StringEntry(y(), aq), StringEntry(z(), ar), StringEntry(Q(), makeString(as, a)), StringEntry(P(), makeString(at, a)), IntegerEntry(O(), au), StringEntry(M(), av), IntegerEntry(N(), aw)] | |
221 | 221 | else throw("Strict value is not equal to itself.") | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | ||
226 | 226 | @Callable(ad) | |
227 | 227 | func create () = { | |
228 | 228 | let ay = value(ad.payments[0]) | |
229 | 229 | let az = value(ad.payments[1]) | |
230 | 230 | let aA = value(ad.payments[2]) | |
231 | 231 | let aB = ak(ay) | |
232 | 232 | let w = aB._1 | |
233 | 233 | let aC = aB._2 | |
234 | 234 | let aD = ak(az) | |
235 | 235 | let x = aD._1 | |
236 | 236 | let aE = aD._2 | |
237 | 237 | let aF = ak(aA) | |
238 | 238 | let av = aF._1 | |
239 | 239 | let aG = aF._2 | |
240 | 240 | let aH = T(getString(X, Q())) | |
241 | 241 | let aI = 1 | |
242 | 242 | let aJ = if (ac(ad)) | |
243 | 243 | then aI | |
244 | 244 | else { | |
245 | 245 | let aK = valueOrErrorMessage(indexOf(aH, x), c) | |
246 | 246 | value(parseInt(T(getString(P()))[aK])) | |
247 | 247 | } | |
248 | 248 | let aL = valueOrElse(getInteger(B()), 0) | |
249 | 249 | let aM = (aL + 1) | |
250 | 250 | let aN = [if (!(Y(w, x))) | |
251 | 251 | then true | |
252 | 252 | else i(), if (if (ac(ad)) | |
253 | 253 | then true | |
254 | 254 | else ai(w)) | |
255 | 255 | then true | |
256 | 256 | else j(), if ((getString(M()) == av)) | |
257 | 257 | then true | |
258 | 258 | else l(), if (if (ac(ad)) | |
259 | 259 | then true | |
260 | 260 | else (ay.amount >= getIntegerValue(O()))) | |
261 | 261 | then true | |
262 | 262 | else m(), if (if (ac(ad)) | |
263 | 263 | then true | |
264 | 264 | else (az.amount >= aJ)) | |
265 | 265 | then true | |
266 | 266 | else q(), if ((aA.amount == getInteger(N()))) | |
267 | 267 | then true | |
268 | 268 | else r()] | |
269 | 269 | if ((aN == aN)) | |
270 | 270 | then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ad.caller)), IntegerEntry(B(), aM), StringEntry(A(w, x), (toString(aM) + C)), IntegerEntry(L(w, x), height), StringEntry(v(w, x), D), IntegerEntry(J(w, x), ay.amount), IntegerEntry(K(w, x), az.amount)] | |
271 | 271 | else throw("Strict value is not equal to itself.") | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | ||
276 | 276 | @Callable(ad) | |
277 | 277 | func activate (aO,w,aP,x,aQ,aR) = { | |
278 | 278 | let aN = [ag(ad), if (Y(w, x)) | |
279 | 279 | then true | |
280 | 280 | else g(), if ((value(getString(v(w, x))) == D)) | |
281 | 281 | then true | |
282 | 282 | else o()] | |
283 | 283 | if ((aN == aN)) | |
284 | 284 | then { | |
285 | 285 | let aS = invoke(X, "activateNewPool", [aO, w, x, ((aP + aQ) + "LP"), (((aP + "/") + aQ) + " pool liquidity provider token"), 0, "VLTPOOL", aR], nil) | |
286 | 286 | if ((aS == aS)) | |
287 | 287 | then { | |
288 | 288 | let aT = { | |
289 | 289 | let V = aS | |
290 | 290 | if ($isInstanceOf(V, "String")) | |
291 | 291 | then { | |
292 | 292 | let am = V | |
293 | 293 | am | |
294 | 294 | } | |
295 | 295 | else p() | |
296 | 296 | } | |
297 | 297 | if ((aT == aT)) | |
298 | 298 | then { | |
299 | 299 | let aU = assetBalance(this, fromBase58String(aT)) | |
300 | 300 | if ((aU == aU)) | |
301 | 301 | then { | |
302 | 302 | let aV = invoke(addressFromStringValue(aO), "put", [0, false], [AttachedPayment(fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES")) | |
303 | 303 | then unit | |
304 | 304 | else fromBase58String(x), value(getInteger(K(w, x))))]) | |
305 | 305 | if ((aV == aV)) | |
306 | 306 | then { | |
307 | 307 | let aW = assetBalance(this, fromBase58String(aT)) | |
308 | 308 | if ((aW == aW)) | |
309 | 309 | then { | |
310 | 310 | let aX = value(addressFromString(value(getString(I(w, x))))) | |
311 | 311 | [StringEntry(v(w, x), F), ScriptTransfer(aX, (aW - aU), fromBase58String(aT))] | |
312 | 312 | } | |
313 | 313 | else throw("Strict value is not equal to itself.") | |
314 | 314 | } | |
315 | 315 | else throw("Strict value is not equal to itself.") | |
316 | 316 | } | |
317 | 317 | else throw("Strict value is not equal to itself.") | |
318 | 318 | } | |
319 | 319 | else throw("Strict value is not equal to itself.") | |
320 | 320 | } | |
321 | 321 | else throw("Strict value is not equal to itself.") | |
322 | 322 | } | |
323 | 323 | else throw("Strict value is not equal to itself.") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(ad) | |
329 | 329 | func setAdmins (aY) = { | |
330 | 330 | let ax = af(ad) | |
331 | 331 | if ((ax == ax)) | |
332 | 332 | then [StringEntry(u(), makeString(aY, a))] | |
333 | 333 | else throw("Strict value is not equal to itself.") | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Callable(ad) | |
339 | 339 | func setManager (aZ) = { | |
340 | 340 | let ax = af(ad) | |
341 | 341 | if ((ax == ax)) | |
342 | 342 | then { | |
343 | 343 | let ba = fromBase58String(aZ) | |
344 | 344 | if ((ba == ba)) | |
345 | 345 | then [StringEntry(t(), aZ)] | |
346 | 346 | else throw("Strict value is not equal to itself.") | |
347 | 347 | } | |
348 | 348 | else throw("Strict value is not equal to itself.") | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | ||
353 | 353 | @Callable(ad) | |
354 | 354 | func confirmManager () = { | |
355 | 355 | let bb = ab() | |
356 | 356 | let bc = if (isDefined(bb)) | |
357 | 357 | then true | |
358 | 358 | else throw("No pending manager") | |
359 | 359 | if ((bc == bc)) | |
360 | 360 | then { | |
361 | 361 | let bd = if ((ad.callerPublicKey == value(bb))) | |
362 | 362 | then true | |
363 | 363 | else throw("You are not pending manager") | |
364 | 364 | if ((bd == bd)) | |
365 | 365 | then [StringEntry(s(), toBase58String(value(bb))), DeleteEntry(t())] | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | else throw("Strict value is not equal to itself.") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | ||
373 | 373 | @Callable(ad) | |
374 | 374 | func priceAssetsREADONLY () = $Tuple2(nil, T(getString(Q()))) | |
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | @Callable(ad) | |
379 | 379 | func statusREADONLY (w,x) = { | |
380 | 380 | let ap = { | |
381 | 381 | let V = getString(v(w, x)) | |
382 | 382 | if ($isInstanceOf(V, "String")) | |
383 | 383 | then { | |
384 | 384 | let W = V | |
385 | 385 | W | |
386 | 386 | } | |
387 | 387 | else unit | |
388 | 388 | } | |
389 | 389 | $Tuple2(nil, ap) | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Verifier(be) | |
394 | 394 | func bf () = { | |
395 | 395 | let bg = { | |
396 | 396 | let V = aa() | |
397 | 397 | if ($isInstanceOf(V, "ByteVector")) | |
398 | 398 | then { | |
399 | 399 | let ae = V | |
400 | 400 | ae | |
401 | 401 | } | |
402 | 402 | else if ($isInstanceOf(V, "Unit")) | |
403 | 403 | then be.senderPublicKey | |
404 | 404 | else throw("Match error") | |
405 | 405 | } | |
406 | 406 | sigVerify(be.bodyBytes, be.proofs[0], bg) | |
407 | 407 | } | |
408 | 408 |
github/deemru/w8io/026f985 50.82 ms ◑