tx · BKkJ4swyius7UuoHuki6B162mXNAW86ubkgJMXDnCErK
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.02 22:29 [1596397] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "BKkJ4swyius7UuoHuki6B162mXNAW86ubkgJMXDnCErK",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625254215829,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"VG81A9vRPcr4fmDmLQqzs1KF4d5QsPBpavFUdWo9kKATxDoyKuxGDbSqgurFT31Ecks8vAYbM3KnUHGeURBKrz6"
],
"script": "base64:AAIFAAAAAAAAABQIAhIECgIICBIFCgMIAQgSAwoBCAAAAAAAAAADAAAAAWkBAAAAC2luc3RhbnRTYWxlAAAAAgAAAAVuZnRJZAAAAAVwcmljZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAL68IAFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAA1JbnN0YW50IHNhbGUgCQAEsAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACnsgc2VsbGVyOiAJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAAAksIG5mdElkOiAFAAAABW5mdElkAgAAAAksIHByaWNlOiAFAAAABXByaWNlAgAAAAIgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm5tK6j",
"height": 1596397,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6dkUU8STfVLRKFNC5NKMCvA5SS3ypqCiTzBohR342A6m
Next: BxNnfWo7CB56mnFEirVFAJ3XwpWQ7wtD9zuXcgryqiS5
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + toString(price)) + " }"))] |
---|
| 7 | + | func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + price) + " }"))] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + toString(price)) + " }"))] |
---|
| 7 | + | func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + price) + " }"))] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | 11 | | @Callable(i) |
---|
12 | 12 | | func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)] |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Callable(i) |
---|
17 | 17 | | func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Verifier(tx) |
---|
21 | 21 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
22 | 22 | | |
---|