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