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:AAIFAAAAAAAAAC4IAhIDCgEIEgQKAggIEgQKAgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgQKAggIAAAAHAAAAAATTkZUSXNzdWVyZmVlUGVyY2VudAAAAAAAAAAAAwAAAAANc2NvbmV4RGFwcEtleQIAAAAKc2NvbmV4RGFwcAAAAAAJb3JhY2xlS2V5AgAAAAlvcmFjbGVLZXkBAAAABmdldFN0cgAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAgAAAAAAAAAABm9yYWNsZQkBAAAABmdldFN0cgAAAAEFAAAACW9yYWNsZUtleQAAAAAJb3JhY2xlRmVlCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQmAAAAAQUAAAAGb3JhY2xlAgAAACtDb2xsZWN0aW9ucyBkYXBwIGRvZXNudCBoYXZlIG9yYWNsZSBkZWZpbmVkAAAAAApzY29uZXhEYXBwC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wAAAACBQAAAAdhc3NldElkCQAETAAAAAIFAAAADUFydGlzdEFkZHJlc3MFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwUAAAAGYnV5UmVzCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnGRece", "height": 1986830, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4raLwTWLsVguHmFSxwS9GvFQH2AimVECtwfGwf1cUHZv Next: 5vDU1fKEyfTPbcXytTxyv571sdZ4KfWujdLvHXzQVNs3 Diff:
Old | New | Differences | |
---|---|---|---|
37 | 37 | ||
38 | 38 | let p = fromBase58String(getStringValue(i, "USDNAssetId")) | |
39 | 39 | ||
40 | - | let q = o((" | |
40 | + | let q = o(("min_" + toBase58String(p))) | |
41 | 41 | ||
42 | 42 | let r = value(addressFromString(valueOrErrorMessage(getString(i, "userDapp"), "userdapp not found"))) | |
43 | 43 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 3 | |
5 | 5 | ||
6 | 6 | let b = "sconexDapp" | |
7 | 7 | ||
8 | 8 | let c = "oracleKey" | |
9 | 9 | ||
10 | 10 | func d (e) = { | |
11 | 11 | let f = getString(this, e) | |
12 | 12 | if ($isInstanceOf(f, "String")) | |
13 | 13 | then { | |
14 | 14 | let g = f | |
15 | 15 | g | |
16 | 16 | } | |
17 | 17 | else "" | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | let h = d(c) | |
22 | 22 | ||
23 | 23 | let i = valueOrErrorMessage(addressFromString(h), "Collections dapp doesnt have oracle defined") | |
24 | 24 | ||
25 | 25 | let j = getStringValue(i, b) | |
26 | 26 | ||
27 | 27 | let k = valueOrErrorMessage(getString(i, "collectionsDapp"), "collectionDapp not found") | |
28 | 28 | ||
29 | 29 | let l = valueOrErrorMessage(getString(i, "feeReceiver"), "feeReceiver not found") | |
30 | 30 | ||
31 | 31 | let m = valueOrErrorMessage(getString(i, "certDapp"), "certDapp not found") | |
32 | 32 | ||
33 | 33 | let n = valueOrErrorMessage(getString(i, "feeDapp"), "feeDapp not found") | |
34 | 34 | ||
35 | 35 | func o (e) = valueOrErrorMessage(getInteger(i, e), "Integer undefine or 0 in oracle") | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | let p = fromBase58String(getStringValue(i, "USDNAssetId")) | |
39 | 39 | ||
40 | - | let q = o((" | |
40 | + | let q = o(("min_" + toBase58String(p))) | |
41 | 41 | ||
42 | 42 | let r = value(addressFromString(valueOrErrorMessage(getString(i, "userDapp"), "userdapp not found"))) | |
43 | 43 | ||
44 | 44 | let s = "BIDTYPE" | |
45 | 45 | ||
46 | 46 | let t = "TRADITIONAL" | |
47 | 47 | ||
48 | 48 | let u = "DIRECT" | |
49 | 49 | ||
50 | 50 | func v (e) = valueOrElse(getString(this, e), "") | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func w (x) = (("auction_" + x) + "_actionType") | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func y (e) = { | |
57 | 57 | let f = getString(addressFromStringValue(j), e) | |
58 | 58 | if ($isInstanceOf(f, "String")) | |
59 | 59 | then { | |
60 | 60 | let g = f | |
61 | 61 | g | |
62 | 62 | } | |
63 | 63 | else "" | |
64 | 64 | } | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func z (e) = { | |
68 | 68 | let f = getInteger(addressFromStringValue(j), e) | |
69 | 69 | if ($isInstanceOf(f, "Int")) | |
70 | 70 | then { | |
71 | 71 | let g = f | |
72 | 72 | g | |
73 | 73 | } | |
74 | 74 | else 0 | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func A (e) = { | |
79 | 79 | let B = { | |
80 | 80 | let f = getInteger(this, e) | |
81 | 81 | if ($isInstanceOf(f, "Int")) | |
82 | 82 | then { | |
83 | 83 | let g = f | |
84 | 84 | g | |
85 | 85 | } | |
86 | 86 | else 0 | |
87 | 87 | } | |
88 | 88 | B | |
89 | 89 | } | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func C (e) = { | |
93 | 93 | let B = { | |
94 | 94 | let f = getString(this, e) | |
95 | 95 | if ($isInstanceOf(f, "String")) | |
96 | 96 | then { | |
97 | 97 | let g = f | |
98 | 98 | g | |
99 | 99 | } | |
100 | 100 | else "" | |
101 | 101 | } | |
102 | 102 | B | |
103 | 103 | } | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func D (E) = { | |
107 | 107 | let F = value(assetInfo(E)) | |
108 | 108 | if ((F.issuer == addressFromStringValue(j))) | |
109 | 109 | then "true" | |
110 | 110 | else "" | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func G (E) = { | |
115 | 115 | let H = { | |
116 | 116 | let f = getString(addressFromStringValue(j), ("nft_issued_" + E)) | |
117 | 117 | if ($isInstanceOf(f, "String")) | |
118 | 118 | then { | |
119 | 119 | let g = f | |
120 | 120 | g | |
121 | 121 | } | |
122 | 122 | else "" | |
123 | 123 | } | |
124 | 124 | H | |
125 | 125 | } | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func I (E) = { | |
129 | 129 | let H = { | |
130 | 130 | let f = getString(addressFromStringValue(j), ("nft_artId_" + E)) | |
131 | 131 | if ($isInstanceOf(f, "String")) | |
132 | 132 | then { | |
133 | 133 | let g = f | |
134 | 134 | g | |
135 | 135 | } | |
136 | 136 | else "" | |
137 | 137 | } | |
138 | 138 | H | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func J (E) = if ((E != toBase58String(p))) | |
143 | 143 | then throw("Only USDN accepted") | |
144 | 144 | else true | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | @Callable(K) | |
148 | 148 | func initDapp (L) = if ((K.caller != this)) | |
149 | 149 | then throw("You cannot do this action") | |
150 | 150 | else if ((h != "")) | |
151 | 151 | then throw("oracle already set, you can't override!") | |
152 | 152 | else [StringEntry(c, L)] | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | ||
156 | 156 | @Callable(K) | |
157 | 157 | func transferNft (M,N) = if ((K.caller == this)) | |
158 | 158 | then [ScriptTransfer(addressFromStringValue(N), 1, fromBase58String(M))] | |
159 | 159 | else throw("Only the dApp can transfer NFT's") | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | ||
163 | 163 | @Callable(K) | |
164 | 164 | func initAuction (O,P) = { | |
165 | 165 | let x = toBase58String(K.transactionId) | |
166 | 166 | if ((size(K.payments) == 0)) | |
167 | 167 | then throw("No payment attached") | |
168 | 168 | else if ((size(K.payments) >= 2)) | |
169 | 169 | then throw("Too many payments attached") | |
170 | 170 | else if ((K.payments[0].amount != 1)) | |
171 | 171 | then throw("No nft attached to the payment") | |
172 | 172 | else { | |
173 | 173 | let Q = value(K.payments[0]) | |
174 | 174 | let E = value(Q.assetId) | |
175 | 175 | let R = q | |
176 | 176 | if ((R > O)) | |
177 | 177 | then throw(("Wrong minimum sell price " + toString(R))) | |
178 | 178 | else { | |
179 | 179 | let S = D(E) | |
180 | 180 | if ((S == "")) | |
181 | 181 | then throw("You can only sell an NFT created on SCONE Marketplace") | |
182 | 182 | else if (!(containsElement([s, u], P))) | |
183 | 183 | then throw("We don't know this auction type") | |
184 | 184 | 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))] | |
185 | 185 | } | |
186 | 186 | } | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | ||
191 | 191 | @Callable(K) | |
192 | 192 | func cancelAuction (x) = { | |
193 | 193 | let T = C((("auction_" + x) + "_owner")) | |
194 | 194 | if ((toString(K.caller) != T)) | |
195 | 195 | then throw("Only allowed to auction owner") | |
196 | 196 | else if ((C((("auction_" + x) + "_status")) != "open")) | |
197 | 197 | then throw("auction is close") | |
198 | 198 | else [StringEntry((("auction_" + x) + "_status"), "cancelled"), DeleteEntry((((("address_" + T) + "_auction_") + x) + "_lockedNFT")), ScriptTransfer(K.caller, 1, fromBase58String(getStringValue(this, (("auction_" + x) + "_assetId"))))] | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(K) | |
204 | 204 | func placeBid (x) = { | |
205 | 205 | let Q = value(K.payments[0]) | |
206 | 206 | let U = Q.amount | |
207 | 207 | let V = toBase58String(K.transactionId) | |
208 | 208 | let E = getStringValue(this, (("auction_" + x) + "_assetId")) | |
209 | 209 | let W = if (!(isDefined(Q.assetId))) | |
210 | 210 | then throw("Only USDN is accepted!") | |
211 | 211 | else toBase58String(value(Q.assetId)) | |
212 | 212 | if (!(J(W))) | |
213 | 213 | then throw("Auction does only support USDN payments") | |
214 | 214 | else { | |
215 | 215 | let X = A((("auction_" + x) + "_startPrice")) | |
216 | 216 | if ((X > U)) | |
217 | 217 | then throw(("The minimal initial price is set as " + toString(X))) | |
218 | 218 | else { | |
219 | 219 | let P = v(w(x)) | |
220 | 220 | if ((P == s)) | |
221 | 221 | 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")] | |
222 | 222 | else throw("Not a BidType auction!") | |
223 | 223 | } | |
224 | 224 | } | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | ||
229 | 229 | @Callable(K) | |
230 | 230 | func directBuy (x) = { | |
231 | 231 | let Q = value(K.payments[0]) | |
232 | 232 | let U = Q.amount | |
233 | 233 | let V = toBase58String(K.transactionId) | |
234 | 234 | let E = getStringValue(this, (("auction_" + x) + "_assetId")) | |
235 | 235 | let T = C((("auction_" + x) + "_owner")) | |
236 | 236 | let Y = U | |
237 | 237 | let Z = toString(K.caller) | |
238 | 238 | let W = if (!(isDefined(Q.assetId))) | |
239 | 239 | then throw("Only USDN is accepted!") | |
240 | 240 | else toBase58String(value(Q.assetId)) | |
241 | 241 | if (!(J(W))) | |
242 | 242 | then throw("Auction does only support USDN payments") | |
243 | 243 | else { | |
244 | 244 | let X = A((("auction_" + x) + "_startPrice")) | |
245 | 245 | if ((X != U)) | |
246 | 246 | then throw(("The exact price is set as " + toString(X))) | |
247 | 247 | else { | |
248 | 248 | let P = v(w(x)) | |
249 | 249 | if ((P == u)) | |
250 | 250 | then { | |
251 | 251 | let aa = A((E + "_recordPrice")) | |
252 | 252 | let ab = max([aa, Y]) | |
253 | 253 | let H = G(E) | |
254 | 254 | let ac = I(E) | |
255 | 255 | let ad = invoke(this, "transferNft", [E, Z], nil) | |
256 | 256 | if ((ad == ad)) | |
257 | 257 | then { | |
258 | 258 | let ae = invoke(valueOrErrorMessage(addressFromString(n), (n + " not found")), "payFeeResell", [ac, T], [AttachedPayment(p, U)]) | |
259 | 259 | if ((ae == ae)) | |
260 | 260 | then { | |
261 | 261 | 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"))] | |
262 | 262 | let ag = invoke(addressFromStringValue(m), "createCert", [Z, E, H], nil) | |
263 | 263 | if ((ag == ag)) | |
264 | 264 | then af | |
265 | 265 | else throw("Strict value is not equal to itself.") | |
266 | 266 | } | |
267 | 267 | else throw("Strict value is not equal to itself.") | |
268 | 268 | } | |
269 | 269 | else throw("Strict value is not equal to itself.") | |
270 | 270 | } | |
271 | 271 | else throw("Not a directBuy auction!") | |
272 | 272 | } | |
273 | 273 | } | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(K) | |
279 | 279 | func cancelBid (x,V) = { | |
280 | 280 | let E = getStringValue(this, (("auction_" + x) + "_assetId")) | |
281 | 281 | let Z = C((((("auction_" + x) + "_bid_") + V) + "_author")) | |
282 | 282 | let Y = A((((("auction_" + x) + "_bid_") + V) + "_amount")) | |
283 | 283 | if (if ((toString(K.caller) != Z)) | |
284 | 284 | then (K.caller != this) | |
285 | 285 | else false) | |
286 | 286 | then throw("Only allowed to the bid author or admin") | |
287 | 287 | else if ((C((((("auction_" + x) + "_bid_") + V) + "_status")) != "open")) | |
288 | 288 | then throw("bid is not open") | |
289 | 289 | 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)] | |
290 | 290 | } | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | ||
294 | 294 | @Callable(K) | |
295 | 295 | func acceptBid (x,V) = { | |
296 | 296 | let T = C((("auction_" + x) + "_owner")) | |
297 | 297 | let Z = C((((("auction_" + x) + "_bid_") + V) + "_author")) | |
298 | 298 | let Y = A((((("auction_" + x) + "_bid_") + V) + "_amount")) | |
299 | 299 | let ah = C((((("auction_" + x) + "_bid_") + V) + "_status")) | |
300 | 300 | let E = C((("auction_" + x) + "_assetId")) | |
301 | 301 | if ((toString(K.caller) != T)) | |
302 | 302 | then throw("Only allowed to auction owner") | |
303 | 303 | else if ((ah != "open")) | |
304 | 304 | then throw("Bid was cancelled and cannot be accepted") | |
305 | 305 | else { | |
306 | 306 | let aa = A((E + "_recordPrice")) | |
307 | 307 | let ab = max([aa, Y]) | |
308 | 308 | let H = G(E) | |
309 | 309 | let ac = I(E) | |
310 | 310 | let ae = invoke(valueOrErrorMessage(addressFromString(n), (n + " not found")), "payFeeResell", [ac, T], [AttachedPayment(p, Y)]) | |
311 | 311 | if ((ae == ae)) | |
312 | 312 | then { | |
313 | 313 | let ad = invoke(this, "transferNft", [E, Z], nil) | |
314 | 314 | if ((ad == ad)) | |
315 | 315 | then { | |
316 | 316 | 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"))] | |
317 | 317 | let ag = invoke(addressFromStringValue(m), "createCert", [Z, E, H], nil) | |
318 | 318 | if ((ag == ag)) | |
319 | 319 | then af | |
320 | 320 | else throw("Strict value is not equal to itself.") | |
321 | 321 | } | |
322 | 322 | else throw("Strict value is not equal to itself.") | |
323 | 323 | } | |
324 | 324 | else throw("Strict value is not equal to itself.") | |
325 | 325 | } | |
326 | 326 | } | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Verifier(ai) | |
330 | 330 | func aj () = sigVerify(ai.bodyBytes, ai.proofs[0], ai.senderPublicKey) | |
331 | 331 |
github/deemru/w8io/026f985 52.45 ms ◑