tx · H1Txgp22vM54LZuseq2zZ58PbeeUMBfRrZjg4oipVobV

3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA:  -0.01000000 Waves

2022.02.04 18:13 [1909040] smart account 3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA > SELF 0.00000000 Waves

{ "type": 13, "id": "H1Txgp22vM54LZuseq2zZ58PbeeUMBfRrZjg4oipVobV", "fee": 1000000, "feeAssetId": null, "timestamp": 1643987584648, "version": 2, "chainId": 84, "sender": "3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA", "senderPublicKey": "9abKuN1XmLjjire2feZH26PmcEWhEXxiHToWSmii3Gn2", "proofs": [ "4sVo56JDxJBXKA4JsBQ628g9ysURULnNCs4pKCnMyNmSpFuPWUMsECB9jVowh6gegZu8J4Wvf5jtbnoZ83Fj54jY" ], "script": "base64:AAIFAAAAAAAAAFAIAhIFCgMBCAgSBQoDCAgIEgwKCggICAgICAgICAgSCQoHCAEBCAgBARIECgIICBIFCgMICAgSAwoBCBIECgIICBIGCgQICAgIEgUKAwgICAAAAFUAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNcFpRanpHb2dtaWZjRUtlOG1EZDZyaWJMN254VDlBQ3llAAAAAAtmZWVSZWNlaXZlcgIAAAAjM042NXhMcThKY0NlYUVpUjFUSlE3ZEJxWEJ2RXk2RTQ4V3oAAAAACGNlcnREYXBwAgAAACMzTXhjWHJOYk1aS1lhU3JoY2ZlTW0yaFpuQmVDdTN5UldzdwAAAAAIdXNlckRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM016djRVSEdSQ0M1S2tuWmI4eDV3ZkZVUXp6cFk5RzRHbjQAAAAADXdoaXRlbGlzdERhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM045eFpZR3B6TUZEWHZYdWN0bVU2elY4cVN6bTJaZkYzMWYA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dWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUxCQEAAAAXYWNjZXB0QmlkTm9uVHJhZGl0aW9uYWwAAAAFBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAUAAAAIYmlkT3duZXIDCQAAAAAAAAIFAAAAC2F1Y3Rpb25UeXBlBQAAAAxhdWN0aW9uVHlwZTIJAQAAABRhY2NlcHRCaWRUcmFkaXRpb25hbAAAAAUFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkBQAAAAhiaWRPd25lcgkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAWVW5rbm93biBhdWN0aW9uIHR5cGUgOgUAAAALYXVjdGlvblR5cGUCAAAAGywgcGxlYXNlIGNvbnRhY3QgdGhlIGFkbWlucwAAAAFpAQAAAAljYW5jZWxCaWQAAAADAAAABWFydElkAAAABmlzc3VlcgAAAAViaWRJZAQAAAALYXVjdGlvblR5cGUJAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEJAQAAAA5rZXlBdWN0aW9uVHlwZQAAAAIFAAAABmlzc3VlcgUAAAAFYXJ0SWQDCQAAAAAAAAIFAAAAC2F1Y3Rpb25UeXBlBQAAAAxhdWN0aW9uVHlwZTEJAQAAAA1jYW5jZWxCaWRJbXBsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQJAQAAABhjYW5jZWxCaWRJbXBsVHJhZGl0aW9uYWwAAAAEBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAAAAAAHyRGk", "height": 1909040, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2thKeXgDHSCegC2Kh6CdA3B3r4kweipv32GrAwPgMiWG Next: 9ptWugCjqJyWRjPojMicMmzqXdr7EipR4SxZbrTKdyzA Diff:
OldNewDifferences
167167 func validateUser (caller) = {
168168 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
169169 if ((userStatus == userUnregistered))
170- then "Register this account first with 'Account' tab"
170+ then throw("Register this account first with 'Account' tab")
171171 else if ((userStatus == userSuspended))
172172 then "Account suspended"
173173 else if ((userStatus == userRemoved))
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"
3535
3636 let auctionType1 = "BIDTYPE"
3737
3838 let auctionType2 = "TRADITIONAL"
3939
4040 let auctionType3 = "DIRECT"
4141
4242 func getStringByKeyFromUsers (key) = valueOrElse(getString(userDapp, key), "")
4343
4444
4545 func getStringByKey (key) = valueOrElse(getString(this, key), "")
4646
4747
4848 func getStringByKeyOrError (key,error) = valueOrErrorMessage(getString(this, key), error)
4949
5050
5151 func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
5252
5353
5454 func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0)
5555
5656
5757 func checkWhitelist (key) = valueOrElse(getInteger(whitelistDapp, key), 0)
5858
5959
6060 func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false)
6161
6262
6363 func validateHash (hash) = (size(hash) == 64)
6464
6565
6666 func keyUserStatus (caller) = ("user_status_" + caller)
6767
6868
6969 func keyDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
7070
7171
7272 func keyName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
7373
7474
7575 func keyDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
7676
7777
7878 func keyDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
7979
8080
8181 func keyPreviewCid (caller,artId) = ((("art_preview_cid_" + artId) + "_") + caller)
8282
8383
8484 func keyMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
8585
8686
8787 func keyHighestBidBidId (artId) = ("art_highestBidBidId_" + artId)
8888
8989
9090 func keyBidId (bidId) = ("bid_" + bidId)
9191
9292
9393 func keyDuration (caller,artId) = ((("art_duration_" + artId) + "_") + caller)
9494
9595
9696 func keyEndHeight (caller,artId) = ((("art_endheight_" + artId) + "_") + caller)
9797
9898
9999 func keyAuctionType (caller,artId) = ((("art_auctiontype_" + artId) + "_") + caller)
100100
101101
102102 func keyIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
103103
104104
105105 func KeyNftIssuer (nftId) = ("nft_issued_" + nftId)
106106
107107
108108 func KeyNftArtId (nftId) = ("nft_artId_" + nftId)
109109
110110
111111 func keyRoyalty (caller,artId) = ((("art_royalty_" + artId) + "_") + caller)
112112
113113
114114 func keyCollection (caller,artId) = ((("collection_" + artId) + "_") + caller)
115115
116116
117117 func keySubcollection (caller,artId) = ((("subcollection_" + artId) + "_") + caller)
118118
119119
120120 func keyOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
121121
122122
123123 func keyEntitlement (caller,artId) = ((("art_entitlement_" + artId) + "_") + caller)
124124
125125
126126 func keyTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
127127
128128
129129 func keyType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
130130
131131
132132 func keyPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
133133
134134
135135 func keyAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
136136
137137
138138 func keyHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
139139
140140
141141 func keyOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
142142
143143
144144 func keyTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
145145
146146
147147 let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(USDNAssetId)))
148148
149149 func getAmountByBidId (bidId) = valueOrElse(getIntegerByKey(keyBidId(bidId)), 0)
150150
151151
152152 func getAmountHighestBidByArtId (artId) = {
153153 let bidId = getStringByKey(keyHighestBidBidId(artId))
154154 if ((bidId == ""))
155155 then 0
156156 else getAmountByBidId(bidId)
157157 }
158158
159159
160160 func validateString (str,max) = if ((size(str) == 0))
161161 then throw("Field cannot be is empty")
162162 else if ((size(str) > max))
163163 then throw((str + " is too long"))
164164 else true
165165
166166
167167 func validateUser (caller) = {
168168 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
169169 if ((userStatus == userUnregistered))
170- then "Register this account first with 'Account' tab"
170+ then throw("Register this account first with 'Account' tab")
171171 else if ((userStatus == userSuspended))
172172 then "Account suspended"
173173 else if ((userStatus == userRemoved))
174174 then "Account removed"
175175 else ""
176176 }
177177
178178
179179 func validateArtworkData (caller,cidDisplay,name,description,tags) = {
180180 let checkUser = validateUser(caller)
181181 if ((checkUser != ""))
182182 then throw(checkUser)
183183 else if ((size(cidDisplay) == 0))
184184 then throw("Display CID cannot be empty")
185185 else if ((size(cidDisplay) != 46))
186186 then throw("This doesn't seem a valid CID!")
187187 else if (!(validateString(name, 100)))
188188 then throw("100 Char. max name")
189189 else if (!(validateString(description, 1000)))
190190 then throw("1000 Char. max description")
191191 else if ((size(split(tags, ",")) > 5))
192192 then throw("5 tags max.")
193193 else ""
194194 }
195195
196196
197197 func isPayment (i) = if ((size(i.payments) == 0))
198198 then throw("No payment attached")
199199 else {
200200 let payment = value(i.payments[0])
201201 let amount = value(payment.amount)
202202 $Tuple2(payment, amount)
203203 }
204204
205205
206206 func validatePayment (i) = {
207207 let t089829018 = isPayment(i)
208208 let payment = t089829018._1
209209 let amount = t089829018._2
210210 let assetId = if (if (isDefined(payment.assetId))
211211 then (payment.assetId == USDNAssetId)
212212 else false)
213213 then payment.assetId
214214 else throw("Only USDN token accepted as transaction fee")
215215 if ((amount != currentCertificationPrice))
216216 then throw(((("Payment amount should be " + toString(currentCertificationPrice)) + " but is: ") + toString(amount)))
217217 else $Tuple2(amount, assetId)
218218 }
219219
220220
221221 func isArtMinted (addrToUse,artId) = match getInteger(this, keyIssued(addrToUse, artId)) {
222222 case b: Int =>
223223 if ((b != 0))
224224 then true
225225 else false
226226 case _ =>
227227 false
228228 }
229229
230230
231231 func validatePriceAssetId (i,priceAssetId,artworkPrice) = {
232232 let t096119647 = isPayment(i)
233233 let payment = t096119647._1
234234 let amount = t096119647._2
235235 let assetId = if (!(isDefined(payment.assetId)))
236236 then throw("Wrong asset id")
237237 else if (if ((size(priceAssetId) > 0))
238238 then (toBase58String(value(payment.assetId)) == priceAssetId)
239239 else false)
240240 then payment.assetId
241241 else throw("Wrong asset id")
242242 if (if ((assetId == unit))
243243 then (priceAssetId != "")
244244 else false)
245245 then throw("Wrong asset id")
246246 else if ((artworkPrice != amount))
247247 then throw(((("Payment don't match " + toString(artworkPrice)) + " ") + toString(amount)))
248248 else $Tuple2(amount, assetId)
249249 }
250250
251251
252252 func acceptedAssetIds (assetId) = if ((assetId != toBase58String(USDNAssetId)))
253253 then throw("Only USDN accepted")
254254 else true
255255
256256
257257 func validateMinSell (assetId,price) = {
258258 let minSellSconex = if (unitTest)
259259 then 1
260260 else (currentCertificationPrice * 2)
261261 if (if (if ((assetId == toBase58String(USDNAssetId)))
262262 then (minSellSconex > price)
263263 else false)
264264 then (price != 0)
265265 else false)
266266 then throw(("Wrong minimum sell price " + toString(minSellSconex)))
267267 else true
268268 }
269269
270270
271271 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
272272 then throw("Only USDN is accepted!")
273273 else fromBase58String(assetId)
274274
275275
276276 func getPriceAssetIdFromBid (bidDataKey) = {
277277 let bidData = getStringByKey((bidDataKey + "_OPEN"))
278278 if ((bidData == ""))
279279 then throw("Bid not found")
280280 else {
281281 let bidDataArr = split(bidData, "_")
282282 let bidAmount = parseIntValue(bidDataArr[1])
283283 let bidAssetId = getBidAssetId(bidDataArr[0])
284284 if ((0 >= bidAmount))
285285 then throw("Wrong amount")
286286 else $Tuple2(bidAmount, bidAssetId)
287287 }
288288 }
289289
290290
291291 func idCallerDate (i) = if (!(dappRunning))
292292 then throw(maintenanceMSG)
293293 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
294294
295295
296296 func isBidCheck (i,issuer,bidOwner,bidId) = if (if (if ((toBase58String(i.caller.bytes) == issuer))
297297 then (bidOwner != "")
298298 else false)
299299 then (bidId != "")
300300 else false)
301301 then true
302302 else false
303303
304304
305305 func getArtData (i,issuer,artId,isBid) = {
306306 let callerIsIssuer = (toBase58String(i.caller.bytes) == issuer)
307307 let totalNFT = getIntegerByKey("total_nft_issued")
308308 let artworkName = getStringByKey(keyName(issuer, artId))
309309 if ((artworkName == ""))
310310 then throw("Art doesn't exist")
311311 else {
312312 let isOnSale = getBooleanByKey(keyOnSale(issuer, artId))
313313 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
314314 let artworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
315315 let priceAssetId = if (callerIsIssuer)
316316 then toBase58String(USDNAssetId)
317317 else getStringByKey(keyAssetIdAccepted(issuer, artId))
318318 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
319319 if (if (if (!(isBid))
320320 then !(callerIsIssuer)
321321 else false)
322322 then if (if ((0 >= artworkPrice))
323323 then true
324324 else !(isOnSale))
325325 then true
326326 else (0 >= maxCanSell)
327327 else false)
328328 then throw("Art not for sale")
329329 else if (if (if (!(isBid))
330330 then callerIsIssuer
331331 else false)
332332 then (0 >= maxCanSell)
333333 else false)
334334 then throw("Max issuable not set")
335335 else $Tuple7(totalNFT, artworkName, amountSold, artworkPrice, priceAssetId, maxCanSell, isOnSale)
336336 }
337337 }
338338
339339
340340 func getBidData (i,caller,issuer,artId,bidOwner,bidId,priceAssetId,artworkPrice,isBid) = {
341341 let checkUser = validateUser(issuer)
342342 if (if (isBid)
343343 then (checkUser != "")
344344 else false)
345345 then throw(checkUser)
346346 else {
347347 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId)
348348 let t01351913648 = if (isBid)
349349 then getPriceAssetIdFromBid(bidDataKey)
350350 else validatePriceAssetId(i, priceAssetId, artworkPrice)
351351 let amount = t01351913648._1
352352 let assetId = t01351913648._2
353353 $Tuple3(bidDataKey, amount, assetId)
354354 }
355355 }
356356
357357
358358 func getCommissionData (issuer,assetId,amount,amountSold,maxCanSell) = {
359359 let isWhitelisted = checkWhitelist(issuer)
360360 let cut = if ((isWhitelisted > height))
361361 then 0
362362 else if ((assetId == USDNAssetId))
363363 then USDNFirstSellCut
364364 else throw("Only USDN is accepted!")
365365 let amountForSconex = fraction(amount, cut, 1000)
366366 let amountForCreator = (amount - amountForSconex)
367367 if ((amountSold == maxCanSell))
368368 then throw("Art sold out")
369369 else {
370370 let newAmountSold = (amountSold + 1)
371371 $Tuple3(amountForSconex, amountForCreator, newAmountSold)
372372 }
373373 }
374374
375375
376376 func getIssueData (issuer,artId,artworkName,newAmountSold,maxCanSell,totalNFT,caller,bidOwner,bidId,i,isOnSale) = {
377377 let issueMeta = ((((((((("Creator: " + issuer) + ",ArtID: ") + artId) + ",Artwork name: ") + artworkName) + ",Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell))
378378 let sellStatus = if (if ((newAmountSold == maxCanSell))
379379 then true
380380 else !(isOnSale))
381381 then false
382382 else true
383383 let receiveNFT = if ((bidOwner != ""))
384384 then addressFromStringValue(bidOwner)
385385 else i.caller
386386 $Tuple3(sellStatus, receiveNFT, issueMeta)
387387 }
388388
389389
390390 func calculateRarity (mintIndex) = if ((4 > mintIndex))
391391 then "SSR"
392392 else if ((11 > mintIndex))
393393 then "SR"
394394 else if ((101 > mintIndex))
395395 then "R"
396396 else "N"
397397
398398
399399 func getBidKeyVal (assetId,bidDataKey,date) = {
400400 let assetIdBid = if (!(isDefined(assetId)))
401401 then throw("Only USDN is accepted")
402402 else toBase58String(value(assetId))
403403 let bidData = getStringByKey((bidDataKey + "_OPEN"))
404404 let bidDelOld = DeleteEntry((bidDataKey + "_OPEN"))
405405 let bidUpdate = StringEntry((bidDataKey + "_CLOSED"), ((bidData + "_") + toString(date)))
406406 $Tuple3(assetIdBid, bidDelOld, bidUpdate)
407407 }
408408
409409
410410 func buyMint (i,artId,issuer,bidId,bidOwner,isBid) = {
411411 let callerData = idCallerDate(i)
412412 let id = callerData._1
413413 let caller = callerData._2
414414 let date = callerData._3
415415 let artData = getArtData(i, issuer, artId, isBid)
416416 let totalNFT = artData._1
417417 let artworkName = artData._2
418418 let amountSold = artData._3
419419 let artworkPrice = artData._4
420420 let priceAssetId = artData._5
421421 let maxCanSell = artData._6
422422 let isOnSale = artData._7
423423 let bidData = getBidData(i, caller, issuer, artId, bidOwner, bidId, priceAssetId, artworkPrice, isBid)
424424 let bidDataKey = bidData._1
425425 let amount = bidData._2
426426 let assetId = bidData._3
427427 let commisionData = getCommissionData(issuer, value(assetId), amount, amountSold, maxCanSell)
428428 let amountForSconex = commisionData._1
429429 let amountForCreator = commisionData._2
430430 let newAmountSold = commisionData._3
431431 let issuerData = getIssueData(issuer, artId, artworkName, newAmountSold, maxCanSell, totalNFT, caller, bidOwner, bidId, i, isOnSale)
432432 let sellStatus = issuerData._1
433433 let receiveNFT = issuerData._2
434434 let issueMeta = issuerData._3
435435 let idNFTInvoke = invoke(this, "mintNft", [totalNFT, issueMeta, toString(receiveNFT)], nil)
436436 if ((idNFTInvoke == idNFTInvoke))
437437 then {
438438 let idNFT = match idNFTInvoke {
439439 case r: String =>
440440 r
441441 case _ =>
442442 throw("Incorrect invoke result")
443443 }
444444 let bidKeyValue = getBidKeyVal(assetId, bidDataKey, date)
445445 let assetIdBid = bidKeyValue._1
446446 let bidDelOld = bidKeyValue._2
447447 let bidUpdate = bidKeyValue._3
448448 let soldKey = ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer)
449449 let rarity = calculateRarity(newAmountSold)
450450 let soldValue = if (!(isBid))
451451 then ((((((((((caller + "_") + toString(date)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + idNFT)
452452 else ((((((((((toString(receiveNFT) + "_") + toString(date)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + idNFT)
453453 let soldData = StringEntry(soldKey, soldValue)
454454 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)]
455455 let res = invoke(addressFromStringValue(certDapp), "createCert", [toString(receiveNFT), idNFT, issuer], nil)
456456 if ((res == res))
457457 then if (isBid)
458458 then (((buyRes :+ soldData) :+ bidUpdate) :+ bidDelOld)
459459 else soldData :: buyRes
460460 else throw("Strict value is not equal to itself.")
461461 }
462462 else throw("Strict value is not equal to itself.")
463463 }
464464
465465
466466 func setBidNonTraditional (i,artId,issuer) = {
467467 let t02770927747 = idCallerDate(i)
468468 let id = t02770927747._1
469469 let caller = t02770927747._2
470470 let date = t02770927747._3
471471 let t02775227788 = isPayment(i)
472472 let payment = t02775227788._1
473473 let amount = t02775227788._2
474474 let assetId = if (!(isDefined(payment.assetId)))
475475 then throw("Only USDN is accepted!")
476476 else toBase58String(value(payment.assetId))
477477 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
478478 let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
479479 if (!(acceptedAssetIds(assetId)))
480480 then throw("asset not accepted")
481481 else {
482482 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
483483 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
484484 if ((0 >= maxCanSell))
485485 then throw("No max edition set for this artwork")
486486 else if ((amountSold >= maxCanSell))
487487 then throw("Sold out, you cannot bid")
488488 else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1))]
489489 }
490490 }
491491
492492
493493 func setBidTraditional (i,artId,issuer) = {
494494 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
495495 let highestBid = getAmountHighestBidByArtId(artId)
496496 if ((height > endHeight))
497497 then throw("This auction is finished already!")
498498 else {
499499 let callderData = idCallerDate(i)
500500 let id = callderData._1
501501 let caller = callderData._2
502502 let date = callderData._3
503503 let isPaymentVar = isPayment(i)
504504 let payment = isPaymentVar._1
505505 let amount = isPaymentVar._2
506506 if ((highestBid >= amount))
507507 then throw(("Please place a bid higher than: " + toString(highestBid)))
508508 else {
509509 let assetId = if (!(isDefined(payment.assetId)))
510510 then throw("Only USDN is accepted!")
511511 else toBase58String(value(payment.assetId))
512512 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
513513 let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), (currentCertificationPrice * 2))
514514 if (!(acceptedAssetIds(assetId)))
515515 then throw("asset not accepted")
516516 else if ((minArtworkPrice > amount))
517517 then throw("Bid is below min price!")
518518 else {
519519 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
520520 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
521521 if ((0 >= maxCanSell))
522522 then throw("No max edition set for this artwork")
523523 else if ((amountSold >= maxCanSell))
524524 then throw("Sold out, you cannot bid")
525525 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)]
526526 }
527527 }
528528 }
529529 }
530530
531531
532532 func acceptBidNonTraditional (i,artId,issuer,bidId,bidOwner) = {
533533 let caller = toBase58String(i.caller.bytes)
534534 if ((caller != issuer))
535535 then throw("You cannot do this action")
536536 else buyMint(i, artId, issuer, bidId, bidOwner, true)
537537 }
538538
539539
540540 func restartAuction (artId,issuer) = {
541541 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
542542 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
543543 let oldEndHeight = getIntegerByKey(keyEndHeight(issuer, artId))
544544 let duration = getIntegerByKey(keyDuration(issuer, artId))
545545 let endHeight = (duration + height)
546546 if ((height > oldEndHeight))
547547 then if ((amountSold == maxCanSell))
548548 then throw("Can't restart auction, max amount sold")
549549 else [IntegerEntry(keyEndHeight(issuer, artId), endHeight), DeleteEntry(keyHighestBidBidId(artId))]
550550 else throw("Previous auction isn't completed yet")
551551 }
552552
553553
554554 func acceptBidTraditional (i,artId,issuer,bidId,bidOwner) = {
555555 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
556556 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
557557 if ((height > endHeight))
558558 then if ((bidId == highestBidId))
559559 then {
560560 let buyMintData = buyMint(i, artId, issuer, bidId, bidOwner, true)
561561 let restartAuctionData = restartAuction(artId, issuer)
562562 (restartAuctionData ++ buyMintData)
563563 }
564564 else throw("This is not the winning bid!")
565565 else throw("This auction is not yet finished!")
566566 }
567567
568568
569569 func cancelBidImpl (i,artId,issuer,bidId) = {
570570 let t02894229094 = idCallerDate(i)
571571 let id = t02894229094._1
572572 let caller = t02894229094._2
573573 let date = t02894229094._3
574574 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
575575 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
576576 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
577577 let bidDataArr = split(bidData, "_")
578578 let assetId = getBidAssetId(bidDataArr[0])
579579 let bidStatus = "CANCELED"
580580 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
581581 }
582582
583583
584584 func collectionProcess (collection,subcollection,caller,artId) = if ((collection == ""))
585585 then throw("Collections can not be empty!")
586586 else if ((subcollection == ""))
587587 then [StringEntry(keyCollection(caller, artId), collection)]
588588 else [StringEntry(keyCollection(caller, artId), collection), StringEntry(keySubcollection(caller, artId), subcollection)]
589589
590590
591591 func cancelBidImplTraditional (i,artId,issuer,bidId) = {
592592 let t02894229094 = idCallerDate(i)
593593 let id = t02894229094._1
594594 let caller = t02894229094._2
595595 let date = t02894229094._3
596596 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
597597 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
598598 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
599599 let bidDataArr = split(bidData, "_")
600600 let assetId = getBidAssetId(bidDataArr[0])
601601 let bidStatus = "CANCELED"
602602 let bidAmount = parseIntValue(bidDataArr[1])
603603 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
604604 if ((bidId == highestBidId))
605605 then throw("You can't cancel the highest bid!")
606606 else [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), bidAmount, assetId)]
607607 }
608608
609609
610610 @Callable(i)
611611 func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller == this))
612612 then {
613613 let receiveNFTAddy = Address(fromBase58String(receiveNFT))
614614 let issueNFT = Issue(("SCONEX_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
615615 let idNFT = calculateAssetId(issueNFT)
616616 $Tuple2([issueNFT, ScriptTransfer(receiveNFTAddy, 1, idNFT)], toBase58String(idNFT))
617617 }
618618 else throw("Only the dApp can mint NFT's")
619619
620620
621621
622622 @Callable(i)
623623 func updateCollection (artId,collection,subcollection) = {
624624 let caller = toBase58String(i.caller.bytes)
625625 let saleKey = keyOnSale(artId, caller)
626626 if (getBooleanValue(saleKey))
627627 then throw("Can not update collection from artwork for sale")
628628 else collectionProcess(collection, subcollection, caller, artId)
629629 }
630630
631631
632632
633633 @Callable(i)
634634 func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview,collection,subcollection) = {
635635 let t01774017781 = idCallerDate(i)
636636 let artId = t01774017781._1
637637 let caller = t01774017781._2
638638 let date = t01774017781._3
639639 if (containsElement(types, type))
640640 then {
641641 let validateArtwork = validateArtworkData(caller, cidDisplay, name, description, tags)
642642 if ((validateArtwork != ""))
643643 then throw("Something went wrong!")
644644 else {
645645 let t01817018212 = validatePayment(i)
646646 let amount = t01817018212._1
647647 let assetId = t01817018212._2
648648 if (!(isDefined(amount)))
649649 then throw("Something went wrong")
650650 else {
651651 let previewData = if (containsElement(Previewtypes, type))
652652 then [StringEntry(keyPreviewCid(caller, artId), preview)]
653653 else nil
654654 let collectionData = collectionProcess(collection, subcollection, caller, artId)
655655 let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller))
656656 if ((entryExist != ""))
657657 then throw("You already added it")
658658 else {
659659 let hashExist = getStringByKey(keyOwnerByHash(sha256Hash))
660660 if ((hashExist != ""))
661661 then throw("This hash is already registered")
662662 else ((previewData ++ collectionData) ++ [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)])
663663 }
664664 }
665665 }
666666 }
667667 else throw("Unknown type")
668668 }
669669
670670
671671
672672 @Callable(i)
673673 func sellArtwork (artId,price,maxMint,assetId,auctionType,duration,royalty) = {
674674 let t02571425747 = idCallerDate(i)
675675 let id = t02571425747._1
676676 let caller = t02571425747._2
677677 let artworkName = getStringByKey(keyName(caller, artId))
678678 if ((0 > royalty))
679679 then throw("Royalty percentage should be above 0")
680680 else if ((royalty > 85))
681681 then throw("Royalty percentage should be below 85")
682682 else if (!(containsElement([auctionType1, auctionType2, auctionType3], auctionType)))
683683 then throw("We don't know this auction type")
684684 else if ((artworkName == ""))
685685 then throw("This art doesn't match your account")
686686 else {
687687 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
688688 if (!(acceptedAssetIds(assetId)))
689689 then throw("Something went wrong!")
690690 else if (!(validateMinSell(assetId, price)))
691691 then throw("Something went wrong!")
692692 else {
693693 let checkUser = validateUser(caller)
694694 if ((checkUser != ""))
695695 then throw(checkUser)
696696 else {
697697 let amountSold = getIntegerByKey(keyIssued(caller, artId))
698698 let maxCanSell = getIntegerByKey(keyMaxMint(caller, artId))
699699 if ((maxMint > 10000))
700700 then throw("10000 editions max per artwork")
701701 else if (if ((amountSold != 0))
702702 then (amountSold == maxCanSell)
703703 else false)
704704 then throw("Max edition reached.")
705705 else if (if ((amountSold > 0))
706706 then (maxCanSell != maxMint)
707707 else false)
708708 then throw("Cannot change maximum issuable anymore")
709709 else if (if ((bidNbr > 0))
710710 then (maxCanSell != maxMint)
711711 else false)
712712 then throw("Cannot change maximum issuable with active orders")
713713 else {
714714 let sellStatus = if (if ((price > 0))
715715 then (maxMint > 0)
716716 else false)
717717 then true
718718 else false
719719 let endHeight = (duration + height)
720720 [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)]
721721 }
722722 }
723723 }
724724 }
725725 }
726726
727727
728728
729729 @Callable(i)
730730 func buyArtwork (artId,issuer) = {
731731 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
732732 if ((auctionType == auctionType3))
733733 then buyMint(i, artId, issuer, "", "", false)
734734 else throw("Direct buy only allowed when no auction type is set!")
735735 }
736736
737737
738738
739739 @Callable(i)
740740 func updateTags (artist,artId,tags) = {
741741 let caller = toString(addressFromPublicKey(i.callerPublicKey))
742742 if (containsElement(owners, caller))
743743 then if ((size(split(tags, ",")) > 5))
744744 then throw("5 tags max.")
745745 else {
746746 let tagsOld = getStringByKeyOrError(keyTags(artist, artId), "No tags created with this key, so can't update!")
747747 if ((tags == tagsOld))
748748 then throw("Tags are the same as old tags!")
749749 else [StringEntry(keyTags(artist, artId), tags)]
750750 }
751751 else throw("no")
752752 }
753753
754754
755755
756756 @Callable(i)
757757 func deleteEntry (entry) = {
758758 let caller = toString(addressFromPublicKey(i.callerPublicKey))
759759 if (containsElement(owners, caller))
760760 then [DeleteEntry(entry)]
761761 else throw("no")
762762 }
763763
764764
765765
766766 @Callable(i)
767767 func setBid (artId,issuer) = {
768768 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
769769 if ((auctionType == auctionType1))
770770 then setBidNonTraditional(i, artId, issuer)
771771 else if ((auctionType == auctionType2))
772772 then setBidTraditional(i, artId, issuer)
773773 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
774774 }
775775
776776
777777
778778 @Callable(i)
779779 func acceptBid (artId,issuer,bidId,bidOwner) = {
780780 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
781781 if ((auctionType == auctionType1))
782782 then acceptBidNonTraditional(i, artId, issuer, bidId, bidOwner)
783783 else if ((auctionType == auctionType2))
784784 then acceptBidTraditional(i, artId, issuer, bidId, bidOwner)
785785 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
786786 }
787787
788788
789789
790790 @Callable(i)
791791 func cancelBid (artId,issuer,bidId) = {
792792 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
793793 if ((auctionType == auctionType1))
794794 then cancelBidImpl(i, artId, issuer, bidId)
795795 else cancelBidImplTraditional(i, artId, issuer, bidId)
796796 }
797797
798798

github/deemru/w8io/026f985 
79.92 ms