tx · EVgG9jdnvzBw8eZcav4j5678XxhMniixM1GDpxe5a4es
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.03 00:34 [1596518] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "EVgG9jdnvzBw8eZcav4j5678XxhMniixM1GDpxe5a4es",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625261703095,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"48DKUCRfS68UgfDzHy2UFbdG5Ps3rQFkDdyC5rT6GqzG9p5pdyw7n3mQStRnc9Bsg64DdbzpVEE9DoANRYd9AeUG"
],
"script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADUluc3RhbnQgc2FsZSAJAASwAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAATLCBwcmljZTogNTAwMDAwMDAgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmcT9Iv",
"height": 1596518,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7xgtnMt33vtpetry2JzK8hvnnFd9w3c418iE4tzivZvB
Next: FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry("Instant sale test ", "{ seller: , nftId: , price: 50000000 }")] |
---|
| 7 | + | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))] |
---|
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) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry("Instant sale test ", "{ seller: , nftId: , price: 50000000 }")] |
---|
| 7 | + | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))] |
---|
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 | | |
---|