tx · DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.03 01:26 [1596567] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625264797116,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"32wmQvJp3yQdbWawLxJkq2GLuzRYSJjShMnhKM6kTiandUZS9AjTw9kxVmtTkprZWdVy73He3rx6YkgSdHumaqV2"
],
"script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAICAAAACnsgc2VsbGVyOiAJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAACYsIHByaWNlOiA1MDAwMDAwMCwgc3RhdHVzOiBjb21wbGV0ZWQgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmoyaOY",
"height": 1596567,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: E7YumhTn54M1kVxhbVK3sFwH2VScRmf7uAeu5BChWU69
Next: 2phGpJekHXDiFKZRj69Q6BZ8Pu2NEzC31i99FUQ86h3B
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000, status: completed }"))] |
---|
| 7 | + | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (("{ seller: " + toString(i.caller)) + ", price: 50000000, status: completed }"))] |
---|
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(nftId, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000, status: completed }"))] |
---|
| 7 | + | func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (("{ seller: " + toString(i.caller)) + ", price: 50000000, status: completed }"))] |
---|
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 | | |
---|