tx · 2JxtmcDZGopstmYjUg5n3QDFwBvANp7cgSrjk9RnTpGG 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p: -0.01400000 Waves 2022.02.02 15:12 [1905954] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves
{ "type": 13, "id": "2JxtmcDZGopstmYjUg5n3QDFwBvANp7cgSrjk9RnTpGG", "fee": 1400000, "feeAssetId": null, "timestamp": 1643804024277, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "4MvVQCrwm7cCQToXyjbvi7wd2xrECzpke9FTYC7r3h4CPUENe4EAah322dg6yzNhn2PJo7KJ6B2U6z5AxWGJbk14" ], "script": "base64:AAIFAAAAAAAAADMIAhIECgIECBIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgYKBAgICAgAAAAzAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAADGFydHdvcmtzRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkJ5bmZiWEMyS2FzdFV4aHVrY01VYUU1OEs5Y0JkQjlVWQAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNdDRSR01FeWpTV1lBb2NUUHF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VPd25lcgcJAAACAAAAAQIAAAAdWW91IGNhbm5vdCBjYW5jZWwgdGhpcyBvZmZlci4EAAAABmJpZEtleQkBAAAACWdldEJpZEtleQAAAAQFAAAACm9mZmVyT3duZXIFAAAABW5mdElkBQAAAAlzYWxlT3duZXIFAAAAB29mZmVySWQEAAAADSR0MDE3NDA0MTc0NTkJAQAAAApnZXRCaWREYXRhAAAAAQUAAAAGYmlkS2V5BAAAAApiaWREYXRhQXJyCAUAAAANJHQwMTc0MDQxNzQ1OQAAAAJfMQQAAAAHYXNzZXRJZAgFAAAADSR0MDE3NDA0MTc0NTkAAAACXzIEAAAAB2JpZERhdGEIBQAAAA0kdDAxNzQwNDE3NDU5AAAAAl8zCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAGYmlkS2V5AgAAAAVfT1BFTgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAABmJpZEtleQIAAAAKX0NBTkNFTExFRAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAdiaWREYXRhAgAAAAtfQ0FOQ0VMTEVEXwkAAaQAAAABBQAAAARkYXRlAgAAAAFfBQAAAAJpZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGY2FsbGVyCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAKYmlkRGF0YUFycgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAANzvft8=", "height": 1905954, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FsJYPzUKCnL19cDrVh95dg15y1KPSAWZQ6mBPMdHQMPu Next: 4oXDru48RPaXCQZtC4YXVYkrqG53pQsXbwXn8gBXFctj Diff:
Old | New | Differences | |
---|---|---|---|
276 | 276 | let aR = V(U) | |
277 | 277 | let W = aR._1 | |
278 | 278 | let X = aR._2 | |
279 | - | if ((X | |
279 | + | if ((X == 1)) | |
280 | 280 | then throw("No NFT attached") | |
281 | 281 | else { | |
282 | 282 | let L = if (if (isDefined(W.assetId)) |
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 | - | if ((X | |
279 | + | if ((X == 1)) | |
280 | 280 | then throw("No NFT attached") | |
281 | 281 | else { | |
282 | 282 | let L = if (if (isDefined(W.assetId)) | |
283 | 283 | then aa(value(W.assetId)) | |
284 | 284 | else false) | |
285 | 285 | then toBase58String(value(W.assetId)) | |
286 | 286 | else throw("Only SIGN Art NFT accepted.") | |
287 | 287 | let aS = aG(U, L) | |
288 | 288 | let I = aS._1 | |
289 | 289 | let K = aS._2 | |
290 | 290 | let aI = aS._3 | |
291 | 291 | let aK = aS._4 | |
292 | 292 | let F = aS._5 | |
293 | 293 | let M = aS._6 | |
294 | 294 | let ar = aS._7 | |
295 | 295 | if ((size(ar) == 0)) | |
296 | 296 | then throw("Artwork not found on SIGN Art") | |
297 | 297 | else if (!(aK)) | |
298 | 298 | then throw("Not a valid nft") | |
299 | 299 | else if (!(ab(aQ))) | |
300 | 300 | then throw("Only SIGN, USDN or WAVES accepted") | |
301 | 301 | else if (!(aB(aQ, aC))) | |
302 | 302 | then throw("Wrong minimum sell price") | |
303 | 303 | 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)] | |
304 | 304 | } | |
305 | 305 | } | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | ||
309 | 309 | @Callable(U) | |
310 | 310 | func updateSalePrice (L,aC,aQ) = { | |
311 | 311 | let aT = aG(U, L) | |
312 | 312 | let I = aT._1 | |
313 | 313 | let K = aT._2 | |
314 | 314 | let aI = aT._3 | |
315 | 315 | let aK = aT._4 | |
316 | 316 | let F = aT._5 | |
317 | 317 | let M = aT._6 | |
318 | 318 | let ar = aT._7 | |
319 | 319 | if ((size(ar) == 0)) | |
320 | 320 | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
321 | 321 | else if (!(aK)) | |
322 | 322 | then throw("Not a valid nft") | |
323 | 323 | else { | |
324 | 324 | let P = z(("current_owner_on_dapp_" + L)) | |
325 | 325 | if ((P != K)) | |
326 | 326 | then throw("You don't own this NFT") | |
327 | 327 | else { | |
328 | 328 | let ag = z(((("sale2nd_status_" + K) + "_") + L)) | |
329 | 329 | if ((ag != "OPEN")) | |
330 | 330 | then throw("Sale not active") | |
331 | 331 | else if (!(ab(aQ))) | |
332 | 332 | then throw("Only SIGN, USDN or WAVES accepted") | |
333 | 333 | else if (!(aB(aQ, aC))) | |
334 | 334 | then throw("Wrong minimum sell price") | |
335 | 335 | else { | |
336 | 336 | let aU = J(K, L, F, M) | |
337 | 337 | let aV = split(z((aU + "_OPEN")), "_") | |
338 | 338 | [StringEntry((aU + "_OPEN"), ((((((((((((aV[0] + "_") + toString(aC)) + "_") + aQ) + "_") + aV[3]) + "_") + aV[4]) + "_") + aV[5]) + "_") + aV[6]))] | |
339 | 339 | } | |
340 | 340 | } | |
341 | 341 | } | |
342 | 342 | } | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | ||
346 | 346 | @Callable(U) | |
347 | 347 | func cancelSale (L) = { | |
348 | 348 | let aW = aG(U, L) | |
349 | 349 | let I = aW._1 | |
350 | 350 | let K = aW._2 | |
351 | 351 | let aI = aW._3 | |
352 | 352 | let aK = aW._4 | |
353 | 353 | let F = aW._5 | |
354 | 354 | let M = aW._6 | |
355 | 355 | let ar = aW._7 | |
356 | 356 | let P = z(("current_owner_on_dapp_" + L)) | |
357 | 357 | if ((P != K)) | |
358 | 358 | then throw("You don't own this NFT") | |
359 | 359 | else { | |
360 | 360 | let ag = z(((("sale2nd_status_" + K) + "_") + L)) | |
361 | 361 | if ((ag != "OPEN")) | |
362 | 362 | then throw("Sale not active") | |
363 | 363 | else { | |
364 | 364 | let aU = J(K, L, F, M) | |
365 | 365 | let aV = z((aU + "_OPEN")) | |
366 | 366 | [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))] | |
367 | 367 | } | |
368 | 368 | } | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | ||
373 | 373 | @Callable(U) | |
374 | 374 | func buyNFT (L) = { | |
375 | 375 | let aX = aG(U, L) | |
376 | 376 | let I = aX._1 | |
377 | 377 | let K = aX._2 | |
378 | 378 | let aI = aX._3 | |
379 | 379 | let aK = aX._4 | |
380 | 380 | let F = aX._5 | |
381 | 381 | let M = aX._6 | |
382 | 382 | let ar = aX._7 | |
383 | 383 | if ((size(ar) == 0)) | |
384 | 384 | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
385 | 385 | else if (!(aK)) | |
386 | 386 | then throw("Not a valid nft") | |
387 | 387 | else { | |
388 | 388 | let P = ae(L) | |
389 | 389 | let aU = J(P, L, F, M) | |
390 | 390 | let aV = z((aU + "_OPEN")) | |
391 | 391 | if ((size(aV) == 0)) | |
392 | 392 | then throw("Sale Not found!") | |
393 | 393 | else { | |
394 | 394 | let aY = split(aV, "_") | |
395 | 395 | if ((parseInt(aY[1]) == 0)) | |
396 | 396 | then throw("Offer only") | |
397 | 397 | else { | |
398 | 398 | let aZ = V(U) | |
399 | 399 | let W = aZ._1 | |
400 | 400 | let X = aZ._2 | |
401 | 401 | let ba = if (isDefined(W.assetId)) | |
402 | 402 | then toBase58String(value(W.assetId)) | |
403 | 403 | else "" | |
404 | 404 | if (if ((aY[1] != toString(X))) | |
405 | 405 | then true | |
406 | 406 | else (aY[2] != ba)) | |
407 | 407 | then throw("Payment infos don't match.") | |
408 | 408 | else { | |
409 | 409 | let au = fraction(X, l, 100) | |
410 | 410 | let av = fraction(X, m, 100) | |
411 | 411 | let aw = (X - (au + av)) | |
412 | 412 | let bb = at(X, W.assetId, L, M, P, K) | |
413 | 413 | let ax = bb._1 | |
414 | 414 | let ay = bb._2 | |
415 | 415 | let az = bb._3 | |
416 | 416 | let aA = bb._4 | |
417 | 417 | [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] | |
418 | 418 | } | |
419 | 419 | } | |
420 | 420 | } | |
421 | 421 | } | |
422 | 422 | } | |
423 | 423 | ||
424 | 424 | ||
425 | 425 | ||
426 | 426 | @Callable(U) | |
427 | 427 | func setOffer (L) = { | |
428 | 428 | let bc = aG(U, L) | |
429 | 429 | let I = bc._1 | |
430 | 430 | let O = bc._2 | |
431 | 431 | let aI = bc._3 | |
432 | 432 | let aK = bc._4 | |
433 | 433 | let F = bc._5 | |
434 | 434 | let M = bc._6 | |
435 | 435 | let ar = bc._7 | |
436 | 436 | if (!(aK)) | |
437 | 437 | then throw("Not a valid nft") | |
438 | 438 | else { | |
439 | 439 | let bd = V(U) | |
440 | 440 | let W = bd._1 | |
441 | 441 | let X = bd._2 | |
442 | 442 | let ac = if (!(isDefined(W.assetId))) | |
443 | 443 | then "WAVES" | |
444 | 444 | else toBase58String(value(W.assetId)) | |
445 | 445 | if (!(ab(ac))) | |
446 | 446 | then throw("asset not accepted") | |
447 | 447 | else if ((X == 0)) | |
448 | 448 | then throw("Offer of 0 not allowed") | |
449 | 449 | else if (!(aB(ac, X))) | |
450 | 450 | then throw("Wrong minimum sell price") | |
451 | 451 | else { | |
452 | 452 | let P = ae(L) | |
453 | 453 | [StringEntry((N(O, L, P, I) + "_OPEN"), ((((((((((((((toString(aI) + "_") + toString(X)) + "_") + ac) + "_") + L) + "_") + F) + "_") + M) + "_") + O) + "_") + I))] | |
454 | 454 | } | |
455 | 455 | } | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | ||
460 | 460 | @Callable(U) | |
461 | 461 | func acceptOffer (L,Q,O) = { | |
462 | 462 | let be = aG(U, L) | |
463 | 463 | let I = be._1 | |
464 | 464 | let K = be._2 | |
465 | 465 | let aI = be._3 | |
466 | 466 | let aK = be._4 | |
467 | 467 | let F = be._5 | |
468 | 468 | let M = be._6 | |
469 | 469 | let ar = be._7 | |
470 | 470 | if (!(aK)) | |
471 | 471 | then throw("Not a valid nft") | |
472 | 472 | else { | |
473 | 473 | let P = ae(L) | |
474 | 474 | if ((K != P)) | |
475 | 475 | then throw("Only sale owner can accept offer") | |
476 | 476 | else { | |
477 | 477 | let bf = N(O, L, P, Q) | |
478 | 478 | let bg = ah(bf) | |
479 | 479 | let aj = bg._1 | |
480 | 480 | let ac = bg._2 | |
481 | 481 | let ai = bg._3 | |
482 | 482 | let aU = J(P, L, F, M) | |
483 | 483 | let aV = z((aU + "_OPEN")) | |
484 | 484 | if ((size(aV) == 0)) | |
485 | 485 | then throw("Sale Not found!") | |
486 | 486 | else { | |
487 | 487 | let X = value(parseInt(aj[1])) | |
488 | 488 | let bh = at(X, ac, L, M, P, aj[6]) | |
489 | 489 | let ax = bh._1 | |
490 | 490 | let ay = bh._2 | |
491 | 491 | let az = bh._3 | |
492 | 492 | let aA = bh._4 | |
493 | 493 | let bi = if (isDefined(ac)) | |
494 | 494 | then toBase58String(value(ac)) | |
495 | 495 | else "WAVES" | |
496 | 496 | [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)) + "_") + bi)), aL(), ax, ay, az, aA] | |
497 | 497 | } | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(U) | |
505 | 505 | func cancelOffer (L,Q,O,P) = { | |
506 | 506 | let bj = T(U) | |
507 | 507 | let I = bj._1 | |
508 | 508 | let K = bj._2 | |
509 | 509 | let aI = bj._3 | |
510 | 510 | if (if ((K != O)) | |
511 | 511 | then (K != P) | |
512 | 512 | else false) | |
513 | 513 | then throw("You cannot cancel this offer.") | |
514 | 514 | else { | |
515 | 515 | let bf = N(O, L, P, Q) | |
516 | 516 | let bk = ah(bf) | |
517 | 517 | let aj = bk._1 | |
518 | 518 | let ac = bk._2 | |
519 | 519 | let ai = bk._3 | |
520 | 520 | [DeleteEntry((bf + "_OPEN")), StringEntry((bf + "_CANCELLED"), ((((ai + "_CANCELLED_") + toString(aI)) + "_") + I)), ScriptTransfer(Address(fromBase58String(K)), parseIntValue(aj[1]), ac)] | |
521 | 521 | } | |
522 | 522 | } | |
523 | 523 | ||
524 | 524 |
github/deemru/w8io/169f3d6 57.19 ms ◑