tx · DWvWq7mzDhzeu9uMFvH9c3Vvqmt3vZu2Ct1Bc6K7n339

3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6:  -0.01000000 Waves

2021.12.05 10:58 [1820693] smart account 3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6 > SELF 0.00000000 Waves

{ "type": 13, "id": "DWvWq7mzDhzeu9uMFvH9c3Vvqmt3vZu2Ct1Bc6K7n339", "fee": 1000000, "feeAssetId": null, "timestamp": 1638691112001, "version": 2, "chainId": 84, "sender": "3MuVEuhXaTvF3ELakZksUP77a4bT8gPJtm6", "senderPublicKey": "2LizaCNygFYwGFKe34vvFHgJc4ckK7MpzRzziRNn56Cu", "proofs": [ "5K2ishXbCtrwU856JMy7jAk8r5TkzepauJdFkW6EKKEnugdWZA986qkWuSgmLtPZzbYmt7A3mFnHiD5QPRpmhkhB" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAABAAAAAAGbWFzdGVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUPUYGSQjhSwi99Mcha5hyYJjHFzCelkk9AAAAAAVzZXBhcgIAAAAFfHx8fHwAAAAACWluaXRwcmljZQIAAAAGMTAwMDAwAQAAAAd0b3dhdmVzAAAAAQAAAAFhAwkAAGYAAAACAAAAAAAAAAAJCQABMQAAAAEFAAAAAWEJAAEsAAAAAgkAASwAAAACAgAAAAEwAgAAAAEuBQAAAAFhCQABLAAAAAIJAAEsAAAAAgkAAS8AAAACBQAAAAFhCQAAZQAAAAIJAAExAAAAAQUAAAABYQAAAAAAAAAACAIAAAABLgkBAAAACXRha2VSaWdodAAAAAIFAAAAAWEAAAAAAAAAAAgAAAABAAAAAWkBAAAABXBhaW50AAAAAQAAAAVpZGF0YQQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABXBpeHh5CQAEtQAAAAIFAAAABWlkYXRhBQAAAAVzZXBhcgQAAAAGbnVtYmVyC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AAAAAAAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAZtYXN0ZXIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAAwAAAAAAAAAAAwUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABkQAAAAIJAAGRAAAAAgUAAAADYWxsAAAAAAAAAAAEAAAAAAAAAAAACQABkQAAAAIJAAGRAAAAAgUAAAADYWxsAAAAAAAAAAAEAAAAAAAAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABm1hc3RlcgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIJAAGRAAAAAgUAAAADYWxsAAAAAAAAAAAEAAAAAAAAAAADBQAAAAR1bml0BQAAAANuaWwFAAAABHVuaXQAAAAASPMc+g==", "height": 1820693, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7T7rnGZmw59p4gBpe8VEVTvN2CQt2oYFHbaPKT8UmCp5 Next: AD8cdBS4gbR43u5737PCaMPVfJYGMfaCuUGvATCwFTYu Diff:
OldNewDifferences
5555 [i[o], makeString([h, toString((s + parseIntValue(c))), "color", "url"], b), "", toString(s)]
5656 }
5757
58- let t = ((((r(0)[3] + r(1)[3]) + r(2)[3]) + r(3)[3]) + r(4)[3])
58+ let t = toString(((((parseIntValue(r(0)[3]) + parseIntValue(r(1)[3])) + parseIntValue(r(2)[3])) + parseIntValue(r(3)[3])) + parseIntValue(r(4)[3])))
5959 let u = if ((size(f.payments) == 1))
6060 then f.payments[0]
6161 else throw(((("Attached payment is required: " + d(t)) + " peymentstr=") + t))
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 let c = "100000"
99
1010 func d (e) = if ((9 > size(e)))
1111 then (("0" + ".") + e)
1212 else ((take(e, (size(e) - 8)) + ".") + takeRight(e, 8))
1313
1414
1515 @Callable(f)
1616 func paint (g) = {
1717 let h = toBase58String(f.caller.bytes)
1818 let i = split(g, b)
1919 let j = min([5, size(i)])
2020 let k = nil
2121 let l = ["--", "--", "--", "0"]
2222 let m = [h, c, "color", "url"]
2323 func n (o) = {
2424 let p = parseInt(i[o])
2525 if ($isInstanceOf(p, "Int"))
2626 then {
2727 let e = p
2828 if (if ((parseIntValue(i[o]) > -1))
2929 then (1000 > parseIntValue(i[o]))
3030 else false)
3131 then parseIntValue(i[o])
3232 else -1
3333 }
3434 else -1
3535 }
3636
3737 func q (o) = {
3838 let p = getString(i[o])
3939 if ($isInstanceOf(p, "String"))
4040 then {
4141 let e = p
4242 getStringValue(i[o])
4343 }
4444 else ""
4545 }
4646
4747 func r (o) = if (if ((o > (j - 1)))
4848 then true
4949 else (0 > n(o)))
5050 then l
5151 else if ((q(o) == ""))
5252 then [i[o], makeString(m, b), "reciever=master", c]
5353 else {
5454 let s = parseIntValue(split(getStringValue(i[o]), b)[1])
5555 [i[o], makeString([h, toString((s + parseIntValue(c))), "color", "url"], b), "", toString(s)]
5656 }
5757
58- let t = ((((r(0)[3] + r(1)[3]) + r(2)[3]) + r(3)[3]) + r(4)[3])
58+ let t = toString(((((parseIntValue(r(0)[3]) + parseIntValue(r(1)[3])) + parseIntValue(r(2)[3])) + parseIntValue(r(3)[3])) + parseIntValue(r(4)[3])))
5959 let u = if ((size(f.payments) == 1))
6060 then f.payments[0]
6161 else throw(((("Attached payment is required: " + d(t)) + " peymentstr=") + t))
6262 if (isDefined(u.assetId))
6363 then throw("works with waves only")
6464 else if ((parseIntValue(t) > u.amount))
6565 then throw(((("you give: " + d(toString(u.amount))) + ", but deal needs: ") + d(t)))
6666 else {
6767 let v = [r(0), r(1), r(2), r(3), r(4)]
6868 $Tuple2([StringEntry(v[0][0], v[0][1]), ScriptTransfer(a, parseIntValue(v[0][3]), unit), StringEntry(v[1][0], v[1][1]), ScriptTransfer(a, parseIntValue(v[1][3]), unit), StringEntry(v[2][0], v[2][1]), ScriptTransfer(a, parseIntValue(v[2][3]), unit), StringEntry(v[3][0], v[3][1]), ScriptTransfer(a, parseIntValue(v[3][3]), unit), StringEntry(v[4][0], v[4][1]), ScriptTransfer(a, parseIntValue(v[4][3]), unit)], unit)
6969 }
7070 }
7171
7272

github/deemru/w8io/169f3d6 
36.34 ms