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