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