tx · 2W4iGXGyPV9JFj8rTywXd39fQHX7m5DVhYPnez2ax1eu 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7: -0.01400000 Waves 2021.05.14 14:51 [1525313] smart account 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7 > SELF 0.00000000 Waves
{ "type": 13, "id": "2W4iGXGyPV9JFj8rTywXd39fQHX7m5DVhYPnez2ax1eu", "fee": 1400000, "feeAssetId": null, "timestamp": 1620993180213, "version": 2, "chainId": 84, "sender": "3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7", "senderPublicKey": "ERi6XSXhPVHxXNjViF4BLWBiUjTBzMhwtR1Yn6J23YEd", "proofs": [ "3RM82AjR6bFjEkUdwqQYxNRcJHMoC4oT3sLx4QFmidkHDFZU8QxwHZGi53qBvFMh9Naxf6Letp4nAZuAM4y4uQy9" ], "script": "base64:AAIEAAAAAAAAAC4IAhIECgIBCBIDCgEIEgMKAQgSAwoBCBIFCgMICAgSBAoCCAgSAwoBCBIDCgEIAAAAJAAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAxhcnR3b3Jrc0RhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05CeW5mYlhDMkthc3RVeGh1a2NNVWFFNThLOWNCZEI5VVkAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1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XB0ZWQEAAAADSR0MDE0NDk0MTQ1NTQJAQAAAAxjaGVja05GVEluZm8AAAABCQABmwAAAAEFAAAABW5mdGlkBAAAAAppc1ZhbGlkTkZUCAUAAAANJHQwMTQ0OTQxNDU1NAAAAAJfMQQAAAALY3JlYXRvckFkZHIIBQAAAA0kdDAxNDQ5NDE0NTU0AAAAAl8yAwkBAAAAASEAAAABBQAAAAppc1ZhbGlkTkZUCQAAAgAAAAECAAAAFFNvbWV0aGluZyB3ZW50IHdyb25nCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAC3JlcXVlc3QybmRfBQAAAAVuZnRpZAIAAAABXwUAAAAGY2FsbGVyAgAAAAFfBQAAAAJpZAIAAAAFX09QRU4JAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAdhc3NldElkAgAAAAFfCQABpAAAAAEFAAAABmFtb3VudAIAAAABXwkAAaQAAAABBQAAAARkYXRlAgAAAAFfBQAAAAZjYWxsZXICAAAAAV8FAAAAAmlkBQAAAANuaWwAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZjYWxsZXIFAAAABWNocmlzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAfoJ+Pg==", "height": 1525313, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FdtxgsLPNGMZPmHHqyKQfeDj4EWedBVPGvALCDr6j6nL Next: D4Ez8fi22DbYRKrNhkL6VxC5sgk5y4Aw7cPCVLqphctD Diff:
Old | New | Differences | |
---|---|---|---|
199 | 199 | if ((saleStatus != "OPEN")) | |
200 | 200 | then throw("Sale not active") | |
201 | 201 | else { | |
202 | - | let $t073197379 = checkNFTInfo(toBytes(nftid)) | |
203 | - | let isValidNFT = $t073197379._1 | |
204 | - | let creatorAddr = $t073197379._2 | |
205 | - | if (!(isValidNFT)) | |
206 | - | then throw("Something went wrong") | |
207 | - | else { | |
208 | - | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
202 | + | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
203 | + | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
209 | 204 | [DeleteEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CANCELLED"), saleInfo), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
210 | - | } | |
211 | 205 | } | |
212 | 206 | } | |
213 | 207 | } | |
216 | 210 | ||
217 | 211 | @Callable(i) | |
218 | 212 | func buyNFT (nftid) = { | |
219 | - | let $ | |
220 | - | let id = $ | |
221 | - | let caller = $ | |
222 | - | let date = $ | |
213 | + | let $t081648235 = idCallerDate(i) | |
214 | + | let id = $t081648235._1 | |
215 | + | let caller = $t081648235._2 | |
216 | + | let date = $t081648235._3 | |
223 | 217 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
224 | - | let $ | |
225 | - | let isValidNFT = $ | |
226 | - | let creatorAddr = $ | |
218 | + | let $t082908350 = checkNFTInfo(toBytes(nftid)) | |
219 | + | let isValidNFT = $t082908350._1 | |
220 | + | let creatorAddr = $t082908350._2 | |
227 | 221 | if (!(isValidNFT)) | |
228 | 222 | then throw("Something went wrong") | |
229 | 223 | else { | |
232 | 226 | then throw("Sale Not found!") | |
233 | 227 | else { | |
234 | 228 | let saleInfoArray = split(saleInfo, "_") | |
235 | - | let $ | |
236 | - | let payment = $ | |
237 | - | let amount = $ | |
229 | + | let $t086148650 = isPayment(i) | |
230 | + | let payment = $t086148650._1 | |
231 | + | let amount = $t086148650._2 | |
238 | 232 | if (if ((saleInfoArray[1] != toString(amount))) | |
239 | 233 | then true | |
240 | 234 | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
253 | 247 | ||
254 | 248 | @Callable(i) | |
255 | 249 | func setOffer (nftid) = { | |
256 | - | let $ | |
257 | - | let id = $ | |
258 | - | let caller = $ | |
259 | - | let date = $ | |
260 | - | let $ | |
261 | - | let payment = $ | |
262 | - | let amount = $ | |
250 | + | let $t01009110129 = idCallerDate(i) | |
251 | + | let id = $t01009110129._1 | |
252 | + | let caller = $t01009110129._2 | |
253 | + | let date = $t01009110129._3 | |
254 | + | let $t01013410170 = isPayment(i) | |
255 | + | let payment = $t01013410170._1 | |
256 | + | let amount = $t01013410170._2 | |
263 | 257 | let assetId = if (!(isDefined(payment.assetId))) | |
264 | 258 | then "WAVES" | |
265 | 259 | else toBase58String(value(payment.assetId)) | |
275 | 269 | ||
276 | 270 | @Callable(i) | |
277 | 271 | func acceptOffer (nftid,offerId,offerOwner) = { | |
278 | - | let $ | |
279 | - | let id = $ | |
280 | - | let caller = $ | |
281 | - | let date = $ | |
272 | + | let $t01088010954 = idCallerDate(i) | |
273 | + | let id = $t01088010954._1 | |
274 | + | let caller = $t01088010954._2 | |
275 | + | let date = $t01088010954._3 | |
282 | 276 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
283 | 277 | if ((caller != saleOwner)) | |
284 | 278 | then throw("You cannot do this action") | |
287 | 281 | if ((offerExist == "")) | |
288 | 282 | then throw("Offer not found or not for sale") | |
289 | 283 | else { | |
290 | - | let $ | |
291 | - | let isValidNFT = $ | |
292 | - | let creatorAddr = $ | |
284 | + | let $t01125911319 = checkNFTInfo(toBytes(nftid)) | |
285 | + | let isValidNFT = $t01125911319._1 | |
286 | + | let creatorAddr = $t01125911319._2 | |
293 | 287 | if (!(isValidNFT)) | |
294 | 288 | then throw("Something went wrong") | |
295 | 289 | else { | |
298 | 292 | then throw("Sale Not found!") | |
299 | 293 | else { | |
300 | 294 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
301 | - | let $ | |
302 | - | let bidDataArr = $ | |
303 | - | let assetId = $ | |
304 | - | let bidData = $ | |
295 | + | let $t01171311772 = getBidData(bidDataKey) | |
296 | + | let bidDataArr = $t01171311772._1 | |
297 | + | let assetId = $t01171311772._2 | |
298 | + | let bidData = $t01171311772._3 | |
305 | 299 | let amount = value(parseInt(bidDataArr[1])) | |
306 | 300 | let amountForSign = fraction(amount, signCut, 100) | |
307 | 301 | let amountForCreator = fraction(amount, creatorCut, 100) | |
317 | 311 | ||
318 | 312 | @Callable(i) | |
319 | 313 | func cancelOffer (nftid,offerId) = { | |
320 | - | let $ | |
321 | - | let id = $ | |
322 | - | let caller = $ | |
323 | - | let date = $ | |
314 | + | let $t01312413354 = idCallerDate(i) | |
315 | + | let id = $t01312413354._1 | |
316 | + | let caller = $t01312413354._2 | |
317 | + | let date = $t01312413354._3 | |
324 | 318 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
325 | 319 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
326 | - | let $ | |
327 | - | let bidDataArr = $ | |
328 | - | let assetId = $ | |
329 | - | let bidData = $ | |
320 | + | let $t01349013590 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
321 | + | let bidDataArr = $t01349013590._1 | |
322 | + | let assetId = $t01349013590._2 | |
323 | + | let bidData = $t01349013590._3 | |
330 | 324 | let bidStatus = "CANCELLED" | |
331 | 325 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
332 | 326 | } | |
335 | 329 | ||
336 | 330 | @Callable(i) | |
337 | 331 | func setRequest (nftid) = { | |
338 | - | let $ | |
339 | - | let id = $ | |
340 | - | let caller = $ | |
341 | - | let date = $ | |
342 | - | let $ | |
343 | - | let payment = $ | |
344 | - | let amount = $ | |
332 | + | let $t01419414232 = idCallerDate(i) | |
333 | + | let id = $t01419414232._1 | |
334 | + | let caller = $t01419414232._2 | |
335 | + | let date = $t01419414232._3 | |
336 | + | let $t01423714273 = isPayment(i) | |
337 | + | let payment = $t01423714273._1 | |
338 | + | let amount = $t01423714273._2 | |
345 | 339 | let assetId = if (!(isDefined(payment.assetId))) | |
346 | 340 | then "WAVES" | |
347 | 341 | else toBase58String(value(payment.assetId)) | |
348 | 342 | if (!(acceptedAssetIds(assetId))) | |
349 | 343 | then throw("asset not accepted") | |
350 | 344 | else { | |
351 | - | let $ | |
352 | - | let isValidNFT = $ | |
353 | - | let creatorAddr = $ | |
345 | + | let $t01449414554 = checkNFTInfo(toBytes(nftid)) | |
346 | + | let isValidNFT = $t01449414554._1 | |
347 | + | let creatorAddr = $t01449414554._2 | |
354 | 348 | if (!(isValidNFT)) | |
355 | 349 | then throw("Something went wrong") | |
356 | 350 | else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let unitTest = false | |
5 | 5 | ||
6 | 6 | let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | 7 | ||
8 | 8 | let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | 9 | ||
10 | 10 | let artworksDapp = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY")) | |
11 | 11 | ||
12 | 12 | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
13 | 13 | ||
14 | 14 | let userDapp = if (unitTest) | |
15 | 15 | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
16 | 16 | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
17 | 17 | ||
18 | 18 | let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
19 | 19 | ||
20 | 20 | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
21 | 21 | ||
22 | 22 | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
23 | 23 | ||
24 | 24 | let wavesAssetId = base58'' | |
25 | 25 | ||
26 | 26 | let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
27 | 27 | ||
28 | 28 | let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
29 | 29 | ||
30 | 30 | let signCut = 3 | |
31 | 31 | ||
32 | 32 | let creatorCut = 10 | |
33 | 33 | ||
34 | 34 | let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true) | |
35 | 35 | ||
36 | 36 | let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "") | |
37 | 37 | ||
38 | 38 | let userSuspended = "SUSPENDED" | |
39 | 39 | ||
40 | 40 | let userRemoved = "REMOVED" | |
41 | 41 | ||
42 | 42 | let artIllegal = "ILLEGAL" | |
43 | 43 | ||
44 | 44 | let artSuspended = "SUSPENDED" | |
45 | 45 | ||
46 | 46 | func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getStrByK (key) = valueOrElse(getString(this, key), "") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func getIntByK (key) = valueOrElse(getInteger(this, key), 0) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func keyUserStatus (addr) = ("user_status_" + addr) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func keyNFTData (id) = ("nft_" + id) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func idCallerDate (i) = if (!(dappRunning)) | |
71 | 71 | then throw(maintenanceMSG) | |
72 | 72 | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func isPayment (i) = if ((size(i.payments) == 0)) | |
76 | 76 | then throw("No payment attached") | |
77 | 77 | else { | |
78 | 78 | let payment = value(i.payments[0]) | |
79 | 79 | let amount = value(payment.amount) | |
80 | 80 | $Tuple2(payment, amount) | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func isSignArtNFT (id) = { | |
85 | 85 | let assetDetails = value(assetInfo(id)) | |
86 | 86 | if (if (if (if ((assetDetails.quantity != 1)) | |
87 | 87 | then true | |
88 | 88 | else (assetDetails.decimals != 0)) | |
89 | 89 | then true | |
90 | 90 | else (assetDetails.reissuable != false)) | |
91 | 91 | then true | |
92 | 92 | else (assetDetails.issuer != artworksDapp)) | |
93 | 93 | then false | |
94 | 94 | else true | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId))) | |
99 | 99 | then (assetId != toBase58String(wavesAssetId)) | |
100 | 100 | else false) | |
101 | 101 | then (assetId != "WAVES") | |
102 | 102 | else false) | |
103 | 103 | then (assetId != toBase58String(usdnAssetId)) | |
104 | 104 | else false) | |
105 | 105 | then false | |
106 | 106 | else true | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
110 | 110 | then unit | |
111 | 111 | else fromBase58String(assetId) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func getSaleOwnerAndStatus (nftid) = { | |
115 | 115 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
116 | 116 | if ((saleOwner == "none")) | |
117 | 117 | then throw("NFT not found") | |
118 | 118 | else { | |
119 | 119 | let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid)) | |
120 | 120 | if ((saleStatus != "OPEN")) | |
121 | 121 | then throw("NFT not for sale") | |
122 | 122 | else saleOwner | |
123 | 123 | } | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func getBidData (key) = { | |
128 | 128 | let bidData = getStrByK((key + "_OPEN")) | |
129 | 129 | if ((bidData == "")) | |
130 | 130 | then throw("Offer not found") | |
131 | 131 | else { | |
132 | 132 | let bidDataArr = split(bidData, "_") | |
133 | 133 | let assetId = getBidAssetId(bidDataArr[0]) | |
134 | 134 | $Tuple3(bidDataArr, assetId, bidData) | |
135 | 135 | } | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func checkNFTInfo (assetId) = { | |
140 | 140 | let nftData = split(getArtStrByK(keyNFTData(toBase58String(value(assetId)))), "_") | |
141 | 141 | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
142 | 142 | if ((size(artSignID) == 0)) | |
143 | 143 | then throw("Artwork not found on SIGN Art") | |
144 | 144 | else { | |
145 | 145 | let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5])) | |
146 | 146 | if (if ((artStatus == artIllegal)) | |
147 | 147 | then true | |
148 | 148 | else (artStatus == artSuspended)) | |
149 | 149 | then throw(("Original Artwork flagged as " + artStatus)) | |
150 | 150 | else { | |
151 | 151 | let artistStatus = getUserStrByK(keyUserStatus(nftData[6])) | |
152 | 152 | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
153 | 153 | then throw(("Original Artist " + artistStatus)) | |
154 | 154 | else $Tuple2(true, nftData[6]) | |
155 | 155 | } | |
156 | 156 | } | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | @Callable(i) | |
161 | 161 | func sellNFT (price,asset) = { | |
162 | 162 | let $t059495988 = idCallerDate(i) | |
163 | 163 | let id = $t059495988._1 | |
164 | 164 | let caller = $t059495988._2 | |
165 | 165 | let date = $t059495988._3 | |
166 | 166 | let $t059936029 = isPayment(i) | |
167 | 167 | let payment = $t059936029._1 | |
168 | 168 | let amount = $t059936029._2 | |
169 | 169 | let assetId = if (if (isDefined(payment.assetId)) | |
170 | 170 | then isSignArtNFT(value(payment.assetId)) | |
171 | 171 | else false) | |
172 | 172 | then payment.assetId | |
173 | 173 | else throw("No NFT found") | |
174 | 174 | if (!(acceptedAssetIds(asset))) | |
175 | 175 | then throw("Only SIGN, USDN or WAVES accepted") | |
176 | 176 | else { | |
177 | 177 | let $t062596312 = checkNFTInfo(assetId) | |
178 | 178 | let isValidNFT = $t062596312._1 | |
179 | 179 | let creatorAddr = $t062596312._2 | |
180 | 180 | if (!(isValidNFT)) | |
181 | 181 | then throw("Something went wrong") | |
182 | 182 | else [StringEntry((((((("sale2nd_info_" + caller) + "_") + toBase58String(value(payment.assetId))) + "_") + creatorAddr) + "_OPEN"), ((((toString(date) + "_") + toString(price)) + "_") + asset)), StringEntry(((("sale2nd_status_" + caller) + "_") + toBase58String(value(payment.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(payment.assetId))), caller)] | |
183 | 183 | } | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | ||
188 | 188 | @Callable(i) | |
189 | 189 | func cancelSale (nftid) = { | |
190 | 190 | let $t069887027 = idCallerDate(i) | |
191 | 191 | let id = $t069887027._1 | |
192 | 192 | let caller = $t069887027._2 | |
193 | 193 | let date = $t069887027._3 | |
194 | 194 | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
195 | 195 | if ((saleOwner != caller)) | |
196 | 196 | then throw("You don't own this NFT") | |
197 | 197 | else { | |
198 | 198 | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid)) | |
199 | 199 | if ((saleStatus != "OPEN")) | |
200 | 200 | then throw("Sale not active") | |
201 | 201 | else { | |
202 | - | let $t073197379 = checkNFTInfo(toBytes(nftid)) | |
203 | - | let isValidNFT = $t073197379._1 | |
204 | - | let creatorAddr = $t073197379._2 | |
205 | - | if (!(isValidNFT)) | |
206 | - | then throw("Something went wrong") | |
207 | - | else { | |
208 | - | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
202 | + | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
203 | + | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
209 | 204 | [DeleteEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CANCELLED"), saleInfo), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
210 | - | } | |
211 | 205 | } | |
212 | 206 | } | |
213 | 207 | } | |
214 | 208 | ||
215 | 209 | ||
216 | 210 | ||
217 | 211 | @Callable(i) | |
218 | 212 | func buyNFT (nftid) = { | |
219 | - | let $ | |
220 | - | let id = $ | |
221 | - | let caller = $ | |
222 | - | let date = $ | |
213 | + | let $t081648235 = idCallerDate(i) | |
214 | + | let id = $t081648235._1 | |
215 | + | let caller = $t081648235._2 | |
216 | + | let date = $t081648235._3 | |
223 | 217 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
224 | - | let $ | |
225 | - | let isValidNFT = $ | |
226 | - | let creatorAddr = $ | |
218 | + | let $t082908350 = checkNFTInfo(toBytes(nftid)) | |
219 | + | let isValidNFT = $t082908350._1 | |
220 | + | let creatorAddr = $t082908350._2 | |
227 | 221 | if (!(isValidNFT)) | |
228 | 222 | then throw("Something went wrong") | |
229 | 223 | else { | |
230 | 224 | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
231 | 225 | if ((size(saleInfo) == 0)) | |
232 | 226 | then throw("Sale Not found!") | |
233 | 227 | else { | |
234 | 228 | let saleInfoArray = split(saleInfo, "_") | |
235 | - | let $ | |
236 | - | let payment = $ | |
237 | - | let amount = $ | |
229 | + | let $t086148650 = isPayment(i) | |
230 | + | let payment = $t086148650._1 | |
231 | + | let amount = $t086148650._2 | |
238 | 232 | if (if ((saleInfoArray[1] != toString(amount))) | |
239 | 233 | then true | |
240 | 234 | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
241 | 235 | then throw("Payment infos don't match.") | |
242 | 236 | else { | |
243 | 237 | let amountForSign = fraction(amount, signCut, 100) | |
244 | 238 | let amountForCreator = fraction(amount, creatorCut, 100) | |
245 | 239 | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
246 | 240 | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_to_") + caller)), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, payment.assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, payment.assetId), ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, payment.assetId), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
247 | 241 | } | |
248 | 242 | } | |
249 | 243 | } | |
250 | 244 | } | |
251 | 245 | ||
252 | 246 | ||
253 | 247 | ||
254 | 248 | @Callable(i) | |
255 | 249 | func setOffer (nftid) = { | |
256 | - | let $ | |
257 | - | let id = $ | |
258 | - | let caller = $ | |
259 | - | let date = $ | |
260 | - | let $ | |
261 | - | let payment = $ | |
262 | - | let amount = $ | |
250 | + | let $t01009110129 = idCallerDate(i) | |
251 | + | let id = $t01009110129._1 | |
252 | + | let caller = $t01009110129._2 | |
253 | + | let date = $t01009110129._3 | |
254 | + | let $t01013410170 = isPayment(i) | |
255 | + | let payment = $t01013410170._1 | |
256 | + | let amount = $t01013410170._2 | |
263 | 257 | let assetId = if (!(isDefined(payment.assetId))) | |
264 | 258 | then "WAVES" | |
265 | 259 | else toBase58String(value(payment.assetId)) | |
266 | 260 | if (!(acceptedAssetIds(assetId))) | |
267 | 261 | then throw("asset not accepted") | |
268 | 262 | else { | |
269 | 263 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
270 | 264 | [StringEntry((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
271 | 265 | } | |
272 | 266 | } | |
273 | 267 | ||
274 | 268 | ||
275 | 269 | ||
276 | 270 | @Callable(i) | |
277 | 271 | func acceptOffer (nftid,offerId,offerOwner) = { | |
278 | - | let $ | |
279 | - | let id = $ | |
280 | - | let caller = $ | |
281 | - | let date = $ | |
272 | + | let $t01088010954 = idCallerDate(i) | |
273 | + | let id = $t01088010954._1 | |
274 | + | let caller = $t01088010954._2 | |
275 | + | let date = $t01088010954._3 | |
282 | 276 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
283 | 277 | if ((caller != saleOwner)) | |
284 | 278 | then throw("You cannot do this action") | |
285 | 279 | else { | |
286 | 280 | let offerExist = getStrByK((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) + "_OPEN")) | |
287 | 281 | if ((offerExist == "")) | |
288 | 282 | then throw("Offer not found or not for sale") | |
289 | 283 | else { | |
290 | - | let $ | |
291 | - | let isValidNFT = $ | |
292 | - | let creatorAddr = $ | |
284 | + | let $t01125911319 = checkNFTInfo(toBytes(nftid)) | |
285 | + | let isValidNFT = $t01125911319._1 | |
286 | + | let creatorAddr = $t01125911319._2 | |
293 | 287 | if (!(isValidNFT)) | |
294 | 288 | then throw("Something went wrong") | |
295 | 289 | else { | |
296 | 290 | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
297 | 291 | if ((size(saleInfo) == 0)) | |
298 | 292 | then throw("Sale Not found!") | |
299 | 293 | else { | |
300 | 294 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) | |
301 | - | let $ | |
302 | - | let bidDataArr = $ | |
303 | - | let assetId = $ | |
304 | - | let bidData = $ | |
295 | + | let $t01171311772 = getBidData(bidDataKey) | |
296 | + | let bidDataArr = $t01171311772._1 | |
297 | + | let assetId = $t01171311772._2 | |
298 | + | let bidData = $t01171311772._3 | |
305 | 299 | let amount = value(parseInt(bidDataArr[1])) | |
306 | 300 | let amountForSign = fraction(amount, signCut, 100) | |
307 | 301 | let amountForCreator = fraction(amount, creatorCut, 100) | |
308 | 302 | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
309 | 303 | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry((bidDataKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), StringEntry((bidDataKey + "_CLOSED"), ((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_to_") + offerOwner) + "_") + offerId)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_to_") + offerOwner)), StringEntry(("current_owner_on_dapp_" + nftid), "none"), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId), ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId), ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId), ScriptTransfer(Address(fromBase58String(bidDataArr[3])), 1, fromBase58String(nftid))] | |
310 | 304 | } | |
311 | 305 | } | |
312 | 306 | } | |
313 | 307 | } | |
314 | 308 | } | |
315 | 309 | ||
316 | 310 | ||
317 | 311 | ||
318 | 312 | @Callable(i) | |
319 | 313 | func cancelOffer (nftid,offerId) = { | |
320 | - | let $ | |
321 | - | let id = $ | |
322 | - | let caller = $ | |
323 | - | let date = $ | |
314 | + | let $t01312413354 = idCallerDate(i) | |
315 | + | let id = $t01312413354._1 | |
316 | + | let caller = $t01312413354._2 | |
317 | + | let date = $t01312413354._3 | |
324 | 318 | let saleOwner = getSaleOwnerAndStatus(nftid) | |
325 | 319 | let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId) | |
326 | - | let $ | |
327 | - | let bidDataArr = $ | |
328 | - | let assetId = $ | |
329 | - | let bidData = $ | |
320 | + | let $t01349013590 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId)) | |
321 | + | let bidDataArr = $t01349013590._1 | |
322 | + | let assetId = $t01349013590._2 | |
323 | + | let bidData = $t01349013590._3 | |
330 | 324 | let bidStatus = "CANCELLED" | |
331 | 325 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
332 | 326 | } | |
333 | 327 | ||
334 | 328 | ||
335 | 329 | ||
336 | 330 | @Callable(i) | |
337 | 331 | func setRequest (nftid) = { | |
338 | - | let $ | |
339 | - | let id = $ | |
340 | - | let caller = $ | |
341 | - | let date = $ | |
342 | - | let $ | |
343 | - | let payment = $ | |
344 | - | let amount = $ | |
332 | + | let $t01419414232 = idCallerDate(i) | |
333 | + | let id = $t01419414232._1 | |
334 | + | let caller = $t01419414232._2 | |
335 | + | let date = $t01419414232._3 | |
336 | + | let $t01423714273 = isPayment(i) | |
337 | + | let payment = $t01423714273._1 | |
338 | + | let amount = $t01423714273._2 | |
345 | 339 | let assetId = if (!(isDefined(payment.assetId))) | |
346 | 340 | then "WAVES" | |
347 | 341 | else toBase58String(value(payment.assetId)) | |
348 | 342 | if (!(acceptedAssetIds(assetId))) | |
349 | 343 | then throw("asset not accepted") | |
350 | 344 | else { | |
351 | - | let $ | |
352 | - | let isValidNFT = $ | |
353 | - | let creatorAddr = $ | |
345 | + | let $t01449414554 = checkNFTInfo(toBytes(nftid)) | |
346 | + | let isValidNFT = $t01449414554._1 | |
347 | + | let creatorAddr = $t01449414554._2 | |
354 | 348 | if (!(isValidNFT)) | |
355 | 349 | then throw("Something went wrong") | |
356 | 350 | else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))] | |
357 | 351 | } | |
358 | 352 | } | |
359 | 353 | ||
360 | 354 | ||
361 | 355 | ||
362 | 356 | @Callable(i) | |
363 | 357 | func deleteEntry (entry) = { | |
364 | 358 | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
365 | 359 | if ((caller == chris)) | |
366 | 360 | then [DeleteEntry(entry)] | |
367 | 361 | else throw("no") | |
368 | 362 | } | |
369 | 363 | ||
370 | 364 |
github/deemru/w8io/026f985 75.97 ms ◑