tx · DKxyAgX2ubtyYE6nAwvpw2t3JdQmVy9x36YuCS9W2mWy 3Mzt645zA6u2QG6jRPoo6H6CK89kVggFgNi: -0.02500000 Waves 2022.06.07 15:34 [2085952] smart account 3Mzt645zA6u2QG6jRPoo6H6CK89kVggFgNi > SELF 0.00000000 Waves
{ "type": 13, "id": "DKxyAgX2ubtyYE6nAwvpw2t3JdQmVy9x36YuCS9W2mWy", "fee": 2500000, "feeAssetId": null, "timestamp": 1654605370791, "version": 1, "sender": "3Mzt645zA6u2QG6jRPoo6H6CK89kVggFgNi", "senderPublicKey": "7uejFa4bRSfBcedNiZpvC7nH9dnudVtejqqd8Rq4o8Ay", "proofs": [ "21UyqyvvEXBVZ4SUShdiDyB1275MfzW5oqMwca7GMbyNLrSNtjN1agWiqq3g2SMHYGYWjcG94A4qUXsGVb2o7dgn" ], "script": "base64:AAIFAAAAAAAAACwIAhIHCgUICAgBCBIDCgEBEgASABIFCgMICAgSAwoBCBIDCgEIEgMKAQgSAAAAADIAAAAAA1NFUAIAAAACX18BAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAABBnZXRCb29sZWFuT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAADmZhaWxFeGVjdXRlR2V0AAAABAAAAANtc2cAAAAMYmFzZUFzc2V0U3RyAAAADnVzZXJBZGRyZXNzU3RyAAAACmdldFR4SWRTdHIJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUA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AAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleQUkYhs=", "chainId": 84, "height": 2085952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 65remLvToC36SH7VaK6p9MCsrzbBAgEb247SjKueYXQg Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | func b (c) = valueOrErrorMessage(getString(this, c), ("No data for this.key=" + c)) | |
7 | + | ||
8 | + | ||
9 | + | func d (c) = valueOrErrorMessage(getBoolean(this, c), ("No data for this.key=" + c)) | |
10 | + | ||
11 | + | ||
12 | + | func e (f,g,h,i) = throw(((((((f + ": baseAssetStr=") + g) + " userAddressStr=") + h) + " getTxIdStr=") + i)) | |
13 | + | ||
14 | + | ||
15 | + | func j (g) = ("%s%s%s__config__asset__" + g) | |
16 | + | ||
17 | + | ||
18 | + | func k () = "%s__nextInternalAssetId" | |
19 | + | ||
20 | + | ||
21 | + | func l (m) = ("%s%s%d__price__last__" + m) | |
22 | + | ||
23 | + | ||
24 | + | func n (m,o) = makeString(["%s%s%s%d%s__topup__last__height", m, o], a) | |
25 | + | ||
26 | + | ||
27 | + | func p (m,q,r) = makeString(["%s%s%d%d%d__price__history", m, toString(q), toString(r)], a) | |
28 | + | ||
29 | + | ||
30 | + | func s (m) = ("%s%s%d__total__locked__" + m) | |
31 | + | ||
32 | + | ||
33 | + | func t (u,h) = makeString(["%s%s%d%s__total__locked", u, h], a) | |
34 | + | ||
35 | + | ||
36 | + | func v (w) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(w)) | |
37 | + | ||
38 | + | ||
39 | + | func x (g) = ("%s%s%s__mappings__baseAsset2internalId__" + g) | |
40 | + | ||
41 | + | ||
42 | + | func y (z) = ("%s%s%s__mappings__share2baseAssetId__" + z) | |
43 | + | ||
44 | + | ||
45 | + | func A (g) = ("%s%s%s__mappings__baseAsset2shareId__" + g) | |
46 | + | ||
47 | + | ||
48 | + | func B (u) = ("%s%s%d__shutdown__put__" + u) | |
49 | + | ||
50 | + | ||
51 | + | func C (u) = ("%s%s%d__shutdown__manager__" + u) | |
52 | + | ||
53 | + | ||
54 | + | func D () = "%s__managerPublicKey" | |
55 | + | ||
56 | + | ||
57 | + | func E () = "%s__pendingManagerPublicKey" | |
58 | + | ||
59 | + | ||
60 | + | let F = 1 | |
61 | + | ||
62 | + | let G = 2 | |
63 | + | ||
64 | + | let H = 3 | |
65 | + | ||
66 | + | let I = 4 | |
67 | + | ||
68 | + | let J = 5 | |
69 | + | ||
70 | + | func K (z,u,L,M,N) = makeString(["%s%d%d%d%d", z, u, toString(L), toString(M), toString(N)], a) | |
71 | + | ||
72 | + | ||
73 | + | let O = 1 | |
74 | + | ||
75 | + | let P = 2 | |
76 | + | ||
77 | + | func Q (R,S) = makeString(["%d%d", toString(R), toString(S)], a) | |
78 | + | ||
79 | + | ||
80 | + | func T (c) = { | |
81 | + | let U = split(valueOrElse(getString(this, c), Q(0, 0)), a) | |
82 | + | [-1, parseIntValue(U[O]), parseIntValue(U[P])] | |
83 | + | } | |
84 | + | ||
85 | + | ||
86 | + | func V (W,u,X,Y) = makeString(["%s%d%s%s", W, u, X, Y], a) | |
87 | + | ||
88 | + | ||
89 | + | let Z = 1 | |
90 | + | ||
91 | + | let aa = 2 | |
92 | + | ||
93 | + | let ab = 3 | |
94 | + | ||
95 | + | let ac = 4 | |
96 | + | ||
97 | + | let ad = 5 | |
98 | + | ||
99 | + | let ae = 6 | |
100 | + | ||
101 | + | let af = 7 | |
102 | + | ||
103 | + | let ag = 8 | |
104 | + | ||
105 | + | func ah (ai,aj,ak,al,am,an,ao,ap) = makeString(["%s%d%d%d%d%d%d%d", ai, aj, ak, al, am, an, ao, ap], a) | |
106 | + | ||
107 | + | ||
108 | + | func aq (ai,aj,ak,al,am,an,ao,ap) = ah(ai, toString(aj), toString(ak), toString(al), toString(am), toString(an), toString(ao), toString(ap)) | |
109 | + | ||
110 | + | ||
111 | + | func ar (as,at,au) = ah(at, as[aa], as[ab], as[ac], as[ad], as[ae], as[af], toString(au)) | |
112 | + | ||
113 | + | ||
114 | + | func av (g) = { | |
115 | + | let c = j(g) | |
116 | + | split(b(c), a) | |
117 | + | } | |
118 | + | ||
119 | + | ||
120 | + | func aw (c,R,S) = { | |
121 | + | let ax = T(c) | |
122 | + | StringEntry(c, Q((ax[O] + R), (ax[P] + S))) | |
123 | + | } | |
124 | + | ||
125 | + | ||
126 | + | func ay (c,R,S) = { | |
127 | + | let ax = T(c) | |
128 | + | StringEntry(c, Q((ax[O] - R), (ax[P] - S))) | |
129 | + | } | |
130 | + | ||
131 | + | ||
132 | + | func az (u,aA,aB,aC,L,M) = { | |
133 | + | let U = T(s(u)) | |
134 | + | let aD = U[P] | |
135 | + | let aE = assetBalance(this, aA) | |
136 | + | let aF = ((aE - aD) + aB) | |
137 | + | if ((0 > aF)) | |
138 | + | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aE)) + " baseAssetBalanceConsideringLock=") + toString(aF))) | |
139 | + | else { | |
140 | + | let aG = value(assetInfo(aC)).quantity | |
141 | + | let ak = if ((aG == 0)) | |
142 | + | then (1 * M) | |
143 | + | else fraction(aF, M, aG) | |
144 | + | $Tuple5(ak, aE, aD, aF, aG) | |
145 | + | } | |
146 | + | } | |
147 | + | ||
148 | + | ||
149 | + | func aH (u,aA,aC,L,M) = az(u, aA, 0, aC, L, M) | |
150 | + | ||
151 | + | ||
152 | + | func aI (g) = { | |
153 | + | let aA = fromBase58String(g) | |
154 | + | let aJ = av(g) | |
155 | + | let z = aJ[F] | |
156 | + | let aC = fromBase58String(z) | |
157 | + | let L = parseIntValue(aJ[H]) | |
158 | + | let M = parseIntValue(aJ[I]) | |
159 | + | let u = aJ[G] | |
160 | + | let aK = aH(u, aA, aC, L, M) | |
161 | + | $Tuple6(IntegerEntry("price", aK._1), IntegerEntry("decimalsMultPrice", M), IntegerEntry("baseAssetBalance", aK._2), IntegerEntry("totalLockedBaseAmount", aK._3), IntegerEntry("baseAssetBalanceConsideringLock", aK._4), IntegerEntry("shareEmission", aK._5)) | |
162 | + | } | |
163 | + | ||
164 | + | ||
165 | + | func aL () = { | |
166 | + | let aM = getString(D()) | |
167 | + | if ($isInstanceOf(aM, "String")) | |
168 | + | then { | |
169 | + | let aN = aM | |
170 | + | fromBase58String(aN) | |
171 | + | } | |
172 | + | else if ($isInstanceOf(aM, "Unit")) | |
173 | + | then unit | |
174 | + | else throw("Match error") | |
175 | + | } | |
176 | + | ||
177 | + | ||
178 | + | func aO () = { | |
179 | + | let aM = getString(E()) | |
180 | + | if ($isInstanceOf(aM, "String")) | |
181 | + | then { | |
182 | + | let aN = aM | |
183 | + | fromBase58String(aN) | |
184 | + | } | |
185 | + | else if ($isInstanceOf(aM, "Unit")) | |
186 | + | then unit | |
187 | + | else throw("Match error") | |
188 | + | } | |
189 | + | ||
190 | + | ||
191 | + | func aP (aQ) = { | |
192 | + | let aR = throw("Permission denied") | |
193 | + | let aM = aL() | |
194 | + | if ($isInstanceOf(aM, "ByteVector")) | |
195 | + | then { | |
196 | + | let aS = aM | |
197 | + | if ((aQ.callerPublicKey == aS)) | |
198 | + | then true | |
199 | + | else aR | |
200 | + | } | |
201 | + | else if ($isInstanceOf(aM, "Unit")) | |
202 | + | then if ((aQ.caller == this)) | |
203 | + | then true | |
204 | + | else aR | |
205 | + | else throw("Match error") | |
206 | + | } | |
207 | + | ||
208 | + | ||
209 | + | @Callable(aQ) | |
210 | + | func adminRegisterAsset (g,aT,aU,aV,aW) = { | |
211 | + | let aA = fromBase58String(g) | |
212 | + | let aX = value(assetInfo(aA)).decimals | |
213 | + | if ((aQ.caller != this)) | |
214 | + | then throw("permissions denied") | |
215 | + | else if ((toString(addressFromStringValue(aW)) != aW)) | |
216 | + | then throw("invalid shutdownManagerAddress") | |
217 | + | else if ((0 > aV)) | |
218 | + | then throw(("invalid getDelayinBlocks=" + toString(aV))) | |
219 | + | else { | |
220 | + | let aY = Issue(aT, aU, 1, aX, true) | |
221 | + | let aC = calculateAssetId(aY) | |
222 | + | let z = toBase58String(aC) | |
223 | + | let M = ((100 * 1000) * 1000) | |
224 | + | let L = pow(10, 0, aX, 0, 0, DOWN) | |
225 | + | let aZ = (1 * M) | |
226 | + | let ba = valueOrElse(getInteger(this, k()), 0) | |
227 | + | let u = toString(ba) | |
228 | + | [StringEntry(j(g), K(z, u, L, M, aV)), StringEntry(v(ba), g), StringEntry(x(g), u), StringEntry(y(z), g), StringEntry(A(g), z), BooleanEntry(B(u), false), StringEntry(C(u), aW), IntegerEntry(k(), (ba + 1)), IntegerEntry(l(u), aZ), IntegerEntry(p(u, height, lastBlock.timestamp), aZ), aY, Burn(aC, 1)] | |
229 | + | } | |
230 | + | } | |
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | @Callable(aQ) | |
235 | + | func shutdownPut (bb) = { | |
236 | + | let bc = toString(bb) | |
237 | + | let bd = b(v(bb)) | |
238 | + | let aW = b(C(bc)) | |
239 | + | if ((1 > size(bd))) | |
240 | + | then throw("invalid internalBaseAssetId") | |
241 | + | else if ((toString(aQ.caller) != aW)) | |
242 | + | then throw("access denied") | |
243 | + | else [BooleanEntry(B(toString(bb)), true)] | |
244 | + | } | |
245 | + | ||
246 | + | ||
247 | + | ||
248 | + | @Callable(aQ) | |
249 | + | func put () = { | |
250 | + | let be = value(aQ.payments[0]) | |
251 | + | let aA = value(be.assetId) | |
252 | + | let g = toBase58String(aA) | |
253 | + | let h = toString(aQ.caller) | |
254 | + | let aJ = av(g) | |
255 | + | let z = aJ[F] | |
256 | + | let aC = fromBase58String(z) | |
257 | + | let L = parseIntValue(aJ[H]) | |
258 | + | let M = parseIntValue(aJ[I]) | |
259 | + | let u = aJ[G] | |
260 | + | let bf = d(B(u)) | |
261 | + | if (bf) | |
262 | + | then throw("put operation is blocked") | |
263 | + | else { | |
264 | + | let ak = aH(u, aA, aC, L, M)._1 | |
265 | + | let R = fraction(be.amount, M, ak) | |
266 | + | [Reissue(aC, R, true), ScriptTransfer(aQ.caller, R, aC), StringEntry(V("P", u, h, toBase58String(aQ.transactionId)), aq("FINISHED", be.amount, ak, R, height, lastBlock.timestamp, height, lastBlock.timestamp))] | |
267 | + | } | |
268 | + | } | |
269 | + | ||
270 | + | ||
271 | + | ||
272 | + | @Callable(aQ) | |
273 | + | func submitGetRequest () = { | |
274 | + | let be = value(aQ.payments[0]) | |
275 | + | let aC = value(be.assetId) | |
276 | + | let z = toBase58String(aC) | |
277 | + | let bg = toBase58String(aQ.callerPublicKey) | |
278 | + | let X = aQ.caller | |
279 | + | let h = toString(X) | |
280 | + | let R = be.amount | |
281 | + | let g = b(y(z)) | |
282 | + | let aA = fromBase58String(g) | |
283 | + | let aJ = av(g) | |
284 | + | let L = parseIntValue(aJ[H]) | |
285 | + | let M = parseIntValue(aJ[I]) | |
286 | + | let bh = parseIntValue(aJ[J]) | |
287 | + | let u = aJ[G] | |
288 | + | let ak = aH(u, aA, aC, L, M)._1 | |
289 | + | let S = fraction(R, ak, M) | |
290 | + | let bi = V("G", u, h, toBase58String(aQ.transactionId)) | |
291 | + | let bj = aq("PENDING", R, ak, S, height, lastBlock.timestamp, (height + bh), 0) | |
292 | + | [Burn(aC, R), StringEntry(bi, bj), aw(s(u), R, S), aw(t(u, h), R, S)] | |
293 | + | } | |
294 | + | ||
295 | + | ||
296 | + | ||
297 | + | @Callable(aQ) | |
298 | + | func executeGetRequest (g,h,i) = { | |
299 | + | let X = addressFromStringValue(h) | |
300 | + | let bk = av(g) | |
301 | + | let aC = fromBase58String(bk[F]) | |
302 | + | let aA = fromBase58String(g) | |
303 | + | let u = bk[G] | |
304 | + | let bi = V("G", u, h, i) | |
305 | + | let bl = split(b(bi), a) | |
306 | + | let ai = bl[Z] | |
307 | + | let ao = parseIntValue(bl[af]) | |
308 | + | let bm = parseIntValue(bl[aa]) | |
309 | + | let bn = parseIntValue(bl[ac]) | |
310 | + | if ((ai != "PENDING")) | |
311 | + | then e("Status is not PENDING", g, h, i) | |
312 | + | else if ((ao > height)) | |
313 | + | then e(((("EndHeight[" + toString(ao)) + "] > ") + toString(height)), g, h, i) | |
314 | + | else [ScriptTransfer(X, bn, aA), StringEntry(bi, ar(bl, "FINISHED", lastBlock.timestamp)), ay(s(u), bm, bn), ay(t(u, h), bm, bn)] | |
315 | + | } | |
316 | + | ||
317 | + | ||
318 | + | ||
319 | + | @Callable(aQ) | |
320 | + | func topUpBalance (g) = { | |
321 | + | let bk = av(g) | |
322 | + | let be = value(aQ.payments[0]) | |
323 | + | let bo = value(be.assetId) | |
324 | + | let bp = toBase58String(bo) | |
325 | + | let aC = fromBase58String(bk[F]) | |
326 | + | let L = parseIntValue(bk[H]) | |
327 | + | let M = parseIntValue(bk[I]) | |
328 | + | let u = bk[G] | |
329 | + | let bq = n(u, toString(aQ.caller)) | |
330 | + | let br = valueOrElse(getInteger(this, bq), 0) | |
331 | + | if ((g != bp)) | |
332 | + | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
333 | + | else if ((size(aQ.payments) > 1)) | |
334 | + | then throw("only one payment can be attached") | |
335 | + | else if ((100 > (height - br))) | |
336 | + | then throw("1 topUp per 100 blocks from the same address is allowed") | |
337 | + | else { | |
338 | + | let ak = az(u, bo, be.amount, aC, L, M)._1 | |
339 | + | [IntegerEntry(l(u), ak), IntegerEntry(p(u, height, lastBlock.timestamp), ak), IntegerEntry(bq, height)] | |
340 | + | } | |
341 | + | } | |
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | @Callable(aQ) | |
346 | + | func currentSysParamsREST (g) = { | |
347 | + | let bs = aI(g) | |
348 | + | let ak = bs._1.value | |
349 | + | let M = bs._2.value | |
350 | + | let aE = bs._3.value | |
351 | + | let aD = bs._4.value | |
352 | + | let aF = bs._5.value | |
353 | + | let aG = bs._6.value | |
354 | + | let bt = makeString(["startCurrentSysParamsREST", toString(ak), toString(M), toString(aE), toString(aD), toString(aF), toString(aG), "endCurrentSysParamsREST"], a) | |
355 | + | throw(bt) | |
356 | + | } | |
357 | + | ||
358 | + | ||
359 | + | ||
360 | + | @Callable(aQ) | |
361 | + | func setManager (bu) = { | |
362 | + | let bv = aP(aQ) | |
363 | + | if ((bv == bv)) | |
364 | + | then { | |
365 | + | let bw = fromBase58String(bu) | |
366 | + | if ((bw == bw)) | |
367 | + | then [StringEntry(E(), bu)] | |
368 | + | else throw("Strict value is not equal to itself.") | |
369 | + | } | |
370 | + | else throw("Strict value is not equal to itself.") | |
371 | + | } | |
372 | + | ||
373 | + | ||
374 | + | ||
375 | + | @Callable(aQ) | |
376 | + | func confirmManager () = { | |
377 | + | let bx = aO() | |
378 | + | let by = if (isDefined(bx)) | |
379 | + | then true | |
380 | + | else throw("No pending manager") | |
381 | + | if ((by == by)) | |
382 | + | then { | |
383 | + | let bz = if ((aQ.callerPublicKey == value(bx))) | |
384 | + | then true | |
385 | + | else throw("You are not pending manager") | |
386 | + | if ((bz == bz)) | |
387 | + | then [StringEntry(D(), toBase58String(value(bx))), DeleteEntry(E())] | |
388 | + | else throw("Strict value is not equal to itself.") | |
389 | + | } | |
390 | + | else throw("Strict value is not equal to itself.") | |
391 | + | } | |
392 | + | ||
393 | + | ||
394 | + | @Verifier(bA) | |
395 | + | func bB () = { | |
396 | + | let bC = { | |
397 | + | let aM = aL() | |
398 | + | if ($isInstanceOf(aM, "ByteVector")) | |
399 | + | then { | |
400 | + | let aS = aM | |
401 | + | aS | |
402 | + | } | |
403 | + | else if ($isInstanceOf(aM, "Unit")) | |
404 | + | then bA.senderPublicKey | |
405 | + | else throw("Match error") | |
406 | + | } | |
407 | + | sigVerify(bA.bodyBytes, bA.proofs[0], bC) | |
408 | + | } | |
409 | + |
github/deemru/w8io/026f985 30.96 ms ◑