tx · 7VTqmvd7HpRFhJu437wtwKaidkuSyZr2ZPBrq9ELPEHz 3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA: -0.01000000 Waves 2022.01.04 16:11 [1864197] smart account 3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA > SELF 0.00000000 Waves
{ "type": 13, "id": "7VTqmvd7HpRFhJu437wtwKaidkuSyZr2ZPBrq9ELPEHz", "fee": 1000000, "feeAssetId": null, "timestamp": 1641301947147, "version": 2, "chainId": 84, "sender": "3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA", "senderPublicKey": "9abKuN1XmLjjire2feZH26PmcEWhEXxiHToWSmii3Gn2", "proofs": [ "3d9QjumpBqweQjZidXtVFq6FWZ7q5BBUqMcYHRpy2TKzsKTS9JMsgHyp4U6QfXVe6hjkaAHjHFGaLhLGTN5vftyd" ], "script": "base64:AAIFAAAAAAAAAFAIAhIFCgMBCAgSBQoDCAgIEgwKCggICAgICAgICAgSCQoHCAEBCAgBARIECgIICBIFCgMICAgSAwoBCBIECgIICBIGCgQICAgIEgUKAwgICAAAAFUAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNcFpRanpHb2dtaWZjRUtlOG1EZDZyaWJMN254VDlBQ3llAAAAAAtmZWVSZWNlaXZlcgIAAAAjM042NXhMcThKY0NlYUVpUjFUSlE3ZEJxWEJ2RXk2RTQ4V3oAAAAACGNlcnREYXBwAgAAACMzTXhjWHJOYk1aS1lhU3JoY2ZlTW0yaFpuQmVDdTN5UldzdwAAAAAIdXNlckRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM016djRVSEdSQ0M1S2tuWmI4eDV3ZkZVUXp6cFk5RzRHbjQAAAAADXdoaXRlbGlzdERhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM045eFpZR3B6TUZEWHZYdWN0bVU2elY4cVN6bTJ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2V0U3RyaW5nQnlLZXkAAAABCQEAAAAOa2V5QXVjdGlvblR5cGUAAAACBQAAAAZpc3N1ZXIFAAAABWFydElkAwkAAAAAAAACBQAAAAthdWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUxCQEAAAAXYWNjZXB0QmlkTm9uVHJhZGl0aW9uYWwAAAAFBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAUAAAAIYmlkT3duZXIDCQAAAAAAAAIFAAAAC2F1Y3Rpb25UeXBlBQAAAAxhdWN0aW9uVHlwZTIJAQAAABRhY2NlcHRCaWRUcmFkaXRpb25hbAAAAAUFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkBQAAAAhiaWRPd25lcgkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAWVW5rbm93biBhdWN0aW9uIHR5cGUgOgUAAAALYXVjdGlvblR5cGUCAAAAGywgcGxlYXNlIGNvbnRhY3QgdGhlIGFkbWlucwAAAAFpAQAAAAljYW5jZWxCaWQAAAADAAAABWFydElkAAAABmlzc3VlcgAAAAViaWRJZAQAAAALYXVjdGlvblR5cGUJAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEJAQAAAA5rZXlBdWN0aW9uVHlwZQAAAAIFAAAABmlzc3VlcgUAAAAFYXJ0SWQDCQAAAAAAAAIFAAAAC2F1Y3Rpb25UeXBlBQAAAAxhdWN0aW9uVHlwZTEJAQAAAA1jYW5jZWxCaWRJbXBsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQJAQAAABhjYW5jZWxCaWRJbXBsVHJhZGl0aW9uYWwAAAAEBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAAAAACQPap+", "height": 1864197, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2AVyLviyoJmoCX11fz2pjTEXRdoKyAa12ZiLLPBzrwP3 Next: 6gnEFamkkBzerb6Jp4PBV9vzzEmveowrmhZDsdswpyLV Diff:
Old | New | Differences | |
---|---|---|---|
111 | 111 | func X (F,H) = ((("art_royalty_" + H) + "_") + F) | |
112 | 112 | ||
113 | 113 | ||
114 | - | func Y (F,H) = (((" | |
114 | + | func Y (F,H) = ((("collection_" + H) + "_") + F) | |
115 | 115 | ||
116 | 116 | ||
117 | - | func Z (F,H) = (((" | |
117 | + | func Z (F,H) = ((("subcollection_" + H) + "_") + F) | |
118 | 118 | ||
119 | 119 | ||
120 | - | func aa (F,H) = ((("art_ | |
120 | + | func aa (F,H) = ((("art_onsale_" + H) + "_") + F) | |
121 | 121 | ||
122 | 122 | ||
123 | - | func ab (F,H) = ((("art_ | |
123 | + | func ab (F,H) = ((("art_entitlement_" + H) + "_") + F) | |
124 | 124 | ||
125 | 125 | ||
126 | - | func ac (F,H) = ((("art_ | |
126 | + | func ac (F,H) = ((("art_tags_" + H) + "_") + F) | |
127 | 127 | ||
128 | 128 | ||
129 | - | func ad (F,H) = ((("art_ | |
129 | + | func ad (F,H) = ((("art_type_" + H) + "_") + F) | |
130 | 130 | ||
131 | 131 | ||
132 | - | func ae (F, | |
132 | + | func ae (F,H) = ((("art_price_" + H) + "_") + F) | |
133 | 133 | ||
134 | 134 | ||
135 | - | func | |
135 | + | func af (F,H) = ((("art_assetAccepted_" + H) + "_") + F) | |
136 | 136 | ||
137 | 137 | ||
138 | - | func | |
138 | + | func ag (F,ah) = ((("get_hashbytxidaddr_" + ah) + "_") + F) | |
139 | 139 | ||
140 | 140 | ||
141 | - | let aj = y(("certification_fee_" + toBase58String(g))) | |
142 | - | ||
143 | - | func ak (P) = valueOrElse(z(O(P)), 0) | |
141 | + | func ai (aj) = ("get_owner_by_hash_" + aj) | |
144 | 142 | ||
145 | 143 | ||
146 | - | func al (H) = { | |
144 | + | func ak (aj,F) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((aj + F))))) | |
145 | + | ||
146 | + | ||
147 | + | let al = y(("certification_fee_" + toBase58String(g))) | |
148 | + | ||
149 | + | func am (P) = valueOrElse(z(O(P)), 0) | |
150 | + | ||
151 | + | ||
152 | + | func an (H) = { | |
147 | 153 | let P = v(N(H)) | |
148 | 154 | if ((P == "")) | |
149 | 155 | then 0 | |
150 | - | else | |
156 | + | else am(P) | |
151 | 157 | } | |
152 | 158 | ||
153 | 159 | ||
154 | - | func | |
160 | + | func ao (ap,aq) = if ((size(ap) == 0)) | |
155 | 161 | then throw("Field cannot be is empty") | |
156 | - | else if ((size( | |
157 | - | then throw(( | |
162 | + | else if ((size(ap) > aq)) | |
163 | + | then throw((ap + " is too long")) | |
158 | 164 | else true | |
159 | 165 | ||
160 | 166 | ||
161 | - | func | |
162 | - | let | |
163 | - | if (( | |
167 | + | func ar (F) = { | |
168 | + | let as = valueOrElse(getString(e, E(F)), p) | |
169 | + | if ((as == p)) | |
164 | 170 | then "Register this account first with 'Account' tab" | |
165 | - | else if (( | |
171 | + | else if ((as == n)) | |
166 | 172 | then "Account suspended" | |
167 | - | else if (( | |
173 | + | else if ((as == o)) | |
168 | 174 | then "Account removed" | |
169 | 175 | else "" | |
170 | 176 | } | |
171 | 177 | ||
172 | 178 | ||
173 | - | func | |
174 | - | let | |
175 | - | if (( | |
176 | - | then throw( | |
177 | - | else if ((size( | |
179 | + | func at (F,au,av,aw,ax) = { | |
180 | + | let ay = ar(F) | |
181 | + | if ((ay != "")) | |
182 | + | then throw(ay) | |
183 | + | else if ((size(au) == 0)) | |
178 | 184 | then throw("Display CID cannot be empty") | |
179 | - | else if ((size( | |
185 | + | else if ((size(au) != 46)) | |
180 | 186 | then throw("This doesn't seem a valid CID!") | |
181 | - | else if (!( | |
187 | + | else if (!(ao(av, 100))) | |
182 | 188 | then throw("100 Char. max name") | |
183 | - | else if (!( | |
189 | + | else if (!(ao(aw, 1000))) | |
184 | 190 | then throw("1000 Char. max description") | |
185 | - | else if ((size(split( | |
191 | + | else if ((size(split(ax, ",")) > 5)) | |
186 | 192 | then throw("5 tags max.") | |
187 | 193 | else "" | |
188 | 194 | } | |
189 | 195 | ||
190 | 196 | ||
191 | - | func | |
197 | + | func az (aA) = if ((size(aA.payments) == 0)) | |
192 | 198 | then throw("No payment attached") | |
193 | 199 | else { | |
194 | - | let | |
195 | - | let | |
196 | - | $Tuple2( | |
200 | + | let aB = value(aA.payments[0]) | |
201 | + | let aC = value(aB.amount) | |
202 | + | $Tuple2(aB, aC) | |
197 | 203 | } | |
198 | 204 | ||
199 | 205 | ||
200 | - | func | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | then ( | |
206 | + | func aD (aA) = { | |
207 | + | let aE = az(aA) | |
208 | + | let aB = aE._1 | |
209 | + | let aC = aE._2 | |
210 | + | let aF = if (if (isDefined(aB.assetId)) | |
211 | + | then (aB.assetId == g) | |
206 | 212 | else false) | |
207 | - | then | |
213 | + | then aB.assetId | |
208 | 214 | else throw("Only USDN token accepted as transaction fee") | |
209 | - | if (( | |
210 | - | then throw(((("Payment amount should be " + toString( | |
211 | - | else $Tuple2( | |
215 | + | if ((aC != al)) | |
216 | + | then throw(((("Payment amount should be " + toString(al)) + " but is: ") + toString(aC))) | |
217 | + | else $Tuple2(aC, aF) | |
212 | 218 | } | |
213 | 219 | ||
214 | 220 | ||
215 | - | func | |
216 | - | let | |
217 | - | if ($isInstanceOf( | |
221 | + | func aG (aH,H) = { | |
222 | + | let aI = getInteger(this, T(aH, H)) | |
223 | + | if ($isInstanceOf(aI, "Int")) | |
218 | 224 | then { | |
219 | - | let | |
220 | - | if (( | |
225 | + | let aJ = aI | |
226 | + | if ((aJ != 0)) | |
221 | 227 | then true | |
222 | 228 | else false | |
223 | 229 | } | |
225 | 231 | } | |
226 | 232 | ||
227 | 233 | ||
228 | - | func | |
229 | - | let | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
234 | + | func aK (aA,aL,aM) = { | |
235 | + | let aN = az(aA) | |
236 | + | let aB = aN._1 | |
237 | + | let aC = aN._2 | |
238 | + | let aF = if (!(isDefined(aB.assetId))) | |
233 | 239 | then throw("Wrong asset id") | |
234 | - | else if (if ((size( | |
235 | - | then (toBase58String(value( | |
240 | + | else if (if ((size(aL) > 0)) | |
241 | + | then (toBase58String(value(aB.assetId)) == aL) | |
236 | 242 | else false) | |
237 | - | then | |
243 | + | then aB.assetId | |
238 | 244 | else throw("Wrong asset id") | |
239 | - | if (if (( | |
240 | - | then ( | |
245 | + | if (if ((aF == unit)) | |
246 | + | then (aL != "") | |
241 | 247 | else false) | |
242 | 248 | then throw("Wrong asset id") | |
243 | - | else if (( | |
244 | - | then throw(((("Payment don't match " + toString( | |
245 | - | else $Tuple2( | |
249 | + | else if ((aM != aC)) | |
250 | + | then throw(((("Payment don't match " + toString(aM)) + " ") + toString(aC))) | |
251 | + | else $Tuple2(aC, aF) | |
246 | 252 | } | |
247 | 253 | ||
248 | 254 | ||
249 | - | func | |
255 | + | func aO (aF) = if ((aF != toBase58String(g))) | |
250 | 256 | then throw("Only USDN accepted") | |
251 | 257 | else true | |
252 | 258 | ||
253 | 259 | ||
254 | - | func | |
255 | - | let | |
260 | + | func aP (aF,aQ) = { | |
261 | + | let aR = if (a) | |
256 | 262 | then 1 | |
257 | - | else ( | |
258 | - | if (if (if (( | |
259 | - | then ( | |
263 | + | else (al * 2) | |
264 | + | if (if (if ((aF == toBase58String(g))) | |
265 | + | then (aR > aQ) | |
260 | 266 | else false) | |
261 | - | then ( | |
267 | + | then (aQ != 0) | |
262 | 268 | else false) | |
263 | - | then throw(("Wrong minimum sell price " + toString( | |
269 | + | then throw(("Wrong minimum sell price " + toString(aR))) | |
264 | 270 | else true | |
265 | 271 | } | |
266 | 272 | ||
267 | 273 | ||
268 | - | func | |
274 | + | func aS (aF) = if ((aF == "WAVES")) | |
269 | 275 | then throw("Only USDN is accepted!") | |
270 | - | else fromBase58String( | |
276 | + | else fromBase58String(aF) | |
271 | 277 | ||
272 | 278 | ||
273 | - | func | |
274 | - | let | |
275 | - | if (( | |
279 | + | func aT (aU) = { | |
280 | + | let aV = v((aU + "_OPEN")) | |
281 | + | if ((aV == "")) | |
276 | 282 | then throw("Bid not found") | |
277 | 283 | else { | |
278 | - | let | |
279 | - | let | |
280 | - | let | |
281 | - | if ((0 >= | |
284 | + | let aW = split(aV, "_") | |
285 | + | let aX = parseIntValue(aW[1]) | |
286 | + | let aY = aS(aW[0]) | |
287 | + | if ((0 >= aX)) | |
282 | 288 | then throw("Wrong amount") | |
283 | - | else $Tuple2( | |
289 | + | else $Tuple2(aX, aY) | |
284 | 290 | } | |
285 | 291 | } | |
286 | 292 | ||
287 | 293 | ||
288 | - | func | |
294 | + | func aZ (aA) = if (!(l)) | |
289 | 295 | then throw(m) | |
290 | - | else $Tuple3(toBase58String( | |
296 | + | else $Tuple3(toBase58String(aA.transactionId), toBase58String(aA.caller.bytes), lastBlock.timestamp) | |
291 | 297 | ||
292 | 298 | ||
293 | - | func | |
294 | - | then ( | |
299 | + | func ba (aA,bb,bc,P) = if (if (if ((toBase58String(aA.caller.bytes) == bb)) | |
300 | + | then (bc != "") | |
295 | 301 | else false) | |
296 | 302 | then (P != "") | |
297 | 303 | else false) | |
299 | 305 | else false | |
300 | 306 | ||
301 | 307 | ||
302 | - | func | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | if (( | |
308 | + | func bd (aA,bb,H,be) = { | |
309 | + | let bf = (toBase58String(aA.caller.bytes) == bb) | |
310 | + | let bg = z("total_nft_issued") | |
311 | + | let bh = v(I(bb, H)) | |
312 | + | if ((bh == "")) | |
307 | 313 | then throw("Art doesn't exist") | |
308 | 314 | else { | |
309 | - | let | |
310 | - | let | |
311 | - | let | |
312 | - | let | |
315 | + | let bi = B(aa(bb, H)) | |
316 | + | let bj = z(T(bb, H)) | |
317 | + | let aM = valueOrElse(z(ae(bb, H)), (al * 2)) | |
318 | + | let aL = if (bf) | |
313 | 319 | then toBase58String(g) | |
314 | - | else v( | |
315 | - | let | |
316 | - | if (if (if (!( | |
317 | - | then !( | |
320 | + | else v(af(bb, H)) | |
321 | + | let bk = z(M(bb, H)) | |
322 | + | if (if (if (!(be)) | |
323 | + | then !(bf) | |
318 | 324 | else false) | |
319 | - | then if (if ((0 >= | |
325 | + | then if (if ((0 >= aM)) | |
320 | 326 | then true | |
321 | - | else !( | |
327 | + | else !(bi)) | |
322 | 328 | then true | |
323 | - | else (0 >= | |
329 | + | else (0 >= bk) | |
324 | 330 | else false) | |
325 | 331 | then throw("Art not for sale") | |
326 | - | else if (if (if (!( | |
327 | - | then | |
332 | + | else if (if (if (!(be)) | |
333 | + | then bf | |
328 | 334 | else false) | |
329 | - | then (0 >= | |
335 | + | then (0 >= bk) | |
330 | 336 | else false) | |
331 | 337 | then throw("Max issuable not set") | |
332 | - | else $Tuple7( | |
338 | + | else $Tuple7(bg, bh, bj, aM, aL, bk, bi) | |
333 | 339 | } | |
334 | 340 | } | |
335 | 341 | ||
336 | 342 | ||
337 | - | func | |
338 | - | let | |
339 | - | if (if ( | |
340 | - | then ( | |
343 | + | func bl (aA,F,bb,H,bc,P,aL,aM,be) = { | |
344 | + | let ay = ar(bb) | |
345 | + | if (if (be) | |
346 | + | then (ay != "") | |
341 | 347 | else false) | |
342 | - | then throw( | |
348 | + | then throw(ay) | |
343 | 349 | else { | |
344 | - | let | |
345 | - | let | |
346 | - | then | |
347 | - | else | |
348 | - | let | |
349 | - | let | |
350 | - | $Tuple3( | |
350 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + bc) + "_") + P) | |
351 | + | let bm = if (be) | |
352 | + | then aT(aU) | |
353 | + | else aK(aA, aL, aM) | |
354 | + | let aC = bm._1 | |
355 | + | let aF = bm._2 | |
356 | + | $Tuple3(aU, aC, aF) | |
351 | 357 | } | |
352 | 358 | } | |
353 | 359 | ||
354 | 360 | ||
355 | - | func | |
356 | - | let | |
357 | - | let | |
361 | + | func bn (bb,aF,aC,bj,bk) = { | |
362 | + | let bo = A(bb) | |
363 | + | let bp = if ((bo > height)) | |
358 | 364 | then 0 | |
359 | - | else if (( | |
365 | + | else if ((aF == g)) | |
360 | 366 | then k | |
361 | 367 | else throw("Only USDN is accepted!") | |
362 | - | let | |
363 | - | let | |
364 | - | if (( | |
368 | + | let bq = fraction(aC, bp, 1000) | |
369 | + | let br = (aC - bq) | |
370 | + | if ((bj == bk)) | |
365 | 371 | then throw("Art sold out") | |
366 | 372 | else { | |
367 | - | let | |
368 | - | $Tuple3( | |
373 | + | let bs = (bj + 1) | |
374 | + | $Tuple3(bq, br, bs) | |
369 | 375 | } | |
370 | 376 | } | |
371 | 377 | ||
372 | 378 | ||
373 | - | func | |
374 | - | let | |
375 | - | let | |
379 | + | func bt (bb,H,bh,bs,bk,bg,F,bc,P,aA,bi) = { | |
380 | + | let bu = ((((((((("Creator: " + bb) + ",ArtID: ") + H) + ",Artwork name: ") + bh) + ",Issue: ") + toString(bs)) + "/") + toString(bk)) | |
381 | + | let bv = if (if ((bs == bk)) | |
376 | 382 | then true | |
377 | - | else !( | |
383 | + | else !(bi)) | |
378 | 384 | then false | |
379 | 385 | else true | |
380 | - | let | |
381 | - | then addressFromStringValue( | |
382 | - | else | |
383 | - | $Tuple3( | |
386 | + | let bw = if ((bc != "")) | |
387 | + | then addressFromStringValue(bc) | |
388 | + | else aA.caller | |
389 | + | $Tuple3(bv, bw, bu) | |
384 | 390 | } | |
385 | 391 | ||
386 | 392 | ||
387 | - | func | |
393 | + | func bx (by) = if ((4 > by)) | |
388 | 394 | then "SSR" | |
389 | - | else if ((11 > | |
395 | + | else if ((11 > by)) | |
390 | 396 | then "SR" | |
391 | - | else if ((101 > | |
397 | + | else if ((101 > by)) | |
392 | 398 | then "R" | |
393 | 399 | else "N" | |
394 | 400 | ||
395 | 401 | ||
396 | - | func | |
397 | - | let | |
402 | + | func bz (aF,aU,bA) = { | |
403 | + | let bB = if (!(isDefined(aF))) | |
398 | 404 | then throw("Only USDN is accepted") | |
399 | - | else toBase58String(value( | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | $Tuple3( | |
405 | + | else toBase58String(value(aF)) | |
406 | + | let aV = v((aU + "_OPEN")) | |
407 | + | let bC = DeleteEntry((aU + "_OPEN")) | |
408 | + | let bD = StringEntry((aU + "_CLOSED"), ((aV + "_") + toString(bA))) | |
409 | + | $Tuple3(bB, bC, bD) | |
404 | 410 | } | |
405 | 411 | ||
406 | 412 | ||
407 | - | func | |
408 | - | let | |
409 | - | let | |
410 | - | let F = | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | let | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | if (( | |
413 | + | func bE (aA,H,bb,P,bc,be) = { | |
414 | + | let bF = aZ(aA) | |
415 | + | let bG = bF._1 | |
416 | + | let F = bF._2 | |
417 | + | let bA = bF._3 | |
418 | + | let bH = bd(aA, bb, H, be) | |
419 | + | let bg = bH._1 | |
420 | + | let bh = bH._2 | |
421 | + | let bj = bH._3 | |
422 | + | let aM = bH._4 | |
423 | + | let aL = bH._5 | |
424 | + | let bk = bH._6 | |
425 | + | let bi = bH._7 | |
426 | + | let aV = bl(aA, F, bb, H, bc, P, aL, aM, be) | |
427 | + | let aU = aV._1 | |
428 | + | let aC = aV._2 | |
429 | + | let aF = aV._3 | |
430 | + | let bI = bn(bb, value(aF), aC, bj, bk) | |
431 | + | let bq = bI._1 | |
432 | + | let br = bI._2 | |
433 | + | let bs = bI._3 | |
434 | + | let bJ = bt(bb, H, bh, bs, bk, bg, F, bc, P, aA, bi) | |
435 | + | let bv = bJ._1 | |
436 | + | let bw = bJ._2 | |
437 | + | let bu = bJ._3 | |
438 | + | let bK = invoke(this, "mintNft", [bg, bu, toString(bw)], nil) | |
439 | + | if ((bK == bK)) | |
434 | 440 | then { | |
435 | - | let | |
436 | - | let | |
437 | - | if ($isInstanceOf( | |
441 | + | let bL = { | |
442 | + | let aI = bK | |
443 | + | if ($isInstanceOf(aI, "String")) | |
438 | 444 | then { | |
439 | - | let | |
440 | - | | |
445 | + | let bM = aI | |
446 | + | bM | |
441 | 447 | } | |
442 | 448 | else throw("Incorrect invoke result") | |
443 | 449 | } | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | then ((((((((((F + "_") + toString( | |
452 | - | else ((((((((((toString( | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | if (( | |
457 | - | then if ( | |
458 | - | then ((( | |
459 | - | else | |
450 | + | let bN = bz(aF, aU, bA) | |
451 | + | let bB = bN._1 | |
452 | + | let bC = bN._2 | |
453 | + | let bD = bN._3 | |
454 | + | let bO = ((((((("art_sold_" + toString(bs)) + "_of_") + toString(bk)) + "_") + H) + "_") + bb) | |
455 | + | let bP = bx(bs) | |
456 | + | let bQ = if (!(be)) | |
457 | + | then ((((((((((F + "_") + toString(bA)) + "_") + bG) + "_") + toString(aM)) + "_") + aL) + "_") + bL) | |
458 | + | else ((((((((((toString(bw) + "_") + toString(bA)) + "_") + bG) + "_") + toString(aC)) + "_") + bB) + "_") + bL) | |
459 | + | let bR = StringEntry(bO, bQ) | |
460 | + | let bS = [IntegerEntry(T(bb, H), bs), StringEntry(("nft_" + bL), bO), StringEntry(("nft_rarity_" + bL), bP), IntegerEntry("total_nft_issued", (bg + 1)), BooleanEntry(aa(bb, H), bv), ScriptTransfer(Address(fromBase58String(bb)), br, aF), ScriptTransfer(Address(fromBase58String(c)), bq, aF), StringEntry(U(bL), bb), StringEntry(W(bL), H)] | |
461 | + | let bT = invoke(addressFromStringValue(d), "createCert", [toString(bw), bL, bb], nil) | |
462 | + | if ((bT == bT)) | |
463 | + | then if (be) | |
464 | + | then (((bS :+ bR) :+ bD) :+ bC) | |
465 | + | else bR :: bS | |
460 | 466 | else throw("Strict value is not equal to itself.") | |
461 | 467 | } | |
462 | 468 | else throw("Strict value is not equal to itself.") | |
463 | 469 | } | |
464 | 470 | ||
465 | 471 | ||
466 | - | func | |
467 | - | let | |
468 | - | let | |
469 | - | let F = | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
472 | + | func bU (aA,H,bb) = { | |
473 | + | let bV = aZ(aA) | |
474 | + | let bG = bV._1 | |
475 | + | let F = bV._2 | |
476 | + | let bA = bV._3 | |
477 | + | let bW = az(aA) | |
478 | + | let aB = bW._1 | |
479 | + | let aC = bW._2 | |
480 | + | let aF = if (!(isDefined(aB.assetId))) | |
475 | 481 | then throw("Only USDN is accepted!") | |
476 | - | else toBase58String(value( | |
477 | - | let | |
478 | - | let | |
479 | - | if (!( | |
482 | + | else toBase58String(value(aB.assetId)) | |
483 | + | let bX = z(("current_bidamount_" + H)) | |
484 | + | let bY = valueOrElse(z(ae(bb, H)), (al * 2)) | |
485 | + | if (!(aO(aF))) | |
480 | 486 | then throw("asset not accepted") | |
481 | - | else if (( | |
487 | + | else if ((bY > aC)) | |
482 | 488 | then throw("Bid is below min price!") | |
483 | 489 | else { | |
484 | - | let | |
485 | - | let | |
486 | - | if ((0 >= | |
490 | + | let bj = z(T(bb, H)) | |
491 | + | let bk = z(M(bb, H)) | |
492 | + | if ((0 >= bk)) | |
487 | 493 | then throw("No max edition set for this artwork") | |
488 | - | else if (( | |
494 | + | else if ((bj >= bk)) | |
489 | 495 | then throw("Sold out, you cannot bid") | |
490 | - | else [StringEntry((((((((("bid_" + H) + "_") + | |
496 | + | else [StringEntry((((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + bG) + "_OPEN"), ((((aF + "_") + toString(aC)) + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX + 1))] | |
491 | 497 | } | |
492 | 498 | } | |
493 | 499 | ||
494 | 500 | ||
495 | - | func | |
496 | - | let | |
497 | - | let | |
498 | - | if ((height > | |
501 | + | func bZ (aA,H,bb) = { | |
502 | + | let ca = z(R(bb, H)) | |
503 | + | let cb = an(H) | |
504 | + | if ((height > ca)) | |
499 | 505 | then throw("This auction is finished already!") | |
500 | 506 | else { | |
501 | - | let | |
502 | - | let | |
503 | - | let F = | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | if (( | |
509 | - | then throw(("Please place a bid higher than: " + toString( | |
507 | + | let cc = aZ(aA) | |
508 | + | let bG = cc._1 | |
509 | + | let F = cc._2 | |
510 | + | let bA = cc._3 | |
511 | + | let cd = az(aA) | |
512 | + | let aB = cd._1 | |
513 | + | let aC = cd._2 | |
514 | + | if ((cb >= aC)) | |
515 | + | then throw(("Please place a bid higher than: " + toString(cb))) | |
510 | 516 | else { | |
511 | - | let | |
517 | + | let aF = if (!(isDefined(aB.assetId))) | |
512 | 518 | then throw("Only USDN is accepted!") | |
513 | - | else toBase58String(value( | |
514 | - | let | |
515 | - | let | |
516 | - | if (!( | |
519 | + | else toBase58String(value(aB.assetId)) | |
520 | + | let bX = z(("current_bidamount_" + H)) | |
521 | + | let bY = valueOrElse(z(ae(bb, H)), (al * 2)) | |
522 | + | if (!(aO(aF))) | |
517 | 523 | then throw("asset not accepted") | |
518 | - | else if (( | |
524 | + | else if ((bY > aC)) | |
519 | 525 | then throw("Bid is below min price!") | |
520 | 526 | else { | |
521 | - | let | |
522 | - | let | |
523 | - | if ((0 >= | |
527 | + | let bj = z(T(bb, H)) | |
528 | + | let bk = z(M(bb, H)) | |
529 | + | if ((0 >= bk)) | |
524 | 530 | then throw("No max edition set for this artwork") | |
525 | - | else if (( | |
531 | + | else if ((bj >= bk)) | |
526 | 532 | then throw("Sold out, you cannot bid") | |
527 | - | else [StringEntry((((((((("bid_" + H) + "_") + | |
533 | + | else [StringEntry((((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + bG) + "_OPEN"), ((((aF + "_") + toString(aC)) + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX + 1)), StringEntry(N(H), toBase58String(aA.transactionId)), IntegerEntry(O(toBase58String(aA.transactionId)), aC)] | |
528 | 534 | } | |
529 | 535 | } | |
530 | 536 | } | |
531 | 537 | } | |
532 | 538 | ||
533 | 539 | ||
534 | - | func | |
535 | - | let F = toBase58String( | |
536 | - | if ((F != | |
540 | + | func ce (aA,H,bb,P,bc) = { | |
541 | + | let F = toBase58String(aA.caller.bytes) | |
542 | + | if ((F != bb)) | |
537 | 543 | then throw("You cannot do this action") | |
538 | - | else | |
544 | + | else bE(aA, H, bb, P, bc, true) | |
539 | 545 | } | |
540 | 546 | ||
541 | 547 | ||
542 | - | func | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | if ((height > | |
549 | - | then if (( | |
548 | + | func cf (H,bb) = { | |
549 | + | let bj = z(T(bb, H)) | |
550 | + | let bk = z(M(bb, H)) | |
551 | + | let cg = z(R(bb, H)) | |
552 | + | let ch = z(Q(bb, H)) | |
553 | + | let ca = (ch + height) | |
554 | + | if ((height > cg)) | |
555 | + | then if ((bj == bk)) | |
550 | 556 | then throw("Can't restart auction, max amount sold") | |
551 | - | else [IntegerEntry(R( | |
557 | + | else [IntegerEntry(R(bb, H), ca), DeleteEntry(N(H))] | |
552 | 558 | else throw("Previous auction isn't completed yet") | |
553 | 559 | } | |
554 | 560 | ||
555 | 561 | ||
556 | - | func | |
557 | - | let | |
558 | - | let | |
559 | - | if ((height > | |
560 | - | then if ((P == | |
562 | + | func ci (aA,H,bb,P,bc) = { | |
563 | + | let ca = z(R(bb, H)) | |
564 | + | let cj = v(N(H)) | |
565 | + | if ((height > ca)) | |
566 | + | then if ((P == cj)) | |
561 | 567 | then { | |
562 | - | let | |
563 | - | let | |
564 | - | ( | |
568 | + | let ck = bE(aA, H, bb, P, bc, true) | |
569 | + | let cl = cf(H, bb) | |
570 | + | (cl ++ ck) | |
565 | 571 | } | |
566 | 572 | else throw("This is not the winning bid!") | |
567 | 573 | else throw("This auction is not yet finished!") | |
568 | 574 | } | |
569 | 575 | ||
570 | 576 | ||
571 | - | func | |
572 | - | let | |
573 | - | let | |
574 | - | let F = | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | [DeleteEntry(( | |
577 | + | func cm (aA,H,bb,P) = { | |
578 | + | let cn = aZ(aA) | |
579 | + | let bG = cn._1 | |
580 | + | let F = cn._2 | |
581 | + | let bA = cn._3 | |
582 | + | let bX = z(("current_bidamount_" + H)) | |
583 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + P) | |
584 | + | let aV = w((aU + "_OPEN"), "Bid not found") | |
585 | + | let aW = split(aV, "_") | |
586 | + | let aF = aS(aW[0]) | |
587 | + | let co = "CANCELED" | |
588 | + | [DeleteEntry((aU + "_OPEN")), StringEntry(((aU + "_") + co), ((aV + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX - 1)), ScriptTransfer(Address(fromBase58String(F)), parseIntValue(aW[1]), aF)] | |
583 | 589 | } | |
584 | 590 | ||
585 | 591 | ||
586 | - | func cn (ay,H,aZ,P) = { | |
587 | - | let cl = aX(ay) | |
588 | - | let bE = cl._1 | |
589 | - | let F = cl._2 | |
590 | - | let by = cl._3 | |
591 | - | let bV = z(("current_bidamount_" + H)) | |
592 | - | let aS = ((((((("bid_" + H) + "_") + aZ) + "_") + F) + "_") + P) | |
593 | - | let aT = w((aS + "_OPEN"), "Bid not found") | |
594 | - | let aU = split(aT, "_") | |
595 | - | let aD = aQ(aU[0]) | |
596 | - | let cm = "CANCELED" | |
597 | - | let aV = parseIntValue(aU[1]) | |
598 | - | let ch = v(N(H)) | |
599 | - | if ((P == ch)) | |
592 | + | func cp (cq,cr,F,H) = if ((cq != "")) | |
593 | + | then throw("Collections can not be empty!") | |
594 | + | else if ((cr == "")) | |
595 | + | then [StringEntry(Y(F, H), cq)] | |
596 | + | else [StringEntry(Y(F, H), cq), StringEntry(Z(F, H), cr)] | |
597 | + | ||
598 | + | ||
599 | + | func cs (aA,H,bb,P) = { | |
600 | + | let cn = aZ(aA) | |
601 | + | let bG = cn._1 | |
602 | + | let F = cn._2 | |
603 | + | let bA = cn._3 | |
604 | + | let bX = z(("current_bidamount_" + H)) | |
605 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + P) | |
606 | + | let aV = w((aU + "_OPEN"), "Bid not found") | |
607 | + | let aW = split(aV, "_") | |
608 | + | let aF = aS(aW[0]) | |
609 | + | let co = "CANCELED" | |
610 | + | let aX = parseIntValue(aW[1]) | |
611 | + | let cj = v(N(H)) | |
612 | + | if ((P == cj)) | |
600 | 613 | then throw("You can't cancel the highest bid!") | |
601 | - | else [DeleteEntry(( | |
614 | + | else [DeleteEntry((aU + "_OPEN")), StringEntry(((aU + "_") + co), ((aV + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX - 1)), ScriptTransfer(Address(fromBase58String(F)), aX, aF)] | |
602 | 615 | } | |
603 | 616 | ||
604 | 617 | ||
605 | - | @Callable( | |
606 | - | func mintNft ( | |
618 | + | @Callable(aA) | |
619 | + | func mintNft (bg,bu,bw) = if ((aA.caller == this)) | |
607 | 620 | then { | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | $Tuple2([ | |
621 | + | let ct = Address(fromBase58String(bw)) | |
622 | + | let cu = Issue(("SCONEX_" + toString((bg + 1))), bu, 1, 0, false) | |
623 | + | let bL = calculateAssetId(cu) | |
624 | + | $Tuple2([cu, ScriptTransfer(ct, 1, bL)], toBase58String(bL)) | |
612 | 625 | } | |
613 | 626 | else throw("Only the dApp can mint NFT's") | |
614 | 627 | ||
615 | 628 | ||
616 | 629 | ||
617 | - | @Callable(ay) | |
618 | - | func addArtwork (ah,at,au,av,cq,as,cr,cs,ct,cu) = { | |
619 | - | let cv = aX(ay) | |
620 | - | let H = cv._1 | |
621 | - | let F = cv._2 | |
622 | - | let by = cv._3 | |
623 | - | if (containsElement(i, cq)) | |
630 | + | @Callable(aA) | |
631 | + | func updateCollection (H,cq,cr) = { | |
632 | + | let F = toBase58String(aA.caller.bytes) | |
633 | + | let cv = aa(H, F) | |
634 | + | if (getBooleanValue(cv)) | |
635 | + | then throw("Can not update collection from artwork for sale") | |
636 | + | else cp(cq, cr, F, H) | |
637 | + | } | |
638 | + | ||
639 | + | ||
640 | + | ||
641 | + | @Callable(aA) | |
642 | + | func addArtwork (aj,av,aw,ax,cw,au,cx,cy,cq,cr) = { | |
643 | + | let cz = aZ(aA) | |
644 | + | let H = cz._1 | |
645 | + | let F = cz._2 | |
646 | + | let bA = cz._3 | |
647 | + | if (containsElement(i, cw)) | |
624 | 648 | then { | |
625 | - | let | |
626 | - | if (( | |
649 | + | let cA = at(F, au, av, aw, ax) | |
650 | + | if ((cA != "")) | |
627 | 651 | then throw("Something went wrong!") | |
628 | 652 | else { | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | if (!(isDefined( | |
653 | + | let cB = aD(aA) | |
654 | + | let aC = cB._1 | |
655 | + | let aF = cB._2 | |
656 | + | if (!(isDefined(aC))) | |
633 | 657 | then throw("Something went wrong") | |
634 | 658 | else { | |
635 | - | let | |
636 | - | then [StringEntry(L(F, H), | |
659 | + | let cC = if (containsElement(j, cw)) | |
660 | + | then [StringEntry(L(F, H), cy)] | |
637 | 661 | else nil | |
638 | - | let cz = v(ai(ah, F)) | |
639 | - | if ((cz != "")) | |
662 | + | let cD = cp(cq, cr, F, H) | |
663 | + | let cE = v(ak(aj, F)) | |
664 | + | if ((cE != "")) | |
640 | 665 | then throw("You already added it") | |
641 | 666 | else { | |
642 | - | let | |
643 | - | if (( | |
667 | + | let cF = v(ai(aj)) | |
668 | + | if ((cF != "")) | |
644 | 669 | then throw("This hash is already registered") | |
645 | - | else ( | |
670 | + | else ((cC ++ cD) ++ [StringEntry(ai(aj), F), StringEntry(ak(aj, F), H), IntegerEntry(G(F, H), bA), StringEntry(I(F, H), av), StringEntry(J(F, H), aw), StringEntry(K(F, H), au), StringEntry(ad(F, H), cw), StringEntry(ac(F, H), ax), IntegerEntry(M(F, H), 0), IntegerEntry(T(F, H), 0), BooleanEntry(aa(F, H), false), StringEntry(ag(F, H), aj), StringEntry(ab(F, H), cx), ScriptTransfer(Address(fromBase58String(c)), aC, aF)]) | |
646 | 671 | } | |
647 | 672 | } | |
648 | 673 | } | |
652 | 677 | ||
653 | 678 | ||
654 | 679 | ||
655 | - | @Callable( | |
656 | - | func sellArtwork (H, | |
657 | - | let | |
658 | - | let | |
659 | - | let F = | |
660 | - | let | |
661 | - | if ((0 > | |
680 | + | @Callable(aA) | |
681 | + | func sellArtwork (H,aQ,cG,aF,cH,ch,cI) = { | |
682 | + | let cJ = aZ(aA) | |
683 | + | let bG = cJ._1 | |
684 | + | let F = cJ._2 | |
685 | + | let bh = v(I(F, H)) | |
686 | + | if ((0 > cI)) | |
662 | 687 | then throw("Royalty percentage should be above 0") | |
663 | - | else if (( | |
688 | + | else if ((cI > 85)) | |
664 | 689 | then throw("Royalty percentage should be below 85") | |
665 | - | else if (!(containsElement([q, r, s], | |
690 | + | else if (!(containsElement([q, r, s], cH))) | |
666 | 691 | then throw("We don't know this auction type") | |
667 | - | else if (( | |
692 | + | else if ((bh == "")) | |
668 | 693 | then throw("This art doesn't match your account") | |
669 | 694 | else { | |
670 | - | let | |
671 | - | if (!( | |
695 | + | let bX = z(("current_bidamount_" + H)) | |
696 | + | if (!(aO(aF))) | |
672 | 697 | then throw("Something went wrong!") | |
673 | - | else if (!( | |
698 | + | else if (!(aP(aF, aQ))) | |
674 | 699 | then throw("Something went wrong!") | |
675 | 700 | else { | |
676 | - | let | |
677 | - | if (( | |
678 | - | then throw( | |
701 | + | let ay = ar(F) | |
702 | + | if ((ay != "")) | |
703 | + | then throw(ay) | |
679 | 704 | else { | |
680 | - | let | |
681 | - | let | |
682 | - | if (( | |
705 | + | let bj = z(T(F, H)) | |
706 | + | let bk = z(M(F, H)) | |
707 | + | if ((cG > 10000)) | |
683 | 708 | then throw("10000 editions max per artwork") | |
684 | - | else if (if (( | |
685 | - | then ( | |
709 | + | else if (if ((bj != 0)) | |
710 | + | then (bj == bk) | |
686 | 711 | else false) | |
687 | 712 | then throw("Max edition reached.") | |
688 | - | else if (if (( | |
689 | - | then ( | |
713 | + | else if (if ((bj > 0)) | |
714 | + | then (bk != cG) | |
690 | 715 | else false) | |
691 | 716 | then throw("Cannot change maximum issuable anymore") | |
692 | - | else if (if (( | |
693 | - | then ( | |
717 | + | else if (if ((bX > 0)) | |
718 | + | then (bk != cG) | |
694 | 719 | else false) | |
695 | 720 | then throw("Cannot change maximum issuable with active orders") | |
696 | 721 | else { | |
697 | - | let | |
698 | - | then ( | |
722 | + | let bv = if (if ((aQ > 0)) | |
723 | + | then (cG > 0) | |
699 | 724 | else false) | |
700 | 725 | then true | |
701 | 726 | else false | |
702 | - | let | |
703 | - | [BooleanEntry( | |
727 | + | let ca = (ch + height) | |
728 | + | [BooleanEntry(aa(F, H), bv), IntegerEntry(ae(F, H), aQ), IntegerEntry(M(F, H), cG), IntegerEntry(Q(F, H), ch), IntegerEntry(R(F, H), ca), StringEntry(af(F, H), aF), StringEntry(S(F, H), cH), IntegerEntry(X(F, H), cI)] | |
704 | 729 | } | |
705 | 730 | } | |
706 | 731 | } | |
709 | 734 | ||
710 | 735 | ||
711 | 736 | ||
712 | - | @Callable( | |
713 | - | func buyArtwork (H, | |
714 | - | let | |
715 | - | if (( | |
716 | - | then | |
737 | + | @Callable(aA) | |
738 | + | func buyArtwork (H,bb) = { | |
739 | + | let cH = v(S(bb, H)) | |
740 | + | if ((cH == s)) | |
741 | + | then bE(aA, H, bb, "", "", false) | |
717 | 742 | else throw("Direct buy only allowed when no auction type is set!") | |
718 | 743 | } | |
719 | 744 | ||
720 | 745 | ||
721 | 746 | ||
722 | - | @Callable( | |
723 | - | func updateTags ( | |
724 | - | let F = toString(addressFromPublicKey( | |
747 | + | @Callable(aA) | |
748 | + | func updateTags (cK,H,ax) = { | |
749 | + | let F = toString(addressFromPublicKey(aA.callerPublicKey)) | |
725 | 750 | if (containsElement(h, F)) | |
726 | - | then if ((size(split( | |
751 | + | then if ((size(split(ax, ",")) > 5)) | |
727 | 752 | then throw("5 tags max.") | |
728 | 753 | else { | |
729 | - | let | |
730 | - | if (( | |
754 | + | let cL = w(ac(cK, H), "No tags created with this key, so can't update!") | |
755 | + | if ((ax == cL)) | |
731 | 756 | then throw("Tags are the same as old tags!") | |
732 | - | else [StringEntry( | |
757 | + | else [StringEntry(ac(cK, H), ax)] | |
733 | 758 | } | |
734 | 759 | else throw("no") | |
735 | 760 | } | |
736 | 761 | ||
737 | 762 | ||
738 | 763 | ||
739 | - | @Callable( | |
740 | - | func deleteEntry ( | |
741 | - | let F = toString(addressFromPublicKey( | |
764 | + | @Callable(aA) | |
765 | + | func deleteEntry (cM) = { | |
766 | + | let F = toString(addressFromPublicKey(aA.callerPublicKey)) | |
742 | 767 | if (containsElement(h, F)) | |
743 | - | then [DeleteEntry( | |
768 | + | then [DeleteEntry(cM)] | |
744 | 769 | else throw("no") | |
745 | 770 | } | |
746 | 771 | ||
747 | 772 | ||
748 | 773 | ||
749 | - | @Callable( | |
750 | - | func setBid (H, | |
751 | - | let | |
752 | - | if (( | |
753 | - | then | |
754 | - | else if (( | |
755 | - | then | |
756 | - | else throw((("Unknown auction type :" + | |
774 | + | @Callable(aA) | |
775 | + | func setBid (H,bb) = { | |
776 | + | let cH = v(S(bb, H)) | |
777 | + | if ((cH == q)) | |
778 | + | then bU(aA, H, bb) | |
779 | + | else if ((cH == r)) | |
780 | + | then bZ(aA, H, bb) | |
781 | + | else throw((("Unknown auction type :" + cH) + ", please contact the admins")) | |
757 | 782 | } | |
758 | 783 | ||
759 | 784 | ||
760 | 785 | ||
761 | - | @Callable( | |
762 | - | func acceptBid (H, | |
763 | - | let | |
764 | - | if (( | |
765 | - | then | |
766 | - | else if (( | |
767 | - | then | |
768 | - | else throw((("Unknown auction type :" + | |
786 | + | @Callable(aA) | |
787 | + | func acceptBid (H,bb,P,bc) = { | |
788 | + | let cH = v(S(bb, H)) | |
789 | + | if ((cH == q)) | |
790 | + | then ce(aA, H, bb, P, bc) | |
791 | + | else if ((cH == r)) | |
792 | + | then ci(aA, H, bb, P, bc) | |
793 | + | else throw((("Unknown auction type :" + cH) + ", please contact the admins")) | |
769 | 794 | } | |
770 | 795 | ||
771 | 796 | ||
772 | 797 | ||
773 | - | @Callable( | |
774 | - | func cancelBid (H, | |
775 | - | let | |
776 | - | if (( | |
777 | - | then | |
778 | - | else | |
798 | + | @Callable(aA) | |
799 | + | func cancelBid (H,bb,P) = { | |
800 | + | let cH = v(S(bb, H)) | |
801 | + | if ((cH == q)) | |
802 | + | then cm(aA, H, bb, P) | |
803 | + | else cs(aA, H, bb, P) | |
779 | 804 | } | |
780 | 805 | ||
781 | 806 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = false | |
5 | 5 | ||
6 | 6 | let b = value(addressFromString("3MpZQjzGogmifcEKe8mDd6ribL7nxT9ACye")) | |
7 | 7 | ||
8 | 8 | let c = "3N65xLq8JcCeaEiR1TJQ7dBqXBvEy6E48Wz" | |
9 | 9 | ||
10 | 10 | let d = "3MxcXrNbMZKYaSrhcfeMm2hZnBeCu3yRWsw" | |
11 | 11 | ||
12 | 12 | let e = value(addressFromString("3Mzv4UHGRCC5KknZb8x5wfFUQzzpY9G4Gn4")) | |
13 | 13 | ||
14 | 14 | let f = value(addressFromString("3N9xZYGpzMFDXvXuctmU6zV8qSzm2ZfF31f")) | |
15 | 15 | ||
16 | 16 | let g = base58'132maRL3uF35tc2bpRih9D6MYq5DR6H28zkop786dKyu' | |
17 | 17 | ||
18 | 18 | let h = [getString(b, "owner1"), getString(b, "owner2")] | |
19 | 19 | ||
20 | 20 | let i = ["IMAGE", "PDF", "VIDEO"] | |
21 | 21 | ||
22 | 22 | let j = ["PDF"] | |
23 | 23 | ||
24 | 24 | let k = 150 | |
25 | 25 | ||
26 | 26 | let l = valueOrElse(getBoolean(e, "conf_dapp_is_running"), true) | |
27 | 27 | ||
28 | 28 | let m = valueOrElse(getString(e, "conf_maintenance_msg"), "") | |
29 | 29 | ||
30 | 30 | let n = "SUSPENDED" | |
31 | 31 | ||
32 | 32 | let o = "REMOVED" | |
33 | 33 | ||
34 | 34 | let p = "UNREGISTERED" | |
35 | 35 | ||
36 | 36 | let q = "BIDTYPE" | |
37 | 37 | ||
38 | 38 | let r = "TRADITIONAL" | |
39 | 39 | ||
40 | 40 | let s = "DIRECT" | |
41 | 41 | ||
42 | 42 | func t (u) = valueOrElse(getString(e, u), "") | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func v (u) = valueOrElse(getString(this, u), "") | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func w (u,x) = valueOrErrorMessage(getString(this, u), x) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func y (u) = valueOrErrorMessage(getInteger(b, u), "Integer undefine or 0 in oracle") | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func z (u) = valueOrElse(getInteger(this, u), 0) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func A (u) = valueOrElse(getInteger(f, u), 0) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func B (u) = valueOrElse(getBoolean(this, u), false) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func C (D) = (size(D) == 64) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func E (F) = ("user_status_" + F) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func G (F,H) = ((("art_date_" + H) + "_") + F) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func I (F,H) = ((("art_name_" + H) + "_") + F) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func J (F,H) = ((("art_desc_" + H) + "_") + F) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func K (F,H) = ((("art_display_cid_" + H) + "_") + F) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func L (F,H) = ((("art_preview_cid_" + H) + "_") + F) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func M (F,H) = ((("art_maxmint_" + H) + "_") + F) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func N (H) = ("art_highestBidBidId_" + H) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func O (P) = ("bid_" + P) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func Q (F,H) = ((("art_duration_" + H) + "_") + F) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func R (F,H) = ((("art_endheight_" + H) + "_") + F) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func S (F,H) = ((("art_auctiontype_" + H) + "_") + F) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func T (F,H) = ((("art_issued_" + H) + "_") + F) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func U (V) = ("nft_issued_" + V) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func W (V) = ("nft_artId_" + V) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func X (F,H) = ((("art_royalty_" + H) + "_") + F) | |
112 | 112 | ||
113 | 113 | ||
114 | - | func Y (F,H) = (((" | |
114 | + | func Y (F,H) = ((("collection_" + H) + "_") + F) | |
115 | 115 | ||
116 | 116 | ||
117 | - | func Z (F,H) = (((" | |
117 | + | func Z (F,H) = ((("subcollection_" + H) + "_") + F) | |
118 | 118 | ||
119 | 119 | ||
120 | - | func aa (F,H) = ((("art_ | |
120 | + | func aa (F,H) = ((("art_onsale_" + H) + "_") + F) | |
121 | 121 | ||
122 | 122 | ||
123 | - | func ab (F,H) = ((("art_ | |
123 | + | func ab (F,H) = ((("art_entitlement_" + H) + "_") + F) | |
124 | 124 | ||
125 | 125 | ||
126 | - | func ac (F,H) = ((("art_ | |
126 | + | func ac (F,H) = ((("art_tags_" + H) + "_") + F) | |
127 | 127 | ||
128 | 128 | ||
129 | - | func ad (F,H) = ((("art_ | |
129 | + | func ad (F,H) = ((("art_type_" + H) + "_") + F) | |
130 | 130 | ||
131 | 131 | ||
132 | - | func ae (F, | |
132 | + | func ae (F,H) = ((("art_price_" + H) + "_") + F) | |
133 | 133 | ||
134 | 134 | ||
135 | - | func | |
135 | + | func af (F,H) = ((("art_assetAccepted_" + H) + "_") + F) | |
136 | 136 | ||
137 | 137 | ||
138 | - | func | |
138 | + | func ag (F,ah) = ((("get_hashbytxidaddr_" + ah) + "_") + F) | |
139 | 139 | ||
140 | 140 | ||
141 | - | let aj = y(("certification_fee_" + toBase58String(g))) | |
142 | - | ||
143 | - | func ak (P) = valueOrElse(z(O(P)), 0) | |
141 | + | func ai (aj) = ("get_owner_by_hash_" + aj) | |
144 | 142 | ||
145 | 143 | ||
146 | - | func al (H) = { | |
144 | + | func ak (aj,F) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((aj + F))))) | |
145 | + | ||
146 | + | ||
147 | + | let al = y(("certification_fee_" + toBase58String(g))) | |
148 | + | ||
149 | + | func am (P) = valueOrElse(z(O(P)), 0) | |
150 | + | ||
151 | + | ||
152 | + | func an (H) = { | |
147 | 153 | let P = v(N(H)) | |
148 | 154 | if ((P == "")) | |
149 | 155 | then 0 | |
150 | - | else | |
156 | + | else am(P) | |
151 | 157 | } | |
152 | 158 | ||
153 | 159 | ||
154 | - | func | |
160 | + | func ao (ap,aq) = if ((size(ap) == 0)) | |
155 | 161 | then throw("Field cannot be is empty") | |
156 | - | else if ((size( | |
157 | - | then throw(( | |
162 | + | else if ((size(ap) > aq)) | |
163 | + | then throw((ap + " is too long")) | |
158 | 164 | else true | |
159 | 165 | ||
160 | 166 | ||
161 | - | func | |
162 | - | let | |
163 | - | if (( | |
167 | + | func ar (F) = { | |
168 | + | let as = valueOrElse(getString(e, E(F)), p) | |
169 | + | if ((as == p)) | |
164 | 170 | then "Register this account first with 'Account' tab" | |
165 | - | else if (( | |
171 | + | else if ((as == n)) | |
166 | 172 | then "Account suspended" | |
167 | - | else if (( | |
173 | + | else if ((as == o)) | |
168 | 174 | then "Account removed" | |
169 | 175 | else "" | |
170 | 176 | } | |
171 | 177 | ||
172 | 178 | ||
173 | - | func | |
174 | - | let | |
175 | - | if (( | |
176 | - | then throw( | |
177 | - | else if ((size( | |
179 | + | func at (F,au,av,aw,ax) = { | |
180 | + | let ay = ar(F) | |
181 | + | if ((ay != "")) | |
182 | + | then throw(ay) | |
183 | + | else if ((size(au) == 0)) | |
178 | 184 | then throw("Display CID cannot be empty") | |
179 | - | else if ((size( | |
185 | + | else if ((size(au) != 46)) | |
180 | 186 | then throw("This doesn't seem a valid CID!") | |
181 | - | else if (!( | |
187 | + | else if (!(ao(av, 100))) | |
182 | 188 | then throw("100 Char. max name") | |
183 | - | else if (!( | |
189 | + | else if (!(ao(aw, 1000))) | |
184 | 190 | then throw("1000 Char. max description") | |
185 | - | else if ((size(split( | |
191 | + | else if ((size(split(ax, ",")) > 5)) | |
186 | 192 | then throw("5 tags max.") | |
187 | 193 | else "" | |
188 | 194 | } | |
189 | 195 | ||
190 | 196 | ||
191 | - | func | |
197 | + | func az (aA) = if ((size(aA.payments) == 0)) | |
192 | 198 | then throw("No payment attached") | |
193 | 199 | else { | |
194 | - | let | |
195 | - | let | |
196 | - | $Tuple2( | |
200 | + | let aB = value(aA.payments[0]) | |
201 | + | let aC = value(aB.amount) | |
202 | + | $Tuple2(aB, aC) | |
197 | 203 | } | |
198 | 204 | ||
199 | 205 | ||
200 | - | func | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | then ( | |
206 | + | func aD (aA) = { | |
207 | + | let aE = az(aA) | |
208 | + | let aB = aE._1 | |
209 | + | let aC = aE._2 | |
210 | + | let aF = if (if (isDefined(aB.assetId)) | |
211 | + | then (aB.assetId == g) | |
206 | 212 | else false) | |
207 | - | then | |
213 | + | then aB.assetId | |
208 | 214 | else throw("Only USDN token accepted as transaction fee") | |
209 | - | if (( | |
210 | - | then throw(((("Payment amount should be " + toString( | |
211 | - | else $Tuple2( | |
215 | + | if ((aC != al)) | |
216 | + | then throw(((("Payment amount should be " + toString(al)) + " but is: ") + toString(aC))) | |
217 | + | else $Tuple2(aC, aF) | |
212 | 218 | } | |
213 | 219 | ||
214 | 220 | ||
215 | - | func | |
216 | - | let | |
217 | - | if ($isInstanceOf( | |
221 | + | func aG (aH,H) = { | |
222 | + | let aI = getInteger(this, T(aH, H)) | |
223 | + | if ($isInstanceOf(aI, "Int")) | |
218 | 224 | then { | |
219 | - | let | |
220 | - | if (( | |
225 | + | let aJ = aI | |
226 | + | if ((aJ != 0)) | |
221 | 227 | then true | |
222 | 228 | else false | |
223 | 229 | } | |
224 | 230 | else false | |
225 | 231 | } | |
226 | 232 | ||
227 | 233 | ||
228 | - | func | |
229 | - | let | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
234 | + | func aK (aA,aL,aM) = { | |
235 | + | let aN = az(aA) | |
236 | + | let aB = aN._1 | |
237 | + | let aC = aN._2 | |
238 | + | let aF = if (!(isDefined(aB.assetId))) | |
233 | 239 | then throw("Wrong asset id") | |
234 | - | else if (if ((size( | |
235 | - | then (toBase58String(value( | |
240 | + | else if (if ((size(aL) > 0)) | |
241 | + | then (toBase58String(value(aB.assetId)) == aL) | |
236 | 242 | else false) | |
237 | - | then | |
243 | + | then aB.assetId | |
238 | 244 | else throw("Wrong asset id") | |
239 | - | if (if (( | |
240 | - | then ( | |
245 | + | if (if ((aF == unit)) | |
246 | + | then (aL != "") | |
241 | 247 | else false) | |
242 | 248 | then throw("Wrong asset id") | |
243 | - | else if (( | |
244 | - | then throw(((("Payment don't match " + toString( | |
245 | - | else $Tuple2( | |
249 | + | else if ((aM != aC)) | |
250 | + | then throw(((("Payment don't match " + toString(aM)) + " ") + toString(aC))) | |
251 | + | else $Tuple2(aC, aF) | |
246 | 252 | } | |
247 | 253 | ||
248 | 254 | ||
249 | - | func | |
255 | + | func aO (aF) = if ((aF != toBase58String(g))) | |
250 | 256 | then throw("Only USDN accepted") | |
251 | 257 | else true | |
252 | 258 | ||
253 | 259 | ||
254 | - | func | |
255 | - | let | |
260 | + | func aP (aF,aQ) = { | |
261 | + | let aR = if (a) | |
256 | 262 | then 1 | |
257 | - | else ( | |
258 | - | if (if (if (( | |
259 | - | then ( | |
263 | + | else (al * 2) | |
264 | + | if (if (if ((aF == toBase58String(g))) | |
265 | + | then (aR > aQ) | |
260 | 266 | else false) | |
261 | - | then ( | |
267 | + | then (aQ != 0) | |
262 | 268 | else false) | |
263 | - | then throw(("Wrong minimum sell price " + toString( | |
269 | + | then throw(("Wrong minimum sell price " + toString(aR))) | |
264 | 270 | else true | |
265 | 271 | } | |
266 | 272 | ||
267 | 273 | ||
268 | - | func | |
274 | + | func aS (aF) = if ((aF == "WAVES")) | |
269 | 275 | then throw("Only USDN is accepted!") | |
270 | - | else fromBase58String( | |
276 | + | else fromBase58String(aF) | |
271 | 277 | ||
272 | 278 | ||
273 | - | func | |
274 | - | let | |
275 | - | if (( | |
279 | + | func aT (aU) = { | |
280 | + | let aV = v((aU + "_OPEN")) | |
281 | + | if ((aV == "")) | |
276 | 282 | then throw("Bid not found") | |
277 | 283 | else { | |
278 | - | let | |
279 | - | let | |
280 | - | let | |
281 | - | if ((0 >= | |
284 | + | let aW = split(aV, "_") | |
285 | + | let aX = parseIntValue(aW[1]) | |
286 | + | let aY = aS(aW[0]) | |
287 | + | if ((0 >= aX)) | |
282 | 288 | then throw("Wrong amount") | |
283 | - | else $Tuple2( | |
289 | + | else $Tuple2(aX, aY) | |
284 | 290 | } | |
285 | 291 | } | |
286 | 292 | ||
287 | 293 | ||
288 | - | func | |
294 | + | func aZ (aA) = if (!(l)) | |
289 | 295 | then throw(m) | |
290 | - | else $Tuple3(toBase58String( | |
296 | + | else $Tuple3(toBase58String(aA.transactionId), toBase58String(aA.caller.bytes), lastBlock.timestamp) | |
291 | 297 | ||
292 | 298 | ||
293 | - | func | |
294 | - | then ( | |
299 | + | func ba (aA,bb,bc,P) = if (if (if ((toBase58String(aA.caller.bytes) == bb)) | |
300 | + | then (bc != "") | |
295 | 301 | else false) | |
296 | 302 | then (P != "") | |
297 | 303 | else false) | |
298 | 304 | then true | |
299 | 305 | else false | |
300 | 306 | ||
301 | 307 | ||
302 | - | func | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | if (( | |
308 | + | func bd (aA,bb,H,be) = { | |
309 | + | let bf = (toBase58String(aA.caller.bytes) == bb) | |
310 | + | let bg = z("total_nft_issued") | |
311 | + | let bh = v(I(bb, H)) | |
312 | + | if ((bh == "")) | |
307 | 313 | then throw("Art doesn't exist") | |
308 | 314 | else { | |
309 | - | let | |
310 | - | let | |
311 | - | let | |
312 | - | let | |
315 | + | let bi = B(aa(bb, H)) | |
316 | + | let bj = z(T(bb, H)) | |
317 | + | let aM = valueOrElse(z(ae(bb, H)), (al * 2)) | |
318 | + | let aL = if (bf) | |
313 | 319 | then toBase58String(g) | |
314 | - | else v( | |
315 | - | let | |
316 | - | if (if (if (!( | |
317 | - | then !( | |
320 | + | else v(af(bb, H)) | |
321 | + | let bk = z(M(bb, H)) | |
322 | + | if (if (if (!(be)) | |
323 | + | then !(bf) | |
318 | 324 | else false) | |
319 | - | then if (if ((0 >= | |
325 | + | then if (if ((0 >= aM)) | |
320 | 326 | then true | |
321 | - | else !( | |
327 | + | else !(bi)) | |
322 | 328 | then true | |
323 | - | else (0 >= | |
329 | + | else (0 >= bk) | |
324 | 330 | else false) | |
325 | 331 | then throw("Art not for sale") | |
326 | - | else if (if (if (!( | |
327 | - | then | |
332 | + | else if (if (if (!(be)) | |
333 | + | then bf | |
328 | 334 | else false) | |
329 | - | then (0 >= | |
335 | + | then (0 >= bk) | |
330 | 336 | else false) | |
331 | 337 | then throw("Max issuable not set") | |
332 | - | else $Tuple7( | |
338 | + | else $Tuple7(bg, bh, bj, aM, aL, bk, bi) | |
333 | 339 | } | |
334 | 340 | } | |
335 | 341 | ||
336 | 342 | ||
337 | - | func | |
338 | - | let | |
339 | - | if (if ( | |
340 | - | then ( | |
343 | + | func bl (aA,F,bb,H,bc,P,aL,aM,be) = { | |
344 | + | let ay = ar(bb) | |
345 | + | if (if (be) | |
346 | + | then (ay != "") | |
341 | 347 | else false) | |
342 | - | then throw( | |
348 | + | then throw(ay) | |
343 | 349 | else { | |
344 | - | let | |
345 | - | let | |
346 | - | then | |
347 | - | else | |
348 | - | let | |
349 | - | let | |
350 | - | $Tuple3( | |
350 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + bc) + "_") + P) | |
351 | + | let bm = if (be) | |
352 | + | then aT(aU) | |
353 | + | else aK(aA, aL, aM) | |
354 | + | let aC = bm._1 | |
355 | + | let aF = bm._2 | |
356 | + | $Tuple3(aU, aC, aF) | |
351 | 357 | } | |
352 | 358 | } | |
353 | 359 | ||
354 | 360 | ||
355 | - | func | |
356 | - | let | |
357 | - | let | |
361 | + | func bn (bb,aF,aC,bj,bk) = { | |
362 | + | let bo = A(bb) | |
363 | + | let bp = if ((bo > height)) | |
358 | 364 | then 0 | |
359 | - | else if (( | |
365 | + | else if ((aF == g)) | |
360 | 366 | then k | |
361 | 367 | else throw("Only USDN is accepted!") | |
362 | - | let | |
363 | - | let | |
364 | - | if (( | |
368 | + | let bq = fraction(aC, bp, 1000) | |
369 | + | let br = (aC - bq) | |
370 | + | if ((bj == bk)) | |
365 | 371 | then throw("Art sold out") | |
366 | 372 | else { | |
367 | - | let | |
368 | - | $Tuple3( | |
373 | + | let bs = (bj + 1) | |
374 | + | $Tuple3(bq, br, bs) | |
369 | 375 | } | |
370 | 376 | } | |
371 | 377 | ||
372 | 378 | ||
373 | - | func | |
374 | - | let | |
375 | - | let | |
379 | + | func bt (bb,H,bh,bs,bk,bg,F,bc,P,aA,bi) = { | |
380 | + | let bu = ((((((((("Creator: " + bb) + ",ArtID: ") + H) + ",Artwork name: ") + bh) + ",Issue: ") + toString(bs)) + "/") + toString(bk)) | |
381 | + | let bv = if (if ((bs == bk)) | |
376 | 382 | then true | |
377 | - | else !( | |
383 | + | else !(bi)) | |
378 | 384 | then false | |
379 | 385 | else true | |
380 | - | let | |
381 | - | then addressFromStringValue( | |
382 | - | else | |
383 | - | $Tuple3( | |
386 | + | let bw = if ((bc != "")) | |
387 | + | then addressFromStringValue(bc) | |
388 | + | else aA.caller | |
389 | + | $Tuple3(bv, bw, bu) | |
384 | 390 | } | |
385 | 391 | ||
386 | 392 | ||
387 | - | func | |
393 | + | func bx (by) = if ((4 > by)) | |
388 | 394 | then "SSR" | |
389 | - | else if ((11 > | |
395 | + | else if ((11 > by)) | |
390 | 396 | then "SR" | |
391 | - | else if ((101 > | |
397 | + | else if ((101 > by)) | |
392 | 398 | then "R" | |
393 | 399 | else "N" | |
394 | 400 | ||
395 | 401 | ||
396 | - | func | |
397 | - | let | |
402 | + | func bz (aF,aU,bA) = { | |
403 | + | let bB = if (!(isDefined(aF))) | |
398 | 404 | then throw("Only USDN is accepted") | |
399 | - | else toBase58String(value( | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | $Tuple3( | |
405 | + | else toBase58String(value(aF)) | |
406 | + | let aV = v((aU + "_OPEN")) | |
407 | + | let bC = DeleteEntry((aU + "_OPEN")) | |
408 | + | let bD = StringEntry((aU + "_CLOSED"), ((aV + "_") + toString(bA))) | |
409 | + | $Tuple3(bB, bC, bD) | |
404 | 410 | } | |
405 | 411 | ||
406 | 412 | ||
407 | - | func | |
408 | - | let | |
409 | - | let | |
410 | - | let F = | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | let | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | if (( | |
413 | + | func bE (aA,H,bb,P,bc,be) = { | |
414 | + | let bF = aZ(aA) | |
415 | + | let bG = bF._1 | |
416 | + | let F = bF._2 | |
417 | + | let bA = bF._3 | |
418 | + | let bH = bd(aA, bb, H, be) | |
419 | + | let bg = bH._1 | |
420 | + | let bh = bH._2 | |
421 | + | let bj = bH._3 | |
422 | + | let aM = bH._4 | |
423 | + | let aL = bH._5 | |
424 | + | let bk = bH._6 | |
425 | + | let bi = bH._7 | |
426 | + | let aV = bl(aA, F, bb, H, bc, P, aL, aM, be) | |
427 | + | let aU = aV._1 | |
428 | + | let aC = aV._2 | |
429 | + | let aF = aV._3 | |
430 | + | let bI = bn(bb, value(aF), aC, bj, bk) | |
431 | + | let bq = bI._1 | |
432 | + | let br = bI._2 | |
433 | + | let bs = bI._3 | |
434 | + | let bJ = bt(bb, H, bh, bs, bk, bg, F, bc, P, aA, bi) | |
435 | + | let bv = bJ._1 | |
436 | + | let bw = bJ._2 | |
437 | + | let bu = bJ._3 | |
438 | + | let bK = invoke(this, "mintNft", [bg, bu, toString(bw)], nil) | |
439 | + | if ((bK == bK)) | |
434 | 440 | then { | |
435 | - | let | |
436 | - | let | |
437 | - | if ($isInstanceOf( | |
441 | + | let bL = { | |
442 | + | let aI = bK | |
443 | + | if ($isInstanceOf(aI, "String")) | |
438 | 444 | then { | |
439 | - | let | |
440 | - | | |
445 | + | let bM = aI | |
446 | + | bM | |
441 | 447 | } | |
442 | 448 | else throw("Incorrect invoke result") | |
443 | 449 | } | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | then ((((((((((F + "_") + toString( | |
452 | - | else ((((((((((toString( | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | if (( | |
457 | - | then if ( | |
458 | - | then ((( | |
459 | - | else | |
450 | + | let bN = bz(aF, aU, bA) | |
451 | + | let bB = bN._1 | |
452 | + | let bC = bN._2 | |
453 | + | let bD = bN._3 | |
454 | + | let bO = ((((((("art_sold_" + toString(bs)) + "_of_") + toString(bk)) + "_") + H) + "_") + bb) | |
455 | + | let bP = bx(bs) | |
456 | + | let bQ = if (!(be)) | |
457 | + | then ((((((((((F + "_") + toString(bA)) + "_") + bG) + "_") + toString(aM)) + "_") + aL) + "_") + bL) | |
458 | + | else ((((((((((toString(bw) + "_") + toString(bA)) + "_") + bG) + "_") + toString(aC)) + "_") + bB) + "_") + bL) | |
459 | + | let bR = StringEntry(bO, bQ) | |
460 | + | let bS = [IntegerEntry(T(bb, H), bs), StringEntry(("nft_" + bL), bO), StringEntry(("nft_rarity_" + bL), bP), IntegerEntry("total_nft_issued", (bg + 1)), BooleanEntry(aa(bb, H), bv), ScriptTransfer(Address(fromBase58String(bb)), br, aF), ScriptTransfer(Address(fromBase58String(c)), bq, aF), StringEntry(U(bL), bb), StringEntry(W(bL), H)] | |
461 | + | let bT = invoke(addressFromStringValue(d), "createCert", [toString(bw), bL, bb], nil) | |
462 | + | if ((bT == bT)) | |
463 | + | then if (be) | |
464 | + | then (((bS :+ bR) :+ bD) :+ bC) | |
465 | + | else bR :: bS | |
460 | 466 | else throw("Strict value is not equal to itself.") | |
461 | 467 | } | |
462 | 468 | else throw("Strict value is not equal to itself.") | |
463 | 469 | } | |
464 | 470 | ||
465 | 471 | ||
466 | - | func | |
467 | - | let | |
468 | - | let | |
469 | - | let F = | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
472 | + | func bU (aA,H,bb) = { | |
473 | + | let bV = aZ(aA) | |
474 | + | let bG = bV._1 | |
475 | + | let F = bV._2 | |
476 | + | let bA = bV._3 | |
477 | + | let bW = az(aA) | |
478 | + | let aB = bW._1 | |
479 | + | let aC = bW._2 | |
480 | + | let aF = if (!(isDefined(aB.assetId))) | |
475 | 481 | then throw("Only USDN is accepted!") | |
476 | - | else toBase58String(value( | |
477 | - | let | |
478 | - | let | |
479 | - | if (!( | |
482 | + | else toBase58String(value(aB.assetId)) | |
483 | + | let bX = z(("current_bidamount_" + H)) | |
484 | + | let bY = valueOrElse(z(ae(bb, H)), (al * 2)) | |
485 | + | if (!(aO(aF))) | |
480 | 486 | then throw("asset not accepted") | |
481 | - | else if (( | |
487 | + | else if ((bY > aC)) | |
482 | 488 | then throw("Bid is below min price!") | |
483 | 489 | else { | |
484 | - | let | |
485 | - | let | |
486 | - | if ((0 >= | |
490 | + | let bj = z(T(bb, H)) | |
491 | + | let bk = z(M(bb, H)) | |
492 | + | if ((0 >= bk)) | |
487 | 493 | then throw("No max edition set for this artwork") | |
488 | - | else if (( | |
494 | + | else if ((bj >= bk)) | |
489 | 495 | then throw("Sold out, you cannot bid") | |
490 | - | else [StringEntry((((((((("bid_" + H) + "_") + | |
496 | + | else [StringEntry((((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + bG) + "_OPEN"), ((((aF + "_") + toString(aC)) + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX + 1))] | |
491 | 497 | } | |
492 | 498 | } | |
493 | 499 | ||
494 | 500 | ||
495 | - | func | |
496 | - | let | |
497 | - | let | |
498 | - | if ((height > | |
501 | + | func bZ (aA,H,bb) = { | |
502 | + | let ca = z(R(bb, H)) | |
503 | + | let cb = an(H) | |
504 | + | if ((height > ca)) | |
499 | 505 | then throw("This auction is finished already!") | |
500 | 506 | else { | |
501 | - | let | |
502 | - | let | |
503 | - | let F = | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | if (( | |
509 | - | then throw(("Please place a bid higher than: " + toString( | |
507 | + | let cc = aZ(aA) | |
508 | + | let bG = cc._1 | |
509 | + | let F = cc._2 | |
510 | + | let bA = cc._3 | |
511 | + | let cd = az(aA) | |
512 | + | let aB = cd._1 | |
513 | + | let aC = cd._2 | |
514 | + | if ((cb >= aC)) | |
515 | + | then throw(("Please place a bid higher than: " + toString(cb))) | |
510 | 516 | else { | |
511 | - | let | |
517 | + | let aF = if (!(isDefined(aB.assetId))) | |
512 | 518 | then throw("Only USDN is accepted!") | |
513 | - | else toBase58String(value( | |
514 | - | let | |
515 | - | let | |
516 | - | if (!( | |
519 | + | else toBase58String(value(aB.assetId)) | |
520 | + | let bX = z(("current_bidamount_" + H)) | |
521 | + | let bY = valueOrElse(z(ae(bb, H)), (al * 2)) | |
522 | + | if (!(aO(aF))) | |
517 | 523 | then throw("asset not accepted") | |
518 | - | else if (( | |
524 | + | else if ((bY > aC)) | |
519 | 525 | then throw("Bid is below min price!") | |
520 | 526 | else { | |
521 | - | let | |
522 | - | let | |
523 | - | if ((0 >= | |
527 | + | let bj = z(T(bb, H)) | |
528 | + | let bk = z(M(bb, H)) | |
529 | + | if ((0 >= bk)) | |
524 | 530 | then throw("No max edition set for this artwork") | |
525 | - | else if (( | |
531 | + | else if ((bj >= bk)) | |
526 | 532 | then throw("Sold out, you cannot bid") | |
527 | - | else [StringEntry((((((((("bid_" + H) + "_") + | |
533 | + | else [StringEntry((((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + bG) + "_OPEN"), ((((aF + "_") + toString(aC)) + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX + 1)), StringEntry(N(H), toBase58String(aA.transactionId)), IntegerEntry(O(toBase58String(aA.transactionId)), aC)] | |
528 | 534 | } | |
529 | 535 | } | |
530 | 536 | } | |
531 | 537 | } | |
532 | 538 | ||
533 | 539 | ||
534 | - | func | |
535 | - | let F = toBase58String( | |
536 | - | if ((F != | |
540 | + | func ce (aA,H,bb,P,bc) = { | |
541 | + | let F = toBase58String(aA.caller.bytes) | |
542 | + | if ((F != bb)) | |
537 | 543 | then throw("You cannot do this action") | |
538 | - | else | |
544 | + | else bE(aA, H, bb, P, bc, true) | |
539 | 545 | } | |
540 | 546 | ||
541 | 547 | ||
542 | - | func | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | if ((height > | |
549 | - | then if (( | |
548 | + | func cf (H,bb) = { | |
549 | + | let bj = z(T(bb, H)) | |
550 | + | let bk = z(M(bb, H)) | |
551 | + | let cg = z(R(bb, H)) | |
552 | + | let ch = z(Q(bb, H)) | |
553 | + | let ca = (ch + height) | |
554 | + | if ((height > cg)) | |
555 | + | then if ((bj == bk)) | |
550 | 556 | then throw("Can't restart auction, max amount sold") | |
551 | - | else [IntegerEntry(R( | |
557 | + | else [IntegerEntry(R(bb, H), ca), DeleteEntry(N(H))] | |
552 | 558 | else throw("Previous auction isn't completed yet") | |
553 | 559 | } | |
554 | 560 | ||
555 | 561 | ||
556 | - | func | |
557 | - | let | |
558 | - | let | |
559 | - | if ((height > | |
560 | - | then if ((P == | |
562 | + | func ci (aA,H,bb,P,bc) = { | |
563 | + | let ca = z(R(bb, H)) | |
564 | + | let cj = v(N(H)) | |
565 | + | if ((height > ca)) | |
566 | + | then if ((P == cj)) | |
561 | 567 | then { | |
562 | - | let | |
563 | - | let | |
564 | - | ( | |
568 | + | let ck = bE(aA, H, bb, P, bc, true) | |
569 | + | let cl = cf(H, bb) | |
570 | + | (cl ++ ck) | |
565 | 571 | } | |
566 | 572 | else throw("This is not the winning bid!") | |
567 | 573 | else throw("This auction is not yet finished!") | |
568 | 574 | } | |
569 | 575 | ||
570 | 576 | ||
571 | - | func | |
572 | - | let | |
573 | - | let | |
574 | - | let F = | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | [DeleteEntry(( | |
577 | + | func cm (aA,H,bb,P) = { | |
578 | + | let cn = aZ(aA) | |
579 | + | let bG = cn._1 | |
580 | + | let F = cn._2 | |
581 | + | let bA = cn._3 | |
582 | + | let bX = z(("current_bidamount_" + H)) | |
583 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + P) | |
584 | + | let aV = w((aU + "_OPEN"), "Bid not found") | |
585 | + | let aW = split(aV, "_") | |
586 | + | let aF = aS(aW[0]) | |
587 | + | let co = "CANCELED" | |
588 | + | [DeleteEntry((aU + "_OPEN")), StringEntry(((aU + "_") + co), ((aV + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX - 1)), ScriptTransfer(Address(fromBase58String(F)), parseIntValue(aW[1]), aF)] | |
583 | 589 | } | |
584 | 590 | ||
585 | 591 | ||
586 | - | func cn (ay,H,aZ,P) = { | |
587 | - | let cl = aX(ay) | |
588 | - | let bE = cl._1 | |
589 | - | let F = cl._2 | |
590 | - | let by = cl._3 | |
591 | - | let bV = z(("current_bidamount_" + H)) | |
592 | - | let aS = ((((((("bid_" + H) + "_") + aZ) + "_") + F) + "_") + P) | |
593 | - | let aT = w((aS + "_OPEN"), "Bid not found") | |
594 | - | let aU = split(aT, "_") | |
595 | - | let aD = aQ(aU[0]) | |
596 | - | let cm = "CANCELED" | |
597 | - | let aV = parseIntValue(aU[1]) | |
598 | - | let ch = v(N(H)) | |
599 | - | if ((P == ch)) | |
592 | + | func cp (cq,cr,F,H) = if ((cq != "")) | |
593 | + | then throw("Collections can not be empty!") | |
594 | + | else if ((cr == "")) | |
595 | + | then [StringEntry(Y(F, H), cq)] | |
596 | + | else [StringEntry(Y(F, H), cq), StringEntry(Z(F, H), cr)] | |
597 | + | ||
598 | + | ||
599 | + | func cs (aA,H,bb,P) = { | |
600 | + | let cn = aZ(aA) | |
601 | + | let bG = cn._1 | |
602 | + | let F = cn._2 | |
603 | + | let bA = cn._3 | |
604 | + | let bX = z(("current_bidamount_" + H)) | |
605 | + | let aU = ((((((("bid_" + H) + "_") + bb) + "_") + F) + "_") + P) | |
606 | + | let aV = w((aU + "_OPEN"), "Bid not found") | |
607 | + | let aW = split(aV, "_") | |
608 | + | let aF = aS(aW[0]) | |
609 | + | let co = "CANCELED" | |
610 | + | let aX = parseIntValue(aW[1]) | |
611 | + | let cj = v(N(H)) | |
612 | + | if ((P == cj)) | |
600 | 613 | then throw("You can't cancel the highest bid!") | |
601 | - | else [DeleteEntry(( | |
614 | + | else [DeleteEntry((aU + "_OPEN")), StringEntry(((aU + "_") + co), ((aV + "_") + toString(bA))), IntegerEntry(("current_bidamount_" + H), (bX - 1)), ScriptTransfer(Address(fromBase58String(F)), aX, aF)] | |
602 | 615 | } | |
603 | 616 | ||
604 | 617 | ||
605 | - | @Callable( | |
606 | - | func mintNft ( | |
618 | + | @Callable(aA) | |
619 | + | func mintNft (bg,bu,bw) = if ((aA.caller == this)) | |
607 | 620 | then { | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | $Tuple2([ | |
621 | + | let ct = Address(fromBase58String(bw)) | |
622 | + | let cu = Issue(("SCONEX_" + toString((bg + 1))), bu, 1, 0, false) | |
623 | + | let bL = calculateAssetId(cu) | |
624 | + | $Tuple2([cu, ScriptTransfer(ct, 1, bL)], toBase58String(bL)) | |
612 | 625 | } | |
613 | 626 | else throw("Only the dApp can mint NFT's") | |
614 | 627 | ||
615 | 628 | ||
616 | 629 | ||
617 | - | @Callable(ay) | |
618 | - | func addArtwork (ah,at,au,av,cq,as,cr,cs,ct,cu) = { | |
619 | - | let cv = aX(ay) | |
620 | - | let H = cv._1 | |
621 | - | let F = cv._2 | |
622 | - | let by = cv._3 | |
623 | - | if (containsElement(i, cq)) | |
630 | + | @Callable(aA) | |
631 | + | func updateCollection (H,cq,cr) = { | |
632 | + | let F = toBase58String(aA.caller.bytes) | |
633 | + | let cv = aa(H, F) | |
634 | + | if (getBooleanValue(cv)) | |
635 | + | then throw("Can not update collection from artwork for sale") | |
636 | + | else cp(cq, cr, F, H) | |
637 | + | } | |
638 | + | ||
639 | + | ||
640 | + | ||
641 | + | @Callable(aA) | |
642 | + | func addArtwork (aj,av,aw,ax,cw,au,cx,cy,cq,cr) = { | |
643 | + | let cz = aZ(aA) | |
644 | + | let H = cz._1 | |
645 | + | let F = cz._2 | |
646 | + | let bA = cz._3 | |
647 | + | if (containsElement(i, cw)) | |
624 | 648 | then { | |
625 | - | let | |
626 | - | if (( | |
649 | + | let cA = at(F, au, av, aw, ax) | |
650 | + | if ((cA != "")) | |
627 | 651 | then throw("Something went wrong!") | |
628 | 652 | else { | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | if (!(isDefined( | |
653 | + | let cB = aD(aA) | |
654 | + | let aC = cB._1 | |
655 | + | let aF = cB._2 | |
656 | + | if (!(isDefined(aC))) | |
633 | 657 | then throw("Something went wrong") | |
634 | 658 | else { | |
635 | - | let | |
636 | - | then [StringEntry(L(F, H), | |
659 | + | let cC = if (containsElement(j, cw)) | |
660 | + | then [StringEntry(L(F, H), cy)] | |
637 | 661 | else nil | |
638 | - | let cz = v(ai(ah, F)) | |
639 | - | if ((cz != "")) | |
662 | + | let cD = cp(cq, cr, F, H) | |
663 | + | let cE = v(ak(aj, F)) | |
664 | + | if ((cE != "")) | |
640 | 665 | then throw("You already added it") | |
641 | 666 | else { | |
642 | - | let | |
643 | - | if (( | |
667 | + | let cF = v(ai(aj)) | |
668 | + | if ((cF != "")) | |
644 | 669 | then throw("This hash is already registered") | |
645 | - | else ( | |
670 | + | else ((cC ++ cD) ++ [StringEntry(ai(aj), F), StringEntry(ak(aj, F), H), IntegerEntry(G(F, H), bA), StringEntry(I(F, H), av), StringEntry(J(F, H), aw), StringEntry(K(F, H), au), StringEntry(ad(F, H), cw), StringEntry(ac(F, H), ax), IntegerEntry(M(F, H), 0), IntegerEntry(T(F, H), 0), BooleanEntry(aa(F, H), false), StringEntry(ag(F, H), aj), StringEntry(ab(F, H), cx), ScriptTransfer(Address(fromBase58String(c)), aC, aF)]) | |
646 | 671 | } | |
647 | 672 | } | |
648 | 673 | } | |
649 | 674 | } | |
650 | 675 | else throw("Unknown type") | |
651 | 676 | } | |
652 | 677 | ||
653 | 678 | ||
654 | 679 | ||
655 | - | @Callable( | |
656 | - | func sellArtwork (H, | |
657 | - | let | |
658 | - | let | |
659 | - | let F = | |
660 | - | let | |
661 | - | if ((0 > | |
680 | + | @Callable(aA) | |
681 | + | func sellArtwork (H,aQ,cG,aF,cH,ch,cI) = { | |
682 | + | let cJ = aZ(aA) | |
683 | + | let bG = cJ._1 | |
684 | + | let F = cJ._2 | |
685 | + | let bh = v(I(F, H)) | |
686 | + | if ((0 > cI)) | |
662 | 687 | then throw("Royalty percentage should be above 0") | |
663 | - | else if (( | |
688 | + | else if ((cI > 85)) | |
664 | 689 | then throw("Royalty percentage should be below 85") | |
665 | - | else if (!(containsElement([q, r, s], | |
690 | + | else if (!(containsElement([q, r, s], cH))) | |
666 | 691 | then throw("We don't know this auction type") | |
667 | - | else if (( | |
692 | + | else if ((bh == "")) | |
668 | 693 | then throw("This art doesn't match your account") | |
669 | 694 | else { | |
670 | - | let | |
671 | - | if (!( | |
695 | + | let bX = z(("current_bidamount_" + H)) | |
696 | + | if (!(aO(aF))) | |
672 | 697 | then throw("Something went wrong!") | |
673 | - | else if (!( | |
698 | + | else if (!(aP(aF, aQ))) | |
674 | 699 | then throw("Something went wrong!") | |
675 | 700 | else { | |
676 | - | let | |
677 | - | if (( | |
678 | - | then throw( | |
701 | + | let ay = ar(F) | |
702 | + | if ((ay != "")) | |
703 | + | then throw(ay) | |
679 | 704 | else { | |
680 | - | let | |
681 | - | let | |
682 | - | if (( | |
705 | + | let bj = z(T(F, H)) | |
706 | + | let bk = z(M(F, H)) | |
707 | + | if ((cG > 10000)) | |
683 | 708 | then throw("10000 editions max per artwork") | |
684 | - | else if (if (( | |
685 | - | then ( | |
709 | + | else if (if ((bj != 0)) | |
710 | + | then (bj == bk) | |
686 | 711 | else false) | |
687 | 712 | then throw("Max edition reached.") | |
688 | - | else if (if (( | |
689 | - | then ( | |
713 | + | else if (if ((bj > 0)) | |
714 | + | then (bk != cG) | |
690 | 715 | else false) | |
691 | 716 | then throw("Cannot change maximum issuable anymore") | |
692 | - | else if (if (( | |
693 | - | then ( | |
717 | + | else if (if ((bX > 0)) | |
718 | + | then (bk != cG) | |
694 | 719 | else false) | |
695 | 720 | then throw("Cannot change maximum issuable with active orders") | |
696 | 721 | else { | |
697 | - | let | |
698 | - | then ( | |
722 | + | let bv = if (if ((aQ > 0)) | |
723 | + | then (cG > 0) | |
699 | 724 | else false) | |
700 | 725 | then true | |
701 | 726 | else false | |
702 | - | let | |
703 | - | [BooleanEntry( | |
727 | + | let ca = (ch + height) | |
728 | + | [BooleanEntry(aa(F, H), bv), IntegerEntry(ae(F, H), aQ), IntegerEntry(M(F, H), cG), IntegerEntry(Q(F, H), ch), IntegerEntry(R(F, H), ca), StringEntry(af(F, H), aF), StringEntry(S(F, H), cH), IntegerEntry(X(F, H), cI)] | |
704 | 729 | } | |
705 | 730 | } | |
706 | 731 | } | |
707 | 732 | } | |
708 | 733 | } | |
709 | 734 | ||
710 | 735 | ||
711 | 736 | ||
712 | - | @Callable( | |
713 | - | func buyArtwork (H, | |
714 | - | let | |
715 | - | if (( | |
716 | - | then | |
737 | + | @Callable(aA) | |
738 | + | func buyArtwork (H,bb) = { | |
739 | + | let cH = v(S(bb, H)) | |
740 | + | if ((cH == s)) | |
741 | + | then bE(aA, H, bb, "", "", false) | |
717 | 742 | else throw("Direct buy only allowed when no auction type is set!") | |
718 | 743 | } | |
719 | 744 | ||
720 | 745 | ||
721 | 746 | ||
722 | - | @Callable( | |
723 | - | func updateTags ( | |
724 | - | let F = toString(addressFromPublicKey( | |
747 | + | @Callable(aA) | |
748 | + | func updateTags (cK,H,ax) = { | |
749 | + | let F = toString(addressFromPublicKey(aA.callerPublicKey)) | |
725 | 750 | if (containsElement(h, F)) | |
726 | - | then if ((size(split( | |
751 | + | then if ((size(split(ax, ",")) > 5)) | |
727 | 752 | then throw("5 tags max.") | |
728 | 753 | else { | |
729 | - | let | |
730 | - | if (( | |
754 | + | let cL = w(ac(cK, H), "No tags created with this key, so can't update!") | |
755 | + | if ((ax == cL)) | |
731 | 756 | then throw("Tags are the same as old tags!") | |
732 | - | else [StringEntry( | |
757 | + | else [StringEntry(ac(cK, H), ax)] | |
733 | 758 | } | |
734 | 759 | else throw("no") | |
735 | 760 | } | |
736 | 761 | ||
737 | 762 | ||
738 | 763 | ||
739 | - | @Callable( | |
740 | - | func deleteEntry ( | |
741 | - | let F = toString(addressFromPublicKey( | |
764 | + | @Callable(aA) | |
765 | + | func deleteEntry (cM) = { | |
766 | + | let F = toString(addressFromPublicKey(aA.callerPublicKey)) | |
742 | 767 | if (containsElement(h, F)) | |
743 | - | then [DeleteEntry( | |
768 | + | then [DeleteEntry(cM)] | |
744 | 769 | else throw("no") | |
745 | 770 | } | |
746 | 771 | ||
747 | 772 | ||
748 | 773 | ||
749 | - | @Callable( | |
750 | - | func setBid (H, | |
751 | - | let | |
752 | - | if (( | |
753 | - | then | |
754 | - | else if (( | |
755 | - | then | |
756 | - | else throw((("Unknown auction type :" + | |
774 | + | @Callable(aA) | |
775 | + | func setBid (H,bb) = { | |
776 | + | let cH = v(S(bb, H)) | |
777 | + | if ((cH == q)) | |
778 | + | then bU(aA, H, bb) | |
779 | + | else if ((cH == r)) | |
780 | + | then bZ(aA, H, bb) | |
781 | + | else throw((("Unknown auction type :" + cH) + ", please contact the admins")) | |
757 | 782 | } | |
758 | 783 | ||
759 | 784 | ||
760 | 785 | ||
761 | - | @Callable( | |
762 | - | func acceptBid (H, | |
763 | - | let | |
764 | - | if (( | |
765 | - | then | |
766 | - | else if (( | |
767 | - | then | |
768 | - | else throw((("Unknown auction type :" + | |
786 | + | @Callable(aA) | |
787 | + | func acceptBid (H,bb,P,bc) = { | |
788 | + | let cH = v(S(bb, H)) | |
789 | + | if ((cH == q)) | |
790 | + | then ce(aA, H, bb, P, bc) | |
791 | + | else if ((cH == r)) | |
792 | + | then ci(aA, H, bb, P, bc) | |
793 | + | else throw((("Unknown auction type :" + cH) + ", please contact the admins")) | |
769 | 794 | } | |
770 | 795 | ||
771 | 796 | ||
772 | 797 | ||
773 | - | @Callable( | |
774 | - | func cancelBid (H, | |
775 | - | let | |
776 | - | if (( | |
777 | - | then | |
778 | - | else | |
798 | + | @Callable(aA) | |
799 | + | func cancelBid (H,bb,P) = { | |
800 | + | let cH = v(S(bb, H)) | |
801 | + | if ((cH == q)) | |
802 | + | then cm(aA, H, bb, P) | |
803 | + | else cs(aA, H, bb, P) | |
779 | 804 | } | |
780 | 805 | ||
781 | 806 |
github/deemru/w8io/026f985 237.16 ms ◑