tx · C9f4Ed4UEj4hr2tRjbsizvTPFP1YHeGAWgouW8RJygCh

3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu:  -0.01000000 Waves

2022.04.13 17:57 [2006951] smart account 3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu > SELF 0.00000000 Waves

{ "type": 13, "id": "C9f4Ed4UEj4hr2tRjbsizvTPFP1YHeGAWgouW8RJygCh", "fee": 1000000, "feeAssetId": null, "timestamp": 1649861875611, "version": 2, "chainId": 84, "sender": "3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu", "senderPublicKey": "914UmzBhcoS4onGGVcBRgb4VPV88m9VCFjsj5WWck5vm", "proofs": [ "3vaiyhkmQSme6e1eqnrUTwxGRStg1m8NCd71K54gV8AuBV3VToRe3wvSMgJQ27pXaJ1D3f86eDJ1mwnMSyPmmB4P" ], "script": "base64:AAIFAAAAAAAAAFgIAhIDCgEIEgMKAQgSBQoDAQgIEgwKCggICAgICAgICAgSDgoMCAEBCAgBCAgIAQEBEgQKAggIEgUKAwgICBIDCgEIEgQKAggIEgYKBAgICAgSBQoDCAgIAAAAUwAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVLZXkCAAAACW9yYWNsZUtleQEAAAAGZ2V0U3RyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAAZvd25lcnMJAARMAAAAAgkABB0AAAACBQAAAAlvcmFjbGVGZWUCAAAABm93bmVyMQkABEwAAAACCQAEHQAAAAIFAAAACW9yYWNsZUZlZQIAAAAGb3duZXI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5cGUyCQEAAAAUYWNjZXB0QmlkVHJhZGl0aW9uYWwAAAAFBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAUAAAAIYmlkT3duZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAFlVua25vd24gYXVjdGlvbiB0eXBlIDoFAAAAC2F1Y3Rpb25UeXBlAgAAABssIHBsZWFzZSBjb250YWN0IHRoZSBhZG1pbnMAAAABaQEAAAAJY2FuY2VsQmlkAAAAAwAAAAVhcnRJZAAAAAZpc3N1ZXIAAAAFYmlkSWQEAAAAC2F1Y3Rpb25UeXBlCQEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABCQEAAAAOa2V5QXVjdGlvblR5cGUAAAACBQAAAAZpc3N1ZXIFAAAABWFydElkAwkAAAAAAAACBQAAAAthdWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUxCQEAAAANY2FuY2VsQmlkSW1wbAAAAAQFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkCQEAAAAYY2FuY2VsQmlkSW1wbFRyYWRpdGlvbmFsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQAAAAA/kRrZg==", "height": 2006951, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7dEFrEspPnskpxMiE7KkxFZNMMpKuvNdva5auwG9uYYb Next: J4hu6oG8ckdoaQuJS7VH15TKgPY8rCqK1Fu2a7tj1gJW Diff:
OldNewDifferences
158158
159159 func getAmountHighestBidByArtId (artId) = {
160160 let bidId = getStringByKey(keyHighestBidBidId(artId))
161- if ((bidId == ""))
162- then 0
163- else getAmountByBidId(bidId)
161+ getAmountByBidId(bidId)
164162 }
165163
166164
236234
237235
238236 func validatePriceAssetId (i,priceAssetId,artworkPrice) = {
239- let t096119647 = isPayment(i)
240- let payment = t096119647._1
241- let amount = t096119647._2
237+ let pData = isPayment(i)
238+ let payment = pData._1
239+ let amount = pData._2
242240 let assetId = if (!(isDefined(payment.assetId)))
243241 then throw("Wrong asset id")
244242 else if (if ((size(priceAssetId) > 0))
247245 then payment.assetId
248246 else throw("Wrong asset id")
249247 if (if ((assetId == unit))
250- then (priceAssetId != "")
251- else false)
248+ then true
249+ else (priceAssetId != ""))
252250 then throw("Wrong asset id")
253251 else if ((artworkPrice != amount))
254252 then throw(((("Payment don't match " + toString(artworkPrice)) + " ") + toString(amount)))
512510 let oldEndHeight = getIntegerByKey(keyEndHeight(issuer, artId))
513511 let duration = getIntegerByKey(keyDuration(issuer, artId))
514512 let endHeight = (duration + height)
515- if ((height > oldEndHeight))
516- then if ((amountSold == maxCanSell))
513+ if ((oldEndHeight >= height))
514+ then throw("Previous auction isn't completed yet")
515+ else if ((amountSold == maxCanSell))
517516 then throw("Can't restart auction, max amount sold")
518517 else [IntegerEntry(keyEndHeight(issuer, artId), endHeight), DeleteEntry(keyHighestBidBidId(artId))]
519- else throw("Previous auction isn't completed yet")
520518 }
521519
522520
523521 func acceptBidTraditional (i,artId,issuer,bidId,bidOwner) = {
524522 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
525523 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
526- if ((height > endHeight))
527- then if ((bidId == highestBidId))
528- then {
524+ if ((endHeight >= height))
525+ then throw("This auction is not yet finished!")
526+ else if ((bidId != highestBidId))
527+ then throw("This is not the winning bid!")
528+ else {
529529 let buyMintData = buyMint(i, artId, issuer, bidId, bidOwner, true)
530530 let restartAuctionData = restartAuction(artId, issuer)
531531 (restartAuctionData ++ buyMintData)
532532 }
533- else throw("This is not the winning bid!")
534- else throw("This auction is not yet finished!")
535533 }
536534
537535
586584
587585
588586 @Callable(i)
589-func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller == this))
590- then {
587+func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller != this))
588+ then throw("Only the dApp can mint NFT's")
589+ else {
591590 let receiveNFTAddy = Address(fromBase58String(receiveNFT))
592591 let issueNFT = Issue(("SCONEX_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
593592 let idNFT = calculateAssetId(issueNFT)
594593 $Tuple2([issueNFT, ScriptTransfer(receiveNFTAddy, 1, idNFT)], toBase58String(idNFT))
595594 }
596- else throw("Only the dApp can mint NFT's")
597595
598596
599597
603601 let artId = t01774017781._1
604602 let caller = t01774017781._2
605603 let date = t01774017781._3
606- if (containsElement(types, type))
607- then {
604+ if (!(containsElement(types, type)))
605+ then throw("Unknown type")
606+ else {
608607 let validateArtwork = validateArtworkData(caller, cidDisplay, name, description, tags)
609608 if ((validateArtwork != ""))
610609 then throw("Something went wrong!")
621620 let invokeCollectionCreate = invoke(valueOrErrorMessage(addressFromString(collectionsDapp), (collectionsDapp + " not found")), "collectionProcess", [collection, subcollection, caller], nil)
622621 if ((invokeCollectionCreate == invokeCollectionCreate))
623622 then {
624- let idCollection = match invokeCollectionCreate {
625- case r: String =>
626- r
627- case _ =>
628- throw("Incorrect invoke result")
629- }
630623 let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller))
631624 if ((entryExist != ""))
632625 then throw("You already added it")
641634 }
642635 }
643636 }
644- else throw("Unknown type")
645637 }
646638
647639
709701 @Callable(i)
710702 func updateTags (artist,artId,tags) = {
711703 let caller = toString(addressFromPublicKey(i.callerPublicKey))
712- if (containsElement(owners, caller))
713- then if ((size(split(tags, ",")) > 5))
704+ if (!(containsElement(owners, caller)))
705+ then throw("no")
706+ else if ((size(split(tags, ",")) > 5))
714707 then throw("5 tags max.")
715708 else {
716709 let tagsOld = getStringByKeyOrError(keyTags(artist, artId), "No tags created with this key, so can't update!")
718711 then throw("Tags are the same as old tags!")
719712 else [StringEntry(keyTags(artist, artId), tags)]
720713 }
721- else throw("no")
722714 }
723715
724716
726718 @Callable(i)
727719 func deleteEntry (entry) = {
728720 let caller = toString(addressFromPublicKey(i.callerPublicKey))
729- if (containsElement(owners, caller))
730- then [DeleteEntry(entry)]
731- else throw("no")
721+ if (!(containsElement(owners, caller)))
722+ then throw("no")
723+ else [DeleteEntry(entry)]
732724 }
733725
734726
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
55
66 let oracleKey = "oracleKey"
77
88 func getStr (key) = match getString(this, key) {
99 case b: String =>
1010 b
1111 case _ =>
1212 ""
1313 }
1414
1515
1616 let oracle = getStr(oracleKey)
1717
1818 let oracleFee = value(addressFromString(oracle))
1919
2020 let owners = [getString(oracleFee, "owner1"), getString(oracleFee, "owner2")]
2121
2222 let collectionsDapp = valueOrErrorMessage(getString(oracleFee, "collectionsDapp"), "collectionDapp not found")
2323
2424 let feeReceiver = valueOrErrorMessage(getString(oracleFee, "feeReceiver"), "feeReceiver not found")
2525
2626 let certDapp = valueOrErrorMessage(getString(oracleFee, "certDapp"), "certDapp not found")
2727
2828 let feeDapp = valueOrErrorMessage(getString(oracleFee, "feeDapp"), "feeDapp not found")
2929
3030 let userDapp = value(addressFromString(valueOrErrorMessage(getString(oracleFee, "userDapp"), "userdapp not found")))
3131
3232 let USDNAssetId = fromBase58String(getStringValue(oracleFee, "USDNAssetId"))
3333
3434 let SconexAssetId = fromBase58String(getStringValue(oracleFee, "SconexAssetId"))
3535
3636 let types = ["IMAGE", "PDF", "VIDEO"]
3737
3838 let Previewtypes = ["PDF"]
3939
4040 let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true)
4141
4242 let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "")
4343
4444 let userSuspended = "SUSPENDED"
4545
4646 let userRemoved = "REMOVED"
4747
4848 let userUnregistered = "UNREGISTERED"
4949
5050 let auctionType1 = "BIDTYPE"
5151
5252 let auctionType2 = "TRADITIONAL"
5353
5454 let auctionType3 = "DIRECT"
5555
5656 func getStringByKeyFromUsers (key) = valueOrElse(getString(userDapp, key), "")
5757
5858
5959 func getStringByKey (key) = valueOrElse(getString(this, key), "")
6060
6161
6262 func getStringByKeyOrError (key,error) = valueOrErrorMessage(getString(this, key), error)
6363
6464
6565 func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
6666
6767
6868 func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0)
6969
7070
7171 func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false)
7272
7373
7474 func validateHash (hash) = (size(hash) == 64)
7575
7676
7777 func keyUserStatus (caller) = ("user_status_" + caller)
7878
7979
8080 func keyDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
8181
8282
8383 func keyName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
8484
8585
8686 func keyDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
8787
8888
8989 func keyDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
9090
9191
9292 func keyPreviewCid (caller,artId) = ((("art_preview_cid_" + artId) + "_") + caller)
9393
9494
9595 func keyMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
9696
9797
9898 func keyHighestBidBidId (artId) = ("art_highestBidBidId_" + artId)
9999
100100
101101 func keyBidId (bidId) = ("bid_" + bidId)
102102
103103
104104 func keyDuration (caller,artId) = ((("art_duration_" + artId) + "_") + caller)
105105
106106
107107 func keyEndHeight (caller,artId) = ((("art_endheight_" + artId) + "_") + caller)
108108
109109
110110 func keyAuctionType (caller,artId) = ((("art_auctiontype_" + artId) + "_") + caller)
111111
112112
113113 func keyIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
114114
115115
116116 func KeyNftIssuer (nftId) = ("nft_issued_" + nftId)
117117
118118
119119 func KeyNftArtId (nftId) = ("nft_artId_" + nftId)
120120
121121
122122 func keyOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
123123
124124
125125 func keyEntitlement (caller,artId) = ((("art_entitlement_" + artId) + "_") + caller)
126126
127127
128128 func keyTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
129129
130130
131131 func keyType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
132132
133133
134134 func keyPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
135135
136136
137137 func keyAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
138138
139139
140140 func keyHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
141141
142142
143143 func keyOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
144144
145145
146146 func keyTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
147147
148148
149149 func keyCollection (caller,artId) = ((("collection_" + artId) + "_") + caller)
150150
151151
152152 let minUSDNPrice = getIntegerByKeyFromOracle(("min_" + toBase58String(USDNAssetId)))
153153
154154 let currentFeeSconex = getIntegerByKeyFromOracle(("fee_" + toBase58String(SconexAssetId)))
155155
156156 func getAmountByBidId (bidId) = valueOrElse(getIntegerByKey(keyBidId(bidId)), 0)
157157
158158
159159 func getAmountHighestBidByArtId (artId) = {
160160 let bidId = getStringByKey(keyHighestBidBidId(artId))
161- if ((bidId == ""))
162- then 0
163- else getAmountByBidId(bidId)
161+ getAmountByBidId(bidId)
164162 }
165163
166164
167165 func validateString (str,max) = if ((size(str) == 0))
168166 then throw("Field cannot be is empty")
169167 else if ((size(str) > max))
170168 then throw((str + " is too long"))
171169 else true
172170
173171
174172 func validateUser (caller) = {
175173 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
176174 if ((userStatus == userUnregistered))
177175 then "Register this account first with 'Account' tab"
178176 else if ((userStatus == userSuspended))
179177 then "Account suspended"
180178 else if ((userStatus == userRemoved))
181179 then "Account removed"
182180 else ""
183181 }
184182
185183
186184 func validateArtworkData (caller,cidDisplay,name,description,tags) = {
187185 let checkUser = validateUser(caller)
188186 if ((checkUser != ""))
189187 then throw(checkUser)
190188 else if ((size(cidDisplay) == 0))
191189 then throw("Display CID cannot be empty")
192190 else if ((size(cidDisplay) != 46))
193191 then throw("This doesn't seem a valid CID!")
194192 else if (!(validateString(name, 100)))
195193 then throw("100 Char. max name")
196194 else if (!(validateString(description, 1000)))
197195 then throw("1000 Char. max description")
198196 else if ((size(split(tags, ",")) > 5))
199197 then throw("5 tags max.")
200198 else ""
201199 }
202200
203201
204202 func isPayment (i) = if ((size(i.payments) == 0))
205203 then throw("No payment attached")
206204 else {
207205 let payment = value(i.payments[0])
208206 let amount = value(payment.amount)
209207 $Tuple2(payment, amount)
210208 }
211209
212210
213211 func validatePayment (i) = {
214212 let t089829018 = isPayment(i)
215213 let payment = t089829018._1
216214 let amount = t089829018._2
217215 let assetId = if (if (isDefined(payment.assetId))
218216 then (payment.assetId == SconexAssetId)
219217 else false)
220218 then payment.assetId
221219 else throw((("Only " + toBase58String(SconexAssetId)) + " token accepted as transaction fee"))
222220 if ((amount != currentFeeSconex))
223221 then throw(((("Payment amount should be " + toString(currentFeeSconex)) + " but is: ") + toString(amount)))
224222 else $Tuple2(amount, assetId)
225223 }
226224
227225
228226 func isArtMinted (addrToUse,artId) = match getInteger(this, keyIssued(addrToUse, artId)) {
229227 case b: Int =>
230228 if ((b != 0))
231229 then true
232230 else false
233231 case _ =>
234232 false
235233 }
236234
237235
238236 func validatePriceAssetId (i,priceAssetId,artworkPrice) = {
239- let t096119647 = isPayment(i)
240- let payment = t096119647._1
241- let amount = t096119647._2
237+ let pData = isPayment(i)
238+ let payment = pData._1
239+ let amount = pData._2
242240 let assetId = if (!(isDefined(payment.assetId)))
243241 then throw("Wrong asset id")
244242 else if (if ((size(priceAssetId) > 0))
245243 then (toBase58String(value(payment.assetId)) == priceAssetId)
246244 else false)
247245 then payment.assetId
248246 else throw("Wrong asset id")
249247 if (if ((assetId == unit))
250- then (priceAssetId != "")
251- else false)
248+ then true
249+ else (priceAssetId != ""))
252250 then throw("Wrong asset id")
253251 else if ((artworkPrice != amount))
254252 then throw(((("Payment don't match " + toString(artworkPrice)) + " ") + toString(amount)))
255253 else $Tuple2(amount, assetId)
256254 }
257255
258256
259257 func acceptedAssetIds (assetId) = if ((assetId != toBase58String(USDNAssetId)))
260258 then throw("Only USDN accepted")
261259 else true
262260
263261
264262 func validateMinSell (assetId,price) = {
265263 let minSellSconex = minUSDNPrice
266264 if (if ((minSellSconex > price))
267265 then true
268266 else (assetId != toBase58String(USDNAssetId)))
269267 then throw(("Wrong minimum sell price " + toString(minSellSconex)))
270268 else true
271269 }
272270
273271
274272 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
275273 then throw("Only USDN is accepted!")
276274 else fromBase58String(assetId)
277275
278276
279277 func getPriceAssetIdFromBid (bidDataKey) = {
280278 let bidData = getStringByKey((bidDataKey + "_OPEN"))
281279 if ((bidData == ""))
282280 then throw("Bid not found")
283281 else {
284282 let bidDataArr = split(bidData, "_")
285283 let bidAmount = parseIntValue(bidDataArr[1])
286284 let bidAssetId = getBidAssetId(bidDataArr[0])
287285 if ((0 >= bidAmount))
288286 then throw("Wrong amount")
289287 else $Tuple2(bidAmount, bidAssetId)
290288 }
291289 }
292290
293291
294292 func idCallerDate (i) = if (!(dappRunning))
295293 then throw(maintenanceMSG)
296294 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
297295
298296
299297 func getArtData (i,issuer,artId,isBid) = {
300298 let callerIsIssuer = (toBase58String(i.caller.bytes) == issuer)
301299 let totalNFT = getIntegerByKey("total_nft_issued")
302300 let artworkName = getStringByKey(keyName(issuer, artId))
303301 if ((artworkName == ""))
304302 then throw("Art doesn't exist")
305303 else {
306304 let isOnSale = getBooleanByKey(keyOnSale(issuer, artId))
307305 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
308306 let artworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), minUSDNPrice)
309307 let priceAssetId = if (callerIsIssuer)
310308 then toBase58String(USDNAssetId)
311309 else getStringByKey(keyAssetIdAccepted(issuer, artId))
312310 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
313311 if (if (if (!(isBid))
314312 then !(callerIsIssuer)
315313 else false)
316314 then if (if ((0 >= artworkPrice))
317315 then true
318316 else !(isOnSale))
319317 then true
320318 else (0 >= maxCanSell)
321319 else false)
322320 then throw("Art not for sale")
323321 else if (if (if (!(isBid))
324322 then callerIsIssuer
325323 else false)
326324 then (0 >= maxCanSell)
327325 else false)
328326 then throw("Max issuable not set")
329327 else $Tuple7(totalNFT, artworkName, amountSold, artworkPrice, priceAssetId, maxCanSell, isOnSale)
330328 }
331329 }
332330
333331
334332 func getBidData (i,caller,issuer,artId,bidOwner,bidId,priceAssetId,artworkPrice,isBid) = {
335333 let checkUser = validateUser(issuer)
336334 if (if (isBid)
337335 then (checkUser != "")
338336 else false)
339337 then throw(checkUser)
340338 else {
341339 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId)
342340 let t01351913648 = if (isBid)
343341 then getPriceAssetIdFromBid(bidDataKey)
344342 else validatePriceAssetId(i, priceAssetId, artworkPrice)
345343 let amount = t01351913648._1
346344 let assetId = t01351913648._2
347345 $Tuple3(bidDataKey, amount, assetId)
348346 }
349347 }
350348
351349
352350 func getIssueData (issuer,artId,artworkName,newAmountSold,maxCanSell,totalNFT,caller,bidOwner,bidId,i,isOnSale) = {
353351 let issueMeta = ((((((((("Creator: " + issuer) + ",ArtID: ") + artId) + ",Artwork name: ") + artworkName) + ",Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell))
354352 let sellStatus = if (if ((newAmountSold == maxCanSell))
355353 then true
356354 else !(isOnSale))
357355 then false
358356 else true
359357 let receiveNFT = if ((bidOwner != ""))
360358 then addressFromStringValue(bidOwner)
361359 else i.caller
362360 $Tuple3(sellStatus, receiveNFT, issueMeta)
363361 }
364362
365363
366364 func getBidKeyVal (assetId,bidDataKey,date) = {
367365 let assetIdBid = if (!(isDefined(assetId)))
368366 then throw("Only USDN is accepted")
369367 else toBase58String(value(assetId))
370368 let bidData = getStringByKey((bidDataKey + "_OPEN"))
371369 let bidDelOld = DeleteEntry((bidDataKey + "_OPEN"))
372370 let bidUpdate = StringEntry((bidDataKey + "_CLOSED"), ((bidData + "_") + toString(date)))
373371 $Tuple3(assetIdBid, bidDelOld, bidUpdate)
374372 }
375373
376374
377375 func buyMint (i,artId,issuer,bidId,bidOwner,isBid) = {
378376 let callerData = idCallerDate(i)
379377 let id = callerData._1
380378 let caller = callerData._2
381379 let date = callerData._3
382380 let artData = getArtData(i, issuer, artId, isBid)
383381 let totalNFT = artData._1
384382 let artworkName = artData._2
385383 let amountSold = artData._3
386384 let artworkPrice = artData._4
387385 let priceAssetId = artData._5
388386 let maxCanSell = artData._6
389387 let isOnSale = artData._7
390388 let bidData = getBidData(i, caller, issuer, artId, bidOwner, bidId, priceAssetId, artworkPrice, isBid)
391389 let bidDataKey = bidData._1
392390 let amount = bidData._2
393391 let assetId = bidData._3
394392 let newAmountSold = if ((amountSold == maxCanSell))
395393 then throw("Max items sold")
396394 else (amountSold + 1)
397395 let issuerData = getIssueData(issuer, artId, artworkName, newAmountSold, maxCanSell, totalNFT, caller, bidOwner, bidId, i, isOnSale)
398396 let sellStatus = issuerData._1
399397 let receiveNFT = issuerData._2
400398 let issueMeta = issuerData._3
401399 let idNFTInvoke = invoke(this, "mintNft", [totalNFT, issueMeta, toString(receiveNFT)], nil)
402400 if ((idNFTInvoke == idNFTInvoke))
403401 then {
404402 let idNFT = match idNFTInvoke {
405403 case r: String =>
406404 r
407405 case _ =>
408406 throw("Incorrect invoke result")
409407 }
410408 let bidKeyValue = getBidKeyVal(assetId, bidDataKey, date)
411409 let assetIdBid = bidKeyValue._1
412410 let bidDelOld = bidKeyValue._2
413411 let bidUpdate = bidKeyValue._3
414412 let soldKey = ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer)
415413 let soldValue = if (!(isBid))
416414 then ((((((((((caller + "_") + toString(date)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + idNFT)
417415 else ((((((((((toString(receiveNFT) + "_") + toString(date)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + idNFT)
418416 let invokeTeamFeeSplit = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "payFee", [artId, issuer], [AttachedPayment(assetId, amount)])
419417 if ((invokeTeamFeeSplit == invokeTeamFeeSplit))
420418 then {
421419 let soldData = StringEntry(soldKey, soldValue)
422420 let buyRes = [IntegerEntry(keyIssued(issuer, artId), newAmountSold), StringEntry(("nft_" + idNFT), soldKey), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyOnSale(issuer, artId), sellStatus), StringEntry(KeyNftIssuer(idNFT), issuer), StringEntry(KeyNftArtId(idNFT), artId)]
423421 let res = invoke(addressFromStringValue(certDapp), "createCert", [toString(receiveNFT), idNFT, issuer], nil)
424422 if ((res == res))
425423 then if (isBid)
426424 then (((buyRes :+ soldData) :+ bidUpdate) :+ bidDelOld)
427425 else soldData :: buyRes
428426 else throw("Strict value is not equal to itself.")
429427 }
430428 else throw("Strict value is not equal to itself.")
431429 }
432430 else throw("Strict value is not equal to itself.")
433431 }
434432
435433
436434 func setBidNonTraditional (i,artId,issuer) = {
437435 let t02770927747 = idCallerDate(i)
438436 let id = t02770927747._1
439437 let caller = t02770927747._2
440438 let date = t02770927747._3
441439 let t02775227788 = isPayment(i)
442440 let payment = t02775227788._1
443441 let amount = t02775227788._2
444442 let assetId = if (!(isDefined(payment.assetId)))
445443 then throw("Only USDN is accepted!")
446444 else toBase58String(value(payment.assetId))
447445 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
448446 if (!(acceptedAssetIds(assetId)))
449447 then throw("asset not accepted")
450448 else {
451449 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
452450 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
453451 if ((0 >= maxCanSell))
454452 then throw("No max edition set for this artwork")
455453 else if ((amountSold >= maxCanSell))
456454 then throw("Sold out, you cannot bid")
457455 else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1))]
458456 }
459457 }
460458
461459
462460 func setBidTraditional (i,artId,issuer) = {
463461 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
464462 let highestBid = getAmountHighestBidByArtId(artId)
465463 if ((height > endHeight))
466464 then throw("This auction is finished already!")
467465 else {
468466 let callderData = idCallerDate(i)
469467 let id = callderData._1
470468 let caller = callderData._2
471469 let date = callderData._3
472470 let isPaymentVar = isPayment(i)
473471 let payment = isPaymentVar._1
474472 let amount = isPaymentVar._2
475473 if ((highestBid >= amount))
476474 then throw(("Please place a bid higher than: " + toString(highestBid)))
477475 else {
478476 let assetId = if (!(isDefined(payment.assetId)))
479477 then throw("Only USDN is accepted!")
480478 else toBase58String(value(payment.assetId))
481479 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
482480 let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), minUSDNPrice)
483481 if (!(acceptedAssetIds(assetId)))
484482 then throw("asset not accepted")
485483 else if ((minArtworkPrice > amount))
486484 then throw("Bid is below min price!")
487485 else {
488486 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
489487 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
490488 if ((0 >= maxCanSell))
491489 then throw("No max edition set for this artwork")
492490 else if ((amountSold >= maxCanSell))
493491 then throw("Sold out, you cannot bid")
494492 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)]
495493 }
496494 }
497495 }
498496 }
499497
500498
501499 func acceptBidNonTraditional (i,artId,issuer,bidId,bidOwner) = {
502500 let caller = toBase58String(i.caller.bytes)
503501 if ((caller != issuer))
504502 then throw("You cannot do this action")
505503 else buyMint(i, artId, issuer, bidId, bidOwner, true)
506504 }
507505
508506
509507 func restartAuction (artId,issuer) = {
510508 let amountSold = getIntegerByKey(keyIssued(issuer, artId))
511509 let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId))
512510 let oldEndHeight = getIntegerByKey(keyEndHeight(issuer, artId))
513511 let duration = getIntegerByKey(keyDuration(issuer, artId))
514512 let endHeight = (duration + height)
515- if ((height > oldEndHeight))
516- then if ((amountSold == maxCanSell))
513+ if ((oldEndHeight >= height))
514+ then throw("Previous auction isn't completed yet")
515+ else if ((amountSold == maxCanSell))
517516 then throw("Can't restart auction, max amount sold")
518517 else [IntegerEntry(keyEndHeight(issuer, artId), endHeight), DeleteEntry(keyHighestBidBidId(artId))]
519- else throw("Previous auction isn't completed yet")
520518 }
521519
522520
523521 func acceptBidTraditional (i,artId,issuer,bidId,bidOwner) = {
524522 let endHeight = getIntegerByKey(keyEndHeight(issuer, artId))
525523 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
526- if ((height > endHeight))
527- then if ((bidId == highestBidId))
528- then {
524+ if ((endHeight >= height))
525+ then throw("This auction is not yet finished!")
526+ else if ((bidId != highestBidId))
527+ then throw("This is not the winning bid!")
528+ else {
529529 let buyMintData = buyMint(i, artId, issuer, bidId, bidOwner, true)
530530 let restartAuctionData = restartAuction(artId, issuer)
531531 (restartAuctionData ++ buyMintData)
532532 }
533- else throw("This is not the winning bid!")
534- else throw("This auction is not yet finished!")
535533 }
536534
537535
538536 func cancelBidImpl (i,artId,issuer,bidId) = {
539537 let t02894229094 = idCallerDate(i)
540538 let id = t02894229094._1
541539 let caller = t02894229094._2
542540 let date = t02894229094._3
543541 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
544542 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
545543 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
546544 let bidDataArr = split(bidData, "_")
547545 let assetId = getBidAssetId(bidDataArr[0])
548546 let bidStatus = "CANCELED"
549547 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
550548 }
551549
552550
553551 func cancelBidImplTraditional (i,artId,issuer,bidId) = {
554552 let t02894229094 = idCallerDate(i)
555553 let id = t02894229094._1
556554 let caller = t02894229094._2
557555 let date = t02894229094._3
558556 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
559557 let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId)
560558 let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found")
561559 let bidDataArr = split(bidData, "_")
562560 let assetId = getBidAssetId(bidDataArr[0])
563561 let bidStatus = "CANCELED"
564562 let bidAmount = parseIntValue(bidDataArr[1])
565563 let highestBidId = getStringByKey(keyHighestBidBidId(artId))
566564 if ((bidId == highestBidId))
567565 then throw("You can't cancel the highest bid!")
568566 else [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), bidAmount, assetId)]
569567 }
570568
571569
572570 @Callable(i)
573571 func initDapp (dappKey) = if ((i.caller != this))
574572 then throw("You cannot do this action")
575573 else if ((oracle != ""))
576574 then throw("oracle already set, you can't override!")
577575 else [StringEntry(oracleKey, dappKey)]
578576
579577
580578
581579 @Callable(i)
582580 func restartAuctionManual (artId) = if ((getAmountHighestBidByArtId(artId) != 0))
583581 then throw("Please accept the highest bid!")
584582 else restartAuction(artId, toBase58String(i.caller.bytes))
585583
586584
587585
588586 @Callable(i)
589-func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller == this))
590- then {
587+func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller != this))
588+ then throw("Only the dApp can mint NFT's")
589+ else {
591590 let receiveNFTAddy = Address(fromBase58String(receiveNFT))
592591 let issueNFT = Issue(("SCONEX_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
593592 let idNFT = calculateAssetId(issueNFT)
594593 $Tuple2([issueNFT, ScriptTransfer(receiveNFTAddy, 1, idNFT)], toBase58String(idNFT))
595594 }
596- else throw("Only the dApp can mint NFT's")
597595
598596
599597
600598 @Callable(i)
601599 func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview,collection,subcollection) = {
602600 let t01774017781 = idCallerDate(i)
603601 let artId = t01774017781._1
604602 let caller = t01774017781._2
605603 let date = t01774017781._3
606- if (containsElement(types, type))
607- then {
604+ if (!(containsElement(types, type)))
605+ then throw("Unknown type")
606+ else {
608607 let validateArtwork = validateArtworkData(caller, cidDisplay, name, description, tags)
609608 if ((validateArtwork != ""))
610609 then throw("Something went wrong!")
611610 else {
612611 let t01817018212 = validatePayment(i)
613612 let amount = t01817018212._1
614613 let assetId = t01817018212._2
615614 if (!(isDefined(amount)))
616615 then throw("Something went wrong")
617616 else {
618617 let previewData = if (containsElement(Previewtypes, type))
619618 then [StringEntry(keyPreviewCid(caller, artId), preview)]
620619 else nil
621620 let invokeCollectionCreate = invoke(valueOrErrorMessage(addressFromString(collectionsDapp), (collectionsDapp + " not found")), "collectionProcess", [collection, subcollection, caller], nil)
622621 if ((invokeCollectionCreate == invokeCollectionCreate))
623622 then {
624- let idCollection = match invokeCollectionCreate {
625- case r: String =>
626- r
627- case _ =>
628- throw("Incorrect invoke result")
629- }
630623 let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller))
631624 if ((entryExist != ""))
632625 then throw("You already added it")
633626 else {
634627 let hashExist = getStringByKey(keyOwnerByHash(sha256Hash))
635628 if ((hashExist != ""))
636629 then throw("This hash is already registered")
637630 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)])
638631 }
639632 }
640633 else throw("Strict value is not equal to itself.")
641634 }
642635 }
643636 }
644- else throw("Unknown type")
645637 }
646638
647639
648640
649641 @Callable(i)
650642 func sellArtwork (artId,price,maxMint,assetId,auctionType,duration,add1,add2,add3,add1Sh,add2Sh,add3Sh) = {
651643 let callData = idCallerDate(i)
652644 let id = callData._1
653645 let caller = callData._2
654646 let amountSold = getIntegerByKey(keyIssued(caller, artId))
655647 let bidNbr = getIntegerByKey(("current_bidamount_" + artId))
656648 if (if ((bidNbr > 0))
657649 then true
658650 else (amountSold > 0))
659651 then throw("There are bids or items sold, you can not edit anything!")
660652 else {
661653 let artworkName = getStringByKey(keyName(caller, artId))
662654 if (!(containsElement([auctionType1, auctionType2, auctionType3], auctionType)))
663655 then throw("We don't know this auction type")
664656 else if ((artworkName == ""))
665657 then throw("This art doesn't match your account")
666658 else if (!(acceptedAssetIds(assetId)))
667659 then throw("Something went wrong!")
668660 else if (!(validateMinSell(assetId, price)))
669661 then throw("Something went wrong!")
670662 else {
671663 let checkUser = validateUser(caller)
672664 if ((checkUser != ""))
673665 then throw(checkUser)
674666 else if ((maxMint > 10000))
675667 then throw("10000 editions max per artwork")
676668 else {
677669 let sellStatus = if ((price > 0))
678670 then (maxMint > 0)
679671 else false
680672 let teamFee = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "teamSplitFee", [artId, feeReceiver, "", "", 15, 0, 0], nil)
681673 if ((teamFee == teamFee))
682674 then {
683675 let creatorFee = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "creatorSplitFee", [artId, add1, add2, add3, add1Sh, add2Sh, add3Sh], nil)
684676 if ((creatorFee == creatorFee))
685677 then {
686678 let endHeight = (duration + height)
687679 [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)]
688680 }
689681 else throw("Strict value is not equal to itself.")
690682 }
691683 else throw("Strict value is not equal to itself.")
692684 }
693685 }
694686 }
695687 }
696688
697689
698690
699691 @Callable(i)
700692 func buyArtwork (artId,issuer) = {
701693 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
702694 if ((auctionType == auctionType3))
703695 then buyMint(i, artId, issuer, "", "", false)
704696 else throw("Direct buy only allowed when no auction type is set!")
705697 }
706698
707699
708700
709701 @Callable(i)
710702 func updateTags (artist,artId,tags) = {
711703 let caller = toString(addressFromPublicKey(i.callerPublicKey))
712- if (containsElement(owners, caller))
713- then if ((size(split(tags, ",")) > 5))
704+ if (!(containsElement(owners, caller)))
705+ then throw("no")
706+ else if ((size(split(tags, ",")) > 5))
714707 then throw("5 tags max.")
715708 else {
716709 let tagsOld = getStringByKeyOrError(keyTags(artist, artId), "No tags created with this key, so can't update!")
717710 if ((tags == tagsOld))
718711 then throw("Tags are the same as old tags!")
719712 else [StringEntry(keyTags(artist, artId), tags)]
720713 }
721- else throw("no")
722714 }
723715
724716
725717
726718 @Callable(i)
727719 func deleteEntry (entry) = {
728720 let caller = toString(addressFromPublicKey(i.callerPublicKey))
729- if (containsElement(owners, caller))
730- then [DeleteEntry(entry)]
731- else throw("no")
721+ if (!(containsElement(owners, caller)))
722+ then throw("no")
723+ else [DeleteEntry(entry)]
732724 }
733725
734726
735727
736728 @Callable(i)
737729 func setBid (artId,issuer) = {
738730 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
739731 if ((auctionType == auctionType1))
740732 then setBidNonTraditional(i, artId, issuer)
741733 else if ((auctionType == auctionType2))
742734 then setBidTraditional(i, artId, issuer)
743735 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
744736 }
745737
746738
747739
748740 @Callable(i)
749741 func acceptBid (artId,issuer,bidId,bidOwner) = {
750742 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
751743 if ((auctionType == auctionType1))
752744 then acceptBidNonTraditional(i, artId, issuer, bidId, bidOwner)
753745 else if ((auctionType == auctionType2))
754746 then acceptBidTraditional(i, artId, issuer, bidId, bidOwner)
755747 else throw((("Unknown auction type :" + auctionType) + ", please contact the admins"))
756748 }
757749
758750
759751
760752 @Callable(i)
761753 func cancelBid (artId,issuer,bidId) = {
762754 let auctionType = getStringByKey(keyAuctionType(issuer, artId))
763755 if ((auctionType == auctionType1))
764756 then cancelBidImpl(i, artId, issuer, bidId)
765757 else cancelBidImplTraditional(i, artId, issuer, bidId)
766758 }
767759
768760

github/deemru/w8io/169f3d6 
93.61 ms