tx · BG1NtcEhXdXnoQxcm4RkU7cmByPRnWFgRpPHjAf4yRHz

3N2V9vbP8zDTDvNMR8jQeGuUu22vz1KCv5i:  -0.01700000 Waves

2022.10.20 11:14 [2280469] smart account 3N2V9vbP8zDTDvNMR8jQeGuUu22vz1KCv5i > SELF 0.00000000 Waves

{ "type": 13, "id": "BG1NtcEhXdXnoQxcm4RkU7cmByPRnWFgRpPHjAf4yRHz", "fee": 1700000, "feeAssetId": null, "timestamp": 1666253780378, "version": 1, "sender": "3N2V9vbP8zDTDvNMR8jQeGuUu22vz1KCv5i", "senderPublicKey": "3JBooHFx9f8xuJuUNn9AeF8B4U8a9onpNMbvzV3UTVTk", "proofs": [ "2d2p3e5xx1mbg77LiZdyuNbUaymX1KR77H1DNZSSzQUARGqRHCjrZjqW5hBQRvZeRqDZ4Pb6fa5URsnzB3ceUbbk" ], "script": "base64:AAIFAAAAAAAABMYIAhIDCgEIEgQKAggBEgMKAQgSBAoCCAgSAwoBCBIECgIICBIECgIICBIECgIIARIECgIIARIFCgMICAESBQoDCAgBEgUKAwgIARIDCgEIEgMKAQgSBAoCCAgSAwoBCBIAIgNTRVAiBUVNUFRZIhNrZXlNYW5hZ2VyUHVibGljS2V5IhprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleSIPa2V5QWRtaW5QdWJLZXlzIgdrZXlVc2VyIgdhc3NldElkIgdhZGRyZXNzIhNrZXlVc2VyRml4ZWREZXBvc2l0IgVibG9jayIKa2V5UmV2b2tlZCIPa2V5UmV2b2tlZFRvdGFsIhNrZXlVc2VyVmVzdGluZ1N0YXJ0IhFrZXlVc2VyVmVzdGluZ0VuZCIVa2V5VXNlckFtb3VudFBlckJsb2NrIg5rZXlDbGFpbURlbmllZCIIdGhyb3dFcnIiA21zZyIWbWFuYWdlclB1YmxpY0tleU9yVW5pdCIHJG1hdGNoMCIBcyIdcGVuZGluZ01hbmFnZXJQdWJsaWNLZXlPclVuaXQiC211c3RNYW5hZ2VyIgFpIgJwZCIC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AAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJheAEAAAACYXkAAAAABAAAAAJhegQAAAABdAkBAAAAAXMAAAAAAwkAAAEAAAACBQAAAAF0AgAAAApCeXRlVmVjdG9yBAAAAAF6BQAAAAF0BQAAAAF6AwkAAAEAAAACBQAAAAF0AgAAAARVbml0CAUAAAACYXgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJheAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmF4AAAABnByb29mcwAAAAAAAAAAAAUAAAACYXqnKhcV", "chainId": 84, "height": 2280469, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GMLLNavJWcjseCSktGqJGo97VaWZ6KfznxzRyFiinHP2 Next: AeBWvN6ptRuom4ZnkhVC9FAWvHvprxkCm6DPJV6X9ns Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 func c () = "%s__managerPublicKey"
99
1010
1111 func d () = "%s__pendingManagerPublicKey"
1212
1313
1414 func e () = "%s__adminPubKeys"
1515
1616
1717 func f (g,h) = makeString(["%s%s", g, h], a)
1818
1919
2020 func i (g,h,j) = makeString(["%s%s%s%d", "fixedDeposit", g, h, toString(j)], a)
2121
2222
2323 func k (g,h) = makeString(["%s%s%s", "revoked", g, h], a)
2424
2525
2626 func l (g) = makeString(["%s%s", "revokedTotal", g], a)
2727
2828
2929 func m (g,h) = makeString(["%s%s%s", "vestingStart", g, h], a)
3030
3131
3232 func n (g,h) = makeString(["%s%s%s", "vestingEnd", g, h], a)
3333
3434
3535 func o (g,h) = makeString(["%s%s%s", "amountPerBlock", g, h], a)
3636
3737
3838 func p (g) = makeString(["%s%s", "claimDenied", g], a)
3939
4040
4141 func q (r) = throw(makeString(["vesting_multiasset.ride:", r], " "))
4242
4343
4444 func s () = {
4545 let t = getString(c())
4646 if ($isInstanceOf(t, "String"))
4747 then {
4848 let u = t
4949 fromBase58String(u)
5050 }
5151 else if ($isInstanceOf(t, "Unit"))
5252 then unit
5353 else throw("Match error")
5454 }
5555
5656
5757 func v () = {
5858 let t = getString(d())
5959 if ($isInstanceOf(t, "String"))
6060 then {
6161 let u = t
6262 fromBase58String(u)
6363 }
6464 else if ($isInstanceOf(t, "Unit"))
6565 then unit
6666 else throw("Match error")
6767 }
6868
6969
7070 func w (x) = {
7171 let y = q("permission denied")
7272 let t = s()
7373 if ($isInstanceOf(t, "ByteVector"))
7474 then {
7575 let z = t
7676 if ((x.callerPublicKey == z))
7777 then true
7878 else y
7979 }
8080 else if ($isInstanceOf(t, "Unit"))
8181 then if ((x.caller == this))
8282 then true
8383 else y
8484 else throw("Match error")
8585 }
8686
8787
8888 func A (x) = {
8989 let B = split(valueOrElse(getString(e()), b), a)
9090 if (containsElement(B, toBase58String(x.callerPublicKey)))
9191 then true
9292 else {
9393 let C = w(x)
9494 if ((C == C))
9595 then true
9696 else throw("Strict value is not equal to itself.")
9797 }
9898 }
9999
100100
101101 func D (E,F,G,H) = makeString(["%d%d%d%d%d", E, F, "0", G, H], a)
102102
103103
104104 func I (E,F,G,H) = D(toString(E), toString(F), toString(G), toString(H))
105105
106106
107107 func J (g,h) = parseIntValue(split(value(getString(f(g, h))), a)[1])
108108
109109
110110 func K (g,h) = parseIntValue(split(value(getString(f(g, h))), a)[2])
111111
112112
113113 func L (g,h) = parseIntValue(split(value(getString(f(g, h))), a)[3])
114114
115115
116116 func M (g,h) = parseIntValue(split(value(getString(f(g, h))), a)[5])
117117
118118
119119 func N (g,h) = {
120120 let O = valueOrElse(getBoolean(k(g, h)), false)
121121 if (O)
122122 then K(g, h)
123123 else {
124124 let P = M(g, h)
125125 if ((P >= height))
126126 then 0
127127 else {
128128 let Q = value(getInteger(n(g, h)))
129129 if ((height > Q))
130130 then K(g, h)
131131 else {
132132 let R = (height - P)
133133 (value(getInteger(o(g, h))) * R)
134134 }
135135 }
136136 }
137137 }
138138
139139
140140 func S (g,h,T) = valueOrElse(getInteger(i(g, h, T)), 0)
141141
142142
143143 func U (g,h) = {
144144 let V = addressFromStringValue(h)
145145 let W = fromBase58String(g)
146146 let X = N(g, h)
147147 let Y = [if ((valueOrElse(getBoolean(p(g)), false) == false))
148148 then true
149149 else q("asset claim denied"), if ((X != 0))
150150 then true
151151 else q("nothing to claim")]
152152 if ((Y == Y))
153153 then {
154154 let E = J(g, h)
155155 let F = K(g, h)
156156 let Z = L(g, h)
157157 let O = valueOrElse(getBoolean(k(g, h)), false)
158158 if (O)
159159 then [ScriptTransfer(V, F, W), StringEntry(f(g, h), I(E, 0, (Z + F), height))]
160160 else [ScriptTransfer(V, X, W), StringEntry(f(g, h), I(E, (F - X), (Z + X), height))]
161161 }
162162 else throw("Strict value is not equal to itself.")
163163 }
164164
165165
166166 func aa (g,h,T) = {
167167 let ab = getInteger(i(g, h, T))
168168 let Y = [if ((valueOrElse(getBoolean(p(g)), false) == false))
169169 then true
170170 else q("asset claim denied"), if ((height > T))
171171 then true
172172 else q("current height must be more than releaseBlock for fixed deposit"), if ((valueOrElse(ab, 0) != 0))
173173 then true
174174 else q("no fixed deposit for assetId/address/height")]
175175 if ((Y == Y))
176176 then {
177177 let V = addressFromStringValue(h)
178178 let W = fromBase58String(g)
179179 let X = value(ab)
180180 [ScriptTransfer(V, X, W), IntegerEntry(i(g, h, T), 0)]
181181 }
182182 else throw("Strict value is not equal to itself.")
183183 }
184184
185185
186186 @Callable(x)
187187 func withdrawRevoked (g) = {
188188 let X = valueOrElse(getInteger(l(g)), 0)
189189 let W = fromBase58String(g)
190190 let Y = [w(x), if ((X > 0))
191191 then true
192192 else q("revoked amount is zero, nothing to withdraw")]
193193 if ((Y == Y))
194194 then [ScriptTransfer(x.caller, X, W), IntegerEntry(l(g), 0)]
195195 else throw("Strict value is not equal to itself.")
196196 }
197197
198198
199199
200200 @Callable(x)
201201 func createDepositFor (h,ac) = {
202202 let X = x.payments[0].amount
203203 let g = toBase58String(value(x.payments[0].assetId))
204204 let ad = (height + ac)
205205 let ae = (ad - height)
206206 let af = (X / ae)
207207 let Y = [if ((ad > height))
208208 then true
209209 else q("endHeight must be more than height"), if ((getString(f(g, h)) == unit))
210210 then true
211211 else q("deposit of this asset for user already exists"), if ((af != 0))
212212 then true
213213 else q("attached amount too small or blocksDuration too large — will claimed zero per block")]
214214 if ((Y == Y))
215215 then [StringEntry(f(g, h), I(X, X, 0, height)), IntegerEntry(m(g, h), height), IntegerEntry(n(g, h), ad), IntegerEntry(o(g, h), af)]
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220
221221 @Callable(x)
222222 func increaseDepositFor (h) = {
223223 let X = x.payments[0].amount
224224 let g = toBase58String(value(x.payments[0].assetId))
225225 let ag = N(g, h)
226226 let ah = if ((ag > 0))
227227 then U(g, h)
228228 else unit
229229 if ((ah == ah))
230230 then {
231231 let ad = value(getInteger(n(g, h)))
232232 let ae = (ad - height)
233233 let af = value(getInteger(o(g, h)))
234234 let ai = (X / ae)
235235 let aj = J(g, h)
236236 let ak = K(g, h)
237237 let al = L(g, h)
238238 let am = M(g, h)
239239 let Y = [if ((valueOrElse(getBoolean(k(g, h)), false) == false))
240240 then true
241241 else q("deposit for user is revoked"), if ((getString(f(g, h)) != unit))
242242 then true
243243 else q("deposit for user doesn't exists"), if ((ai != 0))
244244 then true
245245 else q("attached amount too small — increase is zero per block")]
246246 if ((Y == Y))
247247 then [StringEntry(f(g, h), I((aj + X), (ak + X), al, am)), IntegerEntry(o(g, h), (af + ai))]
248248 else throw("Strict value is not equal to itself.")
249249 }
250250 else throw("Strict value is not equal to itself.")
251251 }
252252
253253
254254
255255 @Callable(x)
256256 func revokeDepositFor (g,h) = {
257257 let E = J(g, h)
258258 let F = K(g, h)
259259 let G = L(g, h)
260260 let H = M(g, h)
261261 let an = N(g, h)
262262 let ao = valueOrElse(getInteger(l(g)), 0)
263263 let ap = (F - an)
264264 let aq = (ao + ap)
265265 let Y = [A(x), if ((getString(f(g, h)) != unit))
266266 then true
267267 else q("deposit of this asset for user is not exists"), if ((aq > ao))
268268 then true
269269 else q("newRevokedTotal can't be less or equal than revokedTotal")]
270270 if ((Y == Y))
271271 then [BooleanEntry(k(g, h), true), IntegerEntry(l(g), aq), StringEntry(f(g, h), I(E, an, G, H))]
272272 else throw("Strict value is not equal to itself.")
273273 }
274274
275275
276276
277277 @Callable(x)
278278 func claim (g) = U(g, toBase58String(x.caller.bytes))
279279
280280
281281
282282 @Callable(x)
283283 func claimFor (g,h) = U(g, h)
284284
285285
286286
287287 @Callable(x)
288288 func claimREADONLY (g,h) = {
289289 let X = N(g, h)
290290 $Tuple2(nil, X)
291291 }
292292
293293
294294
295295 @Callable(x)
296296 func createFixedDepositFor (h,T) = {
297297 let X = x.payments[0].amount
298298 let g = toBase58String(value(x.payments[0].assetId))
299299 let ab = i(g, h, T)
300300 let Y = [if ((T > height))
301301 then true
302302 else q("releaseBlock must be more than height"), if ((getInteger(ab) == unit))
303303 then true
304304 else q("deposit for this height for user already exists")]
305305 if ((Y == Y))
306306 then [IntegerEntry(ab, X)]
307307 else throw("Strict value is not equal to itself.")
308308 }
309309
310310
311311
312312 @Callable(x)
313313 func claimFixed (g,T) = aa(g, toBase58String(x.caller.bytes), T)
314314
315315
316316
317317 @Callable(x)
318318 func claimFixedFor (g,h,T) = aa(g, h, T)
319319
320320
321321
322322 @Callable(x)
323323 func claimFixedREADONLY (g,h,T) = {
324324 let X = S(g, h, T)
325325 $Tuple2(nil, X)
326326 }
327327
328328
329329
330330 @Callable(x)
331331 func revokeFixedDepositFor (g,h,T) = {
332332 let Y = [A(x), if ((T > height))
333333 then true
334334 else q("can't revoke deposit in past"), if ((valueOrElse(getInteger(i(g, h, T)), 0) != 0))
335335 then true
336336 else q("deposit for this height for user not exists")]
337337 if ((Y == Y))
338338 then {
339339 let X = value(getInteger(i(g, h, T)))
340340 [IntegerEntry(l(g), X), IntegerEntry(i(g, h, T), 0)]
341341 }
342342 else throw("Strict value is not equal to itself.")
343343 }
344344
345345
346346
347347 @Callable(x)
348348 func denyAssetClaim (g) = {
349349 let Y = [A(x), if ((valueOrElse(getBoolean(p(g)), false) == false))
350350 then true
351351 else q("asset already denied")]
352352 if ((Y == Y))
353353 then [BooleanEntry(p(g), true)]
354354 else throw("Strict value is not equal to itself.")
355355 }
356356
357357
358358
359359 @Callable(x)
360360 func allowAssetClaim (g) = {
361361 let Y = [A(x), if ((valueOrElse(getBoolean(p(g)), false) == true))
362362 then true
363363 else q("asset already allowed")]
364364 if ((Y == Y))
365365 then [DeleteEntry(p(g))]
366366 else throw("Strict value is not equal to itself.")
367367 }
368368
369369
370370
371371 @Callable(x)
372372 func stats (g,h) = $Tuple2(nil, [value(getInteger(m(g, h))), value(getInteger(n(g, h))), J(g, h), L(g, h), K(g, h), N(g, h)])
373373
374374
375375
376376 @Callable(x)
377377 func setManager (ar) = {
378378 let as = w(x)
379379 if ((as == as))
380380 then {
381381 let at = fromBase58String(ar)
382382 if ((at == at))
383383 then [StringEntry(d(), ar)]
384384 else throw("Strict value is not equal to itself.")
385385 }
386386 else throw("Strict value is not equal to itself.")
387387 }
388388
389389
390390
391391 @Callable(x)
392392 func confirmManager () = {
393393 let au = v()
394394 let av = if (isDefined(au))
395395 then true
396396 else q("no pending manager")
397397 if ((av == av))
398398 then {
399399 let aw = if ((x.callerPublicKey == value(au)))
400400 then true
401401 else q("you are not pending manager")
402402 if ((aw == aw))
403403 then [StringEntry(c(), toBase58String(value(au))), DeleteEntry(d())]
404404 else throw("Strict value is not equal to itself.")
405405 }
406406 else throw("Strict value is not equal to itself.")
407407 }
408408
409409
410410 @Verifier(ax)
411411 func ay () = {
412412 let az = {
413413 let t = s()
414414 if ($isInstanceOf(t, "ByteVector"))
415415 then {
416416 let z = t
417417 z
418418 }
419419 else if ($isInstanceOf(t, "Unit"))
420420 then ax.senderPublicKey
421421 else throw("Match error")
422422 }
423423 sigVerify(ax.bodyBytes, ax.proofs[0], az)
424424 }
425425

github/deemru/w8io/169f3d6 
50.00 ms