tx · r8z7yZ5L2sYWgz9auqRSua37qPivwAE9bcmknC8z3zk

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.03 00:41 [1596524] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "r8z7yZ5L2sYWgz9auqRSua37qPivwAE9bcmknC8z3zk", "fee": 5000000, "feeAssetId": null, "timestamp": 1625262064532, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "4aRuci4DocgeNHY5g1yaczVPt8Ttiv6w8PnvPjfSwq6RxpmiE4ckwE9SQkeCrikdeQe3JhVsMBq3hddyE1LZc5cp" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAANrZXkJAASwAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAL68IAFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACnsgc2VsbGVyOiAJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAAAksIG5mdElkOiAFAAAABW5mdElkAgAAABMsIHByaWNlOiA1MDAwMDAwMCB9BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAACm5mdEFzc2V0SWQAAAAFcHJpY2UAAAANc2VsbGVyQWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAA1zZWxsZXJBZGRyZXNzAAAAAAAAAAABBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAJYWJvcnRTYWxlAAAAAQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleefTVUE=", "height": 1596524, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP Next: Gq48TCa6TWdTUiRtpNVURXgJ15ECMa3unBPwEdxXN8mp Diff:
OldNewDifferences
55
66 @Callable(i)
77 func instantSale (nftId) = {
8- let key = ("Instant sale" + toUtf8String(i.transactionId))
8+ let key = toUtf8String(i.transactionId)
99 [ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
1010 }
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func instantSale (nftId) = {
8- let key = ("Instant sale" + toUtf8String(i.transactionId))
8+ let key = toUtf8String(i.transactionId)
99 [ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
1010 }
1111
1212
1313
1414 @Callable(i)
1515 func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
1616
1717
1818
1919 @Callable(i)
2020 func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
2121
2222
2323 @Verifier(tx)
2424 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2525

github/deemru/w8io/169f3d6 
27.66 ms