tx · Cemojcz6ZgcMGYiGBoPRi1aqiEizbg4TRNSJ8ySN7pVi

3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj:  -0.01400000 Waves

2022.02.24 06:08 [1937185] smart account 3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj > SELF 0.00000000 Waves

{ "type": 13, "id": "Cemojcz6ZgcMGYiGBoPRi1aqiEizbg4TRNSJ8ySN7pVi", "fee": 1400000, "feeAssetId": null, "timestamp": 1645672113688, "version": 2, "chainId": 84, "sender": "3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj", "senderPublicKey": "A2m227AHcq7gWfSU59Q3UJaqkEa7SccFYmJuWHbFrrKE", "proofs": [ "3TVMEG8GhfVuBKzamDMzhRYoBwE8EYRDr1vAtZoHjxAVygDrnDRsMiP8RxbJDtcKLmSZooqDV4Ur6XfKFdyEtqx6" ], "script": "base64:AAIFAAAAAAAAAD4IAhIECgIECBIDCgEEEgYKBAgICAgSBgoECAgICBIFCgMICAgSAwoBCBIGCgQICAEBEgYKBAgIAQESAwoBCAAAACIAAAAABWNocmlzAgAAACMzTXNHNmpQTkNyVkpVdFlCN1hKQnhTN3V0V3NYQWY0bjlWcAAAAAAEam9lcAIAAAAjM016bTRWTHdzTjl1WndiVE16UGozWHV4VjZrRWZBUjhVRE4AAAAADmRhcHBSdW5uaW5nS2V5AgAAABRjb25mX2RhcHBfaXNfcnVubmluZwAAAAARbWFpbnRlbmFuY2VNU0dLZXkCAAAAFGNvbmZfbWFpbnRlbmFuY2VfbXNnAAAAABJ3aGl0ZWxpc3RlZG9ubHlLZXkCAAAAFWNvbmZfd2hpdGVsaXN0ZWRfb25seQAAAAALZGFwcFJ1bm5pbmcJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAEdGhpcwUAAAAOZGFwcFJ1bm5pbmdLZXkGAAAAAA5tYWludGVuYW5jZU1TRwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQ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FAAAACmFydGlzdEFkZHIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAEWtleVNlY29uZGFyeVNoYXJlAAAAAQUAAAAKYXJ0aXN0QWRkcgUAAAADbmlsCQAAAgAAAAECAAAAE1lvdSBhcmUgbm90IGFsbG93ZWQAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZjYWxsZXIFAAAABWNocmlzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAuLttOw==", "height": 1937185, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4K5kkVk5edrTX9RxFkL1cxAAxi5BrnYC3qeZxMScL1Ms Next: E5u5nwiAB94LGxKhJL8rYQinEh8zHNdHh3dwguiF7B1M Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "3P4JutBKW6pADm91FxMfGL3EYxKJtWYsWfX"
4+let a = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
55
6-let b = "3PLKXPJigZJ4aVqpMGx5ajyPYmA4Zcry9Tb"
6+let b = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
77
88 let c = "conf_dapp_is_running"
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "3P4JutBKW6pADm91FxMfGL3EYxKJtWYsWfX"
4+let a = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
55
6-let b = "3PLKXPJigZJ4aVqpMGx5ajyPYmA4Zcry9Tb"
6+let b = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
77
88 let c = "conf_dapp_is_running"
99
1010 let d = "conf_maintenance_msg"
1111
1212 let e = "conf_whitelisted_only"
1313
1414 let f = valueOrElse(getBoolean(this, c), true)
1515
1616 let g = valueOrElse(getString(this, d), "")
1717
1818 let h = valueOrElse(getBoolean(this, e), true)
1919
2020 let i = "ALLOWED"
2121
2222 let j = "REGISTERED"
2323
2424 let k = "VERIFIED"
2525
2626 let l = "SUSPENDED"
2727
2828 let m = "REMOVED"
2929
3030 let n = "CHANGE_REQUIRED"
3131
3232 let o = "UNREGISTERED"
3333
3434 let p = "RESET"
3535
3636 func q (r) = valueOrElse(getString(this, r), "")
3737
3838
3939 func s (r) = valueOrElse(getBoolean(this, r), false)
4040
4141
4242 func t (r) = valueOrElse(getInteger(this, r), 0)
4343
4444
4545 func u (v) = ("user_" + v)
4646
4747
4848 func w (v) = ("user_name_" + v)
4949
5050
5151 func x (v) = ("user_desc_" + v)
5252
5353
5454 func y (v) = ("user_social_" + v)
5555
5656
5757 func z (v) = ("user_thumb_" + v)
5858
5959
6060 func A (v) = ("user_status_" + v)
6161
6262
6363 func B (v) = ("user_date_" + v)
6464
6565
6666 func C (D) = ("artist_agent_" + D)
6767
6868
6969 func E (F,D) = ((("agent_" + F) + "_") + D)
7070
7171
7272 func G (D) = ("artist_agent_primary_" + D)
7373
7474
7575 func H (D) = ("artist_agent_secondary" + D)
7676
7777
7878 func I (J) = if (contains(J, "/"))
7979 then if (if ((76 > size(J)))
8080 then (size(split(J, "/")[0]) == 59)
8181 else false)
8282 then (16 > size(split(J, "/")[1]))
8383 else false
8484 else false
8585
8686
8787 func K (v,L,M,N,O) = {
8888 let P = if ((size(N) != 0))
8989 then I(N)
9090 else true
9191 if (!(P))
9292 then throw("CID don't match requirement!")
9393 else if (if ((L == ""))
9494 then true
9595 else (M == ""))
9696 then throw("Name and description cannot be empty")
9797 else if ((size(M) > 600))
9898 then throw("600 Char. max description")
9999 else if ((size(L) > 45))
100100 then throw("45 Char. max name")
101101 else {
102102 let Q = q(A(v))
103103 if (if ((Q == l))
104104 then true
105105 else (Q == m))
106106 then throw("Account suspended/ removed.")
107107 else if (if (!(O))
108108 then (Q == j)
109109 else false)
110110 then throw("Already registered")
111111 else if (if (if (!(O))
112112 then (Q == "")
113113 else false)
114114 then h
115115 else false)
116116 then throw("Can't register, get approved first.")
117117 else if (if (if (O)
118118 then (Q == "")
119119 else false)
120120 then true
121121 else if (O)
122122 then (Q == i)
123123 else false)
124124 then throw("Register first")
125125 else true
126126 }
127127 }
128128
129129
130130 func R (Q,S,T) = {
131131 let U = [k, j, l, m, i, n]
132132 let V = if (containsElement(U, Q))
133133 then Q
134134 else if (if ((Q == p))
135135 then (T == i)
136136 else false)
137137 then ""
138138 else throw("Unknown status")
139139 let W = t(B(S))
140140 if (if ((W == 0))
141141 then (V != i)
142142 else false)
143143 then throw("You cant set this status, user is not registered.")
144144 else if (if ((T == i))
145145 then (V == i)
146146 else false)
147147 then throw("User already allowed")
148148 else if (if ((T == j))
149149 then (V == i)
150150 else false)
151151 then throw("User already allowed & registered")
152152 else if (if ((T == k))
153153 then (V == i)
154154 else false)
155155 then throw("User already allowed & verified")
156156 else V
157157 }
158158
159159
160160 func X (L,N,Y) = (((((("{\"user_name\": \"" + L) + "\", \"user_thumb\":\"") + N) + "\",\"user_date\":\"") + Y) + "\"}")
161161
162162
163163 @Callable(Z)
164164 func appRunning (aa,ab) = {
165165 let v = toString(addressFromPublicKey(Z.callerPublicKey))
166166 let ac = toBase58String(Z.transactionId)
167167 if (containsElement([a, b, toString(this)], v))
168168 then [BooleanEntry(c, aa), StringEntry(d, ab)]
169169 else throw("You are not allowed to change this")
170170 }
171171
172172
173173
174174 @Callable(Z)
175175 func registrationMode (ad) = {
176176 let v = toString(addressFromPublicKey(Z.callerPublicKey))
177177 let ac = toBase58String(Z.transactionId)
178178 if (containsElement([a, toString(this)], v))
179179 then [BooleanEntry(e, ad)]
180180 else throw("You are not allowed to change this")
181181 }
182182
183183
184184
185185 @Callable(Z)
186186 func registerUser (L,M,N,ae) = if (!(f))
187187 then throw(g)
188188 else {
189189 let v = toString(addressFromPublicKey(Z.callerPublicKey))
190190 let ac = toBase58String(Z.transactionId)
191191 let af = lastBlock.timestamp
192192 if (!(K(v, L, M, N, false)))
193193 then throw("Something went wrong")
194194 else {
195195 let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(af))
196196 [IntegerEntry(B(v), af), StringEntry(u(v), ((ac + "_") + toString(af))), StringEntry(w(v), L), StringEntry(x(v), M), StringEntry(y(v), ae), StringEntry(z(v), N), StringEntry(A(v), j), DeleteEntry(("ALLOWED_" + v)), StringEntry(((j + "_") + v), ag)]
197197 }
198198 }
199199
200200
201201
202202 @Callable(Z)
203203 func updateUser (L,M,N,ae) = if (!(f))
204204 then throw(g)
205205 else {
206206 let v = toString(addressFromPublicKey(Z.callerPublicKey))
207207 let ac = toBase58String(Z.transactionId)
208208 let Q = q(A(v))
209209 if (!(K(v, L, M, N, true)))
210210 then throw("Something went wrong")
211211 else {
212212 let Y = t(B(v))
213213 let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(Y))
214214 [StringEntry(w(v), L), StringEntry(x(v), M), StringEntry(y(v), ae), StringEntry(z(v), N), StringEntry(((Q + "_") + v), ag)]
215215 }
216216 }
217217
218218
219219
220220 @Callable(Z)
221221 func changeUserStatus (S,Q,ah) = {
222222 let v = toString(addressFromPublicKey(Z.callerPublicKey))
223223 let ac = toBase58String(Z.transactionId)
224224 let T = q(A(S))
225225 let V = R(Q, S, T)
226226 let L = toBase64String(toBytes(q(w(S))))
227227 let N = toBase64String(toBytes(q(z(S))))
228228 let Y = t(B(S))
229229 let ag = X(L, N, toString(Y))
230230 if (containsElement([a, b, toString(this)], v))
231231 then [StringEntry(A(S), V), DeleteEntry(((T + "_") + S)), StringEntry(((V + "_") + S), ag), StringEntry(("user_note_" + S), ah)]
232232 else throw("Not allowed to change user status")
233233 }
234234
235235
236236
237237 @Callable(Z)
238238 func deleteUser (S) = {
239239 let v = toString(addressFromPublicKey(Z.callerPublicKey))
240240 let ac = toBase58String(Z.transactionId)
241241 let T = q(A(S))
242242 if (containsElement([a, toString(this)], v))
243243 then [DeleteEntry(B(S)), DeleteEntry(u(S)), DeleteEntry(w(S)), DeleteEntry(x(S)), DeleteEntry(y(S)), DeleteEntry(z(S)), DeleteEntry(("user_note_" + S)), DeleteEntry(((T + "_") + S)), StringEntry(A(S), m)]
244244 else throw("Not allowed")
245245 }
246246
247247
248248
249249 @Callable(ai)
250250 func setAgent (D,F,aj,ak) = if (!(f))
251251 then throw(g)
252252 else {
253253 let v = toString(addressFromPublicKey(ai.callerPublicKey))
254254 if (containsElement([a, toString(this)], v))
255255 then if (if ((size(D) == 0))
256256 then true
257257 else (size(F) == 0))
258258 then throw("Need both address")
259259 else [StringEntry(C(D), F), StringEntry(E(F, D), D), IntegerEntry(G(D), aj), IntegerEntry(H(D), ak)]
260260 else throw("You are not allowed")
261261 }
262262
263263
264264
265265 @Callable(ai)
266266 func unsetAgent (D,F,aj,ak) = if (!(f))
267267 then throw(g)
268268 else {
269269 let v = toString(addressFromPublicKey(ai.callerPublicKey))
270270 if (containsElement([a, toString(this)], v))
271271 then if (if ((size(D) == 0))
272272 then true
273273 else (size(F) == 0))
274274 then throw("Need both address")
275275 else [DeleteEntry(C(D)), DeleteEntry(E(F, D)), DeleteEntry(G(D)), DeleteEntry(H(D))]
276276 else throw("You are not allowed")
277277 }
278278
279279
280280
281281 @Callable(ai)
282282 func deleteEntry (al) = {
283283 let v = toString(addressFromPublicKey(ai.callerPublicKey))
284284 if ((v == a))
285285 then [DeleteEntry(al)]
286286 else throw("no")
287287 }
288288
289289

github/deemru/w8io/026f985 
58.77 ms