tx · 4UtESL1fhRa4jNarhxkyXGcbyghgRFwRvp9c9AFCvUCq 3MxudAJgm5ACbtVDhMKr5kTugPSPrcNvVQ5: -0.01400000 Waves 2021.06.03 14:48 [1554144] smart account 3MxudAJgm5ACbtVDhMKr5kTugPSPrcNvVQ5 > SELF 0.00000000 Waves
{ "type": 13, "id": "4UtESL1fhRa4jNarhxkyXGcbyghgRFwRvp9c9AFCvUCq", "fee": 1400000, "feeAssetId": null, "timestamp": 1622720914603, "version": 2, "chainId": 84, "sender": "3MxudAJgm5ACbtVDhMKr5kTugPSPrcNvVQ5", "senderPublicKey": "4sUkrPfDBNvz9qAVqnyuMJcumoYg4fGGMcYZMZFYGQbJ", "proofs": [ "3Vzdi98az4F4oanAjSespYQJZRTXumuDUgVSQ7Ft1fn5SmM4MF48kGEokSEKofe92hprwKMyqDnC8x95nLwE97rC" ], "script": "base64:AAIEAAAAAAAAAEUIAhIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgUKAwgICBIECgIICBIFCgMICAgSBQoDCAgIEgMKAQgAAAAoAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAADGFydHdvcmtzRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkJ5bmZiWEMyS2FzdFV4aHVrY01VYUU1OEs5Y0JkQjlVWQAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAI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AAACAAAAAQIAAAACbm8AAAAAsoVlsg==", "height": 1554144, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let unitTest = false | |
5 | + | ||
6 | + | let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | + | ||
8 | + | let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | + | ||
10 | + | let artworksDapp = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY")) | |
11 | + | ||
12 | + | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
13 | + | ||
14 | + | let userDapp = if (unitTest) | |
15 | + | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
16 | + | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
17 | + | ||
18 | + | let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
19 | + | ||
20 | + | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
21 | + | ||
22 | + | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
23 | + | ||
24 | + | let wavesAssetId = base58'' | |
25 | + | ||
26 | + | let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
27 | + | ||
28 | + | let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
29 | + | ||
30 | + | let signCut = 3 | |
31 | + | ||
32 | + | let creatorCut = 10 | |
33 | + | ||
34 | + | let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true) | |
35 | + | ||
36 | + | let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "") | |
37 | + | ||
38 | + | let userSuspended = "SUSPENDED" | |
39 | + | ||
40 | + | let userRemoved = "REMOVED" | |
41 | + | ||
42 | + | let artIllegal = "ILLEGAL" | |
43 | + | ||
44 | + | let artSuspended = "SUSPENDED" | |
45 | + | ||
46 | + | func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error") | |
47 | + | ||
48 | + | ||
49 | + | func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "") | |
50 | + | ||
51 | + | ||
52 | + | func getStrByK (key) = valueOrElse(getString(this, key), "") | |
53 | + | ||
54 | + | ||
55 | + | func getIntByK (key) = valueOrElse(getInteger(this, key), 0) | |
56 | + | ||
57 | + | ||
58 | + | func keyUserStatus (addr) = ("user_status_" + addr) | |
59 | + | ||
60 | + | ||
61 | + | func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr) | |
62 | + | ||
63 | + | ||
64 | + | func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr) | |
65 | + | ||
66 | + | ||
67 | + | func keyNFTData (id) = ("nft_" + id) | |
68 | + | ||
69 | + | ||
70 | + | func idCallerDate (i) = if (!(dappRunning)) | |
71 | + | then throw(maintenanceMSG) | |
72 | + | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
73 | + | ||
74 | + | ||
75 | + | func isPayment (i) = if ((size(i.payments) == 0)) | |
76 | + | then throw("No payment attached") | |
77 | + | else { | |
78 | + | let payment = value(i.payments[0]) | |
79 | + | let amount = value(payment.amount) | |
80 | + | $Tuple2(payment, amount) | |
81 | + | } | |
82 | + | ||
83 | + | ||
84 | + | func isSignArtNFT (id) = { | |
85 | + | let assetDetails = value(assetInfo(id)) | |
86 | + | if (if (if (if ((assetDetails.quantity != 1)) | |
87 | + | then true | |
88 | + | else (assetDetails.decimals != 0)) | |
89 | + | then true | |
90 | + | else (assetDetails.reissuable != false)) | |
91 | + | then true | |
92 | + | else (assetDetails.issuer != artworksDapp)) | |
93 | + | then false | |
94 | + | else true | |
95 | + | } | |
96 | + | ||
97 | + | ||
98 | + | func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId))) | |
99 | + | then (assetId != toBase58String(wavesAssetId)) | |
100 | + | else false) | |
101 | + | then (assetId != "WAVES") | |
102 | + | else false) | |
103 | + | then (assetId != toBase58String(usdnAssetId)) | |
104 | + | else false) | |
105 | + | then false | |
106 | + | else true | |
107 | + | ||
108 | + | ||
109 | + | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
110 | + | then unit | |
111 | + | else fromBase58String(assetId) | |
112 | + | ||
113 | + | ||
114 | + | func getSaleOwnerAndStatus (nftid) = { | |
115 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
116 | + | if ((size(saleOwner) == 0)) | |
117 | + | then throw("NFT not found") | |
118 | + | else { | |
119 | + | let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid)) | |
120 | + | if ((saleStatus != "OPEN")) | |
121 | + | then throw("NFT not for sale") | |
122 | + | else saleOwner | |
123 | + | } | |
124 | + | } | |
125 | + | ||
126 | + | ||
127 | + | func getBidData (key) = { | |
128 | + | let bidData = getStrByK((key + "_OPEN")) | |
129 | + | if ((bidData == "")) | |
130 | + | then throw("Offer not found") | |
131 | + | else { | |
132 | + | let bidDataArr = split(bidData, "_") | |
133 | + | let assetId = getBidAssetId(bidDataArr[2]) | |
134 | + | $Tuple3(bidDataArr, assetId, bidData) | |
135 | + | } | |
136 | + | } | |
137 | + | ||
138 | + | ||
139 | + | func checkArtStatus (addr,id) = { | |
140 | + | let artStatus = getArtStrByK(keyFlag(addr, id)) | |
141 | + | if (if ((artStatus == artIllegal)) | |
142 | + | then true | |
143 | + | else (artStatus == artSuspended)) | |
144 | + | then throw(("Original Artwork flagged as " + artStatus)) | |
145 | + | else true | |
146 | + | } | |
147 | + | ||
148 | + | ||
149 | + | func checkArtistStatus (addr) = { | |
150 | + | let artistStatus = getUserStrByK(keyUserStatus(addr)) | |
151 | + | if (containsElement([userSuspended, userRemoved], artistStatus)) | |
152 | + | then throw(("Original Artist " + artistStatus)) | |
153 | + | else true | |
154 | + | } | |
155 | + | ||
156 | + | ||
157 | + | func checkNFTInfo (assetId) = { | |
158 | + | let nftData = split(getArtStrByK(keyNFTData(assetId)), "_") | |
159 | + | let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5])) | |
160 | + | if ((size(artSignID) == 0)) | |
161 | + | then throw("Artwork not found on SIGN Art") | |
162 | + | else if (if (!(checkArtStatus(nftData[6], nftData[5]))) | |
163 | + | then !(checkArtistStatus(nftData[6])) | |
164 | + | else false) | |
165 | + | then $Tuple3(false, nftData[5], nftData[6]) | |
166 | + | else $Tuple3(true, nftData[5], nftData[6]) | |
167 | + | } | |
168 | + | ||
169 | + | ||
170 | + | func checkARTExist (artId,creatorAddr) = { | |
171 | + | let artSignID = getArtStrByK(keySignID(creatorAddr, artId)) | |
172 | + | if ((size(artSignID) == 0)) | |
173 | + | then throw("Artwork not found on SIGN Art") | |
174 | + | else if (if (!(checkArtStatus(creatorAddr, artId))) | |
175 | + | then !(checkArtistStatus(creatorAddr)) | |
176 | + | else false) | |
177 | + | then false | |
178 | + | else true | |
179 | + | } | |
180 | + | ||
181 | + | ||
182 | + | func setTransfers (amount,assetId,nftid,creatorAddr,saleOwner,caller) = { | |
183 | + | let amountForSign = fraction(amount, signCut, 100) | |
184 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
185 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
186 | + | let signFee = ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId) | |
187 | + | let creatorFee = ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId) | |
188 | + | let ownerFee = ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId) | |
189 | + | let collectorFee = ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid)) | |
190 | + | $Tuple4(signFee, creatorFee, ownerFee, collectorFee) | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | @Callable(i) | |
195 | + | func sellNFT (price,asset) = { | |
196 | + | let $t071147153 = idCallerDate(i) | |
197 | + | let id = $t071147153._1 | |
198 | + | let caller = $t071147153._2 | |
199 | + | let date = $t071147153._3 | |
200 | + | let $t071587194 = isPayment(i) | |
201 | + | let payment = $t071587194._1 | |
202 | + | let amount = $t071587194._2 | |
203 | + | let assetId = if (if (isDefined(payment.assetId)) | |
204 | + | then isSignArtNFT(value(payment.assetId)) | |
205 | + | else false) | |
206 | + | then payment.assetId | |
207 | + | else throw("Only SIGN Art NFT accepted.") | |
208 | + | if (!(acceptedAssetIds(asset))) | |
209 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
210 | + | else { | |
211 | + | let $t074747557 = checkNFTInfo(toBase58String(value(assetId))) | |
212 | + | let isValidNFT = $t074747557._1 | |
213 | + | let artId = $t074747557._2 | |
214 | + | let creatorAddr = $t074747557._3 | |
215 | + | if (!(isValidNFT)) | |
216 | + | then throw("Something went wrong") | |
217 | + | else [StringEntry((((((("sale2nd_info_" + caller) + "_") + toBase58String(value(payment.assetId))) + "_") + creatorAddr) + "_OPEN"), ((((((((((((toString(date) + "_") + toString(price)) + "_") + asset) + "_") + toBase58String(value(payment.assetId))) + "_") + artId) + "_") + creatorAddr) + "_") + id)), StringEntry(((("sale2nd_status_" + caller) + "_") + toBase58String(value(payment.assetId))), "OPEN"), StringEntry(("current_owner_on_dapp_" + toBase58String(value(payment.assetId))), caller)] | |
218 | + | } | |
219 | + | } | |
220 | + | ||
221 | + | ||
222 | + | ||
223 | + | @Callable(i) | |
224 | + | func updateSalePrice (nftid,price,asset) = { | |
225 | + | let $t083588397 = idCallerDate(i) | |
226 | + | let id = $t083588397._1 | |
227 | + | let caller = $t083588397._2 | |
228 | + | let date = $t083588397._3 | |
229 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
230 | + | if ((saleOwner != caller)) | |
231 | + | then throw("You don't own this NFT") | |
232 | + | else { | |
233 | + | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid)) | |
234 | + | if ((saleStatus != "OPEN")) | |
235 | + | then throw("Sale not active") | |
236 | + | else { | |
237 | + | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
238 | + | let saleInfo = split(getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)), "_") | |
239 | + | [StringEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"), ((((((((((((saleInfo[0] + "_") + toString(price)) + "_") + asset) + "_") + saleInfo[3]) + "_") + saleInfo[4]) + "_") + saleInfo[5]) + "_") + saleInfo[6]))] | |
240 | + | } | |
241 | + | } | |
242 | + | } | |
243 | + | ||
244 | + | ||
245 | + | ||
246 | + | @Callable(i) | |
247 | + | func cancelSale (nftid) = { | |
248 | + | let $t093319370 = idCallerDate(i) | |
249 | + | let id = $t093319370._1 | |
250 | + | let caller = $t093319370._2 | |
251 | + | let date = $t093319370._3 | |
252 | + | let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid)) | |
253 | + | if ((saleOwner != caller)) | |
254 | + | then throw("You don't own this NFT") | |
255 | + | else { | |
256 | + | let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid)) | |
257 | + | if ((saleStatus != "OPEN")) | |
258 | + | then throw("Sale not active") | |
259 | + | else { | |
260 | + | let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6] | |
261 | + | let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)) | |
262 | + | [DeleteEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CANCELLED"), saleInfo), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))] | |
263 | + | } | |
264 | + | } | |
265 | + | } | |
266 | + | ||
267 | + | ||
268 | + | ||
269 | + | @Callable(i) | |
270 | + | func buyNFT (nftid) = { | |
271 | + | let $t01049910570 = idCallerDate(i) | |
272 | + | let id = $t01049910570._1 | |
273 | + | let caller = $t01049910570._2 | |
274 | + | let date = $t01049910570._3 | |
275 | + | let saleOwner = getSaleOwnerAndStatus(nftid) | |
276 | + | let $t01062510683 = checkNFTInfo(nftid) | |
277 | + | let isValidNFT = $t01062510683._1 | |
278 | + | let artId = $t01062510683._2 | |
279 | + | let creatorAddr = $t01062510683._3 | |
280 | + | if (!(isValidNFT)) | |
281 | + | then throw("Something went wrong") | |
282 | + | else { | |
283 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
284 | + | if ((size(saleInfo) == 0)) | |
285 | + | then throw("Sale Not found!") | |
286 | + | else { | |
287 | + | let saleInfoArray = split(saleInfo, "_") | |
288 | + | if ((parseInt(saleInfoArray[1]) == 0)) | |
289 | + | then throw("Offer only") | |
290 | + | else { | |
291 | + | let $t01101911055 = isPayment(i) | |
292 | + | let payment = $t01101911055._1 | |
293 | + | let amount = $t01101911055._2 | |
294 | + | if (if ((saleInfoArray[1] != toString(amount))) | |
295 | + | then true | |
296 | + | else (saleInfoArray[2] != toBase58String(value(payment.assetId)))) | |
297 | + | then throw("Payment infos don't match.") | |
298 | + | else { | |
299 | + | let amountForSign = fraction(amount, signCut, 100) | |
300 | + | let amountForCreator = fraction(amount, creatorCut, 100) | |
301 | + | let amountForOwner = (amount - (amountForSign + amountForCreator)) | |
302 | + | let $t01147811606 = setTransfers(amount, payment.assetId, nftid, creatorAddr, saleOwner, caller) | |
303 | + | let signFee = $t01147811606._1 | |
304 | + | let creatorFee = $t01147811606._2 | |
305 | + | let ownerFee = $t01147811606._3 | |
306 | + | let collectorFee = $t01147811606._4 | |
307 | + | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_") + nftid) + "_") + artId) + "_") + creatorAddr) + "_to_") + caller) + "_") + id)), signFee, creatorFee, ownerFee, collectorFee] | |
308 | + | } | |
309 | + | } | |
310 | + | } | |
311 | + | } | |
312 | + | } | |
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | @Callable(i) | |
317 | + | func setOffer (nftid) = { | |
318 | + | let $t01273712779 = idCallerDate(i) | |
319 | + | let id = $t01273712779._1 | |
320 | + | let offerOwner = $t01273712779._2 | |
321 | + | let date = $t01273712779._3 | |
322 | + | let $t01278412820 = isPayment(i) | |
323 | + | let payment = $t01278412820._1 | |
324 | + | let amount = $t01278412820._2 | |
325 | + | let assetId = if (!(isDefined(payment.assetId))) | |
326 | + | then "WAVES" | |
327 | + | else toBase58String(value(payment.assetId)) | |
328 | + | if (!(acceptedAssetIds(assetId))) | |
329 | + | then throw("asset not accepted") | |
330 | + | else { | |
331 | + | let $t01300613064 = checkNFTInfo(nftid) | |
332 | + | let isValidNFT = $t01300613064._1 | |
333 | + | let artId = $t01300613064._2 | |
334 | + | let creatorAddr = $t01300613064._3 | |
335 | + | if (!(isValidNFT)) | |
336 | + | then throw("Something went wrong") | |
337 | + | else { | |
338 | + | let saleOwner = getSaleOwnerAndStatus(nftid) | |
339 | + | [StringEntry((((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + id) + "_OPEN"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + artId) + "_") + offerOwner) + "_") + id))] | |
340 | + | } | |
341 | + | } | |
342 | + | } | |
343 | + | ||
344 | + | ||
345 | + | ||
346 | + | @Callable(i) | |
347 | + | func acceptOffer (nftid,offerId,offerOwner) = { | |
348 | + | let $t01362213692 = idCallerDate(i) | |
349 | + | let id = $t01362213692._1 | |
350 | + | let caller = $t01362213692._2 | |
351 | + | let date = $t01362213692._3 | |
352 | + | let saleOwner = getSaleOwnerAndStatus(nftid) | |
353 | + | if ((caller != saleOwner)) | |
354 | + | then throw("You cannot do this action") | |
355 | + | else { | |
356 | + | let offerExist = getStrByK((((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + offerId) + "_OPEN")) | |
357 | + | if ((offerExist == "")) | |
358 | + | then throw("Offer not found or not for sale") | |
359 | + | else { | |
360 | + | let $t01399714055 = checkNFTInfo(nftid) | |
361 | + | let isValidNFT = $t01399714055._1 | |
362 | + | let artId = $t01399714055._2 | |
363 | + | let creatorAddr = $t01399714055._3 | |
364 | + | if (!(isValidNFT)) | |
365 | + | then throw("Something went wrong") | |
366 | + | else { | |
367 | + | let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")) | |
368 | + | if ((size(saleInfo) == 0)) | |
369 | + | then throw("Sale Not found!") | |
370 | + | else { | |
371 | + | let bidDataKey = ((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + offerId) | |
372 | + | let $t01439114450 = getBidData(bidDataKey) | |
373 | + | let bidDataArr = $t01439114450._1 | |
374 | + | let assetId = $t01439114450._2 | |
375 | + | let bidData = $t01439114450._3 | |
376 | + | let amount = value(parseInt(bidDataArr[1])) | |
377 | + | let $t01450414631 = setTransfers(amount, assetId, nftid, creatorAddr, saleOwner, bidDataArr[3]) | |
378 | + | let signFee = $t01450414631._1 | |
379 | + | let creatorFee = $t01450414631._2 | |
380 | + | let ownerFee = $t01450414631._3 | |
381 | + | let collectorFee = $t01450414631._4 | |
382 | + | [DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry((bidDataKey + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((bidDataKey + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_") + artId) + "_") + offerOwner) + "_") + offerId)), StringEntry((((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + toString(date)) + "_") + id) + "_CLOSED"), ((((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(assetId))) + "_") + nftid) + "_") + artId) + "_") + creatorAddr) + "_to_") + offerOwner)), signFee, creatorFee, ownerFee, collectorFee] | |
383 | + | } | |
384 | + | } | |
385 | + | } | |
386 | + | } | |
387 | + | } | |
388 | + | ||
389 | + | ||
390 | + | ||
391 | + | @Callable(i) | |
392 | + | func cancelOffer (nftid,offerId,saleOwner) = { | |
393 | + | let $t01545115512 = idCallerDate(i) | |
394 | + | let id = $t01545115512._1 | |
395 | + | let caller = $t01545115512._2 | |
396 | + | let date = $t01545115512._3 | |
397 | + | let bidDataKey = ((((((("offer2nd_" + caller) + "_") + nftid) + "_") + saleOwner) + "_") + offerId) | |
398 | + | let $t01559315652 = getBidData(bidDataKey) | |
399 | + | let bidDataArr = $t01559315652._1 | |
400 | + | let assetId = $t01559315652._2 | |
401 | + | let bidData = $t01559315652._3 | |
402 | + | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry((((((bidDataKey + "_") + toString(date)) + "_") + id) + "_CANCELLED"), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)] | |
403 | + | } | |
404 | + | ||
405 | + | ||
406 | + | ||
407 | + | @Callable(i) | |
408 | + | func makeRequest (artId,creatorAddr) = { | |
409 | + | let $t01598716031 = idCallerDate(i) | |
410 | + | let id = $t01598716031._1 | |
411 | + | let requestOwner = $t01598716031._2 | |
412 | + | let date = $t01598716031._3 | |
413 | + | let $t01603616072 = isPayment(i) | |
414 | + | let payment = $t01603616072._1 | |
415 | + | let amount = $t01603616072._2 | |
416 | + | let assetId = if (!(isDefined(payment.assetId))) | |
417 | + | then "WAVES" | |
418 | + | else toBase58String(value(payment.assetId)) | |
419 | + | if (!(acceptedAssetIds(assetId))) | |
420 | + | then throw("asset not accepted") | |
421 | + | else { | |
422 | + | let isValidART = checkARTExist(artId, creatorAddr) | |
423 | + | if (!(isValidART)) | |
424 | + | then throw("Something went wrong") | |
425 | + | else [StringEntry((((((((("request2nd_" + requestOwner) + "_") + creatorAddr) + "_") + artId) + "_") + id) + "_OPEN"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_") + artId) + "_") + requestOwner) + "_") + id))] | |
426 | + | } | |
427 | + | } | |
428 | + | ||
429 | + | ||
430 | + | ||
431 | + | @Callable(i) | |
432 | + | func fillRequest (artId,requestOwner,offerId) = { | |
433 | + | let $t01684716889 = idCallerDate(i) | |
434 | + | let id = $t01684716889._1 | |
435 | + | let saleOwner = $t01684716889._2 | |
436 | + | let date = $t01684716889._3 | |
437 | + | let $t01689416938 = isPayment(i) | |
438 | + | let payment = $t01689416938._1 | |
439 | + | let amountAttached = $t01689416938._2 | |
440 | + | let NFTid = if (if (isDefined(payment.assetId)) | |
441 | + | then isSignArtNFT(value(payment.assetId)) | |
442 | + | else false) | |
443 | + | then payment.assetId | |
444 | + | else throw("No NFT found") | |
445 | + | let NFTdata = split(getArtStrByK(("nft_" + toBase58String(value(NFTid)))), "_") | |
446 | + | if ((size(NFTdata) == 0)) | |
447 | + | then throw("No NFT found") | |
448 | + | else { | |
449 | + | let requestData = split(getStrByK((((((((("request2nd_" + requestOwner) + "_") + NFTdata[6]) + "_") + artId) + "_") + offerId) + "_OPEN")), "_") | |
450 | + | if ((size(requestData) == 1)) | |
451 | + | then throw("No request found") | |
452 | + | else if ((requestData[3] != NFTdata[5])) | |
453 | + | then throw("This NFT don't match the requested artwork") | |
454 | + | else { | |
455 | + | let amount = value(parseInt(requestData[1])) | |
456 | + | let $t01765817833 = setTransfers(amount, fromBase58String(requestData[2]), toBase58String(value(NFTid)), NFTdata[6], saleOwner, requestData[4]) | |
457 | + | let signFee = $t01765817833._1 | |
458 | + | let creatorFee = $t01765817833._2 | |
459 | + | let ownerFee = $t01765817833._3 | |
460 | + | let collectorFee = $t01765817833._4 | |
461 | + | [DeleteEntry((((((((("request2nd_" + requestOwner) + "_") + NFTdata[6]) + "_") + artId) + "_") + offerId) + "_OPEN")), StringEntry((((((((("request2nd_" + requestOwner) + "_") + NFTdata[6]) + "_") + artId) + "_") + offerId) + "_CLOSED"), ((((((((((((toString(date) + "_") + toString(amount)) + "_") + requestData[2]) + "_") + artId) + "_") + requestOwner) + "_") + saleOwner) + "_") + id)), signFee, creatorFee, ownerFee, collectorFee] | |
462 | + | } | |
463 | + | } | |
464 | + | } | |
465 | + | ||
466 | + | ||
467 | + | ||
468 | + | @Callable(i) | |
469 | + | func cancelRequest (artId,creatorAddr,requestId) = { | |
470 | + | let $t01829318337 = idCallerDate(i) | |
471 | + | let id = $t01829318337._1 | |
472 | + | let requestOwner = $t01829318337._2 | |
473 | + | let date = $t01829318337._3 | |
474 | + | let requesDataKey = ((((((("request2nd_" + requestOwner) + "_") + creatorAddr) + "_") + artId) + "_") + requestId) | |
475 | + | let requestData = getStrByK((requesDataKey + "_OPEN")) | |
476 | + | if ((size(requestData) == 0)) | |
477 | + | then throw("Request not found") | |
478 | + | else { | |
479 | + | let requestDataArr = split(requestData, "_") | |
480 | + | [DeleteEntry((requesDataKey + "_OPEN")), StringEntry((((((requesDataKey + "_") + toString(date)) + "_") + id) + "_CANCELLED"), ((requestData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(requestOwner)), parseIntValue(requestDataArr[1]), fromBase58String(requestDataArr[2]))] | |
481 | + | } | |
482 | + | } | |
483 | + | ||
484 | + | ||
485 | + | ||
486 | + | @Callable(i) | |
487 | + | func deleteEntry (entry) = { | |
488 | + | let caller = toString(addressFromPublicKey(i.callerPublicKey)) | |
489 | + | if ((caller == chris)) | |
490 | + | then [DeleteEntry(entry)] | |
491 | + | else throw("no") | |
492 | + | } | |
493 | + | ||
494 | + |
github/deemru/w8io/026f985 35.62 ms ◑