tx · HtUhPcBXzWTXu1haWAzHmsKHedep3L6czuwXYSXh6Hkd 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7: -0.01400000 Waves 2021.05.14 15:11 [1525332] smart account 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7 > SELF 0.00000000 Waves
{ "type": 13, "id": "HtUhPcBXzWTXu1haWAzHmsKHedep3L6czuwXYSXh6Hkd", "fee": 1400000, "feeAssetId": null, "timestamp": 1620994313853, "version": 2, "chainId": 84, "sender": "3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7", "senderPublicKey": "ERi6XSXhPVHxXNjViF4BLWBiUjTBzMhwtR1Yn6J23YEd", "proofs": [ "36RDC7kNrp6jViUKZh6k7hUV9S47d6nSthpuAPPeD8ZhtVeog9f5cYmGuPWFjEVVUB4iN5ZtAb5w95UHuvK2iEUS" ], "script": "base64:AAIEAAAAAAAAAC4IAhIECgIBCBIDCgEIEgMKAQgSAwoBCBIFCgMICAgSBAoCCAgSAwoBCBIDCgEIAAAAJAAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAxhcnR3b3Jrc0RhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05CeW5mYlhDMkthc3RVeGh1a2NNVWFFNThLOWNCZEI5VVkAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1d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succeeded", "spentComplexity": 0 } View: original | compacted Prev: AdKWC5JoorwxNsdYXsj442m4FtnnUrijs94EcUzFzDFo Next: 2HgSeJjzMaUCBk1bQ95irCYDxmMh1xMwZSKCADEJcvTU Diff:
Old | New | Differences | |
---|---|---|---|
138 | 138 | ||
139 | 139 | func checkNFTInfo (assetId) = { | |
140 | 140 | let nftData = split(getArtStrByK(keyNFTData(toBase58String(value(assetId)))), "_") | |
141 | - | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
142 | - | if ((size(artSignID) == 0)) | |
143 | - | then throw("Artwork not found on SIGN Art") | |
141 | + | if (true) | |
142 | + | then throw("no erro yet") | |
144 | 143 | else { | |
145 | - | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
146 | - | if (if ((artStatus == artIllegal)) | |
147 | - | then true | |
148 | - | else (artStatus == artSuspended)) | |
149 | - | then throw(("Original Artwork flagged as " + artStatus)) | |
144 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
145 | + | if ((size(artSignID) == 0)) | |
146 | + | then throw("Artwork not found on SIGN Art") | |
150 | 147 | else { | |
151 | - | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
152 | - | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
153 | - | then throw(("Original Artist " + artistStatus)) | |
154 | - | else $Tuple2(true, nftData[6]) | |
148 | + | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
149 | + | if (if ((artStatus == artIllegal)) | |
150 | + | then true | |
151 | + | else (artStatus == artSuspended)) | |
152 | + | then throw(("Original Artwork flagged as " + artStatus)) | |
153 | + | else { | |
154 | + | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
155 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
156 | + | then throw(("Original Artist " + artistStatus)) | |
157 | + | else $Tuple2(true, nftData[6]) | |
158 | + | } | |
155 | 159 | } | |
156 | 160 | } | |
157 | 161 | } | |
159 | 163 | ||
160 | 164 | @Callable(i) | |
161 | 165 | func sellNFT (price,asset) = { | |
162 | - | let $ | |
163 | - | let id = $ | |
164 | - | let caller = $ | |
165 | - | let date = $ | |
166 | - | let $ | |
167 | - | let payment = $ | |
168 | - | let amount = $ | |
166 | + | let $t059946033 = idCallerDate(i) | |
167 | + | let id = $t059946033._1 | |
168 | + | let caller = $t059946033._2 | |
169 | + | let date = $t059946033._3 | |
170 | + | let $t060386074 = isPayment(i) | |
171 | + | let payment = $t060386074._1 | |
172 | + | let amount = $t060386074._2 | |
169 | 173 | let assetId = if (if (isDefined(payment.assetId)) | |
170 | 174 | then isSignArtNFT(value(payment.assetId)) | |
171 | 175 | else false) | |
174 | 178 | if (!(acceptedAssetIds(asset))) | |
175 | 179 | then throw("Only SIGN, USDN or WAVES accepted") | |
176 | 180 | else { | |
177 | - | let $ | |
178 | - | let isValidNFT = $ | |
179 | - | let creatorAddr = $ | |
181 | + | let $t063046357 = checkNFTInfo(assetId) | |
182 | + | let isValidNFT = $t063046357._1 | |
183 | + | let creatorAddr = $t063046357._2 | |
180 | 184 | if (!(isValidNFT)) | |
181 | 185 | then throw("Something went wrong") | |
182 | 186 | else [StringEntry((((((("sale2nd_info_" + caller) + "_") + toBase58String(value(payment.assetId))) + "_") + creatorAddr) + "_OPEN"), ((((toString(date) + "_") + toString(price)) + "_") + asset)), StringEntry(((("sale2nd_status_" + caller) + "_") + toBase58String(value(payment.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(payment.assetId))), caller)] | |
187 | 191 | ||
188 | 192 | @Callable(i) | |
189 | 193 | func cancelSale (nftid) = { | |
190 | - | let $ | |
191 | - | let id = $ | |
192 | - | let caller = $ | |
193 | - | let date = $ | |
194 | + | let $t070337072 = idCallerDate(i) | |
195 | + | let id = $t070337072._1 | |
196 | + | let caller = $t070337072._2 | |
197 | + | let date = $t070337072._3 | |
194 | 198 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
195 | 199 | if ((saleOwner != caller)) | |
196 | 200 | then throw("You don't own this NFT") | |
210 | 214 | ||
211 | 215 | @Callable(i) | |
212 | 216 | func buyNFT (nftid) = { | |
213 | - | let $ | |
214 | - | let id = $ | |
215 | - | let caller = $ | |
216 | - | let date = $ | |
217 | + | let $t082098280 = idCallerDate(i) | |
218 | + | let id = $t082098280._1 | |
219 | + | let caller = $t082098280._2 | |
220 | + | let date = $t082098280._3 | |
217 | 221 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
218 | - | let $ | |
219 | - | let isValidNFT = $ | |
220 | - | let creatorAddr = $ | |
222 | + | let $t083358395 = checkNFTInfo(toBytes(nftid)) | |
223 | + | let isValidNFT = $t083358395._1 | |
224 | + | let creatorAddr = $t083358395._2 | |
221 | 225 | if (!(isValidNFT)) | |
222 | 226 | then throw("Something went wrong") | |
223 | - | else if (true) | |
224 | - | then throw("no erro yet") | |
225 | - | else { | |
226 | - | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
227 | - | if ((size(saleInfo) == 0)) | |
228 | - | then throw("Sale Not found!") | |
229 | - | else { | |
230 | - | let saleInfoArray = split(saleInfo, "_") | |
231 | - | let $t086658701 = isPayment(i) | |
232 | - | let payment = $t086658701._1 | |
233 | - | let amount = $t086658701._2 | |
234 | - | if (if ((saleInfoArray[1] != toString(amount))) | |
235 | - | then true | |
236 | - | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
237 | - | then throw("Payment infos don't match.") | |
238 | - | else { | |
239 | - | let amountForSign = fraction(amount, signCut, 100) | |
240 | - | let amountForCreator = fraction(amount, creatorCut, 100) | |
241 | - | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
227 | + | else { | |
228 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
229 | + | if ((size(saleInfo) == 0)) | |
230 | + | then throw("Sale Not found!") | |
231 | + | else { | |
232 | + | let saleInfoArray = split(saleInfo, "_") | |
233 | + | let $t086598695 = isPayment(i) | |
234 | + | let payment = $t086598695._1 | |
235 | + | let amount = $t086598695._2 | |
236 | + | if (if ((saleInfoArray[1] != toString(amount))) | |
237 | + | then true | |
238 | + | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
239 | + | then throw("Payment infos don't match.") | |
240 | + | else { | |
241 | + | let amountForSign = fraction(amount, signCut, 100) | |
242 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
243 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
242 | 244 | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_to_") + caller)), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, payment.assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, payment.assetId), ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, payment.assetId), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
243 | - | ||
244 | - | ||
245 | - | ||
245 | + | } | |
246 | + | } | |
247 | + | } | |
246 | 248 | } | |
247 | 249 | ||
248 | 250 | ||
249 | 251 | ||
250 | 252 | @Callable(i) | |
251 | 253 | func setOffer (nftid) = { | |
252 | - | let $ | |
253 | - | let id = $ | |
254 | - | let caller = $ | |
255 | - | let date = $ | |
256 | - | let $ | |
257 | - | let payment = $ | |
258 | - | let amount = $ | |
254 | + | let $t01014210180 = idCallerDate(i) | |
255 | + | let id = $t01014210180._1 | |
256 | + | let caller = $t01014210180._2 | |
257 | + | let date = $t01014210180._3 | |
258 | + | let $t01018510221 = isPayment(i) | |
259 | + | let payment = $t01018510221._1 | |
260 | + | let amount = $t01018510221._2 | |
259 | 261 | let assetId = if (!(isDefined(payment.assetId))) | |
260 | 262 | then "WAVES" | |
261 | 263 | else toBase58String(value(payment.assetId)) | |
271 | 273 | ||
272 | 274 | @Callable(i) | |
273 | 275 | func acceptOffer (nftid,offerId,offerOwner) = { | |
274 | - | let $ | |
275 | - | let id = $ | |
276 | - | let caller = $ | |
277 | - | let date = $ | |
276 | + | let $t01093111005 = idCallerDate(i) | |
277 | + | let id = $t01093111005._1 | |
278 | + | let caller = $t01093111005._2 | |
279 | + | let date = $t01093111005._3 | |
278 | 280 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
279 | 281 | if ((caller != saleOwner)) | |
280 | 282 | then throw("You cannot do this action") | |
283 | 285 | if ((offerExist == "")) | |
284 | 286 | then throw("Offer not found or not for sale") | |
285 | 287 | else { | |
286 | - | let $ | |
287 | - | let isValidNFT = $ | |
288 | - | let creatorAddr = $ | |
288 | + | let $t01131011370 = checkNFTInfo(toBytes(nftid)) | |
289 | + | let isValidNFT = $t01131011370._1 | |
290 | + | let creatorAddr = $t01131011370._2 | |
289 | 291 | if (!(isValidNFT)) | |
290 | 292 | then throw("Something went wrong") | |
291 | 293 | else { | |
294 | 296 | then throw("Sale Not found!") | |
295 | 297 | else { | |
296 | 298 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
297 | - | let $ | |
298 | - | let bidDataArr = $ | |
299 | - | let assetId = $ | |
300 | - | let bidData = $ | |
299 | + | let $t01176411823 = getBidData(bidDataKey) | |
300 | + | let bidDataArr = $t01176411823._1 | |
301 | + | let assetId = $t01176411823._2 | |
302 | + | let bidData = $t01176411823._3 | |
301 | 303 | let amount = value(parseInt(bidDataArr[1])) | |
302 | 304 | let amountForSign = fraction(amount, signCut, 100) | |
303 | 305 | let amountForCreator = fraction(amount, creatorCut, 100) | |
313 | 315 | ||
314 | 316 | @Callable(i) | |
315 | 317 | func cancelOffer (nftid,offerId) = { | |
316 | - | let $ | |
317 | - | let id = $ | |
318 | - | let caller = $ | |
319 | - | let date = $ | |
318 | + | let $t01317513405 = idCallerDate(i) | |
319 | + | let id = $t01317513405._1 | |
320 | + | let caller = $t01317513405._2 | |
321 | + | let date = $t01317513405._3 | |
320 | 322 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
321 | 323 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
322 | - | let $ | |
323 | - | let bidDataArr = $ | |
324 | - | let assetId = $ | |
325 | - | let bidData = $ | |
324 | + | let $t01354113641 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
325 | + | let bidDataArr = $t01354113641._1 | |
326 | + | let assetId = $t01354113641._2 | |
327 | + | let bidData = $t01354113641._3 | |
326 | 328 | let bidStatus = "CANCELLED" | |
327 | 329 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
328 | 330 | } | |
331 | 333 | ||
332 | 334 | @Callable(i) | |
333 | 335 | func setRequest (nftid) = { | |
334 | - | let $ | |
335 | - | let id = $ | |
336 | - | let caller = $ | |
337 | - | let date = $ | |
338 | - | let $ | |
339 | - | let payment = $ | |
340 | - | let amount = $ | |
336 | + | let $t01424514283 = idCallerDate(i) | |
337 | + | let id = $t01424514283._1 | |
338 | + | let caller = $t01424514283._2 | |
339 | + | let date = $t01424514283._3 | |
340 | + | let $t01428814324 = isPayment(i) | |
341 | + | let payment = $t01428814324._1 | |
342 | + | let amount = $t01428814324._2 | |
341 | 343 | let assetId = if (!(isDefined(payment.assetId))) | |
342 | 344 | then "WAVES" | |
343 | 345 | else toBase58String(value(payment.assetId)) | |
344 | 346 | if (!(acceptedAssetIds(assetId))) | |
345 | 347 | then throw("asset not accepted") | |
346 | 348 | else { | |
347 | - | let $ | |
348 | - | let isValidNFT = $ | |
349 | - | let creatorAddr = $ | |
349 | + | let $t01454514605 = checkNFTInfo(toBytes(nftid)) | |
350 | + | let isValidNFT = $t01454514605._1 | |
351 | + | let creatorAddr = $t01454514605._2 | |
350 | 352 | if (!(isValidNFT)) | |
351 | 353 | then throw("Something went wrong") | |
352 | 354 | else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let unitTest = false | |
5 | 5 | ||
6 | 6 | let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | 7 | ||
8 | 8 | let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | 9 | ||
10 | 10 | let artworksDapp = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY")) | |
11 | 11 | ||
12 | 12 | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
13 | 13 | ||
14 | 14 | let userDapp = if (unitTest) | |
15 | 15 | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
16 | 16 | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
17 | 17 | ||
18 | 18 | let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
19 | 19 | ||
20 | 20 | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
21 | 21 | ||
22 | 22 | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
23 | 23 | ||
24 | 24 | let wavesAssetId = base58'' | |
25 | 25 | ||
26 | 26 | let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
27 | 27 | ||
28 | 28 | let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
29 | 29 | ||
30 | 30 | let signCut = 3 | |
31 | 31 | ||
32 | 32 | let creatorCut = 10 | |
33 | 33 | ||
34 | 34 | let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true) | |
35 | 35 | ||
36 | 36 | let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "") | |
37 | 37 | ||
38 | 38 | let userSuspended = "SUSPENDED" | |
39 | 39 | ||
40 | 40 | let userRemoved = "REMOVED" | |
41 | 41 | ||
42 | 42 | let artIllegal = "ILLEGAL" | |
43 | 43 | ||
44 | 44 | let artSuspended = "SUSPENDED" | |
45 | 45 | ||
46 | 46 | func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getStrByK (key) = valueOrElse(getString(this, key), "") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func getIntByK (key) = valueOrElse(getInteger(this, key), 0) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func keyUserStatus (addr) = ("user_status_" + addr) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func keyNFTData (id) = ("nft_" + id) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func idCallerDate (i) = if (!(dappRunning)) | |
71 | 71 | then throw(maintenanceMSG) | |
72 | 72 | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func isPayment (i) = if ((size(i.payments) == 0)) | |
76 | 76 | then throw("No payment attached") | |
77 | 77 | else { | |
78 | 78 | let payment = value(i.payments[0]) | |
79 | 79 | let amount = value(payment.amount) | |
80 | 80 | $Tuple2(payment, amount) | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func isSignArtNFT (id) = { | |
85 | 85 | let assetDetails = value(assetInfo(id)) | |
86 | 86 | if (if (if (if ((assetDetails.quantity != 1)) | |
87 | 87 | then true | |
88 | 88 | else (assetDetails.decimals != 0)) | |
89 | 89 | then true | |
90 | 90 | else (assetDetails.reissuable != false)) | |
91 | 91 | then true | |
92 | 92 | else (assetDetails.issuer != artworksDapp)) | |
93 | 93 | then false | |
94 | 94 | else true | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId))) | |
99 | 99 | then (assetId != toBase58String(wavesAssetId)) | |
100 | 100 | else false) | |
101 | 101 | then (assetId != "WAVES") | |
102 | 102 | else false) | |
103 | 103 | then (assetId != toBase58String(usdnAssetId)) | |
104 | 104 | else false) | |
105 | 105 | then false | |
106 | 106 | else true | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
110 | 110 | then unit | |
111 | 111 | else fromBase58String(assetId) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func getSaleOwnerAndStatus (nftid) = { | |
115 | 115 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
116 | 116 | if ((saleOwner == "none")) | |
117 | 117 | then throw("NFT not found") | |
118 | 118 | else { | |
119 | 119 | let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid)) | |
120 | 120 | if ((saleStatus != "OPEN")) | |
121 | 121 | then throw("NFT not for sale") | |
122 | 122 | else saleOwner | |
123 | 123 | } | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func getBidData (key) = { | |
128 | 128 | let bidData = getStrByK((key + "_OPEN")) | |
129 | 129 | if ((bidData == "")) | |
130 | 130 | then throw("Offer not found") | |
131 | 131 | else { | |
132 | 132 | let bidDataArr = split(bidData, "_") | |
133 | 133 | let assetId = getBidAssetId(bidDataArr[0]) | |
134 | 134 | $Tuple3(bidDataArr, assetId, bidData) | |
135 | 135 | } | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func checkNFTInfo (assetId) = { | |
140 | 140 | let nftData = split(getArtStrByK(keyNFTData(toBase58String(value(assetId)))), "_") | |
141 | - | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
142 | - | if ((size(artSignID) == 0)) | |
143 | - | then throw("Artwork not found on SIGN Art") | |
141 | + | if (true) | |
142 | + | then throw("no erro yet") | |
144 | 143 | else { | |
145 | - | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
146 | - | if (if ((artStatus == artIllegal)) | |
147 | - | then true | |
148 | - | else (artStatus == artSuspended)) | |
149 | - | then throw(("Original Artwork flagged as " + artStatus)) | |
144 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
145 | + | if ((size(artSignID) == 0)) | |
146 | + | then throw("Artwork not found on SIGN Art") | |
150 | 147 | else { | |
151 | - | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
152 | - | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
153 | - | then throw(("Original Artist " + artistStatus)) | |
154 | - | else $Tuple2(true, nftData[6]) | |
148 | + | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
149 | + | if (if ((artStatus == artIllegal)) | |
150 | + | then true | |
151 | + | else (artStatus == artSuspended)) | |
152 | + | then throw(("Original Artwork flagged as " + artStatus)) | |
153 | + | else { | |
154 | + | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
155 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
156 | + | then throw(("Original Artist " + artistStatus)) | |
157 | + | else $Tuple2(true, nftData[6]) | |
158 | + | } | |
155 | 159 | } | |
156 | 160 | } | |
157 | 161 | } | |
158 | 162 | ||
159 | 163 | ||
160 | 164 | @Callable(i) | |
161 | 165 | func sellNFT (price,asset) = { | |
162 | - | let $ | |
163 | - | let id = $ | |
164 | - | let caller = $ | |
165 | - | let date = $ | |
166 | - | let $ | |
167 | - | let payment = $ | |
168 | - | let amount = $ | |
166 | + | let $t059946033 = idCallerDate(i) | |
167 | + | let id = $t059946033._1 | |
168 | + | let caller = $t059946033._2 | |
169 | + | let date = $t059946033._3 | |
170 | + | let $t060386074 = isPayment(i) | |
171 | + | let payment = $t060386074._1 | |
172 | + | let amount = $t060386074._2 | |
169 | 173 | let assetId = if (if (isDefined(payment.assetId)) | |
170 | 174 | then isSignArtNFT(value(payment.assetId)) | |
171 | 175 | else false) | |
172 | 176 | then payment.assetId | |
173 | 177 | else throw("No NFT found") | |
174 | 178 | if (!(acceptedAssetIds(asset))) | |
175 | 179 | then throw("Only SIGN, USDN or WAVES accepted") | |
176 | 180 | else { | |
177 | - | let $ | |
178 | - | let isValidNFT = $ | |
179 | - | let creatorAddr = $ | |
181 | + | let $t063046357 = checkNFTInfo(assetId) | |
182 | + | let isValidNFT = $t063046357._1 | |
183 | + | let creatorAddr = $t063046357._2 | |
180 | 184 | if (!(isValidNFT)) | |
181 | 185 | then throw("Something went wrong") | |
182 | 186 | else [StringEntry((((((("sale2nd_info_" + caller) + "_") + toBase58String(value(payment.assetId))) + "_") + creatorAddr) + "_OPEN"), ((((toString(date) + "_") + toString(price)) + "_") + asset)), StringEntry(((("sale2nd_status_" + caller) + "_") + toBase58String(value(payment.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(payment.assetId))), caller)] | |
183 | 187 | } | |
184 | 188 | } | |
185 | 189 | ||
186 | 190 | ||
187 | 191 | ||
188 | 192 | @Callable(i) | |
189 | 193 | func cancelSale (nftid) = { | |
190 | - | let $ | |
191 | - | let id = $ | |
192 | - | let caller = $ | |
193 | - | let date = $ | |
194 | + | let $t070337072 = idCallerDate(i) | |
195 | + | let id = $t070337072._1 | |
196 | + | let caller = $t070337072._2 | |
197 | + | let date = $t070337072._3 | |
194 | 198 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
195 | 199 | if ((saleOwner != caller)) | |
196 | 200 | then throw("You don't own this NFT") | |
197 | 201 | else { | |
198 | 202 | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid)) | |
199 | 203 | if ((saleStatus != "OPEN")) | |
200 | 204 | then throw("Sale not active") | |
201 | 205 | else { | |
202 | 206 | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
203 | 207 | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
204 | 208 | [DeleteEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CANCELLED"), saleInfo), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
205 | 209 | } | |
206 | 210 | } | |
207 | 211 | } | |
208 | 212 | ||
209 | 213 | ||
210 | 214 | ||
211 | 215 | @Callable(i) | |
212 | 216 | func buyNFT (nftid) = { | |
213 | - | let $ | |
214 | - | let id = $ | |
215 | - | let caller = $ | |
216 | - | let date = $ | |
217 | + | let $t082098280 = idCallerDate(i) | |
218 | + | let id = $t082098280._1 | |
219 | + | let caller = $t082098280._2 | |
220 | + | let date = $t082098280._3 | |
217 | 221 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
218 | - | let $ | |
219 | - | let isValidNFT = $ | |
220 | - | let creatorAddr = $ | |
222 | + | let $t083358395 = checkNFTInfo(toBytes(nftid)) | |
223 | + | let isValidNFT = $t083358395._1 | |
224 | + | let creatorAddr = $t083358395._2 | |
221 | 225 | if (!(isValidNFT)) | |
222 | 226 | then throw("Something went wrong") | |
223 | - | else if (true) | |
224 | - | then throw("no erro yet") | |
225 | - | else { | |
226 | - | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
227 | - | if ((size(saleInfo) == 0)) | |
228 | - | then throw("Sale Not found!") | |
229 | - | else { | |
230 | - | let saleInfoArray = split(saleInfo, "_") | |
231 | - | let $t086658701 = isPayment(i) | |
232 | - | let payment = $t086658701._1 | |
233 | - | let amount = $t086658701._2 | |
234 | - | if (if ((saleInfoArray[1] != toString(amount))) | |
235 | - | then true | |
236 | - | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
237 | - | then throw("Payment infos don't match.") | |
238 | - | else { | |
239 | - | let amountForSign = fraction(amount, signCut, 100) | |
240 | - | let amountForCreator = fraction(amount, creatorCut, 100) | |
241 | - | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
227 | + | else { | |
228 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
229 | + | if ((size(saleInfo) == 0)) | |
230 | + | then throw("Sale Not found!") | |
231 | + | else { | |
232 | + | let saleInfoArray = split(saleInfo, "_") | |
233 | + | let $t086598695 = isPayment(i) | |
234 | + | let payment = $t086598695._1 | |
235 | + | let amount = $t086598695._2 | |
236 | + | if (if ((saleInfoArray[1] != toString(amount))) | |
237 | + | then true | |
238 | + | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
239 | + | then throw("Payment infos don't match.") | |
240 | + | else { | |
241 | + | let amountForSign = fraction(amount, signCut, 100) | |
242 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
243 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
242 | 244 | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_to_") + caller)), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, payment.assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, payment.assetId), ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, payment.assetId), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
243 | - | ||
244 | - | ||
245 | - | ||
245 | + | } | |
246 | + | } | |
247 | + | } | |
246 | 248 | } | |
247 | 249 | ||
248 | 250 | ||
249 | 251 | ||
250 | 252 | @Callable(i) | |
251 | 253 | func setOffer (nftid) = { | |
252 | - | let $ | |
253 | - | let id = $ | |
254 | - | let caller = $ | |
255 | - | let date = $ | |
256 | - | let $ | |
257 | - | let payment = $ | |
258 | - | let amount = $ | |
254 | + | let $t01014210180 = idCallerDate(i) | |
255 | + | let id = $t01014210180._1 | |
256 | + | let caller = $t01014210180._2 | |
257 | + | let date = $t01014210180._3 | |
258 | + | let $t01018510221 = isPayment(i) | |
259 | + | let payment = $t01018510221._1 | |
260 | + | let amount = $t01018510221._2 | |
259 | 261 | let assetId = if (!(isDefined(payment.assetId))) | |
260 | 262 | then "WAVES" | |
261 | 263 | else toBase58String(value(payment.assetId)) | |
262 | 264 | if (!(acceptedAssetIds(assetId))) | |
263 | 265 | then throw("asset not accepted") | |
264 | 266 | else { | |
265 | 267 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
266 | 268 | [StringEntry((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
267 | 269 | } | |
268 | 270 | } | |
269 | 271 | ||
270 | 272 | ||
271 | 273 | ||
272 | 274 | @Callable(i) | |
273 | 275 | func acceptOffer (nftid,offerId,offerOwner) = { | |
274 | - | let $ | |
275 | - | let id = $ | |
276 | - | let caller = $ | |
277 | - | let date = $ | |
276 | + | let $t01093111005 = idCallerDate(i) | |
277 | + | let id = $t01093111005._1 | |
278 | + | let caller = $t01093111005._2 | |
279 | + | let date = $t01093111005._3 | |
278 | 280 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
279 | 281 | if ((caller != saleOwner)) | |
280 | 282 | then throw("You cannot do this action") | |
281 | 283 | else { | |
282 | 284 | let offerExist = getStrByK((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) + "_OPEN")) | |
283 | 285 | if ((offerExist == "")) | |
284 | 286 | then throw("Offer not found or not for sale") | |
285 | 287 | else { | |
286 | - | let $ | |
287 | - | let isValidNFT = $ | |
288 | - | let creatorAddr = $ | |
288 | + | let $t01131011370 = checkNFTInfo(toBytes(nftid)) | |
289 | + | let isValidNFT = $t01131011370._1 | |
290 | + | let creatorAddr = $t01131011370._2 | |
289 | 291 | if (!(isValidNFT)) | |
290 | 292 | then throw("Something went wrong") | |
291 | 293 | else { | |
292 | 294 | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
293 | 295 | if ((size(saleInfo) == 0)) | |
294 | 296 | then throw("Sale Not found!") | |
295 | 297 | else { | |
296 | 298 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
297 | - | let $ | |
298 | - | let bidDataArr = $ | |
299 | - | let assetId = $ | |
300 | - | let bidData = $ | |
299 | + | let $t01176411823 = getBidData(bidDataKey) | |
300 | + | let bidDataArr = $t01176411823._1 | |
301 | + | let assetId = $t01176411823._2 | |
302 | + | let bidData = $t01176411823._3 | |
301 | 303 | let amount = value(parseInt(bidDataArr[1])) | |
302 | 304 | let amountForSign = fraction(amount, signCut, 100) | |
303 | 305 | let amountForCreator = fraction(amount, creatorCut, 100) | |
304 | 306 | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
305 | 307 | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry((bidDataKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), StringEntry((bidDataKey + "_CLOSED"), ((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_to_") + offerOwner) + "_") + offerId)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_to_") + offerOwner)), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId), ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId), ScriptTransfer(Address(fromBase58String(bidDataArr[3])), 1, fromBase58String(nftid))] | |
306 | 308 | } | |
307 | 309 | } | |
308 | 310 | } | |
309 | 311 | } | |
310 | 312 | } | |
311 | 313 | ||
312 | 314 | ||
313 | 315 | ||
314 | 316 | @Callable(i) | |
315 | 317 | func cancelOffer (nftid,offerId) = { | |
316 | - | let $ | |
317 | - | let id = $ | |
318 | - | let caller = $ | |
319 | - | let date = $ | |
318 | + | let $t01317513405 = idCallerDate(i) | |
319 | + | let id = $t01317513405._1 | |
320 | + | let caller = $t01317513405._2 | |
321 | + | let date = $t01317513405._3 | |
320 | 322 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
321 | 323 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
322 | - | let $ | |
323 | - | let bidDataArr = $ | |
324 | - | let assetId = $ | |
325 | - | let bidData = $ | |
324 | + | let $t01354113641 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
325 | + | let bidDataArr = $t01354113641._1 | |
326 | + | let assetId = $t01354113641._2 | |
327 | + | let bidData = $t01354113641._3 | |
326 | 328 | let bidStatus = "CANCELLED" | |
327 | 329 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
328 | 330 | } | |
329 | 331 | ||
330 | 332 | ||
331 | 333 | ||
332 | 334 | @Callable(i) | |
333 | 335 | func setRequest (nftid) = { | |
334 | - | let $ | |
335 | - | let id = $ | |
336 | - | let caller = $ | |
337 | - | let date = $ | |
338 | - | let $ | |
339 | - | let payment = $ | |
340 | - | let amount = $ | |
336 | + | let $t01424514283 = idCallerDate(i) | |
337 | + | let id = $t01424514283._1 | |
338 | + | let caller = $t01424514283._2 | |
339 | + | let date = $t01424514283._3 | |
340 | + | let $t01428814324 = isPayment(i) | |
341 | + | let payment = $t01428814324._1 | |
342 | + | let amount = $t01428814324._2 | |
341 | 343 | let assetId = if (!(isDefined(payment.assetId))) | |
342 | 344 | then "WAVES" | |
343 | 345 | else toBase58String(value(payment.assetId)) | |
344 | 346 | if (!(acceptedAssetIds(assetId))) | |
345 | 347 | then throw("asset not accepted") | |
346 | 348 | else { | |
347 | - | let $ | |
348 | - | let isValidNFT = $ | |
349 | - | let creatorAddr = $ | |
349 | + | let $t01454514605 = checkNFTInfo(toBytes(nftid)) | |
350 | + | let isValidNFT = $t01454514605._1 | |
351 | + | let creatorAddr = $t01454514605._2 | |
350 | 352 | if (!(isValidNFT)) | |
351 | 353 | then throw("Something went wrong") | |
352 | 354 | else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
353 | 355 | } | |
354 | 356 | } | |
355 | 357 | ||
356 | 358 | ||
357 | 359 | ||
358 | 360 | @Callable(i) | |
359 | 361 | func deleteEntry (entry) = { | |
360 | 362 | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
361 | 363 | if ((caller == chris)) | |
362 | 364 | then [DeleteEntry(entry)] | |
363 | 365 | else throw("no") | |
364 | 366 | } | |
365 | 367 | ||
366 | 368 |
github/deemru/w8io/169f3d6 202.70 ms ◑