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