tx · XKmQ7KwQikCTbj1wU2WsgUQyWXfNNQZRMM1cQgQ4ceD

3MvMR8PWP5RmRiJNNXpHmVWvQYL6Gx24p7B:  -0.01000000 Waves

2021.06.23 13:17 [1582888] smart account 3MvMR8PWP5RmRiJNNXpHmVWvQYL6Gx24p7B > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
56.23 ms