tx · J1qUtT4rxPbsk1z75QTkADKefo7N2Knfve3JottujxUu

3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj:  -0.01400000 Waves

2022.07.04 11:57 [2124719] smart account 3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj > SELF 0.00000000 Waves

{ "type": 13, "id": "J1qUtT4rxPbsk1z75QTkADKefo7N2Knfve3JottujxUu", "fee": 1400000, "feeAssetId": null, "timestamp": 1656925090959, "version": 2, "chainId": 84, "sender": "3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj", "senderPublicKey": "A2m227AHcq7gWfSU59Q3UJaqkEa7SccFYmJuWHbFrrKE", "proofs": [ "2Pp5xbkUCmz84U5dq74wPSnCpUFsx9nZikzdSKFU8TTSwqNeX43h56Tah1anABqubjLHHfsrPNBar4mX93CYvyVt" ], "script": "base64:AAIFAAAAAAAAADwIAhIECgIECBIDCgEEEgYKBAgICAgSBgoECAgICBIFCgMICAgSAwoBCBIGCgQICAEBEgQKAggIEgMKAQgAAAAiAAAAAAVjaHJpcwIAAAAjM01zRzZqUE5DclZKVXRZQjdYSkJ4Uzd1dFdzWEFmNG45VnAAAAAABGpvZXACAAAAIzNNem00Vkx3c045dVp3YlRNelBqM1h1eFY2a0VmQVI4VUROAAAAAA5kYXBwUnVubmluZ0tleQIAAAAUY29uZl9kYXBwX2lzX3J1bm5pbmcAAAAAEW1haW50ZW5hbmNlTVNHS2V5AgAAABRjb25mX21haW50ZW5hbmNlX21zZwAAAAASd2hpdGVsaXN0ZWRvbmx5S2V5AgAAABVjb25mX3doaXRlbGlzdGVkX29ubHkAAAAAC2RhcHBSdW5uaW5nCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAADmRhcHBSdW5uaW5nS2V5BgAAAAAObWFpbnRlbmFuY2VNU0cJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAARbWFpbnRlbmFuY2VNU0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 0 } View: original | compacted Prev: 56xFbaw9eVk4EKrRpGFNPVjdkTScUSzAKzzBjjacSpNm Next: BuuECFZiZfu31aEQ3SDFVaLcsPRULEyzgusFZQt2pV56 Diff:
OldNewDifferences
100100 then throw("45 Char. max name")
101101 else {
102102 let Q = q(A(v))
103- if (true)
104- then throw(((("caller = " + v) + " status = ") + Q))
105- else if (if ((Q == l))
106- then true
107- else (Q == m))
108- then throw("Account suspended/ removed.")
109- else if (if (!(O))
110- then (Q == j)
103+ if (if ((Q == l))
104+ then true
105+ else (Q == m))
106+ then throw("Account suspended/ removed.")
107+ else if (if (!(O))
108+ then (Q == j)
109+ else false)
110+ then throw("Already registered")
111+ else if (if (if (!(O))
112+ then (Q == "")
111113 else false)
112- then throw("Already registered")
113- else if (if (if (!(O))
114+ then h
115+ else false)
116+ then throw("Can't register, get approved first.")
117+ else if (if (if (O)
114118 then (Q == "")
115119 else false)
116- then h
117- else false)
118- then throw("Can't register, get approved first.")
119- else if (if (if (O)
120- then (Q == "")
120+ then true
121+ else if (O)
122+ then (Q == i)
121123 else false)
122- then true
123- else if (O)
124- then (Q == i)
125- else false)
126- then throw("Register first")
127- else true
124+ then throw("Register first")
125+ else true
128126 }
129127 }
130128
164162
165163 @Callable(Z)
166164 func appRunning (aa,ab) = {
167- let v = toString(addressFromPublicKey(Z.callerPublicKey))
165+ let v = toString(Z.caller)
168166 let ac = toBase58String(Z.transactionId)
169167 if (containsElement([a, b, toString(this)], v))
170168 then [BooleanEntry(c, aa), StringEntry(d, ab)]
175173
176174 @Callable(Z)
177175 func registrationMode (ad) = {
178- let v = toString(addressFromPublicKey(Z.callerPublicKey))
176+ let v = toString(Z.caller)
179177 let ac = toBase58String(Z.transactionId)
180178 if (containsElement([a, toString(this)], v))
181179 then [BooleanEntry(e, ad)]
189187 then throw(g)
190188 else {
191189 let v = toString(Z.caller)
192- if (true)
193- then throw(("invoke.transactionId = " + toBase58String(Z.transactionId)))
190+ let ac = toBase58String(Z.transactionId)
191+ let af = lastBlock.timestamp
192+ if (!(K(v, L, M, N, false)))
193+ then throw("Something went wrong")
194194 else {
195- let ac = toBase58String(Z.transactionId)
196- let af = lastBlock.timestamp
197- if (!(K(v, L, M, N, false)))
198- then throw("Something went wrong")
199- else {
200- let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(af))
195+ let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(af))
201196 [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)]
202- }
203197 }
204198 }
205199
209203 func updateUser (L,M,N,ae) = if (!(f))
210204 then throw(g)
211205 else {
212- let v = toString(addressFromPublicKey(Z.callerPublicKey))
206+ let v = toString(Z.caller)
213207 let ac = toBase58String(Z.transactionId)
214208 let Q = q(A(v))
215209 if (!(K(v, L, M, N, true)))
225219
226220 @Callable(Z)
227221 func changeUserStatus (S,Q,ah) = {
228- let v = toString(addressFromPublicKey(Z.callerPublicKey))
222+ let v = toString(Z.caller)
229223 let ac = toBase58String(Z.transactionId)
230224 let T = q(A(S))
231225 let V = R(Q, S, T)
242236
243237 @Callable(Z)
244238 func deleteUser (S) = {
245- let v = toString(addressFromPublicKey(Z.callerPublicKey))
239+ let v = toString(Z.caller)
246240 let ac = toBase58String(Z.transactionId)
247241 let T = q(A(S))
248242 if (containsElement([a, toString(this)], v))
256250 func setAgent (D,F,aj,ak) = if (!(f))
257251 then throw(g)
258252 else {
259- let v = toString(addressFromPublicKey(ai.callerPublicKey))
253+ let v = toString(ai.caller)
260254 if (containsElement([a, toString(this)], v))
261255 then if (if ((size(D) != 35))
262256 then true
272266 func unsetAgent (D,F) = if (!(f))
273267 then throw(g)
274268 else {
275- let v = toString(addressFromPublicKey(ai.callerPublicKey))
269+ let v = toString(ai.caller)
276270 if (containsElement([a, toString(this)], v))
277271 then if (if ((size(D) != 35))
278272 then true
286280
287281 @Callable(ai)
288282 func deleteEntry (al) = {
289- let v = toString(addressFromPublicKey(ai.callerPublicKey))
283+ let v = toString(ai.caller)
290284 if ((v == a))
291285 then [DeleteEntry(al)]
292286 else throw("no")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
55
66 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))
103- if (true)
104- then throw(((("caller = " + v) + " status = ") + Q))
105- else if (if ((Q == l))
106- then true
107- else (Q == m))
108- then throw("Account suspended/ removed.")
109- else if (if (!(O))
110- then (Q == j)
103+ if (if ((Q == l))
104+ then true
105+ else (Q == m))
106+ then throw("Account suspended/ removed.")
107+ else if (if (!(O))
108+ then (Q == j)
109+ else false)
110+ then throw("Already registered")
111+ else if (if (if (!(O))
112+ then (Q == "")
111113 else false)
112- then throw("Already registered")
113- else if (if (if (!(O))
114+ then h
115+ else false)
116+ then throw("Can't register, get approved first.")
117+ else if (if (if (O)
114118 then (Q == "")
115119 else false)
116- then h
117- else false)
118- then throw("Can't register, get approved first.")
119- else if (if (if (O)
120- then (Q == "")
120+ then true
121+ else if (O)
122+ then (Q == i)
121123 else false)
122- then true
123- else if (O)
124- then (Q == i)
125- else false)
126- then throw("Register first")
127- else true
124+ then throw("Register first")
125+ else true
128126 }
129127 }
130128
131129
132130 func R (Q,S,T) = {
133131 let U = [k, j, l, m, i, n]
134132 let V = if (containsElement(U, Q))
135133 then Q
136134 else if (if ((Q == p))
137135 then (T == i)
138136 else false)
139137 then ""
140138 else throw("Unknown status")
141139 let W = t(B(S))
142140 if (if ((W == 0))
143141 then (V != i)
144142 else false)
145143 then throw("You cant set this status, user is not registered.")
146144 else if (if ((T == i))
147145 then (V == i)
148146 else false)
149147 then throw("User already allowed")
150148 else if (if ((T == j))
151149 then (V == i)
152150 else false)
153151 then throw("User already allowed & registered")
154152 else if (if ((T == k))
155153 then (V == i)
156154 else false)
157155 then throw("User already allowed & verified")
158156 else V
159157 }
160158
161159
162160 func X (L,N,Y) = (((((("{\"user_name\": \"" + L) + "\", \"user_thumb\":\"") + N) + "\",\"user_date\":\"") + Y) + "\"}")
163161
164162
165163 @Callable(Z)
166164 func appRunning (aa,ab) = {
167- let v = toString(addressFromPublicKey(Z.callerPublicKey))
165+ let v = toString(Z.caller)
168166 let ac = toBase58String(Z.transactionId)
169167 if (containsElement([a, b, toString(this)], v))
170168 then [BooleanEntry(c, aa), StringEntry(d, ab)]
171169 else throw("You are not allowed to change this")
172170 }
173171
174172
175173
176174 @Callable(Z)
177175 func registrationMode (ad) = {
178- let v = toString(addressFromPublicKey(Z.callerPublicKey))
176+ let v = toString(Z.caller)
179177 let ac = toBase58String(Z.transactionId)
180178 if (containsElement([a, toString(this)], v))
181179 then [BooleanEntry(e, ad)]
182180 else throw("You are not allowed to change this")
183181 }
184182
185183
186184
187185 @Callable(Z)
188186 func registerUser (L,M,N,ae) = if (!(f))
189187 then throw(g)
190188 else {
191189 let v = toString(Z.caller)
192- if (true)
193- then throw(("invoke.transactionId = " + toBase58String(Z.transactionId)))
190+ let ac = toBase58String(Z.transactionId)
191+ let af = lastBlock.timestamp
192+ if (!(K(v, L, M, N, false)))
193+ then throw("Something went wrong")
194194 else {
195- let ac = toBase58String(Z.transactionId)
196- let af = lastBlock.timestamp
197- if (!(K(v, L, M, N, false)))
198- then throw("Something went wrong")
199- else {
200- let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(af))
195+ let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(af))
201196 [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)]
202- }
203197 }
204198 }
205199
206200
207201
208202 @Callable(Z)
209203 func updateUser (L,M,N,ae) = if (!(f))
210204 then throw(g)
211205 else {
212- let v = toString(addressFromPublicKey(Z.callerPublicKey))
206+ let v = toString(Z.caller)
213207 let ac = toBase58String(Z.transactionId)
214208 let Q = q(A(v))
215209 if (!(K(v, L, M, N, true)))
216210 then throw("Something went wrong")
217211 else {
218212 let Y = t(B(v))
219213 let ag = X(toBase64String(toBytes(L)), toBase64String(toBytes(N)), toString(Y))
220214 [StringEntry(w(v), L), StringEntry(x(v), M), StringEntry(y(v), ae), StringEntry(z(v), N), StringEntry(((Q + "_") + v), ag)]
221215 }
222216 }
223217
224218
225219
226220 @Callable(Z)
227221 func changeUserStatus (S,Q,ah) = {
228- let v = toString(addressFromPublicKey(Z.callerPublicKey))
222+ let v = toString(Z.caller)
229223 let ac = toBase58String(Z.transactionId)
230224 let T = q(A(S))
231225 let V = R(Q, S, T)
232226 let L = toBase64String(toBytes(q(w(S))))
233227 let N = toBase64String(toBytes(q(z(S))))
234228 let Y = t(B(S))
235229 let ag = X(L, N, toString(Y))
236230 if (containsElement([a, b, toString(this)], v))
237231 then [StringEntry(A(S), V), DeleteEntry(((T + "_") + S)), StringEntry(((V + "_") + S), ag), StringEntry(("user_note_" + S), ah)]
238232 else throw("Not allowed to change user status")
239233 }
240234
241235
242236
243237 @Callable(Z)
244238 func deleteUser (S) = {
245- let v = toString(addressFromPublicKey(Z.callerPublicKey))
239+ let v = toString(Z.caller)
246240 let ac = toBase58String(Z.transactionId)
247241 let T = q(A(S))
248242 if (containsElement([a, toString(this)], v))
249243 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)]
250244 else throw("Not allowed")
251245 }
252246
253247
254248
255249 @Callable(ai)
256250 func setAgent (D,F,aj,ak) = if (!(f))
257251 then throw(g)
258252 else {
259- let v = toString(addressFromPublicKey(ai.callerPublicKey))
253+ let v = toString(ai.caller)
260254 if (containsElement([a, toString(this)], v))
261255 then if (if ((size(D) != 35))
262256 then true
263257 else (size(F) != 35))
264258 then throw("Wrong address")
265259 else [StringEntry(C(D), F), StringEntry(E(F, D), D), IntegerEntry(G(D), aj), IntegerEntry(H(D), ak)]
266260 else throw("You are not allowed")
267261 }
268262
269263
270264
271265 @Callable(ai)
272266 func unsetAgent (D,F) = if (!(f))
273267 then throw(g)
274268 else {
275- let v = toString(addressFromPublicKey(ai.callerPublicKey))
269+ let v = toString(ai.caller)
276270 if (containsElement([a, toString(this)], v))
277271 then if (if ((size(D) != 35))
278272 then true
279273 else (size(F) != 35))
280274 then throw("Wrong address")
281275 else [DeleteEntry(C(D)), DeleteEntry(E(F, D)), DeleteEntry(G(D)), DeleteEntry(H(D))]
282276 else throw("You are not allowed")
283277 }
284278
285279
286280
287281 @Callable(ai)
288282 func deleteEntry (al) = {
289- let v = toString(addressFromPublicKey(ai.callerPublicKey))
283+ let v = toString(ai.caller)
290284 if ((v == a))
291285 then [DeleteEntry(al)]
292286 else throw("no")
293287 }
294288
295289

github/deemru/w8io/169f3d6 
49.01 ms