tx · FH9XdY1yxxh9E2qNY8bEjqp4CNZKTZ1VM75nv7fAqxxS 3MzL9nAXDCmu3rvVQWDjTfQJ1vXLjECB1rx: -0.01400000 Waves 2021.05.20 10:28 [1533694] smart account 3MzL9nAXDCmu3rvVQWDjTfQJ1vXLjECB1rx > SELF 0.00000000 Waves
{ "type": 13, "id": "FH9XdY1yxxh9E2qNY8bEjqp4CNZKTZ1VM75nv7fAqxxS", "fee": 1400000, "feeAssetId": null, "timestamp": 1621495780328, "version": 2, "chainId": 84, "sender": "3MzL9nAXDCmu3rvVQWDjTfQJ1vXLjECB1rx", "senderPublicKey": "fiN6rena46GVgA8Lskrx46uQu6iJLZdfGpsHZJUJEwy", "proofs": [ "33sbXpqY8thT93DUSLmX8pokMwgWiRqiDwMxEQKjPXZmYJtTdzDaqPouXoW8wkyVWeVBpAAybKw3anJzkF9sCSve" ], "script": "base64:AAIEAAAAAAAAAD4IAhIECgIBCBIDCgEIEgMKAQgSAwoBCBIFCgMICAgSBQoDCAgIEgQKAggIEgUKAwgICBIFCgMICAgSAwoBCAAAACgAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAAMYXJ0d29ya3NEYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQnluZmJYQzJLYXN0VXhodWtjTVVhRTU4SzljQmRCOVVZAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5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m91bmQEAAAADnJlcXVlc3REYXRhQXJyCQAEtQAAAAIFAAAAC3JlcXVlc3REYXRhAgAAAAFfCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAANcmVxdWVzRGF0YUtleQIAAAAFX09QRU4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADXJlcXVlc0RhdGFLZXkCAAAAAV8JAAGkAAAAAQUAAAAEZGF0ZQIAAAABXwUAAAACaWQCAAAACl9DQU5DRUxMRUQJAAEsAAAAAgkAASwAAAACBQAAAAtyZXF1ZXN0RGF0YQIAAAABXwkAAaQAAAABBQAAAARkYXRlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAxyZXF1ZXN0T3duZXIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAA5yZXF1ZXN0RGF0YUFycgAAAAAAAAAAAQkAAlkAAAABCQABkQAAAAIFAAAADnJlcXVlc3REYXRhQXJyAAAAAAAAAAACBQAAAANuaWwAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZjYWxsZXIFAAAABWNocmlzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAxHaSkA==", "height": 1533694, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = false | |
5 | + | ||
6 | + | let b = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | + | ||
8 | + | let c = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | + | ||
10 | + | let d = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY")) | |
11 | + | ||
12 | + | let e = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
13 | + | ||
14 | + | let f = if (a) | |
15 | + | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
16 | + | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
17 | + | ||
18 | + | let g = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
19 | + | ||
20 | + | let h = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
21 | + | ||
22 | + | let i = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
23 | + | ||
24 | + | let j = base58'' | |
25 | + | ||
26 | + | let k = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
27 | + | ||
28 | + | let l = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
29 | + | ||
30 | + | let m = 3 | |
31 | + | ||
32 | + | let n = 10 | |
33 | + | ||
34 | + | let o = valueOrElse(getBoolean(f, "conf_dapp_is_running"), true) | |
35 | + | ||
36 | + | let p = valueOrElse(getString(f, "conf_maintenance_msg"), "") | |
37 | + | ||
38 | + | let q = "SUSPENDED" | |
39 | + | ||
40 | + | let r = "REMOVED" | |
41 | + | ||
42 | + | let s = "ILLEGAL" | |
43 | + | ||
44 | + | let t = "SUSPENDED" | |
45 | + | ||
46 | + | func u (v) = valueOrElse(getString(f, v), "Error") | |
47 | + | ||
48 | + | ||
49 | + | func w (v) = valueOrElse(getString(d, v), "") | |
50 | + | ||
51 | + | ||
52 | + | func x (v) = valueOrElse(getString(this, v), "") | |
53 | + | ||
54 | + | ||
55 | + | func y (v) = valueOrElse(getInteger(this, v), 0) | |
56 | + | ||
57 | + | ||
58 | + | func z (A) = ("user_status_" + A) | |
59 | + | ||
60 | + | ||
61 | + | func B (C,D) = ((("art_signid_" + D) + "_") + C) | |
62 | + | ||
63 | + | ||
64 | + | func E (C,D) = ((("art_flag_" + D) + "_") + C) | |
65 | + | ||
66 | + | ||
67 | + | func F (G) = ("nft_" + G) | |
68 | + | ||
69 | + | ||
70 | + | func H (I) = if (!(o)) | |
71 | + | then throw(p) | |
72 | + | else $Tuple3(toBase58String(I.transactionId), toBase58String(I.caller.bytes), lastBlock.timestamp) | |
73 | + | ||
74 | + | ||
75 | + | func J (I) = if ((size(I.payments) == 0)) | |
76 | + | then throw("No payment attached") | |
77 | + | else { | |
78 | + | let K = value(I.payments[0]) | |
79 | + | let L = value(K.amount) | |
80 | + | $Tuple2(K, L) | |
81 | + | } | |
82 | + | ||
83 | + | ||
84 | + | func M (G) = { | |
85 | + | let N = value(assetInfo(G)) | |
86 | + | if (if (if (if ((N.quantity != 1)) | |
87 | + | then true | |
88 | + | else (N.decimals != 0)) | |
89 | + | then true | |
90 | + | else (N.reissuable != false)) | |
91 | + | then true | |
92 | + | else (N.issuer != d)) | |
93 | + | then false | |
94 | + | else true | |
95 | + | } | |
96 | + | ||
97 | + | ||
98 | + | func O (P) = if (if (if (if ((P != toBase58String(h))) | |
99 | + | then (P != toBase58String(j)) | |
100 | + | else false) | |
101 | + | then (P != "WAVES") | |
102 | + | else false) | |
103 | + | then (P != toBase58String(i)) | |
104 | + | else false) | |
105 | + | then false | |
106 | + | else true | |
107 | + | ||
108 | + | ||
109 | + | func Q (P) = if ((P == "WAVES")) | |
110 | + | then unit | |
111 | + | else fromBase58String(P) | |
112 | + | ||
113 | + | ||
114 | + | func R (S) = { | |
115 | + | let T = x(("current_owner_on_dapp_" + S)) | |
116 | + | if ((size(T) == 0)) | |
117 | + | then throw("NFT not found") | |
118 | + | else { | |
119 | + | let U = x(((("sale2nd_status_" + T) + "_") + S)) | |
120 | + | if ((U != "OPEN")) | |
121 | + | then throw("NFT not for sale") | |
122 | + | else T | |
123 | + | } | |
124 | + | } | |
125 | + | ||
126 | + | ||
127 | + | func V (v) = { | |
128 | + | let W = x((v + "_OPEN")) | |
129 | + | if ((W == "")) | |
130 | + | then throw("Offer not found") | |
131 | + | else { | |
132 | + | let X = split(W, "_") | |
133 | + | let P = Q(X[2]) | |
134 | + | $Tuple3(X, P, W) | |
135 | + | } | |
136 | + | } | |
137 | + | ||
138 | + | ||
139 | + | func Y (A,G) = { | |
140 | + | let Z = w(E(A, G)) | |
141 | + | if (if ((Z == s)) | |
142 | + | then true | |
143 | + | else (Z == t)) | |
144 | + | then throw(("Original Artwork flagged as " + Z)) | |
145 | + | else true | |
146 | + | } | |
147 | + | ||
148 | + | ||
149 | + | func aa (A) = { | |
150 | + | let ab = u(z(A)) | |
151 | + | if (containsElement([q, r], ab)) | |
152 | + | then throw(("Original Artist " + ab)) | |
153 | + | else true | |
154 | + | } | |
155 | + | ||
156 | + | ||
157 | + | func ac (P) = { | |
158 | + | let ad = split(w(F(P)), "_") | |
159 | + | let ae = w(B(ad[6], ad[5])) | |
160 | + | if ((size(ae) == 0)) | |
161 | + | then throw("Artwork not found on SIGN Art") | |
162 | + | else if (if (!(Y(ad[6], ad[5]))) | |
163 | + | then !(aa(ad[6])) | |
164 | + | else false) | |
165 | + | then $Tuple2(false, ad[6]) | |
166 | + | else $Tuple2(true, ad[6]) | |
167 | + | } | |
168 | + | ||
169 | + | ||
170 | + | func af (D,ag) = { | |
171 | + | let ae = w(B(ag, D)) | |
172 | + | if ((size(ae) == 0)) | |
173 | + | then throw("Artwork not found on SIGN Art") | |
174 | + | else if (if (!(Y(ag, D))) | |
175 | + | then !(aa(ag)) | |
176 | + | else false) | |
177 | + | then false | |
178 | + | else true | |
179 | + | } | |
180 | + | ||
181 | + | ||
182 | + | func ah (L,P,S,ag,T,ai) = { | |
183 | + | let aj = fraction(L, m, 100) | |
184 | + | let ak = fraction(L, n, 100) | |
185 | + | let al = (L - (aj + ak)) | |
186 | + | let am = ScriptTransfer(Address(fromBase58String(e)), aj, P) | |
187 | + | let an = ScriptTransfer(Address(fromBase58String(ag)), ak, P) | |
188 | + | let ao = ScriptTransfer(Address(fromBase58String(T)), al, P) | |
189 | + | let ap = ScriptTransfer(Address(fromBase58String(ai)), 1, fromBase58String(S)) | |
190 | + | $Tuple4(am, an, ao, ap) | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | @Callable(I) | |
195 | + | func sellNFT (aq,ar) = { | |
196 | + | let as = H(I) | |
197 | + | let G = as._1 | |
198 | + | let ai = as._2 | |
199 | + | let at = as._3 | |
200 | + | let au = J(I) | |
201 | + | let K = au._1 | |
202 | + | let L = au._2 | |
203 | + | let P = if (if (isDefined(K.assetId)) | |
204 | + | then M(value(K.assetId)) | |
205 | + | else false) | |
206 | + | then K.assetId | |
207 | + | else throw("Only SIGN Art NFT accepted.") | |
208 | + | if (!(O(ar))) | |
209 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
210 | + | else { | |
211 | + | let av = ac(toBase58String(value(P))) | |
212 | + | let aw = av._1 | |
213 | + | let ag = av._2 | |
214 | + | if (!(aw)) | |
215 | + | then throw("Something went wrong") | |
216 | + | else [StringEntry((((((("sale2nd_info_" + ai) + "_") + toBase58String(value(K.assetId))) + "_") + ag) + "_OPEN"), ((((((((toString(at) + "_") + toString(aq)) + "_") + ar) + "_") + toBase58String(value(K.assetId))) + "_") + ag)), StringEntry(((("sale2nd_status_" + ai) + "_") + toBase58String(value(K.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(K.assetId))), ai)] | |
217 | + | } | |
218 | + | } | |
219 | + | ||
220 | + | ||
221 | + | ||
222 | + | @Callable(I) | |
223 | + | func cancelSale (S) = { | |
224 | + | let ax = H(I) | |
225 | + | let G = ax._1 | |
226 | + | let ai = ax._2 | |
227 | + | let at = ax._3 | |
228 | + | let T = x(("current_owner_on_dapp_" + S)) | |
229 | + | if ((T != ai)) | |
230 | + | then throw("You don't own this NFT") | |
231 | + | else { | |
232 | + | let U = x(((("sale2nd_status_" + ai) + "_") + S)) | |
233 | + | if ((U != "OPEN")) | |
234 | + | then throw("Sale not active") | |
235 | + | else { | |
236 | + | let ag = split(w(F(S)), "_")[6] | |
237 | + | let ay = x(((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_") + U)) | |
238 | + | [DeleteEntry((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + ai) + "_") + S)), DeleteEntry(("current_owner_on_dapp_" + S)), StringEntry((((((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_") + toString(at)) + "_") + G) + "_CANCELLED"), ay), ScriptTransfer(Address(fromBase58String(ai)), 1, fromBase58String(S))] | |
239 | + | } | |
240 | + | } | |
241 | + | } | |
242 | + | ||
243 | + | ||
244 | + | ||
245 | + | @Callable(I) | |
246 | + | func buyNFT (S) = { | |
247 | + | let az = H(I) | |
248 | + | let G = az._1 | |
249 | + | let ai = az._2 | |
250 | + | let at = az._3 | |
251 | + | let T = R(S) | |
252 | + | let aA = ac(S) | |
253 | + | let aw = aA._1 | |
254 | + | let ag = aA._2 | |
255 | + | if (!(aw)) | |
256 | + | then throw("Something went wrong") | |
257 | + | else { | |
258 | + | let ay = x((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")) | |
259 | + | if ((size(ay) == 0)) | |
260 | + | then throw("Sale Not found!") | |
261 | + | else { | |
262 | + | let aB = split(ay, "_") | |
263 | + | if ((parseInt(aB[1]) == 0)) | |
264 | + | then throw("Offer only") | |
265 | + | else { | |
266 | + | let aC = J(I) | |
267 | + | let K = aC._1 | |
268 | + | let L = aC._2 | |
269 | + | if (if ((aB[1] != toString(L))) | |
270 | + | then true | |
271 | + | else (aB[2] != toBase58String(value(K.assetId)))) | |
272 | + | then throw("Payment infos don't match.") | |
273 | + | else { | |
274 | + | let aj = fraction(L, m, 100) | |
275 | + | let ak = fraction(L, n, 100) | |
276 | + | let al = (L - (aj + ak)) | |
277 | + | let aD = ah(L, K.assetId, S, ag, T, ai) | |
278 | + | let am = aD._1 | |
279 | + | let an = aD._2 | |
280 | + | let ao = aD._3 | |
281 | + | let ap = aD._4 | |
282 | + | [DeleteEntry((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + T) + "_") + S)), DeleteEntry(("current_owner_on_dapp_" + S)), StringEntry((((((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_") + toString(at)) + "_") + G) + "_CLOSED"), ((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(K.assetId))) + "_") + S) + "_") + ag) + "_to_") + ai)), am, an, ao, ap] | |
283 | + | } | |
284 | + | } | |
285 | + | } | |
286 | + | } | |
287 | + | } | |
288 | + | ||
289 | + | ||
290 | + | ||
291 | + | @Callable(I) | |
292 | + | func setOffer (S) = { | |
293 | + | let aE = H(I) | |
294 | + | let G = aE._1 | |
295 | + | let aF = aE._2 | |
296 | + | let at = aE._3 | |
297 | + | let aG = J(I) | |
298 | + | let K = aG._1 | |
299 | + | let L = aG._2 | |
300 | + | let P = if (!(isDefined(K.assetId))) | |
301 | + | then "WAVES" | |
302 | + | else toBase58String(value(K.assetId)) | |
303 | + | if (!(O(P))) | |
304 | + | then throw("asset not accepted") | |
305 | + | else { | |
306 | + | let aH = ac(S) | |
307 | + | let aw = aH._1 | |
308 | + | let ag = aH._2 | |
309 | + | if (!(aw)) | |
310 | + | then throw("Something went wrong") | |
311 | + | else { | |
312 | + | let T = R(S) | |
313 | + | [StringEntry((((((((("offer2nd_" + aF) + "_") + S) + "_") + T) + "_") + G) + "_OPEN"), ((((((((toString(at) + "_") + toString(L)) + "_") + P) + "_") + aF) + "_") + G))] | |
314 | + | } | |
315 | + | } | |
316 | + | } | |
317 | + | ||
318 | + | ||
319 | + | ||
320 | + | @Callable(I) | |
321 | + | func acceptOffer (S,aI,aF) = { | |
322 | + | let aJ = H(I) | |
323 | + | let G = aJ._1 | |
324 | + | let ai = aJ._2 | |
325 | + | let at = aJ._3 | |
326 | + | let T = R(S) | |
327 | + | if ((ai != T)) | |
328 | + | then throw("You cannot do this action") | |
329 | + | else { | |
330 | + | let aK = x((((((((("offer2nd_" + aF) + "_") + S) + "_") + T) + "_") + aI) + "_OPEN")) | |
331 | + | if ((aK == "")) | |
332 | + | then throw("Offer not found or not for sale") | |
333 | + | else { | |
334 | + | let aL = ac(S) | |
335 | + | let aw = aL._1 | |
336 | + | let ag = aL._2 | |
337 | + | if (!(aw)) | |
338 | + | then throw("Something went wrong") | |
339 | + | else { | |
340 | + | let ay = x((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")) | |
341 | + | if ((size(ay) == 0)) | |
342 | + | then throw("Sale Not found!") | |
343 | + | else { | |
344 | + | let aM = ((((((("offer2nd_" + aF) + "_") + S) + "_") + T) + "_") + aI) | |
345 | + | let aN = V(aM) | |
346 | + | let X = aN._1 | |
347 | + | let P = aN._2 | |
348 | + | let W = aN._3 | |
349 | + | let L = value(parseInt(X[1])) | |
350 | + | let aO = ah(L, P, S, ag, T, X[3]) | |
351 | + | let am = aO._1 | |
352 | + | let an = aO._2 | |
353 | + | let ao = aO._3 | |
354 | + | let ap = aO._4 | |
355 | + | [DeleteEntry((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")), DeleteEntry((aM + "_OPEN")), DeleteEntry(((("sale2nd_status_" + T) + "_") + S)), DeleteEntry(("current_owner_on_dapp_" + S)), StringEntry((((((aM + "_") + toString(at)) + "_") + G) + "_CLOSED"), ((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(P))) + "_") + aF) + "_") + aI)), StringEntry((((((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_") + toString(at)) + "_") + G) + "_CLOSED"), ((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(P))) + "_") + S) + "_") + ag) + "_to_") + aF)), am, an, ao, ap] | |
356 | + | } | |
357 | + | } | |
358 | + | } | |
359 | + | } | |
360 | + | } | |
361 | + | ||
362 | + | ||
363 | + | ||
364 | + | @Callable(I) | |
365 | + | func cancelOffer (S,aI,T) = { | |
366 | + | let aP = H(I) | |
367 | + | let G = aP._1 | |
368 | + | let ai = aP._2 | |
369 | + | let at = aP._3 | |
370 | + | let aM = ((((((("offer2nd_" + ai) + "_") + S) + "_") + T) + "_") + aI) | |
371 | + | let aQ = V(aM) | |
372 | + | let X = aQ._1 | |
373 | + | let P = aQ._2 | |
374 | + | let W = aQ._3 | |
375 | + | [DeleteEntry((aM + "_OPEN")), StringEntry((((((aM + "_") + toString(at)) + "_") + G) + "_CANCELLED"), ((W + "_") + toString(at))), ScriptTransfer(Address(fromBase58String(ai)), parseIntValue(X[1]), P)] | |
376 | + | } | |
377 | + | ||
378 | + | ||
379 | + | ||
380 | + | @Callable(I) | |
381 | + | func makeRequest (D,ag) = { | |
382 | + | let aR = H(I) | |
383 | + | let G = aR._1 | |
384 | + | let aS = aR._2 | |
385 | + | let at = aR._3 | |
386 | + | let aT = J(I) | |
387 | + | let K = aT._1 | |
388 | + | let L = aT._2 | |
389 | + | let P = if (!(isDefined(K.assetId))) | |
390 | + | then "WAVES" | |
391 | + | else toBase58String(value(K.assetId)) | |
392 | + | if (!(O(P))) | |
393 | + | then throw("asset not accepted") | |
394 | + | else { | |
395 | + | let aU = af(D, ag) | |
396 | + | if (!(aU)) | |
397 | + | then throw("Something went wrong") | |
398 | + | else [StringEntry((((((((("request2nd_" + aS) + "_") + ag) + "_") + D) + "_") + G) + "_OPEN"), ((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(K.assetId))) + "_") + D) + "_") + aS) + "_") + G))] | |
399 | + | } | |
400 | + | } | |
401 | + | ||
402 | + | ||
403 | + | ||
404 | + | @Callable(I) | |
405 | + | func fillRequest (D,aS,aI) = { | |
406 | + | let aV = H(I) | |
407 | + | let G = aV._1 | |
408 | + | let T = aV._2 | |
409 | + | let at = aV._3 | |
410 | + | let aW = J(I) | |
411 | + | let K = aW._1 | |
412 | + | let aX = aW._2 | |
413 | + | let aY = if (if (isDefined(K.assetId)) | |
414 | + | then M(value(K.assetId)) | |
415 | + | else false) | |
416 | + | then K.assetId | |
417 | + | else throw("No NFT found") | |
418 | + | let aZ = split(w(("nft_" + toBase58String(value(aY)))), "_") | |
419 | + | if ((size(aZ) == 0)) | |
420 | + | then throw("No NFT found") | |
421 | + | else { | |
422 | + | let ba = split(x((((((((("request2nd_" + aS) + "_") + aZ[6]) + "_") + D) + "_") + aI) + "_OPEN")), "_") | |
423 | + | if ((size(ba) == 1)) | |
424 | + | then throw("No request found") | |
425 | + | else if ((ba[3] != aZ[5])) | |
426 | + | then throw("This NFT don't match the requested artwork") | |
427 | + | else { | |
428 | + | let L = value(parseInt(ba[1])) | |
429 | + | let bb = ah(L, fromBase58String(ba[2]), toBase58String(value(aY)), aZ[6], T, ba[4]) | |
430 | + | let am = bb._1 | |
431 | + | let an = bb._2 | |
432 | + | let ao = bb._3 | |
433 | + | let ap = bb._4 | |
434 | + | [DeleteEntry((((((((("request2nd_" + aS) + "_") + aZ[6]) + "_") + D) + "_") + aI) + "_OPEN")), StringEntry((((((((("request2nd_" + aS) + "_") + aZ[6]) + "_") + D) + "_") + aI) + "_CLOSED"), ((((((((((((toString(at) + "_") + toString(L)) + "_") + ba[2]) + "_") + D) + "_") + aS) + "_") + T) + "_") + G)), am, an, ao, ap] | |
435 | + | } | |
436 | + | } | |
437 | + | } | |
438 | + | ||
439 | + | ||
440 | + | ||
441 | + | @Callable(I) | |
442 | + | func cancelRequest (D,ag,bc) = { | |
443 | + | let bd = H(I) | |
444 | + | let G = bd._1 | |
445 | + | let aS = bd._2 | |
446 | + | let at = bd._3 | |
447 | + | let be = ((((((("request2nd_" + aS) + "_") + ag) + "_") + D) + "_") + bc) | |
448 | + | let ba = x((be + "_OPEN")) | |
449 | + | if ((size(ba) == 0)) | |
450 | + | then throw("Request not found") | |
451 | + | else { | |
452 | + | let bf = split(ba, "_") | |
453 | + | [DeleteEntry((be + "_OPEN")), StringEntry((((((be + "_") + toString(at)) + "_") + G) + "_CANCELLED"), ((ba + "_") + toString(at))), ScriptTransfer(Address(fromBase58String(aS)), parseIntValue(bf[1]), fromBase58String(bf[2]))] | |
454 | + | } | |
455 | + | } | |
456 | + | ||
457 | + | ||
458 | + | ||
459 | + | @Callable(I) | |
460 | + | func deleteEntry (bg) = { | |
461 | + | let ai = toString(addressFromPublicKey(I.callerPublicKey)) | |
462 | + | if ((ai == k)) | |
463 | + | then [DeleteEntry(bg)] | |
464 | + | else throw("no") | |
465 | + | } | |
466 | + | ||
467 | + |
github/deemru/w8io/026f985 37.99 ms ◑