tx · 6PiPwN2MoTGKS6Z5CoGu3JCH5awT1zaBqTxQWJzvbWZT 3N4eUpjgRHQ2u9tVWozQ4wnvwPzYm1MkGAw: -0.01000000 Waves 2022.04.27 00:30 [2025988] smart account 3N4eUpjgRHQ2u9tVWozQ4wnvwPzYm1MkGAw > SELF 0.00000000 Waves
{ "type": 13, "id": "6PiPwN2MoTGKS6Z5CoGu3JCH5awT1zaBqTxQWJzvbWZT", "fee": 1000000, "feeAssetId": null, "timestamp": 1651008636955, "version": 2, "chainId": 84, "sender": "3N4eUpjgRHQ2u9tVWozQ4wnvwPzYm1MkGAw", "senderPublicKey": "CNL7CW5Q5rUjzxknSfQkV6UQBHW5QbR5miz6HRdZW1mb", "proofs": [ "5tNrZyzMuGLepRk7TFChcRPDEwuntiePQQSba3AkM9gr6bgshL8VpHFx2KQ91MfN8DVJ5unHfAXFh1NnSJKVvtpo" ], "script": "base64:AAIFAAAAAAAAAFgIAhIDCgEIEgMKAQgSBQoDAQgIEgwKCggICAgICAgICAgSDgoMCAEBCAgBCAgIAQEBEgQKAggIEgUKAwgICBIDCgEIEgQKAggIEgYKBAgICAgSBQoDCAgIAAAAVAAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVLZXkCAAAACW9yYWNsZUtleQEAAAAGZ2V0U3RyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAAZvd25lcnMJAARMAAAAAgkABB0AAAACBQAAAAlvcmFjbGVGZWUCAAAABm93bmVyMQkABEwAAAACCQAEHQAAAAIFAAAACW9yYWNsZUZ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AAIFAAAABmlzc3VlcgUAAAAFYXJ0SWQDCQAAAAAAAAIFAAAAC2F1Y3Rpb25UeXBlBQAAAAxhdWN0aW9uVHlwZTEJAQAAAA1jYW5jZWxCaWRJbXBsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQJAQAAABhjYW5jZWxCaWRJbXBsVHJhZGl0aW9uYWwAAAAEBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAAAAAD5C2Qb", "height": 2025988, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let unitTest = false | |
5 | + | ||
6 | + | let oracleKey = "oracleKey" | |
7 | + | ||
8 | + | func getStr (key) = match getString(this, key) { | |
9 | + | case b: String => | |
10 | + | b | |
11 | + | case _ => | |
12 | + | "" | |
13 | + | } | |
14 | + | ||
15 | + | ||
16 | + | let oracle = getStr(oracleKey) | |
17 | + | ||
18 | + | let oracleFee = value(addressFromString(oracle)) | |
19 | + | ||
20 | + | let owners = [getString(oracleFee, "owner1"), getString(oracleFee, "owner2")] | |
21 | + | ||
22 | + | let collectionsDapp = valueOrErrorMessage(getString(oracleFee, "collectionsDapp"), "collectionDapp not found") | |
23 | + | ||
24 | + | let feeReceiver = valueOrErrorMessage(getString(oracleFee, "feeReceiver"), "feeReceiver not found") | |
25 | + | ||
26 | + | let certDapp = valueOrErrorMessage(getString(oracleFee, "certDapp"), "certDapp not found") | |
27 | + | ||
28 | + | let feeDapp = valueOrErrorMessage(getString(oracleFee, "feeDapp"), "feeDapp not found") | |
29 | + | ||
30 | + | let userDapp = value(addressFromString(valueOrErrorMessage(getString(oracleFee, "userDapp"), "userdapp not found"))) | |
31 | + | ||
32 | + | let stakeDapp = addressFromString(valueOrErrorMessage(getString(oracleFee, "stakeDapp"), "sconexDapp not found")) | |
33 | + | ||
34 | + | let USDNAssetId = fromBase58String(getStringValue(oracleFee, "USDNAssetId")) | |
35 | + | ||
36 | + | let SconexAssetId = fromBase58String(getStringValue(oracleFee, "SconexAssetId")) | |
37 | + | ||
38 | + | let types = ["IMAGE", "PDF", "VIDEO"] | |
39 | + | ||
40 | + | let Previewtypes = ["PDF"] | |
41 | + | ||
42 | + | let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true) | |
43 | + | ||
44 | + | let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "") | |
45 | + | ||
46 | + | let userSuspended = "SUSPENDED" | |
47 | + | ||
48 | + | let userRemoved = "REMOVED" | |
49 | + | ||
50 | + | let userUnregistered = "UNREGISTERED" | |
51 | + | ||
52 | + | let auctionType1 = "BIDTYPE" | |
53 | + | ||
54 | + | let auctionType2 = "TRADITIONAL" | |
55 | + | ||
56 | + | let auctionType3 = "DIRECT" | |
57 | + | ||
58 | + | func getStringByKeyFromUsers (key) = valueOrElse(getString(userDapp, key), "") | |
59 | + | ||
60 | + | ||
61 | + | func getStringByKey (key) = valueOrElse(getString(this, key), "") | |
62 | + | ||
63 | + | ||
64 | + | func getStringByKeyOrError (key,error) = valueOrErrorMessage(getString(this, key), error) | |
65 | + | ||
66 | + | ||
67 | + | func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle") | |
68 | + | ||
69 | + | ||
70 | + | func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0) | |
71 | + | ||
72 | + | ||
73 | + | func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false) | |
74 | + | ||
75 | + | ||
76 | + | func validateHash (hash) = (size(hash) == 64) | |
77 | + | ||
78 | + | ||
79 | + | func keyUserStatus (caller) = ("user_status_" + caller) | |
80 | + | ||
81 | + | ||
82 | + | func keyDate (caller,artId) = ((("art_date_" + artId) + "_") + caller) | |
83 | + | ||
84 | + | ||
85 | + | func keyName (caller,artId) = ((("art_name_" + artId) + "_") + caller) | |
86 | + | ||
87 | + | ||
88 | + | func keyDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller) | |
89 | + | ||
90 | + | ||
91 | + | func keyDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller) | |
92 | + | ||
93 | + | ||
94 | + | func keyPreviewCid (caller,artId) = ((("art_preview_cid_" + artId) + "_") + caller) | |
95 | + | ||
96 | + | ||
97 | + | func keyMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller) | |
98 | + | ||
99 | + | ||
100 | + | func keyHighestBidBidId (artId) = ("art_highestBidBidId_" + artId) | |
101 | + | ||
102 | + | ||
103 | + | func keyBidId (bidId) = ("bid_" + bidId) | |
104 | + | ||
105 | + | ||
106 | + | func keyDuration (caller,artId) = ((("art_duration_" + artId) + "_") + caller) | |
107 | + | ||
108 | + | ||
109 | + | func keyEndHeight (caller,artId) = ((("art_endheight_" + artId) + "_") + caller) | |
110 | + | ||
111 | + | ||
112 | + | func keyAuctionType (caller,artId) = ((("art_auctiontype_" + artId) + "_") + caller) | |
113 | + | ||
114 | + | ||
115 | + | func keyIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller) | |
116 | + | ||
117 | + | ||
118 | + | func KeyNftIssuer (nftId) = ("nft_issued_" + nftId) | |
119 | + | ||
120 | + | ||
121 | + | func KeyNftArtId (nftId) = ("nft_artId_" + nftId) | |
122 | + | ||
123 | + | ||
124 | + | func keyOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller) | |
125 | + | ||
126 | + | ||
127 | + | func keyEntitlement (caller,artId) = ((("art_entitlement_" + artId) + "_") + caller) | |
128 | + | ||
129 | + | ||
130 | + | func keyTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller) | |
131 | + | ||
132 | + | ||
133 | + | func keyType (caller,artId) = ((("art_type_" + artId) + "_") + caller) | |
134 | + | ||
135 | + | ||
136 | + | func keyPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller) | |
137 | + | ||
138 | + | ||
139 | + | func keyAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller) | |
140 | + | ||
141 | + | ||
142 | + | func keyHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller) | |
143 | + | ||
144 | + | ||
145 | + | func keyOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash) | |
146 | + | ||
147 | + | ||
148 | + | func keyTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller))))) | |
149 | + | ||
150 | + | ||
151 | + | func keyCollection (caller,artId) = ((("collection_" + artId) + "_") + caller) | |
152 | + | ||
153 | + | ||
154 | + | let minUSDNPrice = getIntegerByKeyFromOracle(("min_" + toBase58String(USDNAssetId))) | |
155 | + | ||
156 | + | let currentFeeSconex = getIntegerByKeyFromOracle(("fee_" + toBase58String(SconexAssetId))) | |
157 | + | ||
158 | + | func getAmountByBidId (bidId) = valueOrElse(getIntegerByKey(keyBidId(bidId)), 0) | |
159 | + | ||
160 | + | ||
161 | + | func getAmountHighestBidByArtId (artId) = { | |
162 | + | let bidId = getStringByKey(keyHighestBidBidId(artId)) | |
163 | + | getAmountByBidId(bidId) | |
164 | + | } | |
165 | + | ||
166 | + | ||
167 | + | func validateString (str,max) = if ((size(str) == 0)) | |
168 | + | then throw("Field cannot be is empty") | |
169 | + | else if ((size(str) > max)) | |
170 | + | then throw((str + " is too long")) | |
171 | + | else true | |
172 | + | ||
173 | + | ||
174 | + | func validateUser (caller) = { | |
175 | + | let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered) | |
176 | + | if ((userStatus == userUnregistered)) | |
177 | + | then "Register this account first with 'Account' tab" | |
178 | + | else if ((userStatus == userSuspended)) | |
179 | + | then "Account suspended" | |
180 | + | else if ((userStatus == userRemoved)) | |
181 | + | then "Account removed" | |
182 | + | else "" | |
183 | + | } | |
184 | + | ||
185 | + | ||
186 | + | func validateArtworkData (caller,cidDisplay,name,description,tags) = { | |
187 | + | let checkUser = validateUser(caller) | |
188 | + | if ((checkUser != "")) | |
189 | + | then throw(checkUser) | |
190 | + | else if ((size(cidDisplay) == 0)) | |
191 | + | then throw("Display CID cannot be empty") | |
192 | + | else if ((size(cidDisplay) != 46)) | |
193 | + | then throw("This doesn't seem a valid CID!") | |
194 | + | else if (!(validateString(name, 100))) | |
195 | + | then throw("100 Char. max name") | |
196 | + | else if (!(validateString(description, 1000))) | |
197 | + | then throw("1000 Char. max description") | |
198 | + | else if ((size(split(tags, ",")) > 5)) | |
199 | + | then throw("5 tags max.") | |
200 | + | else "" | |
201 | + | } | |
202 | + | ||
203 | + | ||
204 | + | func isPayment (i) = if ((size(i.payments) == 0)) | |
205 | + | then throw("No payment attached") | |
206 | + | else { | |
207 | + | let payment = value(i.payments[0]) | |
208 | + | let amount = value(payment.amount) | |
209 | + | $Tuple2(payment, amount) | |
210 | + | } | |
211 | + | ||
212 | + | ||
213 | + | func validatePayment (i) = { | |
214 | + | let t089829018 = isPayment(i) | |
215 | + | let payment = t089829018._1 | |
216 | + | let amount = t089829018._2 | |
217 | + | let assetId = if (if (isDefined(payment.assetId)) | |
218 | + | then (payment.assetId == SconexAssetId) | |
219 | + | else false) | |
220 | + | then payment.assetId | |
221 | + | else throw((("Only " + toBase58String(SconexAssetId)) + " token accepted as transaction fee")) | |
222 | + | if ((amount != currentFeeSconex)) | |
223 | + | then throw(((("Payment amount should be " + toString(currentFeeSconex)) + " but is: ") + toString(amount))) | |
224 | + | else $Tuple2(amount, assetId) | |
225 | + | } | |
226 | + | ||
227 | + | ||
228 | + | func isArtMinted (addrToUse,artId) = match getInteger(this, keyIssued(addrToUse, artId)) { | |
229 | + | case b: Int => | |
230 | + | if ((b != 0)) | |
231 | + | then true | |
232 | + | else false | |
233 | + | case _ => | |
234 | + | false | |
235 | + | } | |
236 | + | ||
237 | + | ||
238 | + | func validatePriceAssetId (i,priceAssetId,artworkPrice) = { | |
239 | + | let pData = isPayment(i) | |
240 | + | let payment = pData._1 | |
241 | + | let amount = pData._2 | |
242 | + | let assetId = if (!(isDefined(payment.assetId))) | |
243 | + | then throw("Wrong asset id") | |
244 | + | else if (if ((size(priceAssetId) > 0)) | |
245 | + | then (toBase58String(value(payment.assetId)) == priceAssetId) | |
246 | + | else false) | |
247 | + | then payment.assetId | |
248 | + | else throw("Wrong asset id") | |
249 | + | if (if ((assetId == unit)) | |
250 | + | then true | |
251 | + | else (priceAssetId != "")) | |
252 | + | then throw("Wrong asset id") | |
253 | + | else if ((artworkPrice != amount)) | |
254 | + | then throw(((("Payment don't match " + toString(artworkPrice)) + " ") + toString(amount))) | |
255 | + | else $Tuple2(amount, assetId) | |
256 | + | } | |
257 | + | ||
258 | + | ||
259 | + | func acceptedAssetIds (assetId) = if ((assetId != toBase58String(USDNAssetId))) | |
260 | + | then throw("Only USDN accepted") | |
261 | + | else true | |
262 | + | ||
263 | + | ||
264 | + | func validateMinSell (assetId,price) = { | |
265 | + | let minSellSconex = minUSDNPrice | |
266 | + | if (if ((minSellSconex > price)) | |
267 | + | then true | |
268 | + | else (assetId != toBase58String(USDNAssetId))) | |
269 | + | then throw(("Wrong minimum sell price " + toString(minSellSconex))) | |
270 | + | else true | |
271 | + | } | |
272 | + | ||
273 | + | ||
274 | + | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
275 | + | then throw("Only USDN is accepted!") | |
276 | + | else fromBase58String(assetId) | |
277 | + | ||
278 | + | ||
279 | + | func getPriceAssetIdFromBid (bidDataKey) = { | |
280 | + | let bidData = getStringByKey((bidDataKey + "_OPEN")) | |
281 | + | if ((bidData == "")) | |
282 | + | then throw("Bid not found") | |
283 | + | else { | |
284 | + | let bidDataArr = split(bidData, "_") | |
285 | + | let bidAmount = parseIntValue(bidDataArr[1]) | |
286 | + | let bidAssetId = getBidAssetId(bidDataArr[0]) | |
287 | + | if ((0 >= bidAmount)) | |
288 | + | then throw("Wrong amount") | |
289 | + | else $Tuple2(bidAmount, bidAssetId) | |
290 | + | } | |
291 | + | } | |
292 | + | ||
293 | + | ||
294 | + | func idCallerDate (i) = if (!(dappRunning)) | |
295 | + | then throw(maintenanceMSG) | |
296 | + | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
297 | + | ||
298 | + | ||
299 | + | func getArtData (i,issuer,artId,isBid) = { | |
300 | + | let callerIsIssuer = (toBase58String(i.caller.bytes) == issuer) | |
301 | + | let totalNFT = getIntegerByKey("total_nft_issued") | |
302 | + | let artworkName = getStringByKey(keyName(issuer, artId)) | |
303 | + | if ((artworkName == "")) | |
304 | + | then throw("Art doesn't exist") | |
305 | + | else { | |
306 | + | let isOnSale = getBooleanByKey(keyOnSale(issuer, artId)) | |
307 | + | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
308 | + | let artworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), minUSDNPrice) | |
309 | + | let priceAssetId = if (callerIsIssuer) | |
310 | + | then toBase58String(USDNAssetId) | |
311 | + | else getStringByKey(keyAssetIdAccepted(issuer, artId)) | |
312 | + | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
313 | + | if (if (if (!(isBid)) | |
314 | + | then !(callerIsIssuer) | |
315 | + | else false) | |
316 | + | then if (if ((0 >= artworkPrice)) | |
317 | + | then true | |
318 | + | else !(isOnSale)) | |
319 | + | then true | |
320 | + | else (0 >= maxCanSell) | |
321 | + | else false) | |
322 | + | then throw("Art not for sale") | |
323 | + | else if (if (if (!(isBid)) | |
324 | + | then callerIsIssuer | |
325 | + | else false) | |
326 | + | then (0 >= maxCanSell) | |
327 | + | else false) | |
328 | + | then throw("Max issuable not set") | |
329 | + | else $Tuple7(totalNFT, artworkName, amountSold, artworkPrice, priceAssetId, maxCanSell, isOnSale) | |
330 | + | } | |
331 | + | } | |
332 | + | ||
333 | + | ||
334 | + | func getBidData (i,caller,issuer,artId,bidOwner,bidId,priceAssetId,artworkPrice,isBid) = { | |
335 | + | let checkUser = validateUser(issuer) | |
336 | + | if (if (isBid) | |
337 | + | then (checkUser != "") | |
338 | + | else false) | |
339 | + | then throw(checkUser) | |
340 | + | else { | |
341 | + | let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId) | |
342 | + | let t01351913648 = if (isBid) | |
343 | + | then getPriceAssetIdFromBid(bidDataKey) | |
344 | + | else validatePriceAssetId(i, priceAssetId, artworkPrice) | |
345 | + | let amount = t01351913648._1 | |
346 | + | let assetId = t01351913648._2 | |
347 | + | $Tuple3(bidDataKey, amount, assetId) | |
348 | + | } | |
349 | + | } | |
350 | + | ||
351 | + | ||
352 | + | func getIssueData (issuer,artId,artworkName,newAmountSold,maxCanSell,totalNFT,caller,bidOwner,bidId,i,isOnSale) = { | |
353 | + | let issueMeta = ((((((((("Creator: " + issuer) + ",ArtID: ") + artId) + ",Artwork name: ") + artworkName) + ",Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell)) | |
354 | + | let sellStatus = if (if ((newAmountSold == maxCanSell)) | |
355 | + | then true | |
356 | + | else !(isOnSale)) | |
357 | + | then false | |
358 | + | else true | |
359 | + | let receiveNFT = if ((bidOwner != "")) | |
360 | + | then addressFromStringValue(bidOwner) | |
361 | + | else i.caller | |
362 | + | $Tuple3(sellStatus, receiveNFT, issueMeta) | |
363 | + | } | |
364 | + | ||
365 | + | ||
366 | + | func getBidKeyVal (assetId,bidDataKey,date) = { | |
367 | + | let assetIdBid = if (!(isDefined(assetId))) | |
368 | + | then throw("Only USDN is accepted") | |
369 | + | else toBase58String(value(assetId)) | |
370 | + | let bidData = getStringByKey((bidDataKey + "_OPEN")) | |
371 | + | let bidDelOld = DeleteEntry((bidDataKey + "_OPEN")) | |
372 | + | let bidUpdate = StringEntry((bidDataKey + "_CLOSED"), ((bidData + "_") + toString(date))) | |
373 | + | $Tuple3(assetIdBid, bidDelOld, bidUpdate) | |
374 | + | } | |
375 | + | ||
376 | + | ||
377 | + | func buyMint (i,artId,issuer,bidId,bidOwner,isBid) = { | |
378 | + | let callerData = idCallerDate(i) | |
379 | + | let id = callerData._1 | |
380 | + | let caller = callerData._2 | |
381 | + | let date = callerData._3 | |
382 | + | let artData = getArtData(i, issuer, artId, isBid) | |
383 | + | let totalNFT = artData._1 | |
384 | + | let artworkName = artData._2 | |
385 | + | let amountSold = artData._3 | |
386 | + | let artworkPrice = artData._4 | |
387 | + | let priceAssetId = artData._5 | |
388 | + | let maxCanSell = artData._6 | |
389 | + | let isOnSale = artData._7 | |
390 | + | let bidData = getBidData(i, caller, issuer, artId, bidOwner, bidId, priceAssetId, artworkPrice, isBid) | |
391 | + | let bidDataKey = bidData._1 | |
392 | + | let amount = bidData._2 | |
393 | + | let assetId = bidData._3 | |
394 | + | let newAmountSold = if ((amountSold == maxCanSell)) | |
395 | + | then throw("Max items sold") | |
396 | + | else (amountSold + 1) | |
397 | + | let issuerData = getIssueData(issuer, artId, artworkName, newAmountSold, maxCanSell, totalNFT, caller, bidOwner, bidId, i, isOnSale) | |
398 | + | let sellStatus = issuerData._1 | |
399 | + | let receiveNFT = issuerData._2 | |
400 | + | let issueMeta = issuerData._3 | |
401 | + | let idNFTInvoke = invoke(this, "mintNft", [totalNFT, issueMeta, toString(receiveNFT)], nil) | |
402 | + | if ((idNFTInvoke == idNFTInvoke)) | |
403 | + | then { | |
404 | + | let idNFT = match idNFTInvoke { | |
405 | + | case r: String => | |
406 | + | r | |
407 | + | case _ => | |
408 | + | throw("Incorrect invoke result") | |
409 | + | } | |
410 | + | let bidKeyValue = getBidKeyVal(assetId, bidDataKey, date) | |
411 | + | let assetIdBid = bidKeyValue._1 | |
412 | + | let bidDelOld = bidKeyValue._2 | |
413 | + | let bidUpdate = bidKeyValue._3 | |
414 | + | let soldKey = ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer) | |
415 | + | let soldValue = if (!(isBid)) | |
416 | + | then ((((((((((caller + "_") + toString(date)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + idNFT) | |
417 | + | else ((((((((((toString(receiveNFT) + "_") + toString(date)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + idNFT) | |
418 | + | let invokeTeamFeeSplit = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "payFee", [artId, issuer], [AttachedPayment(assetId, amount)]) | |
419 | + | if ((invokeTeamFeeSplit == invokeTeamFeeSplit)) | |
420 | + | then { | |
421 | + | let soldData = StringEntry(soldKey, soldValue) | |
422 | + | 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)] | |
423 | + | let res = invoke(addressFromStringValue(certDapp), "createCert", [toString(receiveNFT), idNFT, issuer], nil) | |
424 | + | if ((res == res)) | |
425 | + | then if (isBid) | |
426 | + | then (((buyRes :+ soldData) :+ bidUpdate) :+ bidDelOld) | |
427 | + | else soldData :: buyRes | |
428 | + | else throw("Strict value is not equal to itself.") | |
429 | + | } | |
430 | + | else throw("Strict value is not equal to itself.") | |
431 | + | } | |
432 | + | else throw("Strict value is not equal to itself.") | |
433 | + | } | |
434 | + | ||
435 | + | ||
436 | + | func setBidNonTraditional (i,artId,issuer) = { | |
437 | + | let t02770927747 = idCallerDate(i) | |
438 | + | let id = t02770927747._1 | |
439 | + | let caller = t02770927747._2 | |
440 | + | let date = t02770927747._3 | |
441 | + | let t02775227788 = isPayment(i) | |
442 | + | let payment = t02775227788._1 | |
443 | + | let amount = t02775227788._2 | |
444 | + | let assetId = if (!(isDefined(payment.assetId))) | |
445 | + | then throw("Only USDN is accepted!") | |
446 | + | else toBase58String(value(payment.assetId)) | |
447 | + | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
448 | + | if (!(acceptedAssetIds(assetId))) | |
449 | + | then throw("asset not accepted") | |
450 | + | else { | |
451 | + | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
452 | + | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
453 | + | if ((0 >= maxCanSell)) | |
454 | + | then throw("No max edition set for this artwork") | |
455 | + | else if ((amountSold >= maxCanSell)) | |
456 | + | then throw("Sold out, you cannot bid") | |
457 | + | else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1))] | |
458 | + | } | |
459 | + | } | |
460 | + | ||
461 | + | ||
462 | + | func setBidTraditional (i,artId,issuer) = { | |
463 | + | let endHeight = getIntegerByKey(keyEndHeight(issuer, artId)) | |
464 | + | let highestBid = getAmountHighestBidByArtId(artId) | |
465 | + | if ((height > endHeight)) | |
466 | + | then throw("This auction is finished already!") | |
467 | + | else { | |
468 | + | let callderData = idCallerDate(i) | |
469 | + | let id = callderData._1 | |
470 | + | let caller = callderData._2 | |
471 | + | let date = callderData._3 | |
472 | + | let isPaymentVar = isPayment(i) | |
473 | + | let payment = isPaymentVar._1 | |
474 | + | let amount = isPaymentVar._2 | |
475 | + | if ((highestBid >= amount)) | |
476 | + | then throw(("Please place a bid higher than: " + toString(highestBid))) | |
477 | + | else { | |
478 | + | let assetId = if (!(isDefined(payment.assetId))) | |
479 | + | then throw("Only USDN is accepted!") | |
480 | + | else toBase58String(value(payment.assetId)) | |
481 | + | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
482 | + | let minArtworkPrice = valueOrElse(getIntegerByKey(keyPrice(issuer, artId)), minUSDNPrice) | |
483 | + | if (!(acceptedAssetIds(assetId))) | |
484 | + | then throw("asset not accepted") | |
485 | + | else if ((minArtworkPrice > amount)) | |
486 | + | then throw("Bid is below min price!") | |
487 | + | else { | |
488 | + | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
489 | + | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
490 | + | if ((0 >= maxCanSell)) | |
491 | + | then throw("No max edition set for this artwork") | |
492 | + | else if ((amountSold >= maxCanSell)) | |
493 | + | then throw("Sold out, you cannot bid") | |
494 | + | 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)] | |
495 | + | } | |
496 | + | } | |
497 | + | } | |
498 | + | } | |
499 | + | ||
500 | + | ||
501 | + | func acceptBidNonTraditional (i,artId,issuer,bidId,bidOwner) = { | |
502 | + | let caller = toBase58String(i.caller.bytes) | |
503 | + | if ((caller != issuer)) | |
504 | + | then throw("You cannot do this action") | |
505 | + | else buyMint(i, artId, issuer, bidId, bidOwner, true) | |
506 | + | } | |
507 | + | ||
508 | + | ||
509 | + | func restartAuction (artId,issuer) = { | |
510 | + | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
511 | + | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
512 | + | let oldEndHeight = getIntegerByKey(keyEndHeight(issuer, artId)) | |
513 | + | let duration = getIntegerByKey(keyDuration(issuer, artId)) | |
514 | + | let endHeight = (duration + height) | |
515 | + | if ((oldEndHeight >= height)) | |
516 | + | then throw("Previous auction isn't completed yet") | |
517 | + | else if ((amountSold == maxCanSell)) | |
518 | + | then throw("Can't restart auction, max amount sold") | |
519 | + | else [IntegerEntry(keyEndHeight(issuer, artId), endHeight), DeleteEntry(keyHighestBidBidId(artId))] | |
520 | + | } | |
521 | + | ||
522 | + | ||
523 | + | func acceptBidTraditional (i,artId,issuer,bidId,bidOwner) = { | |
524 | + | let endHeight = getIntegerByKey(keyEndHeight(issuer, artId)) | |
525 | + | let highestBidId = getStringByKey(keyHighestBidBidId(artId)) | |
526 | + | if ((endHeight >= height)) | |
527 | + | then throw("This auction is not yet finished!") | |
528 | + | else if ((bidId != highestBidId)) | |
529 | + | then throw("This is not the winning bid!") | |
530 | + | else { | |
531 | + | let buyMintData = buyMint(i, artId, issuer, bidId, bidOwner, true) | |
532 | + | let restartAuctionData = restartAuction(artId, issuer) | |
533 | + | (restartAuctionData ++ buyMintData) | |
534 | + | } | |
535 | + | } | |
536 | + | ||
537 | + | ||
538 | + | func cancelBidImpl (i,artId,issuer,bidId) = { | |
539 | + | let t02894229094 = idCallerDate(i) | |
540 | + | let id = t02894229094._1 | |
541 | + | let caller = t02894229094._2 | |
542 | + | let date = t02894229094._3 | |
543 | + | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
544 | + | let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId) | |
545 | + | let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found") | |
546 | + | let bidDataArr = split(bidData, "_") | |
547 | + | let assetId = getBidAssetId(bidDataArr[0]) | |
548 | + | let bidStatus = "CANCELED" | |
549 | + | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
550 | + | } | |
551 | + | ||
552 | + | ||
553 | + | func cancelBidImplTraditional (i,artId,issuer,bidId) = { | |
554 | + | let t02894229094 = idCallerDate(i) | |
555 | + | let id = t02894229094._1 | |
556 | + | let caller = t02894229094._2 | |
557 | + | let date = t02894229094._3 | |
558 | + | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
559 | + | let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + bidId) | |
560 | + | let bidData = getStringByKeyOrError((bidDataKey + "_OPEN"), "Bid not found") | |
561 | + | let bidDataArr = split(bidData, "_") | |
562 | + | let assetId = getBidAssetId(bidDataArr[0]) | |
563 | + | let bidStatus = "CANCELED" | |
564 | + | let bidAmount = parseIntValue(bidDataArr[1]) | |
565 | + | let highestBidId = getStringByKey(keyHighestBidBidId(artId)) | |
566 | + | if ((bidId == highestBidId)) | |
567 | + | then throw("You can't cancel the highest bid!") | |
568 | + | else [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(caller)), bidAmount, assetId)] | |
569 | + | } | |
570 | + | ||
571 | + | ||
572 | + | @Callable(i) | |
573 | + | func initDapp (dappKey) = if ((i.caller != this)) | |
574 | + | then throw("You cannot do this action") | |
575 | + | else if ((oracle != "")) | |
576 | + | then throw("oracle already set, you can't override!") | |
577 | + | else [StringEntry(oracleKey, dappKey)] | |
578 | + | ||
579 | + | ||
580 | + | ||
581 | + | @Callable(i) | |
582 | + | func restartAuctionManual (artId) = if ((getAmountHighestBidByArtId(artId) != 0)) | |
583 | + | then throw("Please accept the highest bid!") | |
584 | + | else restartAuction(artId, toBase58String(i.caller.bytes)) | |
585 | + | ||
586 | + | ||
587 | + | ||
588 | + | @Callable(i) | |
589 | + | func mintNft (totalNFT,issueMeta,receiveNFT) = if ((i.caller != this)) | |
590 | + | then throw("Only the dApp can mint NFT's") | |
591 | + | else { | |
592 | + | let receiveNFTAddy = Address(fromBase58String(receiveNFT)) | |
593 | + | let issueNFT = Issue(("SCONEX_" + toString((totalNFT + 1))), issueMeta, 1, 0, false) | |
594 | + | let idNFT = calculateAssetId(issueNFT) | |
595 | + | $Tuple2([issueNFT, ScriptTransfer(receiveNFTAddy, 1, idNFT)], toBase58String(idNFT)) | |
596 | + | } | |
597 | + | ||
598 | + | ||
599 | + | ||
600 | + | @Callable(i) | |
601 | + | func addArtwork (sha256Hash,name,description,tags,type,cidDisplay,entitlement,preview,collection,subcollection) = { | |
602 | + | let t01774017781 = idCallerDate(i) | |
603 | + | let artId = t01774017781._1 | |
604 | + | let caller = t01774017781._2 | |
605 | + | let date = t01774017781._3 | |
606 | + | if (!(containsElement(types, type))) | |
607 | + | then throw("Unknown type") | |
608 | + | else { | |
609 | + | let validateArtwork = validateArtworkData(caller, cidDisplay, name, description, tags) | |
610 | + | if ((validateArtwork != "")) | |
611 | + | then throw("Something went wrong!") | |
612 | + | else { | |
613 | + | let t01817018212 = validatePayment(i) | |
614 | + | let amount = t01817018212._1 | |
615 | + | let assetId = t01817018212._2 | |
616 | + | if (!(isDefined(amount))) | |
617 | + | then throw("Something went wrong") | |
618 | + | else { | |
619 | + | let previewData = if (containsElement(Previewtypes, type)) | |
620 | + | then [StringEntry(keyPreviewCid(caller, artId), preview)] | |
621 | + | else nil | |
622 | + | let amountToSend = ((amount - 1) / 2) | |
623 | + | let invokeTeamFeeSplit = invoke(valueOrErrorMessage(stakeDapp, "stakeDapp not found"), "topUpReward", nil, [AttachedPayment(assetId, amountToSend)]) | |
624 | + | if ((invokeTeamFeeSplit == invokeTeamFeeSplit)) | |
625 | + | then { | |
626 | + | let invokeCollectionCreate = invoke(valueOrErrorMessage(addressFromString(collectionsDapp), (collectionsDapp + " not found")), "collectionProcess", [collection, subcollection, caller], nil) | |
627 | + | if ((invokeCollectionCreate == invokeCollectionCreate)) | |
628 | + | then { | |
629 | + | let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller)) | |
630 | + | if ((entryExist != "")) | |
631 | + | then throw("You already added it") | |
632 | + | else { | |
633 | + | let hashExist = getStringByKey(keyOwnerByHash(sha256Hash)) | |
634 | + | if ((hashExist != "")) | |
635 | + | then throw("This hash is already registered") | |
636 | + | 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)), amountToSend, assetId)]) | |
637 | + | } | |
638 | + | } | |
639 | + | else throw("Strict value is not equal to itself.") | |
640 | + | } | |
641 | + | else throw("Strict value is not equal to itself.") | |
642 | + | } | |
643 | + | } | |
644 | + | } | |
645 | + | } | |
646 | + | ||
647 | + | ||
648 | + | ||
649 | + | @Callable(i) | |
650 | + | func sellArtwork (artId,price,maxMint,assetId,auctionType,duration,add1,add2,add3,add1Sh,add2Sh,add3Sh) = { | |
651 | + | let callData = idCallerDate(i) | |
652 | + | let id = callData._1 | |
653 | + | let caller = callData._2 | |
654 | + | let amountSold = getIntegerByKey(keyIssued(caller, artId)) | |
655 | + | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
656 | + | if (if ((bidNbr > 0)) | |
657 | + | then true | |
658 | + | else (amountSold > 0)) | |
659 | + | then throw("There are bids or items sold, you can not edit anything!") | |
660 | + | else { | |
661 | + | let artworkName = getStringByKey(keyName(caller, artId)) | |
662 | + | if (!(containsElement([auctionType1, auctionType2, auctionType3], auctionType))) | |
663 | + | then throw("We don't know this auction type") | |
664 | + | else if ((artworkName == "")) | |
665 | + | then throw("This art doesn't match your account") | |
666 | + | else if (!(acceptedAssetIds(assetId))) | |
667 | + | then throw("Something went wrong!") | |
668 | + | else if (!(validateMinSell(assetId, price))) | |
669 | + | then throw("Something went wrong!") | |
670 | + | else { | |
671 | + | let checkUser = validateUser(caller) | |
672 | + | if ((checkUser != "")) | |
673 | + | then throw(checkUser) | |
674 | + | else if ((maxMint > 10000)) | |
675 | + | then throw("10000 editions max per artwork") | |
676 | + | else { | |
677 | + | let sellStatus = if ((price > 0)) | |
678 | + | then (maxMint > 0) | |
679 | + | else false | |
680 | + | let teamFee = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "teamSplitFee", [artId, feeReceiver, "", "", 15, 0, 0], nil) | |
681 | + | if ((teamFee == teamFee)) | |
682 | + | then { | |
683 | + | let creatorFee = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "creatorSplitFee", [artId, add1, add2, add3, add1Sh, add2Sh, add3Sh], nil) | |
684 | + | if ((creatorFee == creatorFee)) | |
685 | + | then { | |
686 | + | let endHeight = (duration + height) | |
687 | + | [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)] | |
688 | + | } | |
689 | + | else throw("Strict value is not equal to itself.") | |
690 | + | } | |
691 | + | else throw("Strict value is not equal to itself.") | |
692 | + | } | |
693 | + | } | |
694 | + | } | |
695 | + | } | |
696 | + | ||
697 | + | ||
698 | + | ||
699 | + | @Callable(i) | |
700 | + | func buyArtwork (artId,issuer) = { | |
701 | + | let auctionType = getStringByKey(keyAuctionType(issuer, artId)) | |
702 | + | if ((auctionType == auctionType3)) | |
703 | + | then buyMint(i, artId, issuer, "", "", false) | |
704 | + | else throw("Direct buy only allowed when no auction type is set!") | |
705 | + | } | |
706 | + | ||
707 | + | ||
708 | + | ||
709 | + | @Callable(i) | |
710 | + | func updateTags (artist,artId,tags) = { | |
711 | + | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
712 | + | if (!(containsElement(owners, caller))) | |
713 | + | then throw("no") | |
714 | + | else if ((size(split(tags, ",")) > 5)) | |
715 | + | then throw("5 tags max.") | |
716 | + | else { | |
717 | + | let tagsOld = getStringByKeyOrError(keyTags(artist, artId), "No tags created with this key, so can't update!") | |
718 | + | if ((tags == tagsOld)) | |
719 | + | then throw("Tags are the same as old tags!") | |
720 | + | else [StringEntry(keyTags(artist, artId), tags)] | |
721 | + | } | |
722 | + | } | |
723 | + | ||
724 | + | ||
725 | + | ||
726 | + | @Callable(i) | |
727 | + | func deleteEntry (entry) = { | |
728 | + | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
729 | + | if (!(containsElement(owners, caller))) | |
730 | + | then throw("no") | |
731 | + | else [DeleteEntry(entry)] | |
732 | + | } | |
733 | + | ||
734 | + | ||
735 | + | ||
736 | + | @Callable(i) | |
737 | + | func setBid (artId,issuer) = { | |
738 | + | let auctionType = getStringByKey(keyAuctionType(issuer, artId)) | |
739 | + | if ((auctionType == auctionType1)) | |
740 | + | then setBidNonTraditional(i, artId, issuer) | |
741 | + | else if ((auctionType == auctionType2)) | |
742 | + | then setBidTraditional(i, artId, issuer) | |
743 | + | else throw((("Unknown auction type :" + auctionType) + ", please contact the admins")) | |
744 | + | } | |
745 | + | ||
746 | + | ||
747 | + | ||
748 | + | @Callable(i) | |
749 | + | func acceptBid (artId,issuer,bidId,bidOwner) = { | |
750 | + | let auctionType = getStringByKey(keyAuctionType(issuer, artId)) | |
751 | + | if ((auctionType == auctionType1)) | |
752 | + | then acceptBidNonTraditional(i, artId, issuer, bidId, bidOwner) | |
753 | + | else if ((auctionType == auctionType2)) | |
754 | + | then acceptBidTraditional(i, artId, issuer, bidId, bidOwner) | |
755 | + | else throw((("Unknown auction type :" + auctionType) + ", please contact the admins")) | |
756 | + | } | |
757 | + | ||
758 | + | ||
759 | + | ||
760 | + | @Callable(i) | |
761 | + | func cancelBid (artId,issuer,bidId) = { | |
762 | + | let auctionType = getStringByKey(keyAuctionType(issuer, artId)) | |
763 | + | if ((auctionType == auctionType1)) | |
764 | + | then cancelBidImpl(i, artId, issuer, bidId) | |
765 | + | else cancelBidImplTraditional(i, artId, issuer, bidId) | |
766 | + | } | |
767 | + | ||
768 | + |
github/deemru/w8io/169f3d6 40.28 ms ◑