tx · FeLgDhkaVFsAeL8BRXW8Rr25LZwB5eeNJnbt8QYNY411 3My71eA5781UVppziZNzPzoaXoQ79XLfpou: -0.01400000 Waves 2020.09.17 13:51 [1181182] smart account 3My71eA5781UVppziZNzPzoaXoQ79XLfpou > SELF 0.00000000 Waves
{ "type": 13, "id": "FeLgDhkaVFsAeL8BRXW8Rr25LZwB5eeNJnbt8QYNY411", "fee": 1400000, "feeAssetId": null, "timestamp": 1600339875909, "version": 2, "chainId": 84, "sender": "3My71eA5781UVppziZNzPzoaXoQ79XLfpou", "senderPublicKey": "xu7oh5A3xfh5PtSRAoZLCyetRFpcf6bq7bCzGtTCUyL", "proofs": [ "25cUsXPdgqKpDYS1tzUw5ooqeADTsmpX9b45TX9tRsfa2txMSZRhpVzaYdJpkg42mADULF2C1g7mRwS6pkbZWSoE" ], "script": "base64:AAIEAAAAAAAAAFMIAhIGCgQICAgIEgYKBAgICAgSBAoCCAgSAwoBCBIDCgEIEg4KDAgICAgICAEICAgICBINCgsICAgICAEICAgICBIECgIICBIECgIIARIECgIICAAAADAAAAAAD3N0b3JhZ2VWZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAANdXNlcldoaXRlbGlzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXBKRWIzNlpReWsxaGFLbm9jYXlKY1lNMzFjTlBYUGlLMwAAAAAMc2lnblZlcmlmaWVyCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAAC3NpZ25Bc3NldElkAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAGdXNkbklEAgAAACwz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XJ0X29uc2FsZV8FAAAAB2VudHJ5SUQCAAAAAV8FAAAADWNhbGxlckFkZHJlc3MFAAAACnNlbGxTdGF0dXMJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAABmlzc3VlcgUAAAAGYW1vdW50BQAAAAdhc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAZpbnZva2UAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAVpZE5GVAUAAAADbmlsAAAAADBE10U=", "height": 1181182, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3Fmp3rwDmpPKvjpLJ4Vhr21vkEssm5pa2HkXPuEQyGsS Next: 86xAk5HinPcDpNDdv6dP7PBL3Dg4B4UDm1tWgKC1SN9E Diff:
Old | New | Differences | |
---|---|---|---|
250 | 250 | if (if ((L != g)) | |
251 | 251 | then true | |
252 | 252 | else (L != h)) | |
253 | - | then throw("You are not allowed to | |
253 | + | then throw("You are not allowed to change user status") | |
254 | 254 | else [StringEntry(R(L), as), StringEntry("last_invoke_id", E)] | |
255 | 255 | } | |
256 | 256 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let b = value(addressFromString("3MpJEb36ZQyk1haKnocayJcYM31cNPXPiK3")) | |
7 | 7 | ||
8 | 8 | let c = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | 9 | ||
10 | 10 | let d = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
11 | 11 | ||
12 | 12 | let e = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
13 | 13 | ||
14 | 14 | let f = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC" | |
15 | 15 | ||
16 | 16 | let g = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
17 | 17 | ||
18 | 18 | let h = "3NCqpdb8jHW1d1hqZgeS9AE2MJ2Keh95jMC" | |
19 | 19 | ||
20 | 20 | let i = true | |
21 | 21 | ||
22 | 22 | let j = "ALLOWED" | |
23 | 23 | ||
24 | 24 | let k = "REGISTERED" | |
25 | 25 | ||
26 | 26 | let l = "VERIFIED" | |
27 | 27 | ||
28 | 28 | let m = "SUSPENDED" | |
29 | 29 | ||
30 | 30 | let n = "REMOVED" | |
31 | 31 | ||
32 | 32 | let o = "UNREGISTERED" | |
33 | 33 | ||
34 | 34 | let p = "ON_SALE" | |
35 | 35 | ||
36 | 36 | let q = "SOLD" | |
37 | 37 | ||
38 | 38 | let r = "CANCELED" | |
39 | 39 | ||
40 | 40 | func s (t) = { | |
41 | 41 | let u = getString(this, t) | |
42 | 42 | if ($isInstanceOf(u, "String")) | |
43 | 43 | then { | |
44 | 44 | let v = u | |
45 | 45 | v | |
46 | 46 | } | |
47 | 47 | else "" | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func w (t) = { | |
52 | 52 | let u = getInteger(this, t) | |
53 | 53 | if ($isInstanceOf(u, "Int")) | |
54 | 54 | then { | |
55 | 55 | let x = u | |
56 | 56 | x | |
57 | 57 | } | |
58 | 58 | else 0 | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func y (z,A,B) = { | |
63 | 63 | let u = getString(c, ((("data_fc_" + z) + "_") + A)) | |
64 | 64 | if ($isInstanceOf(u, "String")) | |
65 | 65 | then { | |
66 | 66 | let v = u | |
67 | 67 | if (contains(v, B)) | |
68 | 68 | then true | |
69 | 69 | else false | |
70 | 70 | } | |
71 | 71 | else false | |
72 | 72 | } | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func C (D,E) = { | |
76 | 76 | let F = value(assetInfo(fromBase58String(E))) | |
77 | 77 | if (if (if ((F.quantity != 1)) | |
78 | 78 | then true | |
79 | 79 | else (F.decimals != 0)) | |
80 | 80 | then true | |
81 | 81 | else (F.reissuable != false)) | |
82 | 82 | then (D + 0) | |
83 | 83 | else (D + 1) | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func G (H) = if (!(i)) | |
88 | 88 | then true | |
89 | 89 | else { | |
90 | 90 | let u = getBoolean(b, H) | |
91 | 91 | if ($isInstanceOf(u, "Boolean")) | |
92 | 92 | then { | |
93 | 93 | let I = u | |
94 | 94 | I | |
95 | 95 | } | |
96 | 96 | else throw("You are not allowed, please contact us first.") | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func J (H) = { | |
101 | 101 | let u = getString(this, ("user_status_" + H)) | |
102 | 102 | if ($isInstanceOf(u, "String")) | |
103 | 103 | then { | |
104 | 104 | let I = u | |
105 | 105 | I | |
106 | 106 | } | |
107 | 107 | else throw("Something went wrong.") | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func K (L) = ("user_" + L) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func M (L) = ("user_name_" + L) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func N (L) = ("user_desc_" + L) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func O (L) = ("user_social_" + L) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func P (L) = ("user_thumb_" + L) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Q (L) = ("user_isartist_" + L) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func R (L) = ("user_status_" + L) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func S (L) = ("user_date_" + L) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func T (L,U) = ((("art_date_" + U) + "_") + L) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func V (L,U) = ((("art_name_" + U) + "_") + L) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func W (L,U) = ((("art_desc_" + U) + "_") + L) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func X (L,U) = ((("art_display_cid_" + U) + "_") + L) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func Y (L,U) = ((("art_export_hash_" + U) + "_") + L) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func Z (L,U) = ((("art_export_cid_" + U) + "_") + L) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aa (L,U) = ((("art_maxmint_" + U) + "_") + L) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ab (L,U) = ((("art_signid_" + U) + "_") + L) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ac (L,U) = ((("art_issued_" + U) + "_") + L) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ad (L,U) = ((("art_onsale_" + U) + "_") + L) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ae (L,U) = ((("art_licence_hash_" + U) + "_") + L) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func af (L,U) = ((("art_licence_cid_" + U) + "_") + L) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func ag (L,U) = ((("art_tags_" + U) + "_") + L) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func ah (L,U) = ((("art_type_" + U) + "_") + L) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func ai (B) = ("art_owner_by_hash_" + B) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aj (B,L) = ("art_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((B + L))))) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | @Callable(x) | |
184 | 184 | func registerUser (ak,al,am,an) = { | |
185 | 185 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
186 | 186 | let ao = s(R(L)) | |
187 | 187 | let E = toBase58String(x.transactionId) | |
188 | 188 | let ap = lastBlock.timestamp | |
189 | 189 | if (if ((ao == m)) | |
190 | 190 | then true | |
191 | 191 | else (ao == n)) | |
192 | 192 | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
193 | 193 | else if ((ao == k)) | |
194 | 194 | then throw("You are already registered, please use update method instead.") | |
195 | 195 | else if (if ((ao == "")) | |
196 | 196 | then i | |
197 | 197 | else false) | |
198 | 198 | then throw("You are now allowed to register yet, please contact us first to get approved.") | |
199 | 199 | else if (if ((ak == "")) | |
200 | 200 | then true | |
201 | 201 | else (al == "")) | |
202 | 202 | then throw("Name and description cannot be empty") | |
203 | 203 | else if ((size(al) > 600)) | |
204 | 204 | then throw("600 Characters maximum for the description") | |
205 | 205 | else [IntegerEntry(S(L), ap), StringEntry(K(L), ((E + "_") + toString(lastBlock.timestamp))), StringEntry(M(L), ak), StringEntry(N(L), al), StringEntry(O(L), an), StringEntry(P(L), am), BooleanEntry(Q(L), false), StringEntry(R(L), k), StringEntry("last_invoke_id", E)] | |
206 | 206 | } | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | ||
210 | 210 | @Callable(x) | |
211 | 211 | func updateUser (ak,al,am,an) = { | |
212 | 212 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
213 | 213 | let ao = s(R(L)) | |
214 | 214 | if (if ((ao == m)) | |
215 | 215 | then true | |
216 | 216 | else (ao == n)) | |
217 | 217 | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
218 | 218 | else if (if ((ao == "")) | |
219 | 219 | then true | |
220 | 220 | else (ao == j)) | |
221 | 221 | then throw("Please register first with registerUser") | |
222 | 222 | else { | |
223 | 223 | let E = toBase58String(x.transactionId) | |
224 | 224 | let ap = lastBlock.timestamp | |
225 | 225 | if (if ((ak == "")) | |
226 | 226 | then true | |
227 | 227 | else (al == "")) | |
228 | 228 | then throw("Name and description cannot be empty") | |
229 | 229 | else if ((size(al) > 600)) | |
230 | 230 | then throw("600 Characters maximum for the description") | |
231 | 231 | else [StringEntry(M(L), ak), StringEntry(N(L), al), StringEntry(O(L), an), StringEntry(P(L), am), StringEntry("last_invoke_id", E)] | |
232 | 232 | } | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | ||
237 | 237 | @Callable(x) | |
238 | 238 | func changeUserStatus (aq,ar) = { | |
239 | 239 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
240 | 240 | let E = toBase58String(x.transactionId) | |
241 | 241 | let as = if ((ar == l)) | |
242 | 242 | then l | |
243 | 243 | else if ((ar == k)) | |
244 | 244 | then k | |
245 | 245 | else if ((ar == m)) | |
246 | 246 | then m | |
247 | 247 | else if ((ar == n)) | |
248 | 248 | then n | |
249 | 249 | else throw("Unknown status") | |
250 | 250 | if (if ((L != g)) | |
251 | 251 | then true | |
252 | 252 | else (L != h)) | |
253 | - | then throw("You are not allowed to | |
253 | + | then throw("You are not allowed to change user status") | |
254 | 254 | else [StringEntry(R(L), as), StringEntry("last_invoke_id", E)] | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | ||
259 | 259 | @Callable(x) | |
260 | 260 | func deleteUser (aq) = { | |
261 | 261 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
262 | 262 | let E = toBase58String(x.transactionId) | |
263 | 263 | if ((L != g)) | |
264 | 264 | then throw("You are not allowed to do that") | |
265 | 265 | else [DeleteEntry(S(L)), DeleteEntry(K(L)), DeleteEntry(M(L)), DeleteEntry(N(L)), DeleteEntry(O(L)), DeleteEntry(P(L)), DeleteEntry(Q(L)), StringEntry(R(L), n), StringEntry("last_invoke_id", E)] | |
266 | 266 | } | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | ||
270 | 270 | @Callable(x) | |
271 | 271 | func suspendUser (aq) = { | |
272 | 272 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
273 | 273 | let E = toBase58String(x.transactionId) | |
274 | 274 | if ((L != g)) | |
275 | 275 | then throw("You are not allowed to do that") | |
276 | 276 | else [StringEntry(R(L), m), StringEntry("last_invoke_id", E)] | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | ||
281 | 281 | @Callable(at) | |
282 | 282 | func addArtwork (B,z,ak,al,au,av,aw,ax,ay,az,aA,aB) = { | |
283 | 283 | let U = toBase58String(at.transactionId) | |
284 | 284 | let aC = toBase58String(at.caller.bytes) | |
285 | 285 | if ((size(at.payments) == 0)) | |
286 | 286 | then throw("No payment attached") | |
287 | 287 | else { | |
288 | 288 | let aD = value(at.payments[0]) | |
289 | 289 | let aE = value(aD.amount) | |
290 | 290 | let aF = if (if (isDefined(aD.assetId)) | |
291 | 291 | then (aD.assetId == e) | |
292 | 292 | else false) | |
293 | 293 | then aD.assetId | |
294 | 294 | else throw("Only SIGN token accepted at the moment") | |
295 | 295 | let aG = { | |
296 | 296 | let u = getInteger(a, ("certification_fee_" + toBase58String(e))) | |
297 | 297 | if ($isInstanceOf(u, "Int")) | |
298 | 298 | then { | |
299 | 299 | let aH = u | |
300 | 300 | aH | |
301 | 301 | } | |
302 | 302 | else throw("Price undefined in oracle") | |
303 | 303 | } | |
304 | 304 | if ((aE != aG)) | |
305 | 305 | then throw(("Payment amount should be " + toString(aG))) | |
306 | 306 | else { | |
307 | 307 | let aI = s(aj(B, aC)) | |
308 | 308 | if ((aI != "")) | |
309 | 309 | then throw("You already added this artwork on Sign Art") | |
310 | 310 | else { | |
311 | 311 | let aJ = s(ai(B)) | |
312 | 312 | if ((aJ != "")) | |
313 | 313 | then throw("This artwork hash is already registered on Sign Art") | |
314 | 314 | else { | |
315 | 315 | let aK = y(z, aC, B) | |
316 | 316 | if (!(aK)) | |
317 | 317 | then throw("Sign Certificate not found on Sign-web.app smart contract for this address.") | |
318 | 318 | else if ((size(ax) == 0)) | |
319 | 319 | then throw("Display CID cannot be empty") | |
320 | 320 | else if ((size(ak) == 0)) | |
321 | 321 | then throw("Title cannot be empty") | |
322 | 322 | else if ((size(ak) > 100)) | |
323 | 323 | then throw("100 Characters maximum for the name") | |
324 | 324 | else if ((size(al) > 1000)) | |
325 | 325 | then throw("1000 Characters maximum for the description") | |
326 | 326 | else if ((size(al) == 0)) | |
327 | 327 | then throw("Description cannot be empty") | |
328 | 328 | else { | |
329 | 329 | let aL = split(au, ",") | |
330 | 330 | if ((size(aL) > 5)) | |
331 | 331 | then throw("Tags should be maximum 5 single word separated by space.") | |
332 | 332 | else { | |
333 | 333 | let aM = { | |
334 | 334 | let u = getString(this, ("user_status_" + aC)) | |
335 | 335 | if ($isInstanceOf(u, "String")) | |
336 | 336 | then { | |
337 | 337 | let aN = u | |
338 | 338 | aN | |
339 | 339 | } | |
340 | 340 | else o | |
341 | 341 | } | |
342 | 342 | let ap = lastBlock.timestamp | |
343 | 343 | if (if (isDefined(aM)) | |
344 | 344 | then (aM == o) | |
345 | 345 | else false) | |
346 | 346 | then throw("Please register this account first with \"User infos\" tab") | |
347 | 347 | else if ((aM == m)) | |
348 | 348 | then throw("Your account is suspended") | |
349 | 349 | else if ((aM == n)) | |
350 | 350 | then throw("Your account have been removed") | |
351 | 351 | else if ((aw > 10)) | |
352 | 352 | then throw("Maximum 10 editions per artwork") | |
353 | 353 | else if ((size(B) != 64)) | |
354 | 354 | then throw("Hash should be sha256 string composed of 64 char.") | |
355 | 355 | else [StringEntry(ai(B), aC), StringEntry(aj(B, aC), U), BooleanEntry(Q(aC), true), IntegerEntry(T(aC, U), ap), StringEntry(V(aC, U), ak), StringEntry(W(aC, U), al), StringEntry(X(aC, U), ax), StringEntry(Z(aC, U), az), StringEntry(Y(aC, U), ay), StringEntry(ae(aC, U), aA), StringEntry(af(aC, U), aB), StringEntry(ah(aC, U), av), StringEntry(ag(aC, U), au), IntegerEntry(aa(aC, U), aw), StringEntry(ab(aC, U), z), IntegerEntry(ac(aC, U), 0), BooleanEntry(ad(aC, U), false), StringEntry("last_invoke_id", U), ScriptTransfer(Address(fromBase58String(d)), aE, aF)] | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | } | |
359 | 359 | } | |
360 | 360 | } | |
361 | 361 | } | |
362 | 362 | } | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | ||
366 | 366 | @Callable(at) | |
367 | 367 | func updateArtwork (aO,ak,al,au,av,aw,ax,ay,az,aA,aB) = { | |
368 | 368 | let aP = toBase58String(at.transactionId) | |
369 | 369 | let aC = toBase58String(at.caller.bytes) | |
370 | 370 | let aI = s(V(aC, aO)) | |
371 | 371 | if ((aI == "")) | |
372 | 372 | then throw("This entry doesn't exist or you are not the owner") | |
373 | 373 | else if ((size(ak) == 0)) | |
374 | 374 | then throw("Title cannot be empty") | |
375 | 375 | else if ((size(ak) > 100)) | |
376 | 376 | then throw("100 Characters maximum for the name") | |
377 | 377 | else if ((size(al) > 1000)) | |
378 | 378 | then throw("1000 Characters maximum for the description") | |
379 | 379 | else if ((size(al) == 0)) | |
380 | 380 | then throw("Description cannot be empty") | |
381 | 381 | else { | |
382 | 382 | let aQ = { | |
383 | 383 | let u = getInteger(this, ac(aC, aO)) | |
384 | 384 | if ($isInstanceOf(u, "Int")) | |
385 | 385 | then { | |
386 | 386 | let I = u | |
387 | 387 | if ((I == 0)) | |
388 | 388 | then false | |
389 | 389 | else true | |
390 | 390 | } | |
391 | 391 | else throw("Something went wrong.") | |
392 | 392 | } | |
393 | 393 | let aL = split(au, ",") | |
394 | 394 | if ((size(aL) > 5)) | |
395 | 395 | then throw("Tags should be maximum 5 single word separated by space.") | |
396 | 396 | else { | |
397 | 397 | let aM = { | |
398 | 398 | let u = getString(this, ("user_status_" + aC)) | |
399 | 399 | if ($isInstanceOf(u, "String")) | |
400 | 400 | then { | |
401 | 401 | let aN = u | |
402 | 402 | aN | |
403 | 403 | } | |
404 | 404 | else o | |
405 | 405 | } | |
406 | 406 | if (if (isDefined(aM)) | |
407 | 407 | then (aM == o) | |
408 | 408 | else false) | |
409 | 409 | then throw("Please register this account first with \"User infos\" tab") | |
410 | 410 | else if ((aM == m)) | |
411 | 411 | then throw("Your account is suspended") | |
412 | 412 | else if ((aM == n)) | |
413 | 413 | then throw("Your account have been removed") | |
414 | 414 | else if ((aw > 10)) | |
415 | 415 | then throw("Maximum 10 editions per artwork") | |
416 | 416 | else if (!(aQ)) | |
417 | 417 | then [StringEntry(V(aC, aO), ak), StringEntry(W(aC, aO), al), StringEntry(X(aC, aO), ax), StringEntry(Z(aC, aO), az), StringEntry(Y(aC, aO), ay), StringEntry(af(aC, aO), aB), StringEntry(ae(aC, aO), aA), IntegerEntry(aa(aC, aO), aw), StringEntry(ag(aC, aO), au), StringEntry(ah(aC, aO), av), StringEntry("last_invoke_id", aP)] | |
418 | 418 | else [StringEntry(V(aC, aO), ak), StringEntry(W(aC, aO), al), StringEntry(X(aC, aO), ax), StringEntry(ah(aC, aO), av), StringEntry(ag(aC, aO), au), StringEntry("last_invoke_id", aP)] | |
419 | 419 | } | |
420 | 420 | } | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | ||
425 | 425 | @Callable(x) | |
426 | 426 | func deleteArtwork (U,aR) = { | |
427 | 427 | let L = toString(addressFromPublicKey(x.callerPublicKey)) | |
428 | 428 | let E = toBase58String(x.transactionId) | |
429 | 429 | if ((L != g)) | |
430 | 430 | then throw("You are not allowed to do that") | |
431 | 431 | else [DeleteEntry(T(aR, U)), DeleteEntry(V(aR, U)), DeleteEntry(W(aR, U)), DeleteEntry(X(aR, U)), DeleteEntry(Z(aR, U)), DeleteEntry(Y(aR, U)), DeleteEntry(ae(aR, U)), DeleteEntry(af(aR, U)), DeleteEntry(ah(aR, U)), DeleteEntry(ag(aR, U)), DeleteEntry(aa(aR, U)), DeleteEntry(ab(aR, U)), DeleteEntry(ac(aR, U)), DeleteEntry(ad(aR, U)), StringEntry("last_invoke_id", E)] | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | ||
436 | 436 | @Callable(at) | |
437 | 437 | func sellArtwork (aS,aH) = { | |
438 | 438 | let E = toBase58String(at.transactionId) | |
439 | 439 | let aC = toBase58String(at.caller.bytes) | |
440 | 440 | let aT = lastBlock.timestamp | |
441 | 441 | let aU = s(((aS + "_") + aC)) | |
442 | 442 | if (!(isDefined(aU))) | |
443 | 443 | then throw("This artwork doesn't exit or you are not the owner") | |
444 | 444 | else { | |
445 | 445 | let aM = s(("user_status_" + aC)) | |
446 | 446 | if ((aM == "")) | |
447 | 447 | then throw("Please register this account first") | |
448 | 448 | else { | |
449 | 449 | let aV = w(((("art_issued_" + aU) + "_") + aC)) | |
450 | 450 | let aW = w(((("art_maxmint_" + aU) + "_") + aC)) | |
451 | 451 | if ((aV == aW)) | |
452 | 452 | then throw("You reached the max edition allowed to sell for this edition.") | |
453 | 453 | else if ((aM == m)) | |
454 | 454 | then throw("Your account is suspended") | |
455 | 455 | else if (!(isDefined(aU))) | |
456 | 456 | then throw("This artwork desn't exist") | |
457 | 457 | else if ((size(aS) != 64)) | |
458 | 458 | then throw("This hash is incorrect.") | |
459 | 459 | else { | |
460 | 460 | let aX = if ((aH > 0)) | |
461 | 461 | then true | |
462 | 462 | else false | |
463 | 463 | [BooleanEntry(((("art_onsale_" + aU) + "_") + aC), aX), IntegerEntry(((("art_price_" + aU) + "_") + aC), aH), StringEntry("last_invoke_id", E)] | |
464 | 464 | } | |
465 | 465 | } | |
466 | 466 | } | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(at) | |
472 | 472 | func buyArtwork (aS,aY) = { | |
473 | 473 | let E = toBase58String(at.transactionId) | |
474 | 474 | let aC = toBase58String(at.caller.bytes) | |
475 | 475 | let aZ = w("total_nft_issued") | |
476 | 476 | let aU = s(((aS + "_") + aY)) | |
477 | 477 | if ((aU == "")) | |
478 | 478 | then throw("This artwork doesn't exit or you are not the owner") | |
479 | 479 | else { | |
480 | 480 | let aM = s(("user_status_" + aC)) | |
481 | 481 | if (!(isDefined(aM))) | |
482 | 482 | then throw("Please register this account first") | |
483 | 483 | else { | |
484 | 484 | let ba = s(((("art_sold_" + aU) + "_") + aY)) | |
485 | 485 | let aV = w(((("art_issued_" + aU) + "_") + aY)) | |
486 | 486 | let bb = w(((("art_price_" + aU) + "_") + aY)) | |
487 | 487 | if ((bb == 0)) | |
488 | 488 | then throw("This artwork is not for sell") | |
489 | 489 | else { | |
490 | 490 | let aW = w(((("art_maxmint_" + aU) + "_") + aY)) | |
491 | 491 | let aD = value(at.payments[0]) | |
492 | 492 | let aE = value(aD.amount) | |
493 | 493 | let aF = if (isDefined(aD.assetId)) | |
494 | 494 | then throw("Only Waves token accepted at the moment") | |
495 | 495 | else unit | |
496 | 496 | if ((aV == aW)) | |
497 | 497 | then throw("Cannot buy this artwork anymore") | |
498 | 498 | else if ((bb != aE)) | |
499 | 499 | then throw("Payment don't match seller price") | |
500 | 500 | else { | |
501 | 501 | let bc = (aV + 1) | |
502 | 502 | let aT = lastBlock.timestamp | |
503 | 503 | let bd = (((((((((((((("{\"version\": 1,\"artID\": \"" + aU) + "\",\"maxIssuable\": \"") + toString(aW)) + "\",\"signID\": \"SA_") + toString((aZ + 1))) + "\", \"creator\": \"") + aY) + "\", \"issue\": \"") + toString(bc)) + "/") + toString(aW)) + "\", \"hash\": ") + aS) + "}") | |
504 | 504 | let be = Issue(("SA_" + toString((aZ + 1))), bd, 1, 0, false) | |
505 | 505 | let bf = calculateAssetId(be) | |
506 | 506 | let aX = if ((bc == aW)) | |
507 | 507 | then false | |
508 | 508 | else true | |
509 | 509 | [IntegerEntry(((("art_issued_" + aU) + "_") + aY), bc), StringEntry(((((((("art_sold_" + toString(bc)) + "_of_") + toString(aW)) + "_") + aU) + "_") + aY), ((((((aC + "_") + toString(aT)) + "_") + E) + "_") + toString(bb))), IntegerEntry("total_nft_issued", (aZ + 1)), StringEntry("last_invoke_id", E), be, BooleanEntry(((("art_onsale_" + aU) + "_") + aC), aX), ScriptTransfer(Address(fromBase58String(aY)), aE, aF), ScriptTransfer(at.caller, 1, bf)] | |
510 | 510 | } | |
511 | 511 | } | |
512 | 512 | } | |
513 | 513 | } | |
514 | 514 | } | |
515 | 515 | ||
516 | 516 |
github/deemru/w8io/169f3d6 59.90 ms ◑