tx · 6dkUU8STfVLRKFNC5NKMCvA5SS3ypqCiTzBohR342A6m
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.02 21:40 [1596347] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "6dkUU8STfVLRKFNC5NKMCvA5SS3ypqCiTzBohR342A6m",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625251247337,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"2CaUhffVPsZVDw5hY8gvf7vmybXkp9fXfHtjaAky9ubXHDMJWto7ZorKEVkeCzcWH7mZU3CcXTzgvbcFtu9uikQT"
],
"script": "base64:AAIFAAAAAAAAABQIAhIECgIIARIFCgMIAQgSAwoBCAAAAAAAAAADAAAAAWkBAAAAC2luc3RhbnRTYWxlAAAAAgAAAAVuZnRJZAAAAAVwcmljZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAL68IAFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAA1JbnN0YW50IHNhbGUgCQAEsAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACnsgc2VsbGVyOiAJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAAAksIG5mdElkOiAFAAAABW5mdElkAgAAAAksIHByaWNlOiAJAAGkAAAAAQUAAAAFcHJpY2UCAAAAAiB9BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAACm5mdEFzc2V0SWQAAAAFcHJpY2UAAAANc2VsbGVyQWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAA1zZWxsZXJBZGRyZXNzAAAAAAAAAAABBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAJYWJvcnRTYWxlAAAAAQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefmASrc=",
"height": 1596347,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9McLqoNfkhJpKqM6upbLvh8gCm5JHj2toADTKxAqU7Yo
Next: BKkJ4swyius7UuoHuki6B162mXNAW86ubkgJMXDnCErK
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func instantSale () = [ScriptTransfer(i.caller, 50000000, unit)] |
---|
| 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)) + " }"))] |
---|
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 () = [ScriptTransfer(i.caller, 50000000, unit)] |
---|
| 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)) + " }"))] |
---|
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 | | |
---|