tx · CcXeSXqZP3KKVBPzGBzSkLBnEUuGRp4jwWGqfkRcAv3n 3N2nUQY64gqhhYp49xqXht8GgVsS1w9GSt6: -0.01000000 Waves 2022.02.15 07:28 [1924262] smart account 3N2nUQY64gqhhYp49xqXht8GgVsS1w9GSt6 > SELF 0.00000000 Waves
{ "type": 13, "id": "CcXeSXqZP3KKVBPzGBzSkLBnEUuGRp4jwWGqfkRcAv3n", "fee": 1000000, "feeAssetId": null, "timestamp": 1644899434811, "version": 2, "chainId": 84, "sender": "3N2nUQY64gqhhYp49xqXht8GgVsS1w9GSt6", "senderPublicKey": "7pgnsWbYXCPhqanvNizfYoDDxUxWtyWUYqoxP5mz1Yfy", "proofs": [ "3WKfQtw1xB6bBoQ15FqR7LkSE8SUXJYtyXFH1Dgzbk4JTeEDDVxfrQEzvkzHz6HT5C3h7w6iEwwZ79NfyBzWaS9R" ], "script": "base64:AAIFAAAAAAAAAEcIAhIECgIECBIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgYKBAgICAgSBAoCCAgSBQoDCAgIEgUKAwgICAAAADUAAAAACHVuaXRUZXN0BgAAAAARdW5pdFRlc3RTZWNvbmRhcnkGAAAAAAxhcnR3b3Jrc0RhcHADBQAAABF1bml0VGVzdFNlY29uZGFyeQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjdpajFIUFRvM2JjQndpWWZDc3VDdDVVN3NDalFCek1lRQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkJ5bmZiWEMyS2FzdFV4aHVrY01VYUU1OEs5Y0JkQjlVWQAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjh4WGFZakUyN0FhNzlkNWhIcmhIdTlIYUZvVEJtaERFagAAAAAJb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cmVzcwAAAAEJAAJZAAAAAQUAAAAMcmVxdWVzdE93bmVyCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAOcmVxdWVzdERhdGFBcnIAAAAAAAAAAAEJAAJZAAAAAQkAAZEAAAACBQAAAA5yZXF1ZXN0RGF0YUFycgAAAAAAAAAAAgUAAAADbmlsAAAAACMiYqU=", "height": 1924262, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let unitTest = true | |
5 | + | ||
6 | + | let unitTestSecondary = true | |
7 | + | ||
8 | + | let artworksDapp = if (unitTestSecondary) | |
9 | + | then value(addressFromString("3N7ij1HPTo3bcBwiYfCsuCt5U7sCjQBzMeE")) | |
10 | + | else value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY")) | |
11 | + | ||
12 | + | let userDapp = if (unitTest) | |
13 | + | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
14 | + | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
15 | + | ||
16 | + | let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
17 | + | ||
18 | + | let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
19 | + | ||
20 | + | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
21 | + | ||
22 | + | let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
23 | + | ||
24 | + | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
25 | + | ||
26 | + | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
27 | + | ||
28 | + | let wavesAssetId = base58'' | |
29 | + | ||
30 | + | let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
31 | + | ||
32 | + | let signCut = 3 | |
33 | + | ||
34 | + | let creatorCut = 10 | |
35 | + | ||
36 | + | let userSuspended = "SUSPENDED" | |
37 | + | ||
38 | + | let userRemoved = "REMOVED" | |
39 | + | ||
40 | + | let artIllegal = "ILLEGAL" | |
41 | + | ||
42 | + | let artSuspended = "SUSPENDED" | |
43 | + | ||
44 | + | let dappRunningKey = "conf_dapp_is_running" | |
45 | + | ||
46 | + | let maintenanceMSGKey = "conf_maintenance_msg" | |
47 | + | ||
48 | + | let dappRunning = valueOrElse(getBoolean(this, dappRunningKey), true) | |
49 | + | ||
50 | + | let maintenanceMSG = valueOrElse(getString(this, maintenanceMSGKey), "") | |
51 | + | ||
52 | + | let numSalesK = "num_sales" | |
53 | + | ||
54 | + | func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error") | |
55 | + | ||
56 | + | ||
57 | + | func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "") | |
58 | + | ||
59 | + | ||
60 | + | func getStrByK (key) = valueOrElse(getString(this, key), "") | |
61 | + | ||
62 | + | ||
63 | + | func getIntByK (key) = valueOrElse(getInteger(this, key), 0) | |
64 | + | ||
65 | + | ||
66 | + | func keyUserStatus (addr) = ("user_status_" + addr) | |
67 | + | ||
68 | + | ||
69 | + | func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr) | |
70 | + | ||
71 | + | ||
72 | + | func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr) | |
73 | + | ||
74 | + | ||
75 | + | func keyNFTData (id) = ("nft_" + id) | |
76 | + | ||
77 | + | ||
78 | + | func getSaleKey (caller,nftId,artId,creatorAddr) = ((((((("sale2nd_info_" + caller) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) | |
79 | + | ||
80 | + | ||
81 | + | func getBidKey (offerOwner,nftId,saleOwner,offerId) = ((((((("offer2nd_" + offerOwner) + "_") + nftId) + "_") + saleOwner) + "_") + offerId) | |
82 | + | ||
83 | + | ||
84 | + | func getRequestKey (requestOwner,creatorAddr,artId,id) = ((((((("request2nd_" + requestOwner) + "_") + creatorAddr) + "_") + artId) + "_") + id) | |
85 | + | ||
86 | + | ||
87 | + | func getIntByKFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle") | |
88 | + | ||
89 | + | ||
90 | + | let currentCertificationPrice = getIntByKFromOracle(("certification_fee_" + toBase58String(signAssetId))) | |
91 | + | ||
92 | + | func idCallerDate (i) = if (!(dappRunning)) | |
93 | + | then throw(maintenanceMSG) | |
94 | + | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
95 | + | ||
96 | + | ||
97 | + | func isPayment (i) = if ((size(i.payments) == 0)) | |
98 | + | then throw("No payment attached") | |
99 | + | else { | |
100 | + | let payment = value(i.payments[0]) | |
101 | + | let amount = value(payment.amount) | |
102 | + | $Tuple2(payment, amount) | |
103 | + | } | |
104 | + | ||
105 | + | ||
106 | + | func assetIsValid (assetDetails) = if (if (if ((assetDetails.quantity == 1)) | |
107 | + | then (assetDetails.decimals == 0) | |
108 | + | else false) | |
109 | + | then (assetDetails.reissuable == false) | |
110 | + | else false) | |
111 | + | then (assetDetails.issuer == artworksDapp) | |
112 | + | else false | |
113 | + | ||
114 | + | ||
115 | + | func isSignArtNFT (id) = { | |
116 | + | let assetDetails = value(assetInfo(id)) | |
117 | + | assetIsValid(assetDetails) | |
118 | + | } | |
119 | + | ||
120 | + | ||
121 | + | func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId))) | |
122 | + | then (assetId != toBase58String(wavesAssetId)) | |
123 | + | else false) | |
124 | + | then (assetId != "WAVES") | |
125 | + | else false) | |
126 | + | then (assetId != toBase58String(usdnAssetId)) | |
127 | + | else false) | |
128 | + | then false | |
129 | + | else true | |
130 | + | ||
131 | + | ||
132 | + | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
133 | + | then unit | |
134 | + | else fromBase58String(assetId) | |
135 | + | ||
136 | + | ||
137 | + | func getSaleOwnerAndStatus (nftid) = { | |
138 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
139 | + | if ((size(saleOwner) == 0)) | |
140 | + | then throw("NFT not found") | |
141 | + | else { | |
142 | + | let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid)) | |
143 | + | if ((saleStatus != "OPEN")) | |
144 | + | then throw("NFT not for sale") | |
145 | + | else saleOwner | |
146 | + | } | |
147 | + | } | |
148 | + | ||
149 | + | ||
150 | + | func getBidData (key) = { | |
151 | + | let bidData = getStrByK((key + "_OPEN")) | |
152 | + | if ((bidData == "")) | |
153 | + | then throw("Offer not found") | |
154 | + | else { | |
155 | + | let bidDataArr = split(bidData, "_") | |
156 | + | let assetId = getBidAssetId(bidDataArr[2]) | |
157 | + | $Tuple3(bidDataArr, assetId, bidData) | |
158 | + | } | |
159 | + | } | |
160 | + | ||
161 | + | ||
162 | + | func artIsValid (artStatus) = if ((artStatus != artIllegal)) | |
163 | + | then (artStatus != artSuspended) | |
164 | + | else false | |
165 | + | ||
166 | + | ||
167 | + | func checkArtStatus (addr,id) = { | |
168 | + | let artStatus = getArtStrByK(keyFlag(addr, id)) | |
169 | + | if (artIsValid(artStatus)) | |
170 | + | then true | |
171 | + | else throw(("Original Artwork flagged as " + artStatus)) | |
172 | + | } | |
173 | + | ||
174 | + | ||
175 | + | func checkArtistStatus (addr) = { | |
176 | + | let artistStatus = getUserStrByK(keyUserStatus(addr)) | |
177 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
178 | + | then throw(("Original Artist " + artistStatus)) | |
179 | + | else true | |
180 | + | } | |
181 | + | ||
182 | + | ||
183 | + | func checkNFTInfo (assetId) = { | |
184 | + | let nftData = split(getArtStrByK(keyNFTData(assetId)), "_") | |
185 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
186 | + | if (if (!(checkArtStatus(nftData[6], nftData[5]))) | |
187 | + | then !(checkArtistStatus(nftData[6])) | |
188 | + | else false) | |
189 | + | then $Tuple4(false, nftData[5], nftData[6], artSignID) | |
190 | + | else $Tuple4(true, nftData[5], nftData[6], artSignID) | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | func checkARTExist (artId,creatorAddr) = { | |
195 | + | let artSignID = getArtStrByK(keySignID(creatorAddr, artId)) | |
196 | + | if ((size(artSignID) == 0)) | |
197 | + | then throw("Artwork not found on SIGN Art") | |
198 | + | else if (if (!(checkArtStatus(creatorAddr, artId))) | |
199 | + | then !(checkArtistStatus(creatorAddr)) | |
200 | + | else false) | |
201 | + | then false | |
202 | + | else true | |
203 | + | } | |
204 | + | ||
205 | + | ||
206 | + | func setTransfers (amount,assetId,nftid,creatorAddr,saleOwner,caller) = { | |
207 | + | let amountForSign = fraction(amount, signCut, 100) | |
208 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
209 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
210 | + | let signFee = ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId) | |
211 | + | let creatorFee = ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId) | |
212 | + | let ownerFee = ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId) | |
213 | + | let collectorNFT = ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid)) | |
214 | + | $Tuple4(signFee, creatorFee, ownerFee, collectorNFT) | |
215 | + | } | |
216 | + | ||
217 | + | ||
218 | + | func validateMinSell (assetId,price) = { | |
219 | + | let minSellWaves = if (unitTest) | |
220 | + | then 10 | |
221 | + | else getIntByKFromOracle("waves_min_sell") | |
222 | + | let minSellUsdn = 1000000 | |
223 | + | let minSellSign = if (unitTest) | |
224 | + | then 1 | |
225 | + | else (currentCertificationPrice * 2) | |
226 | + | if (if (if (if (if ((assetId == toBase58String(usdnAssetId))) | |
227 | + | then (minSellUsdn > price) | |
228 | + | else false) | |
229 | + | then (price != 0) | |
230 | + | else false) | |
231 | + | then true | |
232 | + | else if (if ((assetId == toBase58String(signAssetId))) | |
233 | + | then (minSellSign > price) | |
234 | + | else false) | |
235 | + | then (price != 0) | |
236 | + | else false) | |
237 | + | then true | |
238 | + | else if (if (if ((assetId == toBase58String(wavesAssetId))) | |
239 | + | then true | |
240 | + | else (assetId == "WAVES")) | |
241 | + | then (minSellWaves > price) | |
242 | + | else false) | |
243 | + | then (price != 0) | |
244 | + | else false) | |
245 | + | then false | |
246 | + | else true | |
247 | + | } | |
248 | + | ||
249 | + | ||
250 | + | func provideBaseData (i,nftId) = { | |
251 | + | let $t092269265 = idCallerDate(i) | |
252 | + | let id = $t092269265._1 | |
253 | + | let caller = $t092269265._2 | |
254 | + | let date = $t092269265._3 | |
255 | + | let $t092699338 = checkNFTInfo(nftId) | |
256 | + | let isValidNFT = $t092699338._1 | |
257 | + | let artId = $t092699338._2 | |
258 | + | let creatorAddr = $t092699338._3 | |
259 | + | let artSignID = $t092699338._4 | |
260 | + | $Tuple7(id, caller, date, isValidNFT, artId, creatorAddr, artSignID) | |
261 | + | } | |
262 | + | ||
263 | + | ||
264 | + | func updateNumSales () = { | |
265 | + | let numSales = getIntByK(numSalesK) | |
266 | + | IntegerEntry(numSalesK, (numSales + 1)) | |
267 | + | } | |
268 | + | ||
269 | + | ||
270 | + | @Callable(invoke) | |
271 | + | func appRunning (isLive,message) = { | |
272 | + | let caller = toString(addressFromPublicKey(invoke.callerPublicKey)) | |
273 | + | let id = toBase58String(invoke.transactionId) | |
274 | + | if (containsElement([chris, toString(this)], caller)) | |
275 | + | then [BooleanEntry(dappRunningKey, isLive), StringEntry(maintenanceMSGKey, message)] | |
276 | + | else throw("You are not allowed to change this") | |
277 | + | } | |
278 | + | ||
279 | + | ||
280 | + | ||
281 | + | @Callable(i) | |
282 | + | func sellNFT (price,asset) = { | |
283 | + | let $t01007810114 = isPayment(i) | |
284 | + | let payment = $t01007810114._1 | |
285 | + | let amount = $t01007810114._2 | |
286 | + | if ((amount != 1)) | |
287 | + | then throw("No NFT attached") | |
288 | + | else { | |
289 | + | let nftId = if (if (isDefined(payment.assetId)) | |
290 | + | then isSignArtNFT(value(payment.assetId)) | |
291 | + | else false) | |
292 | + | then toBase58String(value(payment.assetId)) | |
293 | + | else throw("Only SIGN Art NFT accepted.") | |
294 | + | let $t01035210444 = provideBaseData(i, nftId) | |
295 | + | let id = $t01035210444._1 | |
296 | + | let caller = $t01035210444._2 | |
297 | + | let date = $t01035210444._3 | |
298 | + | let isValidNFT = $t01035210444._4 | |
299 | + | let artId = $t01035210444._5 | |
300 | + | let creatorAddr = $t01035210444._6 | |
301 | + | let artSignID = $t01035210444._7 | |
302 | + | if ((size(artSignID) == 0)) | |
303 | + | then throw("Artwork not found on SIGN Art") | |
304 | + | else if (!(isValidNFT)) | |
305 | + | then throw("Not a valid nft") | |
306 | + | else if (!(acceptedAssetIds(asset))) | |
307 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
308 | + | else if (!(validateMinSell(asset, price))) | |
309 | + | then throw("Wrong minimum sell price") | |
310 | + | else [StringEntry((getSaleKey(caller, nftId, artId, creatorAddr) + "_OPEN"), ((((((((((((toString(date) + "_") + toString(price)) + "_") + asset) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + id)), StringEntry(((("sale2nd_status_" + caller) + "_") + nftId), "OPEN"), StringEntry(("current_owner_on_dapp_" + nftId), caller)] | |
311 | + | } | |
312 | + | } | |
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | @Callable(i) | |
317 | + | func updateSalePrice (nftId,price,asset) = { | |
318 | + | let $t01134211434 = provideBaseData(i, nftId) | |
319 | + | let id = $t01134211434._1 | |
320 | + | let caller = $t01134211434._2 | |
321 | + | let date = $t01134211434._3 | |
322 | + | let isValidNFT = $t01134211434._4 | |
323 | + | let artId = $t01134211434._5 | |
324 | + | let creatorAddr = $t01134211434._6 | |
325 | + | let artSignID = $t01134211434._7 | |
326 | + | if ((size(artSignID) == 0)) | |
327 | + | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
328 | + | else if (!(isValidNFT)) | |
329 | + | then throw("Not a valid nft") | |
330 | + | else { | |
331 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId)) | |
332 | + | if ((saleOwner != caller)) | |
333 | + | then throw("You don't own this NFT") | |
334 | + | else { | |
335 | + | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId)) | |
336 | + | if ((saleStatus != "OPEN")) | |
337 | + | then throw("Sale not active") | |
338 | + | else if (!(acceptedAssetIds(asset))) | |
339 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
340 | + | else if (!(validateMinSell(asset, price))) | |
341 | + | then throw("Wrong minimum sell price") | |
342 | + | else { | |
343 | + | let saleKey = getSaleKey(caller, nftId, artId, creatorAddr) | |
344 | + | let saleInfo = split(getStrByK((saleKey + "_OPEN")), "_") | |
345 | + | [StringEntry((saleKey + "_OPEN"), ((((((((((((saleInfo[0] + "_") + toString(price)) + "_") + asset) + "_") + saleInfo[3]) + "_") + saleInfo[4]) + "_") + saleInfo[5]) + "_") + saleInfo[6]))] | |
346 | + | } | |
347 | + | } | |
348 | + | } | |
349 | + | } | |
350 | + | ||
351 | + | ||
352 | + | ||
353 | + | @Callable(i) | |
354 | + | func cancelSale (nftId) = { | |
355 | + | let $t01260512848 = provideBaseData(i, nftId) | |
356 | + | let id = $t01260512848._1 | |
357 | + | let caller = $t01260512848._2 | |
358 | + | let date = $t01260512848._3 | |
359 | + | let isValidNFT = $t01260512848._4 | |
360 | + | let artId = $t01260512848._5 | |
361 | + | let creatorAddr = $t01260512848._6 | |
362 | + | let artSignID = $t01260512848._7 | |
363 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftId)) | |
364 | + | if ((saleOwner != caller)) | |
365 | + | then throw("You don't own this NFT") | |
366 | + | else { | |
367 | + | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftId)) | |
368 | + | if ((saleStatus != "OPEN")) | |
369 | + | then throw("Sale not active") | |
370 | + | else { | |
371 | + | let saleKey = getSaleKey(caller, nftId, artId, creatorAddr) | |
372 | + | let saleInfo = getStrByK((saleKey + "_OPEN")) | |
373 | + | [DeleteEntry((saleKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((((saleKey + "_") + id) + "_CANCELLED"), ((((saleInfo + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftId))] | |
374 | + | } | |
375 | + | } | |
376 | + | } | |
377 | + | ||
378 | + | ||
379 | + | ||
380 | + | @Callable(i) | |
381 | + | func buyNFT (nftId) = { | |
382 | + | let $t01370213794 = provideBaseData(i, nftId) | |
383 | + | let id = $t01370213794._1 | |
384 | + | let caller = $t01370213794._2 | |
385 | + | let date = $t01370213794._3 | |
386 | + | let isValidNFT = $t01370213794._4 | |
387 | + | let artId = $t01370213794._5 | |
388 | + | let creatorAddr = $t01370213794._6 | |
389 | + | let artSignID = $t01370213794._7 | |
390 | + | if ((size(artSignID) == 0)) | |
391 | + | then throw("Artwork not found on SIGN Art, cancel your sale.") | |
392 | + | else if (!(isValidNFT)) | |
393 | + | then throw("Not a valid nft") | |
394 | + | else { | |
395 | + | let saleOwner = getSaleOwnerAndStatus(nftId) | |
396 | + | let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr) | |
397 | + | let saleInfo = getStrByK((saleKey + "_OPEN")) | |
398 | + | if ((size(saleInfo) == 0)) | |
399 | + | then throw("Sale Not found!") | |
400 | + | else { | |
401 | + | let saleInfoArray = split(saleInfo, "_") | |
402 | + | if ((parseInt(saleInfoArray[1]) == 0)) | |
403 | + | then throw("Offer only") | |
404 | + | else { | |
405 | + | let $t01430314339 = isPayment(i) | |
406 | + | let payment = $t01430314339._1 | |
407 | + | let amount = $t01430314339._2 | |
408 | + | let paymentAssetStr = if (isDefined(payment.assetId)) | |
409 | + | then toBase58String(value(payment.assetId)) | |
410 | + | else "" | |
411 | + | if (if ((saleInfoArray[1] != toString(amount))) | |
412 | + | then true | |
413 | + | else (saleInfoArray[2] != paymentAssetStr)) | |
414 | + | then throw("Payment infos don't match.") | |
415 | + | else { | |
416 | + | let amountForSign = fraction(amount, signCut, 100) | |
417 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
418 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
419 | + | let $t01485014978 = setTransfers(amount, payment.assetId, nftId, creatorAddr, saleOwner, caller) | |
420 | + | let signFee = $t01485014978._1 | |
421 | + | let creatorFee = $t01485014978._2 | |
422 | + | let ownerFee = $t01485014978._3 | |
423 | + | let collectorNFT = $t01485014978._4 | |
424 | + | [DeleteEntry((saleKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((((saleKey + "_") + id) + "_CLOSED"), ((((((saleInfo + "_CLOSED_") + toString(date)) + "_") + id) + "_") + caller)), updateNumSales(), signFee, creatorFee, ownerFee, collectorNFT] | |
425 | + | } | |
426 | + | } | |
427 | + | } | |
428 | + | } | |
429 | + | } | |
430 | + | ||
431 | + | ||
432 | + | ||
433 | + | @Callable(i) | |
434 | + | func setOffer (nftId) = { | |
435 | + | let $t01540315499 = provideBaseData(i, nftId) | |
436 | + | let id = $t01540315499._1 | |
437 | + | let offerOwner = $t01540315499._2 | |
438 | + | let date = $t01540315499._3 | |
439 | + | let isValidNFT = $t01540315499._4 | |
440 | + | let artId = $t01540315499._5 | |
441 | + | let creatorAddr = $t01540315499._6 | |
442 | + | let artSignID = $t01540315499._7 | |
443 | + | if (!(isValidNFT)) | |
444 | + | then throw("Not a valid nft") | |
445 | + | else { | |
446 | + | let $t01556315599 = isPayment(i) | |
447 | + | let payment = $t01556315599._1 | |
448 | + | let amount = $t01556315599._2 | |
449 | + | let assetId = if (!(isDefined(payment.assetId))) | |
450 | + | then "WAVES" | |
451 | + | else toBase58String(value(payment.assetId)) | |
452 | + | if (!(acceptedAssetIds(assetId))) | |
453 | + | then throw("asset not accepted") | |
454 | + | else if ((amount == 0)) | |
455 | + | then throw("Offer of 0 not allowed") | |
456 | + | else if (!(validateMinSell(assetId, amount))) | |
457 | + | then throw("Wrong minimum sell price") | |
458 | + | else { | |
459 | + | let saleOwner = getSaleOwnerAndStatus(nftId) | |
460 | + | [StringEntry((getBidKey(offerOwner, nftId, saleOwner, id) + "_OPEN"), ((((((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + offerOwner) + "_") + id))] | |
461 | + | } | |
462 | + | } | |
463 | + | } | |
464 | + | ||
465 | + | ||
466 | + | ||
467 | + | @Callable(i) | |
468 | + | func acceptOffer (nftId,offerId,offerOwner) = { | |
469 | + | let $t01642016512 = provideBaseData(i, nftId) | |
470 | + | let id = $t01642016512._1 | |
471 | + | let caller = $t01642016512._2 | |
472 | + | let date = $t01642016512._3 | |
473 | + | let isValidNFT = $t01642016512._4 | |
474 | + | let artId = $t01642016512._5 | |
475 | + | let creatorAddr = $t01642016512._6 | |
476 | + | let artSignID = $t01642016512._7 | |
477 | + | if (!(isValidNFT)) | |
478 | + | then throw("Not a valid nft") | |
479 | + | else { | |
480 | + | let saleOwner = getSaleOwnerAndStatus(nftId) | |
481 | + | if ((caller != saleOwner)) | |
482 | + | then throw("Only sale owner can accept offer") | |
483 | + | else { | |
484 | + | let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId) | |
485 | + | let $t01677316828 = getBidData(bidKey) | |
486 | + | let bidDataArr = $t01677316828._1 | |
487 | + | let assetId = $t01677316828._2 | |
488 | + | let bidData = $t01677316828._3 | |
489 | + | let saleKey = getSaleKey(saleOwner, nftId, artId, creatorAddr) | |
490 | + | let saleInfo = getStrByK((saleKey + "_OPEN")) | |
491 | + | if ((size(saleInfo) == 0)) | |
492 | + | then throw("Sale Not found!") | |
493 | + | else { | |
494 | + | let amount = value(parseInt(bidDataArr[1])) | |
495 | + | let $t01706717194 = setTransfers(amount, assetId, nftId, creatorAddr, saleOwner, bidDataArr[6]) | |
496 | + | let signFee = $t01706717194._1 | |
497 | + | let creatorFee = $t01706717194._2 | |
498 | + | let ownerFee = $t01706717194._3 | |
499 | + | let collectorNFT = $t01706717194._4 | |
500 | + | let assetIdStr = if (isDefined(assetId)) | |
501 | + | then toBase58String(value(assetId)) | |
502 | + | else "WAVES" | |
503 | + | [DeleteEntry((saleKey + "_OPEN")), DeleteEntry((bidKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftId)), DeleteEntry(("current_owner_on_dapp_" + nftId)), StringEntry((bidKey + "_CLOSED"), ((((bidData + "_CLOSED_") + toString(date)) + "_") + id)), StringEntry((((saleKey + "_") + id) + "_CLOSED"), ((((((((((saleInfo + "_CLOSED-OFFER_") + toString(date)) + "_") + id) + "_") + offerOwner) + "_") + toString(amount)) + "_") + assetIdStr)), updateNumSales(), signFee, creatorFee, ownerFee, collectorNFT] | |
504 | + | } | |
505 | + | } | |
506 | + | } | |
507 | + | } | |
508 | + | ||
509 | + | ||
510 | + | ||
511 | + | @Callable(i) | |
512 | + | func cancelOffer (nftId,offerId,offerOwner,saleOwner) = { | |
513 | + | let $t01801518088 = idCallerDate(i) | |
514 | + | let id = $t01801518088._1 | |
515 | + | let caller = $t01801518088._2 | |
516 | + | let date = $t01801518088._3 | |
517 | + | if (if ((caller != offerOwner)) | |
518 | + | then (caller != saleOwner) | |
519 | + | else false) | |
520 | + | then throw("You cannot cancel this offer.") | |
521 | + | else { | |
522 | + | let bidKey = getBidKey(offerOwner, nftId, saleOwner, offerId) | |
523 | + | let $t01826218317 = getBidData(bidKey) | |
524 | + | let bidDataArr = $t01826218317._1 | |
525 | + | let assetId = $t01826218317._2 | |
526 | + | let bidData = $t01826218317._3 | |
527 | + | [DeleteEntry((bidKey + "_OPEN")), StringEntry((bidKey + "_CANCELLED"), ((((bidData + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
528 | + | } | |
529 | + | } | |
530 | + | ||
531 | + | ||
532 | + | ||
533 | + | @Callable(i) | |
534 | + | func makeRequest (artId,creatorAddr) = { | |
535 | + | let $t01865518699 = idCallerDate(i) | |
536 | + | let id = $t01865518699._1 | |
537 | + | let requestOwner = $t01865518699._2 | |
538 | + | let date = $t01865518699._3 | |
539 | + | let $t01870718743 = isPayment(i) | |
540 | + | let payment = $t01870718743._1 | |
541 | + | let amount = $t01870718743._2 | |
542 | + | let assetId = if (!(isDefined(payment.assetId))) | |
543 | + | then "WAVES" | |
544 | + | else toBase58String(value(payment.assetId)) | |
545 | + | if (!(acceptedAssetIds(assetId))) | |
546 | + | then throw("asset not accepted") | |
547 | + | else if (!(validateMinSell(assetId, amount))) | |
548 | + | then throw("Wrong minimum sell price") | |
549 | + | else { | |
550 | + | let isValidART = checkARTExist(artId, creatorAddr) | |
551 | + | if (!(isValidART)) | |
552 | + | then throw("Something went wrong") | |
553 | + | else [StringEntry((getRequestKey(requestOwner, creatorAddr, artId, id) + "_OPEN"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_") + artId) + "_") + requestOwner) + "_") + id))] | |
554 | + | } | |
555 | + | } | |
556 | + | ||
557 | + | ||
558 | + | ||
559 | + | @Callable(i) | |
560 | + | func fillRequest (artId,requestOwner,offerId) = { | |
561 | + | let $t01955619598 = idCallerDate(i) | |
562 | + | let id = $t01955619598._1 | |
563 | + | let saleOwner = $t01955619598._2 | |
564 | + | let date = $t01955619598._3 | |
565 | + | let $t01960419648 = isPayment(i) | |
566 | + | let payment = $t01960419648._1 | |
567 | + | let amountAttached = $t01960419648._2 | |
568 | + | let NFTid = if (if (isDefined(payment.assetId)) | |
569 | + | then isSignArtNFT(value(payment.assetId)) | |
570 | + | else false) | |
571 | + | then payment.assetId | |
572 | + | else throw("No NFT found") | |
573 | + | let NFTdata = split(getArtStrByK(("nft_" + toBase58String(value(NFTid)))), "_") | |
574 | + | if ((size(NFTdata) == 0)) | |
575 | + | then throw("No NFT found") | |
576 | + | else { | |
577 | + | let requestKey = getRequestKey(requestOwner, NFTdata[6], artId, offerId) | |
578 | + | let requestData = split(getStrByK((requestKey + "_OPEN")), "_") | |
579 | + | if ((size(requestData) == 1)) | |
580 | + | then throw("No request found") | |
581 | + | else if ((requestData[3] != NFTdata[5])) | |
582 | + | then throw("This NFT don't match the requested artwork") | |
583 | + | else { | |
584 | + | let amount = value(parseInt(requestData[1])) | |
585 | + | let $t02040320578 = setTransfers(amount, fromBase58String(requestData[2]), toBase58String(value(NFTid)), NFTdata[6], saleOwner, requestData[4]) | |
586 | + | let signFee = $t02040320578._1 | |
587 | + | let creatorFee = $t02040320578._2 | |
588 | + | let ownerFee = $t02040320578._3 | |
589 | + | let collectorNFT = $t02040320578._4 | |
590 | + | [DeleteEntry((requestKey + "_OPEN")), updateNumSales(), StringEntry((requestKey + "_CLOSED"), ((((((((((((toString(date) + "_") + toString(amount)) + "_") + requestData[2]) + "_") + artId) + "_") + requestOwner) + "_") + saleOwner) + "_") + id)), signFee, creatorFee, ownerFee, collectorNFT] | |
591 | + | } | |
592 | + | } | |
593 | + | } | |
594 | + | ||
595 | + | ||
596 | + | ||
597 | + | @Callable(i) | |
598 | + | func cancelRequest (artId,creatorAddr,requestId) = { | |
599 | + | let $t02106821112 = idCallerDate(i) | |
600 | + | let id = $t02106821112._1 | |
601 | + | let requestOwner = $t02106821112._2 | |
602 | + | let date = $t02106821112._3 | |
603 | + | let requestKey = getRequestKey(requestOwner, creatorAddr, artId, requestId) | |
604 | + | let requestData = getStrByK((requestKey + "_OPEN")) | |
605 | + | if ((size(requestData) == 0)) | |
606 | + | then throw("Request not found") | |
607 | + | else { | |
608 | + | let requestDataArr = split(requestData, "_") | |
609 | + | [DeleteEntry((requestKey + "_OPEN")), StringEntry((((((requestKey + "_") + toString(date)) + "_") + id) + "_CANCELLED"), ((requestData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(requestOwner)), parseIntValue(requestDataArr[1]), fromBase58String(requestDataArr[2]))] | |
610 | + | } | |
611 | + | } | |
612 | + | ||
613 | + |
github/deemru/w8io/026f985 32.84 ms ◑