tx · 9YzeBqXEw9wMZ8SzXZxsKSEXkgQwoU4GUZAXkMVLbvT7

3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p:  -0.01700000 Waves

2023.12.02 08:57 [2868628] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves

{ "type": 13, "id": "9YzeBqXEw9wMZ8SzXZxsKSEXkgQwoU4GUZAXkMVLbvT7", "fee": 1700000, "feeAssetId": null, "timestamp": 1701496635068, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "4L8t1a2NtwjBLA3WvyS4aG6d4oXZX6cfXJsaRM2skeTeCPt87BiXPoaP3FUrHHiM3UbthVRbmusaWGL48d46kiwf" ], "script": "base64:BgI5CAISBAoCCAgSBAoCBAgSBAoCAQgSBQoDCAEIEgMKAQgSAwoBCBIDCgEIEgUKAwgICBIGCgQICAgIRQAHVkVSU0lPTgIFMi4wLjABCWdldFN0ckJ5SwEDa2V5CQELdmFsdWVPckVsc2UCCQCdCAIFBHRoaXMFA2tleQIAAAh1bml0VGVzdAcACW9yYWNsZUZlZQkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQIPY29uZl9vcmFjbGVfZmVlAAtmZWVSZWNlaXZlcgkBCWdldFN0ckJ5SwECEWNvbmZfZmVlX3JlY2VpdmVyAAxhcnR3b3Jrc0RhcHAJAQV2YWx1ZQEJAKYIAQkBCWdldFN0ckJ5SwECEmNvbmZfYXJ0d29ya3NfZGFwcAAIdXNlckRhcHADBQh1bml0VGVzdAkBBXZhbHVlAQkApggBAiMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQIPY29uZl91c2Vyc19kYXBwAA9wdXp6bGVfYXJ0X3Bvb2wJAQ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BA0kdDAyMDk1ODIxMDMyCQEMaWRDYWxsZXJEYXRlAQUBaQQCaWQIBQ0kdDAyMDk1ODIxMDMyAl8xBAZjYWxsZXIIBQ0kdDAyMDk1ODIxMDMyAl8yBARkYXRlCAUNJHQwMjA5NTgyMTAzMgJfMwMDCQECIT0CBQZjYWxsZXIFCm9mZmVyT3duZXIJAQIhPQIFBmNhbGxlcgUJc2FsZU93bmVyBwkAAgECHVlvdSBjYW5ub3QgY2FuY2VsIHRoaXMgb2ZmZXIuBAZiaWRLZXkJAQlnZXRCaWRLZXkEBQpvZmZlck93bmVyBQVuZnRJZAUJc2FsZU93bmVyBQdvZmZlcklkBA0kdDAyMTIwNDIxMjU5CQEKZ2V0QmlkRGF0YQEFBmJpZEtleQQKYmlkRGF0YUFycggFDSR0MDIxMjA0MjEyNTkCXzEEB2Fzc2V0SWQIBQ0kdDAyMTIwNDIxMjU5Al8yBAdiaWREYXRhCAUNJHQwMjEyMDQyMTI1OQJfMwkAzAgCCQELRGVsZXRlRW50cnkBCQCsAgIFBmJpZEtleQIFX09QRU4JAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICBQZiaWRLZXkCCl9DQU5DRUxMRUQJAKwCAgkArAICCQCsAgIJAKwCAgUHYmlkRGF0YQILX0NBTkNFTExFRF8JAKQDAQUEZGF0ZQIBXwUCaWQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEFBmNhbGxlcgkBDXBhcnNlSW50VmFsdWUBCQCRAwIFCmJpZERhdGFBcnIAAQUHYXNzZXRJZAUDbmlsAH4Cslc=", "height": 2868628, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9bxRgqbELnnbmS5r9QgNxikCPBdzV8mwJDKqP55sPT83 Next: none Diff:
OldNewDifferences
1010
1111 let oracleFee = value(addressFromString(getStrByK("conf_oracle_fee")))
1212
13-let signDapp = value(addressFromString(getStrByK("conf_signweb_dapp")))
14-
1513 let feeReceiver = getStrByK("conf_fee_receiver")
1614
1715 let artworksDapp = value(addressFromString(getStrByK("conf_artworks_dapp")))
1917 let userDapp = if (unitTest)
2018 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
2119 else value(addressFromString(getStrByK("conf_users_dapp")))
22-
23-let whitelistDapp = value(addressFromString(getStrByK("conf_whitelist_dapp")))
2420
2521 let puzzle_art_pool = getStrByK("conf_puzzle_art_pool")
2622
297293 }
298294
299295
300-func validateMinSell (price) = if ((0 >= price))
296+func validateMinSell (price) = if ((0 > price))
301297 then throw("Wrong minimum sell price")
302298 else true
303299
304300
305301 func provideBaseData (i,nftId) = {
306- let $t01213512175 = idCallerDate(i)
307- let id = $t01213512175._1
308- let caller = $t01213512175._2
309- let date = $t01213512175._3
310- let $t01217812247 = checkNFTInfo(nftId)
311- let isValidNFT = $t01217812247._1
312- let artId = $t01217812247._2
313- let creatorAddr = $t01217812247._3
314- let artSignID = $t01217812247._4
302+ let $t01193311973 = idCallerDate(i)
303+ let id = $t01193311973._1
304+ let caller = $t01193311973._2
305+ let date = $t01193311973._3
306+ let $t01197612045 = checkNFTInfo(nftId)
307+ let isValidNFT = $t01197612045._1
308+ let artId = $t01197612045._2
309+ let creatorAddr = $t01197612045._3
310+ let artSignID = $t01197612045._4
315311 $Tuple7(id, caller, date, isValidNFT, artId, creatorAddr, artSignID)
316312 }
317313
347343
348344 @Callable(i)
349345 func sellNFT (price,asset) = {
350- let $t01331213348 = isPayment(i)
351- let payment = $t01331213348._1
352- let amount = $t01331213348._2
346+ let $t01311013146 = isPayment(i)
347+ let payment = $t01311013146._1
348+ let amount = $t01311013146._2
353349 if ((amount != 1))
354350 then throw("No NFT attached")
355351 else {
358354 else false)
359355 then toBase58String(value(payment.assetId))
360356 else throw("Only SIGN Art NFT accepted.")
361- let $t01358213675 = provideBaseData(i, nftId)
362- let id = $t01358213675._1
363- let caller = $t01358213675._2
364- let date = $t01358213675._3
365- let isValidNFT = $t01358213675._4
366- let artId = $t01358213675._5
367- let creatorAddr = $t01358213675._6
368- let artSignID = $t01358213675._7
357+ let $t01338013473 = provideBaseData(i, nftId)
358+ let id = $t01338013473._1
359+ let caller = $t01338013473._2
360+ let date = $t01338013473._3
361+ let isValidNFT = $t01338013473._4
362+ let artId = $t01338013473._5
363+ let creatorAddr = $t01338013473._6
364+ let artSignID = $t01338013473._7
369365 if ((size(artSignID) == 0))
370366 then throw("Artwork not found on SIGN Art")
371367 else if (!(isValidNFT))
372368 then throw("Not a valid nft")
373369 else if (!(acceptedAssetIds(asset)))
374- then throw("Only SIGN, USDN, USDT or WAVES accepted")
370+ then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted")
375371 else if (!(validateMinSell(price)))
376372 then throw("Wrong minimum sell price")
377373 else [StringEntry((getSaleKey(caller, nftId, artId, creatorAddr) + "_OPEN"), ((((((((((((toString(date) + "_") + toString(price)) + "_") + asset) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + id)), StringEntry(((("sale2nd_status_" + caller) + "_") + nftId), "OPEN"), StringEntry(("current_owner_on_dapp_" + nftId), caller)]
382378
383379 @Callable(i)
384380 func updateSalePrice (nftId,price,asset) = {
385- let $t01455214645 = provideBaseData(i, nftId)
386- let id = $t01455214645._1
387- let caller = $t01455214645._2
388- let date = $t01455214645._3
389- let isValidNFT = $t01455214645._4
390- let artId = $t01455214645._5
391- let creatorAddr = $t01455214645._6
392- let artSignID = $t01455214645._7
381+ let $t01437514468 = provideBaseData(i, nftId)
382+ let id = $t01437514468._1
383+ let caller = $t01437514468._2
384+ let date = $t01437514468._3
385+ let isValidNFT = $t01437514468._4
386+ let artId = $t01437514468._5
387+ let creatorAddr = $t01437514468._6
388+ let artSignID = $t01437514468._7
393389 if ((size(artSignID) == 0))
394390 then throw("Artwork not found on SIGN Art, cancel your sale.")
395391 else if (!(isValidNFT))
403399 if ((saleStatus != "OPEN"))
404400 then throw("Sale not active")
405401 else if (!(acceptedAssetIds(asset)))
406- then throw("Only SIGN, USDN, USDT or WAVES accepted")
402+ then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted")
407403 else if (!(validateMinSell(price)))
408404 then throw("Wrong minimum sell price")
409405 else {
419415
420416 @Callable(i)
421417 func cancelSale (nftId) = {
422- let $t01578616027 = provideBaseData(i, nftId)
423- let id = $t01578616027._1
424- let caller = $t01578616027._2
425- let date = $t01578616027._3
426- let isValidNFT = $t01578616027._4
427- let artId = $t01578616027._5
428- let creatorAddr = $t01578616027._6
429- let artSignID = $t01578616027._7
418+ let $t01563415875 = provideBaseData(i, nftId)
419+ let id = $t01563415875._1
420+ let caller = $t01563415875._2
421+ let date = $t01563415875._3
422+ let isValidNFT = $t01563415875._4
423+ let artId = $t01563415875._5
424+ let creatorAddr = $t01563415875._6
425+ let artSignID = $t01563415875._7
430426 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
431427 if ((saleOwner != caller))
432428 then throw("You don't own this NFT")
446442
447443 @Callable(i)
448444 func buyNFT (nftId) = {
449- let $t01685816951 = provideBaseData(i, nftId)
450- let id = $t01685816951._1
451- let caller = $t01685816951._2
452- let date = $t01685816951._3
453- let isValidNFT = $t01685816951._4
454- let artId = $t01685816951._5
455- let creatorAddr = $t01685816951._6
456- let artSignID = $t01685816951._7
445+ let $t01670616799 = provideBaseData(i, nftId)
446+ let id = $t01670616799._1
447+ let caller = $t01670616799._2
448+ let date = $t01670616799._3
449+ let isValidNFT = $t01670616799._4
450+ let artId = $t01670616799._5
451+ let creatorAddr = $t01670616799._6
452+ let artSignID = $t01670616799._7
457453 if ((size(artSignID) == 0))
458454 then throw("Artwork not found on SIGN Art, cancel your sale.")
459455 else if (!(isValidNFT))
469465 if ((parseInt(saleInfoArray[1]) == 0))
470466 then throw("Offer only")
471467 else {
472- let $t01744817484 = isPayment(i)
473- let payment = $t01744817484._1
474- let amount = $t01744817484._2
468+ let $t01729617332 = isPayment(i)
469+ let payment = $t01729617332._1
470+ let amount = $t01729617332._2
475471 let paymentAssetStr = if (isDefined(payment.assetId))
476472 then toBase58String(value(payment.assetId))
477473 else ""
480476 else (saleInfoArray[2] != paymentAssetStr))
481477 then throw("Payment infos don't match.")
482478 else {
483- let $t01799718136 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller, artId)
484- let commissions = $t01799718136._1
485- let creatorFee = $t01799718136._2
486- let ownerFee = $t01799718136._3
487- let collectorNFT = $t01799718136._4
479+ let $t01784517984 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller, artId)
480+ let commissions = $t01784517984._1
481+ let creatorFee = $t01784517984._2
482+ let ownerFee = $t01784517984._3
483+ let collectorNFT = $t01784517984._4
488484 (([DeleteEntry((saleKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((((saleKey + "_") + id) + "_CLOSED"), ((((((saleInfo + "_CLOSED_") + toString(date)) + "_") + id) + "_") + caller)), updateNumSales(), ownerFee, collectorNFT] ++ creatorFee) ++ commissions)
489485 }
490486 }
496492
497493 @Callable(i)
498494 func setOffer (nftId) = {
499- let $t01854718644 = provideBaseData(i, nftId)
500- let id = $t01854718644._1
501- let offerOwner = $t01854718644._2
502- let date = $t01854718644._3
503- let isValidNFT = $t01854718644._4
504- let artId = $t01854718644._5
505- let creatorAddr = $t01854718644._6
506- let artSignID = $t01854718644._7
495+ let $t01839518492 = provideBaseData(i, nftId)
496+ let id = $t01839518492._1
497+ let offerOwner = $t01839518492._2
498+ let date = $t01839518492._3
499+ let isValidNFT = $t01839518492._4
500+ let artId = $t01839518492._5
501+ let creatorAddr = $t01839518492._6
502+ let artSignID = $t01839518492._7
507503 if (!(isValidNFT))
508504 then throw("Not a valid nft")
509505 else {
510- let $t01870518741 = isPayment(i)
511- let payment = $t01870518741._1
512- let amount = $t01870518741._2
506+ let $t01855318589 = isPayment(i)
507+ let payment = $t01855318589._1
508+ let amount = $t01855318589._2
513509 let assetId = if (!(isDefined(payment.assetId)))
514510 then "WAVES"
515511 else toBase58String(value(payment.assetId))
530526
531527 @Callable(i)
532528 func acceptOffer (nftId,offerId,offerOwner) = {
533- let $t01953419627 = provideBaseData(i, nftId)
534- let id = $t01953419627._1
535- let caller = $t01953419627._2
536- let date = $t01953419627._3
537- let isValidNFT = $t01953419627._4
538- let artId = $t01953419627._5
539- let creatorAddr = $t01953419627._6
540- let artSignID = $t01953419627._7
529+ let $t01938219475 = provideBaseData(i, nftId)
530+ let id = $t01938219475._1
531+ let caller = $t01938219475._2
532+ let date = $t01938219475._3
533+ let isValidNFT = $t01938219475._4
534+ let artId = $t01938219475._5
535+ let creatorAddr = $t01938219475._6
536+ let artSignID = $t01938219475._7
541537 if (!(isValidNFT))
542538 then throw("Not a valid nft")
543539 else {
546542 then throw("Only sale owner can accept offer")
547543 else {
548544 let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
549- let $t01988119936 = getBidData(bidKey)
550- let bidDataArr = $t01988119936._1
551- let assetId = $t01988119936._2
552- let bidData = $t01988119936._3
545+ let $t01972919784 = getBidData(bidKey)
546+ let bidDataArr = $t01972919784._1
547+ let assetId = $t01972919784._2
548+ let bidData = $t01972919784._3
553549 let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
554550 let saleInfo = getStrByK((saleKey + "_OPEN"))
555551 if ((size(saleInfo) == 0))
556552 then throw("Sale Not found!")
557553 else {
558554 let amount = value(parseInt(bidDataArr[1]))
559- let $t02017220310 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6], artId)
560- let commissions = $t02017220310._1
561- let creatorFee = $t02017220310._2
562- let ownerFee = $t02017220310._3
563- let collectorNFT = $t02017220310._4
555+ let $t02002020158 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6], artId)
556+ let commissions = $t02002020158._1
557+ let creatorFee = $t02002020158._2
558+ let ownerFee = $t02002020158._3
559+ let collectorNFT = $t02002020158._4
564560 let assetIdStr = if (isDefined(assetId))
565561 then toBase58String(value(assetId))
566562 else "WAVES"
574570
575571 @Callable(i)
576572 func cancelOffer (nftId,offerId,offerOwner,saleOwner) = {
577- let $t02111021184 = idCallerDate(i)
578- let id = $t02111021184._1
579- let caller = $t02111021184._2
580- let date = $t02111021184._3
573+ let $t02095821032 = idCallerDate(i)
574+ let id = $t02095821032._1
575+ let caller = $t02095821032._2
576+ let date = $t02095821032._3
581577 if (if ((caller != offerOwner))
582578 then (caller != saleOwner)
583579 else false)
584580 then throw("You cannot cancel this offer.")
585581 else {
586582 let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
587- let $t02135621411 = getBidData(bidKey)
588- let bidDataArr = $t02135621411._1
589- let assetId = $t02135621411._2
590- let bidData = $t02135621411._3
583+ let $t02120421259 = getBidData(bidKey)
584+ let bidDataArr = $t02120421259._1
585+ let assetId = $t02120421259._2
586+ let bidData = $t02120421259._3
591587 [DeleteEntry((bidKey + "_OPEN")), StringEntry((bidKey + "_CANCELLED"), ((((bidData + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
592588 }
593589 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let VERSION = "2.0.0"
55
66 func getStrByK (key) = valueOrElse(getString(this, key), "")
77
88
99 let unitTest = false
1010
1111 let oracleFee = value(addressFromString(getStrByK("conf_oracle_fee")))
1212
13-let signDapp = value(addressFromString(getStrByK("conf_signweb_dapp")))
14-
1513 let feeReceiver = getStrByK("conf_fee_receiver")
1614
1715 let artworksDapp = value(addressFromString(getStrByK("conf_artworks_dapp")))
1816
1917 let userDapp = if (unitTest)
2018 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
2119 else value(addressFromString(getStrByK("conf_users_dapp")))
22-
23-let whitelistDapp = value(addressFromString(getStrByK("conf_whitelist_dapp")))
2420
2521 let puzzle_art_pool = getStrByK("conf_puzzle_art_pool")
2622
2723 let usdtPPAssetId_str = getStrByK("conf_accepted_asset_USDT_PP")
2824
2925 let artAssetId_str = getStrByK("conf_accepted_asset_ART")
3026
3127 let usdcPPAssetId_str = getStrByK("conf_accepted_asset_USDC_PP")
3228
3329 let eastAssetId_str = getStrByK("conf_accepted_asset_EAST")
3430
3531 let puzzleAssetId_str = getStrByK("conf_accepted_asset_PUZZLE")
3632
3733 let ethPPAssetId_str = getStrByK("conf_accepted_asset_ETH_PP")
3834
3935 let wavesAssetId_str = "WAVES"
4036
4137 let usdtPPAssetId = fromBase58String(usdtPPAssetId_str)
4238
4339 let artAssetId = fromBase58String(artAssetId_str)
4440
4541 let usdcPPAssetId = fromBase58String(usdcPPAssetId_str)
4642
4743 let eastAssetId = fromBase58String(eastAssetId_str)
4844
4945 let puzzleAssetId = fromBase58String(puzzleAssetId_str)
5046
5147 let ethPPAssetId = fromBase58String(ethPPAssetId_str)
5248
5349 let wavesAssetId = base58''
5450
5551 let all_accepted_assets = [usdtPPAssetId_str, artAssetId_str, usdcPPAssetId_str, eastAssetId_str, puzzleAssetId_str, wavesAssetId_str, ethPPAssetId_str]
5652
5753 let chris = getStrByK("conf_admin_1")
5854
5955 let commission_fee = 3
6056
6157 let userSuspended = "SUSPENDED"
6258
6359 let userRemoved = "REMOVED"
6460
6561 let artIllegal = "ILLEGAL"
6662
6763 let artSuspended = "SUSPENDED"
6864
6965 let dappRunningKey = "conf_dapp_is_running"
7066
7167 let maintenanceMSGKey = "conf_maintenance_msg"
7268
7369 let dappRunning = valueOrElse(getBoolean(this, dappRunningKey), true)
7470
7571 let maintenanceMSG = valueOrElse(getString(this, maintenanceMSGKey), "")
7672
7773 let numSalesK = "num_sales"
7874
7975 func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error")
8076
8177
8278 func getArtworkRoyalties (key) = valueOrElse(getInteger(artworksDapp, key), 1000)
8379
8480
8581 func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "")
8682
8783
8884 func getIntByK (key) = valueOrElse(getInteger(this, key), 0)
8985
9086
9187 func keyUserStatus (addr) = ("user_status_" + addr)
9288
9389
9490 func keyArtworkRoyalties (caller,artId) = ((("art_royalties_" + artId) + "_") + caller)
9591
9692
9793 func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr)
9894
9995
10096 func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr)
10197
10298
10399 func keyNFTData (id) = ("nft_" + id)
104100
105101
106102 func getSaleKey (caller,nftId,artId,creatorAddr) = ((((((("sale2nd_info_" + caller) + "_") + nftId) + "_") + artId) + "_") + creatorAddr)
107103
108104
109105 func getBidKey (offerOwner,nftId,saleOwner,offerId) = ((((((("offer2nd_" + offerOwner) + "_") + nftId) + "_") + saleOwner) + "_") + offerId)
110106
111107
112108 func getIntByKFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
113109
114110
115111 let currentCertificationPrice = getIntByKFromOracle(("certification_fee_" + toBase58String(artAssetId)))
116112
117113 func keyArtistAgentAddr (artistAddr) = ("artist_agent_" + artistAddr)
118114
119115
120116 func keySecondaryShareAgent (artistAddr) = ("artist_agent_secondary_" + artistAddr)
121117
122118
123119 func keyArtistPublicAgentAddr (artistAddr) = ("artist_public_agent_" + artistAddr)
124120
125121
126122 func keySecondarySharePublicAgent (artistAddr) = ("artist_public_agent_secondary_" + artistAddr)
127123
128124
129125 func idCallerDate (i) = if (!(dappRunning))
130126 then throw(maintenanceMSG)
131127 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
132128
133129
134130 func isPayment (i) = if ((size(i.payments) == 0))
135131 then throw("No payment attached")
136132 else {
137133 let payment = value(i.payments[0])
138134 let amount = value(payment.amount)
139135 $Tuple2(payment, amount)
140136 }
141137
142138
143139 func assetIsValid (assetDetails) = if (if (if ((assetDetails.quantity == 1))
144140 then (assetDetails.decimals == 0)
145141 else false)
146142 then (assetDetails.reissuable == false)
147143 else false)
148144 then (assetDetails.issuer == artworksDapp)
149145 else false
150146
151147
152148 func isSignArtNFT (id) = {
153149 let assetDetails = value(assetInfo(id))
154150 assetIsValid(assetDetails)
155151 }
156152
157153
158154 func acceptedAssetIds (assetId) = if (!(containsElement(all_accepted_assets, assetId)))
159155 then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted")
160156 else true
161157
162158
163159 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
164160 then unit
165161 else fromBase58String(assetId)
166162
167163
168164 func getSaleOwnerAndStatus (nftid) = {
169165 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
170166 if ((size(saleOwner) == 0))
171167 then throw("NFT not found")
172168 else {
173169 let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid))
174170 if ((saleStatus != "OPEN"))
175171 then throw("NFT not for sale")
176172 else saleOwner
177173 }
178174 }
179175
180176
181177 func getBidData (key) = {
182178 let bidData = getStrByK((key + "_OPEN"))
183179 if ((bidData == ""))
184180 then throw("Offer not found")
185181 else {
186182 let bidDataArr = split(bidData, "_")
187183 let assetId = getBidAssetId(bidDataArr[2])
188184 $Tuple3(bidDataArr, assetId, bidData)
189185 }
190186 }
191187
192188
193189 func getBalance (assetId) = match assetId {
194190 case b: ByteVector =>
195191 assetBalance(this, b)
196192 case _ =>
197193 wavesBalance(this).available
198194 }
199195
200196
201197 func artIsValid (artStatus) = if ((artStatus != artIllegal))
202198 then (artStatus != artSuspended)
203199 else false
204200
205201
206202 func checkArtStatus (addr,id) = {
207203 let artStatus = getArtStrByK(keyFlag(addr, id))
208204 if (artIsValid(artStatus))
209205 then true
210206 else throw(("Original Artwork flagged as " + artStatus))
211207 }
212208
213209
214210 func checkArtistStatus (addr) = {
215211 let artistStatus = getUserStrByK(keyUserStatus(addr))
216212 if (containsElement([userSuspended, userRemoved], artistStatus))
217213 then throw(("Original Artist " + artistStatus))
218214 else true
219215 }
220216
221217
222218 func checkNFTInfo (assetId) = {
223219 let nftData = split(getArtStrByK(keyNFTData(assetId)), "_")
224220 let artSignID = getArtStrByK(((("art_name_" + nftData[5]) + "_") + nftData[6]))
225221 if (if (!(checkArtStatus(nftData[6], nftData[5])))
226222 then !(checkArtistStatus(nftData[6]))
227223 else false)
228224 then $Tuple4(false, nftData[5], nftData[6], artSignID)
229225 else $Tuple4(true, nftData[5], nftData[6], artSignID)
230226 }
231227
232228
233229 func checkARTExist (artId,creatorAddr) = {
234230 let artSignID = getArtStrByK(keySignID(creatorAddr, artId))
235231 if ((size(artSignID) == 0))
236232 then throw("Artwork not found on SIGN Art")
237233 else if (if (!(checkArtStatus(creatorAddr, artId)))
238234 then !(checkArtistStatus(creatorAddr))
239235 else false)
240236 then false
241237 else true
242238 }
243239
244240
245241 func setTransfers (amount,assetId,nftid,creatorAddr,saleOwner,caller,artId) = {
246242 let creatorCut = getArtworkRoyalties(keyArtworkRoyalties(creatorAddr, artId))
247243 let agent = valueOrElse(getString(userDapp, keyArtistAgentAddr(creatorAddr)), feeReceiver)
248244 let agentShare = valueOrElse(getInteger(userDapp, keySecondaryShareAgent(creatorAddr)), 0)
249245 let publicAgent = valueOrElse(getString(userDapp, keyArtistPublicAgentAddr(creatorAddr)), feeReceiver)
250246 let publicAgentShare = valueOrElse(getInteger(userDapp, keySecondarySharePublicAgent(creatorAddr)), 0)
251247 let amountForSign = fraction(amount, commission_fee, 100)
252248 let amountForCreator = fraction(amount, creatorCut, 10000)
253249 let amountForOwner = (amount - (amountForSign + amountForCreator))
254250 let amountForAgent = if (if ((agent != feeReceiver))
255251 then (agentShare > 0)
256252 else false)
257253 then fraction(amount, agentShare, 10000)
258254 else 0
259255 let amountForPublicAgent = if (if ((publicAgent != feeReceiver))
260256 then (publicAgentShare > 0)
261257 else false)
262258 then fraction(amount, publicAgentShare, 10000)
263259 else 0
264260 let amount_commission_for_sign_to_swap = if ((amountForAgent != 0))
265261 then (amountForSign - amountForAgent)
266262 else amountForSign
267263 let amount_art_before = getBalance(artAssetId)
268264 if ((amount_art_before == amount_art_before))
269265 then {
270266 let swap_fee_to_art = if ((assetId != artAssetId))
271267 then invoke(Address(fromBase58String(puzzle_art_pool)), "swap", [artAssetId_str, 1], [AttachedPayment(assetId, amount_commission_for_sign_to_swap)])
272268 else unit
273269 if ((swap_fee_to_art == swap_fee_to_art))
274270 then {
275271 let amount_art_after = getBalance(artAssetId)
276272 if ((amount_art_after == amount_art_after))
277273 then {
278274 let commissions = if ((amountForAgent != 0))
279275 then [ScriptTransfer(Address(fromBase58String(feeReceiver)), if ((assetId == artAssetId))
280276 then (amountForSign - amountForAgent)
281277 else (amount_art_after - amount_art_before), artAssetId), ScriptTransfer(Address(fromBase58String(agent)), amountForAgent, assetId)]
282278 else [ScriptTransfer(Address(fromBase58String(feeReceiver)), if ((assetId == artAssetId))
283279 then amountForSign
284280 else (amount_art_after - amount_art_before), artAssetId)]
285281 let creatorFee = if ((amountForPublicAgent != 0))
286282 then [ScriptTransfer(Address(fromBase58String(publicAgent)), amountForPublicAgent, assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), (amountForCreator - amountForPublicAgent), assetId)]
287283 else [ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId)]
288284 let ownerFee = ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId)
289285 let collectorNFT = ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))
290286 $Tuple4(commissions, creatorFee, ownerFee, collectorNFT)
291287 }
292288 else throw("Strict value is not equal to itself.")
293289 }
294290 else throw("Strict value is not equal to itself.")
295291 }
296292 else throw("Strict value is not equal to itself.")
297293 }
298294
299295
300-func validateMinSell (price) = if ((0 >= price))
296+func validateMinSell (price) = if ((0 > price))
301297 then throw("Wrong minimum sell price")
302298 else true
303299
304300
305301 func provideBaseData (i,nftId) = {
306- let $t01213512175 = idCallerDate(i)
307- let id = $t01213512175._1
308- let caller = $t01213512175._2
309- let date = $t01213512175._3
310- let $t01217812247 = checkNFTInfo(nftId)
311- let isValidNFT = $t01217812247._1
312- let artId = $t01217812247._2
313- let creatorAddr = $t01217812247._3
314- let artSignID = $t01217812247._4
302+ let $t01193311973 = idCallerDate(i)
303+ let id = $t01193311973._1
304+ let caller = $t01193311973._2
305+ let date = $t01193311973._3
306+ let $t01197612045 = checkNFTInfo(nftId)
307+ let isValidNFT = $t01197612045._1
308+ let artId = $t01197612045._2
309+ let creatorAddr = $t01197612045._3
310+ let artSignID = $t01197612045._4
315311 $Tuple7(id, caller, date, isValidNFT, artId, creatorAddr, artSignID)
316312 }
317313
318314
319315 func updateNumSales () = {
320316 let numSales = getIntByK(numSalesK)
321317 IntegerEntry(numSalesK, (numSales + 1))
322318 }
323319
324320
325321 @Callable(invoke)
326322 func setConf (key,val) = {
327323 let caller = toString(invoke.caller)
328324 if (containsElement([chris, toString(this)], caller))
329325 then if (contains(key, "conf_"))
330326 then [StringEntry(key, val)]
331327 else throw("Entries starting with conf_ only")
332328 else throw("You are not allowed to change this")
333329 }
334330
335331
336332
337333 @Callable(invoke)
338334 func appRunning (isLive,message) = {
339335 let caller = toString(invoke.caller)
340336 let id = toBase58String(invoke.transactionId)
341337 if (containsElement([chris, toString(this)], caller))
342338 then [BooleanEntry(dappRunningKey, isLive), StringEntry(maintenanceMSGKey, message)]
343339 else throw("You are not allowed to change this")
344340 }
345341
346342
347343
348344 @Callable(i)
349345 func sellNFT (price,asset) = {
350- let $t01331213348 = isPayment(i)
351- let payment = $t01331213348._1
352- let amount = $t01331213348._2
346+ let $t01311013146 = isPayment(i)
347+ let payment = $t01311013146._1
348+ let amount = $t01311013146._2
353349 if ((amount != 1))
354350 then throw("No NFT attached")
355351 else {
356352 let nftId = if (if (isDefined(payment.assetId))
357353 then isSignArtNFT(value(payment.assetId))
358354 else false)
359355 then toBase58String(value(payment.assetId))
360356 else throw("Only SIGN Art NFT accepted.")
361- let $t01358213675 = provideBaseData(i, nftId)
362- let id = $t01358213675._1
363- let caller = $t01358213675._2
364- let date = $t01358213675._3
365- let isValidNFT = $t01358213675._4
366- let artId = $t01358213675._5
367- let creatorAddr = $t01358213675._6
368- let artSignID = $t01358213675._7
357+ let $t01338013473 = provideBaseData(i, nftId)
358+ let id = $t01338013473._1
359+ let caller = $t01338013473._2
360+ let date = $t01338013473._3
361+ let isValidNFT = $t01338013473._4
362+ let artId = $t01338013473._5
363+ let creatorAddr = $t01338013473._6
364+ let artSignID = $t01338013473._7
369365 if ((size(artSignID) == 0))
370366 then throw("Artwork not found on SIGN Art")
371367 else if (!(isValidNFT))
372368 then throw("Not a valid nft")
373369 else if (!(acceptedAssetIds(asset)))
374- then throw("Only SIGN, USDN, USDT or WAVES accepted")
370+ then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted")
375371 else if (!(validateMinSell(price)))
376372 then throw("Wrong minimum sell price")
377373 else [StringEntry((getSaleKey(caller, nftId, artId, creatorAddr) + "_OPEN"), ((((((((((((toString(date) + "_") + toString(price)) + "_") + asset) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + id)), StringEntry(((("sale2nd_status_" + caller) + "_") + nftId), "OPEN"), StringEntry(("current_owner_on_dapp_" + nftId), caller)]
378374 }
379375 }
380376
381377
382378
383379 @Callable(i)
384380 func updateSalePrice (nftId,price,asset) = {
385- let $t01455214645 = provideBaseData(i, nftId)
386- let id = $t01455214645._1
387- let caller = $t01455214645._2
388- let date = $t01455214645._3
389- let isValidNFT = $t01455214645._4
390- let artId = $t01455214645._5
391- let creatorAddr = $t01455214645._6
392- let artSignID = $t01455214645._7
381+ let $t01437514468 = provideBaseData(i, nftId)
382+ let id = $t01437514468._1
383+ let caller = $t01437514468._2
384+ let date = $t01437514468._3
385+ let isValidNFT = $t01437514468._4
386+ let artId = $t01437514468._5
387+ let creatorAddr = $t01437514468._6
388+ let artSignID = $t01437514468._7
393389 if ((size(artSignID) == 0))
394390 then throw("Artwork not found on SIGN Art, cancel your sale.")
395391 else if (!(isValidNFT))
396392 then throw("Not a valid nft")
397393 else {
398394 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
399395 if ((saleOwner != caller))
400396 then throw("You don't own this NFT")
401397 else {
402398 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId))
403399 if ((saleStatus != "OPEN"))
404400 then throw("Sale not active")
405401 else if (!(acceptedAssetIds(asset)))
406- then throw("Only SIGN, USDN, USDT or WAVES accepted")
402+ then throw("Only $ART, USDT-PP, USDC-PP, EAST, PUZZLE, ETH or WAVES accepted")
407403 else if (!(validateMinSell(price)))
408404 then throw("Wrong minimum sell price")
409405 else {
410406 let saleKey = getSaleKey(caller, nftId, artId, creatorAddr)
411407 let saleInfo = split(getStrByK((saleKey + "_OPEN")), "_")
412408 [StringEntry((saleKey + "_OPEN"), ((((((((((((saleInfo[0] + "_") + toString(price)) + "_") + asset) + "_") + saleInfo[3]) + "_") + saleInfo[4]) + "_") + saleInfo[5]) + "_") + saleInfo[6]))]
413409 }
414410 }
415411 }
416412 }
417413
418414
419415
420416 @Callable(i)
421417 func cancelSale (nftId) = {
422- let $t01578616027 = provideBaseData(i, nftId)
423- let id = $t01578616027._1
424- let caller = $t01578616027._2
425- let date = $t01578616027._3
426- let isValidNFT = $t01578616027._4
427- let artId = $t01578616027._5
428- let creatorAddr = $t01578616027._6
429- let artSignID = $t01578616027._7
418+ let $t01563415875 = provideBaseData(i, nftId)
419+ let id = $t01563415875._1
420+ let caller = $t01563415875._2
421+ let date = $t01563415875._3
422+ let isValidNFT = $t01563415875._4
423+ let artId = $t01563415875._5
424+ let creatorAddr = $t01563415875._6
425+ let artSignID = $t01563415875._7
430426 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
431427 if ((saleOwner != caller))
432428 then throw("You don't own this NFT")
433429 else {
434430 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId))
435431 if ((saleStatus != "OPEN"))
436432 then throw("Sale not active")
437433 else {
438434 let saleKey = getSaleKey(caller, nftId, artId, creatorAddr)
439435 let saleInfo = getStrByK((saleKey + "_OPEN"))
440436 [DeleteEntry((saleKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((((saleKey + "_") + id) + "_CANCELLED"), ((((saleInfo + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftId))]
441437 }
442438 }
443439 }
444440
445441
446442
447443 @Callable(i)
448444 func buyNFT (nftId) = {
449- let $t01685816951 = provideBaseData(i, nftId)
450- let id = $t01685816951._1
451- let caller = $t01685816951._2
452- let date = $t01685816951._3
453- let isValidNFT = $t01685816951._4
454- let artId = $t01685816951._5
455- let creatorAddr = $t01685816951._6
456- let artSignID = $t01685816951._7
445+ let $t01670616799 = provideBaseData(i, nftId)
446+ let id = $t01670616799._1
447+ let caller = $t01670616799._2
448+ let date = $t01670616799._3
449+ let isValidNFT = $t01670616799._4
450+ let artId = $t01670616799._5
451+ let creatorAddr = $t01670616799._6
452+ let artSignID = $t01670616799._7
457453 if ((size(artSignID) == 0))
458454 then throw("Artwork not found on SIGN Art, cancel your sale.")
459455 else if (!(isValidNFT))
460456 then throw("Not a valid nft")
461457 else {
462458 let saleOwner = getSaleOwnerAndStatus(nftId)
463459 let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
464460 let saleInfo = getStrByK((saleKey + "_OPEN"))
465461 if ((size(saleInfo) == 0))
466462 then throw("Sale Not found!")
467463 else {
468464 let saleInfoArray = split(saleInfo, "_")
469465 if ((parseInt(saleInfoArray[1]) == 0))
470466 then throw("Offer only")
471467 else {
472- let $t01744817484 = isPayment(i)
473- let payment = $t01744817484._1
474- let amount = $t01744817484._2
468+ let $t01729617332 = isPayment(i)
469+ let payment = $t01729617332._1
470+ let amount = $t01729617332._2
475471 let paymentAssetStr = if (isDefined(payment.assetId))
476472 then toBase58String(value(payment.assetId))
477473 else ""
478474 if (if ((saleInfoArray[1] != toString(amount)))
479475 then true
480476 else (saleInfoArray[2] != paymentAssetStr))
481477 then throw("Payment infos don't match.")
482478 else {
483- let $t01799718136 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller, artId)
484- let commissions = $t01799718136._1
485- let creatorFee = $t01799718136._2
486- let ownerFee = $t01799718136._3
487- let collectorNFT = $t01799718136._4
479+ let $t01784517984 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller, artId)
480+ let commissions = $t01784517984._1
481+ let creatorFee = $t01784517984._2
482+ let ownerFee = $t01784517984._3
483+ let collectorNFT = $t01784517984._4
488484 (([DeleteEntry((saleKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((((saleKey + "_") + id) + "_CLOSED"), ((((((saleInfo + "_CLOSED_") + toString(date)) + "_") + id) + "_") + caller)), updateNumSales(), ownerFee, collectorNFT] ++ creatorFee) ++ commissions)
489485 }
490486 }
491487 }
492488 }
493489 }
494490
495491
496492
497493 @Callable(i)
498494 func setOffer (nftId) = {
499- let $t01854718644 = provideBaseData(i, nftId)
500- let id = $t01854718644._1
501- let offerOwner = $t01854718644._2
502- let date = $t01854718644._3
503- let isValidNFT = $t01854718644._4
504- let artId = $t01854718644._5
505- let creatorAddr = $t01854718644._6
506- let artSignID = $t01854718644._7
495+ let $t01839518492 = provideBaseData(i, nftId)
496+ let id = $t01839518492._1
497+ let offerOwner = $t01839518492._2
498+ let date = $t01839518492._3
499+ let isValidNFT = $t01839518492._4
500+ let artId = $t01839518492._5
501+ let creatorAddr = $t01839518492._6
502+ let artSignID = $t01839518492._7
507503 if (!(isValidNFT))
508504 then throw("Not a valid nft")
509505 else {
510- let $t01870518741 = isPayment(i)
511- let payment = $t01870518741._1
512- let amount = $t01870518741._2
506+ let $t01855318589 = isPayment(i)
507+ let payment = $t01855318589._1
508+ let amount = $t01855318589._2
513509 let assetId = if (!(isDefined(payment.assetId)))
514510 then "WAVES"
515511 else toBase58String(value(payment.assetId))
516512 if (!(acceptedAssetIds(assetId)))
517513 then throw("asset not accepted")
518514 else if ((amount == 0))
519515 then throw("Offer of 0 not allowed")
520516 else if (!(validateMinSell(amount)))
521517 then throw("Wrong minimum sell price")
522518 else {
523519 let saleOwner = getSaleOwnerAndStatus(nftId)
524520 [StringEntry((getBidKey(offerOwner, nftId, saleOwner, id) + "_OPEN"), ((((((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + offerOwner) + "_") + id))]
525521 }
526522 }
527523 }
528524
529525
530526
531527 @Callable(i)
532528 func acceptOffer (nftId,offerId,offerOwner) = {
533- let $t01953419627 = provideBaseData(i, nftId)
534- let id = $t01953419627._1
535- let caller = $t01953419627._2
536- let date = $t01953419627._3
537- let isValidNFT = $t01953419627._4
538- let artId = $t01953419627._5
539- let creatorAddr = $t01953419627._6
540- let artSignID = $t01953419627._7
529+ let $t01938219475 = provideBaseData(i, nftId)
530+ let id = $t01938219475._1
531+ let caller = $t01938219475._2
532+ let date = $t01938219475._3
533+ let isValidNFT = $t01938219475._4
534+ let artId = $t01938219475._5
535+ let creatorAddr = $t01938219475._6
536+ let artSignID = $t01938219475._7
541537 if (!(isValidNFT))
542538 then throw("Not a valid nft")
543539 else {
544540 let saleOwner = getSaleOwnerAndStatus(nftId)
545541 if ((caller != saleOwner))
546542 then throw("Only sale owner can accept offer")
547543 else {
548544 let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
549- let $t01988119936 = getBidData(bidKey)
550- let bidDataArr = $t01988119936._1
551- let assetId = $t01988119936._2
552- let bidData = $t01988119936._3
545+ let $t01972919784 = getBidData(bidKey)
546+ let bidDataArr = $t01972919784._1
547+ let assetId = $t01972919784._2
548+ let bidData = $t01972919784._3
553549 let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
554550 let saleInfo = getStrByK((saleKey + "_OPEN"))
555551 if ((size(saleInfo) == 0))
556552 then throw("Sale Not found!")
557553 else {
558554 let amount = value(parseInt(bidDataArr[1]))
559- let $t02017220310 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6], artId)
560- let commissions = $t02017220310._1
561- let creatorFee = $t02017220310._2
562- let ownerFee = $t02017220310._3
563- let collectorNFT = $t02017220310._4
555+ let $t02002020158 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6], artId)
556+ let commissions = $t02002020158._1
557+ let creatorFee = $t02002020158._2
558+ let ownerFee = $t02002020158._3
559+ let collectorNFT = $t02002020158._4
564560 let assetIdStr = if (isDefined(assetId))
565561 then toBase58String(value(assetId))
566562 else "WAVES"
567563 (([DeleteEntry((saleKey + "_OPEN")), DeleteEntry((bidKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((bidKey + "_CLOSED"), ((((bidData + "_CLOSED_") + toString(date)) + "_") + id)), StringEntry((((saleKey + "_") + id) + "_CLOSED"), ((((((((((saleInfo + "_CLOSED-OFFER_") + toString(date)) + "_") + id) + "_") + offerOwner) + "_") + toString(amount)) + "_") + assetIdStr)), updateNumSales(), ownerFee, collectorNFT] ++ creatorFee) ++ commissions)
568564 }
569565 }
570566 }
571567 }
572568
573569
574570
575571 @Callable(i)
576572 func cancelOffer (nftId,offerId,offerOwner,saleOwner) = {
577- let $t02111021184 = idCallerDate(i)
578- let id = $t02111021184._1
579- let caller = $t02111021184._2
580- let date = $t02111021184._3
573+ let $t02095821032 = idCallerDate(i)
574+ let id = $t02095821032._1
575+ let caller = $t02095821032._2
576+ let date = $t02095821032._3
581577 if (if ((caller != offerOwner))
582578 then (caller != saleOwner)
583579 else false)
584580 then throw("You cannot cancel this offer.")
585581 else {
586582 let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
587- let $t02135621411 = getBidData(bidKey)
588- let bidDataArr = $t02135621411._1
589- let assetId = $t02135621411._2
590- let bidData = $t02135621411._3
583+ let $t02120421259 = getBidData(bidKey)
584+ let bidDataArr = $t02120421259._1
585+ let assetId = $t02120421259._2
586+ let bidData = $t02120421259._3
591587 [DeleteEntry((bidKey + "_OPEN")), StringEntry((bidKey + "_CANCELLED"), ((((bidData + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
592588 }
593589 }
594590
595591

github/deemru/w8io/026f985 
91.11 ms