tx · CkgHYNohvEGrMyFwELrdSCFm3db3aSTuNXcxBUaBPnVw

3MwyBKGZcdChEK9Z55HwLn3A2EgwEJJpqC1:  -0.01200000 Waves

2024.01.10 12:29 [2925221] smart account 3MwyBKGZcdChEK9Z55HwLn3A2EgwEJJpqC1 > SELF 0.00000000 Waves

{ "type": 13, "id": "CkgHYNohvEGrMyFwELrdSCFm3db3aSTuNXcxBUaBPnVw", "fee": 1200000, "feeAssetId": null, "timestamp": 1704878962951, "version": 2, "chainId": 84, "sender": "3MwyBKGZcdChEK9Z55HwLn3A2EgwEJJpqC1", "senderPublicKey": "7c3qLtcJ7EaPS2JDjXv8MBbd4kpyc6R27wcn5GgvZhur", "proofs": [ "CQuAP8JbELmaoanTx5EBdB812kL7J4m8xaXVKQVHiYdAZQxvxynxep9HAJrnzu35corHmMkerEJHEFwSDrErpFp" ], "script": "base64:BgIbCAISBgoECAEBARIDCgEIEgMKAQgSABIDCgEIHQAMY29udHJhY3RGaWxlAhB2ZXN0aW5nX25lby5yaWRlAANTRVACAl9fAAhJRFNfTElTVAkAzAgCAAAJAMwIAgABCQDMCAIAAgkAzAgCAAMJAMwIAgAECQDMCAIABQkAzAgCAAYJAMwIAgAHCQDMCAIACAkAzAgCAAkJAMwIAgAKCQDMCAIACwkAzAgCAAwJAMwIAgANCQDMCAIADgkAzAgCAA8JAMwIAgAQCQDMCAIAEQkAzAgCABIJAMwIAgATCQDMCAIAFAkAzAgCABUJAMwIAgAWCQDMCAIAFwkAzAgCABgJAMwIAgAZCQDMCAIAGgkAzAgCABsJAMwIAgAcCQDMCAIAHQUDbmlsABFNQVhfVkVTVElOR19DT1VOVAkAkAMBBQhJRFNfTElTVAEIdGhyb3dFcnIBA21zZwkAAgEJAKwCAgkArAICBQxjb250cmFjdEZpbGUCAjogBQNtc2cACmtleUFzc2V0SWQJALkJAgkAzAgCAgIlcwkAzAgCAgdhc3NldElkBQNuaWwFA1NFUAANYXNzZXRJZFN0cmluZwkBC3ZhbHVlT3JF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JARJnZXRDbGFpbUFsbEFjdGlvbnMBBQt1c2VyQWRkcmVzcwQMY2xhaW1BY3Rpb25zCAULJHQwOTgxODk4ODMCXzEEC3RvdGFsQW1vdW50CAULJHQwOTgxODk4ODMCXzIEDmhpc3RvcnlBY3Rpb25zCQDMCAIJAQtTdHJpbmdFbnRyeQIJARFrZXlWZXN0aW5nSGlzdG9yeQMCB2NsYWltZWQFC3VzZXJBZGRyZXNzCQDYBAEIBQFpDXRyYW5zYWN0aW9uSWQJAKQDAQULdG90YWxBbW91bnQFA25pbAMJAGYCBQt0b3RhbEFtb3VudAAACQDOCAIFDGNsYWltQWN0aW9ucwUOaGlzdG9yeUFjdGlvbnMJAQh0aHJvd0VycgECEG5vdGhpbmcgdG8gY2xhaW0BaQEQdXNlckluZm9SRUFET05MWQELdXNlckFkZHJlc3MEDSR0MDEwMjIzMTAyNzgJARJnZXRDbGFpbUFsbEFjdGlvbnMBBQt1c2VyQWRkcmVzcwQCX2EIBQ0kdDAxMDIyMzEwMjc4Al8xBAt0b3RhbEFtb3VudAgFDSR0MDEwMjIzMTAyNzgCXzIEEWFjY3VtdWxhdGVkQW1vdW50CQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMJARJrZXlVc2VyQWNjdW11bGF0ZWQBBQt1c2VyQWRkcmVzcwAACQCUCgIFA25pbAkAlQoDBQt0b3RhbEFtb3VudAURYWNjdW11bGF0ZWRBbW91bnQJARJnZXRWZXN0aW5nVXNlckluZm8BBQt1c2VyQWRkcmVzcwC4mXcu", "height": 2925221, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FBs4yRa3mNLd5GD5HS8DSssPwVTHcVbxYYV9BNmWmwYh Next: 3dxeni6bLD49miRxpLaMicqPQbjBJV7gTgAQJn4xx97C Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "vesting_neo.ride"
55
66 let b = "__"
77
88 let c = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
99
1010 let d = size(c)
1111
1212 func e (f) = throw(((a + ": ") + f))
1313
1414
1515 let g = makeString(["%s", "assetId"], b)
1616
1717 let h = valueOrElse(getString(this, g), "WAVES")
1818
1919 let i = if ((h == "WAVES"))
2020 then unit
2121 else fromBase58String(h)
2222
2323 let j = makeString(["%s", "adminList"], b)
2424
2525 let k = makeString(["%s", "banList"], b)
2626
2727 let l = {
2828 let m = getString(this, j)
2929 if ($isInstanceOf(m, "String"))
3030 then {
3131 let n = m
3232 split(n, b)
3333 }
3434 else nil
3535 }
3636
3737 let o = {
3838 let m = getString(this, k)
3939 if ($isInstanceOf(m, "String"))
4040 then {
4141 let n = m
4242 if ((n == ""))
4343 then nil
4444 else split_51C(n, b)
4545 }
4646 else nil
4747 }
4848
4949 func p (q) = {
5050 let m = addressFromString(q)
5151 if ($isInstanceOf(m, "Address"))
5252 then {
5353 let r = m
5454 true
5555 }
5656 else false
5757 }
5858
5959
6060 func s (t,u) = {
6161 let v = [if (p(t))
6262 then true
6363 else e(makeString(["address is not valid:", t], " ")), if (if ((u >= 0))
6464 then (d > u)
6565 else false)
6666 then true
6767 else e(makeString(["id should be less than", toString(d), "got:", toString(u)], " "))]
6868 if ((v == v))
6969 then makeString(["%s%s%d", "vesting", t, toString(u)], b)
7070 else throw("Strict value is not equal to itself.")
7171 }
7272
7373
7474 func w (t) = {
7575 let v = [if (p(t))
7676 then true
7777 else e(makeString(["address is not valid:", t], " "))]
7878 if ((v == v))
7979 then makeString(["%s%s", "accumulated", t], b)
8080 else throw("Strict value is not equal to itself.")
8181 }
8282
8383
8484 func x (y,z,A) = {
8585 let v = [if ((y >= 0))
8686 then true
8787 else e("vesting amount cannot be negative"), if ((z >= 0))
8888 then true
8989 else e("start block cannot be negative"), if ((A >= 0))
9090 then true
9191 else e("lock length cannot be negative")]
9292 if ((v == v))
9393 then makeString(["%d%d%d", toString(y), toString(z), toString(A)], b)
9494 else throw("Strict value is not equal to itself.")
9595 }
9696
9797
9898 func B (t,u) = {
9999 let m = getString(this, s(t, u))
100100 if ($isInstanceOf(m, "String"))
101101 then {
102102 let C = m
103103 let D = split(C, b)
104104 let y = parseIntValue(D[1])
105105 let z = parseIntValue(D[2])
106106 let A = parseIntValue(D[3])
107107 $Tuple3(y, z, A)
108108 }
109109 else $Tuple3(0, 0, 0)
110110 }
111111
112112
113113 func E (F,t,G) = makeString(["%s%s%s%s", "history", t, F, G], b)
114114
115115
116116 func H (I,z,A) = {
117117 let J = (height - z)
118118 let K = if (if ((A != 0))
119119 then (J > 0)
120120 else false)
121121 then min([fraction(I, J, A), I])
122122 else 0
123123 $Tuple2(K, (I - K))
124124 }
125125
126126
127127 func L (t,u) = {
128128 let M = B(t, u)
129129 let y = M._1
130130 let z = M._2
131131 let A = M._3
132132 let N = H(y, z, A)
133133 let K = N._1
134134 let O = N._2
135135 $Tuple2(K, O)
136136 }
137137
138138
139139 func P (t,u) = {
140140 let Q = B(t, u)
141141 let y = Q._1
142142 let z = Q._2
143143 let A = Q._3
144144 let R = L(t, u)
145145 let K = R._1
146146 let O = R._2
147147 let S = max([((z + A) - height), 0])
148148 let T = if ((K != 0))
149149 then if ((S != 0))
150150 then [StringEntry(s(t, u), x(O, height, S))]
151151 else [DeleteEntry(s(t, u))]
152152 else nil
153153 $Tuple2(T, K)
154154 }
155155
156156
157157 func U (t,u) = {
158158 let V = P(t, u)
159159 let T = V._1
160160 let K = V._2
161161 let W = if ((K != 0))
162162 then [ScriptTransfer(addressFromStringValue(t), K, i)]
163163 else nil
164164 $Tuple2((T ++ W), K)
165165 }
166166
167167
168168 func X (t) = {
169169 func Y (Z,u) = {
170170 let aa = Z
171171 let ab = aa._1
172172 let ac = aa._2
173173 let ad = U(t, u)
174174 let ae = ad._1
175175 let af = ad._2
176176 $Tuple2((ab ++ ae), (ac + af))
177177 }
178178
179179 let ag = c
180180 let ah = size(ag)
181181 let ai = $Tuple2(nil, 0)
182182 func aj (ak,al) = if ((al >= ah))
183183 then ak
184184 else Y(ak, ag[al])
185185
186186 func am (ak,al) = if ((al >= ah))
187187 then ak
188188 else throw("List size exceeds 30")
189189
190190 am(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(ai, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
191191 }
192192
193193
194194 func an (t) = {
195195 func Y (Z,u) = {
196196 let ao = Z
197197 let ap = ao._1
198198 let ac = ao._2
199199 let aq = P(t, u)
200200 let T = aq._1
201201 let K = aq._2
202202 $Tuple2((ap ++ T), (ac + K))
203203 }
204204
205205 let ar = {
206206 let ag = c
207207 let ah = size(ag)
208208 let ai = $Tuple2(nil, 0)
209209 func aj (ak,al) = if ((al >= ah))
210210 then ak
211211 else Y(ak, ag[al])
212212
213213 func am (ak,al) = if ((al >= ah))
214214 then ak
215215 else throw("List size exceeds 30")
216216
217217 am(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(ai, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
218218 }
219219 let ap = ar._1
220220 let as = ar._2
221221 let at = valueOrElse(getInteger(this, w(t)), 0)
222222 let au = if ((as != 0))
223223 then [IntegerEntry(w(t), (at + as))]
224224 else nil
225225 $Tuple2((ap ++ au), as)
226226 }
227227
228228
229229 func av (t) = {
230230 let at = valueOrElse(getInteger(this, w(t)), 0)
231231 if ((at != 0))
232232 then $Tuple2([ScriptTransfer(addressFromStringValue(t), at, i), DeleteEntry(w(t))], at)
233233 else $Tuple2(nil, 0)
234234 }
235235
236236
237237 func aw (t) = {
238238 let ax = if (!(containsElement(o, t)))
239239 then X(t)
240240 else $Tuple2(nil, 0)
241241 let ay = ax._1
242242 let K = ax._2
243243 let az = av(t)
244244 let aA = az._1
245245 let aB = az._2
246246 let aC = (K + aB)
247247 $Tuple2((ay ++ aA), aC)
248248 }
249249
250250
251251 func aD (t) = {
252252 func aE (Z,u) = {
253253 let aF = B(t, u)
254254 let y = aF._1
255255 let z = aF._2
256256 let A = aF._3
257257 let aG = L(t, u)
258258 let K = aG._1
259259 let O = aG._2
260260 if (if ((y == 0))
261261 then true
262262 else containsElement(o, t))
263263 then Z
264264 else (Z :+ [y, (z + A), K, O])
265265 }
266266
267267 let ag = c
268268 let ah = size(ag)
269269 let ai = nil
270270 func aj (ak,al) = if ((al >= ah))
271271 then ak
272272 else aE(ak, ag[al])
273273
274274 func am (ak,al) = if ((al >= ah))
275275 then ak
276276 else throw("List size exceeds 30")
277277
278278 am(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(ai, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
279279 }
280280
281281
282282 func aH (t) = {
283283 func aE (aI,u) = {
284284 let aJ = B(t, u)
285285 let y = aJ._1
286286 let z = aJ._2
287287 let A = aJ._3
288288 if ((y > 0))
289289 then aI
290290 else if ((aI == -1))
291291 then u
292292 else min([aI, u])
293293 }
294294
295295 let aI = {
296296 let ag = c
297297 let ah = size(ag)
298298 let ai = -1
299299 func aj (ak,al) = if ((al >= ah))
300300 then ak
301301 else aE(ak, ag[al])
302302
303303 func am (ak,al) = if ((al >= ah))
304304 then ak
305305 else throw("List size exceeds 30")
306306
307307 am(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(aj(ai, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
308308 }
309309 if ((aI == -1))
310310 then e(makeString(["user exceeded max active vesting count: ", t], " "))
311311 else aI
312312 }
313313
314314
315315 func aK (t,u,y,z,A) = [StringEntry(s(t, u), x(y, z, A))]
316316
317317
318318 @Callable(aL)
319319 func vestingForUser (t,y,z,A) = {
320320 let aM = [if ((size(aL.payments) == 1))
321321 then true
322322 else e("should be with exactly 1 payment"), if ((aL.payments[0].assetId == i))
323323 then true
324324 else e(makeString(["payment assetId should be: ", h], " ")), if ((aL.payments[0].amount == y))
325325 then true
326326 else e("payment amount should be equal to vestingAmount"), if (if ((l == nil))
327327 then true
328328 else containsElement(l, toString(aL.caller)))
329329 then true
330330 else e("you must be admin")]
331331 if ((aM == aM))
332332 then {
333333 let u = aH(t)
334334 let aN = [StringEntry(E("vested", t, toBase58String(aL.transactionId)), makeString([toString(y), toString(z), toString(A), toString(u)], b))]
335335 (aK(t, u, y, z, A) ++ aN)
336336 }
337337 else throw("Strict value is not equal to itself.")
338338 }
339339
340340
341341
342342 @Callable(aL)
343343 func ban (t) = {
344344 let v = [if (if ((l == nil))
345345 then true
346346 else containsElement(l, toString(aL.caller)))
347347 then true
348348 else e("you must be admin"), if (!(containsElement(o, t)))
349349 then true
350350 else e(makeString(["user already in a ban list:", t], " "))]
351351 if ((v == v))
352352 then {
353353 let aO = an(t)
354354 let aP = aO._1
355355 let aQ = aO._2
356356 let aR = [StringEntry(k, makeString_11C((o :+ t), "__"))]
357357 (aP ++ aR)
358358 }
359359 else throw("Strict value is not equal to itself.")
360360 }
361361
362362
363363
364364 @Callable(aL)
365365 func unban (t) = {
366366 let v = [if (if ((l == nil))
367367 then true
368368 else containsElement(l, toString(aL.caller)))
369369 then true
370370 else e("you must be admin"), if (containsElement(o, t))
371371 then true
372372 else e(makeString(["user not in a ban list:", t], " "))]
373373 if ((v == v))
374374 then {
375375 let aS = {
376376 let m = indexOf(o, t)
377377 if ($isInstanceOf(m, "Int"))
378378 then {
379379 let aT = m
380380 removeByIndex(o, aT)
381381 }
382382 else e("user address index in ban list is not found")
383383 }
384384 if ((aS == nil))
385385 then [DeleteEntry(k)]
386386 else [StringEntry(k, makeString_11C(aS, "__"))]
387387 }
388388 else throw("Strict value is not equal to itself.")
389389 }
390390
391391
392392
393393 @Callable(aL)
394394 func claimAll () = {
395395 let t = toString(aL.caller)
396396 let aU = aw(t)
397397 let ay = aU._1
398398 let aC = aU._2
399399 let aN = [StringEntry(E("claimed", t, toBase58String(aL.transactionId)), toString(aC))]
400400 if ((aC > 0))
401401 then (ay ++ aN)
402402 else e("nothing to claim")
403403 }
404404
405405
406406
407407 @Callable(aL)
408408 func userInfoREADONLY (t) = {
409409 let aV = aw(t)
410410 let aQ = aV._1
411411 let aC = aV._2
412412 let aB = valueOrElse(getInteger(this, w(t)), 0)
413413 $Tuple2(nil, $Tuple3(aC, aB, aD(t)))
414414 }
415415
416416

github/deemru/w8io/169f3d6 
40.20 ms