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/ldVVW12gAQVpc05mdAEHYXNzZXRJZAQHJG1hdGNoMAkA7AcBBQdhc3NldElkAwkAAQIFByRtYXRjaDACBUFzc2V0BAV0b2tlbgUHJG1hdGNoMAMDCQAAAggFBXRva2VuCGRlY2ltYWxzAAAJAAACCAUFdG9rZW4IcXVhb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CRAwIFBG5mVDQAAQUJcmVhbGNvc3QzASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQkAkQMCBQRuZlQ0AAQFD3JveWFsaXR5QW1vdW50MwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4JAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBCQDZBAEJAJEDAgUEbmZUNQABBQlyZWFsY29zdDQBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQkA2QQBCQCRAwIFBG5mVDUABAUPcm95YWxpdHlBbW91bnQ0ASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgUDbmlsAwkAZgIJAJADAQUHbmZ0SW5mbwAFCQACAQItc29ycnkhIG1heGltdW0gbGltaXQgb2YgeW91ciAgY2FydCBpcyA1IGl0ZW1zBQNuaWwADV6xww==", "height": 2542467, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4sHLfftNdnHNVQHwbBmT64F1S2fSbCAEZiVie8F4tCNR Next: ATbZFVufrXAV62T8BbGqFZfdp2rA5CktDcQnxpvgzdXJ 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 = ((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)) | |
83 | 84 | if ((K == toString(p.caller))) | |
84 | 85 | then throw("current Owner of NFT not able to purchase") | |
85 | 86 | else if (if ((p.payments[0].assetId == f)) | |
86 | 87 | then (L != K) | |
87 | 88 | else false) | |
88 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
89 | 90 | else if (if ((p.payments[0].assetId == f)) | |
90 | 91 | then (L == K) | |
91 | 92 | else false) | |
93 | 94 | else if (if ((p.payments[0].assetId == unit)) | |
94 | 95 | then (L != K) | |
95 | 96 | else false) | |
96 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
97 | 98 | else if (if ((p.payments[0].assetId == unit)) | |
98 | 99 | then (L == K) | |
99 | 100 | else false) | |
104 | 105 | ||
105 | 106 | ||
106 | 107 | @Callable(p) | |
107 | - | func cancelSell ( | |
108 | + | func cancelSell (U) = { | |
108 | 109 | let C = toBase58String(p.transactionId) | |
109 | 110 | let F = p.caller.bytes | |
110 | - | [StringEntry(((C + | |
111 | + | [StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))] | |
111 | 112 | } | |
112 | 113 | ||
113 | 114 | ||
114 | 115 | ||
115 | 116 | @Callable(p) | |
116 | - | func addAuction ( | |
117 | + | func addAuction (V,W,X,Y,E) = { | |
117 | 118 | let C = toBase58String(p.transactionId) | |
118 | - | let | |
119 | - | let D = value( | |
120 | - | let | |
121 | - | let | |
122 | - | let | |
123 | - | let n = getString(this, (((toBase58String( | |
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))) | |
124 | 125 | if ($isInstanceOf(n, "String")) | |
125 | 126 | then { | |
126 | 127 | let N = n | |
128 | 129 | } | |
129 | 130 | else false | |
130 | 131 | } | |
131 | - | if (( | |
132 | + | if ((ab == true)) | |
132 | 133 | then throw("Already in auction list") | |
133 | - | else if (( | |
134 | + | else if ((Y > e)) | |
134 | 135 | then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e))) | |
135 | 136 | else if ((p.payments[0].assetId == unit)) | |
136 | 137 | then throw("NFT not attached") | |
137 | 138 | else if ((p.payments[0].assetId == f)) | |
138 | 139 | then throw("NFT not attached") | |
139 | - | else [StringEntry(((C + "nft_start_auction_date") + toBase58String( | |
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")] | |
140 | 141 | } | |
141 | 142 | ||
142 | 143 | ||
143 | 144 | ||
144 | 145 | @Callable(p) | |
145 | - | func placeBid ( | |
146 | + | func placeBid (ac,U,r,ad,ae) = { | |
146 | 147 | let C = toBase58String(p.transactionId) | |
147 | - | let | |
148 | - | let m = fromBase58String( | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | let | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | if (( | |
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")) | |
157 | 158 | then throw("Not open for auction") | |
158 | - | else if ((parseIntValue( | |
159 | + | else if ((parseIntValue(ah) >= ag)) | |
159 | 160 | then throw("Bid is less then starting/highest Bid") | |
160 | - | else if (( | |
161 | - | then [StringEntry(( | |
162 | - | else if (( | |
163 | - | then [ScriptTransfer(Address(fromBase58String( | |
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)] | |
164 | 165 | else nil | |
165 | 166 | } | |
166 | 167 | ||
167 | 168 | ||
168 | 169 | ||
169 | 170 | @Callable(p) | |
170 | - | func acceptBidOffer ( | |
171 | - | let | |
171 | + | func acceptBidOffer (ac,U,al,L,w,ae) = { | |
172 | + | let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
172 | 173 | let C = toBase58String(p.transactionId) | |
173 | - | let | |
174 | - | let | |
175 | - | let m = fromBase58String( | |
176 | - | let | |
177 | - | let | |
178 | - | let Q = ((parseIntValue( | |
179 | - | let R = ((parseIntValue( | |
180 | - | let | |
181 | - | let | |
182 | - | if (if (( | |
183 | - | then (toUtf8String( | |
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) | |
184 | 185 | else false) | |
185 | - | then [ScriptTransfer(Address( | |
186 | - | else if (if (( | |
187 | - | then (toUtf8String( | |
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) | |
188 | 189 | else false) | |
189 | - | then [ScriptTransfer(Address( | |
190 | - | else if (if (( | |
191 | - | then (toUtf8String( | |
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) | |
192 | 193 | else false) | |
193 | - | then [ScriptTransfer(Address( | |
194 | - | else if (if (( | |
195 | - | then (toUtf8String( | |
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) | |
196 | 197 | else false) | |
197 | - | then [ScriptTransfer(Address( | |
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")] | |
198 | 199 | else nil | |
199 | 200 | } | |
200 | 201 | ||
201 | 202 | ||
202 | 203 | ||
203 | 204 | @Callable(p) | |
204 | - | func cancelAuction ( | |
205 | + | func cancelAuction (ac) = { | |
205 | 206 | let C = toBase58String(p.transactionId) | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
212 | - | if (( | |
213 | - | then [StringEntry(((C + | |
214 | - | else if (( | |
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")) | |
215 | 216 | then throw("soory you can't cancel it because already auction placed by someone") | |
216 | 217 | else nil | |
217 | 218 | } | |
219 | 220 | ||
220 | 221 | ||
221 | 222 | @Callable(p) | |
222 | - | func manualFundTransfer ( | |
223 | - | let | |
224 | - | let | |
223 | + | func manualFundTransfer (aw,ax) = { | |
224 | + | let ay = p.caller.bytes | |
225 | + | let az = fromBase58String(aw) | |
225 | 226 | let O = p.payments[0].amount | |
226 | 227 | let Q = ((O / 1000) * 25) | |
227 | - | let | |
228 | + | let aA = (O - Q) | |
228 | 229 | if ((p.payments[0].assetId == unit)) | |
229 | - | then [IntegerEntry((toBase58String( | |
230 | + | then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)] | |
230 | 231 | else if ((p.payments[0].assetId == f)) | |
231 | - | then [IntegerEntry((toBase58String( | |
232 | + | then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)] | |
232 | 233 | else nil | |
233 | 234 | } | |
234 | 235 | ||
235 | 236 | ||
236 | 237 | ||
237 | 238 | @Callable(p) | |
238 | - | func nftback ( | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | [StringEntry(( | |
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))] | |
243 | 244 | } | |
244 | 245 | ||
245 | 246 | ||
246 | 247 | ||
247 | 248 | @Callable(p) | |
248 | - | func withdrawMoney ( | |
249 | - | let | |
250 | - | let | |
249 | + | func withdrawMoney (ac,ae) = { | |
250 | + | let aa = p.caller.bytes | |
251 | + | let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
251 | 252 | let C = toBase58String(p.transactionId) | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | if (( | |
257 | - | then [StringEntry(( | |
258 | - | else if (( | |
259 | - | then [StringEntry(( | |
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)] | |
260 | 261 | else nil | |
261 | 262 | } | |
262 | 263 | ||
263 | 264 | ||
264 | 265 | ||
265 | 266 | @Callable(p) | |
266 | - | func buyAllProducts_asimi ( | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
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], "_") | |
274 | 275 | let O = value(p.payments[0].amount) | |
275 | - | let | |
276 | - | let | |
277 | - | let R = ((O / 100) * parseIntValue( | |
278 | - | let | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let aS = ( | |
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)) | |
284 | 285 | let aT = value(p.payments[2].amount) | |
285 | 286 | let aU = (aT - ((aT / 1000) * 25)) | |
286 | 287 | let aV = (aT - aU) | |
287 | - | let aW = ((aT / 100) * parseIntValue( | |
288 | + | let aW = ((aT / 100) * parseIntValue(aJ[3])) | |
288 | 289 | let aX = (aT - (aW + aV)) | |
289 | 290 | let aY = value(p.payments[3].amount) | |
290 | 291 | let aZ = (aY - ((aY / 1000) * 25)) | |
291 | 292 | let ba = (aY - aZ) | |
292 | - | let bb = ((aY / 100) * parseIntValue( | |
293 | + | let bb = ((aY / 100) * parseIntValue(aK[3])) | |
293 | 294 | let bc = (aY - (bb + ba)) | |
294 | 295 | let bd = value(p.payments[4].amount) | |
295 | 296 | let be = (bd - ((bd / 1000) * 25)) | |
296 | 297 | let bf = (bd - be) | |
297 | - | let bg = ((bd / 100) * parseIntValue( | |
298 | + | let bg = ((bd / 100) * parseIntValue(aL[3])) | |
298 | 299 | let bh = (bd - (bg + bf)) | |
299 | - | if ((O > | |
300 | + | if ((O > aG)) | |
300 | 301 | then throw("Buyer does not have enough funds to complete the purchase.") | |
301 | - | else if ((size( | |
302 | - | then [StringEntry((((("first_nft_Info=" + "nftId") + | |
303 | - | else if ((size( | |
304 | - | then [StringEntry((((((("first | |
305 | - | else if ((size( | |
306 | - | then [StringEntry((((((("first | |
307 | - | else if ((size( | |
308 | - | then [StringEntry((((((("first | |
309 | - | else if ((size( | |
310 | - | then [StringEntry((((((("first | |
311 | - | else if ((size( | |
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)) | |
312 | 313 | then throw("sorry! maximum limit of your cart is 5 items") | |
313 | 314 | else nil | |
314 | 315 | } |
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 = ((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)) | |
83 | 84 | if ((K == toString(p.caller))) | |
84 | 85 | then throw("current Owner of NFT not able to purchase") | |
85 | 86 | else if (if ((p.payments[0].assetId == f)) | |
86 | 87 | then (L != K) | |
87 | 88 | else false) | |
88 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
89 | 90 | else if (if ((p.payments[0].assetId == f)) | |
90 | 91 | then (L == K) | |
91 | 92 | else false) | |
92 | 93 | 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))] | |
93 | 94 | else if (if ((p.payments[0].assetId == unit)) | |
94 | 95 | then (L != K) | |
95 | 96 | else false) | |
96 | - | then [ScriptTransfer(p.caller, 1, m), ScriptTransfer(Address(fromBase58String(K)), | |
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))] | |
97 | 98 | else if (if ((p.payments[0].assetId == unit)) | |
98 | 99 | then (L == K) | |
99 | 100 | else false) | |
100 | 101 | 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))] | |
101 | 102 | else nil | |
102 | 103 | } | |
103 | 104 | ||
104 | 105 | ||
105 | 106 | ||
106 | 107 | @Callable(p) | |
107 | - | func cancelSell ( | |
108 | + | func cancelSell (U) = { | |
108 | 109 | let C = toBase58String(p.transactionId) | |
109 | 110 | let F = p.caller.bytes | |
110 | - | [StringEntry(((C + | |
111 | + | [StringEntry(((C + U) + "_nft_status"), "CANCELED"), ScriptTransfer(Address(F), 1, fromBase58String(U))] | |
111 | 112 | } | |
112 | 113 | ||
113 | 114 | ||
114 | 115 | ||
115 | 116 | @Callable(p) | |
116 | - | func addAuction ( | |
117 | + | func addAuction (V,W,X,Y,E) = { | |
117 | 118 | let C = toBase58String(p.transactionId) | |
118 | - | let | |
119 | - | let D = value( | |
120 | - | let | |
121 | - | let | |
122 | - | let | |
123 | - | let n = getString(this, (((toBase58String( | |
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))) | |
124 | 125 | if ($isInstanceOf(n, "String")) | |
125 | 126 | then { | |
126 | 127 | let N = n | |
127 | 128 | true | |
128 | 129 | } | |
129 | 130 | else false | |
130 | 131 | } | |
131 | - | if (( | |
132 | + | if ((ab == true)) | |
132 | 133 | then throw("Already in auction list") | |
133 | - | else if (( | |
134 | + | else if ((Y > e)) | |
134 | 135 | then throw(("Duration is too long. Must be less than or equal to 30 " + toString(e))) | |
135 | 136 | else if ((p.payments[0].assetId == unit)) | |
136 | 137 | then throw("NFT not attached") | |
137 | 138 | else if ((p.payments[0].assetId == f)) | |
138 | 139 | then throw("NFT not attached") | |
139 | - | else [StringEntry(((C + "nft_start_auction_date") + toBase58String( | |
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")] | |
140 | 141 | } | |
141 | 142 | ||
142 | 143 | ||
143 | 144 | ||
144 | 145 | @Callable(p) | |
145 | - | func placeBid ( | |
146 | + | func placeBid (ac,U,r,ad,ae) = { | |
146 | 147 | let C = toBase58String(p.transactionId) | |
147 | - | let | |
148 | - | let m = fromBase58String( | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | let | |
153 | - | let | |
154 | - | let | |
155 | - | let | |
156 | - | if (( | |
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")) | |
157 | 158 | then throw("Not open for auction") | |
158 | - | else if ((parseIntValue( | |
159 | + | else if ((parseIntValue(ah) >= ag)) | |
159 | 160 | then throw("Bid is less then starting/highest Bid") | |
160 | - | else if (( | |
161 | - | then [StringEntry(( | |
162 | - | else if (( | |
163 | - | then [ScriptTransfer(Address(fromBase58String( | |
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)] | |
164 | 165 | else nil | |
165 | 166 | } | |
166 | 167 | ||
167 | 168 | ||
168 | 169 | ||
169 | 170 | @Callable(p) | |
170 | - | func acceptBidOffer ( | |
171 | - | let | |
171 | + | func acceptBidOffer (ac,U,al,L,w,ae) = { | |
172 | + | let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
172 | 173 | let C = toBase58String(p.transactionId) | |
173 | - | let | |
174 | - | let | |
175 | - | let m = fromBase58String( | |
176 | - | let | |
177 | - | let | |
178 | - | let Q = ((parseIntValue( | |
179 | - | let R = ((parseIntValue( | |
180 | - | let | |
181 | - | let | |
182 | - | if (if (( | |
183 | - | then (toUtf8String( | |
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) | |
184 | 185 | else false) | |
185 | - | then [ScriptTransfer(Address( | |
186 | - | else if (if (( | |
187 | - | then (toUtf8String( | |
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) | |
188 | 189 | else false) | |
189 | - | then [ScriptTransfer(Address( | |
190 | - | else if (if (( | |
191 | - | then (toUtf8String( | |
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) | |
192 | 193 | else false) | |
193 | - | then [ScriptTransfer(Address( | |
194 | - | else if (if (( | |
195 | - | then (toUtf8String( | |
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) | |
196 | 197 | else false) | |
197 | - | then [ScriptTransfer(Address( | |
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")] | |
198 | 199 | else nil | |
199 | 200 | } | |
200 | 201 | ||
201 | 202 | ||
202 | 203 | ||
203 | 204 | @Callable(p) | |
204 | - | func cancelAuction ( | |
205 | + | func cancelAuction (ac) = { | |
205 | 206 | let C = toBase58String(p.transactionId) | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let | |
211 | - | let | |
212 | - | if (( | |
213 | - | then [StringEntry(((C + | |
214 | - | else if (( | |
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")) | |
215 | 216 | then throw("soory you can't cancel it because already auction placed by someone") | |
216 | 217 | else nil | |
217 | 218 | } | |
218 | 219 | ||
219 | 220 | ||
220 | 221 | ||
221 | 222 | @Callable(p) | |
222 | - | func manualFundTransfer ( | |
223 | - | let | |
224 | - | let | |
223 | + | func manualFundTransfer (aw,ax) = { | |
224 | + | let ay = p.caller.bytes | |
225 | + | let az = fromBase58String(aw) | |
225 | 226 | let O = p.payments[0].amount | |
226 | 227 | let Q = ((O / 1000) * 25) | |
227 | - | let | |
228 | + | let aA = (O - Q) | |
228 | 229 | if ((p.payments[0].assetId == unit)) | |
229 | - | then [IntegerEntry((toBase58String( | |
230 | + | then [IntegerEntry((toBase58String(ay) + "_transfer"), O), StringEntry("platform_fee", toString(Q)), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, unit)] | |
230 | 231 | else if ((p.payments[0].assetId == f)) | |
231 | - | then [IntegerEntry((toBase58String( | |
232 | + | then [IntegerEntry((toBase58String(ay) + "_transfer"), O), IntegerEntry("platform_fee", Q), StringEntry((toBase58String(ay) + "_transfer_to"), aw), ScriptTransfer(Address(az), aA, f)] | |
232 | 233 | else nil | |
233 | 234 | } | |
234 | 235 | ||
235 | 236 | ||
236 | 237 | ||
237 | 238 | @Callable(p) | |
238 | - | func nftback ( | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | [StringEntry(( | |
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))] | |
243 | 244 | } | |
244 | 245 | ||
245 | 246 | ||
246 | 247 | ||
247 | 248 | @Callable(p) | |
248 | - | func withdrawMoney ( | |
249 | - | let | |
250 | - | let | |
249 | + | func withdrawMoney (ac,ae) = { | |
250 | + | let aa = p.caller.bytes | |
251 | + | let am = "9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq" | |
251 | 252 | let C = toBase58String(p.transactionId) | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | if (( | |
257 | - | then [StringEntry(( | |
258 | - | else if (( | |
259 | - | then [StringEntry(( | |
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)] | |
260 | 261 | else nil | |
261 | 262 | } | |
262 | 263 | ||
263 | 264 | ||
264 | 265 | ||
265 | 266 | @Callable(p) | |
266 | - | func buyAllProducts_asimi ( | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
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], "_") | |
274 | 275 | let O = value(p.payments[0].amount) | |
275 | - | let | |
276 | - | let | |
277 | - | let R = ((O / 100) * parseIntValue( | |
278 | - | let | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let aS = ( | |
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)) | |
284 | 285 | let aT = value(p.payments[2].amount) | |
285 | 286 | let aU = (aT - ((aT / 1000) * 25)) | |
286 | 287 | let aV = (aT - aU) | |
287 | - | let aW = ((aT / 100) * parseIntValue( | |
288 | + | let aW = ((aT / 100) * parseIntValue(aJ[3])) | |
288 | 289 | let aX = (aT - (aW + aV)) | |
289 | 290 | let aY = value(p.payments[3].amount) | |
290 | 291 | let aZ = (aY - ((aY / 1000) * 25)) | |
291 | 292 | let ba = (aY - aZ) | |
292 | - | let bb = ((aY / 100) * parseIntValue( | |
293 | + | let bb = ((aY / 100) * parseIntValue(aK[3])) | |
293 | 294 | let bc = (aY - (bb + ba)) | |
294 | 295 | let bd = value(p.payments[4].amount) | |
295 | 296 | let be = (bd - ((bd / 1000) * 25)) | |
296 | 297 | let bf = (bd - be) | |
297 | - | let bg = ((bd / 100) * parseIntValue( | |
298 | + | let bg = ((bd / 100) * parseIntValue(aL[3])) | |
298 | 299 | let bh = (bd - (bg + bf)) | |
299 | - | if ((O > | |
300 | + | if ((O > aG)) | |
300 | 301 | then throw("Buyer does not have enough funds to complete the purchase.") | |
301 | - | else if ((size( | |
302 | - | then [StringEntry((((("first_nft_Info=" + "nftId") + | |
303 | - | else if ((size( | |
304 | - | then [StringEntry((((((("first | |
305 | - | else if ((size( | |
306 | - | then [StringEntry((((((("first | |
307 | - | else if ((size( | |
308 | - | then [StringEntry((((((("first | |
309 | - | else if ((size( | |
310 | - | then [StringEntry((((((("first | |
311 | - | else if ((size( | |
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)) | |
312 | 313 | then throw("sorry! maximum limit of your cart is 5 items") | |
313 | 314 | else nil | |
314 | 315 | } | |
315 | 316 | ||
316 | 317 |
github/deemru/w8io/026f985 274.08 ms ◑