tx · FEDWZ8CvQW1rjLrLEo9hdENiybMkqn9DKqTZSySELvYp 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY: -0.02400000 Waves 2023.01.19 10:12 [2411491] smart account 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY > SELF 0.00000000 Waves
{ "type": 13, "id": "FEDWZ8CvQW1rjLrLEo9hdENiybMkqn9DKqTZSySELvYp", "fee": 2400000, "feeAssetId": null, "timestamp": 1674112345050, "version": 2, "chainId": 84, "sender": "3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY", "senderPublicKey": "J9DCtJJxJBWZdtDR12BA1U94Q3cZzMi4R6k5hYkAzmzC", "proofs": [ "4PY3W4vaSpoLLm1BduNnKdSQMQ52fcGYphWKZ24T6QjrvpZ4JdzjXhsj2tSEgozhiBFm1RhkeXWjquYrMo9oS281" ], "script": "base64:BgJfCAISBAoCCAgSEAoOCAgICAgICAgICAgIAQgSDwoNCAgICAgICAgICAgBCBIGCgQICAgIEgQKAggIEggKBggBAQgBCBIECgIICBIECgIICBIGCgQICAgIEgYKBAgICAhOAAdWRVJTSU9OAgUxLjEuOQEOZ2V0U3RyaW5nQnlLZXkBA2tleQkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzBQNrZXkCAAAIdW5pdFRlc3QHAAlvcmFjbGVGZWUJAQV2YWx1ZQEJAKYIAQkBDmdldFN0cmluZ0J5S2V5AQIPY29uZl9vcmFjbGVfZmVlAAhzaWduRGFwcAkBBXZhbHVlAQkApggBCQEOZ2V0U3RyaW5nQnlLZXkBAhFjb25mX3NpZ253ZWJfZGFwcAALZmVlUmVjZWl2ZXIJAQ5nZXRTdHJpbmdCeUtleQECEWNvbmZfZmVlX3JlY2VpdmVyAAh1c2VyRGFwcAMFCHVuaXRUZXN0CQEFdmFsdWUBCQCmCAECIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEFdmFsdWUBCQCmCAEJAQ5nZXRTdHJpbmdCeU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AAJANkEAQkBCGFzU3RyaW5nAQkAkQMCCAUDaW52BGFyZ3MABQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleZFuxfI=", "height": 2411491, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4PZCMKbLzsto62QD7YsB97XAXPfed12S7mBcYdSthEvf Next: Hmjh4UhnrxPUBCgF1D96MBPZBfQ1Qo2ihWgUm5N8XAgY Diff:
Old | New | Differences | |
---|---|---|---|
383 | 383 | ||
384 | 384 | func br (aR,bs) = if (!(w)) | |
385 | 385 | then throw(x) | |
386 | - | else { | |
387 | - | let P = if (if ((toBase58String(aR.caller.bytes) == toString(this))) | |
388 | - | then !(isDefined(aR.payments[0])) | |
389 | - | else false) | |
390 | - | then toString(addressFromPublicKey(fromBase58String(bs))) | |
391 | - | else toBase58String(aR.caller.bytes) | |
392 | - | let bt = if ((bs != "")) | |
393 | - | then invoke(i, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil) | |
394 | - | else unit | |
395 | - | if ((bt == bt)) | |
396 | - | then $Tuple3(toBase58String(aR.transactionId), P, lastBlock.timestamp) | |
397 | - | else throw("Strict value is not equal to itself.") | |
398 | - | } | |
386 | + | else if (!(isDefined(aR.payments))) | |
387 | + | then throw("toto") | |
388 | + | else { | |
389 | + | let P = if (if ((toBase58String(aR.caller.bytes) == toString(this))) | |
390 | + | then !(isDefined(aR.payments)) | |
391 | + | else false) | |
392 | + | then toString(addressFromPublicKey(fromBase58String(bs))) | |
393 | + | else toBase58String(aR.caller.bytes) | |
394 | + | let bt = if ((bs != "")) | |
395 | + | then invoke(i, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil) | |
396 | + | else unit | |
397 | + | if ((bt == bt)) | |
398 | + | then $Tuple3(toBase58String(aR.transactionId), P, lastBlock.timestamp) | |
399 | + | else throw("Strict value is not equal to itself.") | |
400 | + | } | |
399 | 401 | ||
400 | 402 | ||
401 | 403 | func bu (aR) = if (!(w)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.1.9" | |
5 | 5 | ||
6 | 6 | func b (c) = valueOrElse(getString(this, c), "") | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | let d = false | |
10 | 10 | ||
11 | 11 | let e = value(addressFromString(b("conf_oracle_fee"))) | |
12 | 12 | ||
13 | 13 | let f = value(addressFromString(b("conf_signweb_dapp"))) | |
14 | 14 | ||
15 | 15 | let g = b("conf_fee_receiver") | |
16 | 16 | ||
17 | 17 | let h = if (d) | |
18 | 18 | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
19 | 19 | else value(addressFromString(b("conf_users_dapp"))) | |
20 | 20 | ||
21 | 21 | let i = value(addressFromString(b("conf_whitelist_dapp"))) | |
22 | 22 | ||
23 | 23 | let j = fromBase58String(b("conf_accepted_asset_SIGN")) | |
24 | 24 | ||
25 | 25 | let k = fromBase58String(b("conf_accepted_asset_USDN")) | |
26 | 26 | ||
27 | 27 | let l = fromBase58String(b("conf_accepted_asset_USDT")) | |
28 | 28 | ||
29 | 29 | let m = base58'' | |
30 | 30 | ||
31 | 31 | let n = b("conf_admin_1") | |
32 | 32 | ||
33 | 33 | func o (c) = valueOrErrorMessage(getInteger(e, c), "Integer undefine or 0 in oracle") | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func p (c) = valueOrElse(getInteger(this, c), 0) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func q (c) = valueOrElse(getInteger(i, c), 0) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func r (c) = valueOrElse(getBoolean(this, c), false) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | let s = 7 | |
46 | 46 | ||
47 | 47 | let t = 10 | |
48 | 48 | ||
49 | 49 | let u = b("conf_default_licence") | |
50 | 50 | ||
51 | 51 | let v = b("conf_default_licence_hash") | |
52 | 52 | ||
53 | 53 | let w = valueOrElse(getBoolean(h, "conf_dapp_is_running"), true) | |
54 | 54 | ||
55 | 55 | let x = valueOrElse(getString(h, "conf_maintenance_msg"), "") | |
56 | 56 | ||
57 | 57 | let y = "SUSPENDED" | |
58 | 58 | ||
59 | 59 | let z = "REMOVED" | |
60 | 60 | ||
61 | 61 | let A = "UNREGISTERED" | |
62 | 62 | ||
63 | 63 | let B = "ALLOWED" | |
64 | 64 | ||
65 | 65 | let C = o(("certification_fee_" + toBase58String(j))) | |
66 | 66 | ||
67 | 67 | func D (c) = valueOrElse(getInteger(this, c), 1000) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func E (F,G,H) = { | |
71 | 71 | let I = getString(f, ((("data_fc_" + F) + "_") + G)) | |
72 | 72 | if ($isInstanceOf(I, "String")) | |
73 | 73 | then { | |
74 | 74 | let J = I | |
75 | 75 | if (contains(J, H)) | |
76 | 76 | then true | |
77 | 77 | else false | |
78 | 78 | } | |
79 | 79 | else false | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func K (L) = if (contains(L, "/")) | |
84 | 84 | then if (if ((76 > size(L))) | |
85 | 85 | then (size(split(L, "/")[0]) == 59) | |
86 | 86 | else false) | |
87 | 87 | then (16 > size(split(L, "/")[1])) | |
88 | 88 | else false | |
89 | 89 | else false | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func M (N) = (size(N) == 64) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func O (P) = ("user_status_" + P) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func Q (P,R) = ((("art_date_" + R) + "_") + P) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func S (P,R) = ((("art_name_" + R) + "_") + P) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func T (P,R) = ((("art_desc_" + R) + "_") + P) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func U (P,R) = ((("art_display_cid_" + R) + "_") + P) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func V (P,R) = ((("art_export_hash_" + R) + "_") + P) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func W (P,R) = ((("art_export_cid_" + R) + "_") + P) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func X (P,R) = ((("art_maxmint_" + R) + "_") + P) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func Y (P,R) = ((("art_signid_" + R) + "_") + P) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func Z (P,R) = ((("art_issued_" + R) + "_") + P) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func aa (P,R) = ((("art_onsale_" + R) + "_") + P) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func ab (P,R) = ((("art_licence_hash_" + R) + "_") + P) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func ac (P,R) = ((("art_licence_cid_" + R) + "_") + P) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ad (P,R) = ((("art_tags_" + R) + "_") + P) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ae (P,R) = ((("art_type_" + R) + "_") + P) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func af (P,R) = ((("art_note_" + R) + "_") + P) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ag (P,R) = ((("art_crawler_cid_" + R) + "_") + P) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ah (P,R) = ((("art_royalties_" + R) + "_") + P) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ai (P,R) = ((("art_price_" + R) + "_") + P) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func aj (P,R) = ((("art_endsale_" + R) + "_") + P) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func ak (P,R) = ((("art_assetAccepted_" + R) + "_") + P) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func al (P,R) = ((("art_flag_" + R) + "_") + P) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func am (an) = ("artist_agent_" + an) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func ao (an) = ("artist_agent_primary_" + an) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ap (P,aq) = ((("get_hashbytxidaddr_" + aq) + "_") + P) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ar (H) = ("get_owner_by_hash_" + H) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func as (P,at) = ((("get_artidbysignid_" + at) + "_") + P) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func au (H,P) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((H + P))))) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func av (aw,ax,ay) = if (!(K(aw))) | |
180 | 180 | then throw("Wrong Display CID") | |
181 | 181 | else if (!(K(ax))) | |
182 | 182 | then throw("Wrong Export CID") | |
183 | 183 | else if (if ((ay != "")) | |
184 | 184 | then !(K(ay)) | |
185 | 185 | else false) | |
186 | 186 | then throw("Wrong Licence CID") | |
187 | 187 | else true | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func az (aA,aB) = if (!(M(aA))) | |
191 | 191 | then throw("Export Hash 64 char. max") | |
192 | 192 | else if (!(M(aB))) | |
193 | 193 | then throw("Licence Hash 64 char. max") | |
194 | 194 | else true | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func aC (aD,aE) = if ((size(aD) == 0)) | |
198 | 198 | then throw("Field cannot be is empty") | |
199 | 199 | else if ((size(aD) > aE)) | |
200 | 200 | then throw((aD + " is too long")) | |
201 | 201 | else true | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aF (P) = if (true) | |
205 | 205 | then throw(P) | |
206 | 206 | else { | |
207 | 207 | let aG = valueOrElse(getString(h, O(P)), A) | |
208 | 208 | if (if ((aG == A)) | |
209 | 209 | then true | |
210 | 210 | else (aG == B)) | |
211 | 211 | then "Register this account first with \"Account\" tab" | |
212 | 212 | else if ((aG == y)) | |
213 | 213 | then "Account suspended" | |
214 | 214 | else if ((aG == z)) | |
215 | 215 | then "Account removed" | |
216 | 216 | else "" | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aH (ay,aB) = { | |
221 | 221 | let L = if ((size(ay) == 0)) | |
222 | 222 | then u | |
223 | 223 | else ay | |
224 | 224 | let N = if ((size(aB) == 0)) | |
225 | 225 | then v | |
226 | 226 | else aB | |
227 | 227 | $Tuple2(L, N) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aI (P,aw,ax,aJ,aA,aK,aL,aM,aN,aO) = { | |
232 | 232 | let aP = aF(P) | |
233 | 233 | if ((aP != "")) | |
234 | 234 | then throw(aP) | |
235 | 235 | else if ((size(aw) == 0)) | |
236 | 236 | then throw("Display CID cannot be empty") | |
237 | 237 | else if (!(av(aw, ax, aJ))) | |
238 | 238 | then throw("Problem with CID") | |
239 | 239 | else if (!(az(aA, aK))) | |
240 | 240 | then throw("Problem with Hashes") | |
241 | 241 | else if (!(aC(aL, 100))) | |
242 | 242 | then throw("100 Char. max name") | |
243 | 243 | else if (!(aC(aM, 1000))) | |
244 | 244 | then throw("1000 Char. max description") | |
245 | 245 | else if (if ((0 > aO)) | |
246 | 246 | then true | |
247 | 247 | else (aO > 1000)) | |
248 | 248 | then throw("Royalties cannot be less than 0% or higher than 10%") | |
249 | 249 | else if ((size(split(aN, ",")) > 5)) | |
250 | 250 | then throw("5 tags max.") | |
251 | 251 | else "" | |
252 | 252 | } | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func aQ (aR) = if ((size(aR.payments) == 0)) | |
256 | 256 | then throw("No payment attached") | |
257 | 257 | else { | |
258 | 258 | let aS = value(aR.payments[0]) | |
259 | 259 | let aT = value(aS.amount) | |
260 | 260 | $Tuple2(aS, aT) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func aU (aR) = { | |
265 | 265 | let aV = aQ(aR) | |
266 | 266 | let aS = aV._1 | |
267 | 267 | let aT = aV._2 | |
268 | 268 | let aW = if (if (isDefined(aS.assetId)) | |
269 | 269 | then (aS.assetId == j) | |
270 | 270 | else false) | |
271 | 271 | then aS.assetId | |
272 | 272 | else throw("Only SIGN token accepted as transaction fee") | |
273 | 273 | if ((aT != C)) | |
274 | 274 | then throw(("Payment amount should be " + toString(C))) | |
275 | 275 | else $Tuple2(aT, aW) | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func aX (aY,R) = { | |
280 | 280 | let I = getInteger(this, Z(aY, R)) | |
281 | 281 | if ($isInstanceOf(I, "Int")) | |
282 | 282 | then { | |
283 | 283 | let aZ = I | |
284 | 284 | if ((aZ != 0)) | |
285 | 285 | then true | |
286 | 286 | else false | |
287 | 287 | } | |
288 | 288 | else false | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func ba (aR,bb,bc) = { | |
293 | 293 | let bd = aQ(aR) | |
294 | 294 | let aS = bd._1 | |
295 | 295 | let aT = bd._2 | |
296 | 296 | let aW = if (!(isDefined(aS.assetId))) | |
297 | 297 | then unit | |
298 | 298 | else if (if ((size(bb) > 0)) | |
299 | 299 | then (toBase58String(value(aS.assetId)) == bb) | |
300 | 300 | else false) | |
301 | 301 | then aS.assetId | |
302 | 302 | else throw("Wrong asset id") | |
303 | 303 | if (if ((aW == unit)) | |
304 | 304 | then (bb != "") | |
305 | 305 | else false) | |
306 | 306 | then throw("Wrong asset id") | |
307 | 307 | else if ((bc != aT)) | |
308 | 308 | then throw("Payment don't match") | |
309 | 309 | else $Tuple2(aT, aW) | |
310 | 310 | } | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func be (aW) = if (if (if (if (if ((aW != toBase58String(j))) | |
314 | 314 | then (aW != toBase58String(m)) | |
315 | 315 | else false) | |
316 | 316 | then (aW != "WAVES") | |
317 | 317 | else false) | |
318 | 318 | then (aW != toBase58String(k)) | |
319 | 319 | else false) | |
320 | 320 | then (aW != toBase58String(l)) | |
321 | 321 | else false) | |
322 | 322 | then throw("Only SIGN, USDN,USDT or WAVES accepted") | |
323 | 323 | else true | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func bf (aW,bg) = { | |
327 | 327 | let bh = if (d) | |
328 | 328 | then 10 | |
329 | 329 | else o("waves_min_sell") | |
330 | 330 | let bi = 1000000 | |
331 | 331 | let bj = if (d) | |
332 | 332 | then 1 | |
333 | 333 | else (C * 2) | |
334 | 334 | if (if (if (if (if (if ((aW == toBase58String(k))) | |
335 | 335 | then (bi > bg) | |
336 | 336 | else false) | |
337 | 337 | then (bg != 0) | |
338 | 338 | else false) | |
339 | 339 | then true | |
340 | 340 | else if (if ((aW == toBase58String(l))) | |
341 | 341 | then (bi > bg) | |
342 | 342 | else false) | |
343 | 343 | then (bg != 0) | |
344 | 344 | else false) | |
345 | 345 | then true | |
346 | 346 | else if (if ((aW == toBase58String(j))) | |
347 | 347 | then (bj > bg) | |
348 | 348 | else false) | |
349 | 349 | then (bg != 0) | |
350 | 350 | else false) | |
351 | 351 | then true | |
352 | 352 | else if (if (if ((aW == toBase58String(m))) | |
353 | 353 | then true | |
354 | 354 | else (aW == "WAVES")) | |
355 | 355 | then (bh > bg) | |
356 | 356 | else false) | |
357 | 357 | then (bg != 0) | |
358 | 358 | else false) | |
359 | 359 | then throw("Wrong minimum sell price") | |
360 | 360 | else true | |
361 | 361 | } | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | func bk (aW) = if ((aW == "WAVES")) | |
365 | 365 | then unit | |
366 | 366 | else fromBase58String(aW) | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func bl (bm) = { | |
370 | 370 | let bn = b((bm + "_OPEN")) | |
371 | 371 | if ((bn == "")) | |
372 | 372 | then throw("Bid not found") | |
373 | 373 | else { | |
374 | 374 | let bo = split(bn, "_") | |
375 | 375 | let bp = parseIntValue(bo[1]) | |
376 | 376 | let bq = bk(bo[0]) | |
377 | 377 | if ((0 >= bp)) | |
378 | 378 | then throw("Wrong amount") | |
379 | 379 | else $Tuple2(bp, bq) | |
380 | 380 | } | |
381 | 381 | } | |
382 | 382 | ||
383 | 383 | ||
384 | 384 | func br (aR,bs) = if (!(w)) | |
385 | 385 | then throw(x) | |
386 | - | else { | |
387 | - | let P = if (if ((toBase58String(aR.caller.bytes) == toString(this))) | |
388 | - | then !(isDefined(aR.payments[0])) | |
389 | - | else false) | |
390 | - | then toString(addressFromPublicKey(fromBase58String(bs))) | |
391 | - | else toBase58String(aR.caller.bytes) | |
392 | - | let bt = if ((bs != "")) | |
393 | - | then invoke(i, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil) | |
394 | - | else unit | |
395 | - | if ((bt == bt)) | |
396 | - | then $Tuple3(toBase58String(aR.transactionId), P, lastBlock.timestamp) | |
397 | - | else throw("Strict value is not equal to itself.") | |
398 | - | } | |
386 | + | else if (!(isDefined(aR.payments))) | |
387 | + | then throw("toto") | |
388 | + | else { | |
389 | + | let P = if (if ((toBase58String(aR.caller.bytes) == toString(this))) | |
390 | + | then !(isDefined(aR.payments)) | |
391 | + | else false) | |
392 | + | then toString(addressFromPublicKey(fromBase58String(bs))) | |
393 | + | else toBase58String(aR.caller.bytes) | |
394 | + | let bt = if ((bs != "")) | |
395 | + | then invoke(i, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil) | |
396 | + | else unit | |
397 | + | if ((bt == bt)) | |
398 | + | then $Tuple3(toBase58String(aR.transactionId), P, lastBlock.timestamp) | |
399 | + | else throw("Strict value is not equal to itself.") | |
400 | + | } | |
399 | 401 | ||
400 | 402 | ||
401 | 403 | func bu (aR) = if (!(w)) | |
402 | 404 | then throw(x) | |
403 | 405 | else $Tuple3(toBase58String(aR.transactionId), toBase58String(aR.caller.bytes), lastBlock.timestamp) | |
404 | 406 | ||
405 | 407 | ||
406 | 408 | func bv (aR,R,bw,bx,by) = { | |
407 | 409 | let bz = bu(aR) | |
408 | 410 | let bA = bz._1 | |
409 | 411 | let P = bz._2 | |
410 | 412 | let bB = bz._3 | |
411 | 413 | let bC = if (if (if ((P == bw)) | |
412 | 414 | then (by != "") | |
413 | 415 | else false) | |
414 | 416 | then (bx != "") | |
415 | 417 | else false) | |
416 | 418 | then true | |
417 | 419 | else false | |
418 | 420 | let bD = p(aj(P, R)) | |
419 | 421 | if (if (if ((bD != 0)) | |
420 | 422 | then (height >= bD) | |
421 | 423 | else false) | |
422 | 424 | then !(bC) | |
423 | 425 | else false) | |
424 | 426 | then throw("Sale ended.") | |
425 | 427 | else { | |
426 | 428 | let bE = (P == bw) | |
427 | 429 | let bF = p("total_nft_issued") | |
428 | 430 | let F = b(Y(bw, R)) | |
429 | 431 | let bG = b(S(bw, R)) | |
430 | 432 | if ((bG == "")) | |
431 | 433 | then throw("Art doesn't exist") | |
432 | 434 | else { | |
433 | 435 | let bH = r(aa(bw, R)) | |
434 | 436 | let bI = p(Z(bw, R)) | |
435 | 437 | let bc = if (bE) | |
436 | 438 | then (C * 2) | |
437 | 439 | else p(ai(bw, R)) | |
438 | 440 | let bb = if (bE) | |
439 | 441 | then toBase58String(j) | |
440 | 442 | else b(ak(bw, R)) | |
441 | 443 | let bJ = p(X(bw, R)) | |
442 | 444 | if (if (if (!(bC)) | |
443 | 445 | then !(bE) | |
444 | 446 | else false) | |
445 | 447 | then if (if ((0 >= bc)) | |
446 | 448 | then true | |
447 | 449 | else !(bH)) | |
448 | 450 | then true | |
449 | 451 | else (0 >= bJ) | |
450 | 452 | else false) | |
451 | 453 | then throw("Art not for sale") | |
452 | 454 | else if (if (if (!(bC)) | |
453 | 455 | then bE | |
454 | 456 | else false) | |
455 | 457 | then (0 >= bJ) | |
456 | 458 | else false) | |
457 | 459 | then throw("Max issuable not set") | |
458 | 460 | else { | |
459 | 461 | let aP = aF(bw) | |
460 | 462 | if (if (bC) | |
461 | 463 | then (aP != "") | |
462 | 464 | else false) | |
463 | 465 | then throw(aP) | |
464 | 466 | else { | |
465 | 467 | let bm = ((((((("bid_" + R) + "_") + bw) + "_") + by) + "_") + bx) | |
466 | 468 | let bK = if (bC) | |
467 | 469 | then bl(bm) | |
468 | 470 | else ba(aR, bb, bc) | |
469 | 471 | let aT = bK._1 | |
470 | 472 | let aW = bK._2 | |
471 | 473 | let bL = valueOrElse(getString(h, am(bw)), g) | |
472 | 474 | let bM = valueOrElse(getInteger(h, ao(bw)), 0) | |
473 | 475 | let bN = q(bw) | |
474 | 476 | let bO = if ((bN > height)) | |
475 | 477 | then 0 | |
476 | 478 | else if ((aW == j)) | |
477 | 479 | then s | |
478 | 480 | else t | |
479 | 481 | let bP = fraction(aT, bO, 100) | |
480 | 482 | let bQ = if (if (if ((bL != g)) | |
481 | 483 | then (bM > 0) | |
482 | 484 | else false) | |
483 | 485 | then (height > bN) | |
484 | 486 | else false) | |
485 | 487 | then fraction(aT, bM, 100) | |
486 | 488 | else 0 | |
487 | 489 | let bR = (aT - bP) | |
488 | 490 | if ((bI == bJ)) | |
489 | 491 | then throw("Art sold out") | |
490 | 492 | else { | |
491 | 493 | let bS = (bI + 1) | |
492 | 494 | let bT = ((((((((((("Creator: " + bw) + ", | |
493 | 495 | ArtID: ") + R) + ", | |
494 | 496 | SignID: ") + F) + ", | |
495 | 497 | Artwork name: ") + bG) + ", | |
496 | 498 | Issue: ") + toString(bS)) + "/") + toString(bJ)) | |
497 | 499 | let bU = Issue(("SA_" + toString((bF + 1))), bT, 1, 0, false) | |
498 | 500 | let bV = calculateAssetId(bU) | |
499 | 501 | let bW = if (if ((bS == bJ)) | |
500 | 502 | then true | |
501 | 503 | else !(bH)) | |
502 | 504 | then false | |
503 | 505 | else true | |
504 | 506 | let bX = if (if (if ((P == bw)) | |
505 | 507 | then (by != "") | |
506 | 508 | else false) | |
507 | 509 | then (bx != "") | |
508 | 510 | else false) | |
509 | 511 | then addressFromStringValue(by) | |
510 | 512 | else aR.caller | |
511 | 513 | let bY = if (!(isDefined(aW))) | |
512 | 514 | then "WAVES" | |
513 | 515 | else toBase58String(value(aW)) | |
514 | 516 | let bn = b((bm + "_OPEN")) | |
515 | 517 | let bZ = DeleteEntry((bm + "_OPEN")) | |
516 | 518 | let ca = StringEntry((bm + "_CLOSED"), ((bn + "_") + toString(bB))) | |
517 | 519 | let cb = ((((((("art_sold_" + toString(bS)) + "_of_") + toString(bJ)) + "_") + R) + "_") + bw) | |
518 | 520 | let cc = if (!(bC)) | |
519 | 521 | then ((((((((((P + "_") + toString(bB)) + "_") + bA) + "_") + toString(bc)) + "_") + bb) + "_") + toBase58String(bV)) | |
520 | 522 | else ((((((((((toString(bX) + "_") + toString(bB)) + "_") + bA) + "_") + toString(aT)) + "_") + bY) + "_") + toBase58String(bV)) | |
521 | 523 | let cd = StringEntry(cb, cc) | |
522 | 524 | let ce = if ((bQ != 0)) | |
523 | 525 | then [ScriptTransfer(Address(fromBase58String(g)), (bP - bQ), aW), ScriptTransfer(Address(fromBase58String(bL)), bQ, aW)] | |
524 | 526 | else [ScriptTransfer(Address(fromBase58String(g)), bP, aW)] | |
525 | 527 | let cf = ([IntegerEntry(Z(bw, R), bS), StringEntry(("nft_" + toBase58String(bV)), cb), IntegerEntry("total_nft_issued", (bF + 1)), IntegerEntry(aj(bw, R), 0), BooleanEntry(aa(bw, R), bW), bU, ScriptTransfer(Address(fromBase58String(bw)), bR, aW), ScriptTransfer(bX, 1, bV)] ++ ce) | |
526 | 528 | if (bC) | |
527 | 529 | then [cd, ca, bZ] :: cf | |
528 | 530 | else cd :: cf | |
529 | 531 | } | |
530 | 532 | } | |
531 | 533 | } | |
532 | 534 | } | |
533 | 535 | } | |
534 | 536 | } | |
535 | 537 | ||
536 | 538 | ||
537 | 539 | func cg (ch) = { | |
538 | 540 | let I = ch | |
539 | 541 | if ($isInstanceOf(I, "String")) | |
540 | 542 | then { | |
541 | 543 | let ci = I | |
542 | 544 | ci | |
543 | 545 | } | |
544 | 546 | else throw("Sponsored Public Key String expected") | |
545 | 547 | } | |
546 | 548 | ||
547 | 549 | ||
548 | 550 | @Callable(cj) | |
549 | 551 | func setConf (c,ck) = { | |
550 | 552 | let P = toString(cj.caller) | |
551 | 553 | if (containsElement([n, toString(this)], P)) | |
552 | 554 | then if (contains(c, "conf_")) | |
553 | 555 | then [StringEntry(c, ck)] | |
554 | 556 | else throw("Entries starting with conf_ only") | |
555 | 557 | else throw("You are not allowed to change this") | |
556 | 558 | } | |
557 | 559 | ||
558 | 560 | ||
559 | 561 | ||
560 | 562 | @Callable(aR) | |
561 | 563 | func addArtwork (H,F,aL,aM,aN,cl,aw,aA,ax,aB,ay,cm,aO,bs) = { | |
562 | 564 | let cn = br(aR, bs) | |
563 | 565 | let R = cn._1 | |
564 | 566 | let P = cn._2 | |
565 | 567 | let bB = cn._3 | |
566 | 568 | if (true) | |
567 | 569 | then throw(P) | |
568 | 570 | else if (!(M(H))) | |
569 | 571 | then throw("Hash should be 64 characters maximum") | |
570 | 572 | else { | |
571 | 573 | let co = aH(ay, aB) | |
572 | 574 | let aJ = co._1 | |
573 | 575 | let aK = co._2 | |
574 | 576 | let cp = aI(P, aw, ax, aJ, aA, aK, aL, aM, aN, aO) | |
575 | 577 | if ((cp != "")) | |
576 | 578 | then throw("Something went wrong!") | |
577 | 579 | else { | |
578 | 580 | let cq = (q((P + "_free_drops")) > 0) | |
579 | 581 | let cr = if (cq) | |
580 | 582 | then $Tuple2(0, F) | |
581 | 583 | else aU(aR) | |
582 | 584 | let aT = cr._1 | |
583 | 585 | let aW = cr._2 | |
584 | 586 | if (!(isDefined(aT))) | |
585 | 587 | then throw("Something went wrong") | |
586 | 588 | else { | |
587 | 589 | let cs = b(au(H, P)) | |
588 | 590 | if ((cs != "")) | |
589 | 591 | then throw("You already added it") | |
590 | 592 | else { | |
591 | 593 | let ct = b(ar(H)) | |
592 | 594 | if ((ct != "")) | |
593 | 595 | then throw("Hash already registered") | |
594 | 596 | else { | |
595 | 597 | let cu = E(F, P, H) | |
596 | 598 | if (!(cu)) | |
597 | 599 | then throw("Sign Certificate not found for this address.") | |
598 | 600 | else { | |
599 | 601 | let cv = if (cq) | |
600 | 602 | then invoke(i, "useFreeDrop", [toBase58String(aR.caller.bytes)], nil) | |
601 | 603 | else unit | |
602 | 604 | if ((cv == cv)) | |
603 | 605 | then [StringEntry(ar(H), P), StringEntry(au(H, P), R), IntegerEntry(Q(P, R), bB), StringEntry(S(P, R), aL), StringEntry(T(P, R), aM), StringEntry(U(P, R), aw), StringEntry(W(P, R), ax), StringEntry(V(P, R), aA), StringEntry(ab(P, R), aK), StringEntry(ac(P, R), aJ), StringEntry(ae(P, R), cl), StringEntry(ad(P, R), aN), IntegerEntry(X(P, R), 0), StringEntry(Y(P, R), F), IntegerEntry(Z(P, R), 0), BooleanEntry(aa(P, R), false), StringEntry(as(P, F), R), StringEntry(ap(P, R), H), StringEntry(ag(P, R), cm), IntegerEntry(ah(P, R), aO), ScriptTransfer(Address(fromBase58String(g)), aT, j)] | |
604 | 606 | else throw("Strict value is not equal to itself.") | |
605 | 607 | } | |
606 | 608 | } | |
607 | 609 | } | |
608 | 610 | } | |
609 | 611 | } | |
610 | 612 | } | |
611 | 613 | } | |
612 | 614 | ||
613 | 615 | ||
614 | 616 | ||
615 | 617 | @Callable(aR) | |
616 | 618 | func updateArtwork (aq,aL,aM,aN,cl,aw,aA,ax,aB,ay,cm,aO,bs) = if (!(w)) | |
617 | 619 | then throw(x) | |
618 | 620 | else { | |
619 | 621 | let cw = br(aR, bs) | |
620 | 622 | let bA = cw._1 | |
621 | 623 | let P = cw._2 | |
622 | 624 | let bB = cw._3 | |
623 | 625 | let cx = aH(ay, aB) | |
624 | 626 | let aJ = cx._1 | |
625 | 627 | let aK = cx._2 | |
626 | 628 | let cp = aI(P, aw, ax, aJ, aA, aK, aL, aM, aN, aO) | |
627 | 629 | if ((cp != "")) | |
628 | 630 | then throw("Something went wrong!") | |
629 | 631 | else { | |
630 | 632 | let cs = b(S(P, aq)) | |
631 | 633 | if ((cs == "")) | |
632 | 634 | then throw("Entry not found") | |
633 | 635 | else { | |
634 | 636 | let cy = b(al(P, aq)) | |
635 | 637 | if ((cy == "ILLEGAL")) | |
636 | 638 | then throw("Cannot update ILLEGAL artwork") | |
637 | 639 | else if (!(aX(P, aq))) | |
638 | 640 | then [StringEntry(S(P, aq), aL), StringEntry(T(P, aq), aM), StringEntry(U(P, aq), aw), StringEntry(W(P, aq), ax), StringEntry(V(P, aq), aA), StringEntry(ac(P, aq), aJ), StringEntry(ab(P, aq), aK), StringEntry(ad(P, aq), aN), StringEntry(ae(P, aq), cl), StringEntry(ag(P, aq), cm), IntegerEntry(ah(P, aq), aO)] | |
639 | 641 | else throw("Already minted") | |
640 | 642 | } | |
641 | 643 | } | |
642 | 644 | } | |
643 | 645 | ||
644 | 646 | ||
645 | 647 | ||
646 | 648 | @Callable(aR) | |
647 | 649 | func flagArtwork (R,cz,cy,cA) = { | |
648 | 650 | let cB = bu(aR) | |
649 | 651 | let bA = cB._1 | |
650 | 652 | let P = cB._2 | |
651 | 653 | if (containsElement([n, toString(this)], P)) | |
652 | 654 | then if (containsElement(["CONSENT", "", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cy)) | |
653 | 655 | then [StringEntry(al(cz, R), cy), StringEntry(af(cz, R), cA)] | |
654 | 656 | else throw(("Unknow status " + cy)) | |
655 | 657 | else throw("You are not allowed") | |
656 | 658 | } | |
657 | 659 | ||
658 | 660 | ||
659 | 661 | ||
660 | 662 | @Callable(aR) | |
661 | 663 | func deleteArtwork (R,cz) = { | |
662 | 664 | let cC = bu(aR) | |
663 | 665 | let bA = cC._1 | |
664 | 666 | let P = cC._2 | |
665 | 667 | let aY = if (containsElement([n, toString(this)], P)) | |
666 | 668 | then cz | |
667 | 669 | else P | |
668 | 670 | let cs = valueOrErrorMessage(b(S(aY, R)), "No art matching for this address") | |
669 | 671 | if ((cs == "")) | |
670 | 672 | then throw("No art matching for this address") | |
671 | 673 | else { | |
672 | 674 | let H = b(ap(aY, R)) | |
673 | 675 | if ((H == "")) | |
674 | 676 | then throw("No art hash matching for this address") | |
675 | 677 | else { | |
676 | 678 | let F = b(Y(aY, R)) | |
677 | 679 | if ((F == "")) | |
678 | 680 | then throw("No SIGN ID matching") | |
679 | 681 | else { | |
680 | 682 | let cD = [DeleteEntry(Q(aY, R)), DeleteEntry(S(aY, R)), DeleteEntry(T(aY, R)), DeleteEntry(U(aY, R)), DeleteEntry(W(aY, R)), DeleteEntry(V(aY, R)), DeleteEntry(ab(aY, R)), DeleteEntry(ac(aY, R)), DeleteEntry(ae(aY, R)), DeleteEntry(ad(aY, R)), DeleteEntry(X(aY, R)), DeleteEntry(Y(aY, R)), DeleteEntry(Z(aY, R)), DeleteEntry(aa(aY, R)), DeleteEntry(al(aY, R)), DeleteEntry(ai(aY, R)), DeleteEntry(ak(aY, R)), DeleteEntry(ar(H)), DeleteEntry(as(aY, F)), DeleteEntry(au(H, aY)), DeleteEntry(aj(aY, R)), DeleteEntry(af(aY, R)), DeleteEntry(ag(aY, R)), DeleteEntry(ah(aY, R))] | |
681 | 683 | if (!(aX(aY, R))) | |
682 | 684 | then if (!(w)) | |
683 | 685 | then throw(x) | |
684 | 686 | else cD | |
685 | 687 | else if (containsElement([n, toString(this)], P)) | |
686 | 688 | then cD | |
687 | 689 | else throw("Art already minted, you cannot delete it") | |
688 | 690 | } | |
689 | 691 | } | |
690 | 692 | } | |
691 | 693 | } | |
692 | 694 | ||
693 | 695 | ||
694 | 696 | ||
695 | 697 | @Callable(aR) | |
696 | 698 | func sellArtwork (R,bg,cE,aW,bD,bs) = { | |
697 | 699 | let cF = br(aR, bs) | |
698 | 700 | let bA = cF._1 | |
699 | 701 | let P = cF._2 | |
700 | 702 | let bG = b(S(P, R)) | |
701 | 703 | if ((bG == "")) | |
702 | 704 | then throw("This art doesn't match your account") | |
703 | 705 | else { | |
704 | 706 | let cy = b(al(P, R)) | |
705 | 707 | if (containsElement(["CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cy)) | |
706 | 708 | then throw("Flagged artwork") | |
707 | 709 | else { | |
708 | 710 | let cG = p(("current_bidamount_" + R)) | |
709 | 711 | if ((0 > bD)) | |
710 | 712 | then throw("Negative end") | |
711 | 713 | else if (if ((bD > 0)) | |
712 | 714 | then if ((cE != 1)) | |
713 | 715 | then true | |
714 | 716 | else (bg != 0) | |
715 | 717 | else false) | |
716 | 718 | then throw("Timed offer only allowed for unique edition and offer only") | |
717 | 719 | else { | |
718 | 720 | let cH = if ((bD == 0)) | |
719 | 721 | then 0 | |
720 | 722 | else height | |
721 | 723 | if (!(be(aW))) | |
722 | 724 | then throw("Something went wrong!") | |
723 | 725 | else if (!(bf(aW, bg))) | |
724 | 726 | then throw("Something went wrong!") | |
725 | 727 | else { | |
726 | 728 | let aP = aF(P) | |
727 | 729 | if ((aP != "")) | |
728 | 730 | then throw(aP) | |
729 | 731 | else { | |
730 | 732 | let bI = p(Z(P, R)) | |
731 | 733 | let bJ = p(X(P, R)) | |
732 | 734 | if ((cE > 100)) | |
733 | 735 | then throw("100 editions max per artwork") | |
734 | 736 | else if (if ((bI != 0)) | |
735 | 737 | then (bI == bJ) | |
736 | 738 | else false) | |
737 | 739 | then throw("Max edition reached.") | |
738 | 740 | else if (if ((bI > 0)) | |
739 | 741 | then (bJ != cE) | |
740 | 742 | else false) | |
741 | 743 | then throw("Cannot change maximum issuable anymore") | |
742 | 744 | else if (if ((cG > 0)) | |
743 | 745 | then (bJ != cE) | |
744 | 746 | else false) | |
745 | 747 | then throw("Cannot change maximum issuable with active orders") | |
746 | 748 | else { | |
747 | 749 | let bW = if (if ((bg > 0)) | |
748 | 750 | then (cE > 0) | |
749 | 751 | else false) | |
750 | 752 | then true | |
751 | 753 | else false | |
752 | 754 | [BooleanEntry(aa(P, R), bW), IntegerEntry(ai(P, R), bg), IntegerEntry(X(P, R), cE), StringEntry(ak(P, R), aW), IntegerEntry(aj(P, R), (cH + bD))] | |
753 | 755 | } | |
754 | 756 | } | |
755 | 757 | } | |
756 | 758 | } | |
757 | 759 | } | |
758 | 760 | } | |
759 | 761 | } | |
760 | 762 | ||
761 | 763 | ||
762 | 764 | ||
763 | 765 | @Callable(aR) | |
764 | 766 | func buyArtwork (R,bw) = bv(aR, R, bw, "", "") | |
765 | 767 | ||
766 | 768 | ||
767 | 769 | ||
768 | 770 | @Callable(aR) | |
769 | 771 | func setBid (R,bw) = { | |
770 | 772 | let cI = bu(aR) | |
771 | 773 | let bA = cI._1 | |
772 | 774 | let P = cI._2 | |
773 | 775 | let bB = cI._3 | |
774 | 776 | let cJ = aQ(aR) | |
775 | 777 | let aS = cJ._1 | |
776 | 778 | let aT = cJ._2 | |
777 | 779 | let aW = if (!(isDefined(aS.assetId))) | |
778 | 780 | then "WAVES" | |
779 | 781 | else toBase58String(value(aS.assetId)) | |
780 | 782 | let bD = p(aj(bw, R)) | |
781 | 783 | if (if ((bD != 0)) | |
782 | 784 | then (height >= bD) | |
783 | 785 | else false) | |
784 | 786 | then throw("Sale ended.") | |
785 | 787 | else { | |
786 | 788 | let cG = p(("current_bidamount_" + R)) | |
787 | 789 | if (!(be(aW))) | |
788 | 790 | then throw("asset not accepted") | |
789 | 791 | else if (!(bf(aW, aT))) | |
790 | 792 | then throw("Wrong min sell") | |
791 | 793 | else { | |
792 | 794 | let bI = p(Z(bw, R)) | |
793 | 795 | let bJ = p(X(bw, R)) | |
794 | 796 | if ((0 >= bJ)) | |
795 | 797 | then throw("No max edition set for this artwork") | |
796 | 798 | else if ((bI >= bJ)) | |
797 | 799 | then throw("Sold out, you cannot bid") | |
798 | 800 | else [StringEntry((((((((("bid_" + R) + "_") + bw) + "_") + P) + "_") + bA) + "_OPEN"), ((((aW + "_") + toString(aT)) + "_") + toString(bB))), IntegerEntry(("current_bidamount_" + R), (cG + 1))] | |
799 | 801 | } | |
800 | 802 | } | |
801 | 803 | } | |
802 | 804 | ||
803 | 805 | ||
804 | 806 | ||
805 | 807 | @Callable(aR) | |
806 | 808 | func acceptBid (R,bw,bx,by) = { | |
807 | 809 | let cK = bu(aR) | |
808 | 810 | let bA = cK._1 | |
809 | 811 | let P = cK._2 | |
810 | 812 | let bB = cK._3 | |
811 | 813 | if ((P != bw)) | |
812 | 814 | then throw("You cannot do this action") | |
813 | 815 | else bv(aR, R, bw, bx, by) | |
814 | 816 | } | |
815 | 817 | ||
816 | 818 | ||
817 | 819 | ||
818 | 820 | @Callable(aR) | |
819 | 821 | func cancelBid (R,bw,bx,by) = { | |
820 | 822 | let cL = bu(aR) | |
821 | 823 | let bA = cL._1 | |
822 | 824 | let P = cL._2 | |
823 | 825 | let bB = cL._3 | |
824 | 826 | if (if ((P != by)) | |
825 | 827 | then (P != bw) | |
826 | 828 | else false) | |
827 | 829 | then throw("You cannot do this action") | |
828 | 830 | else { | |
829 | 831 | let cM = if ((P == bw)) | |
830 | 832 | then by | |
831 | 833 | else P | |
832 | 834 | let cG = p(("current_bidamount_" + R)) | |
833 | 835 | let bm = ((((((("bid_" + R) + "_") + bw) + "_") + by) + "_") + bx) | |
834 | 836 | let bn = b((bm + "_OPEN")) | |
835 | 837 | if ((bn == "")) | |
836 | 838 | then throw("Bid not found") | |
837 | 839 | else { | |
838 | 840 | let bo = split(bn, "_") | |
839 | 841 | let aW = bk(bo[0]) | |
840 | 842 | let cN = "CANCELED" | |
841 | 843 | [DeleteEntry((bm + "_OPEN")), StringEntry(((bm + "_") + cN), ((bn + "_") + toString(bB))), IntegerEntry(("current_bidamount_" + R), (cG - 1)), ScriptTransfer(Address(fromBase58String(cM)), parseIntValue(bo[1]), aW)] | |
842 | 844 | } | |
843 | 845 | } | |
844 | 846 | } | |
845 | 847 | ||
846 | 848 | ||
847 | 849 | @Verifier(cO) | |
848 | 850 | func cP () = { | |
849 | 851 | let I = cO | |
850 | 852 | if ($isInstanceOf(I, "InvokeScriptTransaction")) | |
851 | 853 | then { | |
852 | 854 | let cQ = I | |
853 | 855 | if (if ((cQ.function == "addArtwork")) | |
854 | 856 | then (cQ.dApp == this) | |
855 | 857 | else false) | |
856 | 858 | then sigVerify(cO.bodyBytes, cO.proofs[0], fromBase58String(cg(cQ.args[13]))) | |
857 | 859 | else if (if ((cQ.function == "updateArtwork")) | |
858 | 860 | then (cQ.dApp == this) | |
859 | 861 | else false) | |
860 | 862 | then sigVerify(cO.bodyBytes, cO.proofs[0], fromBase58String(cg(cQ.args[12]))) | |
861 | 863 | else if (if ((cQ.function == "sellArtwork")) | |
862 | 864 | then (cQ.dApp == this) | |
863 | 865 | else false) | |
864 | 866 | then sigVerify(cO.bodyBytes, cO.proofs[0], fromBase58String(cg(cQ.args[5]))) | |
865 | 867 | else sigVerify(cO.bodyBytes, cO.proofs[0], cO.senderPublicKey) | |
866 | 868 | } | |
867 | 869 | else sigVerify(cO.bodyBytes, cO.proofs[0], cO.senderPublicKey) | |
868 | 870 | } | |
869 | 871 |
github/deemru/w8io/169f3d6 82.38 ms ◑