tx · 7zCXqoZKj124kwYGPA8AsRhbBiEXMaDxBwzTgVTMBn29

3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6:  -0.01000000 Waves

2021.12.04 16:32 [1819594] smart account 3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6 > SELF 0.00000000 Waves

{ "type": 13, "id": "7zCXqoZKj124kwYGPA8AsRhbBiEXMaDxBwzTgVTMBn29", "fee": 1000000, "feeAssetId": null, "timestamp": 1638624769317, "version": 2, "chainId": 84, "sender": "3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6", "senderPublicKey": "2LizaCNygFYwGFKe34vvFHgJc4ckK7MpzRzziRNn56Cu", "proofs": [ "2bxjSU7XxKCqYeW1HRpZCVVRgzmnuwybqo8DLiVefBNvaL13cTHcHEMVtUPRazCHQ9NZ6CeJsZerhNeLShjDWt6v" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUPUYGSQjhSwi99Mcha5hyYJjHFzCelkk9AAAAAAVzZXBhcgIAAAAFfHx8fHwAAAABAAAAAWkBAAAABXBhaW50AAAAAQAAAAVpZGF0YQQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABXBpeHh5CQAEtQAAAAIFAAAABWlkYXRhBQAAAAVzZXBhcgQAAAAGbnVtYmVyCQABkAAAAAEFAAAABXBpeHh5BAAAAAdyZWNvcmRzBQAAAANuaWwKAQAAAAd2YWxpZHh5AAAAAQAAAAF4BAAAAAckbWF0Y2gwCQAEtgAAAAEJAAGRAAAAAgUAAAAFcGl4eHkFAAAAAXgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAMDCQAAZgAAAAIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAAVwaXh4eQUAAAABeAD//////////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| compacted Prev: BwSwN4bKUPJHRQrZRdhUak6h6tDEf1wTWZNQPXdoNvLq Next: BCDUkFnjSBxSjuFmhD6KJik7P4VRfuxh1q8dmBC1gPsv Diff:
OldNewDifferences
3636 }
3737
3838 func n (j) = if ((j > (g - 1)))
39- then ["--", "--", "--", "--"]
39+ then ["--", "--", "--", "0"]
4040 else if ((i(j) == false))
41- then ["--", "--", "--", "--"]
41+ then ["--", "--", "--", "0"]
4242 else if ((m(j) == false))
4343 then [f[j], makeString([e, "100", "color", "url"], b), "", "100"]
44- else ["--", "--", "--", "100"]
44+ else {
45+ let o = parseIntValue(split(getStringValue(f[j]), b)[1])
46+[f[j], makeString([e, toString((o + 100)), "color", "url"], b), "", toString(o)]
47+ }
4548
46- let o = 0
47- let p = [n(0), n(1), n(2), n(3), n(4)]
48- $Tuple2([StringEntry(p[0][0], p[0][1]), ScriptTransfer(a, parseIntValue(p[0][3]), unit), StringEntry(p[1][0], p[1][1]), ScriptTransfer(a, parseIntValue(p[1][3]), unit), StringEntry(p[2][0], p[2][1]), ScriptTransfer(a, parseIntValue(p[2][3]), unit), StringEntry(p[3][0], p[3][1]), ScriptTransfer(a, parseIntValue(p[3][3]), unit), StringEntry(p[4][0], p[4][1]), ScriptTransfer(a, parseIntValue(p[4][3]), unit)], unit)
49+ let p = 0
50+ let q = [n(0), n(1), n(2), n(3), n(4)]
51+ $Tuple2([StringEntry(q[0][0], q[0][1]), ScriptTransfer(a, parseIntValue(q[0][3]), unit), StringEntry(q[1][0], q[1][1]), ScriptTransfer(a, parseIntValue(q[1][3]), unit), StringEntry(q[2][0], q[2][1]), ScriptTransfer(a, parseIntValue(q[2][3]), unit), StringEntry(q[3][0], q[3][1]), ScriptTransfer(a, parseIntValue(q[3][3]), unit), StringEntry(q[4][0], q[4][1]), ScriptTransfer(a, parseIntValue(q[4][3]), unit)], unit)
4952 }
5053
5154
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'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) = if ((j > (g - 1)))
39- then ["--", "--", "--", "--"]
39+ then ["--", "--", "--", "0"]
4040 else if ((i(j) == false))
41- then ["--", "--", "--", "--"]
41+ then ["--", "--", "--", "0"]
4242 else if ((m(j) == false))
4343 then [f[j], makeString([e, "100", "color", "url"], b), "", "100"]
44- else ["--", "--", "--", "100"]
44+ else {
45+ let o = parseIntValue(split(getStringValue(f[j]), b)[1])
46+[f[j], makeString([e, toString((o + 100)), "color", "url"], b), "", toString(o)]
47+ }
4548
46- let o = 0
47- let p = [n(0), n(1), n(2), n(3), n(4)]
48- $Tuple2([StringEntry(p[0][0], p[0][1]), ScriptTransfer(a, parseIntValue(p[0][3]), unit), StringEntry(p[1][0], p[1][1]), ScriptTransfer(a, parseIntValue(p[1][3]), unit), StringEntry(p[2][0], p[2][1]), ScriptTransfer(a, parseIntValue(p[2][3]), unit), StringEntry(p[3][0], p[3][1]), ScriptTransfer(a, parseIntValue(p[3][3]), unit), StringEntry(p[4][0], p[4][1]), ScriptTransfer(a, parseIntValue(p[4][3]), unit)], unit)
49+ let p = 0
50+ let q = [n(0), n(1), n(2), n(3), n(4)]
51+ $Tuple2([StringEntry(q[0][0], q[0][1]), ScriptTransfer(a, parseIntValue(q[0][3]), unit), StringEntry(q[1][0], q[1][1]), ScriptTransfer(a, parseIntValue(q[1][3]), unit), StringEntry(q[2][0], q[2][1]), ScriptTransfer(a, parseIntValue(q[2][3]), unit), StringEntry(q[3][0], q[3][1]), ScriptTransfer(a, parseIntValue(q[3][3]), unit), StringEntry(q[4][0], q[4][1]), ScriptTransfer(a, parseIntValue(q[4][3]), unit)], unit)
4952 }
5053
5154

github/deemru/w8io/169f3d6 
31.46 ms