tx · ATbZFVufrXAV62T8BbGqFZfdp2rA5CktDcQnxpvgzdXJ

3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx:  -0.02500000 Waves

2023.04.20 08:55 [2542475] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves

{ "type": 13, "id": "ATbZFVufrXAV62T8BbGqFZfdp2rA5CktDcQnxpvgzdXJ", "fee": 2500000, "feeAssetId": null, "timestamp": 1681970287217, "version": 2, "chainId": 84, "sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx", "senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx", "proofs": [ "5sQspB9PTCXH6dnNXn84z7GaMo5FiX7k6GyKzYeTUowW5o8qB7HPbnjGhgprkt6nPBmvxpFPQ8Bw1ejFyQptG8LH" ], "script": "base64:BgJaCAISDAoKCAgICAgBCAgICBIECgIICBIGCgQICAgIEgMKAQgSBwoFCAgIAQgSBwoFCAgICAISCAoGCAgICAgIEgMKAQgSBAoCCAgSAwoBCBIECgIICBIDCgEYDAAJc2VwYXJhdG9yAgFfAARrQnV5AgNidXkABmtQcmljZQIFcHJpY2UABWtTZWxsAgRzZWxsABJtYXhBdWN0aW9uRHVyYXRpb24AHgAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVXQVZFUwEAAARrQmlkAgNiaWQABnBhdXNlZAYADHN0YXR1c0Zvck5GVAkAlgoEAgRPUEVOAgZDTE9TRUQCCFJFV0FSREVEAghDQU5DRUxFRAALZEFwcEFkZHJlc3MBGgFUSrhPbN7C2pPt9I7pSjb41U9/ldVVW12gAQVpc05mdAEHYXNzZXRJZAQHJG1hdGNoMAkA7AcBBQdhc3NldElkAwkAAQIFByRtYXRjaDACBUFzc2V0BAV0b2tlbgUHJG1hdGNoMAMDCQAAAggFBXRva2VuCGRlY2ltYWxzAAAJAAACCAUFdG9rZW4IcXVhbnRpdH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FsaXR5QW1vdW50MgEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4JAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNAABBQlyZWFsY29zdDMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQkA2QQBCQCRAwIFBG5mVDQABAUPcm95YWxpdHlBbW91bnQzASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQkAkQMCBQRuZlQ1AAEFCXJlYWxjb3N0NAEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4JAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNQAEBQ9yb3lhbGl0eUFtb3VudDQBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+BQNuaWwDCQBmAgkAkAMBBQduZnRJbmZvAAUJAAIBAi1zb3JyeSEgbWF4aW11bSBsaW1pdCBvZiB5b3VyICBjYXJ0IGlzIDUgaXRlbXMFA25pbACOuhFl", "height": 2542475, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9BrVJxCw1C1pCRs8Xw9CLD3k3iNUXmLbKp1sffdSro5M Next: 7YfLf3JLEEVkq7iEU4jPP4Vq5rUTVkGtQFM3goA4c5ii Diff:
OldNewDifferences
7878 let O = value(p.payments[0].amount)
7979 let P = (O - ((O / 1000) * 25))
8080 let Q = (O - P)
81- let R = parseBigIntValue(w)
82- let S = (O - (toInt(R) / 100))
83- let T = (O - (toInt(R) + Q))
81+ let R = ((O * parseIntValue(w)) / 100)
82+ let S = (O - (R + Q))
8483 if ((K == toString(p.caller)))
8584 then throw("current Owner of NFT not able to purchase")
8685 else if (if ((p.payments[0].assetId == f))
8786 then (L != K)
8887 else false)
89- 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))]
88+ then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), S, f), ScriptTransfer(Address(fromBase58String(L)), R, 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))]
9089 else if (if ((p.payments[0].assetId == f))
9190 then (L == K)
9291 else false)
9493 else if (if ((p.payments[0].assetId == unit))
9594 then (L != K)
9695 else false)
97- then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), T, 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))]
96+ then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), S, unit), ScriptTransfer(Address(fromBase58String(L)), R, 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))]
9897 else if (if ((p.payments[0].assetId == unit))
9998 then (L == K)
10099 else false)
105104
106105
107106 @Callable(p)
108-func cancelSell (U) = {
107+func cancelSell (T) = {
109108 let C = toBase58String(p.transactionId)
110109 let F = p.caller.bytes
111-[StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))]
110+[StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))]
112111 }
113112
114113
115114
116115 @Callable(p)
117-func addAuction (V,W,X,Y,E) = {
116+func addAuction (U,V,W,X,E) = {
118117 let C = toBase58String(p.transactionId)
119- let U = value(p.payments[0].assetId)
120- let D = value(X)
121- let Z = (lastBlock.height + Y)
122- let aa = p.caller.bytes
123- let ab = {
124- let n = getString(this, (((toBase58String(U) + a) + "nft_status_") + toBase58String(aa)))
118+ let T = value(p.payments[0].assetId)
119+ let D = value(W)
120+ let Y = (lastBlock.height + X)
121+ let Z = p.caller.bytes
122+ let aa = {
123+ let n = getString(this, (((toBase58String(T) + a) + "nft_status_") + toBase58String(Z)))
125124 if ($isInstanceOf(n, "String"))
126125 then {
127126 let N = n
129128 }
130129 else false
131130 }
132- if ((ab == true))
131+ if ((aa == true))
133132 then throw("Already in auction list")
134- else if ((Y > e))
133+ else if ((X > e))
135134 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
136135 else if ((p.payments[0].assetId == unit))
137136 then throw("NFT not attached")
138137 else if ((p.payments[0].assetId == f))
139138 then throw("NFT not attached")
140- 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")]
139+ else [StringEntry(((C + "nft_start_auction_date") + toBase58String(Z)), U), StringEntry(((C + "nft_end_auction_date") + toBase58String(Z)), V), StringEntry((C + "_nft_start_price"), W), StringEntry((C + "_nft_owner"), toString(p.caller)), StringEntry((C + "_nft_on_auction"), toBase58String(T)), 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")]
141140 }
142141
143142
144143
145144 @Callable(p)
146-func placeBid (ac,U,r,ad,ae) = {
145+func placeBid (ab,T,r,ac,ad) = {
147146 let C = toBase58String(p.transactionId)
148- let aa = p.caller.bytes
149- let m = fromBase58String(U)
150- let af = p.payments[0].assetId
151- let ag = p.payments[0].amount
152- let ah = getStringValue(this, (ac + "_highest_bid"))
153- let ai = getString(this, (ac + "_previous_bidder"))
154- let aj = getStringValue(this, (ac + "_bidder_count"))
155- let ak = getStringValue(this, (ac + "_winner_of_nft"))
156- let ab = getStringValue(this, (ac + "_nft_status"))
157- if ((ab != "OPEN"))
147+ let Z = p.caller.bytes
148+ let m = fromBase58String(T)
149+ let ae = p.payments[0].assetId
150+ let af = p.payments[0].amount
151+ let ag = getStringValue(this, (ab + "_highest_bid"))
152+ let ah = getString(this, (ab + "_previous_bidder"))
153+ let ai = getStringValue(this, (ab + "_bidder_count"))
154+ let aj = getStringValue(this, (ab + "_winner_of_nft"))
155+ let aa = getStringValue(this, (ab + "_nft_status"))
156+ if ((aa != "OPEN"))
158157 then throw("Not open for auction")
159- else if ((parseIntValue(ah) >= ag))
158+ else if ((parseIntValue(ag) >= af))
160159 then throw("Bid is less then starting/highest Bid")
161- else if ((ah == "0"))
162- 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)]
163- else if ((ah != "0"))
164- 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)]
160+ else if ((ag == "0"))
161+ then [StringEntry((ab + "_highest_bid"), toString(af)), StringEntry((ab + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ab + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((ab + "_nft_id"), toBase58String(m)), StringEntry((ab + "_nft_owner"), r), StringEntry((((C + "_") + ab) + "_highest_bid"), toString(af)), StringEntry((((C + "_") + ab) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ab) + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((((C + "_") + ab) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ab) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(Z)), StringEntry((C + "_bid_price_place"), ac), StringEntry((C + "_previous_bid_amount_refund_to_address"), aj), StringEntry((C + "_prevoius_bid_amount_refund"), ag)]
162+ else if ((ag != "0"))
163+ then [ScriptTransfer(Address(fromBase58String(aj)), parseIntValue(ag), ae), StringEntry((C + "_previous_bid_amount_refund_to_address"), aj), StringEntry((C + "_prevoius_bid_amount_refund"), ag), StringEntry((ab + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((ab + "_highest_bid"), toString(af)), StringEntry((ab + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ab + "_nft_id"), toBase58String(m)), StringEntry((ab + "_nft_owner"), r), StringEntry((((C + "_") + ab) + "_highest_bid"), toString(af)), StringEntry((((C + "_") + ab) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ab) + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((((C + "_") + ab) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ab) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(Z)), StringEntry((C + "_bid_price_place"), ac)]
165164 else nil
166165 }
167166
168167
169168
170169 @Callable(p)
171-func acceptBidOffer (ac,U,al,L,w,ae) = {
172- let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
170+func acceptBidOffer (ab,T,ak,L,w,ad) = {
171+ let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
173172 let C = toBase58String(p.transactionId)
174- let an = fromBase58String(ae)
175- let aa = p.caller.bytes
176- let m = fromBase58String(U)
177- let ao = getStringValue(this, (ac + "_highest_bid"))
178- let ap = ((parseIntValue(ao) / 1000) * 975)
179- let Q = ((parseIntValue(ao) / 1000) * 25)
180- let R = ((parseIntValue(ao) / 100) * parseIntValue(w))
181- let aq = (parseIntValue(ao) - (R + Q))
182- let ar = getStringValue(this, (ac + "_winner_of_nft"))
183- if (if ((ae == am))
184- then (toUtf8String(aa) == L)
173+ let am = fromBase58String(ad)
174+ let Z = p.caller.bytes
175+ let m = fromBase58String(T)
176+ let an = getStringValue(this, (ab + "_highest_bid"))
177+ let ao = ((parseIntValue(an) / 1000) * 975)
178+ let Q = ((parseIntValue(an) / 1000) * 25)
179+ let R = ((parseIntValue(an) / 100) * parseIntValue(w))
180+ let ap = (parseIntValue(an) - (R + Q))
181+ let aq = getStringValue(this, (ab + "_winner_of_nft"))
182+ if (if ((ad == al))
183+ then (toUtf8String(Z) == L)
185184 else false)
186- 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")]
187- else if (if ((ae == am))
188- then (toUtf8String(aa) != L)
185+ then [ScriptTransfer(Address(Z), ao, am), ScriptTransfer(Address(fromBase58String(aq)), 1, m), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
186+ else if (if ((ad == al))
187+ then (toUtf8String(Z) != L)
189188 else false)
190- then [ScriptTransfer(Address(aa), ap, an), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), aq, 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")]
191- else if (if ((ae == "WAVES"))
192- then (toUtf8String(aa) == L)
189+ then [ScriptTransfer(Address(Z), ao, am), ScriptTransfer(Address(fromBase58String(aq)), 1, m), ScriptTransfer(Address(fromBase58String(L)), ap, am), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
190+ else if (if ((ad == "WAVES"))
191+ then (toUtf8String(Z) == L)
193192 else false)
194- 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")]
195- else if (if ((ae == "WAVES"))
196- then (toUtf8String(aa) != L)
193+ then [ScriptTransfer(Address(Z), ao, unit), ScriptTransfer(Address(fromBase58String(aq)), 1, m), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
194+ else if (if ((ad == "WAVES"))
195+ then (toUtf8String(Z) != L)
197196 else false)
198- then [ScriptTransfer(Address(aa), ap, unit), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), aq, unit), 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")]
197+ then [ScriptTransfer(Address(Z), ao, unit), ScriptTransfer(Address(fromBase58String(aq)), 1, m), ScriptTransfer(Address(fromBase58String(L)), ap, unit), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
199198 else nil
200199 }
201200
202201
203202
204203 @Callable(p)
205-func cancelAuction (ac) = {
204+func cancelAuction (ab) = {
206205 let C = toBase58String(p.transactionId)
207- let aa = p.caller.bytes
208- let as = getStringValue(this, (ac + "_nft_status"))
209- let at = getStringValue(this, (ac + "_winner_of_nft"))
210- let au = getStringValue(this, (ac + "_nft_owner"))
211- let U = getStringValue(this, (ac + "_nft_on_auction"))
212- let av = getStringValue(this, (ac + "_highest_bid"))
213- if ((at == "0"))
214- then [StringEntry(((C + ac) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
215- else if ((at != "0"))
206+ let Z = p.caller.bytes
207+ let ar = getStringValue(this, (ab + "_nft_status"))
208+ let as = getStringValue(this, (ab + "_winner_of_nft"))
209+ let at = getStringValue(this, (ab + "_nft_owner"))
210+ let T = getStringValue(this, (ab + "_nft_on_auction"))
211+ let au = getStringValue(this, (ab + "_highest_bid"))
212+ if ((as == "0"))
213+ then [StringEntry(((C + ab) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(at)), 1, fromBase58String(T))]
214+ else if ((as != "0"))
216215 then throw("soory you can't cancel it because already auction placed by someone")
217216 else nil
218217 }
220219
221220
222221 @Callable(p)
223-func manualFundTransfer (aw,ax) = {
224- let ay = p.caller.bytes
225- let az = fromBase58String(aw)
222+func manualFundTransfer (av,aw) = {
223+ let ax = p.caller.bytes
224+ let ay = fromBase58String(av)
226225 let O = p.payments[0].amount
227226 let Q = ((O / 1000) * 25)
228- let aA = (O - Q)
227+ let az = (O - Q)
229228 if ((p.payments[0].assetId == unit))
230- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)]
229+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)]
231230 else if ((p.payments[0].assetId == f))
232- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)]
231+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)]
233232 else nil
234233 }
235234
236235
237236
238237 @Callable(p)
239-func nftback (ac) = {
240- let aa = p.caller.bytes
241- let U = getStringValue(this, (ac + "_nft_on_auction"))
242- let au = getStringValue(this, (ac + "_nft_owner"))
243-[StringEntry((ac + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
238+func nftback (ab) = {
239+ let Z = p.caller.bytes
240+ let T = getStringValue(this, (ab + "_nft_on_auction"))
241+ let at = getStringValue(this, (ab + "_nft_owner"))
242+[StringEntry((ab + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(at)), 1, fromBase58String(T))]
244243 }
245244
246245
247246
248247 @Callable(p)
249-func withdrawMoney (ac,ae) = {
250- let aa = p.caller.bytes
251- let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
248+func withdrawMoney (ab,ad) = {
249+ let Z = p.caller.bytes
250+ let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
252251 let C = toBase58String(p.transactionId)
253- let an = fromBase58String(ae)
254- let aB = getStringValue(this, (ac + "_highest_bid"))
255- let aC = getStringValue(this, (ac + "_winner"))
256- let aD = getStringValue(this, (ac + "_nft_id"))
257- if ((ae == am))
258- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aD), StringEntry((ac + "_bidding_price_refund_amount"), aB), ScriptTransfer(p.caller, parseIntValue(aB), an)]
259- else if ((ae == "WAVES"))
260- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aD), StringEntry((ac + "_bidding_price_refund_amount"), aB), ScriptTransfer(p.caller, parseIntValue(aB), unit)]
252+ let am = fromBase58String(ad)
253+ let aA = getStringValue(this, (ab + "_highest_bid"))
254+ let aB = getStringValue(this, (ab + "_winner"))
255+ let aC = getStringValue(this, (ab + "_nft_id"))
256+ if ((ad == al))
257+ then [StringEntry((ab + "_nft_bid"), "WITHDRAW"), StringEntry((ab + "_nft_id"), aC), StringEntry((ab + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), am)]
258+ else if ((ad == "WAVES"))
259+ then [StringEntry((ab + "_nft_bid"), "WITHDRAW"), StringEntry((ab + "_nft_id"), aC), StringEntry((ab + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
261260 else nil
262261 }
263262
264263
265264
266265 @Callable(p)
267-func buyAllProducts_asimi (aE) = {
268- let aF = p.caller
269- let aG = assetBalance(aF, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
270- let aH = split(aE[0], "_")
271- let aI = split(aE[1], "_")
272- let aJ = split(aE[2], "_")
273- let aK = split(aE[3], "_")
274- let aL = split(aE[4], "_")
266+func buyAllProducts_asimi (aD) = {
267+ let aE = p.caller
268+ let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
269+ let aG = split(aD[0], "_")
270+ let aH = split(aD[1], "_")
271+ let aI = split(aD[2], "_")
272+ let aJ = split(aD[3], "_")
273+ let aK = split(aD[4], "_")
275274 let O = value(p.payments[0].amount)
276- let aM = (O - ((O / 1000) * 25))
277- let aN = (O - aM)
278- let R = ((O / 100) * parseIntValue(aH[3]))
279- let aO = (O - (R + aN))
280- let aP = value(p.payments[1].amount)
281- let aQ = (aP - ((aP / 1000) * 25))
282- let aR = (aP - aQ)
283- let S = ((aP / 100) * parseIntValue(aI[3]))
284- let aS = (aP - (S + aR))
275+ let aL = (O - ((O / 1000) * 25))
276+ let aM = (O - aL)
277+ let R = ((O / 100) * parseIntValue(aG[3]))
278+ let aN = (O - (R + aM))
279+ let aO = value(p.payments[1].amount)
280+ let aP = (aO - ((aO / 1000) * 25))
281+ let aQ = (aO - aP)
282+ let aR = ((aO / 100) * parseIntValue(aH[3]))
283+ let aS = (aO - (aR + aQ))
285284 let aT = value(p.payments[2].amount)
286285 let aU = (aT - ((aT / 1000) * 25))
287286 let aV = (aT - aU)
288- let aW = ((aT / 100) * parseIntValue(aJ[3]))
287+ let aW = ((aT / 100) * parseIntValue(aI[3]))
289288 let aX = (aT - (aW + aV))
290289 let aY = value(p.payments[3].amount)
291290 let aZ = (aY - ((aY / 1000) * 25))
292291 let ba = (aY - aZ)
293- let bb = ((aY / 100) * parseIntValue(aK[3]))
292+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
294293 let bc = (aY - (bb + ba))
295294 let bd = value(p.payments[4].amount)
296295 let be = (bd - ((bd / 1000) * 25))
297296 let bf = (bd - be)
298- let bg = ((bd / 100) * parseIntValue(aL[3]))
297+ let bg = ((bd / 100) * parseIntValue(aK[3]))
299298 let bh = (bd - (bg + bf))
300- if ((O > aG))
299+ if ((O > aF))
301300 then throw("Buyer does not have enough funds to complete the purchase.")
302- else if ((size(aE) == 1))
303- then [StringEntry((((("first_nft_Info=" + "nftId") + aH[0]) + "creator") + aH[4]), ("buyer" + toString(aF))), StringEntry((("first_nft_Info=" + "seller_address") + aH[1]), ("price" + aH[2])), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304- else if ((size(aE) == 2))
305- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306- else if ((size(aE) == 3))
307- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308- else if ((size(aE) == 4))
309- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310- else if ((size(aE) == 5))
311- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[1])), be, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
312- else if ((size(aE) > 5))
301+ else if ((size(aD) == 1))
302+ then [StringEntry((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]), ("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])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
303+ else if ((size(aD) == 2))
304+ 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])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
305+ else if ((size(aD) == 3))
306+ 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])), R, 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')]
307+ else if ((size(aD) == 4))
308+ 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])), aL, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aP, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
309+ else if ((size(aD) == 5))
310+ 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])), aL, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aP, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), be, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
311+ else if ((size(aD) > 5))
313312 then throw("sorry! maximum limit of your cart is 5 items")
314313 else nil
315314 }
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) + "royaltyPercentage"), 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)
81- let R = parseBigIntValue(w)
82- let S = (O - (toInt(R) / 100))
83- let T = (O - (toInt(R) + Q))
81+ let R = ((O * parseIntValue(w)) / 100)
82+ let S = (O - (R + Q))
8483 if ((K == toString(p.caller)))
8584 then throw("current Owner of NFT not able to purchase")
8685 else if (if ((p.payments[0].assetId == f))
8786 then (L != K)
8887 else false)
89- 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))]
88+ then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), S, f), ScriptTransfer(Address(fromBase58String(L)), R, 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))]
9089 else if (if ((p.payments[0].assetId == f))
9190 then (L == K)
9291 else false)
9392 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))]
9493 else if (if ((p.payments[0].assetId == unit))
9594 then (L != K)
9695 else false)
97- then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), T, 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))]
96+ then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), S, unit), ScriptTransfer(Address(fromBase58String(L)), R, 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))]
9897 else if (if ((p.payments[0].assetId == unit))
9998 then (L == K)
10099 else false)
101100 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))]
102101 else nil
103102 }
104103
105104
106105
107106 @Callable(p)
108-func cancelSell (U) = {
107+func cancelSell (T) = {
109108 let C = toBase58String(p.transactionId)
110109 let F = p.caller.bytes
111-[StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))]
110+[StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))]
112111 }
113112
114113
115114
116115 @Callable(p)
117-func addAuction (V,W,X,Y,E) = {
116+func addAuction (U,V,W,X,E) = {
118117 let C = toBase58String(p.transactionId)
119- let U = value(p.payments[0].assetId)
120- let D = value(X)
121- let Z = (lastBlock.height + Y)
122- let aa = p.caller.bytes
123- let ab = {
124- let n = getString(this, (((toBase58String(U) + a) + "nft_status_") + toBase58String(aa)))
118+ let T = value(p.payments[0].assetId)
119+ let D = value(W)
120+ let Y = (lastBlock.height + X)
121+ let Z = p.caller.bytes
122+ let aa = {
123+ let n = getString(this, (((toBase58String(T) + a) + "nft_status_") + toBase58String(Z)))
125124 if ($isInstanceOf(n, "String"))
126125 then {
127126 let N = n
128127 true
129128 }
130129 else false
131130 }
132- if ((ab == true))
131+ if ((aa == true))
133132 then throw("Already in auction list")
134- else if ((Y > e))
133+ else if ((X > e))
135134 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
136135 else if ((p.payments[0].assetId == unit))
137136 then throw("NFT not attached")
138137 else if ((p.payments[0].assetId == f))
139138 then throw("NFT not attached")
140- 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")]
139+ else [StringEntry(((C + "nft_start_auction_date") + toBase58String(Z)), U), StringEntry(((C + "nft_end_auction_date") + toBase58String(Z)), V), StringEntry((C + "_nft_start_price"), W), StringEntry((C + "_nft_owner"), toString(p.caller)), StringEntry((C + "_nft_on_auction"), toBase58String(T)), 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")]
141140 }
142141
143142
144143
145144 @Callable(p)
146-func placeBid (ac,U,r,ad,ae) = {
145+func placeBid (ab,T,r,ac,ad) = {
147146 let C = toBase58String(p.transactionId)
148- let aa = p.caller.bytes
149- let m = fromBase58String(U)
150- let af = p.payments[0].assetId
151- let ag = p.payments[0].amount
152- let ah = getStringValue(this, (ac + "_highest_bid"))
153- let ai = getString(this, (ac + "_previous_bidder"))
154- let aj = getStringValue(this, (ac + "_bidder_count"))
155- let ak = getStringValue(this, (ac + "_winner_of_nft"))
156- let ab = getStringValue(this, (ac + "_nft_status"))
157- if ((ab != "OPEN"))
147+ let Z = p.caller.bytes
148+ let m = fromBase58String(T)
149+ let ae = p.payments[0].assetId
150+ let af = p.payments[0].amount
151+ let ag = getStringValue(this, (ab + "_highest_bid"))
152+ let ah = getString(this, (ab + "_previous_bidder"))
153+ let ai = getStringValue(this, (ab + "_bidder_count"))
154+ let aj = getStringValue(this, (ab + "_winner_of_nft"))
155+ let aa = getStringValue(this, (ab + "_nft_status"))
156+ if ((aa != "OPEN"))
158157 then throw("Not open for auction")
159- else if ((parseIntValue(ah) >= ag))
158+ else if ((parseIntValue(ag) >= af))
160159 then throw("Bid is less then starting/highest Bid")
161- else if ((ah == "0"))
162- 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)]
163- else if ((ah != "0"))
164- 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)]
160+ else if ((ag == "0"))
161+ then [StringEntry((ab + "_highest_bid"), toString(af)), StringEntry((ab + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ab + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((ab + "_nft_id"), toBase58String(m)), StringEntry((ab + "_nft_owner"), r), StringEntry((((C + "_") + ab) + "_highest_bid"), toString(af)), StringEntry((((C + "_") + ab) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ab) + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((((C + "_") + ab) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ab) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(Z)), StringEntry((C + "_bid_price_place"), ac), StringEntry((C + "_previous_bid_amount_refund_to_address"), aj), StringEntry((C + "_prevoius_bid_amount_refund"), ag)]
162+ else if ((ag != "0"))
163+ then [ScriptTransfer(Address(fromBase58String(aj)), parseIntValue(ag), ae), StringEntry((C + "_previous_bid_amount_refund_to_address"), aj), StringEntry((C + "_prevoius_bid_amount_refund"), ag), StringEntry((ab + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((ab + "_highest_bid"), toString(af)), StringEntry((ab + "_winner_of_nft"), toBase58String(p.caller.bytes)), StringEntry((ab + "_nft_id"), toBase58String(m)), StringEntry((ab + "_nft_owner"), r), StringEntry((((C + "_") + ab) + "_highest_bid"), toString(af)), StringEntry((((C + "_") + ab) + "_winner"), toBase58String(p.caller.bytes)), StringEntry((((C + "_") + ab) + "_bidder_count"), toString((parseIntValue(ai) + 1))), StringEntry((((C + "_") + ab) + "_nft_id"), toBase58String(m)), StringEntry((((C + "_") + ab) + "_nft_owner"), r), StringEntry((C + "_bid_for_nft_by"), toBase58String(Z)), StringEntry((C + "_bid_price_place"), ac)]
165164 else nil
166165 }
167166
168167
169168
170169 @Callable(p)
171-func acceptBidOffer (ac,U,al,L,w,ae) = {
172- let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
170+func acceptBidOffer (ab,T,ak,L,w,ad) = {
171+ let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
173172 let C = toBase58String(p.transactionId)
174- let an = fromBase58String(ae)
175- let aa = p.caller.bytes
176- let m = fromBase58String(U)
177- let ao = getStringValue(this, (ac + "_highest_bid"))
178- let ap = ((parseIntValue(ao) / 1000) * 975)
179- let Q = ((parseIntValue(ao) / 1000) * 25)
180- let R = ((parseIntValue(ao) / 100) * parseIntValue(w))
181- let aq = (parseIntValue(ao) - (R + Q))
182- let ar = getStringValue(this, (ac + "_winner_of_nft"))
183- if (if ((ae == am))
184- then (toUtf8String(aa) == L)
173+ let am = fromBase58String(ad)
174+ let Z = p.caller.bytes
175+ let m = fromBase58String(T)
176+ let an = getStringValue(this, (ab + "_highest_bid"))
177+ let ao = ((parseIntValue(an) / 1000) * 975)
178+ let Q = ((parseIntValue(an) / 1000) * 25)
179+ let R = ((parseIntValue(an) / 100) * parseIntValue(w))
180+ let ap = (parseIntValue(an) - (R + Q))
181+ let aq = getStringValue(this, (ab + "_winner_of_nft"))
182+ if (if ((ad == al))
183+ then (toUtf8String(Z) == L)
185184 else false)
186- 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")]
187- else if (if ((ae == am))
188- then (toUtf8String(aa) != L)
185+ then [ScriptTransfer(Address(Z), ao, am), ScriptTransfer(Address(fromBase58String(aq)), 1, m), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
186+ else if (if ((ad == al))
187+ then (toUtf8String(Z) != L)
189188 else false)
190- then [ScriptTransfer(Address(aa), ap, an), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), aq, 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")]
191- else if (if ((ae == "WAVES"))
192- then (toUtf8String(aa) == L)
189+ then [ScriptTransfer(Address(Z), ao, am), ScriptTransfer(Address(fromBase58String(aq)), 1, m), ScriptTransfer(Address(fromBase58String(L)), ap, am), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
190+ else if (if ((ad == "WAVES"))
191+ then (toUtf8String(Z) == L)
193192 else false)
194- 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")]
195- else if (if ((ae == "WAVES"))
196- then (toUtf8String(aa) != L)
193+ then [ScriptTransfer(Address(Z), ao, unit), ScriptTransfer(Address(fromBase58String(aq)), 1, m), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
194+ else if (if ((ad == "WAVES"))
195+ then (toUtf8String(Z) != L)
197196 else false)
198- then [ScriptTransfer(Address(aa), ap, unit), ScriptTransfer(Address(fromBase58String(ar)), 1, m), ScriptTransfer(Address(fromBase58String(L)), aq, unit), 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")]
197+ then [ScriptTransfer(Address(Z), ao, unit), ScriptTransfer(Address(fromBase58String(aq)), 1, m), ScriptTransfer(Address(fromBase58String(L)), ap, unit), StringEntry((C + "_amount_paid_to_owner"), an), StringEntry((C + "_nft_transfer_to"), aq), StringEntry((C + "_nft_status"), "REWARDED"), StringEntry((ab + "_amount_paid_to_owner"), an), StringEntry((ab + "_nft_transfer_to"), aq), StringEntry((ab + "_nft_status"), "REWARDED")]
199198 else nil
200199 }
201200
202201
203202
204203 @Callable(p)
205-func cancelAuction (ac) = {
204+func cancelAuction (ab) = {
206205 let C = toBase58String(p.transactionId)
207- let aa = p.caller.bytes
208- let as = getStringValue(this, (ac + "_nft_status"))
209- let at = getStringValue(this, (ac + "_winner_of_nft"))
210- let au = getStringValue(this, (ac + "_nft_owner"))
211- let U = getStringValue(this, (ac + "_nft_on_auction"))
212- let av = getStringValue(this, (ac + "_highest_bid"))
213- if ((at == "0"))
214- then [StringEntry(((C + ac) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
215- else if ((at != "0"))
206+ let Z = p.caller.bytes
207+ let ar = getStringValue(this, (ab + "_nft_status"))
208+ let as = getStringValue(this, (ab + "_winner_of_nft"))
209+ let at = getStringValue(this, (ab + "_nft_owner"))
210+ let T = getStringValue(this, (ab + "_nft_on_auction"))
211+ let au = getStringValue(this, (ab + "_highest_bid"))
212+ if ((as == "0"))
213+ then [StringEntry(((C + ab) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(fromBase58String(at)), 1, fromBase58String(T))]
214+ else if ((as != "0"))
216215 then throw("soory you can't cancel it because already auction placed by someone")
217216 else nil
218217 }
219218
220219
221220
222221 @Callable(p)
223-func manualFundTransfer (aw,ax) = {
224- let ay = p.caller.bytes
225- let az = fromBase58String(aw)
222+func manualFundTransfer (av,aw) = {
223+ let ax = p.caller.bytes
224+ let ay = fromBase58String(av)
226225 let O = p.payments[0].amount
227226 let Q = ((O / 1000) * 25)
228- let aA = (O - Q)
227+ let az = (O - Q)
229228 if ((p.payments[0].assetId == unit))
230- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)]
229+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)]
231230 else if ((p.payments[0].assetId == f))
232- then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)]
231+ then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)]
233232 else nil
234233 }
235234
236235
237236
238237 @Callable(p)
239-func nftback (ac) = {
240- let aa = p.caller.bytes
241- let U = getStringValue(this, (ac + "_nft_on_auction"))
242- let au = getStringValue(this, (ac + "_nft_owner"))
243-[StringEntry((ac + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(au)), 1, fromBase58String(U))]
238+func nftback (ab) = {
239+ let Z = p.caller.bytes
240+ let T = getStringValue(this, (ab + "_nft_on_auction"))
241+ let at = getStringValue(this, (ab + "_nft_owner"))
242+[StringEntry((ab + "_nft_status"), "Auction_time over"), ScriptTransfer(Address(fromBase58String(at)), 1, fromBase58String(T))]
244243 }
245244
246245
247246
248247 @Callable(p)
249-func withdrawMoney (ac,ae) = {
250- let aa = p.caller.bytes
251- let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
248+func withdrawMoney (ab,ad) = {
249+ let Z = p.caller.bytes
250+ let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
252251 let C = toBase58String(p.transactionId)
253- let an = fromBase58String(ae)
254- let aB = getStringValue(this, (ac + "_highest_bid"))
255- let aC = getStringValue(this, (ac + "_winner"))
256- let aD = getStringValue(this, (ac + "_nft_id"))
257- if ((ae == am))
258- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aD), StringEntry((ac + "_bidding_price_refund_amount"), aB), ScriptTransfer(p.caller, parseIntValue(aB), an)]
259- else if ((ae == "WAVES"))
260- then [StringEntry((ac + "_nft_bid"), "WITHDRAW"), StringEntry((ac + "_nft_id"), aD), StringEntry((ac + "_bidding_price_refund_amount"), aB), ScriptTransfer(p.caller, parseIntValue(aB), unit)]
252+ let am = fromBase58String(ad)
253+ let aA = getStringValue(this, (ab + "_highest_bid"))
254+ let aB = getStringValue(this, (ab + "_winner"))
255+ let aC = getStringValue(this, (ab + "_nft_id"))
256+ if ((ad == al))
257+ then [StringEntry((ab + "_nft_bid"), "WITHDRAW"), StringEntry((ab + "_nft_id"), aC), StringEntry((ab + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), am)]
258+ else if ((ad == "WAVES"))
259+ then [StringEntry((ab + "_nft_bid"), "WITHDRAW"), StringEntry((ab + "_nft_id"), aC), StringEntry((ab + "_bidding_price_refund_amount"), aA), ScriptTransfer(p.caller, parseIntValue(aA), unit)]
261260 else nil
262261 }
263262
264263
265264
266265 @Callable(p)
267-func buyAllProducts_asimi (aE) = {
268- let aF = p.caller
269- let aG = assetBalance(aF, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
270- let aH = split(aE[0], "_")
271- let aI = split(aE[1], "_")
272- let aJ = split(aE[2], "_")
273- let aK = split(aE[3], "_")
274- let aL = split(aE[4], "_")
266+func buyAllProducts_asimi (aD) = {
267+ let aE = p.caller
268+ let aF = assetBalance(aE, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')
269+ let aG = split(aD[0], "_")
270+ let aH = split(aD[1], "_")
271+ let aI = split(aD[2], "_")
272+ let aJ = split(aD[3], "_")
273+ let aK = split(aD[4], "_")
275274 let O = value(p.payments[0].amount)
276- let aM = (O - ((O / 1000) * 25))
277- let aN = (O - aM)
278- let R = ((O / 100) * parseIntValue(aH[3]))
279- let aO = (O - (R + aN))
280- let aP = value(p.payments[1].amount)
281- let aQ = (aP - ((aP / 1000) * 25))
282- let aR = (aP - aQ)
283- let S = ((aP / 100) * parseIntValue(aI[3]))
284- let aS = (aP - (S + aR))
275+ let aL = (O - ((O / 1000) * 25))
276+ let aM = (O - aL)
277+ let R = ((O / 100) * parseIntValue(aG[3]))
278+ let aN = (O - (R + aM))
279+ let aO = value(p.payments[1].amount)
280+ let aP = (aO - ((aO / 1000) * 25))
281+ let aQ = (aO - aP)
282+ let aR = ((aO / 100) * parseIntValue(aH[3]))
283+ let aS = (aO - (aR + aQ))
285284 let aT = value(p.payments[2].amount)
286285 let aU = (aT - ((aT / 1000) * 25))
287286 let aV = (aT - aU)
288- let aW = ((aT / 100) * parseIntValue(aJ[3]))
287+ let aW = ((aT / 100) * parseIntValue(aI[3]))
289288 let aX = (aT - (aW + aV))
290289 let aY = value(p.payments[3].amount)
291290 let aZ = (aY - ((aY / 1000) * 25))
292291 let ba = (aY - aZ)
293- let bb = ((aY / 100) * parseIntValue(aK[3]))
292+ let bb = ((aY / 100) * parseIntValue(aJ[3]))
294293 let bc = (aY - (bb + ba))
295294 let bd = value(p.payments[4].amount)
296295 let be = (bd - ((bd / 1000) * 25))
297296 let bf = (bd - be)
298- let bg = ((bd / 100) * parseIntValue(aL[3]))
297+ let bg = ((bd / 100) * parseIntValue(aK[3]))
299298 let bh = (bd - (bg + bf))
300- if ((O > aG))
299+ if ((O > aF))
301300 then throw("Buyer does not have enough funds to complete the purchase.")
302- else if ((size(aE) == 1))
303- then [StringEntry((((("first_nft_Info=" + "nftId") + aH[0]) + "creator") + aH[4]), ("buyer" + toString(aF))), StringEntry((("first_nft_Info=" + "seller_address") + aH[1]), ("price" + aH[2])), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
304- else if ((size(aE) == 2))
305- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
306- else if ((size(aE) == 3))
307- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aO, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aX, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
308- else if ((size(aE) == 4))
309- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
310- else if ((size(aE) == 5))
311- then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString(aF))), StringEntry((((((("second_nft_Info=" + "nftId") + aI[0]) + "seller_address") + aI[1]) + "price") + aI[2]), ("buyer" + toString(aF))), StringEntry((((((("third_nft_Info=" + "nftId") + aJ[0]) + "seller_address") + aJ[1]) + "price") + aJ[2]), ("buyer" + toString(aF))), StringEntry((((((("fourth_nft_Info=" + "nftId") + aK[0]) + "seller_address") + aK[1]) + "price") + aK[2]), ("buyer" + toString(aF))), StringEntry((((((("fifth_nft_Info=" + "nftId") + aL[0]) + "seller_address") + aL[1]) + "price") + aL[2]), ("buyer" + toString(aF))), ScriptTransfer(aF, 1, fromBase58String(aH[0])), ScriptTransfer(aF, 1, fromBase58String(aI[0])), ScriptTransfer(aF, 1, fromBase58String(aJ[0])), ScriptTransfer(aF, 1, fromBase58String(aK[0])), ScriptTransfer(aF, 1, fromBase58String(aL[0])), ScriptTransfer(Address(fromBase58String(aH[1])), aM, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aQ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), S, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[1])), be, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aL[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
312- else if ((size(aE) > 5))
301+ else if ((size(aD) == 1))
302+ then [StringEntry((((("first_nft_Info=" + "nftId") + aG[0]) + "creator") + aG[4]), ("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])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
303+ else if ((size(aD) == 2))
304+ 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])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aS, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
305+ else if ((size(aD) == 3))
306+ 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])), R, 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')]
307+ else if ((size(aD) == 4))
308+ 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])), aL, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aP, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
309+ else if ((size(aD) == 5))
310+ 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])), aL, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aG[4])), R, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[1])), aP, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aH[4])), aR, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[1])), aU, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aI[4])), aW, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[1])), aZ, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aJ[4])), bb, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[1])), be, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'), ScriptTransfer(Address(fromBase58String(aK[4])), bg, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq')]
311+ else if ((size(aD) > 5))
313312 then throw("sorry! maximum limit of your cart is 5 items")
314313 else nil
315314 }
316315
317316

github/deemru/w8io/026f985 
258.87 ms