tx · CiaCqjWMLMbmVDCs9rQcL57v9TuzQjXp4PZV2GBQ6TMc

3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX:  -0.01400000 Waves

2022.03.30 18:14 [1986830] smart account 3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX > SELF 0.00000000 Waves

{ "type": 13, "id": "CiaCqjWMLMbmVDCs9rQcL57v9TuzQjXp4PZV2GBQ6TMc", "fee": 1400000, "feeAssetId": null, "timestamp": 1648653299992, "version": 2, "chainId": 84, "sender": "3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX", "senderPublicKey": "4cHkGAqfd5S8yGnVB6eHDYTeE5ciLkQ7PuGAXFzjf7z5", "proofs": [ "23UeebHELHR4W8RCSvcosoKFVgprRYjJpDttNY6hbWKTqc9LsCjuxvqDJaWBeXs8cbmPM8hgVifQA4FzVPFm27C3" ], "script": "base64:AAIFAAAAAAAAAC4IAhIDCgEIEgQKAggIEgQKAgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgQKAggIAAAAHAAAAAATTkZUSXNzdWVyZmVlUGVyY2VudAAAAAAAAAAAAwAAAAANc2NvbmV4RGFwcEtleQIAAAAKc2NvbmV4RGFwcAAAAAAJb3JhY2xlS2V5AgAAAAlvcmFjbGVLZXkBAAAABmdldFN0cgAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAgAAAAAAAAAABm9yYWNsZQkBAAAABmdldFN0cgAAAAEFAAAACW9yYWNsZUtleQAAAAAJb3JhY2xlRmVlCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQmAAAAAQUAAAAGb3JhY2xlAgAAACtDb2xsZWN0aW9ucyBkYXBwIGRvZXNudCBoYXZlIG9yYWNsZSBkZWZpbmVkAAAAAApzY29uZXhEYXBw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EwAAAACBQAAAAdhc3NldElkCQAETAAAAAIFAAAADUFydGlzdEFkZHJlc3MFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwUAAAAGYnV5UmVzCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnGRece", "height": 1986830, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4raLwTWLsVguHmFSxwS9GvFQH2AimVECtwfGwf1cUHZv Next: 5vDU1fKEyfTPbcXytTxyv571sdZ4KfWujdLvHXzQVNs3 Diff:
OldNewDifferences
3737
3838 let p = fromBase58String(getStringValue(i, "USDNAssetId"))
3939
40-let q = o(("certification_fee_" + toBase58String(p)))
40+let q = o(("min_" + toBase58String(p)))
4141
4242 let r = value(addressFromString(valueOrErrorMessage(getString(i, "userDapp"), "userdapp not found")))
4343
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 3
55
66 let b = "sconexDapp"
77
88 let c = "oracleKey"
99
1010 func d (e) = {
1111 let f = getString(this, e)
1212 if ($isInstanceOf(f, "String"))
1313 then {
1414 let g = f
1515 g
1616 }
1717 else ""
1818 }
1919
2020
2121 let h = d(c)
2222
2323 let i = valueOrErrorMessage(addressFromString(h), "Collections dapp doesnt have oracle defined")
2424
2525 let j = getStringValue(i, b)
2626
2727 let k = valueOrErrorMessage(getString(i, "collectionsDapp"), "collectionDapp not found")
2828
2929 let l = valueOrErrorMessage(getString(i, "feeReceiver"), "feeReceiver not found")
3030
3131 let m = valueOrErrorMessage(getString(i, "certDapp"), "certDapp not found")
3232
3333 let n = valueOrErrorMessage(getString(i, "feeDapp"), "feeDapp not found")
3434
3535 func o (e) = valueOrErrorMessage(getInteger(i, e), "Integer undefine or 0 in oracle")
3636
3737
3838 let p = fromBase58String(getStringValue(i, "USDNAssetId"))
3939
40-let q = o(("certification_fee_" + toBase58String(p)))
40+let q = o(("min_" + toBase58String(p)))
4141
4242 let r = value(addressFromString(valueOrErrorMessage(getString(i, "userDapp"), "userdapp not found")))
4343
4444 let s = "BIDTYPE"
4545
4646 let t = "TRADITIONAL"
4747
4848 let u = "DIRECT"
4949
5050 func v (e) = valueOrElse(getString(this, e), "")
5151
5252
5353 func w (x) = (("auction_" + x) + "_actionType")
5454
5555
5656 func y (e) = {
5757 let f = getString(addressFromStringValue(j), e)
5858 if ($isInstanceOf(f, "String"))
5959 then {
6060 let g = f
6161 g
6262 }
6363 else ""
6464 }
6565
6666
6767 func z (e) = {
6868 let f = getInteger(addressFromStringValue(j), e)
6969 if ($isInstanceOf(f, "Int"))
7070 then {
7171 let g = f
7272 g
7373 }
7474 else 0
7575 }
7676
7777
7878 func A (e) = {
7979 let B = {
8080 let f = getInteger(this, e)
8181 if ($isInstanceOf(f, "Int"))
8282 then {
8383 let g = f
8484 g
8585 }
8686 else 0
8787 }
8888 B
8989 }
9090
9191
9292 func C (e) = {
9393 let B = {
9494 let f = getString(this, e)
9595 if ($isInstanceOf(f, "String"))
9696 then {
9797 let g = f
9898 g
9999 }
100100 else ""
101101 }
102102 B
103103 }
104104
105105
106106 func D (E) = {
107107 let F = value(assetInfo(E))
108108 if ((F.issuer == addressFromStringValue(j)))
109109 then "true"
110110 else ""
111111 }
112112
113113
114114 func G (E) = {
115115 let H = {
116116 let f = getString(addressFromStringValue(j), ("nft_issued_" + E))
117117 if ($isInstanceOf(f, "String"))
118118 then {
119119 let g = f
120120 g
121121 }
122122 else ""
123123 }
124124 H
125125 }
126126
127127
128128 func I (E) = {
129129 let H = {
130130 let f = getString(addressFromStringValue(j), ("nft_artId_" + E))
131131 if ($isInstanceOf(f, "String"))
132132 then {
133133 let g = f
134134 g
135135 }
136136 else ""
137137 }
138138 H
139139 }
140140
141141
142142 func J (E) = if ((E != toBase58String(p)))
143143 then throw("Only USDN accepted")
144144 else true
145145
146146
147147 @Callable(K)
148148 func initDapp (L) = if ((K.caller != this))
149149 then throw("You cannot do this action")
150150 else if ((h != ""))
151151 then throw("oracle already set, you can't override!")
152152 else [StringEntry(c, L)]
153153
154154
155155
156156 @Callable(K)
157157 func transferNft (M,N) = if ((K.caller == this))
158158 then [ScriptTransfer(addressFromStringValue(N), 1, fromBase58String(M))]
159159 else throw("Only the dApp can transfer NFT's")
160160
161161
162162
163163 @Callable(K)
164164 func initAuction (O,P) = {
165165 let x = toBase58String(K.transactionId)
166166 if ((size(K.payments) == 0))
167167 then throw("No payment attached")
168168 else if ((size(K.payments) >= 2))
169169 then throw("Too many payments attached")
170170 else if ((K.payments[0].amount != 1))
171171 then throw("No nft attached to the payment")
172172 else {
173173 let Q = value(K.payments[0])
174174 let E = value(Q.assetId)
175175 let R = q
176176 if ((R > O))
177177 then throw(("Wrong minimum sell price " + toString(R)))
178178 else {
179179 let S = D(E)
180180 if ((S == ""))
181181 then throw("You can only sell an NFT created on SCONE Marketplace")
182182 else if (!(containsElement([s, u], P)))
183183 then throw("We don't know this auction type")
184184 else [StringEntry((("auction_" + x) + "_status"), "open"), StringEntry((("auction_" + toBase58String(E)) + "_last"), x), StringEntry((("auction_" + x) + "_assetName"), S), StringEntry((("auction_" + x) + "_assetId"), toBase58String(E)), IntegerEntry((("auction_" + x) + "_startedAt"), lastBlock.timestamp), StringEntry((("auction_" + x) + "_owner"), toString(K.caller)), IntegerEntry((("auction_" + x) + "_startPrice"), O), StringEntry(w(x), P), StringEntry((((("address_" + toString(K.caller)) + "_auction_") + x) + "_lockedNFT"), toBase58String(E))]
185185 }
186186 }
187187 }
188188
189189
190190
191191 @Callable(K)
192192 func cancelAuction (x) = {
193193 let T = C((("auction_" + x) + "_owner"))
194194 if ((toString(K.caller) != T))
195195 then throw("Only allowed to auction owner")
196196 else if ((C((("auction_" + x) + "_status")) != "open"))
197197 then throw("auction is close")
198198 else [StringEntry((("auction_" + x) + "_status"), "cancelled"), DeleteEntry((((("address_" + T) + "_auction_") + x) + "_lockedNFT")), ScriptTransfer(K.caller, 1, fromBase58String(getStringValue(this, (("auction_" + x) + "_assetId"))))]
199199 }
200200
201201
202202
203203 @Callable(K)
204204 func placeBid (x) = {
205205 let Q = value(K.payments[0])
206206 let U = Q.amount
207207 let V = toBase58String(K.transactionId)
208208 let E = getStringValue(this, (("auction_" + x) + "_assetId"))
209209 let W = if (!(isDefined(Q.assetId)))
210210 then throw("Only USDN is accepted!")
211211 else toBase58String(value(Q.assetId))
212212 if (!(J(W)))
213213 then throw("Auction does only support USDN payments")
214214 else {
215215 let X = A((("auction_" + x) + "_startPrice"))
216216 if ((X > U))
217217 then throw(("The minimal initial price is set as " + toString(X)))
218218 else {
219219 let P = v(w(x))
220220 if ((P == s))
221221 then [StringEntry((((("auction_" + x) + "_bid_") + V) + "_author"), toString(K.caller)), StringEntry((((("assetId_" + E) + "_bid_") + V) + "_data"), (((((("{\"auctionId\": \"" + x) + "\", \"author\": \"") + toString(K.caller)) + "\", \"amount\": \"") + toString(U)) + "\", \"status\": \"open\"}")), IntegerEntry((((("auction_" + x) + "_bid_") + V) + "_amount"), U), StringEntry(((((("address_" + toString(K.caller)) + "_auction_") + x) + "_bid_") + V), E), StringEntry((((("auction_" + x) + "_bid_") + V) + "_status"), "open")]
222222 else throw("Not a BidType auction!")
223223 }
224224 }
225225 }
226226
227227
228228
229229 @Callable(K)
230230 func directBuy (x) = {
231231 let Q = value(K.payments[0])
232232 let U = Q.amount
233233 let V = toBase58String(K.transactionId)
234234 let E = getStringValue(this, (("auction_" + x) + "_assetId"))
235235 let T = C((("auction_" + x) + "_owner"))
236236 let Y = U
237237 let Z = toString(K.caller)
238238 let W = if (!(isDefined(Q.assetId)))
239239 then throw("Only USDN is accepted!")
240240 else toBase58String(value(Q.assetId))
241241 if (!(J(W)))
242242 then throw("Auction does only support USDN payments")
243243 else {
244244 let X = A((("auction_" + x) + "_startPrice"))
245245 if ((X != U))
246246 then throw(("The exact price is set as " + toString(X)))
247247 else {
248248 let P = v(w(x))
249249 if ((P == u))
250250 then {
251251 let aa = A((E + "_recordPrice"))
252252 let ab = max([aa, Y])
253253 let H = G(E)
254254 let ac = I(E)
255255 let ad = invoke(this, "transferNft", [E, Z], nil)
256256 if ((ad == ad))
257257 then {
258258 let ae = invoke(valueOrErrorMessage(addressFromString(n), (n + " not found")), "payFeeResell", [ac, T], [AttachedPayment(p, U)])
259259 if ((ae == ae))
260260 then {
261261 let af = [StringEntry((((("auction_" + x) + "_bid_") + V) + "_author"), toString(K.caller)), StringEntry((((("auction_" + x) + "_bid_") + V) + "_status"), "finished"), StringEntry((("auction_" + x) + "_status"), "finished"), StringEntry((((("assetId_" + E) + "_bid_") + V) + "_data"), (((((("{\"auctionId\": \"" + x) + "\", \"author\": \"") + toString(K.caller)) + "\", \"amount\": \"") + toString(Y)) + "\", \"status\": \"finished\"}")), IntegerEntry((("auction_" + x) + "_finalPrice"), Y), IntegerEntry((E + "_recordPrice"), ab), DeleteEntry((((("address_" + T) + "_auction_") + x) + "_lockedNFT"))]
262262 let ag = invoke(addressFromStringValue(m), "createCert", [Z, E, H], nil)
263263 if ((ag == ag))
264264 then af
265265 else throw("Strict value is not equal to itself.")
266266 }
267267 else throw("Strict value is not equal to itself.")
268268 }
269269 else throw("Strict value is not equal to itself.")
270270 }
271271 else throw("Not a directBuy auction!")
272272 }
273273 }
274274 }
275275
276276
277277
278278 @Callable(K)
279279 func cancelBid (x,V) = {
280280 let E = getStringValue(this, (("auction_" + x) + "_assetId"))
281281 let Z = C((((("auction_" + x) + "_bid_") + V) + "_author"))
282282 let Y = A((((("auction_" + x) + "_bid_") + V) + "_amount"))
283283 if (if ((toString(K.caller) != Z))
284284 then (K.caller != this)
285285 else false)
286286 then throw("Only allowed to the bid author or admin")
287287 else if ((C((((("auction_" + x) + "_bid_") + V) + "_status")) != "open"))
288288 then throw("bid is not open")
289289 else [StringEntry((((("assetId_" + E) + "_bid_") + V) + "_data"), (((((("{\"auctionId\": \"" + x) + "\", \"author\": \"") + toString(K.caller)) + "\", \"amount\": \"") + toString(Y)) + "\", \"status\": \"cancelled\"}")), StringEntry((((("auction_" + x) + "_bid_") + V) + "_status"), "cancelled"), DeleteEntry(((((("address_" + Z) + "_auction_") + x) + "_bid_") + V)), ScriptTransfer(Address(fromBase58String(Z)), Y, p)]
290290 }
291291
292292
293293
294294 @Callable(K)
295295 func acceptBid (x,V) = {
296296 let T = C((("auction_" + x) + "_owner"))
297297 let Z = C((((("auction_" + x) + "_bid_") + V) + "_author"))
298298 let Y = A((((("auction_" + x) + "_bid_") + V) + "_amount"))
299299 let ah = C((((("auction_" + x) + "_bid_") + V) + "_status"))
300300 let E = C((("auction_" + x) + "_assetId"))
301301 if ((toString(K.caller) != T))
302302 then throw("Only allowed to auction owner")
303303 else if ((ah != "open"))
304304 then throw("Bid was cancelled and cannot be accepted")
305305 else {
306306 let aa = A((E + "_recordPrice"))
307307 let ab = max([aa, Y])
308308 let H = G(E)
309309 let ac = I(E)
310310 let ae = invoke(valueOrErrorMessage(addressFromString(n), (n + " not found")), "payFeeResell", [ac, T], [AttachedPayment(p, Y)])
311311 if ((ae == ae))
312312 then {
313313 let ad = invoke(this, "transferNft", [E, Z], nil)
314314 if ((ad == ad))
315315 then {
316316 let af = [StringEntry((((("auction_" + x) + "_bid_") + V) + "_status"), "finished"), StringEntry((("auction_" + x) + "_status"), "finished"), StringEntry((((("assetId_" + E) + "_bid_") + V) + "_data"), (((((("{\"auctionId\": \"" + x) + "\", \"author\": \"") + toString(K.caller)) + "\", \"amount\": \"") + toString(Y)) + "\", \"status\": \"finished\"}")), IntegerEntry((("auction_" + x) + "_finalPrice"), Y), IntegerEntry((E + "_recordPrice"), ab), DeleteEntry(((((("address_" + Z) + "_auction_") + x) + "_bid_") + V)), DeleteEntry((((("address_" + T) + "_auction_") + x) + "_lockedNFT"))]
317317 let ag = invoke(addressFromStringValue(m), "createCert", [Z, E, H], nil)
318318 if ((ag == ag))
319319 then af
320320 else throw("Strict value is not equal to itself.")
321321 }
322322 else throw("Strict value is not equal to itself.")
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326 }
327327
328328
329329 @Verifier(ai)
330330 func aj () = sigVerify(ai.bodyBytes, ai.proofs[0], ai.senderPublicKey)
331331

github/deemru/w8io/026f985 
63.73 ms