tx · 2phGpJekHXDiFKZRj69Q6BZ8Pu2NEzC31i99FUQ86h3B
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.03 01:34 [1596574] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "2phGpJekHXDiFKZRj69Q6BZ8Pu2NEzC31i99FUQ86h3B",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625265304969,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"4XtHTaLBe56P8zgqBSnozcE1MzuFycz4McUigGwKyJ1MNNHN2DrUXQ46aYZkp3rj8Cza3mhbL6L9FwEL2dBNN2v7"
],
"script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAAVwcmljZQIAAAAINTAwMDAwMDAEAAAABnN0YXR1cwIAAAAJY29tcGxldGVkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMeyAnc2VsbGVyJzogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAALLCAncHJpY2UnOiAFAAAABXByaWNlAgAAAAwsICdzdGF0dXMnOiAFAAAABnN0YXR1cwIAAAABfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmndOh/",
"height": 1596574,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt
Next: A53oQ52EQdJBFsDBa9aujXM85jdJUgc242MEY91BkxzT
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func instantSale (b) = [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (("{ seller: " + toString(a.caller)) + ", price: 50000000, status: completed }"))] |
---|
| 7 | + | func instantSale (b) = { |
---|
| 8 | + | let c = "50000000" |
---|
| 9 | + | let d = "completed" |
---|
| 10 | + | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (((((("{ 'seller': " + toString(a.caller)) + ", 'price': ") + c) + ", 'status': ") + d) + "}"))] |
---|
| 11 | + | } |
---|
8 | 12 | | |
---|
9 | 13 | | |
---|
10 | 14 | | |
---|
11 | 15 | | @Callable(a) |
---|
12 | | - | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
| 16 | + | func buyOffer (e,c,f) = [ScriptTransfer(a.caller, 1, toBytes(e)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
13 | 17 | | |
---|
14 | 18 | | |
---|
15 | 19 | | |
---|
16 | 20 | | @Callable(a) |
---|
17 | | - | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
| 21 | + | func abortSale (e) = [ScriptTransfer(a.caller, 1, toBytes(e))] |
---|
18 | 22 | | |
---|
19 | 23 | | |
---|
20 | | - | @Verifier(f) |
---|
21 | | - | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 24 | + | @Verifier(g) |
---|
| 25 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
22 | 26 | | |
---|
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(b, (("{ seller: " + toString(a.caller)) + ", price: 50000000, status: completed }"))] |
---|
| 7 | + | func instantSale (b) = { |
---|
| 8 | + | let c = "50000000" |
---|
| 9 | + | let d = "completed" |
---|
| 10 | + | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (((((("{ 'seller': " + toString(a.caller)) + ", 'price': ") + c) + ", 'status': ") + d) + "}"))] |
---|
| 11 | + | } |
---|
8 | 12 | | |
---|
9 | 13 | | |
---|
10 | 14 | | |
---|
11 | 15 | | @Callable(a) |
---|
12 | | - | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
| 16 | + | func buyOffer (e,c,f) = [ScriptTransfer(a.caller, 1, toBytes(e)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
13 | 17 | | |
---|
14 | 18 | | |
---|
15 | 19 | | |
---|
16 | 20 | | @Callable(a) |
---|
17 | | - | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
| 21 | + | func abortSale (e) = [ScriptTransfer(a.caller, 1, toBytes(e))] |
---|
18 | 22 | | |
---|
19 | 23 | | |
---|
20 | | - | @Verifier(f) |
---|
21 | | - | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 24 | + | @Verifier(g) |
---|
| 25 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
22 | 26 | | |
---|