tx · 2u5sHiaMmydfZDL3tV6RstoJv4f1ZcBhRtbv8qyCanCD 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p: -0.01700000 Waves 2023.10.10 12:20 [2792339] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves
{ "type": 13, "id": "2u5sHiaMmydfZDL3tV6RstoJv4f1ZcBhRtbv8qyCanCD", "fee": 1700000, "feeAssetId": null, "timestamp": 1696929672542, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "2gEEgunXUHBSH5evAwMCdjsKqiQUoYvvYAnvDZQmfEYiMLbnGtpWT7wdjS6gq3H76GLrFYkrWt9rvTDqiXnHZe6H" ], "script": "base64:BgI5CAISBAoCCAgSBAoCBAgSBAoCAQgSBQoDCAEIEgMKAQgSAwoBCBIDCgEIEgUKAwgICBIGCgQICAgIRwAHVkVSU0lPTgIFMi4wLjABCWdldFN0ckJ5SwEDa2V5CQELdmFsdWVPckVsc2UCCQCdCAIFBHRoaXMFA2tleQIAAAh1bml0VGVzdAcACW9yYWNsZUZlZQkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQIPY29uZl9vcmFjbGVfZmVlAAhzaWduRGFwcAkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQIRY29uZl9zaWdud2ViX2RhcHAAC2ZlZVJlY2VpdmVyCQEJZ2V0U3RyQnlLAQIRY29uZl9mZWVfcmVjZWl2ZXIADGFydHdvcmtzRGFwcAkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQISY29uZl9hcnR3b3Jrc19kYXBwAAh1c2VyRGFwcAMFCHVuaXRUZXN0CQEFdmFsdWUBCQCmCAECIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEFdmFsdWUBCQCmC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dtGsPWcu5Ai Next: 9bxRgqbELnnbmS5r9QgNxikCPBdzV8mwJDKqP55sPT83 Diff:
Old | New | Differences | |
---|---|---|---|
224 | 224 | ||
225 | 225 | func aL (av) = { | |
226 | 226 | let aM = split(N(X(av)), "_") | |
227 | - | let aN = | |
227 | + | let aN = b(((("art_name_" + aM[5]) + "_") + aM[6])) | |
228 | 228 | if (if (!(aI(aM[6], aM[5]))) | |
229 | 229 | then !(aJ(aM[6])) | |
230 | 230 | else false) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "2.0.0" | |
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 = value(addressFromString(b("conf_artworks_dapp"))) | |
18 | 18 | ||
19 | 19 | let i = if (d) | |
20 | 20 | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
21 | 21 | else value(addressFromString(b("conf_users_dapp"))) | |
22 | 22 | ||
23 | 23 | let j = value(addressFromString(b("conf_whitelist_dapp"))) | |
24 | 24 | ||
25 | 25 | let k = b("conf_puzzle_art_pool") | |
26 | 26 | ||
27 | 27 | let l = b("conf_accepted_asset_USDT_PP") | |
28 | 28 | ||
29 | 29 | let m = b("conf_accepted_asset_ART") | |
30 | 30 | ||
31 | 31 | let n = b("conf_accepted_asset_USDC_PP") | |
32 | 32 | ||
33 | 33 | let o = b("conf_accepted_asset_EAST") | |
34 | 34 | ||
35 | 35 | let p = b("conf_accepted_asset_PUZZLE") | |
36 | 36 | ||
37 | 37 | let q = b("conf_accepted_asset_ETH_PP") | |
38 | 38 | ||
39 | 39 | let r = "WAVES" | |
40 | 40 | ||
41 | 41 | let s = fromBase58String(l) | |
42 | 42 | ||
43 | 43 | let t = fromBase58String(m) | |
44 | 44 | ||
45 | 45 | let u = fromBase58String(n) | |
46 | 46 | ||
47 | 47 | let v = fromBase58String(o) | |
48 | 48 | ||
49 | 49 | let w = fromBase58String(p) | |
50 | 50 | ||
51 | 51 | let x = fromBase58String(q) | |
52 | 52 | ||
53 | 53 | let y = base58'' | |
54 | 54 | ||
55 | 55 | let z = [l, m, n, o, p, r, q] | |
56 | 56 | ||
57 | 57 | let A = b("conf_admin_1") | |
58 | 58 | ||
59 | 59 | let B = 3 | |
60 | 60 | ||
61 | 61 | let C = "SUSPENDED" | |
62 | 62 | ||
63 | 63 | let D = "REMOVED" | |
64 | 64 | ||
65 | 65 | let E = "ILLEGAL" | |
66 | 66 | ||
67 | 67 | let F = "SUSPENDED" | |
68 | 68 | ||
69 | 69 | let G = "conf_dapp_is_running" | |
70 | 70 | ||
71 | 71 | let H = "conf_maintenance_msg" | |
72 | 72 | ||
73 | 73 | let I = valueOrElse(getBoolean(this, G), true) | |
74 | 74 | ||
75 | 75 | let J = valueOrElse(getString(this, H), "") | |
76 | 76 | ||
77 | 77 | let K = "num_sales" | |
78 | 78 | ||
79 | 79 | func L (c) = valueOrElse(getString(i, c), "Error") | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func M (c) = valueOrElse(getInteger(h, c), 1000) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func N (c) = valueOrElse(getString(h, c), "") | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func O (c) = valueOrElse(getInteger(this, c), 0) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func P (Q) = ("user_status_" + Q) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func R (S,T) = ((("art_royalties_" + T) + "_") + S) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func U (V,T) = ((("art_signid_" + T) + "_") + V) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func W (V,T) = ((("art_flag_" + T) + "_") + V) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func X (Y) = ("nft_" + Y) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func Z (S,aa,T,ab) = ((((((("sale2nd_info_" + S) + "_") + aa) + "_") + T) + "_") + ab) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func ac (ad,aa,ae,af) = ((((((("offer2nd_" + ad) + "_") + aa) + "_") + ae) + "_") + af) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func ag (c) = valueOrErrorMessage(getInteger(e, c), "Integer undefine or 0 in oracle") | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | let ah = ag(("certification_fee_" + toBase58String(t))) | |
116 | 116 | ||
117 | 117 | func ai (V) = ("artist_agent_" + V) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func aj (V) = ("artist_agent_secondary_" + V) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func ak (V) = ("artist_public_agent_" + V) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func al (V) = ("artist_public_agent_secondary_" + V) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func am (an) = if (!(I)) | |
130 | 130 | then throw(J) | |
131 | 131 | else $Tuple3(toBase58String(an.transactionId), toBase58String(an.caller.bytes), lastBlock.timestamp) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ao (an) = if ((size(an.payments) == 0)) | |
135 | 135 | then throw("No payment attached") | |
136 | 136 | else { | |
137 | 137 | let ap = value(an.payments[0]) | |
138 | 138 | let aq = value(ap.amount) | |
139 | 139 | $Tuple2(ap, aq) | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ar (as) = if (if (if ((as.quantity == 1)) | |
144 | 144 | then (as.decimals == 0) | |
145 | 145 | else false) | |
146 | 146 | then (as.reissuable == false) | |
147 | 147 | else false) | |
148 | 148 | then (as.issuer == h) | |
149 | 149 | else false | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func at (Y) = { | |
153 | 153 | let as = value(assetInfo(Y)) | |
154 | 154 | ar(as) | |
155 | 155 | } | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func au (av) = if (!(containsElement(z, av))) | |
159 | 159 | then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted") | |
160 | 160 | else true | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aw (av) = if ((av == "WAVES")) | |
164 | 164 | then unit | |
165 | 165 | else fromBase58String(av) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ax (ay) = { | |
169 | 169 | let ae = b(("current_owner_on_dapp_" + ay)) | |
170 | 170 | if ((size(ae) == 0)) | |
171 | 171 | then throw("NFT not found") | |
172 | 172 | else { | |
173 | 173 | let az = b(((("sale2nd_status_" + ae) + "_") + ay)) | |
174 | 174 | if ((az != "OPEN")) | |
175 | 175 | then throw("NFT not for sale") | |
176 | 176 | else ae | |
177 | 177 | } | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aA (c) = { | |
182 | 182 | let aB = b((c + "_OPEN")) | |
183 | 183 | if ((aB == "")) | |
184 | 184 | then throw("Offer not found") | |
185 | 185 | else { | |
186 | 186 | let aC = split(aB, "_") | |
187 | 187 | let av = aw(aC[2]) | |
188 | 188 | $Tuple3(aC, av, aB) | |
189 | 189 | } | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aD (av) = { | |
194 | 194 | let aE = av | |
195 | 195 | if ($isInstanceOf(aE, "ByteVector")) | |
196 | 196 | then { | |
197 | 197 | let aF = aE | |
198 | 198 | assetBalance(this, aF) | |
199 | 199 | } | |
200 | 200 | else wavesBalance(this).available | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aG (aH) = if ((aH != E)) | |
205 | 205 | then (aH != F) | |
206 | 206 | else false | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func aI (Q,Y) = { | |
210 | 210 | let aH = N(W(Q, Y)) | |
211 | 211 | if (aG(aH)) | |
212 | 212 | then true | |
213 | 213 | else throw(("Original Artwork flagged as " + aH)) | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aJ (Q) = { | |
218 | 218 | let aK = L(P(Q)) | |
219 | 219 | if (containsElement([C, D], aK)) | |
220 | 220 | then throw(("Original Artist " + aK)) | |
221 | 221 | else true | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aL (av) = { | |
226 | 226 | let aM = split(N(X(av)), "_") | |
227 | - | let aN = | |
227 | + | let aN = b(((("art_name_" + aM[5]) + "_") + aM[6])) | |
228 | 228 | if (if (!(aI(aM[6], aM[5]))) | |
229 | 229 | then !(aJ(aM[6])) | |
230 | 230 | else false) | |
231 | 231 | then $Tuple4(false, aM[5], aM[6], aN) | |
232 | 232 | else $Tuple4(true, aM[5], aM[6], aN) | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func aO (T,ab) = { | |
237 | 237 | let aN = N(U(ab, T)) | |
238 | 238 | if ((size(aN) == 0)) | |
239 | 239 | then throw("Artwork not found on SIGN Art") | |
240 | 240 | else if (if (!(aI(ab, T))) | |
241 | 241 | then !(aJ(ab)) | |
242 | 242 | else false) | |
243 | 243 | then false | |
244 | 244 | else true | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func aP (aq,av,ay,ab,ae,S,T) = { | |
249 | 249 | let aQ = M(R(ab, T)) | |
250 | 250 | let aR = valueOrElse(getString(i, ai(ab)), g) | |
251 | 251 | let aS = valueOrElse(getInteger(i, aj(ab)), 0) | |
252 | 252 | let aT = valueOrElse(getString(i, ak(ab)), g) | |
253 | 253 | let aU = valueOrElse(getInteger(i, al(ab)), 0) | |
254 | 254 | let aV = fraction(aq, B, 100) | |
255 | 255 | let aW = fraction(aq, aQ, 10000) | |
256 | 256 | let aX = (aq - (aV + aW)) | |
257 | 257 | let aY = if (if ((aR != g)) | |
258 | 258 | then (aS > 0) | |
259 | 259 | else false) | |
260 | 260 | then fraction(aq, aS, 10000) | |
261 | 261 | else 0 | |
262 | 262 | let aZ = if (if ((aT != g)) | |
263 | 263 | then (aU > 0) | |
264 | 264 | else false) | |
265 | 265 | then fraction(aq, aU, 10000) | |
266 | 266 | else 0 | |
267 | 267 | let ba = if ((aY != 0)) | |
268 | 268 | then (aV - aY) | |
269 | 269 | else aV | |
270 | 270 | let bb = aD(t) | |
271 | 271 | if ((bb == bb)) | |
272 | 272 | then { | |
273 | 273 | let bc = if ((av != t)) | |
274 | 274 | then invoke(Address(fromBase58String(k)), "swap", [m, 1], [AttachedPayment(av, ba)]) | |
275 | 275 | else unit | |
276 | 276 | if ((bc == bc)) | |
277 | 277 | then { | |
278 | 278 | let bd = aD(t) | |
279 | 279 | if ((bd == bd)) | |
280 | 280 | then { | |
281 | 281 | let be = if ((aY != 0)) | |
282 | 282 | then [ScriptTransfer(Address(fromBase58String(g)), if ((av == t)) | |
283 | 283 | then (aV - aY) | |
284 | 284 | else (bd - bb), t), ScriptTransfer(Address(fromBase58String(aR)), aY, av)] | |
285 | 285 | else [ScriptTransfer(Address(fromBase58String(g)), if ((av == t)) | |
286 | 286 | then aV | |
287 | 287 | else (bd - bb), t)] | |
288 | 288 | let bf = if ((aZ != 0)) | |
289 | 289 | then [ScriptTransfer(Address(fromBase58String(aT)), aZ, av), ScriptTransfer(Address(fromBase58String(ab)), (aW - aZ), av)] | |
290 | 290 | else [ScriptTransfer(Address(fromBase58String(ab)), aW, av)] | |
291 | 291 | let bg = ScriptTransfer(Address(fromBase58String(ae)), aX, av) | |
292 | 292 | let bh = ScriptTransfer(Address(fromBase58String(S)), 1, fromBase58String(ay)) | |
293 | 293 | $Tuple4(be, bf, bg, bh) | |
294 | 294 | } | |
295 | 295 | else throw("Strict value is not equal to itself.") | |
296 | 296 | } | |
297 | 297 | else throw("Strict value is not equal to itself.") | |
298 | 298 | } | |
299 | 299 | else throw("Strict value is not equal to itself.") | |
300 | 300 | } | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func bi (bj) = if ((0 >= bj)) | |
304 | 304 | then throw("Wrong minimum sell price") | |
305 | 305 | else true | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bk (an,aa) = { | |
309 | 309 | let bl = am(an) | |
310 | 310 | let Y = bl._1 | |
311 | 311 | let S = bl._2 | |
312 | 312 | let bm = bl._3 | |
313 | 313 | let bn = aL(aa) | |
314 | 314 | let bo = bn._1 | |
315 | 315 | let T = bn._2 | |
316 | 316 | let ab = bn._3 | |
317 | 317 | let aN = bn._4 | |
318 | 318 | $Tuple7(Y, S, bm, bo, T, ab, aN) | |
319 | 319 | } | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | func bp () = { | |
323 | 323 | let bq = O(K) | |
324 | 324 | IntegerEntry(K, (bq + 1)) | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(br) | |
329 | 329 | func setConf (c,bs) = { | |
330 | 330 | let S = toString(br.caller) | |
331 | 331 | if (containsElement([A, toString(this)], S)) | |
332 | 332 | then if (contains(c, "conf_")) | |
333 | 333 | then [StringEntry(c, bs)] | |
334 | 334 | else throw("Entries starting with conf_ only") | |
335 | 335 | else throw("You are not allowed to change this") | |
336 | 336 | } | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | ||
340 | 340 | @Callable(br) | |
341 | 341 | func appRunning (bt,bu) = { | |
342 | 342 | let S = toString(br.caller) | |
343 | 343 | let Y = toBase58String(br.transactionId) | |
344 | 344 | if (containsElement([A, toString(this)], S)) | |
345 | 345 | then [BooleanEntry(G, bt), StringEntry(H, bu)] | |
346 | 346 | else throw("You are not allowed to change this") | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | ||
351 | 351 | @Callable(an) | |
352 | 352 | func sellNFT (bj,bv) = { | |
353 | 353 | let bw = ao(an) | |
354 | 354 | let ap = bw._1 | |
355 | 355 | let aq = bw._2 | |
356 | 356 | if ((aq != 1)) | |
357 | 357 | then throw("No NFT attached") | |
358 | 358 | else { | |
359 | 359 | let aa = if (if (isDefined(ap.assetId)) | |
360 | 360 | then at(value(ap.assetId)) | |
361 | 361 | else false) | |
362 | 362 | then toBase58String(value(ap.assetId)) | |
363 | 363 | else throw("Only SIGN Art NFT accepted.") | |
364 | 364 | let bx = bk(an, aa) | |
365 | 365 | let Y = bx._1 | |
366 | 366 | let S = bx._2 | |
367 | 367 | let bm = bx._3 | |
368 | 368 | let bo = bx._4 | |
369 | 369 | let T = bx._5 | |
370 | 370 | let ab = bx._6 | |
371 | 371 | let aN = bx._7 | |
372 | 372 | if ((size(aN) == 0)) | |
373 | 373 | then throw("Artwork not found on SIGN Art") | |
374 | 374 | else if (!(bo)) | |
375 | 375 | then throw("Not a valid nft") | |
376 | 376 | else if (!(au(bv))) | |
377 | 377 | then throw("Only SIGN, USDN, USDT or WAVES accepted") | |
378 | 378 | else if (!(bi(bj))) | |
379 | 379 | then throw("Wrong minimum sell price") | |
380 | 380 | else [StringEntry((Z(S, aa, T, ab) + "_OPEN"), ((((((((((((toString(bm) + "_") + toString(bj)) + "_") + bv) + "_") + aa) + "_") + T) + "_") + ab) + "_") + Y)), StringEntry(((("sale2nd_status_" + S) + "_") + aa), "OPEN"), StringEntry(("current_owner_on_dapp_" + aa), S)] | |
381 | 381 | } | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | ||
386 | 386 | @Callable(an) | |
387 | 387 | func updateSalePrice (aa,bj,bv) = { | |
388 | 388 | let by = bk(an, aa) | |
389 | 389 | let Y = by._1 | |
390 | 390 | let S = by._2 | |
391 | 391 | let bm = by._3 | |
392 | 392 | let bo = by._4 | |
393 | 393 | let T = by._5 | |
394 | 394 | let ab = by._6 | |
395 | 395 | let aN = by._7 | |
396 | 396 | if ((size(aN) == 0)) | |
397 | 397 | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
398 | 398 | else if (!(bo)) | |
399 | 399 | then throw("Not a valid nft") | |
400 | 400 | else { | |
401 | 401 | let ae = b(("current_owner_on_dapp_" + aa)) | |
402 | 402 | if ((ae != S)) | |
403 | 403 | then throw("You don't own this NFT") | |
404 | 404 | else { | |
405 | 405 | let az = b(((("sale2nd_status_" + S) + "_") + aa)) | |
406 | 406 | if ((az != "OPEN")) | |
407 | 407 | then throw("Sale not active") | |
408 | 408 | else if (!(au(bv))) | |
409 | 409 | then throw("Only SIGN, USDN, USDT or WAVES accepted") | |
410 | 410 | else if (!(bi(bj))) | |
411 | 411 | then throw("Wrong minimum sell price") | |
412 | 412 | else { | |
413 | 413 | let bz = Z(S, aa, T, ab) | |
414 | 414 | let bA = split(b((bz + "_OPEN")), "_") | |
415 | 415 | [StringEntry((bz + "_OPEN"), ((((((((((((bA[0] + "_") + toString(bj)) + "_") + bv) + "_") + bA[3]) + "_") + bA[4]) + "_") + bA[5]) + "_") + bA[6]))] | |
416 | 416 | } | |
417 | 417 | } | |
418 | 418 | } | |
419 | 419 | } | |
420 | 420 | ||
421 | 421 | ||
422 | 422 | ||
423 | 423 | @Callable(an) | |
424 | 424 | func cancelSale (aa) = { | |
425 | 425 | let bB = bk(an, aa) | |
426 | 426 | let Y = bB._1 | |
427 | 427 | let S = bB._2 | |
428 | 428 | let bm = bB._3 | |
429 | 429 | let bo = bB._4 | |
430 | 430 | let T = bB._5 | |
431 | 431 | let ab = bB._6 | |
432 | 432 | let aN = bB._7 | |
433 | 433 | let ae = b(("current_owner_on_dapp_" + aa)) | |
434 | 434 | if ((ae != S)) | |
435 | 435 | then throw("You don't own this NFT") | |
436 | 436 | else { | |
437 | 437 | let az = b(((("sale2nd_status_" + S) + "_") + aa)) | |
438 | 438 | if ((az != "OPEN")) | |
439 | 439 | then throw("Sale not active") | |
440 | 440 | else { | |
441 | 441 | let bz = Z(S, aa, T, ab) | |
442 | 442 | let bA = b((bz + "_OPEN")) | |
443 | 443 | [DeleteEntry((bz + "_OPEN")), DeleteEntry(((("sale2nd_status_" + S) + "_") + aa)), DeleteEntry(("current_owner_on_dapp_" + aa)), StringEntry((((bz + "_") + Y) + "_CANCELLED"), ((((bA + "_CANCELLED_") + toString(bm)) + "_") + Y)), ScriptTransfer(Address(fromBase58String(S)), 1, fromBase58String(aa))] | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | ||
450 | 450 | @Callable(an) | |
451 | 451 | func buyNFT (aa) = { | |
452 | 452 | let bC = bk(an, aa) | |
453 | 453 | let Y = bC._1 | |
454 | 454 | let S = bC._2 | |
455 | 455 | let bm = bC._3 | |
456 | 456 | let bo = bC._4 | |
457 | 457 | let T = bC._5 | |
458 | 458 | let ab = bC._6 | |
459 | 459 | let aN = bC._7 | |
460 | 460 | if ((size(aN) == 0)) | |
461 | 461 | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
462 | 462 | else if (!(bo)) | |
463 | 463 | then throw("Not a valid nft") | |
464 | 464 | else { | |
465 | 465 | let ae = ax(aa) | |
466 | 466 | let bz = Z(ae, aa, T, ab) | |
467 | 467 | let bA = b((bz + "_OPEN")) | |
468 | 468 | if ((size(bA) == 0)) | |
469 | 469 | then throw("Sale Not found!") | |
470 | 470 | else { | |
471 | 471 | let bD = split(bA, "_") | |
472 | 472 | if ((parseInt(bD[1]) == 0)) | |
473 | 473 | then throw("Offer only") | |
474 | 474 | else { | |
475 | 475 | let bE = ao(an) | |
476 | 476 | let ap = bE._1 | |
477 | 477 | let aq = bE._2 | |
478 | 478 | let bF = if (isDefined(ap.assetId)) | |
479 | 479 | then toBase58String(value(ap.assetId)) | |
480 | 480 | else "" | |
481 | 481 | if (if ((bD[1] != toString(aq))) | |
482 | 482 | then true | |
483 | 483 | else (bD[2] != bF)) | |
484 | 484 | then throw("Payment infos don't match.") | |
485 | 485 | else { | |
486 | 486 | let bG = aP(aq, ap.assetId, aa, ab, ae, S, T) | |
487 | 487 | let be = bG._1 | |
488 | 488 | let bf = bG._2 | |
489 | 489 | let bg = bG._3 | |
490 | 490 | let bh = bG._4 | |
491 | 491 | (([DeleteEntry((bz + "_OPEN")), DeleteEntry(((("sale2nd_status_" + ae) + "_") + aa)), DeleteEntry(("current_owner_on_dapp_" + aa)), StringEntry((((bz + "_") + Y) + "_CLOSED"), ((((((bA + "_CLOSED_") + toString(bm)) + "_") + Y) + "_") + S)), bp(), bg, bh] ++ bf) ++ be) | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | } | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | ||
500 | 500 | @Callable(an) | |
501 | 501 | func setOffer (aa) = { | |
502 | 502 | let bH = bk(an, aa) | |
503 | 503 | let Y = bH._1 | |
504 | 504 | let ad = bH._2 | |
505 | 505 | let bm = bH._3 | |
506 | 506 | let bo = bH._4 | |
507 | 507 | let T = bH._5 | |
508 | 508 | let ab = bH._6 | |
509 | 509 | let aN = bH._7 | |
510 | 510 | if (!(bo)) | |
511 | 511 | then throw("Not a valid nft") | |
512 | 512 | else { | |
513 | 513 | let bI = ao(an) | |
514 | 514 | let ap = bI._1 | |
515 | 515 | let aq = bI._2 | |
516 | 516 | let av = if (!(isDefined(ap.assetId))) | |
517 | 517 | then "WAVES" | |
518 | 518 | else toBase58String(value(ap.assetId)) | |
519 | 519 | if (!(au(av))) | |
520 | 520 | then throw("asset not accepted") | |
521 | 521 | else if ((aq == 0)) | |
522 | 522 | then throw("Offer of 0 not allowed") | |
523 | 523 | else if (!(bi(aq))) | |
524 | 524 | then throw("Wrong minimum sell price") | |
525 | 525 | else { | |
526 | 526 | let ae = ax(aa) | |
527 | 527 | [StringEntry((ac(ad, aa, ae, Y) + "_OPEN"), ((((((((((((((toString(bm) + "_") + toString(aq)) + "_") + av) + "_") + aa) + "_") + T) + "_") + ab) + "_") + ad) + "_") + Y))] | |
528 | 528 | } | |
529 | 529 | } | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 | ||
533 | 533 | ||
534 | 534 | @Callable(an) | |
535 | 535 | func acceptOffer (aa,af,ad) = { | |
536 | 536 | let bJ = bk(an, aa) | |
537 | 537 | let Y = bJ._1 | |
538 | 538 | let S = bJ._2 | |
539 | 539 | let bm = bJ._3 | |
540 | 540 | let bo = bJ._4 | |
541 | 541 | let T = bJ._5 | |
542 | 542 | let ab = bJ._6 | |
543 | 543 | let aN = bJ._7 | |
544 | 544 | if (!(bo)) | |
545 | 545 | then throw("Not a valid nft") | |
546 | 546 | else { | |
547 | 547 | let ae = ax(aa) | |
548 | 548 | if ((S != ae)) | |
549 | 549 | then throw("Only sale owner can accept offer") | |
550 | 550 | else { | |
551 | 551 | let bK = ac(ad, aa, ae, af) | |
552 | 552 | let bL = aA(bK) | |
553 | 553 | let aC = bL._1 | |
554 | 554 | let av = bL._2 | |
555 | 555 | let aB = bL._3 | |
556 | 556 | let bz = Z(ae, aa, T, ab) | |
557 | 557 | let bA = b((bz + "_OPEN")) | |
558 | 558 | if ((size(bA) == 0)) | |
559 | 559 | then throw("Sale Not found!") | |
560 | 560 | else { | |
561 | 561 | let aq = value(parseInt(aC[1])) | |
562 | 562 | let bM = aP(aq, av, aa, ab, ae, aC[6], T) | |
563 | 563 | let be = bM._1 | |
564 | 564 | let bf = bM._2 | |
565 | 565 | let bg = bM._3 | |
566 | 566 | let bh = bM._4 | |
567 | 567 | let bN = if (isDefined(av)) | |
568 | 568 | then toBase58String(value(av)) | |
569 | 569 | else "WAVES" | |
570 | 570 | (([DeleteEntry((bz + "_OPEN")), DeleteEntry((bK + "_OPEN")), DeleteEntry(((("sale2nd_status_" + ae) + "_") + aa)), DeleteEntry(("current_owner_on_dapp_" + aa)), StringEntry((bK + "_CLOSED"), ((((aB + "_CLOSED_") + toString(bm)) + "_") + Y)), StringEntry((((bz + "_") + Y) + "_CLOSED"), ((((((((((bA + "_CLOSED-OFFER_") + toString(bm)) + "_") + Y) + "_") + ad) + "_") + toString(aq)) + "_") + bN)), bp(), bg, bh] ++ bf) ++ be) | |
571 | 571 | } | |
572 | 572 | } | |
573 | 573 | } | |
574 | 574 | } | |
575 | 575 | ||
576 | 576 | ||
577 | 577 | ||
578 | 578 | @Callable(an) | |
579 | 579 | func cancelOffer (aa,af,ad,ae) = { | |
580 | 580 | let bO = am(an) | |
581 | 581 | let Y = bO._1 | |
582 | 582 | let S = bO._2 | |
583 | 583 | let bm = bO._3 | |
584 | 584 | if (if ((S != ad)) | |
585 | 585 | then (S != ae) | |
586 | 586 | else false) | |
587 | 587 | then throw("You cannot cancel this offer.") | |
588 | 588 | else { | |
589 | 589 | let bK = ac(ad, aa, ae, af) | |
590 | 590 | let bP = aA(bK) | |
591 | 591 | let aC = bP._1 | |
592 | 592 | let av = bP._2 | |
593 | 593 | let aB = bP._3 | |
594 | 594 | [DeleteEntry((bK + "_OPEN")), StringEntry((bK + "_CANCELLED"), ((((aB + "_CANCELLED_") + toString(bm)) + "_") + Y)), ScriptTransfer(Address(fromBase58String(S)), parseIntValue(aC[1]), av)] | |
595 | 595 | } | |
596 | 596 | } | |
597 | 597 | ||
598 | 598 |
github/deemru/w8io/169f3d6 60.21 ms ◑