tx · G5Do4LuR7cMMuWfcxCz9wWfU2YRVc1rxvZyTHxsNN4sC

3Mu2C9QPkCMbH6JLg6Hz7Netz8WzzsCFuer:  -0.01400000 Waves

2022.07.29 20:02 [2161394] smart account 3Mu2C9QPkCMbH6JLg6Hz7Netz8WzzsCFuer > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
37.43 ms