tx · CQGq16gFx6uAwDyPJCnNF9kR6k1W7NQorceeapsbEF5T

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 21:11 [1818450] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "CQGq16gFx6uAwDyPJCnNF9kR6k1W7NQorceeapsbEF5T", "fee": 1000000, "feeAssetId": null, "timestamp": 1638555191456, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "3sNVr7KgdoCrxp6NNRu1UcLof6bJbBhmxHRa8DyRgQMDXHBHmvCrbqRotEHZmqokeukgW1Eathic65WXrZvE41mp" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAABm51bWJlcgkAAZAAAAABBQAAAAVwaXh4eQQAAAAHcmVjb3JkcwUAAAADbmlsCgEAAAAHdmFsaWR4eQAAAAEAAAABeAQAAAAHJG1hdGNoMAkABLYAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDADAwkAAGYAAAACCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAFcGl4eHkFAAAAAXgA//////////8JAABmAAAAAgAAAAAAAAAD6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AAAANuaWwFAAAABHVuaXQAAAAALlo+oQ==", "height": 1818450, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EJdy4hgTuy1MnGiBhiUEazBqjshYxoFXoiViSyrbbCtH Next: GkRbN5G8bQjjkd6Lf6Q4YmAEqQJZEmkocrZszp6ymPKA Diff:
OldNewDifferences
3636 }
3737
3838 func n (j) = {
39- let o = max([j, (g - 1)])
39+ let o = min([j, (g - 1)])
4040 if ((i(o) == false))
4141 then ["--", "--"]
4242 else if ((m(o) == false))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx"
55
66 let b = "|||||"
77
88 @Callable(c)
99 func paint (d) = {
1010 let e = toBase58String(c.caller.bytes)
1111 let f = split(d, b)
1212 let g = size(f)
1313 let h = nil
1414 func i (j) = {
1515 let k = parseInt(f[j])
1616 if ($isInstanceOf(k, "Int"))
1717 then {
1818 let l = k
1919 if (if ((parseIntValue(f[j]) > -1))
2020 then (1000 > parseIntValue(f[j]))
2121 else false)
2222 then parseInt(f[j])
2323 else false
2424 }
2525 else false
2626 }
2727
2828 func m (j) = {
2929 let k = getString(f[j])
3030 if ($isInstanceOf(k, "String"))
3131 then {
3232 let l = k
3333 l
3434 }
3535 else false
3636 }
3737
3838 func n (j) = {
39- let o = max([j, (g - 1)])
39+ let o = min([j, (g - 1)])
4040 if ((i(o) == false))
4141 then ["--", "--"]
4242 else if ((m(o) == false))
4343 then [f[o], makeString([e, "100", "color", "url"], b)]
4444 else {
4545 let p = (parseIntValue(split(getStringValue(f[o]), b)[1]) + 100)
4646 [f[o], makeString([e, toString(p), "color", "url"], b)]
4747 }
4848 }
4949
5050 let q = [n(0), n(1), n(2), n(3), n(4)]
5151 $Tuple2([StringEntry(q[0][0], q[0][1]), StringEntry(q[1][0], q[1][1]), StringEntry(q[2][0], q[2][1]), StringEntry(q[3][0], q[3][1]), StringEntry(q[4][0], q[4][1])], unit)
5252 }
5353
5454

github/deemru/w8io/026f985 
120.71 ms