tx · 8TL7MJR3bjA7z8dBVhz92xPAALa6gmutpB2t73WuGBmf

3MrNa3KKYBiosWiN4NMxJKERRtAWi8Ny9QY:  -0.01500000 Waves

2022.09.26 03:51 [2245409] smart account 3MrNa3KKYBiosWiN4NMxJKERRtAWi8Ny9QY > SELF 0.00000000 Waves

{ "type": 13, "id": "8TL7MJR3bjA7z8dBVhz92xPAALa6gmutpB2t73WuGBmf", "fee": 1500000, "feeAssetId": null, "timestamp": 1664153522389, "version": 2, "chainId": 84, "sender": "3MrNa3KKYBiosWiN4NMxJKERRtAWi8Ny9QY", "senderPublicKey": "AcDSZVzDQTVsumAAwEQdT8iWi8xHRjLNJJ53MzYzk4m7", "proofs": [ "ukx57sx26oPnQSDNUPhBc5pvfzignmCHe2yJUjKFsjo2kWbkw2PTc51BD2hUgGNR5uxoCxgcN4Y1GCKPo4ujg2a" ], "script": "base64:AAIFAAAAAAAAAE0IAhIHCgUICAgBARIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBAoCCAkSBQoDCAgBEgUKAwEIARIECgIIAQAAACcAAAAADGxvY2tpbmdTdG9yZQUAAAAEdGhpcwAAAAAMc3Rha2luZ1N0b3JlAgAAAAhfUmVzZXJ2ZQAAAAARbWluaW11bUxvY2tBbW91bnQCAAAADl9NaW5Mb2NrQW1vdW50AAAAABFtYXhpbXVtTG9ja0Ftb3VudAIAAAAOX01heExvY2tBbW91bnQAAAAACWFzc2V0TGlzdAUAAAADbmlsAAAAABF1bmxvY2tFbGlnaWJpbGl0eQIAAAAcX0VsaWdpYmxlX3RvX3VubG9ja19hdF9ibG9jawAAAAAMbG9ja2VkQW1vdW50AgAAAA5fQW1vdW50X2xvY2tlZAAAAAALbG9ja2VkQXNzZXQCAAAADV9Bc3NldF9sb2NrZWQAAAAABHVzZXICAAAABV9Vc2VyAAAAAApBUFlfQW1vdW50AgAAAAtfQVBZX2Ftb3VudAAAAAARdG90YWxMb2NrZWRBTW91bnQC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HJ5AAAAAgUAAAASdUFscmVhZHlDbGFpbWVkS2V5BgUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAJSWgvw==", "height": 2245409, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3WFqjmC1p7r7gB5JPebca23QHmL3qGkvPDyHKgTfxqm4 Next: DoHAufXWSN35MoL68QBUnV2nwV297cHVD6U1Lo9YfiSp Diff:
OldNewDifferences
436436 then {
437437 let aT = (aO + k)
438438 let bp = (A(aT) - bc)
439- let bq = invoke(bl, "transferInterest", [aO, bm, fromBase58String(bj)], nil)
440- if ((bq == bq))
441- then [ScriptTransfer(addressFromStringValue(aO), bc, fromBase58String(bj)), S(aT, bp), BooleanEntry(bk, true)]
439+ let bq = if ((0 >= bp))
440+ then 0
441+ else bp
442+ let br = invoke(bl, "transferInterest", [aO, bm, fromBase58String(bj)], nil)
443+ if ((br == br))
444+ then [ScriptTransfer(addressFromStringValue(aO), bc, fromBase58String(bj)), S(aT, bq), BooleanEntry(bk, true)]
442445 else throw("Strict value is not equal to itself.")
443446 }
444447 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = this
55
66 let b = "_Reserve"
77
88 let c = "_MinLockAmount"
99
1010 let d = "_MaxLockAmount"
1111
1212 let e = nil
1313
1414 let f = "_Eligible_to_unlock_at_block"
1515
1616 let g = "_Amount_locked"
1717
1818 let h = "_Asset_locked"
1919
2020 let i = "_User"
2121
2222 let j = "_APY_amount"
2323
2424 let k = "_Total_Locked_Amount"
2525
2626 let l = "_Days_locked"
2727
2828 let m = "_Entry_Index"
2929
3030 let n = "_Already_Claimed"
3131
3232 let o = "admin_"
3333
3434 let p = 1440
3535
3636 let q = 1
3737
3838 let r = 7
3939
4040 let s = 14
4141
4242 let t = 30
4343
4444 let u = 60
4545
4646 let v = 90
4747
4848 let w = 360
4949
5050 func x (y) = getInteger(this, y)
5151
5252
5353 func z (y) = getString(this, y)
5454
5555
5656 func A (y) = value(getInteger(this, y))
5757
5858
5959 func B (y) = value(getString(this, y))
6060
6161
6262 func C (D,E) = if (D)
6363 then throw(E)
6464 else true
6565
6666
6767 func F (G,E) = {
6868 let H = G
6969 if ($isInstanceOf(H, "Int"))
7070 then {
7171 let G = H
7272 G
7373 }
7474 else throw(E)
7575 }
7676
7777
7878 func I (G,E) = {
7979 let H = G
8080 if ($isInstanceOf(H, "String"))
8181 then {
8282 let G = H
8383 G
8484 }
8585 else throw(E)
8686 }
8787
8888
8989 func J (y,K) = if ((0 > K))
9090 then throw(((("writing negative value " + toString(K)) + " for key ") + y))
9191 else IntegerEntry(y, K)
9292
9393
9494 func L (y,K) = if ((" " == K))
9595 then throw(("writing an empty string " + K))
9696 else StringEntry(y, K)
9797
9898
9999 func M (N) = if ((N != q))
100100 then if ((N != r))
101101 then if ((N != s))
102102 then if ((N != t))
103103 then if ((N != u))
104104 then if ((N != v))
105105 then throw("invalid locking period")
106106 else (((N * p) + w) + height)
107107 else (((N * p) + w) + height)
108108 else (((N * p) + w) + height)
109109 else (((N * p) + w) + height)
110110 else (((N * p) + w) + height)
111111 else (((N * p) + w) + height)
112112
113113
114114 func O (P) = if ((0 >= P))
115115 then 0
116116 else {
117117 let Q = fraction(P, 1000, p, CEILING)
118118 Q
119119 }
120120
121121
122122 func R (y,K) = if (!(isDefined(z(y))))
123123 then L(y, K)
124124 else throw((" entry already initialized: " + y))
125125
126126
127127 func S (y,K) = if (!(isDefined(z(y))))
128128 then J(y, K)
129129 else throw((" entry already initialized: " + y))
130130
131131
132132 func T (U) = {
133133 let V = toBase58String(U.caller.bytes)
134134 let W = (o + V)
135135 let H = z(o)
136136 if ($isInstanceOf(H, "String"))
137137 then {
138138 let X = H
139139 if ((V != z(o)))
140140 then throw("unauthorized")
141141 else true
142142 }
143143 else {
144144 let Y = z(W)
145145 if ($isInstanceOf(Y, "String"))
146146 then {
147147 let Z = Y
148148 if ((V != z(W)))
149149 then throw("unauthorized")
150150 else true
151151 }
152152 else throw("unauthorizd")
153153 }
154154 }
155155
156156
157157 func aa (y,ab) = {
158158 let H = ab
159159 if ($isInstanceOf(H, "String"))
160160 then {
161161 let ab = H
162162 R(y, ab)
163163 }
164164 else if ($isInstanceOf(H, "Int"))
165165 then {
166166 let ab = H
167167 S(y, ab)
168168 }
169169 else throw("unsupported config type")
170170 }
171171
172172
173173 func ac (y) = {
174174 let ad = x(y)
175175 if (isDefined(ad))
176176 then (value(ad) + 1)
177177 else 0
178178 }
179179
180180
181181 @Callable(U)
182182 func addAsset (ae,af,ag,ah,ai) = {
183183 let aj = T(U)
184184 if ((aj == aj))
185185 then {
186186 let ak = (ae + b)
187187 let al = (ae + c)
188188 let am = (ae + d)
189189 let an = if ((ai > ah))
190190 then [S(al, ah), S(am, ai)]
191191 else [S(al, ai), S(am, ah)]
192192 ([R(ae, af), R(ak, ag)] ++ an)
193193 }
194194 else throw("Strict value is not equal to itself.")
195195 }
196196
197197
198198
199199 @Callable(U)
200200 func deleteAsset (ae) = {
201201 let aj = T(U)
202202 if ((aj == aj))
203203 then {
204204 let ao = I(z(ae), (("asset with ticker " + ae) + " not found"))
205205 if ((ao == ao))
206206 then [DeleteEntry(ae), DeleteEntry((ae + c)), DeleteEntry((ae + d)), DeleteEntry((ae + b))]
207207 else throw("Strict value is not equal to itself.")
208208 }
209209 else throw("Strict value is not equal to itself.")
210210 }
211211
212212
213213
214214 @Callable(U)
215215 func _getAssetIdByTicker (ae) = {
216216 let aj = T(U)
217217 if ((aj == aj))
218218 then {
219219 let X = I(z(ae), "asset not found")
220220 $Tuple2(nil, X)
221221 }
222222 else throw("Strict value is not equal to itself.")
223223 }
224224
225225
226226
227227 @Callable(U)
228228 func init (ap) = {
229229 let aq = valueOrErrorMessage(addressFromString(ap), "invalid address")
230230 [R(o, toString(aq))]
231231 }
232232
233233
234234
235235 @Callable(U)
236236 func _deleteEntry (y) = {
237237 let aj = T(U)
238238 if ((aj == aj))
239239 then [DeleteEntry(y)]
240240 else throw("Strict value is not equal to itself.")
241241 }
242242
243243
244244
245245 @Callable(U)
246246 func addAdmin (ap) = {
247247 let aj = T(U)
248248 if ((aj == aj))
249249 then {
250250 let aq = valueOrErrorMessage(addressFromString(ap), "invalid address")
251251 let ar = (o + toString(aq))
252252 [R(ar, ap)]
253253 }
254254 else throw("Strict value is not equal to itself.")
255255 }
256256
257257
258258
259259 @Callable(U)
260260 func changeMainAdmin (as) = {
261261 let at = T(U)
262262 if ((at == at))
263263 then {
264264 let aq = valueOrErrorMessage(addressFromString(as), "invalid address")
265265 let au = DeleteEntry(o)
266266 if ((au == au))
267267 then [R(o, toString(aq))]
268268 else throw("Strict value is not equal to itself.")
269269 }
270270 else throw("Strict value is not equal to itself.")
271271 }
272272
273273
274274
275275 @Callable(U)
276276 func updateOtherAdminAddress (as) = {
277277 let at = T(U)
278278 if ((at == at))
279279 then {
280280 let aq = valueOrErrorMessage(addressFromString(as), "invalid address")
281281 let av = toString(U.caller)
282282 let W = (o + av)
283283 let aw = I(z(W), "no previous address found")
284284 if ((aw == aw))
285285 then {
286286 let ax = DeleteEntry(W)
287287 if ((ax == ax))
288288 then [R(W, toString(aq))]
289289 else throw("Strict value is not equal to itself.")
290290 }
291291 else throw("Strict value is not equal to itself.")
292292 }
293293 else throw("Strict value is not equal to itself.")
294294 }
295295
296296
297297
298298 @Callable(U)
299299 func removeOtherAdmin (ay) = {
300300 let at = T(U)
301301 if ((at == at))
302302 then {
303303 let aq = valueOrErrorMessage(addressFromString(ay), "invalid address")
304304 let az = (o + toString(aq))
305305 let aA = DeleteEntry(az)
306306 if ((aA == aA))
307307 then nil
308308 else throw("Strict value is not equal to itself.")
309309 }
310310 else throw("Strict value is not equal to itself.")
311311 }
312312
313313
314314
315315 @Callable(U)
316316 func updateConfigValue (y,ab) = {
317317 let at = T(U)
318318 if ((at == at))
319319 then {
320320 let au = DeleteEntry(y)
321321 if ((au == au))
322322 then [aa(y, ab)]
323323 else throw("Strict value is not equal to itself.")
324324 }
325325 else throw("Strict value is not equal to itself.")
326326 }
327327
328328
329329
330330 @Callable(U)
331331 func _getDaysLeftToClaim (aB,ae,aC) = {
332332 let aD = T(U)
333333 if ((aD == aD))
334334 then {
335335 let aE = valueOrErrorMessage(addressFromString(aB), "invalid address")
336336 if ((aE == aE))
337337 then {
338338 let aF = ((("_" + ae) + "_") + toString(aC))
339339 let aG = ((aB + aF) + f)
340340 let aH = valueOrErrorMessage(x(aG), ("no entry for " + aB))
341341 let aI = O((aH - height))
342342 $Tuple2(nil, aI)
343343 }
344344 else throw("Strict value is not equal to itself.")
345345 }
346346 else throw("Strict value is not equal to itself.")
347347 }
348348
349349
350350
351351 @Callable(U)
352352 func Lock (aJ,ae,aC) = {
353353 let aE = C((1 != size(U.payments)), "attach amount you want to lock")
354354 if ((aE == aE))
355355 then {
356356 let aK = valueOrErrorMessage(U.payments[0].assetId, "no assetId for the attached asset")
357357 let aL = toBase58String(aK)
358358 let aM = C((z(ae) != aL), "asset not supported")
359359 if ((aM == aM))
360360 then {
361361 let aN = aJ
362362 let aO = toBase58String(U.caller.bytes)
363363 let aP = U.payments[0].amount
364364 let aQ = F(x((ae + c)), "internal error: minimum stacking amount not specified")
365365 let aR = F(x((ae + d)), "internal error: maximum staking amount not specified")
366366 let aS = C(if ((aQ > aP))
367367 then true
368368 else (aP > aR), "staking amount is out of range")
369369 if ((aS == aS))
370370 then {
371371 let aT = (aO + k)
372372 let aU = if (!(isDefined(x(aT))))
373373 then 0
374374 else (aP + value(x(aT)))
375375 let aV = C((aU > aR), "you have maxed out your quota")
376376 if ((aV == aV))
377377 then {
378378 let aW = toString(aC)
379379 let aX = ((("_" + ae) + "_") + aW)
380380 let aY = (aO + aX)
381381 let aZ = ((aO + aX) + i)
382382 let ba = ((aO + aX) + h)
383383 let bb = ((aO + aX) + l)
384384 let bc = ((aO + aX) + g)
385385 let bd = ((aO + aX) + j)
386386 let aG = ((aO + aX) + f)
387387 let be = ((aO + aX) + n)
388388 let bf = invoke(Address(fromBase58String(B(o))), "getAPYAmount", [aO, ae, aC], nil)
389389 let bg = {
390390 let H = bf
391391 if ($isInstanceOf(H, "Int"))
392392 then {
393393 let bh = H
394394 bh
395395 }
396396 else throw(("could not get the APY amount for " + aO))
397397 }
398398 [S(aY, aC), R(aZ, aO), R(ba, aL), S(bb, aN), S(bc, U.payments[0].amount), S(aT, aU), S(aG, M(aJ)), S(bd, bg), BooleanEntry(be, false)]
399399 }
400400 else throw("Strict value is not equal to itself.")
401401 }
402402 else throw("Strict value is not equal to itself.")
403403 }
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
411411 @Callable(U)
412412 func Claim (ae,aC) = {
413413 let aO = toString(U.caller)
414414 let aL = valueOrErrorMessage(z(ae), "invalid asset")
415415 if ((aL == aL))
416416 then {
417417 let aX = ((("_" + ae) + "_") + toString(aC))
418418 let bi = valueOrErrorMessage(z(((aO + aX) + i)), ("no entry found for user " + aO))
419419 if ((bi == bi))
420420 then {
421421 let bj = valueOrErrorMessage(z(((aO + aX) + h)), "asset not locked by user")
422422 let bk = ((aO + aX) + n)
423423 let aD = C((valueOrErrorMessage(getBoolean(bk), "cannot ascertain claimability") == true), (("user + " + aO) + " already claimed"))
424424 if ((aD == aD))
425425 then {
426426 let bc = A(((aO + aX) + g))
427427 let bl = addressFromStringValue(I(z((ae + b)), "internal error: no reserve found"))
428428 let bm = A(((aO + aX) + j))
429429 let bn = A(((aO + aX) + f))
430430 let P = if ((0 >= (bn - height)))
431431 then 0
432432 else (bn - height)
433433 let bo = O(P)
434434 let aE = C((bn > height), (("(" + toString(bo)) + "/1000) days left to claim"))
435435 if ((aE == aE))
436436 then {
437437 let aT = (aO + k)
438438 let bp = (A(aT) - bc)
439- let bq = invoke(bl, "transferInterest", [aO, bm, fromBase58String(bj)], nil)
440- if ((bq == bq))
441- then [ScriptTransfer(addressFromStringValue(aO), bc, fromBase58String(bj)), S(aT, bp), BooleanEntry(bk, true)]
439+ let bq = if ((0 >= bp))
440+ then 0
441+ else bp
442+ let br = invoke(bl, "transferInterest", [aO, bm, fromBase58String(bj)], nil)
443+ if ((br == br))
444+ then [ScriptTransfer(addressFromStringValue(aO), bc, fromBase58String(bj)), S(aT, bq), BooleanEntry(bk, true)]
442445 else throw("Strict value is not equal to itself.")
443446 }
444447 else throw("Strict value is not equal to itself.")
445448 }
446449 else throw("Strict value is not equal to itself.")
447450 }
448451 else throw("Strict value is not equal to itself.")
449452 }
450453 else throw("Strict value is not equal to itself.")
451454 }
452455
453456

github/deemru/w8io/026f985 
45.05 ms