tx · DqY5Nk3RU6yEqEJGQ2sHtc73FRuELBsErfxn7BbUwTN5 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves 2021.12.03 20:58 [1818435] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{ "type": 13, "id": "DqY5Nk3RU6yEqEJGQ2sHtc73FRuELBsErfxn7BbUwTN5", "fee": 1000000, "feeAssetId": null, "timestamp": 1638554355534, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "BwNFytyhVUhJN2SgUy7xfUdXtmuWjPMm8tQkvnEfB8e2oBV5inRwAgiCGLwcmsyN5yww4FSi1kL6ZH5RhZ5Ln7e" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAAB3JlY29yZHMFAAAAA25pbAoBAAAAB3ZhbGlkeHkAAAABAAAAAXgEAAAAByRtYXRjaDAJAAS2AAAAAQkAAZEAAAACBQAAAAVwaXh4eQUAAAABeAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwAwMJAABmAAAAAgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4AP//////////CQAAZgAAAAIAAAAAAAAAA+gJAQAAAA1wYXJzZUludFZhbHVlAA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AAAAAAAAAAkABEwAAAACCQEAAAAKbWFrZXJlY29yZAAAAAEAAAAAAAAAAAEFAAAAA25pbAkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgkAAZEAAAACBQAAAANhbGwAAAAAAAAAAAAAAAAAAAAAAAAJAAGRAAAAAgkAAZEAAAACBQAAAANhbGwAAAAAAAAAAAAAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAAQAAAAAAAAAAAAkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAAQAAAAAAAAAAAQUAAAADbmlsBQAAAAR1bml0AAAAAM3tC+U=", "height": 1818435, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: TQKTJ8wgKfTtVbLRFw36MGWQk6d3oaSAs3awBvXMk9e Next: E6VmVzusyxqNG875Sz1xGZkEbWiMD1K2BkfVZa7tp5QZ Diff:
Old | New | Differences | |
---|---|---|---|
44 | 44 | } | |
45 | 45 | ||
46 | 46 | let i = 0 | |
47 | - | let o = m(i) | |
48 | - | let p = [o] | |
49 | - | $Tuple2([StringEntry(p[0][0], p[0][1])], unit) | |
47 | + | let o = [m(0), m(1)] | |
48 | + | $Tuple2([StringEntry(o[0][0], o[0][1]), StringEntry(o[1][0], o[1][1])], unit) | |
50 | 49 | } | |
51 | 50 | ||
52 | 51 |
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 = nil | |
13 | 13 | func h (i) = { | |
14 | 14 | let j = parseInt(f[i]) | |
15 | 15 | if ($isInstanceOf(j, "Int")) | |
16 | 16 | then { | |
17 | 17 | let k = j | |
18 | 18 | if (if ((parseIntValue(f[i]) > -1)) | |
19 | 19 | then (1000 > parseIntValue(f[i])) | |
20 | 20 | else false) | |
21 | 21 | then parseInt(f[i]) | |
22 | 22 | else false | |
23 | 23 | } | |
24 | 24 | else false | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | func l (i) = { | |
28 | 28 | let j = getString(f[i]) | |
29 | 29 | if ($isInstanceOf(j, "String")) | |
30 | 30 | then { | |
31 | 31 | let k = j | |
32 | 32 | k | |
33 | 33 | } | |
34 | 34 | else false | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | func m (i) = if ((h(i) == false)) | |
38 | 38 | then ["--", "--"] | |
39 | 39 | else if ((l(i) == false)) | |
40 | 40 | then [f[i], makeString([e, "100", "color", "url"], b)] | |
41 | 41 | else { | |
42 | 42 | let n = (parseIntValue(split(getStringValue(f[i]), b)[1]) + 100) | |
43 | 43 | [f[i], makeString([e, toString(n), "color", "url"], b)] | |
44 | 44 | } | |
45 | 45 | ||
46 | 46 | let i = 0 | |
47 | - | let o = m(i) | |
48 | - | let p = [o] | |
49 | - | $Tuple2([StringEntry(p[0][0], p[0][1])], unit) | |
47 | + | let o = [m(0), m(1)] | |
48 | + | $Tuple2([StringEntry(o[0][0], o[0][1]), StringEntry(o[1][0], o[1][1])], unit) | |
50 | 49 | } | |
51 | 50 | ||
52 | 51 |
github/deemru/w8io/026f985 268.96 ms ◑