tx · DAPzruchYbhz1khTXujfeUEgaxdSYE9XCJanXDVMugaW

3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy:  -0.01000000 Waves

2021.09.05 14:03 [1689653] smart account 3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
99.55 ms