tx · CP9TCmzjTYU1i9oRmceCnBQEftv3WBChLyziU4TLaLC8

3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx:  -0.03200000 Waves

2023.05.16 08:33 [2580096] smart account 3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx > SELF 0.00000000 Waves

{ "type": 13, "id": "CP9TCmzjTYU1i9oRmceCnBQEftv3WBChLyziU4TLaLC8", "fee": 3200000, "feeAssetId": null, "timestamp": 1684215402459, "version": 2, "chainId": 84, "sender": "3N85YW6NZ9pLYvSdt1ASMQTGxvncnU1vUNx", "senderPublicKey": "EKZmHJ5bK3qKKgRdq8rAamt9qrDbVMLARzRqXoQW258v", "proofs": [ "4vN2qTibg25sz94WyoHe1JuNPiqQsLEqAwRFXAMpx1KbYvo7nA4CfWWZCm5kBKTx7CB439UEQRwec5yD1pWdDMCx" ], "script": "base64:BgJfCAISDAoKCAgICAgBCAgICBIECgIICBIGCgQICAgIEgMKAQgSBwoFCAgIAQgSBwoFCAgICAISCQoHCAgICAgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIDCgEYEgMKARgMAAlzZXBhcmF0b3ICAV8ABGtCdXkCA2J1eQAGa1ByaWNlAgVwcmljZQAFa1NlbGwCBHNlbGwAEm1heEF1Y3Rpb25EdXJhdGlvbgAeAAV0ZWFtcwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4ABVdBVkVTAQAABGtCaWQCA2JpZAAGcGF1c2VkBgAMc3RhdHVzRm9yTkZUCQCWCgQCBE9QRU4CBkNMT1NFRAIIUkVXQVJERUQCCENBTkNFTEVEAAtkQXBwQWRkcmVzcwEaAVRKuE9s3sLak+30julKNvjVT3+V1VVbXaABBWlzTmZ0AQdhc3NldElkBAckbWF0Y2gwCQDsBwEFB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIFQXNzZXQEBXRva2VuBQckbWF0Y2gwAwMJAAACCAUFdG9rZW4IZGVjaW1hbHMAAAkAAAIIBQV0b2t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QJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUMwAEBQ9yb3lhbGl0eUFtb3VudDIFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNAABBQlsYXN0Q29zdDMFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNAAEBQ9yb3lhbGl0eUFtb3VudDMFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNQABBQlsYXN0Q29zdDQFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNQAEBQ9yb3lhbGl0eUFtb3VudDQFBHVuaXQFA25pbAMJAGYCCQCQAwEFB25mdEluZm8ABQkAAgECLXNvcnJ5ISBtYXhpbXVtIGxpbWl0IG9mIHlvdXIgIGNhcnQgaXMgNSBpdGVtcwUDbmlsAAl84Xk=", "height": 2580096, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hdw3yGCWWe3R7jyWh8ic9NeProZ3dryDidCuCXt5X4FJ Next: FWfYhQY3RNfW8UDE34ndzTmcLRj9QTmxorSdyT8uu78 Diff:
OldNewDifferences
220220
221221
222222 @Callable(p)
223-func manualFundTransfer (aw,ax) = {
224- let ay = p.caller.bytes
225- let az = fromBase58String(aw)
223+func manualFundTransfer (aw) = {
224+ let ax = p.caller.bytes
225+ let ay = fromBase58String(aw)
226226 let O = p.payments[0].amount
227227 if ((p.payments[0].assetId == unit))
228- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), O, unit)]
228+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry((toBase58String(ax) + "_transfer_to"), aw), ScriptTransfer(Address(ay), O, unit)]
229229 else if ((p.payments[0].assetId == f))
230- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), O, f)]
230+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry((toBase58String(ax) + "_transfer_to"), aw), ScriptTransfer(Address(ay), O, f)]
231231 else nil
232232 }
233233
249249 let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
250250 let C = toBase58String(p.transactionId)
251251 let an = fromBase58String(ae)
252- let aA = getStringValue(this, (ac + "_highest_bid"))
253- let aB = getStringValue(this, (ac + "_winner"))
254- let aC = getStringValue(this, (ac + "_nft_id"))
252+ let az = getStringValue(this, (ac + "_highest_bid"))
253+ let aA = getStringValue(this, (ac + "_winner"))
254+ let aB = getStringValue(this, (ac + "_nft_id"))
255255 if ((ae == am))
256- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aC), StringEntry((ac + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), an)]
256+ then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aB), StringEntry((ac + "_bidding_price_refund_amount"), az), ScriptTransfer(p.caller, parseIntValue(az), an)]
257257 else if ((ae == "WAVES"))
258- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aC), StringEntry((ac + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
258+ then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aB), StringEntry((ac + "_bidding_price_refund_amount"), az), ScriptTransfer(p.caller, parseIntValue(az), unit)]
259259 else nil
260260 }
261261
262262
263263
264264 @Callable(p)
265-func buyAllProducts_asimi (aD) = {
266- let aE = p.caller
267- let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
268- let aG = split(aD[0], "_")
269- let aH = split(aD[1], "_")
270- let aI = split(aD[2], "_")
271- let aJ = split(aD[3], "_")
272- let aK = split(aD[4], "_")
265+func buyAllProducts_asimi (aC) = {
266+ let aD = p.caller
267+ let aE = assetBalance(aD, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
268+ let aF = split(aC[0], "_")
269+ let aG = split(aC[1], "_")
270+ let aH = split(aC[2], "_")
271+ let aI = split(aC[3], "_")
272+ let aJ = split(aC[4], "_")
273273 let O = value(p.payments[0].amount)
274- let aL = (O - ((O / 1000) * 25))
275- let aM = (O - aL)
276- let S = ((O / 100) * parseIntValue(aG[3]))
277- let aN = (O - (S + aM))
278- let aO = value(p.payments[1].amount)
279- let aP = (aO - ((aO / 1000) * 25))
280- let aQ = (aO - aP)
281- let aR = ((aO / 100) * parseIntValue(aH[3]))
282- let aS = (aO - (aR + aQ))
283- let aT = value(p.payments[2].amount)
284- let aU = (aT - ((aT / 1000) * 25))
285- let aV = (aT - aU)
286- let aW = ((aT / 100) * parseIntValue(aI[3]))
287- let aX = (aT - (aW + aV))
288- let aY = value(p.payments[3].amount)
289- let aZ = (aY - ((aY / 1000) * 25))
290- let ba = (aY - aZ)
291- let bb = ((aY / 100) * parseIntValue(aJ[3]))
292- let bc = (aY - (bb + ba))
293- let bd = value(p.payments[4].amount)
294- let be = (bd - ((bd / 1000) * 25))
295- let bf = (bd - be)
296- let bg = ((bd / 100) * parseIntValue(aK[3]))
297- let bh = (bd - (bg + bf))
298- if ((O > aF))
274+ let aK = (O - ((O / 1000) * 25))
275+ let aL = (O - aK)
276+ let S = ((O / 100) * parseIntValue(aF[3]))
277+ let aM = (O - (S + aL))
278+ let aN = value(p.payments[1].amount)
279+ let aO = (aN - ((aN / 1000) * 25))
280+ let aP = (aN - aO)
281+ let aQ = ((aN / 100) * parseIntValue(aG[3]))
282+ let aR = (aN - (aQ + aP))
283+ let aS = value(p.payments[2].amount)
284+ let aT = (aS - ((aS / 1000) * 25))
285+ let aU = (aS - aT)
286+ let aV = ((aS / 100) * parseIntValue(aH[3]))
287+ let aW = (aS - (aV + aU))
288+ let aX = value(p.payments[3].amount)
289+ let aY = (aX - ((aX / 1000) * 25))
290+ let aZ = (aX - aY)
291+ let ba = ((aX / 100) * parseIntValue(aI[3]))
292+ let bb = (aX - (ba + aZ))
293+ let bc = value(p.payments[4].amount)
294+ let bd = (bc - ((bc / 1000) * 25))
295+ let be = (bc - bd)
296+ let bf = ((bc / 100) * parseIntValue(aJ[3]))
297+ let bg = (bc - (bf + be))
298+ if ((O > aE))
299299 then throw("Buyer does not have enough funds to complete the purchase.")
300- else if ((size(aD) == 1))
301- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]) + "royalitypercent") + aG[3]), ("buyer" + toString(aE))), StringEntry((("first_nft_Info=" + "seller_address") + aG[1]), ("price" + aG[2])), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
302- else if ((size(aD) == 2))
303- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304- else if ((size(aD) == 3))
305- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306- else if ((size(aD) == 4))
307- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308- else if ((size(aD) == 5))
309- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310- else if ((size(aD) > 5))
300+ else if ((size(aC) == 1))
301+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "creator") + aF[4]) + "royalitypercent") + aF[3]), ("buyer" + toString(aD))), StringEntry((("first_nft_Info=" + "seller_address") + aF[1]), ("price" + aF[2])), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
302+ else if ((size(aC) == 2))
303+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304+ else if ((size(aC) == 3))
305+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306+ else if ((size(aC) == 4))
307+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), ba, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308+ else if ((size(aC) == 5))
309+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(aD, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), ba, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bf, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310+ else if ((size(aC) > 5))
311311 then throw("sorry! maximum limit of your cart is 5 items")
312312 else nil
313313 }
315315
316316
317317 @Callable(p)
318-func buyAllProducts_waves (aD) = {
319- let aE = p.caller
320- let aF = assetBalance(aE, g)
321- let aG = split(aD[0], "_")
322- let aH = split(aD[1], "_")
323- let aI = split(aD[2], "_")
324- let aJ = split(aD[3], "_")
325- let aK = split(aD[4], "_")
318+func buyAllProducts_waves (aC) = {
319+ let aD = p.caller
320+ let aE = assetBalance(aD, g)
321+ let aF = split(aC[0], "_")
322+ let aG = split(aC[1], "_")
323+ let aH = split(aC[2], "_")
324+ let aI = split(aC[3], "_")
325+ let aJ = split(aC[4], "_")
326326 let O = value(p.payments[0].amount)
327- let aL = (O - ((O / 1000) * 25))
328- let aM = (O - aL)
329- let S = ((O / 100) * parseIntValue(aG[3]))
330- let aN = (O - (S + aM))
331- let aO = value(p.payments[1].amount)
332- let aP = (aO - ((aO / 1000) * 25))
333- let aQ = (aO - aP)
334- let aR = ((aO / 100) * parseIntValue(aH[3]))
335- let aS = (aO - (aR + aQ))
336- let aT = value(p.payments[2].amount)
337- let aU = (aT - ((aT / 1000) * 25))
338- let aV = (aT - aU)
339- let aW = ((aT / 100) * parseIntValue(aI[3]))
340- let aX = (aT - (aW + aV))
341- let aY = value(p.payments[3].amount)
342- let aZ = (aY - ((aY / 1000) * 25))
343- let ba = (aY - aZ)
344- let bb = ((aY / 100) * parseIntValue(aJ[3]))
345- let bc = (aY - (bb + ba))
346- let bd = value(p.payments[4].amount)
347- let be = (bd - ((bd / 1000) * 25))
348- let bf = (bd - be)
349- let bg = ((bd / 100) * parseIntValue(aK[3]))
350- let bh = (bd - (bg + bf))
351- if ((O > aF))
327+ let aK = (O - ((O / 1000) * 25))
328+ let aL = (O - aK)
329+ let S = ((O / 100) * parseIntValue(aF[3]))
330+ let aM = (O - (S + aL))
331+ let aN = value(p.payments[1].amount)
332+ let aO = (aN - ((aN / 1000) * 25))
333+ let aP = (aN - aO)
334+ let aQ = ((aN / 100) * parseIntValue(aG[3]))
335+ let aR = (aN - (aQ + aP))
336+ let aS = value(p.payments[2].amount)
337+ let aT = (aS - ((aS / 1000) * 25))
338+ let aU = (aS - aT)
339+ let aV = ((aS / 100) * parseIntValue(aH[3]))
340+ let aW = (aS - (aV + aU))
341+ let aX = value(p.payments[3].amount)
342+ let aY = (aX - ((aX / 1000) * 25))
343+ let aZ = (aX - aY)
344+ let ba = ((aX / 100) * parseIntValue(aI[3]))
345+ let bb = (aX - (ba + aZ))
346+ let bc = value(p.payments[4].amount)
347+ let bd = (bc - ((bc / 1000) * 25))
348+ let be = (bc - bd)
349+ let bf = ((bc / 100) * parseIntValue(aJ[3]))
350+ let bg = (bc - (bf + be))
351+ if ((O > aE))
352352 then throw("Buyer does not have enough funds to complete the purchase.")
353- else if ((size(aD) == 1))
354- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit)]
355- else if ((size(aD) == 2))
356- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit)]
357- else if ((size(aD) == 3))
358- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit)]
359- else if ((size(aD) == 4))
360- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit)]
361- else if ((size(aD) == 5))
362- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bh, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bg, unit)]
363- else if ((size(aD) > 5))
353+ else if ((size(aC) == 1))
354+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit)]
355+ else if ((size(aC) == 2))
356+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit)]
357+ else if ((size(aC) == 3))
358+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit)]
359+ else if ((size(aC) == 4))
360+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit), ScriptTransfer(Address(fromBase58String(aI[1])), bb, unit), ScriptTransfer(Address(fromBase58String(aI[4])), ba, unit)]
361+ else if ((size(aC) == 5))
362+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(aD, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit), ScriptTransfer(Address(fromBase58String(aI[1])), bb, unit), ScriptTransfer(Address(fromBase58String(aI[4])), ba, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bg, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bf, unit)]
363+ else if ((size(aC) > 5))
364364 then throw("sorry! maximum limit of your cart is 5 items")
365365 else nil
366366 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "_"
55
66 let b = "buy"
77
88 let c = "price"
99
1010 let d = "sell"
1111
1212 let e = 30
1313
1414 let f = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
1515
1616 let g = base58''
1717
1818 let h = "bid"
1919
2020 let i = true
2121
2222 let j = $Tuple4("OPEN", "CLOSED", "REWARDED", "CANCELED")
2323
2424 let k = base58'3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq'
2525
2626 func l (m) = {
2727 let n = assetInfo(m)
2828 if ($isInstanceOf(n, "Asset"))
2929 then {
3030 let o = n
3131 if (if ((o.decimals == 0))
3232 then (o.quantity == 1)
3333 else false)
3434 then (o.reissuable == false)
3535 else false
3636 }
3737 else false
3838 }
3939
4040
4141 @Callable(p)
4242 func createNft (q,r,s,t,u,v,w,x,y,z) = {
4343 let A = Issue(q, x, 1, 0, false)
4444 let B = calculateAssetId(A)
4545 let C = p.transactionId
4646 [A, ScriptTransfer(p.caller, 1, B), StringEntry(((toBase58String(B) + a) + "Owner"), toString(p.caller)), StringEntry(((toBase58String(B) + a) + "nft_type"), t), StringEntry(((toBase58String(B) + a) + "nft_tags"), u), StringEntry(((toBase58String(B) + a) + "nft_dAppAddress"), s), StringEntry(((toBase58String(C) + a) + "royalityPercentage"), w), IntegerEntry(((toBase58String(B) + a) + "nft_selling_price"), v), StringEntry(((toBase58String(B) + a) + "nft_onSell"), y), StringEntry(((toBase58String(B) + a) + "nft_data"), z), StringEntry(((toBase58String(C) + a) + "issue_nft"), toBase58String(B))]
4747 }
4848
4949
5050
5151 @Callable(p)
5252 func sellNFT (D,E) = {
5353 let C = p.transactionId
5454 let F = p.caller.bytes
5555 let G = $Tuple2(value(p.payments[0].assetId), value(p.payments[0].amount))
5656 let H = G._1
5757 let I = G._2
5858 if (!(l(H)))
5959 then throw("Token is not NFT")
6060 else [StringEntry(((c + a) + toBase58String(value(p.payments[0].assetId))), D), StringEntry(((toString(p.caller) + a) + d), (((toBase58String(H) + a) + toString(I)) + E))]
6161 }
6262
6363
6464
6565 @Callable(p)
6666 func buyNFT (J,K,L,w) = {
6767 let m = fromBase58String(J)
6868 let M = {
6969 let n = getString(this, (("nft_" + K) + "_owner"))
7070 if ($isInstanceOf(n, "String"))
7171 then {
7272 let N = n
7373 N
7474 }
7575 else false
7676 }
7777 let D = getStringValue(((((c + a) + J) + "_") + K))
7878 let O = value(p.payments[0].amount)
7979 let P = (O - ((O / 1000) * 25))
8080 let Q = (O - P)
8181 let R = w
8282 let S = ((O * parseIntValue(R)) / 100)
8383 let T = (O - (S + Q))
8484 if ((K == toString(p.caller)))
8585 then throw("current Owner of NFT not able to purchase")
8686 else if (if ((p.payments[0].assetId == f))
8787 then (L != K)
8888 else false)
8989 then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), T, f), ScriptTransfer(Address(fromBase58String(L)), S, f), IntegerEntry((("nft_" + J) + "platform_fee"), Q), StringEntry(((toString(p.caller) + a) + b), ((J + a) + toString(O))), DeleteEntry((("nft_" + K) + "_owner")), StringEntry((("nft_" + K) + "_owner"), toString(p.caller)), StringEntry(((J + a) + "_owner"), toString(p.caller))]
9090 else if (if ((p.payments[0].assetId == f))
9191 then (L == K)
9292 else false)
9393 then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), P, f), StringEntry((("nft_" + J) + "platform_fee"), toString(Q)), StringEntry(((toString(p.caller) + a) + b), ((J + a) + toString(O))), DeleteEntry((("nft_" + K) + "_owner")), StringEntry((("nft_" + K) + "_owner"), toString(p.caller)), StringEntry(((J + a) + "_owner"), toString(p.caller))]
9494 else if (if ((p.payments[0].assetId == unit))
9595 then (L != K)
9696 else false)
9797 then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), T, unit), ScriptTransfer(Address(fromBase58String(L)), S, unit), StringEntry((("nft_" + J) + "platform_fee"), toString(Q)), StringEntry(((toString(p.caller) + a) + b), ((J + a) + toString(O))), DeleteEntry((("nft_" + K) + "_owner")), StringEntry((("nft_" + K) + "_owner"), toString(p.caller)), StringEntry(((J + a) + "_owner"), toString(p.caller))]
9898 else if (if ((p.payments[0].assetId == unit))
9999 then (L == K)
100100 else false)
101101 then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), P, unit), StringEntry((("nft_" + J) + "platform_fee"), toString(Q)), StringEntry(((toString(p.caller) + a) + b), ((J + a) + toString(O))), DeleteEntry((("nft_" + K) + "_owner")), StringEntry((("nft_" + K) + "_owner"), toString(p.caller)), StringEntry(((J + a) + "_owner"), toString(p.caller))]
102102 else nil
103103 }
104104
105105
106106
107107 @Callable(p)
108108 func cancelSell (U) = {
109109 let C = toBase58String(p.transactionId)
110110 let F = p.caller.bytes
111111 [StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))]
112112 }
113113
114114
115115
116116 @Callable(p)
117117 func addAuction (V,W,X,Y,E) = {
118118 let C = toBase58String(p.transactionId)
119119 let U = value(p.payments[0].assetId)
120120 let D = value(X)
121121 let Z = (lastBlock.height + Y)
122122 let aa = p.caller.bytes
123123 let ab = {
124124 let n = getString(this, (((toBase58String(U) + a) + "nft_status_") + toBase58String(aa)))
125125 if ($isInstanceOf(n, "String"))
126126 then {
127127 let N = n
128128 true
129129 }
130130 else false
131131 }
132132 if ((ab == true))
133133 then throw("Already in auction list")
134134 else if ((Y > e))
135135 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
136136 else if ((p.payments[0].assetId == unit))
137137 then throw("NFT not attached")
138138 else if ((p.payments[0].assetId == f))
139139 then throw("NFT not attached")
140140 else [StringEntry(((C + "nft_start_auction_date") + toBase58String(aa)), V), StringEntry(((C + "nft_end_auction_date") + toBase58String(aa)), W), StringEntry((C + "_nft_start_price"), X), StringEntry((C + "_nft_owner"), toString(p.caller)), StringEntry((C + "_nft_on_auction"), toBase58String(U)), StringEntry((C + "_previous_bidder"), "none"), StringEntry((C + "_highest_bid"), "0"), StringEntry((C + "_winner_of_nft"), "0"), StringEntry((C + "_bidder_count"), "0"), StringEntry((C + "_nft_status"), "OPEN")]
141141 }
142142
143143
144144
145145 @Callable(p)
146146 func placeBid (ac,U,r,ad,ae) = {
147147 let C = toBase58String(p.transactionId)
148148 let aa = p.caller.bytes
149149 let m = fromBase58String(U)
150150 let af = p.payments[0].assetId
151151 let ag = p.payments[0].amount
152152 let ah = getStringValue(this, (ac + "_highest_bid"))
153153 let ai = getString(this, (ac + "_previous_bidder"))
154154 let aj = getStringValue(this, (ac + "_bidder_count"))
155155 let ak = getStringValue(this, (ac + "_winner_of_nft"))
156156 let ab = getStringValue(this, (ac + "_nft_status"))
157157 if ((ab != "OPEN"))
158158 then throw("Not open for auction")
159159 else if ((parseIntValue(ah) >= ag))
160160 then throw("Bid is less then starting/highest Bid")
161161 else if ((ah == "0"))
162162 then [StringEntry((ac + "_highest_bid"), toString(ag)), StringEntry((ac + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ac + "_bidder_count"), toString((parseIntValue(aj) + 1))), StringEntry((ac + "_nft_id"), toBase58String(m)), StringEntry((ac + "_nft_owner"), r), StringEntry((((C + "_") + ac) + "_highest_bid"), toString(ag)), StringEntry((((C + "_") + ac) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ac) + "_bidder_count"), toString((parseIntValue(aj) + 1))), StringEntry((((C + "_") + ac) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ac) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(aa)), StringEntry((C + "_bid_price_place"), ad), StringEntry((C + "_previous_bid_amount_refund_to_address"), ak), StringEntry((C + "_prevoius_bid_amount_refund"), ah)]
163163 else if ((ah != "0"))
164164 then [ScriptTransfer(Address(fromBase58String(ak)), parseIntValue(ah), af), StringEntry((C + "_previous_bid_amount_refund_to_address"), ak), StringEntry((C + "_prevoius_bid_amount_refund"), ah), StringEntry((ac + "_bidder_count"), toString((parseIntValue(aj) + 1))), StringEntry((ac + "_highest_bid"), toString(ag)), StringEntry((ac + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ac + "_nft_id"), toBase58String(m)), StringEntry((ac + "_nft_owner"), r), StringEntry((((C + "_") + ac) + "_highest_bid"), toString(ag)), StringEntry((((C + "_") + ac) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ac) + "_bidder_count"), toString((parseIntValue(aj) + 1))), StringEntry((((C + "_") + ac) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ac) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(aa)), StringEntry((C + "_bid_price_place"), ad)]
165165 else nil
166166 }
167167
168168
169169
170170 @Callable(p)
171171 func acceptBidOffer (ac,U,al,K,L,w,ae) = {
172172 let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
173173 let C = toBase58String(p.transactionId)
174174 let an = fromBase58String(ae)
175175 let aa = p.caller.bytes
176176 let m = fromBase58String(U)
177177 let ao = getStringValue(this, (ac + "_highest_bid"))
178178 let ap = ((parseIntValue(ao) / 1000) * 975)
179179 let Q = ((parseIntValue(ao) / 1000) * 25)
180180 let S = ((parseIntValue(ao) * parseIntValue(w)) / 100)
181181 let aq = (parseIntValue(ao) - (S + Q))
182182 let ar = getStringValue(this, (ac + "_winner_of_nft"))
183183 if (if ((ae == am))
184184 then (L != K)
185185 else false)
186186 then [ScriptTransfer(Address(aa), aq, an), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), S, an), StringEntry((C + "_amount_paid_to_owner"), ao), StringEntry((C + "_nft_transfer_to"), ar), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ac + "_amount_paid_to_owner"), ao), StringEntry((ac + "_nft_transfer_to"), ar), StringEntry((ac + "_nft_status"), "REWARDED")]
187187 else if (if ((ae == am))
188188 then (L == K)
189189 else false)
190190 then [ScriptTransfer(Address(aa), ap, an), ScriptTransfer(Address(fromBase58String(ar)), 1, m), StringEntry((C + "_amount_paid_to_owner"), ao), StringEntry((C + "_nft_transfer_to"), ar), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ac + "_amount_paid_to_owner"), ao), StringEntry((ac + "_nft_transfer_to"), ar), StringEntry((ac + "_nft_status"), "REWARDED")]
191191 else if (if ((ae == "WAVES"))
192192 then (L != K)
193193 else false)
194194 then [ScriptTransfer(Address(aa), aq, unit), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), S, unit), StringEntry("platform_fee", toString(Q)), StringEntry((C + "_amount_paid_to_owner"), ao), StringEntry((C + "_nft_transfer_to"), ar), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ac + "_amount_paid_to_owner"), ao), StringEntry((ac + "_nft_transfer_to"), ar), StringEntry((ac + "_nft_status"), "REWARDED")]
195195 else if (if ((ae == "WAVES"))
196196 then (L == K)
197197 else false)
198198 then [ScriptTransfer(Address(aa), ap, unit), ScriptTransfer(Address(fromBase58String(ar)), 1, m), StringEntry((C + "_amount_paid_to_owner"), ao), StringEntry((C + "_nft_transfer_to"), ar), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ac + "_amount_paid_to_owner"), ao), StringEntry((ac + "_nft_transfer_to"), ar), StringEntry((ac + "_nft_status"), "REWARDED")]
199199 else nil
200200 }
201201
202202
203203
204204 @Callable(p)
205205 func cancelAuction (ac) = {
206206 let C = toBase58String(p.transactionId)
207207 let aa = p.caller.bytes
208208 let as = getStringValue(this, (ac + "_nft_status"))
209209 let at = getStringValue(this, (ac + "_winner_of_nft"))
210210 let au = getStringValue(this, (ac + "_nft_owner"))
211211 let U = getStringValue(this, (ac + "_nft_on_auction"))
212212 let av = getStringValue(this, (ac + "_highest_bid"))
213213 if ((at == "0"))
214214 then [StringEntry(((C + ac) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
215215 else if ((at != "0"))
216216 then throw("soory you can't cancel it because already auction placed by someone")
217217 else nil
218218 }
219219
220220
221221
222222 @Callable(p)
223-func manualFundTransfer (aw,ax) = {
224- let ay = p.caller.bytes
225- let az = fromBase58String(aw)
223+func manualFundTransfer (aw) = {
224+ let ax = p.caller.bytes
225+ let ay = fromBase58String(aw)
226226 let O = p.payments[0].amount
227227 if ((p.payments[0].assetId == unit))
228- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), O, unit)]
228+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry((toBase58String(ax) + "_transfer_to"), aw), ScriptTransfer(Address(ay), O, unit)]
229229 else if ((p.payments[0].assetId == f))
230- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), O, f)]
230+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry((toBase58String(ax) + "_transfer_to"), aw), ScriptTransfer(Address(ay), O, f)]
231231 else nil
232232 }
233233
234234
235235
236236 @Callable(p)
237237 func nftback (ac) = {
238238 let aa = p.caller.bytes
239239 let U = getStringValue(this, (ac + "_nft_on_auction"))
240240 let au = getStringValue(this, (ac + "_nft_owner"))
241241 [StringEntry((ac + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
242242 }
243243
244244
245245
246246 @Callable(p)
247247 func withdrawMoney (ac,ae) = {
248248 let aa = p.caller.bytes
249249 let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
250250 let C = toBase58String(p.transactionId)
251251 let an = fromBase58String(ae)
252- let aA = getStringValue(this, (ac + "_highest_bid"))
253- let aB = getStringValue(this, (ac + "_winner"))
254- let aC = getStringValue(this, (ac + "_nft_id"))
252+ let az = getStringValue(this, (ac + "_highest_bid"))
253+ let aA = getStringValue(this, (ac + "_winner"))
254+ let aB = getStringValue(this, (ac + "_nft_id"))
255255 if ((ae == am))
256- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aC), StringEntry((ac + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), an)]
256+ then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aB), StringEntry((ac + "_bidding_price_refund_amount"), az), ScriptTransfer(p.caller, parseIntValue(az), an)]
257257 else if ((ae == "WAVES"))
258- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aC), StringEntry((ac + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
258+ then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aB), StringEntry((ac + "_bidding_price_refund_amount"), az), ScriptTransfer(p.caller, parseIntValue(az), unit)]
259259 else nil
260260 }
261261
262262
263263
264264 @Callable(p)
265-func buyAllProducts_asimi (aD) = {
266- let aE = p.caller
267- let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
268- let aG = split(aD[0], "_")
269- let aH = split(aD[1], "_")
270- let aI = split(aD[2], "_")
271- let aJ = split(aD[3], "_")
272- let aK = split(aD[4], "_")
265+func buyAllProducts_asimi (aC) = {
266+ let aD = p.caller
267+ let aE = assetBalance(aD, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
268+ let aF = split(aC[0], "_")
269+ let aG = split(aC[1], "_")
270+ let aH = split(aC[2], "_")
271+ let aI = split(aC[3], "_")
272+ let aJ = split(aC[4], "_")
273273 let O = value(p.payments[0].amount)
274- let aL = (O - ((O / 1000) * 25))
275- let aM = (O - aL)
276- let S = ((O / 100) * parseIntValue(aG[3]))
277- let aN = (O - (S + aM))
278- let aO = value(p.payments[1].amount)
279- let aP = (aO - ((aO / 1000) * 25))
280- let aQ = (aO - aP)
281- let aR = ((aO / 100) * parseIntValue(aH[3]))
282- let aS = (aO - (aR + aQ))
283- let aT = value(p.payments[2].amount)
284- let aU = (aT - ((aT / 1000) * 25))
285- let aV = (aT - aU)
286- let aW = ((aT / 100) * parseIntValue(aI[3]))
287- let aX = (aT - (aW + aV))
288- let aY = value(p.payments[3].amount)
289- let aZ = (aY - ((aY / 1000) * 25))
290- let ba = (aY - aZ)
291- let bb = ((aY / 100) * parseIntValue(aJ[3]))
292- let bc = (aY - (bb + ba))
293- let bd = value(p.payments[4].amount)
294- let be = (bd - ((bd / 1000) * 25))
295- let bf = (bd - be)
296- let bg = ((bd / 100) * parseIntValue(aK[3]))
297- let bh = (bd - (bg + bf))
298- if ((O > aF))
274+ let aK = (O - ((O / 1000) * 25))
275+ let aL = (O - aK)
276+ let S = ((O / 100) * parseIntValue(aF[3]))
277+ let aM = (O - (S + aL))
278+ let aN = value(p.payments[1].amount)
279+ let aO = (aN - ((aN / 1000) * 25))
280+ let aP = (aN - aO)
281+ let aQ = ((aN / 100) * parseIntValue(aG[3]))
282+ let aR = (aN - (aQ + aP))
283+ let aS = value(p.payments[2].amount)
284+ let aT = (aS - ((aS / 1000) * 25))
285+ let aU = (aS - aT)
286+ let aV = ((aS / 100) * parseIntValue(aH[3]))
287+ let aW = (aS - (aV + aU))
288+ let aX = value(p.payments[3].amount)
289+ let aY = (aX - ((aX / 1000) * 25))
290+ let aZ = (aX - aY)
291+ let ba = ((aX / 100) * parseIntValue(aI[3]))
292+ let bb = (aX - (ba + aZ))
293+ let bc = value(p.payments[4].amount)
294+ let bd = (bc - ((bc / 1000) * 25))
295+ let be = (bc - bd)
296+ let bf = ((bc / 100) * parseIntValue(aJ[3]))
297+ let bg = (bc - (bf + be))
298+ if ((O > aE))
299299 then throw("Buyer does not have enough funds to complete the purchase.")
300- else if ((size(aD) == 1))
301- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]) + "royalitypercent") + aG[3]), ("buyer" + toString(aE))), StringEntry((("first_nft_Info=" + "seller_address") + aG[1]), ("price" + aG[2])), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
302- else if ((size(aD) == 2))
303- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304- else if ((size(aD) == 3))
305- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306- else if ((size(aD) == 4))
307- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308- else if ((size(aD) == 5))
309- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), bh, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310- else if ((size(aD) > 5))
300+ else if ((size(aC) == 1))
301+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "creator") + aF[4]) + "royalitypercent") + aF[3]), ("buyer" + toString(aD))), StringEntry((("first_nft_Info=" + "seller_address") + aF[1]), ("price" + aF[2])), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
302+ else if ((size(aC) == 2))
303+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304+ else if ((size(aC) == 3))
305+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306+ else if ((size(aC) == 4))
307+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), ba, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308+ else if ((size(aC) == 5))
309+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(aD, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aF[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[1])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aV, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), ba, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bf, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310+ else if ((size(aC) > 5))
311311 then throw("sorry! maximum limit of your cart is 5 items")
312312 else nil
313313 }
314314
315315
316316
317317 @Callable(p)
318-func buyAllProducts_waves (aD) = {
319- let aE = p.caller
320- let aF = assetBalance(aE, g)
321- let aG = split(aD[0], "_")
322- let aH = split(aD[1], "_")
323- let aI = split(aD[2], "_")
324- let aJ = split(aD[3], "_")
325- let aK = split(aD[4], "_")
318+func buyAllProducts_waves (aC) = {
319+ let aD = p.caller
320+ let aE = assetBalance(aD, g)
321+ let aF = split(aC[0], "_")
322+ let aG = split(aC[1], "_")
323+ let aH = split(aC[2], "_")
324+ let aI = split(aC[3], "_")
325+ let aJ = split(aC[4], "_")
326326 let O = value(p.payments[0].amount)
327- let aL = (O - ((O / 1000) * 25))
328- let aM = (O - aL)
329- let S = ((O / 100) * parseIntValue(aG[3]))
330- let aN = (O - (S + aM))
331- let aO = value(p.payments[1].amount)
332- let aP = (aO - ((aO / 1000) * 25))
333- let aQ = (aO - aP)
334- let aR = ((aO / 100) * parseIntValue(aH[3]))
335- let aS = (aO - (aR + aQ))
336- let aT = value(p.payments[2].amount)
337- let aU = (aT - ((aT / 1000) * 25))
338- let aV = (aT - aU)
339- let aW = ((aT / 100) * parseIntValue(aI[3]))
340- let aX = (aT - (aW + aV))
341- let aY = value(p.payments[3].amount)
342- let aZ = (aY - ((aY / 1000) * 25))
343- let ba = (aY - aZ)
344- let bb = ((aY / 100) * parseIntValue(aJ[3]))
345- let bc = (aY - (bb + ba))
346- let bd = value(p.payments[4].amount)
347- let be = (bd - ((bd / 1000) * 25))
348- let bf = (bd - be)
349- let bg = ((bd / 100) * parseIntValue(aK[3]))
350- let bh = (bd - (bg + bf))
351- if ((O > aF))
327+ let aK = (O - ((O / 1000) * 25))
328+ let aL = (O - aK)
329+ let S = ((O / 100) * parseIntValue(aF[3]))
330+ let aM = (O - (S + aL))
331+ let aN = value(p.payments[1].amount)
332+ let aO = (aN - ((aN / 1000) * 25))
333+ let aP = (aN - aO)
334+ let aQ = ((aN / 100) * parseIntValue(aG[3]))
335+ let aR = (aN - (aQ + aP))
336+ let aS = value(p.payments[2].amount)
337+ let aT = (aS - ((aS / 1000) * 25))
338+ let aU = (aS - aT)
339+ let aV = ((aS / 100) * parseIntValue(aH[3]))
340+ let aW = (aS - (aV + aU))
341+ let aX = value(p.payments[3].amount)
342+ let aY = (aX - ((aX / 1000) * 25))
343+ let aZ = (aX - aY)
344+ let ba = ((aX / 100) * parseIntValue(aI[3]))
345+ let bb = (aX - (ba + aZ))
346+ let bc = value(p.payments[4].amount)
347+ let bd = (bc - ((bc / 1000) * 25))
348+ let be = (bc - bd)
349+ let bf = ((bc / 100) * parseIntValue(aJ[3]))
350+ let bg = (bc - (bf + be))
351+ if ((O > aE))
352352 then throw("Buyer does not have enough funds to complete the purchase.")
353- else if ((size(aD) == 1))
354- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit)]
355- else if ((size(aD) == 2))
356- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit)]
357- else if ((size(aD) == 3))
358- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit)]
359- else if ((size(aD) == 4))
360- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit)]
361- else if ((size(aD) == 5))
362- then [StringEntry((((((("first_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aE))), StringEntry((((((("second_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aE))), StringEntry((((((("third_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aE))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aE))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aE))), ScriptTransfer(aE, 1, fromBase58String(aG[0])), ScriptTransfer(aE, 1, fromBase58String(aH[0])), ScriptTransfer(aE, 1, fromBase58String(aI[0])), ScriptTransfer(aE, 1, fromBase58String(aJ[0])), ScriptTransfer(aE, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aG[1])), aN, unit), ScriptTransfer(Address(fromBase58String(aG[4])), S, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aS, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aR, unit), ScriptTransfer(Address(fromBase58String(aI[1])), aX, unit), ScriptTransfer(Address(fromBase58String(aI[4])), aW, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bc, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, unit), ScriptTransfer(Address(fromBase58String(aK[1])), bh, unit), ScriptTransfer(Address(fromBase58String(aK[4])), bg, unit)]
363- else if ((size(aD) > 5))
353+ else if ((size(aC) == 1))
354+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit)]
355+ else if ((size(aC) == 2))
356+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit)]
357+ else if ((size(aC) == 3))
358+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit)]
359+ else if ((size(aC) == 4))
360+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit), ScriptTransfer(Address(fromBase58String(aI[1])), bb, unit), ScriptTransfer(Address(fromBase58String(aI[4])), ba, unit)]
361+ else if ((size(aC) == 5))
362+ then [StringEntry((((((("first_nft_Info=" + "nftId") + aF[0]) + "seller_address") + aF[1]) + "price") + aF[2]), ("buyer" + toString(aD))), StringEntry((((((("second_nft_Info=" + "nftId") + aG[0]) + "seller_address") + aG[1]) + "price") + aG[2]), ("buyer" + toString(aD))), StringEntry((((((("third_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aD))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aD))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aD))), ScriptTransfer(aD, 1, fromBase58String(aF[0])), ScriptTransfer(aD, 1, fromBase58String(aG[0])), ScriptTransfer(aD, 1, fromBase58String(aH[0])), ScriptTransfer(aD, 1, fromBase58String(aI[0])), ScriptTransfer(aD, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aF[1])), aM, unit), ScriptTransfer(Address(fromBase58String(aF[4])), S, unit), ScriptTransfer(Address(fromBase58String(aG[1])), aR, unit), ScriptTransfer(Address(fromBase58String(aG[4])), aQ, unit), ScriptTransfer(Address(fromBase58String(aH[1])), aW, unit), ScriptTransfer(Address(fromBase58String(aH[4])), aV, unit), ScriptTransfer(Address(fromBase58String(aI[1])), bb, unit), ScriptTransfer(Address(fromBase58String(aI[4])), ba, unit), ScriptTransfer(Address(fromBase58String(aJ[1])), bg, unit), ScriptTransfer(Address(fromBase58String(aJ[4])), bf, unit)]
363+ else if ((size(aC) > 5))
364364 then throw("sorry! maximum limit of your cart is 5 items")
365365 else nil
366366 }
367367
368368

github/deemru/w8io/169f3d6 
289.98 ms