tx · CNPshsbVYjCZ3T66n45G6V53MaqaE18GQyvCM8qpWjyq

3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA:  -0.01000000 Waves

2021.12.20 13:11 [1842442] smart account 3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA > SELF 0.00000000 Waves

{ "type": 13, "id": "CNPshsbVYjCZ3T66n45G6V53MaqaE18GQyvCM8qpWjyq", "fee": 1000000, "feeAssetId": null, "timestamp": 1639995085031, "version": 2, "chainId": 84, "sender": "3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA", "senderPublicKey": "9abKuN1XmLjjire2feZH26PmcEWhEXxiHToWSmii3Gn2", "proofs": [ "5tRRUcfXyxBwv4wvQVzLPmsN5FndXpshGrCpijkX3C9DQG5mYbJodL5rLgjnmHHV9cTAZWZv5touKSfGKTwFXVri" ], "script": "base64:AAIFAAAAAAAAAEkIAhIFCgMBCAgSDAoKCAgICAgICAgICBIJCgcIAQEICAEBEgQKAggIEgUKAwgICBIDCgEIEgQKAggIEgYKBAgICAgSBQoDCAgIAAAAUgAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM01wWlFqekdvZ21pZmNFS2U4bURkNnJpYkw3bnhUOUFDeWUAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjY1eExxOEpjQ2VhRWlSMVRKUTdkQnFYQnZFeTZFNDhXegAAAAAIY2VydERhcHACAAAAIzNNeGNYck5iTVpLWWFTcmhjZmVNbTJoWm5CZUN1M3lSV3N3AAAAAAh1c2VyRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXp2NFVIR1JDQzVLa25aYjh4NXdmRlVRenpwWTlHNEduNAAAAAANd2hpdGVsaXN0RGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjl4WllHcHpNRkRYdlh1Y3RtVTZ6VjhxU3ptMlpmRjMxZgAAAAALVVNET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AAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAABZVbmtub3duIGF1Y3Rpb24gdHlwZSA6BQAAAAthdWN0aW9uVHlwZQIAAAAbLCBwbGVhc2UgY29udGFjdCB0aGUgYWRtaW5zAAAAAWkBAAAACWNhbmNlbEJpZAAAAAMAAAAFYXJ0SWQAAAAGaXNzdWVyAAAABWJpZElkBAAAAAthdWN0aW9uVHlwZQkBAAAADmdldFN0cmluZ0J5S2V5AAAAAQkBAAAADmtleUF1Y3Rpb25UeXBlAAAAAgUAAAAGaXNzdWVyBQAAAAVhcnRJZAMJAAAAAAAAAgUAAAALYXVjdGlvblR5cGUFAAAADGF1Y3Rpb25UeXBlMQkBAAAADWNhbmNlbEJpZEltcGwAAAAEBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAkBAAAAGGNhbmNlbEJpZEltcGxUcmFkaXRpb25hbAAAAAQFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkAAAAAC/Gl+M=", "height": 1842442, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Af15ss46Z1dwFZpS5Jy4j1KyaXhiAqWWC6DCD2Ty3FXp Next: FxH1v66t4xmAL5L6mjo3tSpjRaKCRXX2TU1hwzVLETT Diff:
OldNewDifferences
3232 let userRemoved = "REMOVED"
3333
3434 let userUnregistered = "UNREGISTERED"
35-
36-let userAllowed = "ALLOWED"
3735
3836 let auctionType1 = "BIDTYPE"
3937
162160
163161 func validateUser (caller) = {
164162 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
165- if (if ((userStatus == userUnregistered))
166- then true
167- else (userStatus == userAllowed))
163+ if ((userStatus == userUnregistered))
168164 then "Register this account first with 'Account' tab"
169165 else if ((userStatus == userSuspended))
170166 then "Account suspended"
613609
614610
615611 @Callable(i)
616-func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview) = {
612+func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview,collection,subCollection) = {
617613 let t01774017781 = idCallerDate(i)
618614 let artId = t01774017781._1
619615 let caller = t01774017781._2
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
55
66 let oracleFee = value(addressFromString("3MpZQjzGogmifcEKe8mDd6ribL7nxT9ACye"))
77
88 let feeReceiver = "3N65xLq8JcCeaEiR1TJQ7dBqXBvEy6E48Wz"
99
1010 let certDapp = "3MxcXrNbMZKYaSrhcfeMm2hZnBeCu3yRWsw"
1111
1212 let userDapp = value(addressFromString("3Mzv4UHGRCC5KknZb8x5wfFUQzzpY9G4Gn4"))
1313
1414 let whitelistDapp = value(addressFromString("3N9xZYGpzMFDXvXuctmU6zV8qSzm2ZfF31f"))
1515
1616 let USDNAssetId = base58'132maRL3uF35tc2bpRih9D6MYq5DR6H28zkop786dKyu'
1717
1818 let owners = [getString(oracleFee, "owner1"), getString(oracleFee, "owner2")]
1919
2020 let types = ["IMAGE", "PDF", "VIDEO"]
2121
2222 let Previewtypes = ["PDF"]
2323
2424 let USDNFirstSellCut = 150
2525
2626 let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true)
2727
2828 let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "")
2929
3030 let userSuspended = "SUSPENDED"
3131
3232 let userRemoved = "REMOVED"
3333
3434 let userUnregistered = "UNREGISTERED"
35-
36-let userAllowed = "ALLOWED"
3735
3836 let auctionType1 = "BIDTYPE"
3937
4038 let auctionType2 = "TRADITIONAL"
4139
4240 let auctionType3 = "DIRECT"
4341
4442 func getStringByKeyFromUsers (key) = valueOrElse(getString(userDapp, key), "")
4543
4644
4745 func getStringByKey (key) = valueOrElse(getString(this, key), "")
4846
4947
5048 func getStringByKeyOrError (key,error) = valueOrErrorMessage(getString(this, key), error)
5149
5250
5351 func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
5452
5553
5654 func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0)
5755
5856
5957 func checkWhitelist (key) = valueOrElse(getInteger(whitelistDapp, key), 0)
6058
6159
6260 func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false)
6361
6462
6563 func validateHash (hash) = (size(hash) == 64)
6664
6765
6866 func keyUserStatus (caller) = ("user_status_" + caller)
6967
7068
7169 func keyDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
7270
7371
7472 func keyName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
7573
7674
7775 func keyDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
7876
7977
8078 func keyDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
8179
8280
8381 func keyPreviewCid (caller,artId) = ((("art_preview_cid_" + artId) + "_") + caller)
8482
8583
8684 func keyMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
8785
8886
8987 func keyHighestBidBidId (artId) = ("art_highestBidBidId_" + artId)
9088
9189
9290 func keyBidId (bidId) = ("bid_" + bidId)
9391
9492
9593 func keyDuration (caller,artId) = ((("art_duration_" + artId) + "_") + caller)
9694
9795
9896 func keyEndHeight (caller,artId) = ((("art_endheight_" + artId) + "_") + caller)
9997
10098
10199 func keyAuctionType (caller,artId) = ((("art_auctiontype_" + artId) + "_") + caller)
102100
103101
104102 func keyIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
105103
106104
107105 func KeyNftIssuer (nftId) = ("nft_issued_" + nftId)
108106
109107
110108 func KeyNftArtId (nftId) = ("nft_artId_" + nftId)
111109
112110
113111 func keyRoyalty (caller,artId) = ((("art_royalty_" + artId) + "_") + caller)
114112
115113
116114 func keyOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
117115
118116
119117 func keyEntitlement (caller,artId) = ((("art_entitlement_" + artId) + "_") + caller)
120118
121119
122120 func keyTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
123121
124122
125123 func keyType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
126124
127125
128126 func keyPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
129127
130128
131129 func keyAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
132130
133131
134132 func keyHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
135133
136134
137135 func keyOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
138136
139137
140138 func keyTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
141139
142140
143141 let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(USDNAssetId)))
144142
145143 func getAmountByBidId (bidId) = valueOrElse(getIntegerByKey(keyBidId(bidId)), 0)
146144
147145
148146 func getAmountHighestBidByArtId (artId) = {
149147 let bidId = getStringByKey(keyHighestBidBidId(artId))
150148 if ((bidId == ""))
151149 then 0
152150 else getAmountByBidId(bidId)
153151 }
154152
155153
156154 func validateString (str,max) = if ((size(str) == 0))
157155 then throw("Field cannot be is empty")
158156 else if ((size(str) > max))
159157 then throw((str + " is too long"))
160158 else true
161159
162160
163161 func validateUser (caller) = {
164162 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
165- if (if ((userStatus == userUnregistered))
166- then true
167- else (userStatus == userAllowed))
163+ if ((userStatus == userUnregistered))
168164 then "Register this account first with 'Account' tab"
169165 else if ((userStatus == userSuspended))
170166 then "Account suspended"
171167 else if ((userStatus == userRemoved))
172168 then "Account removed"
173169 else ""
174170 }
175171
176172
177173 func validateArtworkData (caller,cidDisplay,name,description,tags) = {
178174 let checkUser = validateUser(caller)
179175 if ((checkUser != ""))
180176 then throw(checkUser)
181177 else if ((size(cidDisplay) == 0))
182178 then throw("Display CID cannot be empty")
183179 else if ((size(cidDisplay) != 46))
184180 then throw("This doesn't seem a valid CID!")
185181 else if (!(validateString(name, 100)))
186182 then throw("100 Char. max name")
187183 else if (!(validateString(description, 1000)))
188184 then throw("1000 Char. max description")
189185 else if ((size(split(tags, ",")) > 5))
190186 then throw("5 tags max.")
191187 else ""
192188 }
193189
194190
195191 func isPayment (i) = if ((size(i.payments) == 0))
196192 then throw("No payment attached")
197193 else {
198194 let payment = value(i.payments[0])
199195 let amount = value(payment.amount)
200196 $Tuple2(payment, amount)
201197 }
202198
203199
204200 func validatePayment (i) = {
205201 let t089829018 = isPayment(i)
206202 let payment = t089829018._1
207203 let amount = t089829018._2
208204 let assetId = if (if (isDefined(payment.assetId))
209205 then (payment.assetId == USDNAssetId)
210206 else false)
211207 then payment.assetId
212208 else throw("Only USDN token accepted as transaction fee")
213209 if ((amount != currentCertificationPrice))
214210 then throw(((("Payment amount should be " + toString(currentCertificationPrice)) + " but is: ") + toString(amount)))
215211 else $Tuple2(amount, assetId)
216212 }
217213
218214
219215 func isArtMinted (addrToUse,artId) = match getInteger(this, keyIssued(addrToUse, artId)) {
220216 case b: Int =>
221217 if ((b != 0))
222218 then true
223219 else false
224220 case _ =>
225221 false
226222 }
227223
228224
229225 func validatePriceAssetId (i,priceAssetId,artworkPrice) = {
230226 let t096119647 = isPayment(i)
231227 let payment = t096119647._1
232228 let amount = t096119647._2
233229 let assetId = if (!(isDefined(payment.assetId)))
234230 then throw("Wrong asset id")
235231 else if (if ((size(priceAssetId) > 0))
236232 then (toBase58String(value(payment.assetId)) == priceAssetId)
237233 else false)
238234 then payment.assetId
239235 else throw("Wrong asset id")
240236 if (if ((assetId == unit))
241237 then (priceAssetId != "")
242238 else false)
243239 then throw("Wrong asset id")
244240 else if ((artworkPrice != amount))
245241 then throw(((("Payment don't match " + toString(artworkPrice)) + " ") + toString(amount)))
246242 else $Tuple2(amount, assetId)
247243 }
248244
249245
250246 func acceptedAssetIds (assetId) = if ((assetId != toBase58String(USDNAssetId)))
251247 then throw("Only USDN accepted")
252248 else true
253249
254250
255251 func validateMinSell (assetId,price) = {
256252 let minSellSconex = if (unitTest)
257253 then 1
258254 else (currentCertificationPrice * 2)
259255 if (if (if ((assetId == toBase58String(USDNAssetId)))
260256 then (minSellSconex > price)
261257 else false)
262258 then (price != 0)
263259 else false)
264260 then throw(("Wrong minimum sell price " + toString(minSellSconex)))
265261 else true
266262 }
267263
268264
269265 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
270266 then throw("Only USDN is accepted!")
271267 else fromBase58String(assetId)
272268
273269
274270 func getPriceAssetIdFromBid (bidDataKey) = {
275271 let bidData = getStringByKey((bidDataKey + "_OPEN"))
276272 if ((bidData == ""))
277273 then throw("Bid not found")
278274 else {
279275 let bidDataArr = split(bidData, "_")
280276 let bidAmount = parseIntValue(bidDataArr[1])
281277 let bidAssetId = getBidAssetId(bidDataArr[0])
282278 if ((0 >= bidAmount))
283279 then throw("Wrong amount")
284280 else $Tuple2(bidAmount, bidAssetId)
285281 }
286282 }
287283
288284
289285 func idCallerDate (i) = if (!(dappRunning))
290286 then throw(maintenanceMSG)
291287 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
292288
293289
294290 func isBidCheck (i,issuer,bidOwner,bidId) = if (if (if ((toBase58String(i.caller.bytes) == issuer))
295291 then (bidOwner != "")
296292 else false)
297293 then (bidId != "")
298294 else false)
299295 then true
300296 else false
301297
302298
303299 func getArtData (i,issuer,artId,isBid) = {
304300 let callerIsIssuer = (toBase58String(i.caller.bytes) == issuer)
305301 let totalNFT = getIntegerByKey("total_nft_issued")
306302 let artworkName = getStringByKey(keyName(issuer, artId))
307303 if ((artworkName == ""))
308304 then throw("Art doesn't exist")
309305 else {
310306 let isOnSale = getBooleanByKey(keyOnSale(issuer, artId))
311307 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
312308 let artworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
313309 let priceAssetId = if (callerIsIssuer)
314310 then toBase58String(USDNAssetId)
315311 else getStringByKey(keyAssetIdAccepted(issuer, artId))
316312 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
317313 if (if (if (!(isBid))
318314 then !(callerIsIssuer)
319315 else false)
320316 then if (if ((0 >= artworkPrice))
321317 then true
322318 else !(isOnSale))
323319 then true
324320 else (0 >= maxCanSell)
325321 else false)
326322 then throw("Art not for sale")
327323 else if (if (if (!(isBid))
328324 then callerIsIssuer
329325 else false)
330326 then (0 >= maxCanSell)
331327 else false)
332328 then throw("Max issuable not set")
333329 else $Tuple7(totalNFT, artworkName, amountSold, artworkPrice, priceAssetId, maxCanSell, isOnSale)
334330 }
335331 }
336332
337333
338334 func getBidData (i,caller,issuer,artId,bidOwner,bidId,priceAssetId,artworkPrice,isBid) = {
339335 let checkUser = validateUser(issuer)
340336 if (if (isBid)
341337 then (checkUser != "")
342338 else false)
343339 then throw(checkUser)
344340 else {
345341 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId)
346342 let t01351913648 = if (isBid)
347343 then getPriceAssetIdFromBid(bidDataKey)
348344 else validatePriceAssetId(i, priceAssetId, artworkPrice)
349345 let amount = t01351913648._1
350346 let assetId = t01351913648._2
351347 $Tuple3(bidDataKey, amount, assetId)
352348 }
353349 }
354350
355351
356352 func getCommissionData (issuer,assetId,amount,amountSold,maxCanSell) = {
357353 let isWhitelisted = checkWhitelist(issuer)
358354 let cut = if ((isWhitelisted > height))
359355 then 0
360356 else if ((assetId == USDNAssetId))
361357 then USDNFirstSellCut
362358 else throw("Only USDN is accepted!")
363359 let amountForSconex = fraction(amount, cut, 1000)
364360 let amountForCreator = (amount - amountForSconex)
365361 if ((amountSold == maxCanSell))
366362 then throw("Art sold out")
367363 else {
368364 let newAmountSold = (amountSold + 1)
369365 $Tuple3(amountForSconex, amountForCreator, newAmountSold)
370366 }
371367 }
372368
373369
374370 func getIssueData (issuer,artId,artworkName,newAmountSold,maxCanSell,totalNFT,caller,bidOwner,bidId,i,isOnSale) = {
375371 let issueMeta = ((((((((("Creator: " + issuer) + ",ArtID: ") + artId) + ",Artwork name: ") + artworkName) + ",Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell))
376372 let sellStatus = if (if ((newAmountSold == maxCanSell))
377373 then true
378374 else !(isOnSale))
379375 then false
380376 else true
381377 let receiveNFT = if ((bidOwner != ""))
382378 then addressFromStringValue(bidOwner)
383379 else i.caller
384380 $Tuple3(sellStatus, receiveNFT, issueMeta)
385381 }
386382
387383
388384 func calculateRarity (mintIndex) = if ((4 > mintIndex))
389385 then "SSR"
390386 else if ((11 > mintIndex))
391387 then "SR"
392388 else if ((101 > mintIndex))
393389 then "R"
394390 else "N"
395391
396392
397393 func getBidKeyVal (assetId,bidDataKey,date) = {
398394 let assetIdBid = if (!(isDefined(assetId)))
399395 then throw("Only USDN is accepted")
400396 else toBase58String(value(assetId))
401397 let bidData = getStringByKey((bidDataKey + "_OPEN"))
402398 let bidDelOld = DeleteEntry((bidDataKey + "_OPEN"))
403399 let bidUpdate = StringEntry((bidDataKey + "_CLOSED"), ((bidData + "_") + toString(date)))
404400 $Tuple3(assetIdBid, bidDelOld, bidUpdate)
405401 }
406402
407403
408404 func buyMint (i,artId,issuer,bidId,bidOwner,isBid) = {
409405 let callerData = idCallerDate(i)
410406 let id = callerData._1
411407 let caller = callerData._2
412408 let date = callerData._3
413409 let artData = getArtData(i, issuer, artId, isBid)
414410 let totalNFT = artData._1
415411 let artworkName = artData._2
416412 let amountSold = artData._3
417413 let artworkPrice = artData._4
418414 let priceAssetId = artData._5
419415 let maxCanSell = artData._6
420416 let isOnSale = artData._7
421417 let bidData = getBidData(i, caller, issuer, artId, bidOwner, bidId, priceAssetId, artworkPrice, isBid)
422418 let bidDataKey = bidData._1
423419 let amount = bidData._2
424420 let assetId = bidData._3
425421 let commisionData = getCommissionData(issuer, value(assetId), amount, amountSold, maxCanSell)
426422 let amountForSconex = commisionData._1
427423 let amountForCreator = commisionData._2
428424 let newAmountSold = commisionData._3
429425 let issuerData = getIssueData(issuer, artId, artworkName, newAmountSold, maxCanSell, totalNFT, caller, bidOwner, bidId, i, isOnSale)
430426 let sellStatus = issuerData._1
431427 let receiveNFT = issuerData._2
432428 let issueMeta = issuerData._3
433429 let idNFTInvoke = invoke(this, "mintNft", [totalNFT, issueMeta, toString(receiveNFT)], nil)
434430 if ((idNFTInvoke == idNFTInvoke))
435431 then {
436432 let idNFT = match idNFTInvoke {
437433 case r: String =>
438434 r
439435 case _ =>
440436 throw("Incorrect invoke result")
441437 }
442438 let bidKeyValue = getBidKeyVal(assetId, bidDataKey, date)
443439 let assetIdBid = bidKeyValue._1
444440 let bidDelOld = bidKeyValue._2
445441 let bidUpdate = bidKeyValue._3
446442 let soldKey = ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer)
447443 let rarity = calculateRarity(newAmountSold)
448444 let soldValue = if (!(isBid))
449445 then ((((((((((caller + "_") + toString(date)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + idNFT)
450446 else ((((((((((toString(receiveNFT) + "_") + toString(date)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + idNFT)
451447 let soldData = StringEntry(soldKey, soldValue)
452448 let buyRes = [IntegerEntry(keyIssued(issuer, artId), newAmountSold), StringEntry(("nft_" + idNFT), soldKey), StringEntry(("nft_rarity_" + idNFT), rarity), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyOnSale(issuer, artId), sellStatus), ScriptTransfer(Address(fromBase58String(issuer)), amountForCreator, assetId), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSconex, assetId), StringEntry(KeyNftIssuer(idNFT), issuer), StringEntry(KeyNftArtId(idNFT), artId)]
453449 let res = invoke(addressFromStringValue(certDapp), "createCert", [toString(receiveNFT), idNFT, issuer], nil)
454450 if ((res == res))
455451 then if (isBid)
456452 then (((buyRes :+ soldData) :+ bidUpdate) :+ bidDelOld)
457453 else soldData :: buyRes
458454 else throw("Strict value is not equal to itself.")
459455 }
460456 else throw("Strict value is not equal to itself.")
461457 }
462458
463459
464460 func setBidNonTraditional (i,artId,issuer) = {
465461 let t02770927747 = idCallerDate(i)
466462 let id = t02770927747._1
467463 let caller = t02770927747._2
468464 let date = t02770927747._3
469465 let t02775227788 = isPayment(i)
470466 let payment = t02775227788._1
471467 let amount = t02775227788._2
472468 let assetId = if (!(isDefined(payment.assetId)))
473469 then throw("Only USDN is accepted!")
474470 else toBase58String(value(payment.assetId))
475471 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
476472 let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
477473 if (!(acceptedAssetIds(assetId)))
478474 then throw("asset not accepted")
479475 else if ((minArtworkPrice > amount))
480476 then throw("Bid is below min price!")
481477 else {
482478 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
483479 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
484480 if ((0 >= maxCanSell))
485481 then throw("No max edition set for this artwork")
486482 else if ((amountSold >= maxCanSell))
487483 then throw("Sold out, you cannot bid")
488484 else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1))]
489485 }
490486 }
491487
492488
493489 func setBidTraditional (i,artId,issuer) = {
494490 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
495491 let highestBid = getAmountHighestBidByArtId(artId)
496492 if ((height > endHeight))
497493 then throw("This auction is finished already!")
498494 else {
499495 let callderData = idCallerDate(i)
500496 let id = callderData._1
501497 let caller = callderData._2
502498 let date = callderData._3
503499 let isPaymentVar = isPayment(i)
504500 let payment = isPaymentVar._1
505501 let amount = isPaymentVar._2
506502 if ((highestBid >= amount))
507503 then throw(("Please place a bid higher than: " + toString(highestBid)))
508504 else {
509505 let assetId = if (!(isDefined(payment.assetId)))
510506 then throw("Only USDN is accepted!")
511507 else toBase58String(value(payment.assetId))
512508 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
513509 let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
514510 if (!(acceptedAssetIds(assetId)))
515511 then throw("asset not accepted")
516512 else if ((minArtworkPrice > amount))
517513 then throw("Bid is below min price!")
518514 else {
519515 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
520516 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
521517 if ((0 >= maxCanSell))
522518 then throw("No max edition set for this artwork")
523519 else if ((amountSold >= maxCanSell))
524520 then throw("Sold out, you cannot bid")
525521 else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1)), StringEntry(keyHighestBidBidId(artId), toBase58String(i.transactionId)), IntegerEntry(keyBidId(toBase58String(i.transactionId)), amount)]
526522 }
527523 }
528524 }
529525 }
530526
531527
532528 func acceptBidNonTraditional (i,artId,issuer,bidId,bidOwner) = {
533529 let caller = toBase58String(i.caller.bytes)
534530 if ((caller != issuer))
535531 then throw("You cannot do this action")
536532 else buyMint(i, artId, issuer, bidId, bidOwner, true)
537533 }
538534
539535
540536 func restartAuction (artId,issuer) = {
541537 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
542538 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
543539 let oldEndHeight = getIntegerByKey(keyEndHeight(issuer, artId))
544540 let duration = getIntegerByKey(keyDuration(issuer, artId))
545541 let endHeight = (duration + height)
546542 if ((height > oldEndHeight))
547543 then if ((amountSold == maxCanSell))
548544 then throw("Can't restart auction, max amount sold")
549545 else [IntegerEntry(keyEndHeight(issuer, artId), endHeight), DeleteEntry(keyHighestBidBidId(artId))]
550546 else throw("Previous auction isn't completed yet")
551547 }
552548
553549
554550 func acceptBidTraditional (i,artId,issuer,bidId,bidOwner) = {
555551 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
556552 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
557553 if ((height > endHeight))
558554 then if ((bidId == highestBidId))
559555 then {
560556 let buyMintData = buyMint(i, artId, issuer, bidId, bidOwner, true)
561557 let restartAuctionData = restartAuction(artId, issuer)
562558 (restartAuctionData ++ buyMintData)
563559 }
564560 else throw("This is not the winning bid!")
565561 else throw("This auction is not yet finished!")
566562 }
567563
568564
569565 func cancelBidImpl (i,artId,issuer,bidId) = {
570566 let t02894229094 = idCallerDate(i)
571567 let id = t02894229094._1
572568 let caller = t02894229094._2
573569 let date = t02894229094._3
574570 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
575571 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
576572 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
577573 let bidDataArr = split(bidData, "_")
578574 let assetId = getBidAssetId(bidDataArr[0])
579575 let bidStatus = "CANCELED"
580576 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
581577 }
582578
583579
584580 func cancelBidImplTraditional (i,artId,issuer,bidId) = {
585581 let t02894229094 = idCallerDate(i)
586582 let id = t02894229094._1
587583 let caller = t02894229094._2
588584 let date = t02894229094._3
589585 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
590586 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
591587 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
592588 let bidDataArr = split(bidData, "_")
593589 let assetId = getBidAssetId(bidDataArr[0])
594590 let bidStatus = "CANCELED"
595591 let bidAmount = parseIntValue(bidDataArr[1])
596592 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
597593 if ((bidId == highestBidId))
598594 then throw("You can't cancel the highest bid!")
599595 else [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), bidAmount, assetId)]
600596 }
601597
602598
603599 @Callable(i)
604600 func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller == this))
605601 then {
606602 let receiveNFTAddy = Address(fromBase58String(receiveNFT))
607603 let issueNFT = Issue(("SCONEX_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
608604 let idNFT = calculateAssetId(issueNFT)
609605 $Tuple2([issueNFT, ScriptTransfer(receiveNFTAddy, 1, idNFT)], toBase58String(idNFT))
610606 }
611607 else throw("Only the dApp can mint NFT's")
612608
613609
614610
615611 @Callable(i)
616-func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview) = {
612+func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview,collection,subCollection) = {
617613 let t01774017781 = idCallerDate(i)
618614 let artId = t01774017781._1
619615 let caller = t01774017781._2
620616 let date = t01774017781._3
621617 if (containsElement(types, type))
622618 then {
623619 let validateArtwork = validateArtworkData(caller, cidDisplay, name, description, tags)
624620 if ((validateArtwork != ""))
625621 then throw("Something went wrong!")
626622 else {
627623 let t01817018212 = validatePayment(i)
628624 let amount = t01817018212._1
629625 let assetId = t01817018212._2
630626 if (!(isDefined(amount)))
631627 then throw("Something went wrong")
632628 else {
633629 let previewData = if (containsElement(Previewtypes, type))
634630 then [StringEntry(keyPreviewCid(caller, artId), preview)]
635631 else nil
636632 let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller))
637633 if ((entryExist != ""))
638634 then throw("You already added it")
639635 else {
640636 let hashExist = getStringByKey(keyOwnerByHash(sha256Hash))
641637 if ((hashExist != ""))
642638 then throw("This hash is already registered")
643639 else (previewData ++ [StringEntry(keyOwnerByHash(sha256Hash), caller), StringEntry(keyTxidByHashOwner(sha256Hash, caller), artId), IntegerEntry(keyDate(caller, artId), date), StringEntry(keyName(caller, artId), name), StringEntry(keyDesc(caller, artId), description), StringEntry(keyDisplayCid(caller, artId), cidDisplay), StringEntry(keyType(caller, artId), type), StringEntry(keyTags(caller, artId), tags), IntegerEntry(keyMaxMint(caller, artId), 0), IntegerEntry(keyIssued(caller, artId), 0), BooleanEntry(keyOnSale(caller, artId), false), StringEntry(keyHashByTxidAddr(caller, artId), sha256Hash), StringEntry(keyEntitlement(caller, artId), entitlement), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)])
644640 }
645641 }
646642 }
647643 }
648644 else throw("Unknown type")
649645 }
650646
651647
652648
653649 @Callable(i)
654650 func sellArtwork (artId,price,maxMint,assetId,auctionType,duration,royalty) = {
655651 let t02571425747 = idCallerDate(i)
656652 let id = t02571425747._1
657653 let caller = t02571425747._2
658654 let artworkName = getStringByKey(keyName(caller, artId))
659655 if ((0 > royalty))
660656 then throw("Royalty percentage should be above 0")
661657 else if ((royalty > 85))
662658 then throw("Royalty percentage should be below 85")
663659 else if (!(containsElement([auctionType1, auctionType2, auctionType3], auctionType)))
664660 then throw("We don't know this auction type")
665661 else if ((artworkName == ""))
666662 then throw("This art doesn't match your account")
667663 else {
668664 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
669665 if (!(acceptedAssetIds(assetId)))
670666 then throw("Something went wrong!")
671667 else if (!(validateMinSell(assetId, price)))
672668 then throw("Something went wrong!")
673669 else {
674670 let checkUser = validateUser(caller)
675671 if ((checkUser != ""))
676672 then throw(checkUser)
677673 else {
678674 let amountSold = getIntegerByKey(keyIssued(caller, artId))
679675 let maxCanSell = getIntegerByKey(keyMaxMint(caller, artId))
680676 if ((maxMint > 10000))
681677 then throw("10000 editions max per artwork")
682678 else if (if ((amountSold != 0))
683679 then (amountSold == maxCanSell)
684680 else false)
685681 then throw("Max edition reached.")
686682 else if (if ((amountSold > 0))
687683 then (maxCanSell != maxMint)
688684 else false)
689685 then throw("Cannot change maximum issuable anymore")
690686 else if (if ((bidNbr > 0))
691687 then (maxCanSell != maxMint)
692688 else false)
693689 then throw("Cannot change maximum issuable with active orders")
694690 else {
695691 let sellStatus = if (if ((price > 0))
696692 then (maxMint > 0)
697693 else false)
698694 then true
699695 else false
700696 let endHeight = (duration + height)
701697 [BooleanEntry(keyOnSale(caller, artId), sellStatus), IntegerEntry(keyPrice(caller, artId), price), IntegerEntry(keyMaxMint(caller, artId), maxMint), IntegerEntry(keyDuration(caller, artId), duration), IntegerEntry(keyEndHeight(caller, artId), endHeight), StringEntry(keyAssetIdAccepted(caller, artId), assetId), StringEntry(keyAuctionType(caller, artId), auctionType), IntegerEntry(keyRoyalty(caller, artId), royalty)]
702698 }
703699 }
704700 }
705701 }
706702 }
707703
708704
709705
710706 @Callable(i)
711707 func buyArtwork (artId,issuer) = {
712708 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
713709 if ((auctionType == auctionType3))
714710 then buyMint(i, artId, issuer, "", "", false)
715711 else throw("Direct buy only allowed when no auction type is set!")
716712 }
717713
718714
719715
720716 @Callable(i)
721717 func updateTags (artist,artId,tags) = {
722718 let caller = toString(addressFromPublicKey(i.callerPublicKey))
723719 if (containsElement(owners, caller))
724720 then if ((size(split(tags, ",")) > 5))
725721 then throw("5 tags max.")
726722 else {
727723 let tagsOld = getStringByKeyOrError(keyTags(artist, artId), "No tags created with this key, so can't update!")
728724 if ((tags == tagsOld))
729725 then throw("Tags are the same as old tags!")
730726 else [StringEntry(keyTags(artist, artId), tags)]
731727 }
732728 else throw("no")
733729 }
734730
735731
736732
737733 @Callable(i)
738734 func deleteEntry (entry) = {
739735 let caller = toString(addressFromPublicKey(i.callerPublicKey))
740736 if (containsElement(owners, caller))
741737 then [DeleteEntry(entry)]
742738 else throw("no")
743739 }
744740
745741
746742
747743 @Callable(i)
748744 func setBid (artId,issuer) = {
749745 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
750746 if ((auctionType == auctionType1))
751747 then setBidNonTraditional(i, artId, issuer)
752748 else if ((auctionType == auctionType2))
753749 then setBidTraditional(i, artId, issuer)
754750 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
755751 }
756752
757753
758754
759755 @Callable(i)
760756 func acceptBid (artId,issuer,bidId,bidOwner) = {
761757 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
762758 if ((auctionType == auctionType1))
763759 then acceptBidNonTraditional(i, artId, issuer, bidId, bidOwner)
764760 else if ((auctionType == auctionType2))
765761 then acceptBidTraditional(i, artId, issuer, bidId, bidOwner)
766762 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
767763 }
768764
769765
770766
771767 @Callable(i)
772768 func cancelBid (artId,issuer,bidId) = {
773769 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
774770 if ((auctionType == auctionType1))
775771 then cancelBidImpl(i, artId, issuer, bidId)
776772 else cancelBidImplTraditional(i, artId, issuer, bidId)
777773 }
778774
779775

github/deemru/w8io/026f985 
78.88 ms