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