tx · CW19mafaApDWgqjrCP9aDtz7TYSugqWeV7Zg1ZazPLhT

3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq:  -0.50000000 Waves

2022.12.02 15:00 [2342703] smart account 3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq > SELF 0.00000000 Waves

{ "type": 13, "id": "CW19mafaApDWgqjrCP9aDtz7TYSugqWeV7Zg1ZazPLhT", "fee": 50000000, "feeAssetId": null, "timestamp": 1669982480840, "version": 2, "chainId": 84, "sender": "3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq", "senderPublicKey": "H6UqxUDcJamDRg1uykVcWMn4zhAMTV7i1nfPq1moLWmJ", "proofs": [ "2z1FJ5UJTYX7gU5A3aXLxdj1qDidPLEPtMBwiVyASJrfgyFE4hXBnMJCKezgVev19rpRSVGzuyk91gbmHZDG1dmJ" ], "script": "base64:BgI2CAISCwoJCAgICAgBCAgIEgMKAQgSBAoCCAgSBgoECAgBARIGCgQICAgBEgUKAwgIARIDCgEIKQAJc2VwYXJhdG9yAgFfAAhrQXVjdGlvbgIHYXVjdGlvbgAFa1NlbGwCBHNlbGwACGtUcnVzdGVkAgd0cnVzdGVkAAZrUHJpY2UCBXByaWNlAQpnZXRTbG90S2V5AgZwcmVmaXgFbmZ0SWQJAKwCAgkArAICBQZwcmVmaXgFCXNlcGFyYXRvcgkA2AQBBQVuZnRJZAELZ2V0UHJpY2VLZXkBBW5mdElkCQCsAgIJAKwCAgUGa1ByaWNlBQlzZXBhcmF0b3IJANgEAQUFbmZ0SWQBCmdldFNlbGxLZXkBBW5mdElkCQCsAgIJAKwCAgUFa1NlbGwFCXNlcGFyYXRvcgkA2AQBBQVuZnRJZAENZ2V0QXVjdGlvbktleQEFbmZ0SWQJAKwCAgkArAICBQhrQXVjdGlvbgUJc2VwYXJhdG9yCQDYBAEFBW5mdElkAQ1nZXRUcnVzdGVkS2V5AQZpc3N1ZXIJAKwCAgkArAICBQhrVHJ1c3RlZAUJc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CAIJAQtTdHJpbmdFbnRyeQICA2JpZAUEZGF0YQUDbmlsAO+tKng=", "height": 2342703, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2sxwX5k4Ekob3Y9QTCCwd5GzQstuk1BDmyswAkv6hr8T Next: 6oyJSaweKL89mRP1ndhwPQForriwqZAqf4eFtxahpUFB Diff:
OldNewDifferences
339339 let aU = toBase58String(aI.transactionId)
340340 let am = aI.caller.bytes
341341 let T = fromBase58String(h)
342+ let ba = 1
342343 let bf = {
343344 let F = getString(this, ((bg + "_nft_status_") + toBase58String(am)))
344345 if ($isInstanceOf(F, "String"))
348349 }
349350 else false
350351 }
352+ let bi = {
353+ let F = getInteger(this, ((aU + "_nft_start_price_") + aK))
354+ if ($isInstanceOf(F, "Int"))
355+ then {
356+ let bj = F
357+ bj
358+ }
359+ else 0
360+ }
351361 if ((aI.payments[0].assetId != unit))
352362 then throw("Pay in waves")
353363 else if ((bf != aG._1))
354364 then throw("Not open for auction")
355- else [StringEntry(((((aU + "_nft_id_") + toBase58String(T)) + "_") + toBase58String(am)), toBase58String(T)), StringEntry(((((aU + "_nft_owner_") + toBase58String(T)) + "_") + toBase58String(am)), aK), StringEntry(((((aU + "_bidding_for_") + toBase58String(T)) + "_by_") + toBase58String(am)), toBase58String(am)), StringEntry(((((aU + "_bid_price_for") + toBase58String(T)) + "_by_") + toBase58String(am)), toString(bh))]
365+ else if ((bi > ba))
366+ then throw("Bid price is less then starting bid")
367+ else [StringEntry(((((aU + "_nft_id_") + toBase58String(T)) + "_") + toBase58String(am)), toBase58String(T)), StringEntry(((((aU + "_nft_owner_") + toBase58String(T)) + "_") + toBase58String(am)), aK), StringEntry(((((aU + "_bidding_for_") + toBase58String(T)) + "_by_") + toBase58String(am)), toBase58String(am)), StringEntry(((((aU + "_bid_price_for") + toBase58String(T)) + "_by_") + toBase58String(am)), toString(bh))]
356368 }
357369
358370
359371
360372 @Callable(aI)
361-func acceptBidOffer (h,bi,bj) = {
373+func acceptBidOffer (h,bk,bl) = {
362374 let am = aI.caller.bytes
363375 let T = fromBase58String(h)
364- let bk = fromBase58String(bi)
365-[ScriptTransfer(Address(aI.caller.bytes), bj, unit), ScriptTransfer(Address(bk), 1, T), StringEntry(((toBase58String(T) + "_rewarded_to_") + bi), bi), StringEntry(("nft_transfer_status_from" + toBase58String(am)), aG._3), StringEntry(((("nft_transfer_status_" + h) + "_transfer_to_") + bi), bi), DeleteEntry((((toBase58String(T) + a) + "nft_status_") + toBase58String(am)))]
376+ let bm = fromBase58String(bk)
377+[ScriptTransfer(Address(aI.caller.bytes), bl, unit), ScriptTransfer(Address(bm), 1, T), StringEntry(((toBase58String(T) + "_rewarded_to_") + bk), bk), StringEntry(("nft_transfer_status_from" + toBase58String(am)), aG._3), StringEntry(((("nft_transfer_status_" + h) + "_transfer_to_") + bk), bk), DeleteEntry((((toBase58String(T) + a) + "nft_status_") + toBase58String(am)))]
366378 }
379+
380+
381+
382+@Callable(aI)
383+func testBid (bn) = [StringEntry("bid", bn)]
367384
368385
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "_"
55
66 let b = "auction"
77
88 let c = "sell"
99
1010 let d = "trusted"
1111
1212 let e = "price"
1313
1414 func f (g,h) = ((g + a) + toBase58String(h))
1515
1616
1717 func i (h) = ((e + a) + toBase58String(h))
1818
1919
2020 func j (h) = ((c + a) + toBase58String(h))
2121
2222
2323 func k (h) = ((b + a) + toBase58String(h))
2424
2525
2626 func l (m) = ((d + a) + toString(m))
2727
2828
2929 func n (o,p) = (o ++ [p])
3030
3131
3232 func q (r) = {
3333 let s = size(r)
3434 if ((s == 0))
3535 then throw("Empty params")
3636 else if ((s == 1))
3737 then makeString({
3838 let t = r
3939 let u = size(t)
4040 let v = nil
4141 func w (x,y) = if ((y >= u))
4242 then x
4343 else n(x, t[y])
4444
4545 func z (x,y) = if ((y >= u))
4646 then x
4747 else throw("List size exceeds 1")
4848
4949 z(w(v, 0), 1)
5050 }, a)
5151 else if ((s == 2))
5252 then makeString({
5353 let t = r
5454 let u = size(t)
5555 let v = nil
5656 func w (x,y) = if ((y >= u))
5757 then x
5858 else n(x, t[y])
5959
6060 func z (x,y) = if ((y >= u))
6161 then x
6262 else throw("List size exceeds 2")
6363
6464 z(w(w(v, 0), 1), 2)
6565 }, a)
6666 else if ((s == 3))
6767 then makeString({
6868 let t = r
6969 let u = size(t)
7070 let v = nil
7171 func w (x,y) = if ((y >= u))
7272 then x
7373 else n(x, t[y])
7474
7575 func z (x,y) = if ((y >= u))
7676 then x
7777 else throw("List size exceeds 3")
7878
7979 z(w(w(w(v, 0), 1), 2), 3)
8080 }, a)
8181 else if ((s == 4))
8282 then makeString({
8383 let t = r
8484 let u = size(t)
8585 let v = nil
8686 func w (x,y) = if ((y >= u))
8787 then x
8888 else n(x, t[y])
8989
9090 func z (x,y) = if ((y >= u))
9191 then x
9292 else throw("List size exceeds 4")
9393
9494 z(w(w(w(w(v, 0), 1), 2), 3), 4)
9595 }, a)
9696 else if ((s == 5))
9797 then makeString({
9898 let t = r
9999 let u = size(t)
100100 let v = nil
101101 func w (x,y) = if ((y >= u))
102102 then x
103103 else n(x, t[y])
104104
105105 func z (x,y) = if ((y >= u))
106106 then x
107107 else throw("List size exceeds 5")
108108
109109 z(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5)
110110 }, a)
111111 else throw("Max number of parameters exceeded")
112112 }
113113
114114
115115 func A (B) = {
116116 let C = split(B, a)
117117 $Tuple5(addressFromStringValue(C[0]), parseIntValue(C[1]), parseIntValue(C[2]), parseIntValue(C[3]), parseIntValue(C[4]))
118118 }
119119
120120
121121 func D (B) = {
122122 let C = split(B, a)
123123 $Tuple2(addressFromStringValue(C[0]), parseIntValue(C[1]))
124124 }
125125
126126
127127 func E (r) = {
128128 let F = r
129129 if ($isInstanceOf(F, "(Address, Int, String, String)"))
130130 then {
131131 let G = F
132132 q([toString(G._1), toString(G._2), G._3, G._4])
133133 }
134134 else if ($isInstanceOf(F, "(Address, Int)"))
135135 then {
136136 let H = F
137137 q([toString(H._1), toString(H._2)])
138138 }
139139 else throw("Wrong params tupple")
140140 }
141141
142142
143143 func I (J,h,K,L,M) = StringEntry(k(h), E($Tuple4(J, K, L, M)))
144144
145145
146146 func N (h,O,P) = StringEntry(j(h), E($Tuple2(O, P)))
147147
148148
149149 func Q (h) = value(getString(this, k(h)))
150150
151151
152152 func R (h) = value(getString(this, j(h)))
153153
154154
155155 func S (T,U) = {
156156 let B = Q(T)
157157 let V = A(B)
158158 let J = V._1
159159 let W = V._2
160160 let X = V._3
161161 let Y = V._4
162162 let Z = V._5
163163 if ((U >= Z))
164164 then $Tuple2(J, X)
165165 else {
166166 let aa = (W - X)
167167 let ab = (Z - Y)
168168 let ac = (U - Y)
169169 $Tuple2(J, (W - fraction(ac, aa, ab)))
170170 }
171171 }
172172
173173
174174 func ad (T) = {
175175 let F = assetInfo(T)
176176 if ($isInstanceOf(F, "Asset"))
177177 then {
178178 let ae = F
179179 if (if ((ae.decimals == 0))
180180 then (ae.quantity == 1)
181181 else false)
182182 then (ae.reissuable == false)
183183 else false
184184 }
185185 else false
186186 }
187187
188188
189189 func af (T) = {
190190 let m = value(assetInfo(T)).issuer
191191 valueOrElse(getBoolean(this, l(m)), false)
192192 }
193193
194194
195195 func ag (T) = isDefined(getString(this, j(T)))
196196
197197
198198 func ah (T) = isDefined(getString(this, k(T)))
199199
200200
201201 func ai (P) = (P > 0)
202202
203203
204204 func aj (K,ak) = (K > ak)
205205
206206
207207 func al (am) = (am == this)
208208
209209
210210 func an (am,J) = if ((am == this))
211211 then true
212212 else (am == J)
213213
214214
215215 func ao (ap,M) = (ap > M)
216216
217217
218218 func aq (ar,as) = (ar >= as)
219219
220220
221221 func at (T) = (T == unit)
222222
223223
224224 func au (h) = if (!(ad(h)))
225225 then throw("Token is not Nft")
226226 else if (ag(h))
227227 then throw("Sell already exists")
228228 else if (ah(h))
229229 then throw("Auction already exists")
230230 else unit
231231
232232
233233 func av (aw,ax,P) = if (!(at(aw)))
234234 then throw("Payment must be at WAVES")
235235 else if (!(aq(ax, P)))
236236 then throw("Not enough funds")
237237 else unit
238238
239239
240240 func ay () = 0
241241
242242
243243 func az () = 0
244244
245245
246246 func aA (aB,ax,aC) = if (aB)
247247 then $Tuple2((aC - az()), (ax - aC))
248248 else $Tuple2((aC - ay()), (ax - aC))
249249
250250
251251 func aD (h) = if (ag(h))
252252 then $Tuple2(c, R(h))
253253 else if (ah(h))
254254 then $Tuple2(b, Q(h))
255255 else throw("Slot doesn`t exist")
256256
257257
258258 let aE = "buy"
259259
260260 let aF = "bid"
261261
262262 let aG = $Tuple4("OPEN", "CLOSED", "REWARDED", "CANCELED")
263263
264264 let aH = base58'3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq'
265265
266266 @Callable(aI)
267267 func createNft (aJ,aK,aL,aM,aN,aO,aP,aQ,aR) = {
268268 let aS = Issue(aJ, aP, 1, 0, false)
269269 let aT = calculateAssetId(aS)
270270 let aU = aI.transactionId
271271 [aS, ScriptTransfer(aI.caller, 1, aT), StringEntry(((toBase58String(aT) + a) + "Owner"), toString(aI.caller)), StringEntry(((toBase58String(aT) + a) + "nft_type"), aM), StringEntry(((toBase58String(aT) + a) + "nft_tags"), aN), StringEntry(((toBase58String(aT) + a) + "nft_dAppAddress"), aL), IntegerEntry(((toBase58String(aT) + a) + "nft_selling_price"), aO), StringEntry(((toBase58String(aT) + a) + "nft_onSell"), aQ), StringEntry(((toBase58String(aT) + a) + "nft_data"), aR), StringEntry(((toBase58String(aU) + a) + "issue_nft"), toBase58String(aT))]
272272 }
273273
274274
275275
276276 @Callable(aI)
277277 func sellNFT (P) = {
278278 let aU = aI.transactionId
279279 let J = aI.caller.bytes
280280 let aV = $Tuple2(value(aI.payments[0].assetId), value(aI.payments[0].amount))
281281 let aW = aV._1
282282 let aX = aV._2
283283 if (!(ad(aW)))
284284 then throw("Token is not NFT")
285285 else [StringEntry((("nft_" + toBase58String(J)) + "_owner"), toBase58String(J)), StringEntry(((((e + a) + toBase58String(value(aI.payments[0].assetId))) + "_") + toString(aI.caller)), P), StringEntry(((toString(aI.caller) + a) + c), ((toBase58String(aW) + a) + toString(aX)))]
286286 }
287287
288288
289289
290290 @Callable(aI)
291291 func buyNFT (aY,aZ) = {
292292 let T = fromBase58String(aY)
293293 let ba = value(aI.payments[0].amount)
294294 let bb = {
295295 let F = getString(this, (("nft_" + aZ) + "_owner"))
296296 if ($isInstanceOf(F, "String"))
297297 then {
298298 let bc = F
299299 bc
300300 }
301301 else false
302302 }
303303 let P = getStringValue(((((e + a) + aY) + "_") + aZ))
304304 let bd = valueOrErrorMessage(getStringValue(((aY + a) + "Owner")), "No owner")
305305 if ((aI.payments[0].assetId != unit))
306306 then throw("Pay in waves")
307307 else if ((bb == toString(aI.caller)))
308308 then throw("Owner of NFT not able to purchase")
309309 else [ScriptTransfer(aI.caller, 1, T), ScriptTransfer(Address(fromBase58String(bd)), ba, unit), StringEntry(((toString(aI.caller) + a) + aE), ((aY + a) + toString(ba))), DeleteEntry((("nft_" + aZ) + "_owner"))]
310310 }
311311
312312
313313
314314 @Callable(aI)
315315 func addAuction (L,M,K,be) = {
316316 let aU = toBase58String(aI.transactionId)
317317 let h = value(aI.payments[0].assetId)
318318 let P = value(K)
319319 let G = $Tuple4(aI.caller, P, L, M)
320320 let am = aI.caller.bytes
321321 let bf = {
322322 let F = getString(this, (((toBase58String(h) + a) + "nft_status_") + toBase58String(am)))
323323 if ($isInstanceOf(F, "String"))
324324 then {
325325 let bc = F
326326 true
327327 }
328328 else false
329329 }
330330 if ((bf == true))
331331 then throw("Already in Auction list")
332332 else [StringEntry(((aU + "_nft_start_auction_date_") + toBase58String(am)), L), StringEntry(((aU + "_nft_end_auction_date_") + toBase58String(am)), M), IntegerEntry(((aU + "_nft_start_price_") + toBase58String(am)), K), StringEntry((aU + "_nft_owner"), toString(aI.caller)), StringEntry((aU + "_nft_on_auction"), toBase58String(h)), StringEntry(((aU + "_nft_status_") + toBase58String(am)), aG._1)]
333333 }
334334
335335
336336
337337 @Callable(aI)
338338 func placeBid (bg,h,aK,bh) = {
339339 let aU = toBase58String(aI.transactionId)
340340 let am = aI.caller.bytes
341341 let T = fromBase58String(h)
342+ let ba = 1
342343 let bf = {
343344 let F = getString(this, ((bg + "_nft_status_") + toBase58String(am)))
344345 if ($isInstanceOf(F, "String"))
345346 then {
346347 let bc = F
347348 bc
348349 }
349350 else false
350351 }
352+ let bi = {
353+ let F = getInteger(this, ((aU + "_nft_start_price_") + aK))
354+ if ($isInstanceOf(F, "Int"))
355+ then {
356+ let bj = F
357+ bj
358+ }
359+ else 0
360+ }
351361 if ((aI.payments[0].assetId != unit))
352362 then throw("Pay in waves")
353363 else if ((bf != aG._1))
354364 then throw("Not open for auction")
355- else [StringEntry(((((aU + "_nft_id_") + toBase58String(T)) + "_") + toBase58String(am)), toBase58String(T)), StringEntry(((((aU + "_nft_owner_") + toBase58String(T)) + "_") + toBase58String(am)), aK), StringEntry(((((aU + "_bidding_for_") + toBase58String(T)) + "_by_") + toBase58String(am)), toBase58String(am)), StringEntry(((((aU + "_bid_price_for") + toBase58String(T)) + "_by_") + toBase58String(am)), toString(bh))]
365+ else if ((bi > ba))
366+ then throw("Bid price is less then starting bid")
367+ else [StringEntry(((((aU + "_nft_id_") + toBase58String(T)) + "_") + toBase58String(am)), toBase58String(T)), StringEntry(((((aU + "_nft_owner_") + toBase58String(T)) + "_") + toBase58String(am)), aK), StringEntry(((((aU + "_bidding_for_") + toBase58String(T)) + "_by_") + toBase58String(am)), toBase58String(am)), StringEntry(((((aU + "_bid_price_for") + toBase58String(T)) + "_by_") + toBase58String(am)), toString(bh))]
356368 }
357369
358370
359371
360372 @Callable(aI)
361-func acceptBidOffer (h,bi,bj) = {
373+func acceptBidOffer (h,bk,bl) = {
362374 let am = aI.caller.bytes
363375 let T = fromBase58String(h)
364- let bk = fromBase58String(bi)
365-[ScriptTransfer(Address(aI.caller.bytes), bj, unit), ScriptTransfer(Address(bk), 1, T), StringEntry(((toBase58String(T) + "_rewarded_to_") + bi), bi), StringEntry(("nft_transfer_status_from" + toBase58String(am)), aG._3), StringEntry(((("nft_transfer_status_" + h) + "_transfer_to_") + bi), bi), DeleteEntry((((toBase58String(T) + a) + "nft_status_") + toBase58String(am)))]
376+ let bm = fromBase58String(bk)
377+[ScriptTransfer(Address(aI.caller.bytes), bl, unit), ScriptTransfer(Address(bm), 1, T), StringEntry(((toBase58String(T) + "_rewarded_to_") + bk), bk), StringEntry(("nft_transfer_status_from" + toBase58String(am)), aG._3), StringEntry(((("nft_transfer_status_" + h) + "_transfer_to_") + bk), bk), DeleteEntry((((toBase58String(T) + a) + "nft_status_") + toBase58String(am)))]
366378 }
379+
380+
381+
382+@Callable(aI)
383+func testBid (bn) = [StringEntry("bid", bn)]
367384
368385

github/deemru/w8io/026f985 
44.79 ms