tx · 9Y99RCn4xTfMdTiV2doisiF5XXCAnLWjy7CJEJHdEvU

3Mphy9ot4bAgWK7xnffSVo754yhtYAXpXwk:  -0.01400000 Waves

2021.06.04 15:00 [1555600] smart account 3Mphy9ot4bAgWK7xnffSVo754yhtYAXpXwk > SELF 0.00000000 Waves

{ "type": 13, "id": "9Y99RCn4xTfMdTiV2doisiF5XXCAnLWjy7CJEJHdEvU", "fee": 1400000, "feeAssetId": null, "timestamp": 1622808106109, "version": 2, "chainId": 84, "sender": "3Mphy9ot4bAgWK7xnffSVo754yhtYAXpXwk", "senderPublicKey": "6yHEdhuT6bjBWoiyk6ZRaaM6PjzmDADqxrJD6HWGEjaL", "proofs": [ "ELXNdaqVk41MGFXWDLEmWJJug5obLpvS1qDRSdMkZpW9mJXMegy7zSpZtHjS6LdQ3SCgYVbSVtrSvrJ9tyPpWJW" ], "script": "base64:AAIEAAAAAAAAAEUIAhIECgIBCBIFCgMIAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgIEgUKAwgICBIECgIICBIFCgMICAgSBQoDCAgIEgMKAQgAAAAoAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAADGFydHdvcmtzRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkJ5bmZiWEMyS2FzdFV4aHVrY01VYUU1OEs5Y0JkQjlVWQAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAA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ZXNEYXRhS2V5AgAAAAVfT1BFTgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAANcmVxdWVzRGF0YUtleQIAAAABXwkAAaQAAAABBQAAAARkYXRlAgAAAAFfBQAAAAJpZAIAAAAKX0NBTkNFTExFRAkAASwAAAACCQABLAAAAAIFAAAAC3JlcXVlc3REYXRhAgAAAAFfCQABpAAAAAEFAAAABGRhdGUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAADHJlcXVlc3RPd25lcgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIFAAAADnJlcXVlc3REYXRhQXJyAAAAAAAAAAABCQACWQAAAAEJAAGRAAAAAgUAAAAOcmVxdWVzdERhdGFBcnIAAAAAAAAAAAIFAAAAA25pbAAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAFY2hyaXMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAABKygdM", "height": 1555600, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 45jhS8bwM6BEqnwxZ3CTjJbePQ6mfDsHfP9o5ePtHvEn Next: none Diff:
OldNewDifferences
307307 let creatorFee = $t01131711445._2
308308 let ownerFee = $t01131711445._3
309309 let collectorFee = $t01131711445._4
310-[DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + id) + "_CLOSED"), ((((((makeString(saleInfoArray, "_") + "_CLOSED_") + toString(date)) + "_") + caller) + "_") + id)), signFee, creatorFee, ownerFee, collectorFee]
310+[DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + id) + "_CLOSED"), ((((((makeString(saleInfoArray, "_") + "_CLOSED_") + toString(date)) + "_") + id) + "_") + caller)), signFee, creatorFee, ownerFee, collectorFee]
311311 }
312312 }
313313 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
55
66 let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
77
88 let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
99
1010 let artworksDapp = value(addressFromString("3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY"))
1111
1212 let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1313
1414 let userDapp = if (unitTest)
1515 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1616 else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj"))
1717
1818 let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq"))
1919
2020 let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
2121
2222 let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
2323
2424 let wavesAssetId = base58''
2525
2626 let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
2727
2828 let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
2929
3030 let signCut = 3
3131
3232 let creatorCut = 10
3333
3434 let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true)
3535
3636 let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "")
3737
3838 let userSuspended = "SUSPENDED"
3939
4040 let userRemoved = "REMOVED"
4141
4242 let artIllegal = "ILLEGAL"
4343
4444 let artSuspended = "SUSPENDED"
4545
4646 func getUserStrByK (key) = valueOrElse(getString(userDapp, key), "Error")
4747
4848
4949 func getArtStrByK (key) = valueOrElse(getString(artworksDapp, key), "")
5050
5151
5252 func getStrByK (key) = valueOrElse(getString(this, key), "")
5353
5454
5555 func getIntByK (key) = valueOrElse(getInteger(this, key), 0)
5656
5757
5858 func keyUserStatus (addr) = ("user_status_" + addr)
5959
6060
6161 func keySignID (artistAddr,artId) = ((("art_signid_" + artId) + "_") + artistAddr)
6262
6363
6464 func keyFlag (artistAddr,artId) = ((("art_flag_" + artId) + "_") + artistAddr)
6565
6666
6767 func keyNFTData (id) = ("nft_" + id)
6868
6969
7070 func idCallerDate (i) = if (!(dappRunning))
7171 then throw(maintenanceMSG)
7272 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
7373
7474
7575 func isPayment (i) = if ((size(i.payments) == 0))
7676 then throw("No payment attached")
7777 else {
7878 let payment = value(i.payments[0])
7979 let amount = value(payment.amount)
8080 $Tuple2(payment, amount)
8181 }
8282
8383
8484 func isSignArtNFT (id) = {
8585 let assetDetails = value(assetInfo(id))
8686 if (if (if (if ((assetDetails.quantity != 1))
8787 then true
8888 else (assetDetails.decimals != 0))
8989 then true
9090 else (assetDetails.reissuable != false))
9191 then true
9292 else (assetDetails.issuer != artworksDapp))
9393 then false
9494 else true
9595 }
9696
9797
9898 func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId)))
9999 then (assetId != toBase58String(wavesAssetId))
100100 else false)
101101 then (assetId != "WAVES")
102102 else false)
103103 then (assetId != toBase58String(usdnAssetId))
104104 else false)
105105 then false
106106 else true
107107
108108
109109 func getBidAssetId (assetId) = if ((assetId == "WAVES"))
110110 then unit
111111 else fromBase58String(assetId)
112112
113113
114114 func getSaleOwnerAndStatus (nftid) = {
115115 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
116116 if ((size(saleOwner) == 0))
117117 then throw("NFT not found")
118118 else {
119119 let saleStatus = getStrByK(((("sale2nd_status_" + saleOwner) + "_") + nftid))
120120 if ((saleStatus != "OPEN"))
121121 then throw("NFT not for sale")
122122 else saleOwner
123123 }
124124 }
125125
126126
127127 func getBidData (key) = {
128128 let bidData = getStrByK((key + "_OPEN"))
129129 if ((bidData == ""))
130130 then throw("Offer not found")
131131 else {
132132 let bidDataArr = split(bidData, "_")
133133 let assetId = getBidAssetId(bidDataArr[2])
134134 $Tuple3(bidDataArr, assetId, bidData)
135135 }
136136 }
137137
138138
139139 func checkArtStatus (addr,id) = {
140140 let artStatus = getArtStrByK(keyFlag(addr, id))
141141 if (if ((artStatus == artIllegal))
142142 then true
143143 else (artStatus == artSuspended))
144144 then throw(("Original Artwork flagged as " + artStatus))
145145 else true
146146 }
147147
148148
149149 func checkArtistStatus (addr) = {
150150 let artistStatus = getUserStrByK(keyUserStatus(addr))
151151 if (containsElement([userSuspended, userRemoved], artistStatus))
152152 then throw(("Original Artist " + artistStatus))
153153 else true
154154 }
155155
156156
157157 func checkNFTInfo (assetId) = {
158158 let nftData = split(getArtStrByK(keyNFTData(assetId)), "_")
159159 let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
160160 if ((size(artSignID) == 0))
161161 then throw("Artwork not found on SIGN Art")
162162 else if (if (!(checkArtStatus(nftData[6], nftData[5])))
163163 then !(checkArtistStatus(nftData[6]))
164164 else false)
165165 then $Tuple3(false, nftData[5], nftData[6])
166166 else $Tuple3(true, nftData[5], nftData[6])
167167 }
168168
169169
170170 func checkARTExist (artId,creatorAddr) = {
171171 let artSignID = getArtStrByK(keySignID(creatorAddr, artId))
172172 if ((size(artSignID) == 0))
173173 then throw("Artwork not found on SIGN Art")
174174 else if (if (!(checkArtStatus(creatorAddr, artId)))
175175 then !(checkArtistStatus(creatorAddr))
176176 else false)
177177 then false
178178 else true
179179 }
180180
181181
182182 func setTransfers (amount,assetId,nftid,creatorAddr,saleOwner,caller) = {
183183 let amountForSign = fraction(amount, signCut, 100)
184184 let amountForCreator = fraction(amount, creatorCut, 100)
185185 let amountForOwner = (amount - (amountForSign + amountForCreator))
186186 let signFee = ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId)
187187 let creatorFee = ScriptTransfer(Address(fromBase58String(creatorAddr)), amountForCreator, assetId)
188188 let ownerFee = ScriptTransfer(Address(fromBase58String(saleOwner)), amountForOwner, assetId)
189189 let collectorFee = ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))
190190 $Tuple4(signFee, creatorFee, ownerFee, collectorFee)
191191 }
192192
193193
194194 @Callable(i)
195195 func sellNFT (price,asset) = {
196196 let $t071147153 = idCallerDate(i)
197197 let id = $t071147153._1
198198 let caller = $t071147153._2
199199 let date = $t071147153._3
200200 let $t071587194 = isPayment(i)
201201 let payment = $t071587194._1
202202 let amount = $t071587194._2
203203 let nftId = if (if (isDefined(payment.assetId))
204204 then isSignArtNFT(value(payment.assetId))
205205 else false)
206206 then toBase58String(value(payment.assetId))
207207 else throw("Only SIGN Art NFT accepted.")
208208 if (!(acceptedAssetIds(asset)))
209209 then throw("Only SIGN, USDN or WAVES accepted")
210210 else {
211211 let $t074957553 = checkNFTInfo(nftId)
212212 let isValidNFT = $t074957553._1
213213 let artId = $t074957553._2
214214 let creatorAddr = $t074957553._3
215215 if (!(isValidNFT))
216216 then throw("Something went wrong")
217217 else [StringEntry((((((("sale2nd_info_" + caller) + "_") + nftId) + "_") + creatorAddr) + "_OPEN"), ((((((((((((toString(date) + "_") + toString(price)) + "_") + asset) + "_") + nftId) + "_") + artId) + "_") + creatorAddr) + "_") + id)), StringEntry(((("sale2nd_status_" + caller) + "_") + nftId), "OPEN"), StringEntry(("current_owner_on_dapp_" + nftId), caller)]
218218 }
219219 }
220220
221221
222222
223223 @Callable(i)
224224 func updateSalePrice (nftid,price,asset) = {
225225 let $t080608099 = idCallerDate(i)
226226 let id = $t080608099._1
227227 let caller = $t080608099._2
228228 let date = $t080608099._3
229229 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
230230 if ((saleOwner != caller))
231231 then throw("You don't own this NFT")
232232 else {
233233 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid))
234234 if ((saleStatus != "OPEN"))
235235 then throw("Sale not active")
236236 else {
237237 let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6]
238238 let saleInfo = split(getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus)), "_")
239239 [StringEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"), ((((((((((((saleInfo[0] + "_") + toString(price)) + "_") + asset) + "_") + saleInfo[3]) + "_") + saleInfo[4]) + "_") + saleInfo[5]) + "_") + saleInfo[6]))]
240240 }
241241 }
242242 }
243243
244244
245245
246246 @Callable(i)
247247 func cancelSale (nftid) = {
248248 let $t090689107 = idCallerDate(i)
249249 let id = $t090689107._1
250250 let caller = $t090689107._2
251251 let date = $t090689107._3
252252 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
253253 if ((saleOwner != caller))
254254 then throw("You don't own this NFT")
255255 else {
256256 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid))
257257 if ((saleStatus != "OPEN"))
258258 then throw("Sale not active")
259259 else {
260260 let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6]
261261 let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus))
262262 [DeleteEntry((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + caller) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + id) + "_CANCELLED"), ((((saleInfo + "_CANCELLED_") + toString(date)) + "_") + id)), ScriptTransfer(Address(fromBase58String(caller)), 1, fromBase58String(nftid))]
263263 }
264264 }
265265 }
266266
267267
268268
269269 @Callable(i)
270270 func buyNFT (nftid) = {
271271 let $t01025310324 = idCallerDate(i)
272272 let id = $t01025310324._1
273273 let caller = $t01025310324._2
274274 let date = $t01025310324._3
275275 let saleOwner = getSaleOwnerAndStatus(nftid)
276276 let $t01037910437 = checkNFTInfo(nftid)
277277 let isValidNFT = $t01037910437._1
278278 let artId = $t01037910437._2
279279 let creatorAddr = $t01037910437._3
280280 if (!(isValidNFT))
281281 then throw("Something went wrong")
282282 else {
283283 let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"))
284284 if ((size(saleInfo) == 0))
285285 then throw("Sale Not found!")
286286 else {
287287 let saleInfoArray = split(saleInfo, "_")
288288 if ((parseInt(saleInfoArray[1]) == 0))
289289 then throw("Offer only")
290290 else {
291291 let $t01077210808 = isPayment(i)
292292 let payment = $t01077210808._1
293293 let amount = $t01077210808._2
294294 let paymentAssetStr = if (isDefined(payment.assetId))
295295 then toBase58String(value(payment.assetId))
296296 else ""
297297 if (if ((saleInfoArray[1] != toString(amount)))
298298 then true
299299 else (saleInfoArray[2] != paymentAssetStr))
300300 then throw("Payment infos don't match.")
301301 else {
302302 let amountForSign = fraction(amount, signCut, 100)
303303 let amountForCreator = fraction(amount, creatorCut, 100)
304304 let amountForOwner = (amount - (amountForSign + amountForCreator))
305305 let $t01131711445 = setTransfers(amount, payment.assetId, nftid, creatorAddr, saleOwner, caller)
306306 let signFee = $t01131711445._1
307307 let creatorFee = $t01131711445._2
308308 let ownerFee = $t01131711445._3
309309 let collectorFee = $t01131711445._4
310-[DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + id) + "_CLOSED"), ((((((makeString(saleInfoArray, "_") + "_CLOSED_") + toString(date)) + "_") + caller) + "_") + id)), signFee, creatorFee, ownerFee, collectorFee]
310+[DeleteEntry((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN")), DeleteEntry(((("sale2nd_status_" + saleOwner) + "_") + nftid)), DeleteEntry(("current_owner_on_dapp_" + nftid)), StringEntry((((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_") + id) + "_CLOSED"), ((((((makeString(saleInfoArray, "_") + "_CLOSED_") + toString(date)) + "_") + id) + "_") + caller)), signFee, creatorFee, ownerFee, collectorFee]
311311 }
312312 }
313313 }
314314 }
315315 }
316316
317317
318318
319319 @Callable(i)
320320 func setOffer (nftid) = {
321321 let $t01249512537 = idCallerDate(i)
322322 let id = $t01249512537._1
323323 let offerOwner = $t01249512537._2
324324 let date = $t01249512537._3
325325 let $t01254212578 = isPayment(i)
326326 let payment = $t01254212578._1
327327 let amount = $t01254212578._2
328328 let assetId = if (!(isDefined(payment.assetId)))
329329 then "WAVES"
330330 else toBase58String(value(payment.assetId))
331331 if (!(acceptedAssetIds(assetId)))
332332 then throw("asset not accepted")
333333 else {
334334 let $t01276412822 = checkNFTInfo(nftid)
335335 let isValidNFT = $t01276412822._1
336336 let artId = $t01276412822._2
337337 let creatorAddr = $t01276412822._3
338338 if (!(isValidNFT))
339339 then throw("Something went wrong")
340340 else {
341341 let saleOwner = getSaleOwnerAndStatus(nftid)
342342 [StringEntry((((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + id) + "_OPEN"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + assetId) + "_") + artId) + "_") + offerOwner) + "_") + id))]
343343 }
344344 }
345345 }
346346
347347
348348
349349 @Callable(i)
350350 func acceptOffer (nftid,offerId,offerOwner) = {
351351 let $t01338013450 = idCallerDate(i)
352352 let id = $t01338013450._1
353353 let caller = $t01338013450._2
354354 let date = $t01338013450._3
355355 let saleOwner = getSaleOwnerAndStatus(nftid)
356356 if ((caller != saleOwner))
357357 then throw("You cannot do this action")
358358 else {
359359 let offerExist = getStrByK((((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + offerId) + "_OPEN"))
360360 if ((offerExist == ""))
361361 then throw("Offer not found or not for sale")
362362 else {
363363 let $t01375513813 = checkNFTInfo(nftid)
364364 let isValidNFT = $t01375513813._1
365365 let artId = $t01375513813._2
366366 let creatorAddr = $t01375513813._3
367367 if (!(isValidNFT))
368368 then throw("Something went wrong")
369369 else {
370370 let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"))
371371 if ((size(saleInfo) == 0))
372372 then throw("Sale Not found!")
373373 else {
374374 let bidDataKey = ((((((("offer2nd_" + offerOwner) + "_") + nftid) + "_") + saleOwner) + "_") + offerId)
375375 let $t01414914208 = getBidData(bidDataKey)
376376 let bidDataArr = $t01414914208._1
377377 let assetId = $t01414914208._2
378378 let bidData = $t01414914208._3
379379 let amount = value(parseInt(bidDataArr[1]))
380380 let $t01426214389 = setTransfers(amount, assetId, nftid, creatorAddr, saleOwner, bidDataArr[3])
381381 let signFee = $t01426214389._1
382382 let creatorFee = $t01426214389._2
383383 let ownerFee = $t01426214389._3
384384 let collectorFee = $t01426214389._4
385385 [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]
386386 }
387387 }
388388 }
389389 }
390390 }
391391
392392
393393
394394 @Callable(i)
395395 func cancelOffer (nftid,offerId,saleOwner) = {
396396 let $t01520915270 = idCallerDate(i)
397397 let id = $t01520915270._1
398398 let caller = $t01520915270._2
399399 let date = $t01520915270._3
400400 let bidDataKey = ((((((("offer2nd_" + caller) + "_") + nftid) + "_") + saleOwner) + "_") + offerId)
401401 let $t01535115410 = getBidData(bidDataKey)
402402 let bidDataArr = $t01535115410._1
403403 let assetId = $t01535115410._2
404404 let bidData = $t01535115410._3
405405 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry((((((bidDataKey + "_") + toString(date)) + "_") + id) + "_CANCELLED"), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
406406 }
407407
408408
409409
410410 @Callable(i)
411411 func makeRequest (artId,creatorAddr) = {
412412 let $t01574515789 = idCallerDate(i)
413413 let id = $t01574515789._1
414414 let requestOwner = $t01574515789._2
415415 let date = $t01574515789._3
416416 let $t01579415830 = isPayment(i)
417417 let payment = $t01579415830._1
418418 let amount = $t01579415830._2
419419 let assetId = if (!(isDefined(payment.assetId)))
420420 then "WAVES"
421421 else toBase58String(value(payment.assetId))
422422 if (!(acceptedAssetIds(assetId)))
423423 then throw("asset not accepted")
424424 else {
425425 let isValidART = checkARTExist(artId, creatorAddr)
426426 if (!(isValidART))
427427 then throw("Something went wrong")
428428 else [StringEntry((((((((("request2nd_" + requestOwner) + "_") + creatorAddr) + "_") + artId) + "_") + id) + "_OPEN"), ((((((((((toString(date) + "_") + toString(amount)) + "_") + toBase58String(value(payment.assetId))) + "_") + artId) + "_") + requestOwner) + "_") + id))]
429429 }
430430 }
431431
432432
433433
434434 @Callable(i)
435435 func fillRequest (artId,requestOwner,offerId) = {
436436 let $t01660516647 = idCallerDate(i)
437437 let id = $t01660516647._1
438438 let saleOwner = $t01660516647._2
439439 let date = $t01660516647._3
440440 let $t01665216696 = isPayment(i)
441441 let payment = $t01665216696._1
442442 let amountAttached = $t01665216696._2
443443 let NFTid = if (if (isDefined(payment.assetId))
444444 then isSignArtNFT(value(payment.assetId))
445445 else false)
446446 then payment.assetId
447447 else throw("No NFT found")
448448 let NFTdata = split(getArtStrByK(("nft_" + toBase58String(value(NFTid)))), "_")
449449 if ((size(NFTdata) == 0))
450450 then throw("No NFT found")
451451 else {
452452 let requestData = split(getStrByK((((((((("request2nd_" + requestOwner) + "_") + NFTdata[6]) + "_") + artId) + "_") + offerId) + "_OPEN")), "_")
453453 if ((size(requestData) == 1))
454454 then throw("No request found")
455455 else if ((requestData[3] != NFTdata[5]))
456456 then throw("This NFT don't match the requested artwork")
457457 else {
458458 let amount = value(parseInt(requestData[1]))
459459 let $t01741617591 = setTransfers(amount, fromBase58String(requestData[2]), toBase58String(value(NFTid)), NFTdata[6], saleOwner, requestData[4])
460460 let signFee = $t01741617591._1
461461 let creatorFee = $t01741617591._2
462462 let ownerFee = $t01741617591._3
463463 let collectorFee = $t01741617591._4
464464 [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]
465465 }
466466 }
467467 }
468468
469469
470470
471471 @Callable(i)
472472 func cancelRequest (artId,creatorAddr,requestId) = {
473473 let $t01805118095 = idCallerDate(i)
474474 let id = $t01805118095._1
475475 let requestOwner = $t01805118095._2
476476 let date = $t01805118095._3
477477 let requesDataKey = ((((((("request2nd_" + requestOwner) + "_") + creatorAddr) + "_") + artId) + "_") + requestId)
478478 let requestData = getStrByK((requesDataKey + "_OPEN"))
479479 if ((size(requestData) == 0))
480480 then throw("Request not found")
481481 else {
482482 let requestDataArr = split(requestData, "_")
483483 [DeleteEntry((requesDataKey + "_OPEN")), StringEntry((((((requesDataKey + "_") + toString(date)) + "_") + id) + "_CANCELLED"), ((requestData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(requestOwner)), parseIntValue(requestDataArr[1]), fromBase58String(requestDataArr[2]))]
484484 }
485485 }
486486
487487
488488
489489 @Callable(i)
490490 func deleteEntry (entry) = {
491491 let caller = toString(addressFromPublicKey(i.callerPublicKey))
492492 if ((caller == chris))
493493 then [DeleteEntry(entry)]
494494 else throw("no")
495495 }
496496
497497

github/deemru/w8io/026f985 
74.09 ms