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