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/ldVVW12gAQVpc05mdAEHYXNzZXRJZAQHJG1hdGNoMAkA7AcBBQdhc3NldElkAwkAAQIFByRtYXRjaDACBUFzc2V0BAV0b2tlbgUHJG1hdGNoMAMDCQAAAggFBXRva2VuCGRlY2ltYWxzAAAJAAACCAUFdG9rZW4IcXVhbnRpdHk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saXR5QW1vdW50MgEghWOVo/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:
Old | New | Differences | |
---|---|---|---|
78 | 78 | let O = value(p.payments[0].amount) | |
79 | 79 | let P = (O - ((O / 1000) * 25)) | |
80 | 80 | 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)) | |
84 | 83 | if ((K == toString(p.caller))) | |
85 | 84 | then throw("current Owner of NFT not able to purchase") | |
86 | 85 | else if (if ((p.payments[0].assetId == f)) | |
87 | 86 | then (L != K) | |
88 | 87 | else false) | |
89 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
90 | 89 | else if (if ((p.payments[0].assetId == f)) | |
91 | 90 | then (L == K) | |
92 | 91 | else false) | |
94 | 93 | else if (if ((p.payments[0].assetId == unit)) | |
95 | 94 | then (L != K) | |
96 | 95 | else false) | |
97 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
98 | 97 | else if (if ((p.payments[0].assetId == unit)) | |
99 | 98 | then (L == K) | |
100 | 99 | else false) | |
105 | 104 | ||
106 | 105 | ||
107 | 106 | @Callable(p) | |
108 | - | func cancelSell ( | |
107 | + | func cancelSell (T) = { | |
109 | 108 | let C = toBase58String(p.transactionId) | |
110 | 109 | let F = p.caller.bytes | |
111 | - | [StringEntry(((C + | |
110 | + | [StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))] | |
112 | 111 | } | |
113 | 112 | ||
114 | 113 | ||
115 | 114 | ||
116 | 115 | @Callable(p) | |
117 | - | func addAuction (V,W,X | |
116 | + | func addAuction (U,V,W,X,E) = { | |
118 | 117 | let C = toBase58String(p.transactionId) | |
119 | - | let | |
120 | - | let D = value( | |
121 | - | let | |
122 | - | let | |
123 | - | let | |
124 | - | let n = getString(this, (((toBase58String( | |
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))) | |
125 | 124 | if ($isInstanceOf(n, "String")) | |
126 | 125 | then { | |
127 | 126 | let N = n | |
129 | 128 | } | |
130 | 129 | else false | |
131 | 130 | } | |
132 | - | if (( | |
131 | + | if ((aa == true)) | |
133 | 132 | then throw("Already in auction list") | |
134 | - | else if (( | |
133 | + | else if ((X > e)) | |
135 | 134 | then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e))) | |
136 | 135 | else if ((p.payments[0].assetId == unit)) | |
137 | 136 | then throw("NFT not attached") | |
138 | 137 | else if ((p.payments[0].assetId == f)) | |
139 | 138 | then throw("NFT not attached") | |
140 | - | else [StringEntry(((C + "nft_start_auction_date") + toBase58String( | |
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")] | |
141 | 140 | } | |
142 | 141 | ||
143 | 142 | ||
144 | 143 | ||
145 | 144 | @Callable(p) | |
146 | - | func placeBid ( | |
145 | + | func placeBid (ab,T,r,ac,ad) = { | |
147 | 146 | let C = toBase58String(p.transactionId) | |
148 | - | let | |
149 | - | let m = fromBase58String( | |
150 | - | let | |
151 | - | let | |
152 | - | let | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | let | |
157 | - | if (( | |
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")) | |
158 | 157 | then throw("Not open for auction") | |
159 | - | else if ((parseIntValue( | |
158 | + | else if ((parseIntValue(ag) >= af)) | |
160 | 159 | then throw("Bid is less then starting/highest Bid") | |
161 | - | else if (( | |
162 | - | then [StringEntry(( | |
163 | - | else if (( | |
164 | - | then [ScriptTransfer(Address(fromBase58String( | |
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)] | |
165 | 164 | else nil | |
166 | 165 | } | |
167 | 166 | ||
168 | 167 | ||
169 | 168 | ||
170 | 169 | @Callable(p) | |
171 | - | func acceptBidOffer ( | |
172 | - | let | |
170 | + | func acceptBidOffer (ab,T,ak,L,w,ad) = { | |
171 | + | let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
173 | 172 | let C = toBase58String(p.transactionId) | |
174 | - | let | |
175 | - | let | |
176 | - | let m = fromBase58String( | |
177 | - | let | |
178 | - | let | |
179 | - | let Q = ((parseIntValue( | |
180 | - | let R = ((parseIntValue( | |
181 | - | let | |
182 | - | let | |
183 | - | if (if (( | |
184 | - | then (toUtf8String( | |
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) | |
185 | 184 | else false) | |
186 | - | then [ScriptTransfer(Address( | |
187 | - | else if (if (( | |
188 | - | then (toUtf8String( | |
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) | |
189 | 188 | else false) | |
190 | - | then [ScriptTransfer(Address( | |
191 | - | else if (if (( | |
192 | - | then (toUtf8String( | |
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) | |
193 | 192 | else false) | |
194 | - | then [ScriptTransfer(Address( | |
195 | - | else if (if (( | |
196 | - | then (toUtf8String( | |
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) | |
197 | 196 | else false) | |
198 | - | then [ScriptTransfer(Address( | |
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")] | |
199 | 198 | else nil | |
200 | 199 | } | |
201 | 200 | ||
202 | 201 | ||
203 | 202 | ||
204 | 203 | @Callable(p) | |
205 | - | func cancelAuction ( | |
204 | + | func cancelAuction (ab) = { | |
206 | 205 | let C = toBase58String(p.transactionId) | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
212 | - | let | |
213 | - | if (( | |
214 | - | then [StringEntry(((C + | |
215 | - | else if (( | |
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")) | |
216 | 215 | then throw("soory you can't cancel it because already auction placed by someone") | |
217 | 216 | else nil | |
218 | 217 | } | |
220 | 219 | ||
221 | 220 | ||
222 | 221 | @Callable(p) | |
223 | - | func manualFundTransfer (aw | |
224 | - | let | |
225 | - | let | |
222 | + | func manualFundTransfer (av,aw) = { | |
223 | + | let ax = p.caller.bytes | |
224 | + | let ay = fromBase58String(av) | |
226 | 225 | let O = p.payments[0].amount | |
227 | 226 | let Q = ((O / 1000) * 25) | |
228 | - | let | |
227 | + | let az = (O - Q) | |
229 | 228 | if ((p.payments[0].assetId == unit)) | |
230 | - | then [IntegerEntry((toBase58String( | |
229 | + | then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)] | |
231 | 230 | else if ((p.payments[0].assetId == f)) | |
232 | - | then [IntegerEntry((toBase58String( | |
231 | + | then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)] | |
233 | 232 | else nil | |
234 | 233 | } | |
235 | 234 | ||
236 | 235 | ||
237 | 236 | ||
238 | 237 | @Callable(p) | |
239 | - | func nftback ( | |
240 | - | let | |
241 | - | let | |
242 | - | let | |
243 | - | [StringEntry(( | |
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))] | |
244 | 243 | } | |
245 | 244 | ||
246 | 245 | ||
247 | 246 | ||
248 | 247 | @Callable(p) | |
249 | - | func withdrawMoney ( | |
250 | - | let | |
251 | - | let | |
248 | + | func withdrawMoney (ab,ad) = { | |
249 | + | let Z = p.caller.bytes | |
250 | + | let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
252 | 251 | let C = toBase58String(p.transactionId) | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | if (( | |
258 | - | then [StringEntry(( | |
259 | - | else if (( | |
260 | - | then [StringEntry(( | |
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)] | |
261 | 260 | else nil | |
262 | 261 | } | |
263 | 262 | ||
264 | 263 | ||
265 | 264 | ||
266 | 265 | @Callable(p) | |
267 | - | func buyAllProducts_asimi ( | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
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], "_") | |
275 | 274 | let O = value(p.payments[0].amount) | |
276 | - | let | |
277 | - | let | |
278 | - | let R = ((O / 100) * parseIntValue( | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | let aS = ( | |
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)) | |
285 | 284 | let aT = value(p.payments[2].amount) | |
286 | 285 | let aU = (aT - ((aT / 1000) * 25)) | |
287 | 286 | let aV = (aT - aU) | |
288 | - | let aW = ((aT / 100) * parseIntValue( | |
287 | + | let aW = ((aT / 100) * parseIntValue(aI[3])) | |
289 | 288 | let aX = (aT - (aW + aV)) | |
290 | 289 | let aY = value(p.payments[3].amount) | |
291 | 290 | let aZ = (aY - ((aY / 1000) * 25)) | |
292 | 291 | let ba = (aY - aZ) | |
293 | - | let bb = ((aY / 100) * parseIntValue( | |
292 | + | let bb = ((aY / 100) * parseIntValue(aJ[3])) | |
294 | 293 | let bc = (aY - (bb + ba)) | |
295 | 294 | let bd = value(p.payments[4].amount) | |
296 | 295 | let be = (bd - ((bd / 1000) * 25)) | |
297 | 296 | let bf = (bd - be) | |
298 | - | let bg = ((bd / 100) * parseIntValue( | |
297 | + | let bg = ((bd / 100) * parseIntValue(aK[3])) | |
299 | 298 | let bh = (bd - (bg + bf)) | |
300 | - | if ((O > | |
299 | + | if ((O > aF)) | |
301 | 300 | then throw("Buyer does not have enough funds to complete the purchase.") | |
302 | - | else if ((size( | |
303 | - | then [StringEntry((((("first_nft_Info=" + "nftId") + | |
304 | - | else if ((size( | |
305 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
306 | - | else if ((size( | |
307 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
308 | - | else if ((size( | |
309 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
310 | - | else if ((size( | |
311 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
312 | - | else if ((size( | |
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)) | |
313 | 312 | then throw("sorry! maximum limit of your cart is 5 items") | |
314 | 313 | else nil | |
315 | 314 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "_" | |
5 | 5 | ||
6 | 6 | let b = "buy" | |
7 | 7 | ||
8 | 8 | let c = "price" | |
9 | 9 | ||
10 | 10 | let d = "sell" | |
11 | 11 | ||
12 | 12 | let e = 30 | |
13 | 13 | ||
14 | 14 | let f = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' | |
15 | 15 | ||
16 | 16 | let g = base58'' | |
17 | 17 | ||
18 | 18 | let h = "bid" | |
19 | 19 | ||
20 | 20 | let i = true | |
21 | 21 | ||
22 | 22 | let j = $Tuple4("OPEN", "CLOSED", "REWARDED", "CANCELED") | |
23 | 23 | ||
24 | 24 | let k = base58'3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq' | |
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = assetInfo(m) | |
28 | 28 | if ($isInstanceOf(n, "Asset")) | |
29 | 29 | then { | |
30 | 30 | let o = n | |
31 | 31 | if (if ((o.decimals == 0)) | |
32 | 32 | then (o.quantity == 1) | |
33 | 33 | else false) | |
34 | 34 | then (o.reissuable == false) | |
35 | 35 | else false | |
36 | 36 | } | |
37 | 37 | else false | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | @Callable(p) | |
42 | 42 | func createNft (q,r,s,t,u,v,w,x,y,z) = { | |
43 | 43 | let A = Issue(q, x, 1, 0, false) | |
44 | 44 | let B = calculateAssetId(A) | |
45 | 45 | let C = p.transactionId | |
46 | 46 | [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))] | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | ||
51 | 51 | @Callable(p) | |
52 | 52 | func sellNFT (D,E) = { | |
53 | 53 | let C = p.transactionId | |
54 | 54 | let F = p.caller.bytes | |
55 | 55 | let G = $Tuple2(value(p.payments[0].assetId), value(p.payments[0].amount)) | |
56 | 56 | let H = G._1 | |
57 | 57 | let I = G._2 | |
58 | 58 | if (!(l(H))) | |
59 | 59 | then throw("Token is not NFT") | |
60 | 60 | else [StringEntry(((c + a) + toBase58String(value(p.payments[0].assetId))), D), StringEntry(((toString(p.caller) + a) + d), (((toBase58String(H) + a) + toString(I)) + E))] | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | ||
65 | 65 | @Callable(p) | |
66 | 66 | func buyNFT (J,K,L,w) = { | |
67 | 67 | let m = fromBase58String(J) | |
68 | 68 | let M = { | |
69 | 69 | let n = getString(this, (("nft_" + K) + "_owner")) | |
70 | 70 | if ($isInstanceOf(n, "String")) | |
71 | 71 | then { | |
72 | 72 | let N = n | |
73 | 73 | N | |
74 | 74 | } | |
75 | 75 | else false | |
76 | 76 | } | |
77 | 77 | let D = getStringValue(((((c + a) + J) + "_") + K)) | |
78 | 78 | let O = value(p.payments[0].amount) | |
79 | 79 | let P = (O - ((O / 1000) * 25)) | |
80 | 80 | 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)) | |
84 | 83 | if ((K == toString(p.caller))) | |
85 | 84 | then throw("current Owner of NFT not able to purchase") | |
86 | 85 | else if (if ((p.payments[0].assetId == f)) | |
87 | 86 | then (L != K) | |
88 | 87 | else false) | |
89 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
90 | 89 | else if (if ((p.payments[0].assetId == f)) | |
91 | 90 | then (L == K) | |
92 | 91 | else false) | |
93 | 92 | 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))] | |
94 | 93 | else if (if ((p.payments[0].assetId == unit)) | |
95 | 94 | then (L != K) | |
96 | 95 | else false) | |
97 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
98 | 97 | else if (if ((p.payments[0].assetId == unit)) | |
99 | 98 | then (L == K) | |
100 | 99 | else false) | |
101 | 100 | 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))] | |
102 | 101 | else nil | |
103 | 102 | } | |
104 | 103 | ||
105 | 104 | ||
106 | 105 | ||
107 | 106 | @Callable(p) | |
108 | - | func cancelSell ( | |
107 | + | func cancelSell (T) = { | |
109 | 108 | let C = toBase58String(p.transactionId) | |
110 | 109 | let F = p.caller.bytes | |
111 | - | [StringEntry(((C + | |
110 | + | [StringEntry(((C + T) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(T))] | |
112 | 111 | } | |
113 | 112 | ||
114 | 113 | ||
115 | 114 | ||
116 | 115 | @Callable(p) | |
117 | - | func addAuction (V,W,X | |
116 | + | func addAuction (U,V,W,X,E) = { | |
118 | 117 | let C = toBase58String(p.transactionId) | |
119 | - | let | |
120 | - | let D = value( | |
121 | - | let | |
122 | - | let | |
123 | - | let | |
124 | - | let n = getString(this, (((toBase58String( | |
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))) | |
125 | 124 | if ($isInstanceOf(n, "String")) | |
126 | 125 | then { | |
127 | 126 | let N = n | |
128 | 127 | true | |
129 | 128 | } | |
130 | 129 | else false | |
131 | 130 | } | |
132 | - | if (( | |
131 | + | if ((aa == true)) | |
133 | 132 | then throw("Already in auction list") | |
134 | - | else if (( | |
133 | + | else if ((X > e)) | |
135 | 134 | then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e))) | |
136 | 135 | else if ((p.payments[0].assetId == unit)) | |
137 | 136 | then throw("NFT not attached") | |
138 | 137 | else if ((p.payments[0].assetId == f)) | |
139 | 138 | then throw("NFT not attached") | |
140 | - | else [StringEntry(((C + "nft_start_auction_date") + toBase58String( | |
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")] | |
141 | 140 | } | |
142 | 141 | ||
143 | 142 | ||
144 | 143 | ||
145 | 144 | @Callable(p) | |
146 | - | func placeBid ( | |
145 | + | func placeBid (ab,T,r,ac,ad) = { | |
147 | 146 | let C = toBase58String(p.transactionId) | |
148 | - | let | |
149 | - | let m = fromBase58String( | |
150 | - | let | |
151 | - | let | |
152 | - | let | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | let | |
157 | - | if (( | |
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")) | |
158 | 157 | then throw("Not open for auction") | |
159 | - | else if ((parseIntValue( | |
158 | + | else if ((parseIntValue(ag) >= af)) | |
160 | 159 | then throw("Bid is less then starting/highest Bid") | |
161 | - | else if (( | |
162 | - | then [StringEntry(( | |
163 | - | else if (( | |
164 | - | then [ScriptTransfer(Address(fromBase58String( | |
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)] | |
165 | 164 | else nil | |
166 | 165 | } | |
167 | 166 | ||
168 | 167 | ||
169 | 168 | ||
170 | 169 | @Callable(p) | |
171 | - | func acceptBidOffer ( | |
172 | - | let | |
170 | + | func acceptBidOffer (ab,T,ak,L,w,ad) = { | |
171 | + | let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
173 | 172 | let C = toBase58String(p.transactionId) | |
174 | - | let | |
175 | - | let | |
176 | - | let m = fromBase58String( | |
177 | - | let | |
178 | - | let | |
179 | - | let Q = ((parseIntValue( | |
180 | - | let R = ((parseIntValue( | |
181 | - | let | |
182 | - | let | |
183 | - | if (if (( | |
184 | - | then (toUtf8String( | |
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) | |
185 | 184 | else false) | |
186 | - | then [ScriptTransfer(Address( | |
187 | - | else if (if (( | |
188 | - | then (toUtf8String( | |
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) | |
189 | 188 | else false) | |
190 | - | then [ScriptTransfer(Address( | |
191 | - | else if (if (( | |
192 | - | then (toUtf8String( | |
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) | |
193 | 192 | else false) | |
194 | - | then [ScriptTransfer(Address( | |
195 | - | else if (if (( | |
196 | - | then (toUtf8String( | |
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) | |
197 | 196 | else false) | |
198 | - | then [ScriptTransfer(Address( | |
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")] | |
199 | 198 | else nil | |
200 | 199 | } | |
201 | 200 | ||
202 | 201 | ||
203 | 202 | ||
204 | 203 | @Callable(p) | |
205 | - | func cancelAuction ( | |
204 | + | func cancelAuction (ab) = { | |
206 | 205 | let C = toBase58String(p.transactionId) | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
212 | - | let | |
213 | - | if (( | |
214 | - | then [StringEntry(((C + | |
215 | - | else if (( | |
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")) | |
216 | 215 | then throw("soory you can't cancel it because already auction placed by someone") | |
217 | 216 | else nil | |
218 | 217 | } | |
219 | 218 | ||
220 | 219 | ||
221 | 220 | ||
222 | 221 | @Callable(p) | |
223 | - | func manualFundTransfer (aw | |
224 | - | let | |
225 | - | let | |
222 | + | func manualFundTransfer (av,aw) = { | |
223 | + | let ax = p.caller.bytes | |
224 | + | let ay = fromBase58String(av) | |
226 | 225 | let O = p.payments[0].amount | |
227 | 226 | let Q = ((O / 1000) * 25) | |
228 | - | let | |
227 | + | let az = (O - Q) | |
229 | 228 | if ((p.payments[0].assetId == unit)) | |
230 | - | then [IntegerEntry((toBase58String( | |
229 | + | then [IntegerEntry((toBase58String(ax) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, unit)] | |
231 | 230 | else if ((p.payments[0].assetId == f)) | |
232 | - | then [IntegerEntry((toBase58String( | |
231 | + | then [IntegerEntry((toBase58String(ax) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ax) + "_transfer_to"), av), ScriptTransfer(Address(ay), az, f)] | |
233 | 232 | else nil | |
234 | 233 | } | |
235 | 234 | ||
236 | 235 | ||
237 | 236 | ||
238 | 237 | @Callable(p) | |
239 | - | func nftback ( | |
240 | - | let | |
241 | - | let | |
242 | - | let | |
243 | - | [StringEntry(( | |
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))] | |
244 | 243 | } | |
245 | 244 | ||
246 | 245 | ||
247 | 246 | ||
248 | 247 | @Callable(p) | |
249 | - | func withdrawMoney ( | |
250 | - | let | |
251 | - | let | |
248 | + | func withdrawMoney (ab,ad) = { | |
249 | + | let Z = p.caller.bytes | |
250 | + | let al = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
252 | 251 | let C = toBase58String(p.transactionId) | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | if (( | |
258 | - | then [StringEntry(( | |
259 | - | else if (( | |
260 | - | then [StringEntry(( | |
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)] | |
261 | 260 | else nil | |
262 | 261 | } | |
263 | 262 | ||
264 | 263 | ||
265 | 264 | ||
266 | 265 | @Callable(p) | |
267 | - | func buyAllProducts_asimi ( | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
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], "_") | |
275 | 274 | let O = value(p.payments[0].amount) | |
276 | - | let | |
277 | - | let | |
278 | - | let R = ((O / 100) * parseIntValue( | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | let aS = ( | |
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)) | |
285 | 284 | let aT = value(p.payments[2].amount) | |
286 | 285 | let aU = (aT - ((aT / 1000) * 25)) | |
287 | 286 | let aV = (aT - aU) | |
288 | - | let aW = ((aT / 100) * parseIntValue( | |
287 | + | let aW = ((aT / 100) * parseIntValue(aI[3])) | |
289 | 288 | let aX = (aT - (aW + aV)) | |
290 | 289 | let aY = value(p.payments[3].amount) | |
291 | 290 | let aZ = (aY - ((aY / 1000) * 25)) | |
292 | 291 | let ba = (aY - aZ) | |
293 | - | let bb = ((aY / 100) * parseIntValue( | |
292 | + | let bb = ((aY / 100) * parseIntValue(aJ[3])) | |
294 | 293 | let bc = (aY - (bb + ba)) | |
295 | 294 | let bd = value(p.payments[4].amount) | |
296 | 295 | let be = (bd - ((bd / 1000) * 25)) | |
297 | 296 | let bf = (bd - be) | |
298 | - | let bg = ((bd / 100) * parseIntValue( | |
297 | + | let bg = ((bd / 100) * parseIntValue(aK[3])) | |
299 | 298 | let bh = (bd - (bg + bf)) | |
300 | - | if ((O > | |
299 | + | if ((O > aF)) | |
301 | 300 | then throw("Buyer does not have enough funds to complete the purchase.") | |
302 | - | else if ((size( | |
303 | - | then [StringEntry((((("first_nft_Info=" + "nftId") + | |
304 | - | else if ((size( | |
305 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
306 | - | else if ((size( | |
307 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
308 | - | else if ((size( | |
309 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
310 | - | else if ((size( | |
311 | - | then [StringEntry((((((("first_nft_Info=" + "nftId") + aH[0]) + "seller_address") + aH[1]) + "price") + aH[2]), ("buyer" + toString( | |
312 | - | else if ((size( | |
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)) | |
313 | 312 | then throw("sorry! maximum limit of your cart is 5 items") | |
314 | 313 | else nil | |
315 | 314 | } | |
316 | 315 | ||
317 | 316 |
github/deemru/w8io/026f985 258.87 ms ◑