tx · CaoMzAMaBECM8cqGGB67bs1bpWo9RZhP2vDyprjLvnaH 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves 2021.12.03 21:56 [1818486] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{ "type": 13, "id": "CaoMzAMaBECM8cqGGB67bs1bpWo9RZhP2vDyprjLvnaH", "fee": 1000000, "feeAssetId": null, "timestamp": 1638557856530, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "42CdbV5Pfv6xfq7pmur4giJAvxGjzr2dob16dvCuR3vFHRbDmdCQ9t2jEAe2JrvktMykabctGT5qaJbc1XQrTBf8" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAABm51bWJlcgkAAZAAAAABBQAAAAVwaXh4eQQAAAAHcmVjb3JkcwUAAAADbmlsCgEAAAAHdmFsaWR4eQAAAAEAAAABeAQAAAAHJG1hdGNoMAkABLYAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDADAwkAAGYAAAACCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAFcGl4eHkFAAAAAXgA//////////8JAABmAAAAAgAAAAAAAAA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AAAABBQAAAANuaWwFAAAABHVuaXQAAAAAHV15qw==", "height": 1818486, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: WxDNU3Di9PhBxhovXoYMsJ9rx6FEWQNmP4CP8MM66n5 Next: F9bRKsUi97WNP3c93SqmUCXnqguj21Wf8LwDJmMNdAEc Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" | |
5 | 5 | ||
6 | 6 | let b = "|||||" | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func paint (d) = { | |
10 | 10 | let e = toBase58String(c.caller.bytes) | |
11 | 11 | let f = split(d, b) | |
12 | 12 | let g = size(f) | |
13 | 13 | let h = nil | |
14 | 14 | func i (j) = { | |
15 | 15 | let k = parseInt(f[j]) | |
16 | 16 | if ($isInstanceOf(k, "Int")) | |
17 | 17 | then { | |
18 | 18 | let l = k | |
19 | 19 | if (if ((parseIntValue(f[j]) > -1)) | |
20 | 20 | then (1000 > parseIntValue(f[j])) | |
21 | 21 | else false) | |
22 | 22 | then parseInt(f[j]) | |
23 | 23 | else false | |
24 | 24 | } | |
25 | 25 | else false | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | func m (j) = { | |
29 | 29 | let k = getString(f[j]) | |
30 | 30 | if ($isInstanceOf(k, "String")) | |
31 | 31 | then { | |
32 | 32 | let l = k | |
33 | 33 | l | |
34 | 34 | } | |
35 | 35 | else false | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | func n (j) = if ((j > (g - 1))) | |
39 | 39 | then ["--", "--"] | |
40 | 40 | else if ((i(j) == false)) | |
41 | 41 | then ["--", "--"] | |
42 | 42 | else if ((m(j) == false)) | |
43 | 43 | then [f[j], makeString([e, "100", "color", "url"], b)] | |
44 | 44 | else { | |
45 | 45 | let o = (parseIntValue(split(getStringValue(f[j]), b)[1]) + 100) | |
46 | 46 | [f[j], makeString([e, toString(o), "color", "url"], b)] | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | let p = [n(0), n(1), n(2), n(3), n(4)] | |
50 | 50 | $Tuple2([StringEntry(p[0][0], p[0][1]), StringEntry(p[1][0], p[1][1]), StringEntry(p[2][0], p[2][1]), StringEntry(p[3][0], p[3][1]), StringEntry(p[4][0], p[4][1])], unit) | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 |
github/deemru/w8io/026f985 36.28 ms ◑