tx · 6L6feq5ASv1THtL6fGvXSoshuPT8QjjpyrGHKfvQdu6i 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves 2021.12.08 08:13 [1824847] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{ "type": 13, "id": "6L6feq5ASv1THtL6fGvXSoshuPT8QjjpyrGHKfvQdu6i", "fee": 1000000, "feeAssetId": null, "timestamp": 1638940453134, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "4Uwc3YPJ9noAycj2r8ttH7v7f4E1PzY2q8CVAxFuebXnbGwraitpyJT7q7Xr15Ey36wANaim8WRiFkXcKhoedmPf" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAABgAAAAAJbWFzdGVyYWRyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAGbWFzdGVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUPUYGSQjhSwi99Mcha5hyYJjHFzCelkk9AAAAAAVzZXBhcgIAAAAFfHx8fHwAAAAACWluY3JwcmljZQAAAAAAAAAAMgAAAAAJaW5pdHByaWNlAgAAAAYxMDAwMDAAAAAACW1hc3RlcmZlZQAAAAAAAAAAAQAAAAEAAAABaQEAAAAFcGFpbnQAAAABAAAABWlkYXRhBAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAHcmVxZGF0YQkABLUAAAACBQAAAAVpZGF0YQIAAAADLXwtBAAAAAVjb2xvcgMJAABmAAAAAgkAAZAAAAABBQAAAAdyZXFkYXRhAAAAAAAAAAABCQABkQAAAAIFAAAAB3JlcWRhdGEAAAAAAAAAAAECAAAAATAEAAAAA3VybAMJAABmAAAAAgkAAZ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AGRAAAAAgUAAAADYWxsAAAAAAAAAAAbAAAAAAAAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABCQABkQAAAAIJAAGRAAAAAgUAAAADYWxsAAAAAAAAAAAbAAAAAAAAAAACCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgkAAZEAAAACBQAAAANhbGwAAAAAAAAAABsAAAAAAAAAAAMFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAHAAAAAAAAAAAAAkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAHAAAAAAAAAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAHAAAAAAAAAAAAgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIJAAGRAAAAAgUAAAADYWxsAAAAAAAAAAAcAAAAAAAAAAADBQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGUAAAACCAUAAAADcG10AAAABmFtb3VudAkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAAAdwYXltZW50BQAAAAR1bml0BQAAAANuaWwFAAAABHVuaXQAAAAALl9NXg==", "height": 1824847, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BJsSv5iDcrAykjLtqig4mdVPDVprhSv278tbkP6oPHeh Next: FKp3RWkVV7wPbGLbGPxUsmhstJDPn993LPkR5PpqWMTB Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" | |
5 | 5 | ||
6 | - | let b = | |
6 | + | let b = Address(base58'3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx') | |
7 | 7 | ||
8 | - | @Callable(c) | |
9 | - | func paint (d) = { | |
10 | - | let e = toBase58String(c.caller.bytes) | |
11 | - | let f = split(d, b) | |
12 | - | let g = size(f) | |
13 | - | let h = nil | |
14 | - | func i (j) = { | |
15 | - | let k = parseInt(f[j]) | |
16 | - | if ($isInstanceOf(k, "Int")) | |
8 | + | let c = "|||||" | |
9 | + | ||
10 | + | let d = 50 | |
11 | + | ||
12 | + | let e = "100000" | |
13 | + | ||
14 | + | let f = 1 | |
15 | + | ||
16 | + | @Callable(g) | |
17 | + | func paint (h) = { | |
18 | + | let i = toBase58String(g.caller.bytes) | |
19 | + | let j = split(h, "-|-") | |
20 | + | let k = if ((size(j) > 1)) | |
21 | + | then j[1] | |
22 | + | else "0" | |
23 | + | let l = if ((size(j) > 2)) | |
24 | + | then j[2] | |
25 | + | else "-" | |
26 | + | let m = split(j[0], c) | |
27 | + | let n = min([30, size(m)]) | |
28 | + | let o = ["--", "--", a, "0"] | |
29 | + | let p = [i, e, k, l] | |
30 | + | func q (r) = { | |
31 | + | let s = parseInt(m[r]) | |
32 | + | if ($isInstanceOf(s, "Int")) | |
17 | 33 | then { | |
18 | - | let | |
19 | - | if (if ((parseIntValue( | |
20 | - | then (1000 > parseIntValue( | |
34 | + | let t = s | |
35 | + | if (if ((parseIntValue(m[r]) > -1)) | |
36 | + | then (1000 > parseIntValue(m[r])) | |
21 | 37 | else false) | |
22 | - | then | |
23 | - | else | |
38 | + | then parseIntValue(m[r]) | |
39 | + | else -1 | |
24 | 40 | } | |
25 | - | else | |
41 | + | else -1 | |
26 | 42 | } | |
27 | 43 | ||
28 | - | func | |
29 | - | let | |
30 | - | if ($isInstanceOf( | |
44 | + | func u (r) = { | |
45 | + | let s = getString(m[r]) | |
46 | + | if ($isInstanceOf(s, "String")) | |
31 | 47 | then { | |
32 | - | let | |
33 | - | | |
48 | + | let t = s | |
49 | + | getStringValue(m[r]) | |
34 | 50 | } | |
35 | - | else | |
51 | + | else "" | |
36 | 52 | } | |
37 | 53 | ||
38 | - | func n (j) = if ((j > (g - 1))) | |
39 | - | then ["--", "--", "--", "--"] | |
40 | - | else if ((i(j) == false)) | |
41 | - | then ["--", "--", "--", "--"] | |
42 | - | else if ((m(j) == false)) | |
43 | - | then [f[j], makeString([e, "100", "color", "url"], b), "", "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 | - | } | |
54 | + | func v (r) = if (if ((r > (n - 1))) | |
55 | + | then true | |
56 | + | else (0 > q(r))) | |
57 | + | then o | |
58 | + | else if ((u(r) == "")) | |
59 | + | then [m[r], makeString(p, c), a, e] | |
60 | + | else { | |
61 | + | let w = split(getStringValue(m[r]), c) | |
62 | + | let x = w[1] | |
63 | + | [m[r], makeString([i, toString(fraction(parseIntValue(x), (100 + d), 100)), k, l], c), w[0], x] | |
64 | + | } | |
48 | 65 | ||
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) | |
66 | + | let y = [v(0), v(1), v(2), v(3), v(4), v(5), v(6), v(7), v(8), v(9), v(10), v(11), v(12), v(13), v(14), v(15), v(16), v(17), v(18), v(19), v(20), v(21), v(22), v(23), v(24), v(25), v(26), v(27), v(28)] | |
67 | + | let z = toString(fraction(((((((((((((((((((((((((((((parseIntValue(y[0][3]) + parseIntValue(y[1][3])) + parseIntValue(y[2][3])) + parseIntValue(y[3][3])) + parseIntValue(y[4][3])) + parseIntValue(y[5][3])) + parseIntValue(y[6][3])) + parseIntValue(y[7][3])) + parseIntValue(y[8][3])) + parseIntValue(y[9][3])) + parseIntValue(y[10][3])) + parseIntValue(y[11][3])) + parseIntValue(y[12][3])) + parseIntValue(y[13][3])) + parseIntValue(y[14][3])) + parseIntValue(y[15][3])) + parseIntValue(y[16][3])) + parseIntValue(y[17][3])) + parseIntValue(y[18][3])) + parseIntValue(y[19][3])) + parseIntValue(y[20][3])) + parseIntValue(y[21][3])) + parseIntValue(y[22][3])) + parseIntValue(y[23][3])) + parseIntValue(y[24][3])) + parseIntValue(y[25][3])) + parseIntValue(y[26][3])) + parseIntValue(y[27][3])) + parseIntValue(y[28][3])), (100 + f), 100)) | |
68 | + | let A = if ((size(g.payments) == 1)) | |
69 | + | then g.payments[0] | |
70 | + | else throw(("Attached payment is required: " + z)) | |
71 | + | if (isDefined(A.assetId)) | |
72 | + | then throw("works with waves only") | |
73 | + | else if ((parseIntValue(z) > A.amount)) | |
74 | + | then throw(((("you give: " + toString(A.amount)) + ", but deal needs: ") + z)) | |
75 | + | else $Tuple2([StringEntry(y[0][0], y[0][1]), ScriptTransfer(Address(fromBase58String(y[0][2])), parseIntValue(y[0][3]), unit), StringEntry(y[1][0], y[1][1]), ScriptTransfer(Address(fromBase58String(y[1][2])), parseIntValue(y[1][3]), unit), StringEntry(y[2][0], y[2][1]), ScriptTransfer(Address(fromBase58String(y[2][2])), parseIntValue(y[2][3]), unit), StringEntry(y[3][0], y[3][1]), ScriptTransfer(Address(fromBase58String(y[3][2])), parseIntValue(y[3][3]), unit), StringEntry(y[4][0], y[4][1]), ScriptTransfer(Address(fromBase58String(y[4][2])), parseIntValue(y[4][3]), unit), StringEntry(y[5][0], y[5][1]), ScriptTransfer(Address(fromBase58String(y[5][2])), parseIntValue(y[5][3]), unit), StringEntry(y[6][0], y[6][1]), ScriptTransfer(Address(fromBase58String(y[6][2])), parseIntValue(y[6][3]), unit), StringEntry(y[7][0], y[7][1]), ScriptTransfer(Address(fromBase58String(y[7][2])), parseIntValue(y[7][3]), unit), StringEntry(y[8][0], y[8][1]), ScriptTransfer(Address(fromBase58String(y[8][2])), parseIntValue(y[8][3]), unit), StringEntry(y[9][0], y[9][1]), ScriptTransfer(Address(fromBase58String(y[9][2])), parseIntValue(y[9][3]), unit), StringEntry(y[10][0], y[10][1]), ScriptTransfer(Address(fromBase58String(y[10][2])), parseIntValue(y[10][3]), unit), StringEntry(y[11][0], y[11][1]), ScriptTransfer(Address(fromBase58String(y[11][2])), parseIntValue(y[11][3]), unit), StringEntry(y[12][0], y[12][1]), ScriptTransfer(Address(fromBase58String(y[12][2])), parseIntValue(y[12][3]), unit), StringEntry(y[13][0], y[13][1]), ScriptTransfer(Address(fromBase58String(y[13][2])), parseIntValue(y[13][3]), unit), StringEntry(y[14][0], y[14][1]), ScriptTransfer(Address(fromBase58String(y[14][2])), parseIntValue(y[14][3]), unit), StringEntry(y[15][0], y[15][1]), ScriptTransfer(Address(fromBase58String(y[15][2])), parseIntValue(y[15][3]), unit), StringEntry(y[16][0], y[16][1]), ScriptTransfer(Address(fromBase58String(y[16][2])), parseIntValue(y[16][3]), unit), StringEntry(y[17][0], y[17][1]), ScriptTransfer(Address(fromBase58String(y[17][2])), parseIntValue(y[17][3]), unit), StringEntry(y[18][0], y[18][1]), ScriptTransfer(Address(fromBase58String(y[18][2])), parseIntValue(y[18][3]), unit), StringEntry(y[19][0], y[19][1]), ScriptTransfer(Address(fromBase58String(y[19][2])), parseIntValue(y[19][3]), unit), StringEntry(y[20][0], y[20][1]), ScriptTransfer(Address(fromBase58String(y[20][2])), parseIntValue(y[20][3]), unit), StringEntry(y[21][0], y[21][1]), ScriptTransfer(Address(fromBase58String(y[21][2])), parseIntValue(y[21][3]), unit), StringEntry(y[22][0], y[22][1]), ScriptTransfer(Address(fromBase58String(y[22][2])), parseIntValue(y[22][3]), unit), StringEntry(y[23][0], y[23][1]), ScriptTransfer(Address(fromBase58String(y[23][2])), parseIntValue(y[23][3]), unit), StringEntry(y[24][0], y[24][1]), ScriptTransfer(Address(fromBase58String(y[24][2])), parseIntValue(y[24][3]), unit), StringEntry(y[25][0], y[25][1]), ScriptTransfer(Address(fromBase58String(y[25][2])), parseIntValue(y[25][3]), unit), StringEntry(y[26][0], y[26][1]), ScriptTransfer(Address(fromBase58String(y[26][2])), parseIntValue(y[26][3]), unit), StringEntry(y[27][0], y[27][1]), ScriptTransfer(Address(fromBase58String(y[27][2])), parseIntValue(y[27][3]), unit), StringEntry(y[28][0], y[28][1]), ScriptTransfer(Address(fromBase58String(y[28][2])), parseIntValue(y[28][3]), unit), ScriptTransfer(g.caller, (A.amount - parseIntValue(z)), unit)], unit) | |
52 | 76 | } | |
53 | 77 | ||
54 | 78 |
github/deemru/w8io/026f985 33.69 ms ◑