tx · FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.03 00:38 [1596522] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625261951352,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"66twqevghvVf6mWZbGaSSZgnshwZiX6uGSgKJvxYF4ZvkeAkbrAZZQSPw1wDX33EQLGrRRbwD4cCzbWMWFmunYeA"
],
"script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAANrZXkJAAEsAAAAAgIAAAAMSW5zdGFudCBzYWxlCQAEsAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAC+vCABQAAAAR1bml0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAATLCBwcmljZTogNTAwMDAwMDAgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlWp9+L",
"height": 1596522,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EVgG9jdnvzBw8eZcav4j5678XxhMniixM1GDpxe5a4es
Next: r8z7yZ5L2sYWgz9auqRSua37qPivwAE9bcmknC8z3zk
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func instantSale (b) = [ScriptTransfer(a.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(a.transactionId)), (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
| 7 | + | func instantSale (b) = { |
---|
| 8 | + | let c = ("Instant sale" + toUtf8String(a.transactionId)) |
---|
| 9 | + | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(c, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
| 10 | + | } |
---|
8 | 11 | | |
---|
9 | 12 | | |
---|
10 | 13 | | |
---|
11 | 14 | | @Callable(a) |
---|
12 | | - | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
| 15 | + | func buyOffer (d,e,f) = [ScriptTransfer(a.caller, 1, toBytes(d)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
13 | 16 | | |
---|
14 | 17 | | |
---|
15 | 18 | | |
---|
16 | 19 | | @Callable(a) |
---|
17 | | - | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
| 20 | + | func abortSale (d) = [ScriptTransfer(a.caller, 1, toBytes(d))] |
---|
18 | 21 | | |
---|
19 | 22 | | |
---|
20 | | - | @Verifier(f) |
---|
21 | | - | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 23 | + | @Verifier(g) |
---|
| 24 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
22 | 25 | | |
---|
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(a) |
---|
7 | | - | func instantSale (b) = [ScriptTransfer(a.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(a.transactionId)), (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
| 7 | + | func instantSale (b) = { |
---|
| 8 | + | let c = ("Instant sale" + toUtf8String(a.transactionId)) |
---|
| 9 | + | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(c, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
| 10 | + | } |
---|
8 | 11 | | |
---|
9 | 12 | | |
---|
10 | 13 | | |
---|
11 | 14 | | @Callable(a) |
---|
12 | | - | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
| 15 | + | func buyOffer (d,e,f) = [ScriptTransfer(a.caller, 1, toBytes(d)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
13 | 16 | | |
---|
14 | 17 | | |
---|
15 | 18 | | |
---|
16 | 19 | | @Callable(a) |
---|
17 | | - | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
| 20 | + | func abortSale (d) = [ScriptTransfer(a.caller, 1, toBytes(d))] |
---|
18 | 21 | | |
---|
19 | 22 | | |
---|
20 | | - | @Verifier(f) |
---|
21 | | - | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 23 | + | @Verifier(g) |
---|
| 24 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
22 | 25 | | |
---|