tx · 2HgSeJjzMaUCBk1bQ95irCYDxmMh1xMwZSKCADEJcvTU

3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7:  -0.01400000 Waves

2021.05.14 15:11 [1525332] smart account 3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7 > SELF 0.00000000 Waves

{ "type": 13, "id": "2HgSeJjzMaUCBk1bQ95irCYDxmMh1xMwZSKCADEJcvTU", "fee": 1400000, "feeAssetId": null, "timestamp": 1620994340239, "version": 2, "chainId": 84, "sender": "3MzraJ5pf2N2RkzE3MG7JceLNmXCXV8Z5V7", "senderPublicKey": "ERi6XSXhPVHxXNjViF4BLWBiUjTBzMhwtR1Yn6J23YEd", "proofs": [ "3Kni6pKuxPqisyaVnMrnpGzFL7dERYZxVzRNkHpMUFdHQcn3E2Pq53wqFt3NwD2RcWEENSHWrqV7fNNaXtqdEZoE" ], "script": "base64:AAIEAAAAAAAAAC4IAhIECgIBCBIDCgEIEgMKAQgSAwoBCBIFCgMICAgSBAoCCAgSAwoBCBIDCgEIAAAAJAAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAxhcnR3b3Jrc0RhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05CeW5mYlhDMkthc3RVeGh1a2NNVWFFNThLOWNCZEI5VVkAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRX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icationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HtUhPcBXzWTXu1haWAzHmsKHedep3L6czuwXYSXh6Hkd Next: GfvbrGRsDYyXsw3zJPTo563M2oQsTGH5ju8C2FN3a5v2 Diff:
OldNewDifferences
138138
139139 func checkNFTInfo (assetId) = {
140140 let nftData = split(getArtStrByK(keyNFTData(toBase58String(value(assetId)))), "_")
141- if (true)
142- then throw("no erro yet")
143- else {
144- let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
145- if ((size(artSignID) == 0))
146- then throw("Artwork not found on SIGN Art")
147- else {
148- let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5]))
149- if (if ((artStatus == artIllegal))
150- then true
151- else (artStatus == artSuspended))
152- then throw(("Original Artwork flagged as " + artStatus))
153- else {
154- let artistStatus = getUserStrByK(keyUserStatus(nftData[6]))
155- if (containsElement([userSuspended, userRemoved], artistStatus))
156- then throw(("Original Artist " + artistStatus))
157- else $Tuple2(true, nftData[6])
158- }
159- }
160- }
141+ let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
142+ if ((size(artSignID) == 0))
143+ then throw("Artwork not found on SIGN Art")
144+ else if (true)
145+ then throw("no erro yet")
146+ else {
147+ let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5]))
148+ if (if ((artStatus == artIllegal))
149+ then true
150+ else (artStatus == artSuspended))
151+ then throw(("Original Artwork flagged as " + artStatus))
152+ else {
153+ let artistStatus = getUserStrByK(keyUserStatus(nftData[6]))
154+ if (containsElement([userSuspended, userRemoved], artistStatus))
155+ then throw(("Original Artist " + artistStatus))
156+ else $Tuple2(true, nftData[6])
157+ }
158+ }
161159 }
162160
163161
164162 @Callable(i)
165163 func sellNFT (price,asset) = {
166- let $t059946033 = idCallerDate(i)
167- let id = $t059946033._1
168- let caller = $t059946033._2
169- let date = $t059946033._3
170- let $t060386074 = isPayment(i)
171- let payment = $t060386074._1
172- let amount = $t060386074._2
164+ let $t060006039 = idCallerDate(i)
165+ let id = $t060006039._1
166+ let caller = $t060006039._2
167+ let date = $t060006039._3
168+ let $t060446080 = isPayment(i)
169+ let payment = $t060446080._1
170+ let amount = $t060446080._2
173171 let assetId = if (if (isDefined(payment.assetId))
174172 then isSignArtNFT(value(payment.assetId))
175173 else false)
178176 if (!(acceptedAssetIds(asset)))
179177 then throw("Only SIGN, USDN or WAVES accepted")
180178 else {
181- let $t063046357 = checkNFTInfo(assetId)
182- let isValidNFT = $t063046357._1
183- let creatorAddr = $t063046357._2
179+ let $t063106363 = checkNFTInfo(assetId)
180+ let isValidNFT = $t063106363._1
181+ let creatorAddr = $t063106363._2
184182 if (!(isValidNFT))
185183 then throw("Something went wrong")
186184 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)]
191189
192190 @Callable(i)
193191 func cancelSale (nftid) = {
194- let $t070337072 = idCallerDate(i)
195- let id = $t070337072._1
196- let caller = $t070337072._2
197- let date = $t070337072._3
192+ let $t070397078 = idCallerDate(i)
193+ let id = $t070397078._1
194+ let caller = $t070397078._2
195+ let date = $t070397078._3
198196 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
199197 if ((saleOwner != caller))
200198 then throw("You don't own this NFT")
214212
215213 @Callable(i)
216214 func buyNFT (nftid) = {
217- let $t082098280 = idCallerDate(i)
218- let id = $t082098280._1
219- let caller = $t082098280._2
220- let date = $t082098280._3
215+ let $t082158286 = idCallerDate(i)
216+ let id = $t082158286._1
217+ let caller = $t082158286._2
218+ let date = $t082158286._3
221219 let saleOwner = getSaleOwnerAndStatus(nftid)
222- let $t083358395 = checkNFTInfo(toBytes(nftid))
223- let isValidNFT = $t083358395._1
224- let creatorAddr = $t083358395._2
220+ let $t083418401 = checkNFTInfo(toBytes(nftid))
221+ let isValidNFT = $t083418401._1
222+ let creatorAddr = $t083418401._2
225223 if (!(isValidNFT))
226224 then throw("Something went wrong")
227225 else {
230228 then throw("Sale Not found!")
231229 else {
232230 let saleInfoArray = split(saleInfo, "_")
233- let $t086598695 = isPayment(i)
234- let payment = $t086598695._1
235- let amount = $t086598695._2
231+ let $t086658701 = isPayment(i)
232+ let payment = $t086658701._1
233+ let amount = $t086658701._2
236234 if (if ((saleInfoArray[1] != toString(amount)))
237235 then true
238236 else (saleInfoArray[2] != toBase58String(value(payment.assetId))))
251249
252250 @Callable(i)
253251 func setOffer (nftid) = {
254- let $t01014210180 = idCallerDate(i)
255- let id = $t01014210180._1
256- let caller = $t01014210180._2
257- let date = $t01014210180._3
258- let $t01018510221 = isPayment(i)
259- let payment = $t01018510221._1
260- let amount = $t01018510221._2
252+ let $t01014810186 = idCallerDate(i)
253+ let id = $t01014810186._1
254+ let caller = $t01014810186._2
255+ let date = $t01014810186._3
256+ let $t01019110227 = isPayment(i)
257+ let payment = $t01019110227._1
258+ let amount = $t01019110227._2
261259 let assetId = if (!(isDefined(payment.assetId)))
262260 then "WAVES"
263261 else toBase58String(value(payment.assetId))
273271
274272 @Callable(i)
275273 func acceptOffer (nftid,offerId,offerOwner) = {
276- let $t01093111005 = idCallerDate(i)
277- let id = $t01093111005._1
278- let caller = $t01093111005._2
279- let date = $t01093111005._3
274+ let $t01093711011 = idCallerDate(i)
275+ let id = $t01093711011._1
276+ let caller = $t01093711011._2
277+ let date = $t01093711011._3
280278 let saleOwner = getSaleOwnerAndStatus(nftid)
281279 if ((caller != saleOwner))
282280 then throw("You cannot do this action")
285283 if ((offerExist == ""))
286284 then throw("Offer not found or not for sale")
287285 else {
288- let $t01131011370 = checkNFTInfo(toBytes(nftid))
289- let isValidNFT = $t01131011370._1
290- let creatorAddr = $t01131011370._2
286+ let $t01131611376 = checkNFTInfo(toBytes(nftid))
287+ let isValidNFT = $t01131611376._1
288+ let creatorAddr = $t01131611376._2
291289 if (!(isValidNFT))
292290 then throw("Something went wrong")
293291 else {
296294 then throw("Sale Not found!")
297295 else {
298296 let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId)
299- let $t01176411823 = getBidData(bidDataKey)
300- let bidDataArr = $t01176411823._1
301- let assetId = $t01176411823._2
302- let bidData = $t01176411823._3
297+ let $t01177011829 = getBidData(bidDataKey)
298+ let bidDataArr = $t01177011829._1
299+ let assetId = $t01177011829._2
300+ let bidData = $t01177011829._3
303301 let amount = value(parseInt(bidDataArr[1]))
304302 let amountForSign = fraction(amount, signCut, 100)
305303 let amountForCreator = fraction(amount, creatorCut, 100)
315313
316314 @Callable(i)
317315 func cancelOffer (nftid,offerId) = {
318- let $t01317513405 = idCallerDate(i)
319- let id = $t01317513405._1
320- let caller = $t01317513405._2
321- let date = $t01317513405._3
316+ let $t01318113411 = idCallerDate(i)
317+ let id = $t01318113411._1
318+ let caller = $t01318113411._2
319+ let date = $t01318113411._3
322320 let saleOwner = getSaleOwnerAndStatus(nftid)
323321 let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId)
324- let $t01354113641 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId))
325- let bidDataArr = $t01354113641._1
326- let assetId = $t01354113641._2
327- let bidData = $t01354113641._3
322+ let $t01354713647 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId))
323+ let bidDataArr = $t01354713647._1
324+ let assetId = $t01354713647._2
325+ let bidData = $t01354713647._3
328326 let bidStatus = "CANCELLED"
329327 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
330328 }
333331
334332 @Callable(i)
335333 func setRequest (nftid) = {
336- let $t01424514283 = idCallerDate(i)
337- let id = $t01424514283._1
338- let caller = $t01424514283._2
339- let date = $t01424514283._3
340- let $t01428814324 = isPayment(i)
341- let payment = $t01428814324._1
342- let amount = $t01428814324._2
334+ let $t01425114289 = idCallerDate(i)
335+ let id = $t01425114289._1
336+ let caller = $t01425114289._2
337+ let date = $t01425114289._3
338+ let $t01429414330 = isPayment(i)
339+ let payment = $t01429414330._1
340+ let amount = $t01429414330._2
343341 let assetId = if (!(isDefined(payment.assetId)))
344342 then "WAVES"
345343 else toBase58String(value(payment.assetId))
346344 if (!(acceptedAssetIds(assetId)))
347345 then throw("asset not accepted")
348346 else {
349- let $t01454514605 = checkNFTInfo(toBytes(nftid))
350- let isValidNFT = $t01454514605._1
351- let creatorAddr = $t01454514605._2
347+ let $t01455114611 = checkNFTInfo(toBytes(nftid))
348+ let isValidNFT = $t01455114611._1
349+ let creatorAddr = $t01455114611._2
352350 if (!(isValidNFT))
353351 then throw("Something went wrong")
354352 else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))]
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 ((saleOwner == "none"))
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[0])
134134 $Tuple3(bidDataArr, assetId, bidData)
135135 }
136136 }
137137
138138
139139 func checkNFTInfo (assetId) = {
140140 let nftData = split(getArtStrByK(keyNFTData(toBase58String(value(assetId)))), "_")
141- if (true)
142- then throw("no erro yet")
143- else {
144- let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
145- if ((size(artSignID) == 0))
146- then throw("Artwork not found on SIGN Art")
147- else {
148- let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5]))
149- if (if ((artStatus == artIllegal))
150- then true
151- else (artStatus == artSuspended))
152- then throw(("Original Artwork flagged as " + artStatus))
153- else {
154- let artistStatus = getUserStrByK(keyUserStatus(nftData[6]))
155- if (containsElement([userSuspended, userRemoved], artistStatus))
156- then throw(("Original Artist " + artistStatus))
157- else $Tuple2(true, nftData[6])
158- }
159- }
160- }
141+ let artSignID = getArtStrByK(keySignID(nftData[6], nftData[5]))
142+ if ((size(artSignID) == 0))
143+ then throw("Artwork not found on SIGN Art")
144+ else if (true)
145+ then throw("no erro yet")
146+ else {
147+ let artStatus = getArtStrByK(keyFlag(nftData[6], nftData[5]))
148+ if (if ((artStatus == artIllegal))
149+ then true
150+ else (artStatus == artSuspended))
151+ then throw(("Original Artwork flagged as " + artStatus))
152+ else {
153+ let artistStatus = getUserStrByK(keyUserStatus(nftData[6]))
154+ if (containsElement([userSuspended, userRemoved], artistStatus))
155+ then throw(("Original Artist " + artistStatus))
156+ else $Tuple2(true, nftData[6])
157+ }
158+ }
161159 }
162160
163161
164162 @Callable(i)
165163 func sellNFT (price,asset) = {
166- let $t059946033 = idCallerDate(i)
167- let id = $t059946033._1
168- let caller = $t059946033._2
169- let date = $t059946033._3
170- let $t060386074 = isPayment(i)
171- let payment = $t060386074._1
172- let amount = $t060386074._2
164+ let $t060006039 = idCallerDate(i)
165+ let id = $t060006039._1
166+ let caller = $t060006039._2
167+ let date = $t060006039._3
168+ let $t060446080 = isPayment(i)
169+ let payment = $t060446080._1
170+ let amount = $t060446080._2
173171 let assetId = if (if (isDefined(payment.assetId))
174172 then isSignArtNFT(value(payment.assetId))
175173 else false)
176174 then payment.assetId
177175 else throw("No NFT found")
178176 if (!(acceptedAssetIds(asset)))
179177 then throw("Only SIGN, USDN or WAVES accepted")
180178 else {
181- let $t063046357 = checkNFTInfo(assetId)
182- let isValidNFT = $t063046357._1
183- let creatorAddr = $t063046357._2
179+ let $t063106363 = checkNFTInfo(assetId)
180+ let isValidNFT = $t063106363._1
181+ let creatorAddr = $t063106363._2
184182 if (!(isValidNFT))
185183 then throw("Something went wrong")
186184 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)]
187185 }
188186 }
189187
190188
191189
192190 @Callable(i)
193191 func cancelSale (nftid) = {
194- let $t070337072 = idCallerDate(i)
195- let id = $t070337072._1
196- let caller = $t070337072._2
197- let date = $t070337072._3
192+ let $t070397078 = idCallerDate(i)
193+ let id = $t070397078._1
194+ let caller = $t070397078._2
195+ let date = $t070397078._3
198196 let saleOwner = getStrByK(("current_owner_on_dapp_" + nftid))
199197 if ((saleOwner != caller))
200198 then throw("You don't own this NFT")
201199 else {
202200 let saleStatus = getStrByK(((("sale2nd_status_" + caller) + "_") + nftid))
203201 if ((saleStatus != "OPEN"))
204202 then throw("Sale not active")
205203 else {
206204 let creatorAddr = split(getArtStrByK(keyNFTData(nftid)), "_")[6]
207205 let saleInfo = getStrByK(((((((("sale2nd_info_" + caller) + "_") + nftid) + "_") + creatorAddr) + "_") + saleStatus))
208206 [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))]
209207 }
210208 }
211209 }
212210
213211
214212
215213 @Callable(i)
216214 func buyNFT (nftid) = {
217- let $t082098280 = idCallerDate(i)
218- let id = $t082098280._1
219- let caller = $t082098280._2
220- let date = $t082098280._3
215+ let $t082158286 = idCallerDate(i)
216+ let id = $t082158286._1
217+ let caller = $t082158286._2
218+ let date = $t082158286._3
221219 let saleOwner = getSaleOwnerAndStatus(nftid)
222- let $t083358395 = checkNFTInfo(toBytes(nftid))
223- let isValidNFT = $t083358395._1
224- let creatorAddr = $t083358395._2
220+ let $t083418401 = checkNFTInfo(toBytes(nftid))
221+ let isValidNFT = $t083418401._1
222+ let creatorAddr = $t083418401._2
225223 if (!(isValidNFT))
226224 then throw("Something went wrong")
227225 else {
228226 let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"))
229227 if ((size(saleInfo) == 0))
230228 then throw("Sale Not found!")
231229 else {
232230 let saleInfoArray = split(saleInfo, "_")
233- let $t086598695 = isPayment(i)
234- let payment = $t086598695._1
235- let amount = $t086598695._2
231+ let $t086658701 = isPayment(i)
232+ let payment = $t086658701._1
233+ let amount = $t086658701._2
236234 if (if ((saleInfoArray[1] != toString(amount)))
237235 then true
238236 else (saleInfoArray[2] != toBase58String(value(payment.assetId))))
239237 then throw("Payment infos don't match.")
240238 else {
241239 let amountForSign = fraction(amount, signCut, 100)
242240 let amountForCreator = fraction(amount, creatorCut, 100)
243241 let amountForOwner = (amount - (amountForSign + amountForCreator))
244242 [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))]
245243 }
246244 }
247245 }
248246 }
249247
250248
251249
252250 @Callable(i)
253251 func setOffer (nftid) = {
254- let $t01014210180 = idCallerDate(i)
255- let id = $t01014210180._1
256- let caller = $t01014210180._2
257- let date = $t01014210180._3
258- let $t01018510221 = isPayment(i)
259- let payment = $t01018510221._1
260- let amount = $t01018510221._2
252+ let $t01014810186 = idCallerDate(i)
253+ let id = $t01014810186._1
254+ let caller = $t01014810186._2
255+ let date = $t01014810186._3
256+ let $t01019110227 = isPayment(i)
257+ let payment = $t01019110227._1
258+ let amount = $t01019110227._2
261259 let assetId = if (!(isDefined(payment.assetId)))
262260 then "WAVES"
263261 else toBase58String(value(payment.assetId))
264262 if (!(acceptedAssetIds(assetId)))
265263 then throw("asset not accepted")
266264 else {
267265 let saleOwner = getSaleOwnerAndStatus(nftid)
268266 [StringEntry((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))]
269267 }
270268 }
271269
272270
273271
274272 @Callable(i)
275273 func acceptOffer (nftid,offerId,offerOwner) = {
276- let $t01093111005 = idCallerDate(i)
277- let id = $t01093111005._1
278- let caller = $t01093111005._2
279- let date = $t01093111005._3
274+ let $t01093711011 = idCallerDate(i)
275+ let id = $t01093711011._1
276+ let caller = $t01093711011._2
277+ let date = $t01093711011._3
280278 let saleOwner = getSaleOwnerAndStatus(nftid)
281279 if ((caller != saleOwner))
282280 then throw("You cannot do this action")
283281 else {
284282 let offerExist = getStrByK((((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId) + "_OPEN"))
285283 if ((offerExist == ""))
286284 then throw("Offer not found or not for sale")
287285 else {
288- let $t01131011370 = checkNFTInfo(toBytes(nftid))
289- let isValidNFT = $t01131011370._1
290- let creatorAddr = $t01131011370._2
286+ let $t01131611376 = checkNFTInfo(toBytes(nftid))
287+ let isValidNFT = $t01131611376._1
288+ let creatorAddr = $t01131611376._2
291289 if (!(isValidNFT))
292290 then throw("Something went wrong")
293291 else {
294292 let saleInfo = getStrByK((((((("sale2nd_info_" + saleOwner) + "_") + nftid) + "_") + creatorAddr) + "_OPEN"))
295293 if ((size(saleInfo) == 0))
296294 then throw("Sale Not found!")
297295 else {
298296 let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + offerOwner) + "_") + offerId)
299- let $t01176411823 = getBidData(bidDataKey)
300- let bidDataArr = $t01176411823._1
301- let assetId = $t01176411823._2
302- let bidData = $t01176411823._3
297+ let $t01177011829 = getBidData(bidDataKey)
298+ let bidDataArr = $t01177011829._1
299+ let assetId = $t01177011829._2
300+ let bidData = $t01177011829._3
303301 let amount = value(parseInt(bidDataArr[1]))
304302 let amountForSign = fraction(amount, signCut, 100)
305303 let amountForCreator = fraction(amount, creatorCut, 100)
306304 let amountForOwner = (amount - (amountForSign + amountForCreator))
307305 [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))]
308306 }
309307 }
310308 }
311309 }
312310 }
313311
314312
315313
316314 @Callable(i)
317315 func cancelOffer (nftid,offerId) = {
318- let $t01317513405 = idCallerDate(i)
319- let id = $t01317513405._1
320- let caller = $t01317513405._2
321- let date = $t01317513405._3
316+ let $t01318113411 = idCallerDate(i)
317+ let id = $t01318113411._1
318+ let caller = $t01318113411._2
319+ let date = $t01318113411._3
322320 let saleOwner = getSaleOwnerAndStatus(nftid)
323321 let bidDataKey = ((((((("offer2nd_" + saleOwner) + "_") + nftid) + "_") + caller) + "_") + offerId)
324- let $t01354113641 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId))
325- let bidDataArr = $t01354113641._1
326- let assetId = $t01354113641._2
327- let bidData = $t01354113641._3
322+ let $t01354713647 = getBidData(((((((("offer_" + nftid) + "_") + saleOwner) + "_") + caller) + "_") + offerId))
323+ let bidDataArr = $t01354713647._1
324+ let assetId = $t01354713647._2
325+ let bidData = $t01354713647._3
328326 let bidStatus = "CANCELLED"
329327 [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), ScriptTransfer(Address(fromBase58String(caller)), parseIntValue(bidDataArr[1]), assetId)]
330328 }
331329
332330
333331
334332 @Callable(i)
335333 func setRequest (nftid) = {
336- let $t01424514283 = idCallerDate(i)
337- let id = $t01424514283._1
338- let caller = $t01424514283._2
339- let date = $t01424514283._3
340- let $t01428814324 = isPayment(i)
341- let payment = $t01428814324._1
342- let amount = $t01428814324._2
334+ let $t01425114289 = idCallerDate(i)
335+ let id = $t01425114289._1
336+ let caller = $t01425114289._2
337+ let date = $t01425114289._3
338+ let $t01429414330 = isPayment(i)
339+ let payment = $t01429414330._1
340+ let amount = $t01429414330._2
343341 let assetId = if (!(isDefined(payment.assetId)))
344342 then "WAVES"
345343 else toBase58String(value(payment.assetId))
346344 if (!(acceptedAssetIds(assetId)))
347345 then throw("asset not accepted")
348346 else {
349- let $t01454514605 = checkNFTInfo(toBytes(nftid))
350- let isValidNFT = $t01454514605._1
351- let creatorAddr = $t01454514605._2
347+ let $t01455114611 = checkNFTInfo(toBytes(nftid))
348+ let isValidNFT = $t01455114611._1
349+ let creatorAddr = $t01455114611._2
352350 if (!(isValidNFT))
353351 then throw("Something went wrong")
354352 else [StringEntry((((((("request2nd_" + nftid) + "_") + caller) + "_") + id) + "_OPEN"), ((((((((assetId + "_") + toString(amount)) + "_") + toString(date)) + "_") + caller) + "_") + id))]
355353 }
356354 }
357355
358356
359357
360358 @Callable(i)
361359 func deleteEntry (entry) = {
362360 let caller = toString(addressFromPublicKey(i.callerPublicKey))
363361 if ((caller == chris))
364362 then [DeleteEntry(entry)]
365363 else throw("no")
366364 }
367365
368366

github/deemru/w8io/026f985 
71.26 ms