tx · BgWyX4fGzPj6X4YTAE3McitQMrPCp3aG68WrfxVd9bdy 3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a: -0.01400000 Waves 2020.10.18 21:16 [1226362] smart account 3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a > SELF 0.00000000 Waves
{ "type": 13, "id": "BgWyX4fGzPj6X4YTAE3McitQMrPCp3aG68WrfxVd9bdy", "fee": 1400000, "feeAssetId": null, "timestamp": 1603044976619, "version": 2, "chainId": 84, "sender": "3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a", "senderPublicKey": "7rC1eUHm39ujzNxeYHmmZia2bTsJ1Un38mzD1QHNVwUN", "proofs": [ "3bjykjch3h2iMBN243GFduPjjjG1dC9nhdCuDAkfeHBtf3ZBto84jNSeaDFdA24wJccTmgKi382GPTuEyWfXUXHP" ], "script": "base64:AAIEAAAAAAAAAAkIAhIAEgMKAQEAAAAJAAAAAAFvAQAAACBlwAgSzsM+70d8C1Jb3wzHWPTczpzKAVyB9scXCgMiOwAAAAABbAIAAAAjM04yaEhhcUVFWGpGSEU1RzhOVHc2djdLTk13Y0hvYjJFbmEAAAAAAWYAAAAAAAAAAAoAAAAAAXAAAAAAAAAAABQAAAAAA3ByMQAAAAAAAAAAAwAAAAADcHIyAAAAAAAAAAACAAAAAANwcjMAAAAAAAAAAAEBAAAADGdldFN0YXRpc3RpYwAAAAAEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwIAAAAJc3RhdGlzdGljAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAETBfMF8wXzBfMF8wXzBfMF8wAQAAAAdnZXRVc2VyAAAAAQAAAAR1c2VyBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAABHVzZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAAB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AAAAEIC8gagkAAaQAAAABBQAAAAFqAgAAAAQgLyB4CQABpAAAAAEFAAAAAXgCAAAABCAvIGQJAAGkAAAAAQUAAAABZAIAAAAEIC8gYgkAAaQAAAABBQAAAAFiAgAAAAQgLyBnCQABpAAAAAEFAAAAAWcCAAAABCAvIG0JAAGkAAAAAQUAAAABbQIAAAAQIC8gKGQqKGYtZy1oKSkrYgkAAaQAAAABCQAAZAAAAAIJAABoAAAAAgUAAAABZAkAAGUAAAACCQAAZQAAAAIFAAAAAWYFAAAAAWcFAAAAAWgFAAAAAWIAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAFvBug9Ts0=", "height": 1226362, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AoghBRzNsHSoL65G5wB7Mhwo5DkiTEGo8VB7xaRciQtZ Next: 6a4xQe5iz5nv2fcooqRrEd5LURXnAxfxuf3VDykDzjzM Diff:
Old | New | Differences | |
---|---|---|---|
85 | 85 | let t = split(k(j), "_") | |
86 | 86 | let p = split(h(), "_") | |
87 | 87 | let q = lastBlock.height | |
88 | - | let B = parseIntValue(t[ | |
88 | + | let B = parseIntValue(t[4]) | |
89 | 89 | let r = parseIntValue(t[2]) | |
90 | 90 | let C = parseIntValue(t[3]) | |
91 | 91 | let D = parseIntValue(t[11]) | |
99 | 99 | then [StringEntry("statistic", makeString([p[0], p[1], p[2], toString((parseIntValue(p[3]) + 1)), p[4], p[5], toString((parseIntValue(p[6]) + s)), p[7], p[8]], "_")), StringEntry(j, makeString([t[0], t[1], t[2], t[3], t[4], toString((parseIntValue(t[5]) + s)), toString((parseIntValue(t[6]) + s)), t[7], t[8], t[9], t[10], toString((parseIntValue(t[11]) - s))], "_")), ScriptTransfer(m.caller, s, unit)] | |
100 | 100 | else if ((0 > (F - s))) | |
101 | 101 | then throw(((((((((((((((("Not enough balance: m" + toString(F)) + " / y") + toString(s)) + " / x") + toString(r)) + " / b") + toString(D)) + " / f") + toString(c)) + " / g") + toString(E)) + " / h") + toString(q)) + " / d") + toString(C))) | |
102 | - | else { | |
103 | - | let G = ((r + D) - s) | |
104 | - | [StringEntry("statistic", makeString([p[0], p[1], toString(((parseIntValue(p[2]) + s) - parseIntValue(t[11]))), toString((parseIntValue(p[3]) + 1)), p[4], p[5], toString((parseIntValue(p[6]) + parseIntValue(t[11]))), p[7], p[8]], "_")), StringEntry(j, makeString([t[0], t[1], toString(G), t[3], t[4], toString((parseIntValue(t[5]) + s)), toString((parseIntValue(t[6]) + s)), t[7], t[8], t[9], (t[10] + "_0")], "_")), ScriptTransfer(m.caller, s, unit)] | |
105 | - | } | |
102 | + | else throw(((((((((((((((("h" + toString(q)) + " / j") + toString(B)) + " / x") + toString(r)) + " / d") + toString(C)) + " / b") + toString(D)) + " / g") + toString(E)) + " / m") + toString(F)) + " / (d*(f-g-h))+b") + toString(((C * ((c - E) - q)) + D)))) | |
106 | 103 | } | |
107 | 104 | ||
108 | 105 | ||
109 | - | @Verifier( | |
110 | - | func | |
111 | - | let i = | |
106 | + | @Verifier(G) | |
107 | + | func H () = { | |
108 | + | let i = G | |
112 | 109 | if ($isInstanceOf(i, "SetScriptTransaction")) | |
113 | 110 | then { | |
114 | 111 | let C = i | |
115 | - | sigVerify( | |
112 | + | sigVerify(G.bodyBytes, G.proofs[0], a) | |
116 | 113 | } | |
117 | 114 | else true | |
118 | 115 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'7rC1eUHm39ujzNxeYHmmZia2bTsJ1Un38mzD1QHNVwUN' | |
5 | 5 | ||
6 | 6 | let b = "3N2hHaqEEXjFHE5G8NTw6v7KNMwcHob2Ena" | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | let d = 20 | |
11 | 11 | ||
12 | 12 | let e = 3 | |
13 | 13 | ||
14 | 14 | let f = 2 | |
15 | 15 | ||
16 | 16 | let g = 1 | |
17 | 17 | ||
18 | 18 | func h () = { | |
19 | 19 | let i = getString(this, "statistic") | |
20 | 20 | if ($isInstanceOf(i, "String")) | |
21 | 21 | then { | |
22 | 22 | let j = i | |
23 | 23 | j | |
24 | 24 | } | |
25 | 25 | else "0_0_0_0_0_0_0_0_0" | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func k (l) = { | |
30 | 30 | let i = getString(this, l) | |
31 | 31 | if ($isInstanceOf(i, "String")) | |
32 | 32 | then { | |
33 | 33 | let j = i | |
34 | 34 | j | |
35 | 35 | } | |
36 | 36 | else "0_0_0_0_0_0_0_0_0_0_0_0" | |
37 | 37 | } | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | @Callable(m) | |
41 | 41 | func deposit () = { | |
42 | 42 | let n = value(m.payments[0]) | |
43 | 43 | let o = n.amount | |
44 | 44 | if (isDefined(n.assetId)) | |
45 | 45 | then throw("can hodl waves only at the moment") | |
46 | 46 | else { | |
47 | 47 | let j = toBase58String(m.caller.bytes) | |
48 | 48 | let p = split(h(), "_") | |
49 | 49 | if ((j == b)) | |
50 | 50 | then [StringEntry("statistic", makeString([p[0], p[1], p[2], p[3], p[4], p[5], p[6], toString((parseIntValue(p[7]) + o)), p[8]], "_"))] | |
51 | 51 | else { | |
52 | 52 | let q = lastBlock.height | |
53 | 53 | let r = ((o / 100) * (100 + d)) | |
54 | 54 | let s = (r - o) | |
55 | 55 | let t = split(k(j), "_") | |
56 | 56 | let u = parseIntValue(t[2]) | |
57 | 57 | if ((t[7] == "0")) | |
58 | 58 | then [StringEntry("statistic", makeString([toString((parseIntValue(p[0]) + o)), toString((parseIntValue(p[1]) + 1)), p[2], p[3], p[4], p[5], p[6], p[7], toString((parseIntValue(p[8]) + s))], "_")), StringEntry(j, makeString([toString((parseIntValue(t[0]) + o)), toString((parseIntValue(t[1]) + r)), toString((u + r)), toString(((u + r) / c)), toString(q), t[5], t[6], t[7], t[8], t[9], t[10], t[11]], "_"))] | |
59 | 59 | else { | |
60 | 60 | let v = split(k(t[7]), "_") | |
61 | 61 | let w = ((o / 100) * e) | |
62 | 62 | if ((v[7] == "0")) | |
63 | 63 | then [StringEntry("statistic", makeString([toString((parseIntValue(p[0]) + o)), toString((parseIntValue(p[1]) + 1)), p[2], p[3], toString((parseIntValue(p[4]) + w)), toString((parseIntValue(p[5]) + 1)), p[6], p[7], toString(((parseIntValue(p[8]) + s) + w))], "_")), StringEntry(j, makeString([toString((parseIntValue(t[0]) + o)), toString((parseIntValue(t[1]) + r)), toString((u + r)), toString(((u + r) / c)), toString(q), t[5], t[6], t[7], t[8], t[9], t[10], t[11]], "_")), StringEntry(t[7], makeString([v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], toString((parseIntValue(v[8]) + w)), v[9], v[10], toString((parseIntValue(v[11]) + w))], "_"))] | |
64 | 64 | else { | |
65 | 65 | let x = split(k(v[7]), "_") | |
66 | 66 | let y = ((o / 100) * f) | |
67 | 67 | if ((x[7] == "0")) | |
68 | 68 | then [StringEntry("statistic", makeString([toString((parseIntValue(p[0]) + o)), toString((parseIntValue(p[1]) + 1)), p[2], p[3], toString(((parseIntValue(p[4]) + w) + y)), toString((parseIntValue(p[5]) + 2)), p[6], p[7], toString((((parseIntValue(p[8]) + s) + w) + y))], "_")), StringEntry(j, makeString([toString((parseIntValue(t[0]) + o)), toString((parseIntValue(t[1]) + r)), toString((u + r)), toString(((u + r) / c)), toString(q), t[5], t[6], t[7], t[8], t[9], t[10], t[11]], "_")), StringEntry(t[7], makeString([v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], toString((parseIntValue(v[8]) + w)), v[9], v[10], toString((parseIntValue(v[11]) + w))], "_")), StringEntry(v[7], makeString([x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], toString((parseIntValue(x[9]) + y)), x[10], toString((parseIntValue(x[11]) + y))], "_"))] | |
69 | 69 | else { | |
70 | 70 | let z = split(k(x[7]), "_") | |
71 | 71 | let A = ((o / 100) * g) | |
72 | 72 | [StringEntry("statistic", makeString([toString((parseIntValue(p[0]) + o)), toString((parseIntValue(p[1]) + 1)), p[2], p[3], toString((((parseIntValue(p[4]) + w) + y) + A)), toString((parseIntValue(p[5]) + 3)), p[6], p[7], toString(((((parseIntValue(p[8]) + s) + w) + y) + A))], "_")), StringEntry(j, makeString([toString((parseIntValue(t[0]) + o)), toString((parseIntValue(t[1]) + r)), toString((u + r)), toString(((u + r) / c)), toString(q), t[5], t[6], t[7], t[8], t[9], t[10], t[11]], "_")), StringEntry(t[7], makeString([v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], toString((parseIntValue(v[8]) + w)), v[9], v[10], toString((parseIntValue(v[11]) + w))], "_")), StringEntry(v[7], makeString([x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], toString((parseIntValue(x[9]) + y)), x[10], toString((parseIntValue(x[11]) + y))], "_")), StringEntry(x[7], makeString([z[0], z[1], z[2], z[3], z[4], z[5], z[6], z[7], z[8], z[9], toString((parseIntValue(z[10]) + A)), toString((parseIntValue(z[11]) + A))], "_"))] | |
73 | 73 | } | |
74 | 74 | } | |
75 | 75 | } | |
76 | 76 | } | |
77 | 77 | } | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
82 | 82 | @Callable(m) | |
83 | 83 | func withdraw (s) = { | |
84 | 84 | let j = toBase58String(m.caller.bytes) | |
85 | 85 | let t = split(k(j), "_") | |
86 | 86 | let p = split(h(), "_") | |
87 | 87 | let q = lastBlock.height | |
88 | - | let B = parseIntValue(t[ | |
88 | + | let B = parseIntValue(t[4]) | |
89 | 89 | let r = parseIntValue(t[2]) | |
90 | 90 | let C = parseIntValue(t[3]) | |
91 | 91 | let D = parseIntValue(t[11]) | |
92 | 92 | let E = (B + c) | |
93 | 93 | let F = if ((q >= E)) | |
94 | 94 | then (r + D) | |
95 | 95 | else ((C * ((c - E) - q)) + D) | |
96 | 96 | if ((0 > s)) | |
97 | 97 | then throw("Can't withdraw negative amount") | |
98 | 98 | else if ((D >= s)) | |
99 | 99 | then [StringEntry("statistic", makeString([p[0], p[1], p[2], toString((parseIntValue(p[3]) + 1)), p[4], p[5], toString((parseIntValue(p[6]) + s)), p[7], p[8]], "_")), StringEntry(j, makeString([t[0], t[1], t[2], t[3], t[4], toString((parseIntValue(t[5]) + s)), toString((parseIntValue(t[6]) + s)), t[7], t[8], t[9], t[10], toString((parseIntValue(t[11]) - s))], "_")), ScriptTransfer(m.caller, s, unit)] | |
100 | 100 | else if ((0 > (F - s))) | |
101 | 101 | then throw(((((((((((((((("Not enough balance: m" + toString(F)) + " / y") + toString(s)) + " / x") + toString(r)) + " / b") + toString(D)) + " / f") + toString(c)) + " / g") + toString(E)) + " / h") + toString(q)) + " / d") + toString(C))) | |
102 | - | else { | |
103 | - | let G = ((r + D) - s) | |
104 | - | [StringEntry("statistic", makeString([p[0], p[1], toString(((parseIntValue(p[2]) + s) - parseIntValue(t[11]))), toString((parseIntValue(p[3]) + 1)), p[4], p[5], toString((parseIntValue(p[6]) + parseIntValue(t[11]))), p[7], p[8]], "_")), StringEntry(j, makeString([t[0], t[1], toString(G), t[3], t[4], toString((parseIntValue(t[5]) + s)), toString((parseIntValue(t[6]) + s)), t[7], t[8], t[9], (t[10] + "_0")], "_")), ScriptTransfer(m.caller, s, unit)] | |
105 | - | } | |
102 | + | else throw(((((((((((((((("h" + toString(q)) + " / j") + toString(B)) + " / x") + toString(r)) + " / d") + toString(C)) + " / b") + toString(D)) + " / g") + toString(E)) + " / m") + toString(F)) + " / (d*(f-g-h))+b") + toString(((C * ((c - E) - q)) + D)))) | |
106 | 103 | } | |
107 | 104 | ||
108 | 105 | ||
109 | - | @Verifier( | |
110 | - | func | |
111 | - | let i = | |
106 | + | @Verifier(G) | |
107 | + | func H () = { | |
108 | + | let i = G | |
112 | 109 | if ($isInstanceOf(i, "SetScriptTransaction")) | |
113 | 110 | then { | |
114 | 111 | let C = i | |
115 | - | sigVerify( | |
112 | + | sigVerify(G.bodyBytes, G.proofs[0], a) | |
116 | 113 | } | |
117 | 114 | else true | |
118 | 115 | } | |
119 | 116 |
github/deemru/w8io/169f3d6 59.14 ms ◑