tx · 7yChYHGRSR3PfsucR3rgd26hMYwyTSe4PauxWhavx3Pg 3MqfdyT9j2zFTipyF1rCU1h4zK2ya78uE7U: -0.01400000 Waves 2021.06.04 13:51 [1555537] smart account 3MqfdyT9j2zFTipyF1rCU1h4zK2ya78uE7U > SELF 0.00000000 Waves
{ "type": 13, "id": "7yChYHGRSR3PfsucR3rgd26hMYwyTSe4PauxWhavx3Pg", "fee": 1400000, "feeAssetId": null, "timestamp": 1622803947707, "version": 2, "chainId": 84, "sender": "3MqfdyT9j2zFTipyF1rCU1h4zK2ya78uE7U", "senderPublicKey": "2c2PB7n2qxoCMWyizek5v76mM3GFmZ2CykxKxK7rJet5", "proofs": [ "3dNLDmH2WJgDNcdy8vD1RhtVj1QrFq66MxcrRgngz4zrHUDqA6zGLJtY6g3gWUUxUrECv6Xv2GzvdEPJhqJU2yp8" ], "script": "base64:AAIEAAAAAAAAAEUIAhIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgUKAwgICBIECgIICBIFCgMICAgSBQoDCAgIEgMKAQgAAAAoAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAADGFydHdvcmtzRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkJ5bmZiWEMyS2FzdFV4aHVrY01VYUU1OEs5Y0JkQjlVWQAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzN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OcmVxdWVzdERhdGFBcnIAAAAAAAAAAAIFAAAAA25pbAAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAFY2hyaXMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAABZTEvE", "height": 1555537, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7vBxAdudq6by7oRenzCS3dy98DambBWFaiMfLg33UJVM Next: BEtPiP3gdMutdAUwKqEgAiVhAKEf4qsGWZ8FV1y1JY6d Diff:
Old | New | Differences | |
---|---|---|---|
291 | 291 | let aD = J(I) | |
292 | 292 | let K = aD._1 | |
293 | 293 | let L = aD._2 | |
294 | - | if (if (if ((aC[1] != toString(L))) | |
295 | - | then true | |
296 | - | else if (isDefined(K.assetId)) | |
297 | - | then (aC[2] != toBase58String(value(K.assetId))) | |
298 | - | else false) | |
299 | - | then true | |
300 | - | else if (!(isDefined(K.assetId))) | |
301 | - | then (aC[2] != "") | |
302 | - | else false) | |
294 | + | if (if (!(isDefined(K.assetId))) | |
295 | + | then (aC[2] != "") | |
296 | + | else false) | |
303 | 297 | then throw("Payment infos don't match.") | |
304 | - | else { | |
305 | - | let aj = fraction(L, m, 100) | |
306 | - | let ak = fraction(L, n, 100) | |
307 | - | let al = (L - (aj + ak)) | |
308 | - | let aE = ah(L, K.assetId, S, ag, T, ai) | |
309 | - | let am = aE._1 | |
310 | - | let an = aE._2 | |
311 | - | let ao = aE._3 | |
312 | - | let ap = aE._4 | |
298 | + | else if (if ((aC[1] != toString(L))) | |
299 | + | then true | |
300 | + | else if (isDefined(K.assetId)) | |
301 | + | then (aC[2] != toBase58String(value(K.assetId))) | |
302 | + | else false) | |
303 | + | then throw("Payment infos don't match.") | |
304 | + | else { | |
305 | + | let aj = fraction(L, m, 100) | |
306 | + | let ak = fraction(L, n, 100) | |
307 | + | let al = (L - (aj + ak)) | |
308 | + | let aE = ah(L, K.assetId, S, ag, T, ai) | |
309 | + | let am = aE._1 | |
310 | + | let an = aE._2 | |
311 | + | let ao = aE._3 | |
312 | + | let ap = aE._4 | |
313 | 313 | [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) + "_") + D) + "_") + ag) + "_to_") + ai) + "_") + aC[6])), am, an, ao, ap] | |
314 | - | } | |
314 | + | } | |
315 | 315 | } | |
316 | 316 | } | |
317 | 317 | } |
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 $Tuple3(false, ad[5], ad[6]) | |
166 | 166 | else $Tuple3(true, ad[5], 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 | func ah (L,P,S,ag,T,ai) = { | |
183 | 183 | let aj = fraction(L, m, 100) | |
184 | 184 | let ak = fraction(L, n, 100) | |
185 | 185 | let al = (L - (aj + ak)) | |
186 | 186 | let am = ScriptTransfer(Address(fromBase58String(e)), aj, P) | |
187 | 187 | let an = ScriptTransfer(Address(fromBase58String(ag)), ak, P) | |
188 | 188 | let ao = ScriptTransfer(Address(fromBase58String(T)), al, P) | |
189 | 189 | let ap = ScriptTransfer(Address(fromBase58String(ai)), 1, fromBase58String(S)) | |
190 | 190 | $Tuple4(am, an, ao, ap) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(I) | |
195 | 195 | func sellNFT (aq,ar) = { | |
196 | 196 | let as = H(I) | |
197 | 197 | let G = as._1 | |
198 | 198 | let ai = as._2 | |
199 | 199 | let at = as._3 | |
200 | 200 | let au = J(I) | |
201 | 201 | let K = au._1 | |
202 | 202 | let L = au._2 | |
203 | 203 | let P = if (if (isDefined(K.assetId)) | |
204 | 204 | then M(value(K.assetId)) | |
205 | 205 | else false) | |
206 | 206 | then K.assetId | |
207 | 207 | else throw("Only SIGN Art NFT accepted.") | |
208 | 208 | if (!(O(ar))) | |
209 | 209 | then throw("Only SIGN, USDN or WAVES accepted") | |
210 | 210 | else { | |
211 | 211 | let av = ac(toBase58String(value(P))) | |
212 | 212 | let aw = av._1 | |
213 | 213 | let D = av._2 | |
214 | 214 | let ag = av._3 | |
215 | 215 | if (!(aw)) | |
216 | 216 | then throw("Something went wrong") | |
217 | 217 | else [StringEntry((((((("sale2nd_info_" + ai) + "_") + toBase58String(value(K.assetId))) + "_") + ag) + "_OPEN"), ((((((((((((toString(at) + "_") + toString(aq)) + "_") + ar) + "_") + toBase58String(value(K.assetId))) + "_") + D) + "_") + ag) + "_") + G)), StringEntry(((("sale2nd_status_" + ai) + "_") + toBase58String(value(K.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(K.assetId))), ai)] | |
218 | 218 | } | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | ||
223 | 223 | @Callable(I) | |
224 | 224 | func updateSalePrice (S,aq,ar) = { | |
225 | 225 | let ax = H(I) | |
226 | 226 | let G = ax._1 | |
227 | 227 | let ai = ax._2 | |
228 | 228 | let at = ax._3 | |
229 | 229 | let T = x(("current_owner_on_dapp_" + S)) | |
230 | 230 | if ((T != ai)) | |
231 | 231 | then throw("You don't own this NFT") | |
232 | 232 | else { | |
233 | 233 | let U = x(((("sale2nd_status_" + ai) + "_") + S)) | |
234 | 234 | if ((U != "OPEN")) | |
235 | 235 | then throw("Sale not active") | |
236 | 236 | else { | |
237 | 237 | let ag = split(w(F(S)), "_")[6] | |
238 | 238 | let ay = split(x(((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_") + U)), "_") | |
239 | 239 | [StringEntry((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_OPEN"), ((((((((((((ay[0] + "_") + toString(aq)) + "_") + ar) + "_") + ay[3]) + "_") + ay[4]) + "_") + ay[5]) + "_") + ay[6]))] | |
240 | 240 | } | |
241 | 241 | } | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(I) | |
247 | 247 | func cancelSale (S) = { | |
248 | 248 | let az = H(I) | |
249 | 249 | let G = az._1 | |
250 | 250 | let ai = az._2 | |
251 | 251 | let at = az._3 | |
252 | 252 | let T = x(("current_owner_on_dapp_" + S)) | |
253 | 253 | if ((T != ai)) | |
254 | 254 | then throw("You don't own this NFT") | |
255 | 255 | else { | |
256 | 256 | let U = x(((("sale2nd_status_" + ai) + "_") + S)) | |
257 | 257 | if ((U != "OPEN")) | |
258 | 258 | then throw("Sale not active") | |
259 | 259 | else { | |
260 | 260 | let ag = split(w(F(S)), "_")[6] | |
261 | 261 | let ay = x(((((((("sale2nd_info_" + ai) + "_") + S) + "_") + ag) + "_") + U)) | |
262 | 262 | [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))] | |
263 | 263 | } | |
264 | 264 | } | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Callable(I) | |
270 | 270 | func buyNFT (S) = { | |
271 | 271 | let aA = H(I) | |
272 | 272 | let G = aA._1 | |
273 | 273 | let ai = aA._2 | |
274 | 274 | let at = aA._3 | |
275 | 275 | let T = R(S) | |
276 | 276 | let aB = ac(S) | |
277 | 277 | let aw = aB._1 | |
278 | 278 | let D = aB._2 | |
279 | 279 | let ag = aB._3 | |
280 | 280 | if (!(aw)) | |
281 | 281 | then throw("Something went wrong") | |
282 | 282 | else { | |
283 | 283 | let ay = x((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")) | |
284 | 284 | if ((size(ay) == 0)) | |
285 | 285 | then throw("Sale Not found!") | |
286 | 286 | else { | |
287 | 287 | let aC = split(ay, "_") | |
288 | 288 | if ((parseInt(aC[1]) == 0)) | |
289 | 289 | then throw("Offer only") | |
290 | 290 | else { | |
291 | 291 | let aD = J(I) | |
292 | 292 | let K = aD._1 | |
293 | 293 | let L = aD._2 | |
294 | - | if (if (if ((aC[1] != toString(L))) | |
295 | - | then true | |
296 | - | else if (isDefined(K.assetId)) | |
297 | - | then (aC[2] != toBase58String(value(K.assetId))) | |
298 | - | else false) | |
299 | - | then true | |
300 | - | else if (!(isDefined(K.assetId))) | |
301 | - | then (aC[2] != "") | |
302 | - | else false) | |
294 | + | if (if (!(isDefined(K.assetId))) | |
295 | + | then (aC[2] != "") | |
296 | + | else false) | |
303 | 297 | then throw("Payment infos don't match.") | |
304 | - | else { | |
305 | - | let aj = fraction(L, m, 100) | |
306 | - | let ak = fraction(L, n, 100) | |
307 | - | let al = (L - (aj + ak)) | |
308 | - | let aE = ah(L, K.assetId, S, ag, T, ai) | |
309 | - | let am = aE._1 | |
310 | - | let an = aE._2 | |
311 | - | let ao = aE._3 | |
312 | - | let ap = aE._4 | |
298 | + | else if (if ((aC[1] != toString(L))) | |
299 | + | then true | |
300 | + | else if (isDefined(K.assetId)) | |
301 | + | then (aC[2] != toBase58String(value(K.assetId))) | |
302 | + | else false) | |
303 | + | then throw("Payment infos don't match.") | |
304 | + | else { | |
305 | + | let aj = fraction(L, m, 100) | |
306 | + | let ak = fraction(L, n, 100) | |
307 | + | let al = (L - (aj + ak)) | |
308 | + | let aE = ah(L, K.assetId, S, ag, T, ai) | |
309 | + | let am = aE._1 | |
310 | + | let an = aE._2 | |
311 | + | let ao = aE._3 | |
312 | + | let ap = aE._4 | |
313 | 313 | [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) + "_") + D) + "_") + ag) + "_to_") + ai) + "_") + aC[6])), am, an, ao, ap] | |
314 | - | } | |
314 | + | } | |
315 | 315 | } | |
316 | 316 | } | |
317 | 317 | } | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | ||
322 | 322 | @Callable(I) | |
323 | 323 | func setOffer (S) = { | |
324 | 324 | let aF = H(I) | |
325 | 325 | let G = aF._1 | |
326 | 326 | let aG = aF._2 | |
327 | 327 | let at = aF._3 | |
328 | 328 | let aH = J(I) | |
329 | 329 | let K = aH._1 | |
330 | 330 | let L = aH._2 | |
331 | 331 | let P = if (!(isDefined(K.assetId))) | |
332 | 332 | then "WAVES" | |
333 | 333 | else toBase58String(value(K.assetId)) | |
334 | 334 | if (!(O(P))) | |
335 | 335 | then throw("asset not accepted") | |
336 | 336 | else { | |
337 | 337 | let aI = ac(S) | |
338 | 338 | let aw = aI._1 | |
339 | 339 | let D = aI._2 | |
340 | 340 | let ag = aI._3 | |
341 | 341 | if (!(aw)) | |
342 | 342 | then throw("Something went wrong") | |
343 | 343 | else { | |
344 | 344 | let T = R(S) | |
345 | 345 | [StringEntry((((((((("offer2nd_" + aG) + "_") + S) + "_") + T) + "_") + G) + "_OPEN"), ((((((((((toString(at) + "_") + toString(L)) + "_") + P) + "_") + D) + "_") + aG) + "_") + G))] | |
346 | 346 | } | |
347 | 347 | } | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | ||
352 | 352 | @Callable(I) | |
353 | 353 | func acceptOffer (S,aJ,aG) = { | |
354 | 354 | let aK = H(I) | |
355 | 355 | let G = aK._1 | |
356 | 356 | let ai = aK._2 | |
357 | 357 | let at = aK._3 | |
358 | 358 | let T = R(S) | |
359 | 359 | if ((ai != T)) | |
360 | 360 | then throw("You cannot do this action") | |
361 | 361 | else { | |
362 | 362 | let aL = x((((((((("offer2nd_" + aG) + "_") + S) + "_") + T) + "_") + aJ) + "_OPEN")) | |
363 | 363 | if ((aL == "")) | |
364 | 364 | then throw("Offer not found or not for sale") | |
365 | 365 | else { | |
366 | 366 | let aM = ac(S) | |
367 | 367 | let aw = aM._1 | |
368 | 368 | let D = aM._2 | |
369 | 369 | let ag = aM._3 | |
370 | 370 | if (!(aw)) | |
371 | 371 | then throw("Something went wrong") | |
372 | 372 | else { | |
373 | 373 | let ay = x((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")) | |
374 | 374 | if ((size(ay) == 0)) | |
375 | 375 | then throw("Sale Not found!") | |
376 | 376 | else { | |
377 | 377 | let aN = ((((((("offer2nd_" + aG) + "_") + S) + "_") + T) + "_") + aJ) | |
378 | 378 | let aO = V(aN) | |
379 | 379 | let X = aO._1 | |
380 | 380 | let P = aO._2 | |
381 | 381 | let W = aO._3 | |
382 | 382 | let L = value(parseInt(X[1])) | |
383 | 383 | let aP = ah(L, P, S, ag, T, X[3]) | |
384 | 384 | let am = aP._1 | |
385 | 385 | let an = aP._2 | |
386 | 386 | let ao = aP._3 | |
387 | 387 | let ap = aP._4 | |
388 | 388 | [DeleteEntry((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_OPEN")), DeleteEntry((aN + "_OPEN")), DeleteEntry(((("sale2nd_status_" + T) + "_") + S)), DeleteEntry(("current_owner_on_dapp_" + S)), StringEntry((((((aN + "_") + toString(at)) + "_") + G) + "_CLOSED"), ((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(P))) + "_") + D) + "_") + aG) + "_") + aJ)), StringEntry((((((((((("sale2nd_info_" + T) + "_") + S) + "_") + ag) + "_") + toString(at)) + "_") + G) + "_CLOSED"), ((((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(P))) + "_") + S) + "_") + D) + "_") + ag) + "_to_") + aG)), am, an, ao, ap] | |
389 | 389 | } | |
390 | 390 | } | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(I) | |
398 | 398 | func cancelOffer (S,aJ,T) = { | |
399 | 399 | let aQ = H(I) | |
400 | 400 | let G = aQ._1 | |
401 | 401 | let ai = aQ._2 | |
402 | 402 | let at = aQ._3 | |
403 | 403 | let aN = ((((((("offer2nd_" + ai) + "_") + S) + "_") + T) + "_") + aJ) | |
404 | 404 | let aR = V(aN) | |
405 | 405 | let X = aR._1 | |
406 | 406 | let P = aR._2 | |
407 | 407 | let W = aR._3 | |
408 | 408 | [DeleteEntry((aN + "_OPEN")), StringEntry((((((aN + "_") + toString(at)) + "_") + G) + "_CANCELLED"), ((W + "_") + toString(at))), ScriptTransfer(Address(fromBase58String(ai)), parseIntValue(X[1]), P)] | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | ||
413 | 413 | @Callable(I) | |
414 | 414 | func makeRequest (D,ag) = { | |
415 | 415 | let aS = H(I) | |
416 | 416 | let G = aS._1 | |
417 | 417 | let aT = aS._2 | |
418 | 418 | let at = aS._3 | |
419 | 419 | let aU = J(I) | |
420 | 420 | let K = aU._1 | |
421 | 421 | let L = aU._2 | |
422 | 422 | let P = if (!(isDefined(K.assetId))) | |
423 | 423 | then "WAVES" | |
424 | 424 | else toBase58String(value(K.assetId)) | |
425 | 425 | if (!(O(P))) | |
426 | 426 | then throw("asset not accepted") | |
427 | 427 | else { | |
428 | 428 | let aV = af(D, ag) | |
429 | 429 | if (!(aV)) | |
430 | 430 | then throw("Something went wrong") | |
431 | 431 | else [StringEntry((((((((("request2nd_" + aT) + "_") + ag) + "_") + D) + "_") + G) + "_OPEN"), ((((((((((toString(at) + "_") + toString(L)) + "_") + toBase58String(value(K.assetId))) + "_") + D) + "_") + aT) + "_") + G))] | |
432 | 432 | } | |
433 | 433 | } | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | ||
437 | 437 | @Callable(I) | |
438 | 438 | func fillRequest (D,aT,aJ) = { | |
439 | 439 | let aW = H(I) | |
440 | 440 | let G = aW._1 | |
441 | 441 | let T = aW._2 | |
442 | 442 | let at = aW._3 | |
443 | 443 | let aX = J(I) | |
444 | 444 | let K = aX._1 | |
445 | 445 | let aY = aX._2 | |
446 | 446 | let aZ = if (if (isDefined(K.assetId)) | |
447 | 447 | then M(value(K.assetId)) | |
448 | 448 | else false) | |
449 | 449 | then K.assetId | |
450 | 450 | else throw("No NFT found") | |
451 | 451 | let ba = split(w(("nft_" + toBase58String(value(aZ)))), "_") | |
452 | 452 | if ((size(ba) == 0)) | |
453 | 453 | then throw("No NFT found") | |
454 | 454 | else { | |
455 | 455 | let bb = split(x((((((((("request2nd_" + aT) + "_") + ba[6]) + "_") + D) + "_") + aJ) + "_OPEN")), "_") | |
456 | 456 | if ((size(bb) == 1)) | |
457 | 457 | then throw("No request found") | |
458 | 458 | else if ((bb[3] != ba[5])) | |
459 | 459 | then throw("This NFT don't match the requested artwork") | |
460 | 460 | else { | |
461 | 461 | let L = value(parseInt(bb[1])) | |
462 | 462 | let bc = ah(L, fromBase58String(bb[2]), toBase58String(value(aZ)), ba[6], T, bb[4]) | |
463 | 463 | let am = bc._1 | |
464 | 464 | let an = bc._2 | |
465 | 465 | let ao = bc._3 | |
466 | 466 | let ap = bc._4 | |
467 | 467 | [DeleteEntry((((((((("request2nd_" + aT) + "_") + ba[6]) + "_") + D) + "_") + aJ) + "_OPEN")), StringEntry((((((((("request2nd_" + aT) + "_") + ba[6]) + "_") + D) + "_") + aJ) + "_CLOSED"), ((((((((((((toString(at) + "_") + toString(L)) + "_") + bb[2]) + "_") + D) + "_") + aT) + "_") + T) + "_") + G)), am, an, ao, ap] | |
468 | 468 | } | |
469 | 469 | } | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | ||
474 | 474 | @Callable(I) | |
475 | 475 | func cancelRequest (D,ag,bd) = { | |
476 | 476 | let be = H(I) | |
477 | 477 | let G = be._1 | |
478 | 478 | let aT = be._2 | |
479 | 479 | let at = be._3 | |
480 | 480 | let bf = ((((((("request2nd_" + aT) + "_") + ag) + "_") + D) + "_") + bd) | |
481 | 481 | let bb = x((bf + "_OPEN")) | |
482 | 482 | if ((size(bb) == 0)) | |
483 | 483 | then throw("Request not found") | |
484 | 484 | else { | |
485 | 485 | let bg = split(bb, "_") | |
486 | 486 | [DeleteEntry((bf + "_OPEN")), StringEntry((((((bf + "_") + toString(at)) + "_") + G) + "_CANCELLED"), ((bb + "_") + toString(at))), ScriptTransfer(Address(fromBase58String(aT)), parseIntValue(bg[1]), fromBase58String(bg[2]))] | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(I) | |
493 | 493 | func deleteEntry (bh) = { | |
494 | 494 | let ai = toString(addressFromPublicKey(I.callerPublicKey)) | |
495 | 495 | if ((ai == k)) | |
496 | 496 | then [DeleteEntry(bh)] | |
497 | 497 | else throw("no") | |
498 | 498 | } | |
499 | 499 | ||
500 | 500 |
github/deemru/w8io/169f3d6 83.04 ms ◑