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