tx · 2kUQFjcohY4gZiY5QPTzwNVnz5f7E3rWw7EbnWoBYu16 3MpKmkFmjoGLpPWhScheYrN7fjdJAFp9tEX: -0.01400000 Waves 2020.10.12 22:19 [1217749] smart account 3MpKmkFmjoGLpPWhScheYrN7fjdJAFp9tEX > SELF 0.00000000 Waves
{ "type": 13, "id": "2kUQFjcohY4gZiY5QPTzwNVnz5f7E3rWw7EbnWoBYu16", "fee": 1400000, "feeAssetId": null, "timestamp": 1602530407966, "version": 2, "chainId": 84, "sender": "3MpKmkFmjoGLpPWhScheYrN7fjdJAFp9tEX", "senderPublicKey": "33Gr5uEJMDMKdRs25QUDvTeQ7q5EpGcAdPztrFvQWdv9", "proofs": [ "2HqSdgBeZay4V6v5b6syYjBuTdLWwVQn3eaCbSKxN2RiqbLoqsubzUwgoiKaVYUb4BPGaUPAxncem12okxFXdWgQ" ], "script": "base64:AAIEAAAAAAAAAAkIAhIAEgMKAQEAAAAKAAAAAAF2AQAAACBKIORRKdGuW+tVLPRcWWb+0xWszmzFJhTeBifbzqn5OwAAAAABbwEAAAAgHkxz8qzFYQy/gEmjfxlkGkg1N6RMNBT1/p4yXLb8QTIAAAAAAWwCAAAAIzNOMmhIYXFFRVhqRkhFNUc4TlR3NnY3S05Nd2NIb2IyRW5hAAAAAAFmAAAAAAAAAAPoAAAAAAFwAAAAAAAAAAAUAAAAAANwcjEAAAAAAAAAAAMAAAAAA3ByMgAAAAAAAAAAAgAAAAADcHIzAAAAAAAAAAABAQAAAAxnZXRTdGF0aXN0aWMAAAAABAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMCAAAACXN0YXRpc3RpYwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAABEwXzBfMF8wXzBfMF8wXzBfMAEAAAAHZ2V0VXNlcgAAAAEAAAAEdXNlcgQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAAR1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ckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAW8G5QXhQA==", "height": 1217749, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HfeL95csdtAB9M2oQApv7YAh4KaUoh4yqyU8g6e7sEWX Next: 9TZpweuKqELRK1kR93hHbpfL7azZwxVpqVw4YFh9eWht Diff:
Old | New | Differences | |
---|---|---|---|
7 | 7 | ||
8 | 8 | let l = "3N2hHaqEEXjFHE5G8NTw6v7KNMwcHob2Ena" | |
9 | 9 | ||
10 | - | let f = | |
10 | + | let f = 1000 | |
11 | 11 | ||
12 | 12 | let p = 20 | |
13 | 13 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let v = base58'5zNG3WFGEh3tA38hAZSvD9fMTsR7hwPU7XR4qZqGjs46' | |
5 | 5 | ||
6 | 6 | let o = base58'33Gr5uEJMDMKdRs25QUDvTeQ7q5EpGcAdPztrFvQWdv9' | |
7 | 7 | ||
8 | 8 | let l = "3N2hHaqEEXjFHE5G8NTw6v7KNMwcHob2Ena" | |
9 | 9 | ||
10 | - | let f = | |
10 | + | let f = 1000 | |
11 | 11 | ||
12 | 12 | let p = 20 | |
13 | 13 | ||
14 | 14 | let pr1 = 3 | |
15 | 15 | ||
16 | 16 | let pr2 = 2 | |
17 | 17 | ||
18 | 18 | let pr3 = 1 | |
19 | 19 | ||
20 | 20 | func getStatistic () = match getString(this, "statistic") { | |
21 | 21 | case a: String => | |
22 | 22 | a | |
23 | 23 | case _ => | |
24 | 24 | "0_0_0_0_0_0_0_0_0" | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getUser (user) = match getString(this, user) { | |
29 | 29 | case a: String => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | "0_0_0_0_0_0_0_0_0_0_0_0" | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | @Callable(i) | |
37 | 37 | func deposit () = { | |
38 | 38 | let t = value(i.payments[0]) | |
39 | 39 | let z = t.amount | |
40 | 40 | if ((t.assetId != v)) | |
41 | 41 | then throw("Only III token") | |
42 | 42 | else { | |
43 | 43 | let a = toBase58String(i.caller.bytes) | |
44 | 44 | let s = split(getStatistic(), "_") | |
45 | 45 | if ((a == l)) | |
46 | 46 | then [StringEntry("statistic", makeString([s[0], s[1], s[2], s[3], s[4], s[5], s[6], toString((parseIntValue(s[7]) + z)), s[8]], "_"))] | |
47 | 47 | else { | |
48 | 48 | let h = lastBlock.height | |
49 | 49 | let x = ((z / 100) * (100 + p)) | |
50 | 50 | let y = (x - z) | |
51 | 51 | let u = split(getUser(a), "_") | |
52 | 52 | let ud2 = parseIntValue(u[2]) | |
53 | 53 | if ((u[7] == "0")) | |
54 | 54 | then [StringEntry("statistic", makeString([toString((parseIntValue(s[0]) + z)), toString((parseIntValue(s[1]) + 1)), s[2], s[3], s[4], s[5], s[6], s[7], toString((parseIntValue(s[8]) + y))], "_")), StringEntry(a, makeString([toString((parseIntValue(u[0]) + z)), toString((parseIntValue(u[1]) + x)), toString((ud2 + x)), toString(((ud2 + x) / f)), toString(h), u[5], u[6], u[7], u[8], u[9], u[10], u[11]], "_"))] | |
55 | 55 | else { | |
56 | 56 | let r1 = split(getUser(u[7]), "_") | |
57 | 57 | let sr1 = ((z / 100) * pr1) | |
58 | 58 | if ((r1[7] == "0")) | |
59 | 59 | then [StringEntry("statistic", makeString([toString((parseIntValue(s[0]) + z)), toString((parseIntValue(s[1]) + 1)), s[2], s[3], toString((parseIntValue(s[4]) + sr1)), toString((parseIntValue(s[5]) + 1)), s[6], s[7], toString(((parseIntValue(s[8]) + y) + sr1))], "_")), StringEntry(a, makeString([toString((parseIntValue(u[0]) + z)), toString((parseIntValue(u[1]) + x)), toString((ud2 + x)), toString(((ud2 + x) / f)), toString(h), u[5], u[6], u[7], u[8], u[9], u[10], u[11]], "_")), StringEntry(u[7], makeString([r1[0], r1[1], r1[2], r1[3], r1[4], r1[5], r1[6], r1[7], toString((parseIntValue(r1[8]) + sr1)), r1[9], r1[10], toString((parseIntValue(r1[11]) + sr1))], "_"))] | |
60 | 60 | else { | |
61 | 61 | let r2 = split(getUser(r1[7]), "_") | |
62 | 62 | let sr2 = ((z / 100) * pr2) | |
63 | 63 | if ((r2[7] == "0")) | |
64 | 64 | then [StringEntry("statistic", makeString([toString((parseIntValue(s[0]) + z)), toString((parseIntValue(s[1]) + 1)), s[2], s[3], toString(((parseIntValue(s[4]) + sr1) + sr2)), toString((parseIntValue(s[5]) + 2)), s[6], s[7], toString((((parseIntValue(s[8]) + y) + sr1) + sr2))], "_")), StringEntry(a, makeString([toString((parseIntValue(u[0]) + z)), toString((parseIntValue(u[1]) + x)), toString((ud2 + x)), toString(((ud2 + x) / f)), toString(h), u[5], u[6], u[7], u[8], u[9], u[10], u[11]], "_")), StringEntry(u[7], makeString([r1[0], r1[1], r1[2], r1[3], r1[4], r1[5], r1[6], r1[7], toString((parseIntValue(r1[8]) + sr1)), r1[9], r1[10], toString((parseIntValue(r1[11]) + sr1))], "_")), StringEntry(r1[7], makeString([r2[0], r2[1], r2[2], r2[3], r2[4], r2[5], r2[6], r2[7], r2[8], toString((parseIntValue(r2[9]) + sr2)), r2[10], toString((parseIntValue(r2[11]) + sr2))], "_"))] | |
65 | 65 | else { | |
66 | 66 | let r3 = split(getUser(r2[7]), "_") | |
67 | 67 | let sr3 = ((z / 100) * pr3) | |
68 | 68 | [StringEntry("statistic", makeString([toString((parseIntValue(s[0]) + z)), toString((parseIntValue(s[1]) + 1)), s[2], s[3], toString((((parseIntValue(s[4]) + sr1) + sr2) + sr3)), toString((parseIntValue(s[5]) + 3)), s[6], s[7], toString(((((parseIntValue(s[8]) + y) + sr1) + sr2) + sr3))], "_")), StringEntry(a, makeString([toString((parseIntValue(u[0]) + z)), toString((parseIntValue(u[1]) + x)), toString((ud2 + x)), toString(((ud2 + x) / f)), toString(h), u[5], u[6], u[7], u[8], u[9], u[10], u[11]], "_")), StringEntry(u[7], makeString([r1[0], r1[1], r1[2], r1[3], r1[4], r1[5], r1[6], r1[7], toString((parseIntValue(r1[8]) + sr1)), r1[9], r1[10], toString((parseIntValue(r1[11]) + sr1))], "_")), StringEntry(r1[7], makeString([r2[0], r2[1], r2[2], r2[3], r2[4], r2[5], r2[6], r2[7], r2[8], toString((parseIntValue(r2[9]) + sr2)), r2[10], toString((parseIntValue(r2[11]) + sr2))], "_")), StringEntry(r2[7], makeString([r3[0], r3[1], r3[2], r3[3], r3[4], r3[5], r3[6], r3[7], r3[8], r3[9], toString((parseIntValue(r3[10]) + sr3)), toString((parseIntValue(r3[11]) + sr3))], "_"))] | |
69 | 69 | } | |
70 | 70 | } | |
71 | 71 | } | |
72 | 72 | } | |
73 | 73 | } | |
74 | 74 | } | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | ||
78 | 78 | @Callable(i) | |
79 | 79 | func withdraw (y) = { | |
80 | 80 | let a = toBase58String(i.caller.bytes) | |
81 | 81 | let u = split(getUser(a), "_") | |
82 | 82 | let s = split(getStatistic(), "_") | |
83 | 83 | let h = lastBlock.height | |
84 | 84 | let j = parseIntValue(u[1]) | |
85 | 85 | let x = parseIntValue(u[2]) | |
86 | 86 | let d = parseIntValue(u[3]) | |
87 | 87 | let b = parseIntValue(u[11]) | |
88 | 88 | let g = (j + f) | |
89 | 89 | let m = if ((h >= g)) | |
90 | 90 | then (x + b) | |
91 | 91 | else ((d * ((f - g) - h)) + b) | |
92 | 92 | if ((0 > y)) | |
93 | 93 | then throw("Can't withdraw negative amount") | |
94 | 94 | else if ((b >= y)) | |
95 | 95 | then [StringEntry("statistic", makeString([s[0], s[1], s[2], toString((parseIntValue(s[3]) + 1)), s[4], s[5], toString((parseIntValue(s[6]) + y)), s[7], s[8]], "_")), StringEntry(a, makeString([u[0], u[1], u[2], u[3], u[4], toString((parseIntValue(u[5]) + y)), toString((parseIntValue(u[6]) + y)), u[7], u[8], u[9], u[10], toString((parseIntValue(u[11]) - y))], "_")), ScriptTransfer(i.caller, y, v)] | |
96 | 96 | else if ((0 > (m - y))) | |
97 | 97 | then throw("Not enough balance") | |
98 | 98 | else { | |
99 | 99 | let n = ((x + b) - y) | |
100 | 100 | [StringEntry("statistic", makeString([s[0], s[1], toString(((parseIntValue(s[2]) + y) - parseIntValue(u[11]))), toString((parseIntValue(s[3]) + 1)), s[4], s[5], toString((parseIntValue(s[6]) + parseIntValue(u[11]))), s[7], s[8]], "_")), StringEntry(a, makeString([u[0], u[1], toString(n), u[3], u[4], toString((parseIntValue(u[5]) + y)), toString((parseIntValue(u[6]) + y)), u[7], u[8], u[9], (u[10] + "_0")], "_")), ScriptTransfer(i.caller, y, v)] | |
101 | 101 | } | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | @Verifier(tx) | |
106 | 106 | func verify () = match tx { | |
107 | 107 | case d: SetScriptTransaction => | |
108 | 108 | sigVerify(tx.bodyBytes, tx.proofs[0], o) | |
109 | 109 | case _ => | |
110 | 110 | true | |
111 | 111 | } | |
112 | 112 |
github/deemru/w8io/169f3d6 54.94 ms ◑