tx · 9BrVJxCw1C1pCRs8Xw9CLD3k3iNUXmLbKp1sffdSro5M

3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx:  -0.02500000 Waves

2023.04.20 08:45 [2542467] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves

{ "type": 13, "id": "9BrVJxCw1C1pCRs8Xw9CLD3k3iNUXmLbKp1sffdSro5M", "fee": 2500000, "feeAssetId": null, "timestamp": 1681969681403, "version": 2, "chainId": 84, "sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx", "senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx", "proofs": [ "1HW7ExvEMKrvjXAj4Q6XUcgfvXqpWq9zFLMRDZS1c1HHAHLR7oTWeKKNEnXUbtpLLUBxwvdYwPcD27GFAqQTAcJ" ], "script": "base64:BgJaCAISDAoKCAgICAgBCAgICBIECgIICBIGCgQICAgIEgMKAQgSBwoFCAgIAQgSBwoFCAgICAISCAoGCAgICAgIEgMKAQgSBAoCCAgSAwoBCBIECgIICBIDCgEYDAAJc2VwYXJhdG9yAgFfAARrQnV5AgNidXkABmtQcmljZQIFcHJpY2UABWtTZWxsAgRzZWxsABJtYXhBdWN0aW9uRHVyYXRpb24AHgAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVXQVZFUwEAAARrQmlkAgNiaWQABnBhdXNlZAYADHN0YXR1c0Zvck5GVAkAlgoEAgRPUEVOAgZDTE9TRUQCCFJFV0FSREVEAghDQU5DRUxFRAALZEFwcEFkZHJlc3MBGgFUSrhPbN7C2pPt9I7pSjb41U9/ldVVW12gAQVpc05mdAEHYXNzZXRJZAQHJG1hdGNoMAkA7AcBBQdhc3NldElkAwkAAQIFByRtYXRjaDACBUFzc2V0BAV0b2tlbgUHJG1hdGNoMAMDCQAAAggFBXRva2VuCGRlY2ltYWxzAAAJAAACCAUFdG9rZW4IcXVh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QCRAwIFBG5mVDQAAQUJcmVhbGNvc3QzASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQkAkQMCBQRuZlQ0AAQFD3JveWFsaXR5QW1vdW50MwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4JAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNQABBQlyZWFsY29zdDQBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQkA2QQBCQCRAwIFBG5mVDUABAUPcm95YWxpdHlBbW91bnQ0ASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgUDbmlsAwkAZgIJAJADAQUHbmZ0SW5mbwAFCQACAQItc29ycnkhIG1heGltdW0gbGltaXQgb2YgeW91ciAgY2FydCBpcyA1IGl0ZW1zBQNuaWwADV6xww==", "height": 2542467, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4sHLfftNdnHNVQHwbBmT64F1S2fSbCAEZiVie8F4tCNR Next: ATbZFVufrXAV62T8BbGqFZfdp2rA5CktDcQnxpvgzdXJ 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 = ((O * w) / 100)
82- let S = (O - (R + Q))
81+ let R = parseBigIntValue(w)
82+ let S = (O - (toInt(R) / 100))
83+ let T = (O - (toInt(R) + Q))
8384 if ((K == toString(p.caller)))
8485 then throw("current Owner of NFT not able to purchase")
8586 else if (if ((p.payments[0].assetId == f))
8687 then (L != K)
8788 else false)
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))]
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))]
8990 else if (if ((p.payments[0].assetId == f))
9091 then (L == K)
9192 else false)
9394 else if (if ((p.payments[0].assetId == unit))
9495 then (L != K)
9596 else false)
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))]
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))]
9798 else if (if ((p.payments[0].assetId == unit))
9899 then (L == K)
99100 else false)
104105
105106
106107 @Callable(p)
107-func cancelSell (T) = {
108+func cancelSell (U) = {
108109 let C = toBase58String(p.transactionId)
109110 let F = p.caller.bytes
110-[StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))]
111+[StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))]
111112 }
112113
113114
114115
115116 @Callable(p)
116-func addAuction (U,V,W,X,E) = {
117+func addAuction (V,W,X,Y,E) = {
117118 let C = toBase58String(p.transactionId)
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)))
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)))
124125 if ($isInstanceOf(n, "String"))
125126 then {
126127 let N = n
128129 }
129130 else false
130131 }
131- if ((aa == true))
132+ if ((ab == true))
132133 then throw("Already in auction list")
133- else if ((X > e))
134+ else if ((Y > e))
134135 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
135136 else if ((p.payments[0].assetId == unit))
136137 then throw("NFT not attached")
137138 else if ((p.payments[0].assetId == f))
138139 then throw("NFT not attached")
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")]
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")]
140141 }
141142
142143
143144
144145 @Callable(p)
145-func placeBid (ab,T,r,ac,ad) = {
146+func placeBid (ac,U,r,ad,ae) = {
146147 let C = toBase58String(p.transactionId)
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"))
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"))
157158 then throw("Not open for auction")
158- else if ((parseIntValue(ag) >= af))
159+ else if ((parseIntValue(ah) >= ag))
159160 then throw("Bid is less then starting/highest Bid")
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)]
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)]
164165 else nil
165166 }
166167
167168
168169
169170 @Callable(p)
170-func acceptBidOffer (ab,T,ak,L,w,ad) = {
171- let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
171+func acceptBidOffer (ac,U,al,L,w,ae) = {
172+ let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
172173 let C = toBase58String(p.transactionId)
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)
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)
184185 else false)
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)
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)
188189 else false)
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)
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)
192193 else false)
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)
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)
196197 else false)
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")]
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")]
198199 else nil
199200 }
200201
201202
202203
203204 @Callable(p)
204-func cancelAuction (ab) = {
205+func cancelAuction (ac) = {
205206 let C = toBase58String(p.transactionId)
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"))
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"))
215216 then throw("soory you can't cancel it because already auction placed by someone")
216217 else nil
217218 }
219220
220221
221222 @Callable(p)
222-func manualFundTransfer (av,aw) = {
223- let ax = p.caller.bytes
224- let ay = fromBase58String(av)
223+func manualFundTransfer (aw,ax) = {
224+ let ay = p.caller.bytes
225+ let az = fromBase58String(aw)
225226 let O = p.payments[0].amount
226227 let Q = ((O / 1000) * 25)
227- let az = (O - Q)
228+ let aA = (O - Q)
228229 if ((p.payments[0].assetId == unit))
229- then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)]
230+ then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)]
230231 else if ((p.payments[0].assetId == f))
231- then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)]
232+ then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)]
232233 else nil
233234 }
234235
235236
236237
237238 @Callable(p)
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))]
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))]
243244 }
244245
245246
246247
247248 @Callable(p)
248-func withdrawMoney (ab,ad) = {
249- let Z = p.caller.bytes
250- let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
249+func withdrawMoney (ac,ae) = {
250+ let aa = p.caller.bytes
251+ let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
251252 let C = toBase58String(p.transactionId)
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)]
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)]
260261 else nil
261262 }
262263
263264
264265
265266 @Callable(p)
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], "_")
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], "_")
274275 let O = value(p.payments[0].amount)
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))
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))
284285 let aT = value(p.payments[2].amount)
285286 let aU = (aT - ((aT / 1000) * 25))
286287 let aV = (aT - aU)
287- let aW = ((aT / 100) * parseIntValue(aI[3]))
288+ let aW = ((aT / 100) * parseIntValue(aJ[3]))
288289 let aX = (aT - (aW + aV))
289290 let aY = value(p.payments[3].amount)
290291 let aZ = (aY - ((aY / 1000) * 25))
291292 let ba = (aY - aZ)
292- let bb = ((aY / 100) * parseIntValue(aJ[3]))
293+ let bb = ((aY / 100) * parseIntValue(aK[3]))
293294 let bc = (aY - (bb + ba))
294295 let bd = value(p.payments[4].amount)
295296 let be = (bd - ((bd / 1000) * 25))
296297 let bf = (bd - be)
297- let bg = ((bd / 100) * parseIntValue(aK[3]))
298+ let bg = ((bd / 100) * parseIntValue(aL[3]))
298299 let bh = (bd - (bg + bf))
299- if ((O > aF))
300+ if ((O > aG))
300301 then throw("Buyer does not have enough funds to complete the purchase.")
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))
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))
312313 then throw("sorry! maximum limit of your cart is 5 items")
313314 else nil
314315 }
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 = ((O * w) / 100)
82- let S = (O - (R + Q))
81+ let R = parseBigIntValue(w)
82+ let S = (O - (toInt(R) / 100))
83+ let T = (O - (toInt(R) + Q))
8384 if ((K == toString(p.caller)))
8485 then throw("current Owner of NFT not able to purchase")
8586 else if (if ((p.payments[0].assetId == f))
8687 then (L != K)
8788 else false)
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))]
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))]
8990 else if (if ((p.payments[0].assetId == f))
9091 then (L == K)
9192 else false)
9293 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))]
9394 else if (if ((p.payments[0].assetId == unit))
9495 then (L != K)
9596 else false)
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))]
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))]
9798 else if (if ((p.payments[0].assetId == unit))
9899 then (L == K)
99100 else false)
100101 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))]
101102 else nil
102103 }
103104
104105
105106
106107 @Callable(p)
107-func cancelSell (T) = {
108+func cancelSell (U) = {
108109 let C = toBase58String(p.transactionId)
109110 let F = p.caller.bytes
110-[StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))]
111+[StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))]
111112 }
112113
113114
114115
115116 @Callable(p)
116-func addAuction (U,V,W,X,E) = {
117+func addAuction (V,W,X,Y,E) = {
117118 let C = toBase58String(p.transactionId)
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)))
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)))
124125 if ($isInstanceOf(n, "String"))
125126 then {
126127 let N = n
127128 true
128129 }
129130 else false
130131 }
131- if ((aa == true))
132+ if ((ab == true))
132133 then throw("Already in auction list")
133- else if ((X > e))
134+ else if ((Y > e))
134135 then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e)))
135136 else if ((p.payments[0].assetId == unit))
136137 then throw("NFT not attached")
137138 else if ((p.payments[0].assetId == f))
138139 then throw("NFT not attached")
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")]
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")]
140141 }
141142
142143
143144
144145 @Callable(p)
145-func placeBid (ab,T,r,ac,ad) = {
146+func placeBid (ac,U,r,ad,ae) = {
146147 let C = toBase58String(p.transactionId)
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"))
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"))
157158 then throw("Not open for auction")
158- else if ((parseIntValue(ag) >= af))
159+ else if ((parseIntValue(ah) >= ag))
159160 then throw("Bid is less then starting/highest Bid")
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)]
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)]
164165 else nil
165166 }
166167
167168
168169
169170 @Callable(p)
170-func acceptBidOffer (ab,T,ak,L,w,ad) = {
171- let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
171+func acceptBidOffer (ac,U,al,L,w,ae) = {
172+ let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
172173 let C = toBase58String(p.transactionId)
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)
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)
184185 else false)
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)
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)
188189 else false)
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)
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)
192193 else false)
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)
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)
196197 else false)
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")]
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")]
198199 else nil
199200 }
200201
201202
202203
203204 @Callable(p)
204-func cancelAuction (ab) = {
205+func cancelAuction (ac) = {
205206 let C = toBase58String(p.transactionId)
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"))
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"))
215216 then throw("soory you can't cancel it because already auction placed by someone")
216217 else nil
217218 }
218219
219220
220221
221222 @Callable(p)
222-func manualFundTransfer (av,aw) = {
223- let ax = p.caller.bytes
224- let ay = fromBase58String(av)
223+func manualFundTransfer (aw,ax) = {
224+ let ay = p.caller.bytes
225+ let az = fromBase58String(aw)
225226 let O = p.payments[0].amount
226227 let Q = ((O / 1000) * 25)
227- let az = (O - Q)
228+ let aA = (O - Q)
228229 if ((p.payments[0].assetId == unit))
229- then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)]
230+ then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)]
230231 else if ((p.payments[0].assetId == f))
231- then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)]
232+ then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)]
232233 else nil
233234 }
234235
235236
236237
237238 @Callable(p)
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))]
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))]
243244 }
244245
245246
246247
247248 @Callable(p)
248-func withdrawMoney (ab,ad) = {
249- let Z = p.caller.bytes
250- let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
249+func withdrawMoney (ac,ae) = {
250+ let aa = p.caller.bytes
251+ let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq"
251252 let C = toBase58String(p.transactionId)
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)]
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)]
260261 else nil
261262 }
262263
263264
264265
265266 @Callable(p)
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], "_")
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], "_")
274275 let O = value(p.payments[0].amount)
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))
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))
284285 let aT = value(p.payments[2].amount)
285286 let aU = (aT - ((aT / 1000) * 25))
286287 let aV = (aT - aU)
287- let aW = ((aT / 100) * parseIntValue(aI[3]))
288+ let aW = ((aT / 100) * parseIntValue(aJ[3]))
288289 let aX = (aT - (aW + aV))
289290 let aY = value(p.payments[3].amount)
290291 let aZ = (aY - ((aY / 1000) * 25))
291292 let ba = (aY - aZ)
292- let bb = ((aY / 100) * parseIntValue(aJ[3]))
293+ let bb = ((aY / 100) * parseIntValue(aK[3]))
293294 let bc = (aY - (bb + ba))
294295 let bd = value(p.payments[4].amount)
295296 let be = (bd - ((bd / 1000) * 25))
296297 let bf = (bd - be)
297- let bg = ((bd / 100) * parseIntValue(aK[3]))
298+ let bg = ((bd / 100) * parseIntValue(aL[3]))
298299 let bh = (bd - (bg + bf))
299- if ((O > aF))
300+ if ((O > aG))
300301 then throw("Buyer does not have enough funds to complete the purchase.")
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))
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))
312313 then throw("sorry! maximum limit of your cart is 5 items")
313314 else nil
314315 }
315316
316317

github/deemru/w8io/026f985 
274.08 ms