tx · 83geuWDdtp2aDqcmBo8swMRtoJoYyMxqj7uXH5LxpQp6

3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj:  -0.01400000 Waves

2020.12.09 07:30 [1300648] smart account 3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj > SELF 0.00000000 Waves

{ "type": 13, "id": "83geuWDdtp2aDqcmBo8swMRtoJoYyMxqj7uXH5LxpQp6", "fee": 1400000, "feeAssetId": null, "timestamp": 1607488264629, "version": 2, "chainId": 84, "sender": "3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj", "senderPublicKey": "A2m227AHcq7gWfSU59Q3UJaqkEa7SccFYmJuWHbFrrKE", "proofs": [ "5zw8Nank4v7PvkctHQoB3FSG28F3RnkS1fyFqEGdJZFWsBeeoRBBgp4atGk5bayPhfB666kZepK8EjV39rkdmLKB" ], "script": "base64:AAIEAAAAAAAAADIIAhIECgIECBIDCgEEEgYKBAgICAgSBgoECAgICBIECgIICBIDCgEIEgMKAQgSAwoBCAAAABwAAAAADmRhcHBSdW5uaW5nS2V5AgAAABRjb25mX2RhcHBfaXNfcnVubmluZwAAAAARbWFpbnRlbmFuY2VNU0dLZXkCAAAAFGNvbmZfbWFpbnRlbmFuY2VfbXNnAAAAABJ3aGl0ZWxpc3RlZG9ubHlLZXkCAAAAFWNvbmZfd2hpdGVsaXN0ZWRfb25seQAAAAALZGFwcFJ1bm5pbmcEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwUAAAAOZGFwcFJ1bm5pbmdLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEGAAAAAA5tYWludGVuYW5jZU1TRwQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAABFtYWludGVuYW5jZU1TR0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQA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ZUVudHJ5AAAAAQkBAAAAC2tleVVzZXJBZGRyAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAALa2V5VXNlck5hbWUAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAAtrZXlVc2VyRGVzYwAAAAEFAAAAB2FkZHJlc3MJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAADWtleVVzZXJTb2NpYWwAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAAxrZXlVc2VyVGh1bWIAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAA1rZXlVc2VyU3RhdHVzAAAAAQUAAAAHYWRkcmVzcwUAAAALdXNlclJlbW92ZWQFAAAAA25pbAkAAAIAAAABAgAAAAtOb3QgYWxsb3dlZAAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAFY2hyaXMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAADEMq4w", "height": 1300648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FnXXQH1q98dBfE2dCUdkaUivuDJuzMLFmG2BGN2T9tyr Next: 3DoAavhzuc2ypXbtqW7qNxgTr2MrLF5nXUPawTWq7zYE Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b) = {
5- let c = getString(this, b)
6- if ($isInstanceOf(c, "String"))
4+let a = "conf_dapp_is_running"
5+
6+let b = "conf_maintenance_msg"
7+
8+let c = "conf_whitelisted_only"
9+
10+let d = {
11+ let e = getBoolean(this, a)
12+ if ($isInstanceOf(e, "Boolean"))
713 then {
8- let d = c
9- d
14+ let f = e
15+ f
16+ }
17+ else true
18+ }
19+
20+let g = {
21+ let e = getString(this, b)
22+ if ($isInstanceOf(e, "String"))
23+ then {
24+ let f = e
25+ f
26+ }
27+ else ""
28+ }
29+
30+let h = {
31+ let e = getBoolean(this, c)
32+ if ($isInstanceOf(e, "Boolean"))
33+ then {
34+ let f = e
35+ f
36+ }
37+ else true
38+ }
39+
40+let i = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
41+
42+let j = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
43+
44+let k = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
45+
46+let l = "ALLOWED"
47+
48+let m = "REGISTERED"
49+
50+let n = "VERIFIED"
51+
52+let o = "SUSPENDED"
53+
54+let p = "REMOVED"
55+
56+let q = "CHANGE_REQUIRED"
57+
58+let r = "UNREGISTERED"
59+
60+let s = "RESET"
61+
62+func t (u) = {
63+ let e = getString(this, u)
64+ if ($isInstanceOf(e, "String"))
65+ then {
66+ let f = e
67+ f
1068 }
1169 else ""
1270 }
1371
1472
15-func e (b) = {
16- let c = getBoolean(this, b)
17- if ($isInstanceOf(c, "Boolean"))
73+func v (u) = {
74+ let e = getBoolean(this, u)
75+ if ($isInstanceOf(e, "Boolean"))
1876 then {
19- let d = c
20- d
77+ let f = e
78+ f
2179 }
2280 else false
2381 }
2482
2583
26-func f (b) = {
27- let c = getInteger(this, b)
28- if ($isInstanceOf(c, "Int"))
84+func w (u) = {
85+ let e = getInteger(this, u)
86+ if ($isInstanceOf(e, "Int"))
2987 then {
30- let g = c
31- g
88+ let x = e
89+ x
3290 }
3391 else 0
3492 }
3593
3694
37-func h (i) = if (if ((75 > size(i)))
38- then (60 > size(split(i, "/")[0]))
95+func y (z) = if (if ((75 > size(z)))
96+ then (60 > size(split(z, "/")[0]))
3997 else false)
40- then (16 > size(split(i, "/")[1]))
98+ then (16 > size(split(z, "/")[1]))
4199 else false
42100
43-
44-let j = "conf_dapp_is_running"
45-
46-let k = "conf_maintenance_msg"
47-
48-let l = "conf_whitelisted_only"
49-
50-let m = e(j)
51-
52-let n = a(k)
53-
54-let o = e(l)
55-
56-let p = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
57-
58-let q = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
59-
60-let r = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
61-
62-let s = "ALLOWED"
63-
64-let t = "REGISTERED"
65-
66-let u = "VERIFIED"
67-
68-let v = "SUSPENDED"
69-
70-let w = "REMOVED"
71-
72-let x = "CHANGE_REQUIRED"
73-
74-let y = "UNREGISTERED"
75-
76-let z = "RESET"
77101
78102 func A (B) = ("user_" + B)
79103
96120 func H (B) = ("user_date_" + B)
97121
98122
99-@Callable(g)
123+@Callable(x)
100124 func appRunning (I,J) = {
101- let B = toString(addressFromPublicKey(g.callerPublicKey))
102- let K = toBase58String(g.transactionId)
103- if (containsElement([q, r, toString(this)], B))
104- then [BooleanEntry("conf_dapp_is_running", I), StringEntry("conf_maintenance_msg", J)]
125+ let B = toString(addressFromPublicKey(x.callerPublicKey))
126+ let K = toBase58String(x.transactionId)
127+ if (containsElement([j, k, toString(this)], B))
128+ then [BooleanEntry(a, I), StringEntry(b, J)]
105129 else throw("You are not allowed to change this")
106130 }
107131
108132
109133
110-@Callable(g)
134+@Callable(x)
111135 func registrationMode (L) = {
112- let B = toString(addressFromPublicKey(g.callerPublicKey))
113- let K = toBase58String(g.transactionId)
114- if (containsElement([q, r, toString(this)], B))
115- then [BooleanEntry("conf_whitelisted_only", o)]
136+ let B = toString(addressFromPublicKey(x.callerPublicKey))
137+ let K = toBase58String(x.transactionId)
138+ if (containsElement([j, k, toString(this)], B))
139+ then [BooleanEntry(c, h)]
116140 else throw("You are not allowed to change this")
117141 }
118142
119143
120144
121-@Callable(g)
122-func registerUser (M,N,O,P) = if (!(m))
123- then throw(n)
145+@Callable(x)
146+func registerUser (M,N,O,P) = if (!(d))
147+ then throw(g)
124148 else {
125- let B = toString(addressFromPublicKey(g.callerPublicKey))
126- let Q = a(G(B))
127- let K = toBase58String(g.transactionId)
149+ let B = toString(addressFromPublicKey(x.callerPublicKey))
150+ let Q = t(G(B))
151+ let K = toBase58String(x.transactionId)
128152 let R = lastBlock.timestamp
129- if (if ((Q == v))
153+ if (if ((Q == o))
130154 then true
131- else (Q == w))
155+ else (Q == p))
132156 then throw("Account suspended/ removed.")
133- else if ((Q == t))
157+ else if ((Q == m))
134158 then throw("Already registered")
135159 else if (if ((Q == ""))
136- then o
160+ then h
137161 else false)
138162 then throw("Can't register, get approved first.")
139163 else if (if ((M == ""))
144168 then throw("600 Char. max description")
145169 else if ((size(M) > 45))
146170 then throw("45 Char. max name")
147- else [IntegerEntry(H(B), R), StringEntry(A(B), ((K + "_") + toString(R))), StringEntry(C(B), M), StringEntry(D(B), N), StringEntry(E(B), P), StringEntry(F(B), O), StringEntry(G(B), t)]
171+ else [IntegerEntry(H(B), R), StringEntry(A(B), ((K + "_") + toString(R))), StringEntry(C(B), M), StringEntry(D(B), N), StringEntry(E(B), P), StringEntry(F(B), O), StringEntry(G(B), m)]
148172 }
149173
150174
151175
152-@Callable(g)
153-func updateUser (M,N,O,P) = if (!(m))
154- then throw(n)
176+@Callable(x)
177+func updateUser (M,N,O,P) = if (!(d))
178+ then throw(g)
155179 else {
156- let B = toString(addressFromPublicKey(g.callerPublicKey))
157- let K = toBase58String(g.transactionId)
158- let S = a(G(B))
159- if (if ((S == v))
180+ let B = toString(addressFromPublicKey(x.callerPublicKey))
181+ let K = toBase58String(x.transactionId)
182+ let S = t(G(B))
183+ if (if ((S == o))
160184 then true
161- else (S == w))
185+ else (S == p))
162186 then throw("Account suspended/ removed.")
163187 else if (if ((S == ""))
164188 then true
165- else (S == s))
189+ else (S == l))
166190 then throw("Register first")
167191 else if (if ((M == ""))
168192 then true
177201
178202
179203
180-@Callable(g)
181-func changeUserStatus (T,U) = if (!(m))
182- then throw(n)
204+@Callable(x)
205+func changeUserStatus (T,U) = if (!(d))
206+ then throw(g)
183207 else {
184- let B = toString(addressFromPublicKey(g.callerPublicKey))
185- let K = toBase58String(g.transactionId)
186- let V = a(G(T))
187- let W = if ((U == u))
188- then u
189- else if ((U == t))
190- then t
191- else if ((U == v))
192- then v
193- else if ((U == w))
194- then w
195- else if ((U == s))
196- then s
197- else if ((U == x))
198- then x
199- else if (if ((U == z))
200- then (V == s)
208+ let B = toString(addressFromPublicKey(x.callerPublicKey))
209+ let K = toBase58String(x.transactionId)
210+ let V = t(G(T))
211+ let W = if ((U == n))
212+ then n
213+ else if ((U == m))
214+ then m
215+ else if ((U == o))
216+ then o
217+ else if ((U == p))
218+ then p
219+ else if ((U == l))
220+ then l
221+ else if ((U == q))
222+ then q
223+ else if (if ((U == s))
224+ then (V == l)
201225 else false)
202226 then ""
203227 else throw("Unknown status")
204- let X = f(H(T))
228+ let X = w(H(T))
205229 if (if ((X == 0))
206- then (U != s)
230+ then (U != l)
207231 else false)
208232 then throw("You cant set this status, user is not registered.")
209- else if (if ((V == s))
210- then (U == s)
233+ else if (if ((V == l))
234+ then (U == l)
211235 else false)
212236 then throw("User already allowed")
213- else if (if ((V == t))
214- then (U == s)
237+ else if (if ((V == m))
238+ then (U == l)
215239 else false)
216240 then throw("User already allowed & registered")
217- else if (if ((V == u))
218- then (U == s)
241+ else if (if ((V == n))
242+ then (U == l)
219243 else false)
220244 then throw("User already allowed & verified")
221- else if (containsElement([q, r, toString(this)], B))
245+ else if (containsElement([j, k, toString(this)], B))
222246 then [StringEntry(G(T), W)]
223247 else throw("Not allowed to change user status")
224248 }
225249
226250
227251
228-@Callable(g)
252+@Callable(x)
229253 func creditUser (T) = {
230- let B = toString(addressFromPublicKey(g.callerPublicKey))
231- let K = toBase58String(g.transactionId)
232- if (containsElement([q, r], B))
233- then [ScriptTransfer(Address(fromBase58String(T)), 30000000000, p)]
254+ let B = toString(addressFromPublicKey(x.callerPublicKey))
255+ let K = toBase58String(x.transactionId)
256+ if (containsElement([j, k], B))
257+ then [ScriptTransfer(Address(fromBase58String(T)), 30000000000, i)]
234258 else throw("Not allowed")
235259 }
236260
237261
238262
239-@Callable(g)
263+@Callable(x)
240264 func deleteUser (T) = {
241- let B = toString(addressFromPublicKey(g.callerPublicKey))
242- let K = toBase58String(g.transactionId)
243- if (containsElement([q, r, toString(this)], B))
244- then [DeleteEntry(H(T)), DeleteEntry(A(T)), DeleteEntry(C(T)), DeleteEntry(D(T)), DeleteEntry(E(T)), DeleteEntry(F(T)), StringEntry(G(T), w)]
265+ let B = toString(addressFromPublicKey(x.callerPublicKey))
266+ let K = toBase58String(x.transactionId)
267+ if (containsElement([j, k, toString(this)], B))
268+ then [DeleteEntry(H(T)), DeleteEntry(A(T)), DeleteEntry(C(T)), DeleteEntry(D(T)), DeleteEntry(E(T)), DeleteEntry(F(T)), StringEntry(G(T), p)]
245269 else throw("Not allowed")
246270 }
247271
248272
249273
250-@Callable(g)
274+@Callable(x)
251275 func deleteEntry (Y) = {
252- let B = toString(addressFromPublicKey(g.callerPublicKey))
253- if ((B == q))
276+ let B = toString(addressFromPublicKey(x.callerPublicKey))
277+ if ((B == j))
254278 then [DeleteEntry(Y)]
255279 else throw("no")
256280 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b) = {
5- let c = getString(this, b)
6- if ($isInstanceOf(c, "String"))
4+let a = "conf_dapp_is_running"
5+
6+let b = "conf_maintenance_msg"
7+
8+let c = "conf_whitelisted_only"
9+
10+let d = {
11+ let e = getBoolean(this, a)
12+ if ($isInstanceOf(e, "Boolean"))
713 then {
8- let d = c
9- d
14+ let f = e
15+ f
16+ }
17+ else true
18+ }
19+
20+let g = {
21+ let e = getString(this, b)
22+ if ($isInstanceOf(e, "String"))
23+ then {
24+ let f = e
25+ f
26+ }
27+ else ""
28+ }
29+
30+let h = {
31+ let e = getBoolean(this, c)
32+ if ($isInstanceOf(e, "Boolean"))
33+ then {
34+ let f = e
35+ f
36+ }
37+ else true
38+ }
39+
40+let i = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
41+
42+let j = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
43+
44+let k = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
45+
46+let l = "ALLOWED"
47+
48+let m = "REGISTERED"
49+
50+let n = "VERIFIED"
51+
52+let o = "SUSPENDED"
53+
54+let p = "REMOVED"
55+
56+let q = "CHANGE_REQUIRED"
57+
58+let r = "UNREGISTERED"
59+
60+let s = "RESET"
61+
62+func t (u) = {
63+ let e = getString(this, u)
64+ if ($isInstanceOf(e, "String"))
65+ then {
66+ let f = e
67+ f
1068 }
1169 else ""
1270 }
1371
1472
15-func e (b) = {
16- let c = getBoolean(this, b)
17- if ($isInstanceOf(c, "Boolean"))
73+func v (u) = {
74+ let e = getBoolean(this, u)
75+ if ($isInstanceOf(e, "Boolean"))
1876 then {
19- let d = c
20- d
77+ let f = e
78+ f
2179 }
2280 else false
2381 }
2482
2583
26-func f (b) = {
27- let c = getInteger(this, b)
28- if ($isInstanceOf(c, "Int"))
84+func w (u) = {
85+ let e = getInteger(this, u)
86+ if ($isInstanceOf(e, "Int"))
2987 then {
30- let g = c
31- g
88+ let x = e
89+ x
3290 }
3391 else 0
3492 }
3593
3694
37-func h (i) = if (if ((75 > size(i)))
38- then (60 > size(split(i, "/")[0]))
95+func y (z) = if (if ((75 > size(z)))
96+ then (60 > size(split(z, "/")[0]))
3997 else false)
40- then (16 > size(split(i, "/")[1]))
98+ then (16 > size(split(z, "/")[1]))
4199 else false
42100
43-
44-let j = "conf_dapp_is_running"
45-
46-let k = "conf_maintenance_msg"
47-
48-let l = "conf_whitelisted_only"
49-
50-let m = e(j)
51-
52-let n = a(k)
53-
54-let o = e(l)
55-
56-let p = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
57-
58-let q = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
59-
60-let r = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
61-
62-let s = "ALLOWED"
63-
64-let t = "REGISTERED"
65-
66-let u = "VERIFIED"
67-
68-let v = "SUSPENDED"
69-
70-let w = "REMOVED"
71-
72-let x = "CHANGE_REQUIRED"
73-
74-let y = "UNREGISTERED"
75-
76-let z = "RESET"
77101
78102 func A (B) = ("user_" + B)
79103
80104
81105 func C (B) = ("user_name_" + B)
82106
83107
84108 func D (B) = ("user_desc_" + B)
85109
86110
87111 func E (B) = ("user_social_" + B)
88112
89113
90114 func F (B) = ("user_thumb_" + B)
91115
92116
93117 func G (B) = ("user_status_" + B)
94118
95119
96120 func H (B) = ("user_date_" + B)
97121
98122
99-@Callable(g)
123+@Callable(x)
100124 func appRunning (I,J) = {
101- let B = toString(addressFromPublicKey(g.callerPublicKey))
102- let K = toBase58String(g.transactionId)
103- if (containsElement([q, r, toString(this)], B))
104- then [BooleanEntry("conf_dapp_is_running", I), StringEntry("conf_maintenance_msg", J)]
125+ let B = toString(addressFromPublicKey(x.callerPublicKey))
126+ let K = toBase58String(x.transactionId)
127+ if (containsElement([j, k, toString(this)], B))
128+ then [BooleanEntry(a, I), StringEntry(b, J)]
105129 else throw("You are not allowed to change this")
106130 }
107131
108132
109133
110-@Callable(g)
134+@Callable(x)
111135 func registrationMode (L) = {
112- let B = toString(addressFromPublicKey(g.callerPublicKey))
113- let K = toBase58String(g.transactionId)
114- if (containsElement([q, r, toString(this)], B))
115- then [BooleanEntry("conf_whitelisted_only", o)]
136+ let B = toString(addressFromPublicKey(x.callerPublicKey))
137+ let K = toBase58String(x.transactionId)
138+ if (containsElement([j, k, toString(this)], B))
139+ then [BooleanEntry(c, h)]
116140 else throw("You are not allowed to change this")
117141 }
118142
119143
120144
121-@Callable(g)
122-func registerUser (M,N,O,P) = if (!(m))
123- then throw(n)
145+@Callable(x)
146+func registerUser (M,N,O,P) = if (!(d))
147+ then throw(g)
124148 else {
125- let B = toString(addressFromPublicKey(g.callerPublicKey))
126- let Q = a(G(B))
127- let K = toBase58String(g.transactionId)
149+ let B = toString(addressFromPublicKey(x.callerPublicKey))
150+ let Q = t(G(B))
151+ let K = toBase58String(x.transactionId)
128152 let R = lastBlock.timestamp
129- if (if ((Q == v))
153+ if (if ((Q == o))
130154 then true
131- else (Q == w))
155+ else (Q == p))
132156 then throw("Account suspended/ removed.")
133- else if ((Q == t))
157+ else if ((Q == m))
134158 then throw("Already registered")
135159 else if (if ((Q == ""))
136- then o
160+ then h
137161 else false)
138162 then throw("Can't register, get approved first.")
139163 else if (if ((M == ""))
140164 then true
141165 else (N == ""))
142166 then throw("Name and description cannot be empty")
143167 else if ((size(N) > 600))
144168 then throw("600 Char. max description")
145169 else if ((size(M) > 45))
146170 then throw("45 Char. max name")
147- else [IntegerEntry(H(B), R), StringEntry(A(B), ((K + "_") + toString(R))), StringEntry(C(B), M), StringEntry(D(B), N), StringEntry(E(B), P), StringEntry(F(B), O), StringEntry(G(B), t)]
171+ else [IntegerEntry(H(B), R), StringEntry(A(B), ((K + "_") + toString(R))), StringEntry(C(B), M), StringEntry(D(B), N), StringEntry(E(B), P), StringEntry(F(B), O), StringEntry(G(B), m)]
148172 }
149173
150174
151175
152-@Callable(g)
153-func updateUser (M,N,O,P) = if (!(m))
154- then throw(n)
176+@Callable(x)
177+func updateUser (M,N,O,P) = if (!(d))
178+ then throw(g)
155179 else {
156- let B = toString(addressFromPublicKey(g.callerPublicKey))
157- let K = toBase58String(g.transactionId)
158- let S = a(G(B))
159- if (if ((S == v))
180+ let B = toString(addressFromPublicKey(x.callerPublicKey))
181+ let K = toBase58String(x.transactionId)
182+ let S = t(G(B))
183+ if (if ((S == o))
160184 then true
161- else (S == w))
185+ else (S == p))
162186 then throw("Account suspended/ removed.")
163187 else if (if ((S == ""))
164188 then true
165- else (S == s))
189+ else (S == l))
166190 then throw("Register first")
167191 else if (if ((M == ""))
168192 then true
169193 else (N == ""))
170194 then throw("Name & description cannot be empty")
171195 else if ((size(N) > 600))
172196 then throw("600 Char. max for description")
173197 else if ((size(M) > 45))
174198 then throw("45 Char. max name")
175199 else [StringEntry(C(B), M), StringEntry(D(B), N), StringEntry(E(B), P), StringEntry(F(B), O)]
176200 }
177201
178202
179203
180-@Callable(g)
181-func changeUserStatus (T,U) = if (!(m))
182- then throw(n)
204+@Callable(x)
205+func changeUserStatus (T,U) = if (!(d))
206+ then throw(g)
183207 else {
184- let B = toString(addressFromPublicKey(g.callerPublicKey))
185- let K = toBase58String(g.transactionId)
186- let V = a(G(T))
187- let W = if ((U == u))
188- then u
189- else if ((U == t))
190- then t
191- else if ((U == v))
192- then v
193- else if ((U == w))
194- then w
195- else if ((U == s))
196- then s
197- else if ((U == x))
198- then x
199- else if (if ((U == z))
200- then (V == s)
208+ let B = toString(addressFromPublicKey(x.callerPublicKey))
209+ let K = toBase58String(x.transactionId)
210+ let V = t(G(T))
211+ let W = if ((U == n))
212+ then n
213+ else if ((U == m))
214+ then m
215+ else if ((U == o))
216+ then o
217+ else if ((U == p))
218+ then p
219+ else if ((U == l))
220+ then l
221+ else if ((U == q))
222+ then q
223+ else if (if ((U == s))
224+ then (V == l)
201225 else false)
202226 then ""
203227 else throw("Unknown status")
204- let X = f(H(T))
228+ let X = w(H(T))
205229 if (if ((X == 0))
206- then (U != s)
230+ then (U != l)
207231 else false)
208232 then throw("You cant set this status, user is not registered.")
209- else if (if ((V == s))
210- then (U == s)
233+ else if (if ((V == l))
234+ then (U == l)
211235 else false)
212236 then throw("User already allowed")
213- else if (if ((V == t))
214- then (U == s)
237+ else if (if ((V == m))
238+ then (U == l)
215239 else false)
216240 then throw("User already allowed & registered")
217- else if (if ((V == u))
218- then (U == s)
241+ else if (if ((V == n))
242+ then (U == l)
219243 else false)
220244 then throw("User already allowed & verified")
221- else if (containsElement([q, r, toString(this)], B))
245+ else if (containsElement([j, k, toString(this)], B))
222246 then [StringEntry(G(T), W)]
223247 else throw("Not allowed to change user status")
224248 }
225249
226250
227251
228-@Callable(g)
252+@Callable(x)
229253 func creditUser (T) = {
230- let B = toString(addressFromPublicKey(g.callerPublicKey))
231- let K = toBase58String(g.transactionId)
232- if (containsElement([q, r], B))
233- then [ScriptTransfer(Address(fromBase58String(T)), 30000000000, p)]
254+ let B = toString(addressFromPublicKey(x.callerPublicKey))
255+ let K = toBase58String(x.transactionId)
256+ if (containsElement([j, k], B))
257+ then [ScriptTransfer(Address(fromBase58String(T)), 30000000000, i)]
234258 else throw("Not allowed")
235259 }
236260
237261
238262
239-@Callable(g)
263+@Callable(x)
240264 func deleteUser (T) = {
241- let B = toString(addressFromPublicKey(g.callerPublicKey))
242- let K = toBase58String(g.transactionId)
243- if (containsElement([q, r, toString(this)], B))
244- then [DeleteEntry(H(T)), DeleteEntry(A(T)), DeleteEntry(C(T)), DeleteEntry(D(T)), DeleteEntry(E(T)), DeleteEntry(F(T)), StringEntry(G(T), w)]
265+ let B = toString(addressFromPublicKey(x.callerPublicKey))
266+ let K = toBase58String(x.transactionId)
267+ if (containsElement([j, k, toString(this)], B))
268+ then [DeleteEntry(H(T)), DeleteEntry(A(T)), DeleteEntry(C(T)), DeleteEntry(D(T)), DeleteEntry(E(T)), DeleteEntry(F(T)), StringEntry(G(T), p)]
245269 else throw("Not allowed")
246270 }
247271
248272
249273
250-@Callable(g)
274+@Callable(x)
251275 func deleteEntry (Y) = {
252- let B = toString(addressFromPublicKey(g.callerPublicKey))
253- if ((B == q))
276+ let B = toString(addressFromPublicKey(x.callerPublicKey))
277+ if ((B == j))
254278 then [DeleteEntry(Y)]
255279 else throw("no")
256280 }
257281
258282

github/deemru/w8io/169f3d6 
79.71 ms