tx · FAHznfFVnguCwCsgJtTBvCo8MY8if3sVabWHiqNLqfXA 3Mu2C9QPkCMbH6JLg6Hz7Netz8WzzsCFuer: -0.01400000 Waves 2022.05.23 14:28 [2064276] smart account 3Mu2C9QPkCMbH6JLg6Hz7Netz8WzzsCFuer > SELF 0.00000000 Waves
{ "type": 13, "id": "FAHznfFVnguCwCsgJtTBvCo8MY8if3sVabWHiqNLqfXA", "fee": 1400000, "feeAssetId": null, "timestamp": 1653305363955, "version": 2, "chainId": 84, "sender": "3Mu2C9QPkCMbH6JLg6Hz7Netz8WzzsCFuer", "senderPublicKey": "EpsQDuBHgjx87GJiEmraTUWwEdeaW4vimku5axvyr238", "proofs": [ "5raN2vjKuRareyKrNLdyKtotZ9iaSMM7HWrZXmLqMe2ErYFZunTojqA4Lc2hRhBYS9gpvjpLAeHPGGvi3MBdpANg" ], "script": "base64:AAIFAAAAAAAAADYIAhIDCgEIEgQKAgQIEgMKAQQSBwoFCAgICAgSBwoFCAgICAgSBgoECAgICBIDCgEIEgMKAQgAAAAkAAAAAAlvcmFjbGVLZXkCAAAACW9yYWNsZUtleQEAAAAGZ2V0U3RyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAQAAABlnZXRJbnRlZ2VyQnlLZXlGcm9tT3JhY2xlAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBoAAAACBQAAAAlvcmFjbGVGZWUFAAAAA2tleQIAAAAfSW50ZWdlciB1bmRlZmluZSBvciAwIGluIG9yYWNsZQAA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XNlckRlc2MAAAABBQAAAAdhZGRyZXNzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAA1rZXlVc2VyU29jaWFsAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAMa2V5VXNlclRodW1iAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIJAAEsAAAAAgUAAAANY3VycmVudFN0YXR1cwIAAAABXwUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAACWNhdGVnb3J5XwUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAANa2V5VXNlclN0YXR1cwAAAAEFAAAAB2FkZHJlc3MFAAAAC3VzZXJSZW1vdmVkBQAAAANuaWwJAAACAAAAAQIAAAALTm90IGFsbG93ZWQAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkBAAAAD2NvbnRhaW5zRWxlbWVudAAAAAIFAAAABm93bmVycwUAAAAGY2FsbGVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAHderMQ==", "height": 2064276, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HXVMrttkBxqoi9ruatwk2CkWv8hARNbc6B289hJmLyhj Next: BvgAFTSAFP8X7aUMd9UxhFRKTswU3uM1oZgCUNzeuNrS Diff:
Old | New | Differences | |
---|---|---|---|
85 | 85 | ||
86 | 86 | ||
87 | 87 | func J (K) = if (contains(K, "/")) | |
88 | - | then if (if (( | |
88 | + | then if (if ((250 > size(K))) | |
89 | 89 | then (size(split(K, "/")[0]) == 46) | |
90 | 90 | else false) | |
91 | - | then ( | |
91 | + | then (203 > size(split(K, "/")[1])) | |
92 | 92 | else false | |
93 | 93 | else false | |
94 | 94 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "oracleKey" | |
5 | 5 | ||
6 | 6 | func b (c) = { | |
7 | 7 | let d = getString(this, c) | |
8 | 8 | if ($isInstanceOf(d, "String")) | |
9 | 9 | then { | |
10 | 10 | let e = d | |
11 | 11 | e | |
12 | 12 | } | |
13 | 13 | else "" | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | let f = b(a) | |
18 | 18 | ||
19 | 19 | let g = value(addressFromString(f)) | |
20 | 20 | ||
21 | 21 | func h (c) = valueOrErrorMessage(getInteger(g, c), "Integer undefine or 0 in oracle") | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | let i = addressFromString(valueOrErrorMessage(getString(g, "stakeDapp"), "sconexDapp not found")) | |
25 | 25 | ||
26 | 26 | let j = [getString(g, "owner1"), getString(g, "owner2")] | |
27 | 27 | ||
28 | 28 | let k = "conf_dapp_is_running" | |
29 | 29 | ||
30 | 30 | let l = "conf_maintenance_msg" | |
31 | 31 | ||
32 | 32 | let m = "conf_whitelisted_only" | |
33 | 33 | ||
34 | 34 | let n = valueOrElse(getBoolean(this, k), true) | |
35 | 35 | ||
36 | 36 | let o = valueOrElse(getString(this, l), "") | |
37 | 37 | ||
38 | 38 | let p = valueOrElse(getBoolean(this, m), true) | |
39 | 39 | ||
40 | 40 | let q = "REGISTERED" | |
41 | 41 | ||
42 | 42 | let r = "VERIFIED" | |
43 | 43 | ||
44 | 44 | let s = "SUSPENDED" | |
45 | 45 | ||
46 | 46 | let t = "REMOVED" | |
47 | 47 | ||
48 | 48 | let u = "CHANGE_REQUIRED" | |
49 | 49 | ||
50 | 50 | let v = "UNREGISTERED" | |
51 | 51 | ||
52 | 52 | let w = "RESET" | |
53 | 53 | ||
54 | 54 | func x (c) = valueOrElse(getString(this, c), "") | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func y (c) = valueOrElse(getBoolean(this, c), false) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func z (c) = valueOrElse(getInteger(this, c), 0) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func A (B) = ("user_" + B) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func C (B) = ("user_name_" + B) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func D (B) = ("user_desc_" + B) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func E (B) = ("user_social_" + B) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func F (B) = ("user_thumb_" + B) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func G (B) = ("user_banner_" + B) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func H (B) = ("user_status_" + B) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func I (B) = ("user_date_" + B) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func J (K) = if (contains(K, "/")) | |
88 | - | then if (if (( | |
88 | + | then if (if ((250 > size(K))) | |
89 | 89 | then (size(split(K, "/")[0]) == 46) | |
90 | 90 | else false) | |
91 | - | then ( | |
91 | + | then (203 > size(split(K, "/")[1])) | |
92 | 92 | else false | |
93 | 93 | else false | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func L (K) = if ((size(K) == 0)) | |
97 | 97 | then true | |
98 | 98 | else if ((size(K) == 46)) | |
99 | 99 | then true | |
100 | 100 | else false | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func M (B,N,O,P,Q) = { | |
104 | 104 | let R = if ((size(P) != 0)) | |
105 | 105 | then J(P) | |
106 | 106 | else true | |
107 | 107 | if (!(R)) | |
108 | 108 | then throw("CID don't match requirement!") | |
109 | 109 | else if (if ((N == "")) | |
110 | 110 | then true | |
111 | 111 | else (O == "")) | |
112 | 112 | then throw("Name and description cannot be empty") | |
113 | 113 | else if ((size(O) > 600)) | |
114 | 114 | then throw("600 Char. max description") | |
115 | 115 | else if ((size(N) > 45)) | |
116 | 116 | then throw("45 Char. max name") | |
117 | 117 | else { | |
118 | 118 | let S = x(H(B)) | |
119 | 119 | if (if ((S == s)) | |
120 | 120 | then true | |
121 | 121 | else (S == t)) | |
122 | 122 | then throw("Account suspended/ removed.") | |
123 | 123 | else if (if (!(Q)) | |
124 | 124 | then (S == q) | |
125 | 125 | else false) | |
126 | 126 | then throw("Already registered") | |
127 | 127 | else if (if (Q) | |
128 | 128 | then (S == "") | |
129 | 129 | else false) | |
130 | 130 | then throw("Register first") | |
131 | 131 | else true | |
132 | 132 | } | |
133 | 133 | } | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func T (S,U,V) = { | |
137 | 137 | let W = [r, q, s, t, u] | |
138 | 138 | let X = if (containsElement(W, S)) | |
139 | 139 | then S | |
140 | 140 | else if ((S == w)) | |
141 | 141 | then "" | |
142 | 142 | else throw("Unknown status") | |
143 | 143 | let Y = z(I(U)) | |
144 | 144 | if ((Y == 0)) | |
145 | 145 | then throw("You cant set this status, user is not registered.") | |
146 | 146 | else X | |
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func Z (N,P,aa) = (((((("{\"user_name\": \"" + N) + "\", \"user_thumb\":\"") + P) + "\",\"user_date\":\"") + aa) + "\"}") | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(ab) | |
154 | 154 | func initDapp (ac) = if ((ab.caller != this)) | |
155 | 155 | then throw("You cannot do this action") | |
156 | 156 | else if ((f != "")) | |
157 | 157 | then throw("oracle already set, you can't override!") | |
158 | 158 | else [StringEntry(a, ac)] | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | ||
162 | 162 | @Callable(ad) | |
163 | 163 | func appRunning (ae,af) = { | |
164 | 164 | let B = toString(addressFromPublicKey(ad.callerPublicKey)) | |
165 | 165 | let ag = toBase58String(ad.transactionId) | |
166 | 166 | if (containsElement((j :+ toString(this)), B)) | |
167 | 167 | then [BooleanEntry(k, ae), StringEntry(l, af)] | |
168 | 168 | else throw("You are not allowed to change this") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(ad) | |
174 | 174 | func registrationMode (ah) = { | |
175 | 175 | let B = toString(addressFromPublicKey(ad.callerPublicKey)) | |
176 | 176 | let ag = toBase58String(ad.transactionId) | |
177 | 177 | if (containsElement((j :+ toString(this)), B)) | |
178 | 178 | then [BooleanEntry(m, ah)] | |
179 | 179 | else throw("You are not allowed to change this") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | ||
184 | 184 | @Callable(ab) | |
185 | 185 | func registerUser (N,O,P,ai,aj) = if (!(n)) | |
186 | 186 | then throw(o) | |
187 | 187 | else { | |
188 | 188 | let ak = invoke(valueOrErrorMessage(i, "this not found"), "validateAndProcessPayment", nil, [ab.payments[0]]) | |
189 | 189 | if ((ak == ak)) | |
190 | 190 | then { | |
191 | 191 | let B = toString(addressFromPublicKey(ab.callerPublicKey)) | |
192 | 192 | let ag = toBase58String(ab.transactionId) | |
193 | 193 | let al = lastBlock.timestamp | |
194 | 194 | if (!(L(aj))) | |
195 | 195 | then throw("Invalid banner image!") | |
196 | 196 | else if (!(M(B, N, O, P, false))) | |
197 | 197 | then throw("Something went wrong") | |
198 | 198 | else { | |
199 | 199 | let am = Z(toBase64String(toBytes(N)), toBase64String(toBytes(P)), toString(al)) | |
200 | 200 | [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)] | |
201 | 201 | } | |
202 | 202 | } | |
203 | 203 | else throw("Strict value is not equal to itself.") | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | ||
208 | 208 | @Callable(ab) | |
209 | 209 | func updateUser (N,O,P,ai,aj) = if (!(n)) | |
210 | 210 | then throw(o) | |
211 | 211 | else { | |
212 | 212 | let ak = invoke(valueOrErrorMessage(i, "this not found"), "validateAndProcessPayment", nil, [ab.payments[0]]) | |
213 | 213 | if ((ak == ak)) | |
214 | 214 | then { | |
215 | 215 | let B = toString(addressFromPublicKey(ab.callerPublicKey)) | |
216 | 216 | let ag = toBase58String(ab.transactionId) | |
217 | 217 | let S = x(H(B)) | |
218 | 218 | if (!(L(aj))) | |
219 | 219 | then throw("Invalid banner image!") | |
220 | 220 | else if (!(M(B, N, O, P, true))) | |
221 | 221 | then throw("Something went wrong") | |
222 | 222 | else { | |
223 | 223 | let aa = z(I(B)) | |
224 | 224 | let am = Z(toBase64String(toBytes(N)), toBase64String(toBytes(P)), toString(aa)) | |
225 | 225 | [StringEntry(C(B), N), StringEntry(D(B), O), StringEntry(E(B), ai), StringEntry(G(B), aj), StringEntry(F(B), P), StringEntry(((S + "_") + B), am)] | |
226 | 226 | } | |
227 | 227 | } | |
228 | 228 | else throw("Strict value is not equal to itself.") | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | ||
233 | 233 | @Callable(ad) | |
234 | 234 | func changeUserStatus (U,S,an,ao) = { | |
235 | 235 | let B = toString(addressFromPublicKey(ad.callerPublicKey)) | |
236 | 236 | let ag = toBase58String(ad.transactionId) | |
237 | 237 | let ap = addressFromString(U) | |
238 | 238 | let d = ap | |
239 | 239 | if ($isInstanceOf(d, "Address")) | |
240 | 240 | then { | |
241 | 241 | let ap = d | |
242 | 242 | let V = x(H(U)) | |
243 | 243 | let X = T(S, U, V) | |
244 | 244 | let N = toBase64String(toBytes(x(C(U)))) | |
245 | 245 | let P = toBase64String(toBytes(x(F(U)))) | |
246 | 246 | let aa = z(I(U)) | |
247 | 247 | let am = Z(N, P, toString(aa)) | |
248 | 248 | if (containsElement((j :+ toString(this)), B)) | |
249 | 249 | then { | |
250 | 250 | let aq = if ((X == r)) | |
251 | 251 | then [StringEntry(("category_" + U), ao)] | |
252 | 252 | else [DeleteEntry(("category_" + U))] | |
253 | 253 | (aq ++ [StringEntry(H(U), X), DeleteEntry(((V + "_") + U)), StringEntry(((X + "_") + U), am), StringEntry(("user_note_" + U), an)]) | |
254 | 254 | } | |
255 | 255 | else throw("Not allowed to change user status") | |
256 | 256 | } | |
257 | 257 | else throw("Seems to be an invalid address!") | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | ||
262 | 262 | @Callable(ad) | |
263 | 263 | func deleteUser (U) = { | |
264 | 264 | let B = toString(addressFromPublicKey(ad.callerPublicKey)) | |
265 | 265 | let ag = toBase58String(ad.transactionId) | |
266 | 266 | let V = x(H(U)) | |
267 | 267 | if (containsElement((j :+ toString(this)), B)) | |
268 | 268 | 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)] | |
269 | 269 | else throw("Not allowed") | |
270 | 270 | } | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | ||
274 | 274 | @Callable(ab) | |
275 | 275 | func deleteEntry (ar) = { | |
276 | 276 | let B = toString(addressFromPublicKey(ab.callerPublicKey)) | |
277 | 277 | if (containsElement(j, B)) | |
278 | 278 | then [DeleteEntry(ar)] | |
279 | 279 | else throw("no") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 |
github/deemru/w8io/169f3d6 34.67 ms ◑