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