tx · EePd2sw4zxW53ZK5AuqGmzWQPVqfkTBBNmzqQmefnyiW 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7: -0.01400000 Waves 2021.05.14 15:23 [1525344] smart account 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7 > SELF 0.00000000 Waves
{ "type": 13, "id": "EePd2sw4zxW53ZK5AuqGmzWQPVqfkTBBNmzqQmefnyiW", "fee": 1400000, "feeAssetId": null, "timestamp": 1620995001304, "version": 2, "chainId": 84, "sender": "3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7", "senderPublicKey": "ERi6XSXhPVHxXNjViF4BLWBiUjTBzMhwtR1Yn6J23YEd", "proofs": [ "2vAGfDxKbPBVoMxK9Nesm7pdmZ61d6XYDqscL6PXu1D7g4PuvLo6FpzCvAbHr1nFbtzL9foRLGKWe7gYmZLHeR9o" ], "script": "base64:AAIEAAAAAAAAAC4IAhIECgIBCBIDCgEIEgMKAQgSAwoBCBIFCgMICAgSBAoCCAgSAwoBCBIDCgEIAAAAJAAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAxhcnR3b3Jrc0RhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05CeW5mYlhDMkthc3RVeGh1a2NNVWFFNThLOWNCZEI5VVkAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXl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JZAkAAAIAAAABAgAAABJhc3NldCBub3QgYWNjZXB0ZWQEAAAADSR0MDE0NTM5MTQ1OTAJAQAAAAxjaGVja05GVEluZm8AAAABBQAAAAVuZnRpZAQAAAAKaXNWYWxpZE5GVAgFAAAADSR0MDE0NTM5MTQ1OTAAAAACXzEEAAAAC2NyZWF0b3JBZGRyCAUAAAANJHQwMTQ1MzkxNDU5MAAAAAJfMgMJAQAAAAEhAAAAAQUAAAAKaXNWYWxpZE5GVAkAAAIAAAABAgAAABRTb21ldGhpbmcgd2VudCB3cm9uZwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAtyZXF1ZXN0Mm5kXwUAAAAFbmZ0aWQCAAAAAV8FAAAABmNhbGxlcgIAAAABXwUAAAACaWQCAAAABV9PUEVOCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAHYXNzZXRJZAIAAAABXwkAAaQAAAABBQAAAAZhbW91bnQCAAAAAV8JAAGkAAAAAQUAAAAEZGF0ZQIAAAABXwUAAAAGY2FsbGVyAgAAAAFfBQAAAAJpZAUAAAADbmlsAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQQAAAAGY2FsbGVyCQAEJQAAAAEJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAGY2FsbGVyBQAAAAVjaHJpcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAHLhaq4=", "height": 1525344, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AMczJ1SESVtGfE2K5n4FGqSqjX5PpuMg3WRmTnHSpcCt Next: HGg1eMwYzcSJ2tYvs9msuRcn5qDTFHg1TGAJMVQNNntj Diff:
Old | New | Differences | |
---|---|---|---|
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | - | func checkNFTInfo (assetId) = { | |
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") | |
144 | - | 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)) | |
150 | - | 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]) | |
155 | - | } | |
156 | - | } | |
157 | - | } | |
139 | + | func checkNFTInfo (assetId) = if (true) | |
140 | + | then throw(("no erro yet = " + assetId)) | |
141 | + | else { | |
142 | + | let nftData = split(getArtStrByK(keyNFTData(assetId)), "_") | |
143 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
144 | + | if ((size(artSignID) == 0)) | |
145 | + | then throw("Artwork not found on SIGN Art") | |
146 | + | else { | |
147 | + | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
148 | + | if (if ((artStatus == artIllegal)) | |
149 | + | then true | |
150 | + | else (artStatus == artSuspended)) | |
151 | + | then throw(("Original Artwork flagged as " + artStatus)) | |
152 | + | else { | |
153 | + | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
154 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
155 | + | then throw(("Original Artist " + artistStatus)) | |
156 | + | else $Tuple2(true, nftData[6]) | |
157 | + | } | |
158 | + | } | |
159 | + | } | |
158 | 160 | ||
159 | 161 | ||
160 | 162 | @Callable(i) | |
161 | 163 | func sellNFT (price,asset) = { | |
162 | - | let $ | |
163 | - | let id = $ | |
164 | - | let caller = $ | |
165 | - | let date = $ | |
166 | - | let $ | |
167 | - | let payment = $ | |
168 | - | let amount = $ | |
164 | + | let $t059836022 = idCallerDate(i) | |
165 | + | let id = $t059836022._1 | |
166 | + | let caller = $t059836022._2 | |
167 | + | let date = $t059836022._3 | |
168 | + | let $t060276063 = isPayment(i) | |
169 | + | let payment = $t060276063._1 | |
170 | + | let amount = $t060276063._2 | |
169 | 171 | let assetId = if (if (isDefined(payment.assetId)) | |
170 | 172 | then isSignArtNFT(value(payment.assetId)) | |
171 | 173 | else false) | |
174 | 176 | if (!(acceptedAssetIds(asset))) | |
175 | 177 | then throw("Only SIGN, USDN or WAVES accepted") | |
176 | 178 | else { | |
177 | - | let $ | |
178 | - | let isValidNFT = $ | |
179 | - | let creatorAddr = $ | |
179 | + | let $t062936369 = checkNFTInfo(toBase58String(value(assetId))) | |
180 | + | let isValidNFT = $t062936369._1 | |
181 | + | let creatorAddr = $t062936369._2 | |
180 | 182 | if (!(isValidNFT)) | |
181 | 183 | then throw("Something went wrong") | |
182 | 184 | 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 | 189 | ||
188 | 190 | @Callable(i) | |
189 | 191 | func cancelSale (nftid) = { | |
190 | - | let $ | |
191 | - | let id = $ | |
192 | - | let caller = $ | |
193 | - | let date = $ | |
192 | + | let $t070457084 = idCallerDate(i) | |
193 | + | let id = $t070457084._1 | |
194 | + | let caller = $t070457084._2 | |
195 | + | let date = $t070457084._3 | |
194 | 196 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
195 | 197 | if ((saleOwner != caller)) | |
196 | 198 | then throw("You don't own this NFT") | |
210 | 212 | ||
211 | 213 | @Callable(i) | |
212 | 214 | func buyNFT (nftid) = { | |
213 | - | let $ | |
214 | - | let id = $ | |
215 | - | let caller = $ | |
216 | - | let date = $ | |
215 | + | let $t082218292 = idCallerDate(i) | |
216 | + | let id = $t082218292._1 | |
217 | + | let caller = $t082218292._2 | |
218 | + | let date = $t082218292._3 | |
217 | 219 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
218 | - | if (true) | |
219 | - | then throw(("no erro yet = " + nftid)) | |
220 | + | let $t083478398 = checkNFTInfo(nftid) | |
221 | + | let isValidNFT = $t083478398._1 | |
222 | + | let creatorAddr = $t083478398._2 | |
223 | + | if (!(isValidNFT)) | |
224 | + | then throw("Something went wrong") | |
220 | 225 | else { | |
221 | - | let $t083568416 = checkNFTInfo(toBytes(nftid)) | |
222 | - | let isValidNFT = $t083568416._1 | |
223 | - | let creatorAddr = $t083568416._2 | |
224 | - | if (!(isValidNFT)) | |
225 | - | then throw("Something went wrong") | |
226 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
227 | + | if ((size(saleInfo) == 0)) | |
228 | + | then throw("Sale Not found!") | |
226 | 229 | else { | |
227 | - | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
228 | - | if ((size(saleInfo) == 0)) | |
229 | - | then throw("Sale Not found!") | |
230 | + | let saleInfoArray = split(saleInfo, "_") | |
231 | + | let $t086628698 = isPayment(i) | |
232 | + | let payment = $t086628698._1 | |
233 | + | let amount = $t086628698._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.") | |
230 | 238 | else { | |
231 | - | let saleInfoArray = split(saleInfo, "_") | |
232 | - | let $t086808716 = isPayment(i) | |
233 | - | let payment = $t086808716._1 | |
234 | - | let amount = $t086808716._2 | |
235 | - | if (if ((saleInfoArray[1] != toString(amount))) | |
236 | - | then true | |
237 | - | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
238 | - | then throw("Payment infos don't match.") | |
239 | - | else { | |
240 | - | let amountForSign = fraction(amount, signCut, 100) | |
241 | - | let amountForCreator = fraction(amount, creatorCut, 100) | |
242 | - | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
239 | + | let amountForSign = fraction(amount, signCut, 100) | |
240 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
241 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
243 | 242 | [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))] | |
244 | - | } | |
245 | 243 | } | |
246 | 244 | } | |
247 | 245 | } | |
251 | 249 | ||
252 | 250 | @Callable(i) | |
253 | 251 | func setOffer (nftid) = { | |
254 | - | let $ | |
255 | - | let id = $ | |
256 | - | let caller = $ | |
257 | - | let date = $ | |
258 | - | let $ | |
259 | - | let payment = $ | |
260 | - | let amount = $ | |
252 | + | let $t01014510183 = idCallerDate(i) | |
253 | + | let id = $t01014510183._1 | |
254 | + | let caller = $t01014510183._2 | |
255 | + | let date = $t01014510183._3 | |
256 | + | let $t01018810224 = isPayment(i) | |
257 | + | let payment = $t01018810224._1 | |
258 | + | let amount = $t01018810224._2 | |
261 | 259 | let assetId = if (!(isDefined(payment.assetId))) | |
262 | 260 | then "WAVES" | |
263 | 261 | else toBase58String(value(payment.assetId)) | |
273 | 271 | ||
274 | 272 | @Callable(i) | |
275 | 273 | func acceptOffer (nftid,offerId,offerOwner) = { | |
276 | - | let $ | |
277 | - | let id = $ | |
278 | - | let caller = $ | |
279 | - | let date = $ | |
274 | + | let $t01093411008 = idCallerDate(i) | |
275 | + | let id = $t01093411008._1 | |
276 | + | let caller = $t01093411008._2 | |
277 | + | let date = $t01093411008._3 | |
280 | 278 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
281 | 279 | if ((caller != saleOwner)) | |
282 | 280 | then throw("You cannot do this action") | |
285 | 283 | if ((offerExist == "")) | |
286 | 284 | then throw("Offer not found or not for sale") | |
287 | 285 | else { | |
288 | - | let $ | |
289 | - | let isValidNFT = $ | |
290 | - | let creatorAddr = $ | |
286 | + | let $t01131311364 = checkNFTInfo(nftid) | |
287 | + | let isValidNFT = $t01131311364._1 | |
288 | + | let creatorAddr = $t01131311364._2 | |
291 | 289 | if (!(isValidNFT)) | |
292 | 290 | then throw("Something went wrong") | |
293 | 291 | else { | |
296 | 294 | then throw("Sale Not found!") | |
297 | 295 | else { | |
298 | 296 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
299 | - | let $ | |
300 | - | let bidDataArr = $ | |
301 | - | let assetId = $ | |
302 | - | let bidData = $ | |
297 | + | let $t01175811817 = getBidData(bidDataKey) | |
298 | + | let bidDataArr = $t01175811817._1 | |
299 | + | let assetId = $t01175811817._2 | |
300 | + | let bidData = $t01175811817._3 | |
303 | 301 | let amount = value(parseInt(bidDataArr[1])) | |
304 | 302 | let amountForSign = fraction(amount, signCut, 100) | |
305 | 303 | let amountForCreator = fraction(amount, creatorCut, 100) | |
315 | 313 | ||
316 | 314 | @Callable(i) | |
317 | 315 | func cancelOffer (nftid,offerId) = { | |
318 | - | let $ | |
319 | - | let id = $ | |
320 | - | let caller = $ | |
321 | - | let date = $ | |
316 | + | let $t01316913399 = idCallerDate(i) | |
317 | + | let id = $t01316913399._1 | |
318 | + | let caller = $t01316913399._2 | |
319 | + | let date = $t01316913399._3 | |
322 | 320 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
323 | 321 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
324 | - | let $ | |
325 | - | let bidDataArr = $ | |
326 | - | let assetId = $ | |
327 | - | let bidData = $ | |
322 | + | let $t01353513635 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
323 | + | let bidDataArr = $t01353513635._1 | |
324 | + | let assetId = $t01353513635._2 | |
325 | + | let bidData = $t01353513635._3 | |
328 | 326 | let bidStatus = "CANCELLED" | |
329 | 327 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
330 | 328 | } | |
333 | 331 | ||
334 | 332 | @Callable(i) | |
335 | 333 | func setRequest (nftid) = { | |
336 | - | let $ | |
337 | - | let id = $ | |
338 | - | let caller = $ | |
339 | - | let date = $ | |
340 | - | let $ | |
341 | - | let payment = $ | |
342 | - | let amount = $ | |
334 | + | let $t01423914277 = idCallerDate(i) | |
335 | + | let id = $t01423914277._1 | |
336 | + | let caller = $t01423914277._2 | |
337 | + | let date = $t01423914277._3 | |
338 | + | let $t01428214318 = isPayment(i) | |
339 | + | let payment = $t01428214318._1 | |
340 | + | let amount = $t01428214318._2 | |
343 | 341 | let assetId = if (!(isDefined(payment.assetId))) | |
344 | 342 | then "WAVES" | |
345 | 343 | else toBase58String(value(payment.assetId)) | |
346 | 344 | if (!(acceptedAssetIds(assetId))) | |
347 | 345 | then throw("asset not accepted") | |
348 | 346 | else { | |
349 | - | let $ | |
350 | - | let isValidNFT = $ | |
351 | - | let creatorAddr = $ | |
347 | + | let $t01453914590 = checkNFTInfo(nftid) | |
348 | + | let isValidNFT = $t01453914590._1 | |
349 | + | let creatorAddr = $t01453914590._2 | |
352 | 350 | if (!(isValidNFT)) | |
353 | 351 | then throw("Something went wrong") | |
354 | 352 | 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 | - | func checkNFTInfo (assetId) = { | |
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") | |
144 | - | 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)) | |
150 | - | 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]) | |
155 | - | } | |
156 | - | } | |
157 | - | } | |
139 | + | func checkNFTInfo (assetId) = if (true) | |
140 | + | then throw(("no erro yet = " + assetId)) | |
141 | + | else { | |
142 | + | let nftData = split(getArtStrByK(keyNFTData(assetId)), "_") | |
143 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
144 | + | if ((size(artSignID) == 0)) | |
145 | + | then throw("Artwork not found on SIGN Art") | |
146 | + | else { | |
147 | + | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
148 | + | if (if ((artStatus == artIllegal)) | |
149 | + | then true | |
150 | + | else (artStatus == artSuspended)) | |
151 | + | then throw(("Original Artwork flagged as " + artStatus)) | |
152 | + | else { | |
153 | + | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
154 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
155 | + | then throw(("Original Artist " + artistStatus)) | |
156 | + | else $Tuple2(true, nftData[6]) | |
157 | + | } | |
158 | + | } | |
159 | + | } | |
158 | 160 | ||
159 | 161 | ||
160 | 162 | @Callable(i) | |
161 | 163 | func sellNFT (price,asset) = { | |
162 | - | let $ | |
163 | - | let id = $ | |
164 | - | let caller = $ | |
165 | - | let date = $ | |
166 | - | let $ | |
167 | - | let payment = $ | |
168 | - | let amount = $ | |
164 | + | let $t059836022 = idCallerDate(i) | |
165 | + | let id = $t059836022._1 | |
166 | + | let caller = $t059836022._2 | |
167 | + | let date = $t059836022._3 | |
168 | + | let $t060276063 = isPayment(i) | |
169 | + | let payment = $t060276063._1 | |
170 | + | let amount = $t060276063._2 | |
169 | 171 | let assetId = if (if (isDefined(payment.assetId)) | |
170 | 172 | then isSignArtNFT(value(payment.assetId)) | |
171 | 173 | else false) | |
172 | 174 | then payment.assetId | |
173 | 175 | else throw("No NFT found") | |
174 | 176 | if (!(acceptedAssetIds(asset))) | |
175 | 177 | then throw("Only SIGN, USDN or WAVES accepted") | |
176 | 178 | else { | |
177 | - | let $ | |
178 | - | let isValidNFT = $ | |
179 | - | let creatorAddr = $ | |
179 | + | let $t062936369 = checkNFTInfo(toBase58String(value(assetId))) | |
180 | + | let isValidNFT = $t062936369._1 | |
181 | + | let creatorAddr = $t062936369._2 | |
180 | 182 | if (!(isValidNFT)) | |
181 | 183 | then throw("Something went wrong") | |
182 | 184 | 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 | 185 | } | |
184 | 186 | } | |
185 | 187 | ||
186 | 188 | ||
187 | 189 | ||
188 | 190 | @Callable(i) | |
189 | 191 | func cancelSale (nftid) = { | |
190 | - | let $ | |
191 | - | let id = $ | |
192 | - | let caller = $ | |
193 | - | let date = $ | |
192 | + | let $t070457084 = idCallerDate(i) | |
193 | + | let id = $t070457084._1 | |
194 | + | let caller = $t070457084._2 | |
195 | + | let date = $t070457084._3 | |
194 | 196 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
195 | 197 | if ((saleOwner != caller)) | |
196 | 198 | then throw("You don't own this NFT") | |
197 | 199 | else { | |
198 | 200 | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid)) | |
199 | 201 | if ((saleStatus != "OPEN")) | |
200 | 202 | then throw("Sale not active") | |
201 | 203 | else { | |
202 | 204 | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
203 | 205 | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
204 | 206 | [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 | 207 | } | |
206 | 208 | } | |
207 | 209 | } | |
208 | 210 | ||
209 | 211 | ||
210 | 212 | ||
211 | 213 | @Callable(i) | |
212 | 214 | func buyNFT (nftid) = { | |
213 | - | let $ | |
214 | - | let id = $ | |
215 | - | let caller = $ | |
216 | - | let date = $ | |
215 | + | let $t082218292 = idCallerDate(i) | |
216 | + | let id = $t082218292._1 | |
217 | + | let caller = $t082218292._2 | |
218 | + | let date = $t082218292._3 | |
217 | 219 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
218 | - | if (true) | |
219 | - | then throw(("no erro yet = " + nftid)) | |
220 | + | let $t083478398 = checkNFTInfo(nftid) | |
221 | + | let isValidNFT = $t083478398._1 | |
222 | + | let creatorAddr = $t083478398._2 | |
223 | + | if (!(isValidNFT)) | |
224 | + | then throw("Something went wrong") | |
220 | 225 | else { | |
221 | - | let $t083568416 = checkNFTInfo(toBytes(nftid)) | |
222 | - | let isValidNFT = $t083568416._1 | |
223 | - | let creatorAddr = $t083568416._2 | |
224 | - | if (!(isValidNFT)) | |
225 | - | then throw("Something went wrong") | |
226 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
227 | + | if ((size(saleInfo) == 0)) | |
228 | + | then throw("Sale Not found!") | |
226 | 229 | else { | |
227 | - | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
228 | - | if ((size(saleInfo) == 0)) | |
229 | - | then throw("Sale Not found!") | |
230 | + | let saleInfoArray = split(saleInfo, "_") | |
231 | + | let $t086628698 = isPayment(i) | |
232 | + | let payment = $t086628698._1 | |
233 | + | let amount = $t086628698._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.") | |
230 | 238 | else { | |
231 | - | let saleInfoArray = split(saleInfo, "_") | |
232 | - | let $t086808716 = isPayment(i) | |
233 | - | let payment = $t086808716._1 | |
234 | - | let amount = $t086808716._2 | |
235 | - | if (if ((saleInfoArray[1] != toString(amount))) | |
236 | - | then true | |
237 | - | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
238 | - | then throw("Payment infos don't match.") | |
239 | - | else { | |
240 | - | let amountForSign = fraction(amount, signCut, 100) | |
241 | - | let amountForCreator = fraction(amount, creatorCut, 100) | |
242 | - | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
239 | + | let amountForSign = fraction(amount, signCut, 100) | |
240 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
241 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
243 | 242 | [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))] | |
244 | - | } | |
245 | 243 | } | |
246 | 244 | } | |
247 | 245 | } | |
248 | 246 | } | |
249 | 247 | ||
250 | 248 | ||
251 | 249 | ||
252 | 250 | @Callable(i) | |
253 | 251 | func setOffer (nftid) = { | |
254 | - | let $ | |
255 | - | let id = $ | |
256 | - | let caller = $ | |
257 | - | let date = $ | |
258 | - | let $ | |
259 | - | let payment = $ | |
260 | - | let amount = $ | |
252 | + | let $t01014510183 = idCallerDate(i) | |
253 | + | let id = $t01014510183._1 | |
254 | + | let caller = $t01014510183._2 | |
255 | + | let date = $t01014510183._3 | |
256 | + | let $t01018810224 = isPayment(i) | |
257 | + | let payment = $t01018810224._1 | |
258 | + | let amount = $t01018810224._2 | |
261 | 259 | let assetId = if (!(isDefined(payment.assetId))) | |
262 | 260 | then "WAVES" | |
263 | 261 | else toBase58String(value(payment.assetId)) | |
264 | 262 | if (!(acceptedAssetIds(assetId))) | |
265 | 263 | then throw("asset not accepted") | |
266 | 264 | else { | |
267 | 265 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
268 | 266 | [StringEntry((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
269 | 267 | } | |
270 | 268 | } | |
271 | 269 | ||
272 | 270 | ||
273 | 271 | ||
274 | 272 | @Callable(i) | |
275 | 273 | func acceptOffer (nftid,offerId,offerOwner) = { | |
276 | - | let $ | |
277 | - | let id = $ | |
278 | - | let caller = $ | |
279 | - | let date = $ | |
274 | + | let $t01093411008 = idCallerDate(i) | |
275 | + | let id = $t01093411008._1 | |
276 | + | let caller = $t01093411008._2 | |
277 | + | let date = $t01093411008._3 | |
280 | 278 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
281 | 279 | if ((caller != saleOwner)) | |
282 | 280 | then throw("You cannot do this action") | |
283 | 281 | else { | |
284 | 282 | let offerExist = getStrByK((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) + "_OPEN")) | |
285 | 283 | if ((offerExist == "")) | |
286 | 284 | then throw("Offer not found or not for sale") | |
287 | 285 | else { | |
288 | - | let $ | |
289 | - | let isValidNFT = $ | |
290 | - | let creatorAddr = $ | |
286 | + | let $t01131311364 = checkNFTInfo(nftid) | |
287 | + | let isValidNFT = $t01131311364._1 | |
288 | + | let creatorAddr = $t01131311364._2 | |
291 | 289 | if (!(isValidNFT)) | |
292 | 290 | then throw("Something went wrong") | |
293 | 291 | else { | |
294 | 292 | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
295 | 293 | if ((size(saleInfo) == 0)) | |
296 | 294 | then throw("Sale Not found!") | |
297 | 295 | else { | |
298 | 296 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
299 | - | let $ | |
300 | - | let bidDataArr = $ | |
301 | - | let assetId = $ | |
302 | - | let bidData = $ | |
297 | + | let $t01175811817 = getBidData(bidDataKey) | |
298 | + | let bidDataArr = $t01175811817._1 | |
299 | + | let assetId = $t01175811817._2 | |
300 | + | let bidData = $t01175811817._3 | |
303 | 301 | let amount = value(parseInt(bidDataArr[1])) | |
304 | 302 | let amountForSign = fraction(amount, signCut, 100) | |
305 | 303 | let amountForCreator = fraction(amount, creatorCut, 100) | |
306 | 304 | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
307 | 305 | [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))] | |
308 | 306 | } | |
309 | 307 | } | |
310 | 308 | } | |
311 | 309 | } | |
312 | 310 | } | |
313 | 311 | ||
314 | 312 | ||
315 | 313 | ||
316 | 314 | @Callable(i) | |
317 | 315 | func cancelOffer (nftid,offerId) = { | |
318 | - | let $ | |
319 | - | let id = $ | |
320 | - | let caller = $ | |
321 | - | let date = $ | |
316 | + | let $t01316913399 = idCallerDate(i) | |
317 | + | let id = $t01316913399._1 | |
318 | + | let caller = $t01316913399._2 | |
319 | + | let date = $t01316913399._3 | |
322 | 320 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
323 | 321 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
324 | - | let $ | |
325 | - | let bidDataArr = $ | |
326 | - | let assetId = $ | |
327 | - | let bidData = $ | |
322 | + | let $t01353513635 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
323 | + | let bidDataArr = $t01353513635._1 | |
324 | + | let assetId = $t01353513635._2 | |
325 | + | let bidData = $t01353513635._3 | |
328 | 326 | let bidStatus = "CANCELLED" | |
329 | 327 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
330 | 328 | } | |
331 | 329 | ||
332 | 330 | ||
333 | 331 | ||
334 | 332 | @Callable(i) | |
335 | 333 | func setRequest (nftid) = { | |
336 | - | let $ | |
337 | - | let id = $ | |
338 | - | let caller = $ | |
339 | - | let date = $ | |
340 | - | let $ | |
341 | - | let payment = $ | |
342 | - | let amount = $ | |
334 | + | let $t01423914277 = idCallerDate(i) | |
335 | + | let id = $t01423914277._1 | |
336 | + | let caller = $t01423914277._2 | |
337 | + | let date = $t01423914277._3 | |
338 | + | let $t01428214318 = isPayment(i) | |
339 | + | let payment = $t01428214318._1 | |
340 | + | let amount = $t01428214318._2 | |
343 | 341 | let assetId = if (!(isDefined(payment.assetId))) | |
344 | 342 | then "WAVES" | |
345 | 343 | else toBase58String(value(payment.assetId)) | |
346 | 344 | if (!(acceptedAssetIds(assetId))) | |
347 | 345 | then throw("asset not accepted") | |
348 | 346 | else { | |
349 | - | let $ | |
350 | - | let isValidNFT = $ | |
351 | - | let creatorAddr = $ | |
347 | + | let $t01453914590 = checkNFTInfo(nftid) | |
348 | + | let isValidNFT = $t01453914590._1 | |
349 | + | let creatorAddr = $t01453914590._2 | |
352 | 350 | if (!(isValidNFT)) | |
353 | 351 | then throw("Something went wrong") | |
354 | 352 | else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
355 | 353 | } | |
356 | 354 | } | |
357 | 355 | ||
358 | 356 | ||
359 | 357 | ||
360 | 358 | @Callable(i) | |
361 | 359 | func deleteEntry (entry) = { | |
362 | 360 | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
363 | 361 | if ((caller == chris)) | |
364 | 362 | then [DeleteEntry(entry)] | |
365 | 363 | else throw("no") | |
366 | 364 | } | |
367 | 365 | ||
368 | 366 |
github/deemru/w8io/169f3d6 71.27 ms ◑