tx · HBhYFRVnhDrU5T3xJHkvp2QoYDZNJTjrKYyKiiYaCJoz 3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a: -0.01400000 Waves 2020.10.19 02:02 [1226637] smart account 3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a > SELF 0.00000000 Waves
{ "type": 13, "id": "HBhYFRVnhDrU5T3xJHkvp2QoYDZNJTjrKYyKiiYaCJoz", "fee": 1400000, "feeAssetId": null, "timestamp": 1603062189655, "version": 2, "chainId": 84, "sender": "3NAVsUiHMQhkX4keYNiV59vmRTzsnvCTA4a", "senderPublicKey": "7rC1eUHm39ujzNxeYHmmZia2bTsJ1Un38mzD1QHNVwUN", "proofs": [ "48zoq6XpJaLoZFqJFcyKhBF51EuzS2gCs3cMWwfJNpN4G1DoMoZ8um66FkwcULStug8Y4hxxA7RhAJFEC8HGgxzV" ], "script": "base64:AAIEAAAAAAAAAAkIAhIAEgMKAQgAAAALAAAAAAF2AQAAACBKIORRKdGuW+tVLPRcWWb+0xWszmzFJhTeBifbzqn5OwAAAAABbwEAAAAgZcAIEs7DPu9HfAtSW98Mx1j03M6cygFcgfbHFwoDIjsAAAAAAWwCAAAAIzNOMmhIYXFFRVhqRkhFNUc4TlR3NnY3S05Nd2NIb2IyRW5hAAAAAAFmAAAAAAAAAAAKAAAAAAFwAAAAAAAAAAAUAAAAAANwcjEAAAAAAAAAAAMAAAAAA3ByMgAAAAAAAAAAAgAAAAADcHIzAAAAAAAAAAABAQAAAAxnZXRTdGF0aXN0aWMAAAAABAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMCAAAACXN0YXRpc3RpYwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAABEwXzBfMF8wXzBfMF8wXzBfMAEAAAAHZ2V0VXNlcgAAAAEAAAAEdXNlcgQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAAR1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R4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAW8GbNeZHA==", "height": 1226637, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: uViy9gVHhrfYjD9YNQN5auUza9boECdHnXmFr97y1Qz Next: 3v2VkvyjL3cbj7beti7uQhNfsPapqZbwPturhhk7Pvd1 Diff:
Old | New | Differences | |
---|---|---|---|
40 | 40 | ||
41 | 41 | ||
42 | 42 | func n (o) = { | |
43 | - | let k = split(o, " | |
43 | + | let k = split(o, " III") | |
44 | 44 | let p = split(k[0], ".") | |
45 | 45 | let q = (parseIntValue(p[0]) * 100000000) | |
46 | 46 | if ((size(p) == 1)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'5zNG3WFGEh3tA38hAZSvD9fMTsR7hwPU7XR4qZqGjs46' | |
5 | 5 | ||
6 | 6 | let b = base58'7rC1eUHm39ujzNxeYHmmZia2bTsJ1Un38mzD1QHNVwUN' | |
7 | 7 | ||
8 | 8 | let c = "3N2hHaqEEXjFHE5G8NTw6v7KNMwcHob2Ena" | |
9 | 9 | ||
10 | 10 | let d = 10 | |
11 | 11 | ||
12 | 12 | let e = 20 | |
13 | 13 | ||
14 | 14 | let f = 3 | |
15 | 15 | ||
16 | 16 | let g = 2 | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | func i () = { | |
21 | 21 | let j = getString(this, "statistic") | |
22 | 22 | if ($isInstanceOf(j, "String")) | |
23 | 23 | then { | |
24 | 24 | let k = j | |
25 | 25 | k | |
26 | 26 | } | |
27 | 27 | else "0_0_0_0_0_0_0_0_0" | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func l (m) = { | |
32 | 32 | let j = getString(this, m) | |
33 | 33 | if ($isInstanceOf(j, "String")) | |
34 | 34 | then { | |
35 | 35 | let k = j | |
36 | 36 | k | |
37 | 37 | } | |
38 | 38 | else "0_0_0_0_0_0_0_0_0_0_0_0" | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func n (o) = { | |
43 | - | let k = split(o, " | |
43 | + | let k = split(o, " III") | |
44 | 44 | let p = split(k[0], ".") | |
45 | 45 | let q = (parseIntValue(p[0]) * 100000000) | |
46 | 46 | if ((size(p) == 1)) | |
47 | 47 | then q | |
48 | 48 | else ((parseIntValue(p[1]) * pow(10, 0, (8 - size(p[1])), 0, 0, HALFDOWN)) + q) | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(q) | |
53 | 53 | func deposit () = { | |
54 | 54 | let r = value(q.payments[0]) | |
55 | 55 | let s = r.amount | |
56 | 56 | let t = { | |
57 | 57 | let j = r.assetId | |
58 | 58 | if ($isInstanceOf(j, "ByteVector")) | |
59 | 59 | then { | |
60 | 60 | let u = j | |
61 | 61 | toBase58String(u) | |
62 | 62 | } | |
63 | 63 | else "" | |
64 | 64 | } | |
65 | 65 | if ((r.assetId != a)) | |
66 | 66 | then throw("Only III token") | |
67 | 67 | else { | |
68 | 68 | let k = toBase58String(q.caller.bytes) | |
69 | 69 | let o = split(i(), "_") | |
70 | 70 | if ((k == c)) | |
71 | 71 | then [StringEntry("statistic", makeString([o[0], o[1], o[2], o[3], o[4], o[5], o[6], toString((parseIntValue(o[7]) + s)), o[8]], "_"))] | |
72 | 72 | else { | |
73 | 73 | let v = lastBlock.height | |
74 | 74 | let w = ((s / 100) * (100 + e)) | |
75 | 75 | let x = (w - s) | |
76 | 76 | let y = split(l(k), "_") | |
77 | 77 | let z = parseIntValue(y[2]) | |
78 | 78 | if ((y[7] == "0")) | |
79 | 79 | then [StringEntry("statistic", makeString([toString((parseIntValue(o[0]) + s)), toString((parseIntValue(o[1]) + 1)), o[2], o[3], o[4], o[5], o[6], o[7], toString((parseIntValue(o[8]) + x))], "_")), StringEntry(k, makeString([toString((parseIntValue(y[0]) + s)), toString((parseIntValue(y[1]) + w)), toString((z + w)), toString(((z + w) / d)), toString(v), y[5], y[6], y[7], y[8], y[9], y[10], y[11]], "_"))] | |
80 | 80 | else { | |
81 | 81 | let A = split(l(y[7]), "_") | |
82 | 82 | let B = ((s / 100) * f) | |
83 | 83 | if ((A[7] == "0")) | |
84 | 84 | then [StringEntry("statistic", makeString([toString((parseIntValue(o[0]) + s)), toString((parseIntValue(o[1]) + 1)), o[2], o[3], toString((parseIntValue(o[4]) + B)), toString((parseIntValue(o[5]) + 1)), o[6], o[7], toString(((parseIntValue(o[8]) + x) + B))], "_")), StringEntry(k, makeString([toString((parseIntValue(y[0]) + s)), toString((parseIntValue(y[1]) + w)), toString((z + w)), toString(((z + w) / d)), toString(v), y[5], y[6], y[7], y[8], y[9], y[10], y[11]], "_")), StringEntry(y[7], makeString([A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], toString((parseIntValue(A[8]) + B)), A[9], A[10], toString((parseIntValue(A[11]) + B))], "_"))] | |
85 | 85 | else { | |
86 | 86 | let C = split(l(A[7]), "_") | |
87 | 87 | let D = ((s / 100) * g) | |
88 | 88 | if ((C[7] == "0")) | |
89 | 89 | then [StringEntry("statistic", makeString([toString((parseIntValue(o[0]) + s)), toString((parseIntValue(o[1]) + 1)), o[2], o[3], toString(((parseIntValue(o[4]) + B) + D)), toString((parseIntValue(o[5]) + 2)), o[6], o[7], toString((((parseIntValue(o[8]) + x) + B) + D))], "_")), StringEntry(k, makeString([toString((parseIntValue(y[0]) + s)), toString((parseIntValue(y[1]) + w)), toString((z + w)), toString(((z + w) / d)), toString(v), y[5], y[6], y[7], y[8], y[9], y[10], y[11]], "_")), StringEntry(y[7], makeString([A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], toString((parseIntValue(A[8]) + B)), A[9], A[10], toString((parseIntValue(A[11]) + B))], "_")), StringEntry(A[7], makeString([C[0], C[1], C[2], C[3], C[4], C[5], C[6], C[7], C[8], toString((parseIntValue(C[9]) + D)), C[10], toString((parseIntValue(C[11]) + D))], "_"))] | |
90 | 90 | else { | |
91 | 91 | let E = split(l(C[7]), "_") | |
92 | 92 | let F = ((s / 100) * h) | |
93 | 93 | [StringEntry("statistic", makeString([toString((parseIntValue(o[0]) + s)), toString((parseIntValue(o[1]) + 1)), o[2], o[3], toString((((parseIntValue(o[4]) + B) + D) + F)), toString((parseIntValue(o[5]) + 3)), o[6], o[7], toString(((((parseIntValue(o[8]) + x) + B) + D) + F))], "_")), StringEntry(k, makeString([toString((parseIntValue(y[0]) + s)), toString((parseIntValue(y[1]) + w)), toString((z + w)), toString(((z + w) / d)), toString(v), y[5], y[6], y[7], y[8], y[9], y[10], y[11]], "_")), StringEntry(y[7], makeString([A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], toString((parseIntValue(A[8]) + B)), A[9], A[10], toString((parseIntValue(A[11]) + B))], "_")), StringEntry(A[7], makeString([C[0], C[1], C[2], C[3], C[4], C[5], C[6], C[7], C[8], toString((parseIntValue(C[9]) + D)), C[10], toString((parseIntValue(C[11]) + D))], "_")), StringEntry(C[7], makeString([E[0], E[1], E[2], E[3], E[4], E[5], E[6], E[7], E[8], E[9], toString((parseIntValue(E[10]) + F)), toString((parseIntValue(E[11]) + F))], "_"))] | |
94 | 94 | } | |
95 | 95 | } | |
96 | 96 | } | |
97 | 97 | } | |
98 | 98 | } | |
99 | 99 | } | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | ||
103 | 103 | @Callable(q) | |
104 | 104 | func withdraw (G) = { | |
105 | 105 | let x = n(G) | |
106 | 106 | let k = toBase58String(q.caller.bytes) | |
107 | 107 | let y = split(l(k), "_") | |
108 | 108 | let o = split(i(), "_") | |
109 | 109 | let v = lastBlock.height | |
110 | 110 | let H = parseIntValue(y[4]) | |
111 | 111 | let w = parseIntValue(y[2]) | |
112 | 112 | let I = parseIntValue(y[3]) | |
113 | 113 | let p = parseIntValue(y[11]) | |
114 | 114 | let J = (H + d) | |
115 | 115 | let K = if ((v >= J)) | |
116 | 116 | then (w + p) | |
117 | 117 | else ((I * ((d - J) - v)) + p) | |
118 | 118 | if ((0 > x)) | |
119 | 119 | then throw("Can't withdraw negative amount") | |
120 | 120 | else if ((p >= x)) | |
121 | 121 | then [StringEntry("statistic", makeString([o[0], o[1], o[2], toString((parseIntValue(o[3]) + 1)), o[4], o[5], toString((parseIntValue(o[6]) + x)), o[7], o[8]], "_")), StringEntry(k, makeString([y[0], y[1], y[2], y[3], y[4], toString((parseIntValue(y[5]) + x)), toString((parseIntValue(y[6]) + x)), y[7], y[8], y[9], y[10], toString((parseIntValue(y[11]) - x))], "_")), ScriptTransfer(q.caller, x, a)] | |
122 | 122 | else if ((0 > (K - x))) | |
123 | 123 | then throw(((((((((((((((("Not enough balance: m" + toString(K)) + " / y") + toString(x)) + " / x") + toString(w)) + " / b") + toString(p)) + " / f") + toString(d)) + " / g") + toString(J)) + " / h") + toString(v)) + " / d") + toString(I))) | |
124 | 124 | else { | |
125 | 125 | let L = ((w + p) - x) | |
126 | 126 | [StringEntry("statistic", makeString([o[0], o[1], toString(((parseIntValue(o[2]) + x) - parseIntValue(y[11]))), toString((parseIntValue(o[3]) + 1)), o[4], o[5], toString((parseIntValue(o[6]) + parseIntValue(y[11]))), o[7], o[8]], "_")), StringEntry(k, makeString([y[0], y[1], toString(L), y[3], y[4], toString((parseIntValue(y[5]) + x)), toString((parseIntValue(y[6]) + x)), y[7], y[8], y[9], (y[10] + "_0")], "_")), ScriptTransfer(q.caller, x, a)] | |
127 | 127 | } | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | @Verifier(M) | |
132 | 132 | func N () = { | |
133 | 133 | let j = M | |
134 | 134 | if ($isInstanceOf(j, "SetScriptTransaction")) | |
135 | 135 | then { | |
136 | 136 | let I = j | |
137 | 137 | sigVerify(M.bodyBytes, M.proofs[0], b) | |
138 | 138 | } | |
139 | 139 | else true | |
140 | 140 | } | |
141 | 141 |
github/deemru/w8io/169f3d6 57.73 ms ◑