tx · 3ks5SBRZ4nmcPD9bzmKaQArjJcicDAf8bnYPXsjsdHnL

3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX:  -0.02200000 Waves

2022.07.29 20:04 [2161396] smart account 3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX > SELF 0.00000000 Waves

{ "type": 13, "id": "3ks5SBRZ4nmcPD9bzmKaQArjJcicDAf8bnYPXsjsdHnL", "fee": 2200000, "feeAssetId": null, "timestamp": 1659114333810, "version": 2, "chainId": 84, "sender": "3MyafuLWBUqVEv5VcaJJPBVJvTwTxNh4tPX", "senderPublicKey": "4cHkGAqfd5S8yGnVB6eHDYTeE5ciLkQ7PuGAXFzjf7z5", "proofs": [ "32uHgvtcYC7dQ7VdcZ39KnjDkxB6KCMk5xBrr4HnnVyz2j1EEyt1xSQGAEgvA3dm358SvXHYTqm4Ti7Q3XFRkchE" ], "script": "base64:AAIFAAAAAAAAAC4IAhIDCgEIEgQKAggIEgQKAgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgQKAggIAAAAHQAAAAATTkZUSXNzdWVyZmVlUGVyY2VudAAAAAAAAAAAAwAAAAANc2NvbmV4RGFwcEtleQIAAAAKc2NvbmV4RGFwcAAAAAAJb3JhY2xlS2V5AgAAAAlvcmFjbGVLZXkBAAAABmdldFN0cgAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAgAAAAAAAAAABm9yYWNsZQkBAAAABmdldFN0cgAAAAEFAAAACW9yYWNsZUtleQAAAAAJb3JhY2xlRmVlCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQmAAAAAQUAAAAGb3JhY2xlAgAAACtDb2xsZWN0aW9ucyBkYXBwIGRvZXNudCBoYXZlIG9yYWNsZSBkZWZpbmVkAAAAAApzY29uZX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AAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnPHXnS", "height": 2161396, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5vDU1fKEyfTPbcXytTxyv571sdZ4KfWujdLvHXzQVNs3 Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let NFTIssuerfeePercent = 3
55
66 let sconexDappKey = "sconexDapp"
77
88 let oracleKey = "oracleKey"
99
1010 func getStr (key) = match getString(this, key) {
1111 case b: String =>
1212 b
1313 case _ =>
1414 ""
1515 }
1616
1717
1818 let oracle = getStr(oracleKey)
1919
2020 let oracleFee = valueOrErrorMessage(addressFromString(oracle), "Collections dapp doesnt have oracle defined")
2121
2222 let sconexDapp = getStringValue(oracleFee, sconexDappKey)
2323
2424 let stakeDapp = addressFromString(valueOrErrorMessage(getString(oracleFee, "stakeDapp"), "sconexDapp not found"))
2525
2626 let collectionsDapp = valueOrErrorMessage(getString(oracleFee, "collectionsDapp"), "collectionDapp not found")
2727
2828 let feeReceiver = valueOrErrorMessage(getString(oracleFee, "feeReceiver"), "feeReceiver not found")
2929
3030 let certDapp = valueOrErrorMessage(getString(oracleFee, "certDapp"), "certDapp not found")
3131
3232 let feeDapp = valueOrErrorMessage(getString(oracleFee, "feeDapp"), "feeDapp not found")
3333
3434 func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
3535
3636
3737 let USDNAssetId = fromBase58String(getStringValue(oracleFee, "USDNAssetId"))
3838
3939 let minUSDNPrice = getIntegerByKeyFromOracle(("min_" + toBase58String(USDNAssetId)))
4040
4141 let userDapp = value(addressFromString(valueOrErrorMessage(getString(oracleFee, "userDapp"), "userdapp not found")))
4242
4343 let auctionType1 = "BIDTYPE"
4444
4545 let auctionType2 = "TRADITIONAL"
4646
4747 let auctionType3 = "DIRECT"
4848
4949 func getStringByKey (key) = valueOrElse(getString(this, key), "")
5050
5151
5252 func keyAuctionType (auctionId) = (("auction_" + auctionId) + "_actionType")
5353
5454
5555 func getStrfromMain (key) = match getString(addressFromStringValue(sconexDapp), key) {
5656 case b: String =>
5757 b
5858 case _ =>
5959 ""
6060 }
6161
6262
6363 func getIntfromMain (key) = match getInteger(addressFromStringValue(sconexDapp), key) {
6464 case b: Int =>
6565 b
6666 case _ =>
6767 0
6868 }
6969
7070
7171 func tryGetInteger (key) = {
7272 let val = match getInteger(this, key) {
7373 case b: Int =>
7474 b
7575 case _ =>
7676 0
7777 }
7878 val
7979 }
8080
8181
8282 func tryGetString (key) = {
8383 let val = match getString(this, key) {
8484 case b: String =>
8585 b
8686 case _ =>
8787 ""
8888 }
8989 val
9090 }
9191
9292
9393 func getNFTIssuer (assetId) = {
9494 let myassetinfo = value(assetInfo(assetId))
9595 if ((myassetinfo.issuer == addressFromStringValue(sconexDapp)))
9696 then "true"
9797 else ""
9898 }
9999
100100
101101 func getNFTArtist (assetId) = {
102102 let ArtistAddress = match getString(addressFromStringValue(sconexDapp), ("nft_issued_" + assetId)) {
103103 case b: String =>
104104 b
105105 case _ =>
106106 ""
107107 }
108108 ArtistAddress
109109 }
110110
111111
112112 func getArtId (assetId) = {
113113 let ArtistAddress = match getString(addressFromStringValue(sconexDapp), ("nft_artId_" + assetId)) {
114114 case b: String =>
115115 b
116116 case _ =>
117117 ""
118118 }
119119 ArtistAddress
120120 }
121121
122122
123123 func acceptedAssetIds (assetId) = if ((assetId != toBase58String(USDNAssetId)))
124124 then throw("Only USDN accepted")
125125 else true
126126
127127
128128 @Callable(i)
129129 func initDapp (dappKey) = if ((i.caller != this))
130130 then throw("You cannot do this action")
131131 else if ((oracle != ""))
132132 then throw("oracle already set, you can't override!")
133133 else [StringEntry(oracleKey, dappKey)]
134134
135135
136136
137137 @Callable(i)
138138 func transferNft (nftID,receiveNFT) = if ((i.caller != this))
139139 then throw("Only the dApp can transfer NFT's")
140140 else [ScriptTransfer(addressFromStringValue(receiveNFT), 1, fromBase58String(nftID))]
141141
142142
143143
144144 @Callable(i)
145145 func initAuction (startPrice,auctionType) = {
146146 let auctionId = toBase58String(i.transactionId)
147147 if ((size(i.payments) == 0))
148148 then throw("No payment attached")
149149 else if ((size(i.payments) >= 3))
150150 then throw("Too many payments attached")
151151 else if ((i.payments[0].amount != 1))
152152 then throw("No nft attached to the payment")
153153 else {
154154 let pmt = value(i.payments[0])
155155 let assetId = value(pmt.assetId)
156156 if ((minUSDNPrice > startPrice))
157157 then throw(("Wrong minimum sell price " + toString(minUSDNPrice)))
158158 else {
159159 let asset = getNFTIssuer(assetId)
160160 if ((asset == ""))
161161 then throw("You can only sell an NFT created on SCONE Marketplace")
162162 else if (!(containsElement([auctionType1, auctionType3], auctionType)))
163163 then throw("We don't know this auction type")
164164 else {
165165 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[1]])
166166 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
167167 then [StringEntry((("auction_" + auctionId) + "_status"), "open"), StringEntry((("auction_" + toBase58String(assetId)) + "_last"), auctionId), StringEntry((("auction_" + auctionId) + "_assetName"), asset), StringEntry((("auction_" + auctionId) + "_assetId"), toBase58String(assetId)), IntegerEntry((("auction_" + auctionId) + "_startedAt"), lastBlock.timestamp), StringEntry((("auction_" + auctionId) + "_owner"), toString(i.caller)), IntegerEntry((("auction_" + auctionId) + "_startPrice"), startPrice), StringEntry(keyAuctionType(auctionId), auctionType), StringEntry((((("address_" + toString(i.caller)) + "_auction_") + auctionId) + "_lockedNFT"), toBase58String(assetId))]
168168 else throw("Strict value is not equal to itself.")
169169 }
170170 }
171171 }
172172 }
173173
174174
175175
176176 @Callable(i)
177177 func cancelAuction (auctionId) = {
178178 let auctionOwner = tryGetString((("auction_" + auctionId) + "_owner"))
179179 if ((toString(i.caller) != auctionOwner))
180180 then throw("Only allowed to auction owner")
181181 else if ((tryGetString((("auction_" + auctionId) + "_status")) != "open"))
182182 then throw("auction is close")
183183 else {
184184 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[0]])
185185 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
186186 then [StringEntry((("auction_" + auctionId) + "_status"), "cancelled"), DeleteEntry((((("address_" + auctionOwner) + "_auction_") + auctionId) + "_lockedNFT")), ScriptTransfer(i.caller, 1, fromBase58String(getStringValue(this, (("auction_" + auctionId) + "_assetId"))))]
187187 else throw("Strict value is not equal to itself.")
188188 }
189189 }
190190
191191
192192
193193 @Callable(i)
194194 func placeBid (auctionId) = {
195195 let pmt = value(i.payments[0])
196196 let amount = pmt.amount
197197 let bidId = toBase58String(i.transactionId)
198198 let assetId = getStringValue(this, (("auction_" + auctionId) + "_assetId"))
199199 let PayAssetId = if (!(isDefined(pmt.assetId)))
200200 then throw("Only USDN is accepted!")
201201 else toBase58String(value(pmt.assetId))
202202 if (!(acceptedAssetIds(PayAssetId)))
203203 then throw("Auction does only support USDN payments")
204204 else {
205205 let minPrice = tryGetInteger((("auction_" + auctionId) + "_startPrice"))
206206 if ((minPrice > amount))
207207 then throw(("The minimal initial price is set as " + toString(minPrice)))
208208 else {
209209 let auctionType = getStringByKey(keyAuctionType(auctionId))
210210 if ((auctionType != auctionType1))
211211 then throw("Not a BidType auction!")
212212 else {
213213 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[1]])
214214 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
215215 then [StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_author"), toString(i.caller)), StringEntry((((("assetId_" + assetId) + "_bid_") + bidId) + "_data"), (((((("{\"auctionId\": \"" + auctionId) + "\", \"author\": \"") + toString(i.caller)) + "\", \"amount\": \"") + toString(amount)) + "\", \"status\": \"open\"}")), IntegerEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_amount"), amount), StringEntry(((((("address_" + toString(i.caller)) + "_auction_") + auctionId) + "_bid_") + bidId), assetId), StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_status"), "open")]
216216 else throw("Strict value is not equal to itself.")
217217 }
218218 }
219219 }
220220 }
221221
222222
223223
224224 @Callable(i)
225225 func directBuy (auctionId) = {
226226 let pmt = value(i.payments[0])
227227 let amount = pmt.amount
228228 let bidId = toBase58String(i.transactionId)
229229 let assetId = getStringValue(this, (("auction_" + auctionId) + "_assetId"))
230230 let auctionOwner = tryGetString((("auction_" + auctionId) + "_owner"))
231231 let bidAmount = amount
232232 let bidAuthor = toString(i.caller)
233233 let PayAssetId = if (!(isDefined(pmt.assetId)))
234234 then throw("Only USDN is accepted!")
235235 else toBase58String(value(pmt.assetId))
236236 if (!(acceptedAssetIds(PayAssetId)))
237237 then throw("Auction does only support USDN payments")
238238 else {
239239 let minPrice = tryGetInteger((("auction_" + auctionId) + "_startPrice"))
240240 if ((minPrice != amount))
241241 then throw(("The exact price is set as " + toString(minPrice)))
242242 else {
243243 let auctionType = getStringByKey(keyAuctionType(auctionId))
244244 if ((auctionType != auctionType3))
245245 then throw("Not a directBuy auction!")
246246 else {
247247 let recordPrice = tryGetInteger((assetId + "_recordPrice"))
248248 let newRecordPrice = max([recordPrice, bidAmount])
249249 let ArtistAddress = getNFTArtist(assetId)
250250 let artId = getArtId(assetId)
251251 let transferres = invoke(this, "transferNft", [assetId, bidAuthor], nil)
252252 if ((transferres == transferres))
253253 then {
254254 let invokeTeamFeeSplit = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "payFeeResell", [artId, auctionOwner], [AttachedPayment(USDNAssetId, amount)])
255255 if ((invokeTeamFeeSplit == invokeTeamFeeSplit))
256256 then {
257257 let buyRes = [StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_author"), toString(i.caller)), StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_status"), "finished"), StringEntry((("auction_" + auctionId) + "_status"), "finished"), StringEntry((((("assetId_" + assetId) + "_bid_") + bidId) + "_data"), (((((("{\"auctionId\": \"" + auctionId) + "\", \"author\": \"") + toString(i.caller)) + "\", \"amount\": \"") + toString(bidAmount)) + "\", \"status\": \"finished\"}")), IntegerEntry((("auction_" + auctionId) + "_finalPrice"), bidAmount), IntegerEntry((assetId + "_recordPrice"), newRecordPrice), DeleteEntry((((("address_" + auctionOwner) + "_auction_") + auctionId) + "_lockedNFT"))]
258258 let res = invoke(addressFromStringValue(certDapp), "createCert", [bidAuthor, assetId, ArtistAddress], nil)
259259 if ((res == res))
260260 then {
261261 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[1]])
262262 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
263263 then buyRes
264264 else throw("Strict value is not equal to itself.")
265265 }
266266 else throw("Strict value is not equal to itself.")
267267 }
268268 else throw("Strict value is not equal to itself.")
269269 }
270270 else throw("Strict value is not equal to itself.")
271271 }
272272 }
273273 }
274274 }
275275
276276
277277
278278 @Callable(i)
279279 func cancelBid (auctionId,bidId) = {
280280 let assetId = getStringValue(this, (("auction_" + auctionId) + "_assetId"))
281281 let bidAuthor = tryGetString((((("auction_" + auctionId) + "_bid_") + bidId) + "_author"))
282282 let bidAmount = tryGetInteger((((("auction_" + auctionId) + "_bid_") + bidId) + "_amount"))
283283 if (if ((toString(i.caller) != bidAuthor))
284284 then (i.caller != this)
285285 else false)
286286 then throw("Only allowed to the bid author or admin")
287287 else if ((tryGetString((((("auction_" + auctionId) + "_bid_") + bidId) + "_status")) != "open"))
288288 then throw("bid is not open")
289289 else {
290290 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[0]])
291291 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
292292 then [StringEntry((((("assetId_" + assetId) + "_bid_") + bidId) + "_data"), (((((("{\"auctionId\": \"" + auctionId) + "\", \"author\": \"") + toString(i.caller)) + "\", \"amount\": \"") + toString(bidAmount)) + "\", \"status\": \"cancelled\"}")), StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_status"), "cancelled"), DeleteEntry(((((("address_" + bidAuthor) + "_auction_") + auctionId) + "_bid_") + bidId)), ScriptTransfer(Address(fromBase58String(bidAuthor)), bidAmount, USDNAssetId)]
293293 else throw("Strict value is not equal to itself.")
294294 }
295295 }
296296
297297
298298
299299 @Callable(i)
300300 func acceptBid (auctionId,bidId) = {
301301 let auctionOwner = tryGetString((("auction_" + auctionId) + "_owner"))
302302 let bidAuthor = tryGetString((((("auction_" + auctionId) + "_bid_") + bidId) + "_author"))
303303 let bidAmount = tryGetInteger((((("auction_" + auctionId) + "_bid_") + bidId) + "_amount"))
304304 let bidStatus = tryGetString((((("auction_" + auctionId) + "_bid_") + bidId) + "_status"))
305305 let assetId = tryGetString((("auction_" + auctionId) + "_assetId"))
306306 if ((toString(i.caller) != auctionOwner))
307307 then throw("Only allowed to auction owner")
308308 else if ((bidStatus != "open"))
309309 then throw("Bid was cancelled and cannot be accepted")
310310 else {
311311 let recordPrice = tryGetInteger((assetId + "_recordPrice"))
312312 let newRecordPrice = max([recordPrice, bidAmount])
313313 let ArtistAddress = getNFTArtist(assetId)
314314 let artId = getArtId(assetId)
315315 let invokeTeamFeeSplit = invoke(valueOrErrorMessage(addressFromString(feeDapp), (feeDapp + " not found")), "payFeeResell", [artId, auctionOwner], [AttachedPayment(USDNAssetId, bidAmount)])
316316 if ((invokeTeamFeeSplit == invokeTeamFeeSplit))
317317 then {
318318 let transferres = invoke(this, "transferNft", [assetId, bidAuthor], nil)
319319 if ((transferres == transferres))
320320 then {
321321 let buyRes = [StringEntry((((("auction_" + auctionId) + "_bid_") + bidId) + "_status"), "finished"), StringEntry((("auction_" + auctionId) + "_status"), "finished"), StringEntry((((("assetId_" + assetId) + "_bid_") + bidId) + "_data"), (((((("{\"auctionId\": \"" + auctionId) + "\", \"author\": \"") + toString(i.caller)) + "\", \"amount\": \"") + toString(bidAmount)) + "\", \"status\": \"finished\"}")), IntegerEntry((("auction_" + auctionId) + "_finalPrice"), bidAmount), IntegerEntry((assetId + "_recordPrice"), newRecordPrice), DeleteEntry(((((("address_" + bidAuthor) + "_auction_") + auctionId) + "_bid_") + bidId)), DeleteEntry((((("address_" + auctionOwner) + "_auction_") + auctionId) + "_lockedNFT"))]
322322 let res = invoke(addressFromStringValue(certDapp), "createCert", [bidAuthor, assetId, ArtistAddress], nil)
323323 if ((res == res))
324324 then {
325325 let validateAndProcessPaymentInvoke = invoke(valueOrErrorMessage(stakeDapp, "this not found"), "validateAndProcessPayment", nil, [i.payments[0]])
326326 if ((validateAndProcessPaymentInvoke == validateAndProcessPaymentInvoke))
327327 then buyRes
328328 else throw("Strict value is not equal to itself.")
329329 }
330330 else throw("Strict value is not equal to itself.")
331331 }
332332 else throw("Strict value is not equal to itself.")
333333 }
334334 else throw("Strict value is not equal to itself.")
335335 }
336336 }
337337
338338
339339 @Verifier(tx)
340340 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
341341

github/deemru/w8io/026f985 
55.04 ms