tx · BYfHbe3ZnUDTCmJvdv1kjEf2dB7skXZi4q3KRrm9kBMV

3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p:  -0.01400000 Waves

2022.01.27 12:56 [1897210] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves

{ "type": 13, "id": "BYfHbe3ZnUDTCmJvdv1kjEf2dB7skXZi4q3KRrm9kBMV", "fee": 1400000, "feeAssetId": null, "timestamp": 1643277409562, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "ST4UmoDjFjwWJQWJhWMYDWEzLQ3RxSTR3Q8qsApZpe3k5odqqCLEHdKpXFB4uVPRpbWvFXwHQkA8f2mvi3Ae2A2" ], "script": "base64:AAIFAAAAAAAAADIIAhIECgIECBIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgUKAwgICAAAADMAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAAMYXJ0d29ya3NEYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQnluZmJYQzJLYXN0VXhodWtjTVVhRTU4SzljQmRCOVVZAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY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B29mZmVySWQEAAAADSR0MDE3MTI4MTcxODMJAQAAAApnZXRCaWREYXRhAAAAAQUAAAAGYmlkS2V5BAAAAApiaWREYXRhQXJyCAUAAAANJHQwMTcxMjgxNzE4MwAAAAJfMQQAAAAHYXNzZXRJZAgFAAAADSR0MDE3MTI4MTcxODMAAAACXzIEAAAAB2JpZERhdGEIBQAAAA0kdDAxNzEyODE3MTgzAAAAAl8zCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAGYmlkS2V5AgAAAAVfT1BFTgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAABmJpZEtleQIAAAAKX0NBTkNFTExFRAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAdiaWREYXRhAgAAAAtfQ0FOQ0VMTEVEXwkAAaQAAAABBQAAAARkYXRlAgAAAAFfBQAAAAJpZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGY2FsbGVyCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAKYmlkRGF0YUFycgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAKqSNa4=", "height": 1897210, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DCujGG8XkELWk45tzZvPEXb6WPJzW7wSvdoRVRfQGN5V Next: CRvKzGEymcewArLXX3WBr8mbTUkgsL4zqwKiTefCUZ7m Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
7272
7373
7474 func getSaleKey (caller,nftId,artId,creatorAddr) = ((((((("sale2nd_info_" + caller) + "_") + nftId) + "_") + artId) + "_") + creatorAddr)
75+
76+
77+func getBidKey (offerOwner,nftId,saleOwner,offerId) = ((((((("offer2nd_" + offerOwner) + "_") + nftId) + "_") + saleOwner) + "_") + offerId)
7578
7679
7780 func getIntByKFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
238241
239242
240243 func provideBaseData (i,nftId) = {
241- let $t083128351 = idCallerDate(i)
242- let id = $t083128351._1
243- let caller = $t083128351._2
244- let date = $t083128351._3
245- let $t083548423 = checkNFTInfo(nftId)
246- let isValidNFT = $t083548423._1
247- let artId = $t083548423._2
248- let creatorAddr = $t083548423._3
249- let artSignID = $t083548423._4
244+ let $t085728611 = idCallerDate(i)
245+ let id = $t085728611._1
246+ let caller = $t085728611._2
247+ let date = $t085728611._3
248+ let $t086148683 = checkNFTInfo(nftId)
249+ let isValidNFT = $t086148683._1
250+ let artId = $t086148683._2
251+ let creatorAddr = $t086148683._3
252+ let artSignID = $t086148683._4
250253 $Tuple7(id, caller, date, isValidNFT, artId, creatorAddr, artSignID)
251254 }
252255
270273
271274 @Callable(i)
272275 func sellNFT (price,asset) = {
273- let $t091379173 = isPayment(i)
274- let payment = $t091379173._1
275- let amount = $t091379173._2
276+ let $t093969432 = isPayment(i)
277+ let payment = $t093969432._1
278+ let amount = $t093969432._2
276279 let nftId = if (if (isDefined(payment.assetId))
277280 then isSignArtNFT(value(payment.assetId))
278281 else false)
279282 then toBase58String(value(payment.assetId))
280283 else throw("Only SIGN Art NFT accepted.")
281- let $t093529444 = provideBaseData(i, nftId)
282- let id = $t093529444._1
283- let caller = $t093529444._2
284- let date = $t093529444._3
285- let isValidNFT = $t093529444._4
286- let artId = $t093529444._5
287- let creatorAddr = $t093529444._6
288- let artSignID = $t093529444._7
284+ let $t096119703 = provideBaseData(i, nftId)
285+ let id = $t096119703._1
286+ let caller = $t096119703._2
287+ let date = $t096119703._3
288+ let isValidNFT = $t096119703._4
289+ let artId = $t096119703._5
290+ let creatorAddr = $t096119703._6
291+ let artSignID = $t096119703._7
289292 if ((size(artSignID) == 0))
290293 then throw("Artwork not found on SIGN Art")
291294 else if (!(isValidNFT))
303306
304307 @Callable(i)
305308 func updateSalePrice (nftId,price,asset) = {
306- let $t01031710409 = provideBaseData(i, nftId)
307- let id = $t01031710409._1
308- let caller = $t01031710409._2
309- let date = $t01031710409._3
310- let isValidNFT = $t01031710409._4
311- let artId = $t01031710409._5
312- let creatorAddr = $t01031710409._6
313- let artSignID = $t01031710409._7
309+ let $t01057610668 = provideBaseData(i, nftId)
310+ let id = $t01057610668._1
311+ let caller = $t01057610668._2
312+ let date = $t01057610668._3
313+ let isValidNFT = $t01057610668._4
314+ let artId = $t01057610668._5
315+ let creatorAddr = $t01057610668._6
316+ let artSignID = $t01057610668._7
314317 if ((size(artSignID) == 0))
315318 then throw("Artwork not found on SIGN Art, cancel your sale.")
316319 else if (!(isValidNFT))
342345
343346 @Callable(i)
344347 func cancelSale (nftId) = {
345- let $t01154911789 = provideBaseData(i, nftId)
346- let id = $t01154911789._1
347- let caller = $t01154911789._2
348- let date = $t01154911789._3
349- let isValidNFT = $t01154911789._4
350- let artId = $t01154911789._5
351- let creatorAddr = $t01154911789._6
352- let artSignID = $t01154911789._7
348+ let $t01180812048 = provideBaseData(i, nftId)
349+ let id = $t01180812048._1
350+ let caller = $t01180812048._2
351+ let date = $t01180812048._3
352+ let isValidNFT = $t01180812048._4
353+ let artId = $t01180812048._5
354+ let creatorAddr = $t01180812048._6
355+ let artSignID = $t01180812048._7
353356 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
354357 if ((saleOwner != caller))
355358 then throw("You don't own this NFT")
369372
370373 @Callable(i)
371374 func buyNFT (nftId) = {
372- let $t01262012712 = provideBaseData(i, nftId)
373- let id = $t01262012712._1
374- let caller = $t01262012712._2
375- let date = $t01262012712._3
376- let isValidNFT = $t01262012712._4
377- let artId = $t01262012712._5
378- let creatorAddr = $t01262012712._6
379- let artSignID = $t01262012712._7
375+ let $t01287912971 = provideBaseData(i, nftId)
376+ let id = $t01287912971._1
377+ let caller = $t01287912971._2
378+ let date = $t01287912971._3
379+ let isValidNFT = $t01287912971._4
380+ let artId = $t01287912971._5
381+ let creatorAddr = $t01287912971._6
382+ let artSignID = $t01287912971._7
380383 if ((size(artSignID) == 0))
381384 then throw("Artwork not found on SIGN Art, cancel your sale.")
382385 else if (!(isValidNFT))
392395 if ((parseInt(saleInfoArray[1]) == 0))
393396 then throw("Offer only")
394397 else {
395- let $t01320913245 = isPayment(i)
396- let payment = $t01320913245._1
397- let amount = $t01320913245._2
398+ let $t01346813504 = isPayment(i)
399+ let payment = $t01346813504._1
400+ let amount = $t01346813504._2
398401 let paymentAssetStr = if (isDefined(payment.assetId))
399402 then toBase58String(value(payment.assetId))
400403 else ""
406409 let amountForSign = fraction(amount, signCut, 100)
407410 let amountForCreator = fraction(amount, creatorCut, 100)
408411 let amountForOwner = (amount - (amountForSign + amountForCreator))
409- let $t01374813876 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller)
410- let signFee = $t01374813876._1
411- let creatorFee = $t01374813876._2
412- let ownerFee = $t01374813876._3
413- let collectorNFT = $t01374813876._4
412+ let $t01400714135 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller)
413+ let signFee = $t01400714135._1
414+ let creatorFee = $t01400714135._2
415+ let ownerFee = $t01400714135._3
416+ let collectorNFT = $t01400714135._4
414417 [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(), signFee, creatorFee, ownerFee, collectorNFT]
415418 }
416419 }
419422 }
420423
421424
425+
426+@Callable(i)
427+func setOffer (nftId) = {
428+ let $t01454314639 = provideBaseData(i, nftId)
429+ let id = $t01454314639._1
430+ let offerOwner = $t01454314639._2
431+ let date = $t01454314639._3
432+ let isValidNFT = $t01454314639._4
433+ let artId = $t01454314639._5
434+ let creatorAddr = $t01454314639._6
435+ let artSignID = $t01454314639._7
436+ if (!(isValidNFT))
437+ then throw("Not a valid nft")
438+ else {
439+ let $t01470014736 = isPayment(i)
440+ let payment = $t01470014736._1
441+ let amount = $t01470014736._2
442+ let assetId = if (!(isDefined(payment.assetId)))
443+ then "WAVES"
444+ else toBase58String(value(payment.assetId))
445+ if (!(acceptedAssetIds(assetId)))
446+ then throw("asset not accepted")
447+ else if ((amount == 0))
448+ then throw("Offer of 0 not allowed")
449+ else if (!(validateMinSell(assetId, amount)))
450+ then throw("Wrong minimum sell price")
451+ else {
452+ let saleOwner = getSaleOwnerAndStatus(nftId)
453+[StringEntry((getBidKey(offerOwner, nftId, saleOwner, id) + "_OPEN"), ((((((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + offerOwner) + "_") + id))]
454+ }
455+ }
456+ }
457+
458+
459+
460+@Callable(i)
461+func acceptOffer (nftId,offerId,offerOwner) = {
462+ let $t01553815630 = provideBaseData(i, nftId)
463+ let id = $t01553815630._1
464+ let caller = $t01553815630._2
465+ let date = $t01553815630._3
466+ let isValidNFT = $t01553815630._4
467+ let artId = $t01553815630._5
468+ let creatorAddr = $t01553815630._6
469+ let artSignID = $t01553815630._7
470+ if (!(isValidNFT))
471+ then throw("Not a valid nft")
472+ else {
473+ let saleOwner = getSaleOwnerAndStatus(nftId)
474+ if ((caller != saleOwner))
475+ then throw("Only sale owner can accept offer")
476+ else {
477+ let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
478+ let $t01588415939 = getBidData(bidKey)
479+ let bidDataArr = $t01588415939._1
480+ let assetId = $t01588415939._2
481+ let bidData = $t01588415939._3
482+ let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
483+ let saleInfo = getStrByK((saleKey + "_OPEN"))
484+ if ((size(saleInfo) == 0))
485+ then throw("Sale Not found!")
486+ else {
487+ let amount = value(parseInt(bidDataArr[1]))
488+ let $t01617116298 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6])
489+ let signFee = $t01617116298._1
490+ let creatorFee = $t01617116298._2
491+ let ownerFee = $t01617116298._3
492+ let collectorNFT = $t01617116298._4
493+[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)) + "_") + toBase58String(value(assetId)))), updateNumSales(), signFee, creatorFee, ownerFee, collectorNFT]
494+ }
495+ }
496+ }
497+ }
498+
499+
500+
501+@Callable(i)
502+func cancelOffer (nftId,offerId,saleOwner) = {
503+ let $t01700317064 = idCallerDate(i)
504+ let id = $t01700317064._1
505+ let caller = $t01700317064._2
506+ let date = $t01700317064._3
507+ let bidKey = getBidKey(caller, nftId, saleOwner, offerId)
508+ let $t01712817183 = getBidData(bidKey)
509+ let bidDataArr = $t01712817183._1
510+ let assetId = $t01712817183._2
511+ let bidData = $t01712817183._3
512+[DeleteEntry((bidKey + "_OPEN")), StringEntry((bidKey + "_CANCELLED"), ((((bidData + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
513+ }
514+
515+
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
55
66 let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
77
88 let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
99
1010 let artworksDapp = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY"))
1111
1212 let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1313
1414 let userDapp = if (unitTest)
1515 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1616 else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj"))
1717
1818 let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq"))
1919
2020 let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
2121
2222 let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
2323
2424 let wavesAssetId = base58''
2525
2626 let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
2727
2828 let signCut = 3
2929
3030 let creatorCut = 10
3131
3232 let userSuspended = "SUSPENDED"
3333
3434 let userRemoved = "REMOVED"
3535
3636 let artIllegal = "ILLEGAL"
3737
3838 let artSuspended = "SUSPENDED"
3939
4040 let dappRunningKey = "conf_dapp_is_running"
4141
4242 let maintenanceMSGKey = "conf_maintenance_msg"
4343
4444 let dappRunning = valueOrElse(getBoolean(this, dappRunningKey), true)
4545
4646 let maintenanceMSG = valueOrElse(getString(this, maintenanceMSGKey), "")
4747
4848 let numSalesK = "num_sales"
4949
5050 func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error")
5151
5252
5353 func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "")
5454
5555
5656 func getStrByK (key) = valueOrElse(getString(this, key), "")
5757
5858
5959 func getIntByK (key) = valueOrElse(getInteger(this, key), 0)
6060
6161
6262 func keyUserStatus (addr) = ("user_status_" + addr)
6363
6464
6565 func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr)
6666
6767
6868 func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr)
6969
7070
7171 func keyNFTData (id) = ("nft_" + id)
7272
7373
7474 func getSaleKey (caller,nftId,artId,creatorAddr) = ((((((("sale2nd_info_" + caller) + "_") + nftId) + "_") + artId) + "_") + creatorAddr)
75+
76+
77+func getBidKey (offerOwner,nftId,saleOwner,offerId) = ((((((("offer2nd_" + offerOwner) + "_") + nftId) + "_") + saleOwner) + "_") + offerId)
7578
7679
7780 func getIntByKFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
7881
7982
8083 let currentCertificationPrice = getIntByKFromOracle(("certification_fee_" + toBase58String(signAssetId)))
8184
8285 func idCallerDate (i) = if (!(dappRunning))
8386 then throw(maintenanceMSG)
8487 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
8588
8689
8790 func isPayment (i) = if ((size(i.payments) == 0))
8891 then throw("No payment attached")
8992 else {
9093 let payment = value(i.payments[0])
9194 let amount = value(payment.amount)
9295 $Tuple2(payment, amount)
9396 }
9497
9598
9699 func assetIsValid (assetDetails) = if (if (if ((assetDetails.quantity == 1))
97100 then (assetDetails.decimals == 0)
98101 else false)
99102 then (assetDetails.reissuable == false)
100103 else false)
101104 then (assetDetails.issuer == artworksDapp)
102105 else false
103106
104107
105108 func isSignArtNFT (id) = {
106109 let assetDetails = value(assetInfo(id))
107110 assetIsValid(assetDetails)
108111 }
109112
110113
111114 func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId)))
112115 then (assetId != toBase58String(wavesAssetId))
113116 else false)
114117 then (assetId != "WAVES")
115118 else false)
116119 then (assetId != toBase58String(usdnAssetId))
117120 else false)
118121 then false
119122 else true
120123
121124
122125 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
123126 then unit
124127 else fromBase58String(assetId)
125128
126129
127130 func getSaleOwnerAndStatus (nftid) = {
128131 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
129132 if ((size(saleOwner) == 0))
130133 then throw("NFT not found")
131134 else {
132135 let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid))
133136 if ((saleStatus != "OPEN"))
134137 then throw("NFT not for sale")
135138 else saleOwner
136139 }
137140 }
138141
139142
140143 func getBidData (key) = {
141144 let bidData = getStrByK((key + "_OPEN"))
142145 if ((bidData == ""))
143146 then throw("Offer not found")
144147 else {
145148 let bidDataArr = split(bidData, "_")
146149 let assetId = getBidAssetId(bidDataArr[2])
147150 $Tuple3(bidDataArr, assetId, bidData)
148151 }
149152 }
150153
151154
152155 func artIsValid (artStatus) = if ((artStatus != artIllegal))
153156 then (artStatus != artSuspended)
154157 else false
155158
156159
157160 func checkArtStatus (addr,id) = {
158161 let artStatus = getArtStrByK(keyFlag(addr, id))
159162 if (artIsValid(artStatus))
160163 then true
161164 else throw(("Original Artwork flagged as " + artStatus))
162165 }
163166
164167
165168 func checkArtistStatus (addr) = {
166169 let artistStatus = getUserStrByK(keyUserStatus(addr))
167170 if (containsElement([userSuspended, userRemoved], artistStatus))
168171 then throw(("Original Artist " + artistStatus))
169172 else true
170173 }
171174
172175
173176 func checkNFTInfo (assetId) = {
174177 let nftData = split(getArtStrByK(keyNFTData(assetId)), "_")
175178 let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
176179 if (if (!(checkArtStatus(nftData[6], nftData[5])))
177180 then !(checkArtistStatus(nftData[6]))
178181 else false)
179182 then $Tuple4(false, nftData[5], nftData[6], artSignID)
180183 else $Tuple4(true, nftData[5], nftData[6], artSignID)
181184 }
182185
183186
184187 func checkARTExist (artId,creatorAddr) = {
185188 let artSignID = getArtStrByK(keySignID(creatorAddr, artId))
186189 if ((size(artSignID) == 0))
187190 then throw("Artwork not found on SIGN Art")
188191 else if (if (!(checkArtStatus(creatorAddr, artId)))
189192 then !(checkArtistStatus(creatorAddr))
190193 else false)
191194 then false
192195 else true
193196 }
194197
195198
196199 func setTransfers (amount,assetId,nftid,creatorAddr,saleOwner,caller) = {
197200 let amountForSign = fraction(amount, signCut, 100)
198201 let amountForCreator = fraction(amount, creatorCut, 100)
199202 let amountForOwner = (amount - (amountForSign + amountForCreator))
200203 let signFee = ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId)
201204 let creatorFee = ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId)
202205 let ownerFee = ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId)
203206 let collectorNFT = ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))
204207 $Tuple4(signFee, creatorFee, ownerFee, collectorNFT)
205208 }
206209
207210
208211 func validateMinSell (assetId,price) = {
209212 let minSellWaves = if (unitTest)
210213 then 10
211214 else getIntByKFromOracle("waves_min_sell")
212215 let minSellUsdn = 1000000
213216 let minSellSign = if (unitTest)
214217 then 1
215218 else (currentCertificationPrice * 2)
216219 if (if (if (if (if ((assetId == toBase58String(usdnAssetId)))
217220 then (minSellUsdn > price)
218221 else false)
219222 then (price != 0)
220223 else false)
221224 then true
222225 else if (if ((assetId == toBase58String(signAssetId)))
223226 then (minSellSign > price)
224227 else false)
225228 then (price != 0)
226229 else false)
227230 then true
228231 else if (if (if ((assetId == toBase58String(wavesAssetId)))
229232 then true
230233 else (assetId == "WAVES"))
231234 then (minSellWaves > price)
232235 else false)
233236 then (price != 0)
234237 else false)
235238 then false
236239 else true
237240 }
238241
239242
240243 func provideBaseData (i,nftId) = {
241- let $t083128351 = idCallerDate(i)
242- let id = $t083128351._1
243- let caller = $t083128351._2
244- let date = $t083128351._3
245- let $t083548423 = checkNFTInfo(nftId)
246- let isValidNFT = $t083548423._1
247- let artId = $t083548423._2
248- let creatorAddr = $t083548423._3
249- let artSignID = $t083548423._4
244+ let $t085728611 = idCallerDate(i)
245+ let id = $t085728611._1
246+ let caller = $t085728611._2
247+ let date = $t085728611._3
248+ let $t086148683 = checkNFTInfo(nftId)
249+ let isValidNFT = $t086148683._1
250+ let artId = $t086148683._2
251+ let creatorAddr = $t086148683._3
252+ let artSignID = $t086148683._4
250253 $Tuple7(id, caller, date, isValidNFT, artId, creatorAddr, artSignID)
251254 }
252255
253256
254257 func updateNumSales () = {
255258 let numSales = getIntByK(numSalesK)
256259 IntegerEntry(numSalesK, (numSales + 1))
257260 }
258261
259262
260263 @Callable(invoke)
261264 func appRunning (isLive,message) = {
262265 let caller = toString(addressFromPublicKey(invoke.callerPublicKey))
263266 let id = toBase58String(invoke.transactionId)
264267 if (containsElement([chris, toString(this)], caller))
265268 then [BooleanEntry(dappRunningKey, isLive), StringEntry(maintenanceMSGKey, message)]
266269 else throw("You are not allowed to change this")
267270 }
268271
269272
270273
271274 @Callable(i)
272275 func sellNFT (price,asset) = {
273- let $t091379173 = isPayment(i)
274- let payment = $t091379173._1
275- let amount = $t091379173._2
276+ let $t093969432 = isPayment(i)
277+ let payment = $t093969432._1
278+ let amount = $t093969432._2
276279 let nftId = if (if (isDefined(payment.assetId))
277280 then isSignArtNFT(value(payment.assetId))
278281 else false)
279282 then toBase58String(value(payment.assetId))
280283 else throw("Only SIGN Art NFT accepted.")
281- let $t093529444 = provideBaseData(i, nftId)
282- let id = $t093529444._1
283- let caller = $t093529444._2
284- let date = $t093529444._3
285- let isValidNFT = $t093529444._4
286- let artId = $t093529444._5
287- let creatorAddr = $t093529444._6
288- let artSignID = $t093529444._7
284+ let $t096119703 = provideBaseData(i, nftId)
285+ let id = $t096119703._1
286+ let caller = $t096119703._2
287+ let date = $t096119703._3
288+ let isValidNFT = $t096119703._4
289+ let artId = $t096119703._5
290+ let creatorAddr = $t096119703._6
291+ let artSignID = $t096119703._7
289292 if ((size(artSignID) == 0))
290293 then throw("Artwork not found on SIGN Art")
291294 else if (!(isValidNFT))
292295 then throw("Not a valid nft")
293296 else if (!(acceptedAssetIds(asset)))
294297 then throw("Only SIGN, USDN or WAVES accepted")
295298 else if ((price == 0))
296299 then throw("Wrong minimum sell price")
297300 else if (!(validateMinSell(asset, price)))
298301 then throw("Wrong minimum sell price")
299302 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)]
300303 }
301304
302305
303306
304307 @Callable(i)
305308 func updateSalePrice (nftId,price,asset) = {
306- let $t01031710409 = provideBaseData(i, nftId)
307- let id = $t01031710409._1
308- let caller = $t01031710409._2
309- let date = $t01031710409._3
310- let isValidNFT = $t01031710409._4
311- let artId = $t01031710409._5
312- let creatorAddr = $t01031710409._6
313- let artSignID = $t01031710409._7
309+ let $t01057610668 = provideBaseData(i, nftId)
310+ let id = $t01057610668._1
311+ let caller = $t01057610668._2
312+ let date = $t01057610668._3
313+ let isValidNFT = $t01057610668._4
314+ let artId = $t01057610668._5
315+ let creatorAddr = $t01057610668._6
316+ let artSignID = $t01057610668._7
314317 if ((size(artSignID) == 0))
315318 then throw("Artwork not found on SIGN Art, cancel your sale.")
316319 else if (!(isValidNFT))
317320 then throw("Not a valid nft")
318321 else {
319322 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
320323 if ((saleOwner != caller))
321324 then throw("You don't own this NFT")
322325 else {
323326 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId))
324327 if ((saleStatus != "OPEN"))
325328 then throw("Sale not active")
326329 else if (!(acceptedAssetIds(asset)))
327330 then throw("Only SIGN, USDN or WAVES accepted")
328331 else if ((price == 0))
329332 then throw("Wrong minimum sell price")
330333 else if (!(validateMinSell(asset, price)))
331334 then throw("Wrong minimum sell price")
332335 else {
333336 let saleKey = getSaleKey(caller, nftId, artId, creatorAddr)
334337 let saleInfo = split(getStrByK((saleKey + "_OPEN")), "_")
335338 [StringEntry((saleKey + "_OPEN"), ((((((((((((saleInfo[0] + "_") + toString(price)) + "_") + asset) + "_") + saleInfo[3]) + "_") + saleInfo[4]) + "_") + saleInfo[5]) + "_") + saleInfo[6]))]
336339 }
337340 }
338341 }
339342 }
340343
341344
342345
343346 @Callable(i)
344347 func cancelSale (nftId) = {
345- let $t01154911789 = provideBaseData(i, nftId)
346- let id = $t01154911789._1
347- let caller = $t01154911789._2
348- let date = $t01154911789._3
349- let isValidNFT = $t01154911789._4
350- let artId = $t01154911789._5
351- let creatorAddr = $t01154911789._6
352- let artSignID = $t01154911789._7
348+ let $t01180812048 = provideBaseData(i, nftId)
349+ let id = $t01180812048._1
350+ let caller = $t01180812048._2
351+ let date = $t01180812048._3
352+ let isValidNFT = $t01180812048._4
353+ let artId = $t01180812048._5
354+ let creatorAddr = $t01180812048._6
355+ let artSignID = $t01180812048._7
353356 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId))
354357 if ((saleOwner != caller))
355358 then throw("You don't own this NFT")
356359 else {
357360 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId))
358361 if ((saleStatus != "OPEN"))
359362 then throw("Sale not active")
360363 else {
361364 let saleKey = getSaleKey(caller, nftId, artId, creatorAddr)
362365 let saleInfo = getStrByK((saleKey + "_OPEN"))
363366 [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))]
364367 }
365368 }
366369 }
367370
368371
369372
370373 @Callable(i)
371374 func buyNFT (nftId) = {
372- let $t01262012712 = provideBaseData(i, nftId)
373- let id = $t01262012712._1
374- let caller = $t01262012712._2
375- let date = $t01262012712._3
376- let isValidNFT = $t01262012712._4
377- let artId = $t01262012712._5
378- let creatorAddr = $t01262012712._6
379- let artSignID = $t01262012712._7
375+ let $t01287912971 = provideBaseData(i, nftId)
376+ let id = $t01287912971._1
377+ let caller = $t01287912971._2
378+ let date = $t01287912971._3
379+ let isValidNFT = $t01287912971._4
380+ let artId = $t01287912971._5
381+ let creatorAddr = $t01287912971._6
382+ let artSignID = $t01287912971._7
380383 if ((size(artSignID) == 0))
381384 then throw("Artwork not found on SIGN Art, cancel your sale.")
382385 else if (!(isValidNFT))
383386 then throw("Not a valid nft")
384387 else {
385388 let saleOwner = getSaleOwnerAndStatus(nftId)
386389 let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
387390 let saleInfo = getStrByK((saleKey + "_OPEN"))
388391 if ((size(saleInfo) == 0))
389392 then throw("Sale Not found!")
390393 else {
391394 let saleInfoArray = split(saleInfo, "_")
392395 if ((parseInt(saleInfoArray[1]) == 0))
393396 then throw("Offer only")
394397 else {
395- let $t01320913245 = isPayment(i)
396- let payment = $t01320913245._1
397- let amount = $t01320913245._2
398+ let $t01346813504 = isPayment(i)
399+ let payment = $t01346813504._1
400+ let amount = $t01346813504._2
398401 let paymentAssetStr = if (isDefined(payment.assetId))
399402 then toBase58String(value(payment.assetId))
400403 else ""
401404 if (if ((saleInfoArray[1] != toString(amount)))
402405 then true
403406 else (saleInfoArray[2] != paymentAssetStr))
404407 then throw("Payment infos don't match.")
405408 else {
406409 let amountForSign = fraction(amount, signCut, 100)
407410 let amountForCreator = fraction(amount, creatorCut, 100)
408411 let amountForOwner = (amount - (amountForSign + amountForCreator))
409- let $t01374813876 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller)
410- let signFee = $t01374813876._1
411- let creatorFee = $t01374813876._2
412- let ownerFee = $t01374813876._3
413- let collectorNFT = $t01374813876._4
412+ let $t01400714135 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller)
413+ let signFee = $t01400714135._1
414+ let creatorFee = $t01400714135._2
415+ let ownerFee = $t01400714135._3
416+ let collectorNFT = $t01400714135._4
414417 [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(), signFee, creatorFee, ownerFee, collectorNFT]
415418 }
416419 }
417420 }
418421 }
419422 }
420423
421424
425+
426+@Callable(i)
427+func setOffer (nftId) = {
428+ let $t01454314639 = provideBaseData(i, nftId)
429+ let id = $t01454314639._1
430+ let offerOwner = $t01454314639._2
431+ let date = $t01454314639._3
432+ let isValidNFT = $t01454314639._4
433+ let artId = $t01454314639._5
434+ let creatorAddr = $t01454314639._6
435+ let artSignID = $t01454314639._7
436+ if (!(isValidNFT))
437+ then throw("Not a valid nft")
438+ else {
439+ let $t01470014736 = isPayment(i)
440+ let payment = $t01470014736._1
441+ let amount = $t01470014736._2
442+ let assetId = if (!(isDefined(payment.assetId)))
443+ then "WAVES"
444+ else toBase58String(value(payment.assetId))
445+ if (!(acceptedAssetIds(assetId)))
446+ then throw("asset not accepted")
447+ else if ((amount == 0))
448+ then throw("Offer of 0 not allowed")
449+ else if (!(validateMinSell(assetId, amount)))
450+ then throw("Wrong minimum sell price")
451+ else {
452+ let saleOwner = getSaleOwnerAndStatus(nftId)
453+[StringEntry((getBidKey(offerOwner, nftId, saleOwner, id) + "_OPEN"), ((((((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + offerOwner) + "_") + id))]
454+ }
455+ }
456+ }
457+
458+
459+
460+@Callable(i)
461+func acceptOffer (nftId,offerId,offerOwner) = {
462+ let $t01553815630 = provideBaseData(i, nftId)
463+ let id = $t01553815630._1
464+ let caller = $t01553815630._2
465+ let date = $t01553815630._3
466+ let isValidNFT = $t01553815630._4
467+ let artId = $t01553815630._5
468+ let creatorAddr = $t01553815630._6
469+ let artSignID = $t01553815630._7
470+ if (!(isValidNFT))
471+ then throw("Not a valid nft")
472+ else {
473+ let saleOwner = getSaleOwnerAndStatus(nftId)
474+ if ((caller != saleOwner))
475+ then throw("Only sale owner can accept offer")
476+ else {
477+ let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId)
478+ let $t01588415939 = getBidData(bidKey)
479+ let bidDataArr = $t01588415939._1
480+ let assetId = $t01588415939._2
481+ let bidData = $t01588415939._3
482+ let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr)
483+ let saleInfo = getStrByK((saleKey + "_OPEN"))
484+ if ((size(saleInfo) == 0))
485+ then throw("Sale Not found!")
486+ else {
487+ let amount = value(parseInt(bidDataArr[1]))
488+ let $t01617116298 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6])
489+ let signFee = $t01617116298._1
490+ let creatorFee = $t01617116298._2
491+ let ownerFee = $t01617116298._3
492+ let collectorNFT = $t01617116298._4
493+[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)) + "_") + toBase58String(value(assetId)))), updateNumSales(), signFee, creatorFee, ownerFee, collectorNFT]
494+ }
495+ }
496+ }
497+ }
498+
499+
500+
501+@Callable(i)
502+func cancelOffer (nftId,offerId,saleOwner) = {
503+ let $t01700317064 = idCallerDate(i)
504+ let id = $t01700317064._1
505+ let caller = $t01700317064._2
506+ let date = $t01700317064._3
507+ let bidKey = getBidKey(caller, nftId, saleOwner, offerId)
508+ let $t01712817183 = getBidData(bidKey)
509+ let bidDataArr = $t01712817183._1
510+ let assetId = $t01712817183._2
511+ let bidData = $t01712817183._3
512+[DeleteEntry((bidKey + "_OPEN")), StringEntry((bidKey + "_CANCELLED"), ((((bidData + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
513+ }
514+
515+

github/deemru/w8io/169f3d6 
136.53 ms