tx · D8BrfGjNXShX1j2gWEWawYJfNrVoYBce3Hq4xG9GspfA
3MwzVVTXiYGQsp48VX8adQ8cpqERGusRZfD: -0.01400000 Waves
2020.11.25 16:54 [1281017] smart account 3MwzVVTXiYGQsp48VX8adQ8cpqERGusRZfD > SELF 0.00000000 Waves
{
"type": 13,
"id": "D8BrfGjNXShX1j2gWEWawYJfNrVoYBce3Hq4xG9GspfA",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1606312482175,
"version": 2,
"chainId": 84,
"sender": "3MwzVVTXiYGQsp48VX8adQ8cpqERGusRZfD",
"senderPublicKey": "8ejXYSqoG5h6bNLBRchYHfFvhrj7S4h1tpKRWqZ4oj8D",
"proofs": [
"4SuoAhLHXjbWViTSr5HDubQEKUs3uP3f6ZtiBKZ8ysKvB8shXA6zdt4g8LLCWXGd8YEyBZYjnGdv2L16nhoCC7M3"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAJbXlBZGRyZXNzAAAAAAQAAAAIbWVzc2FnZTECAAAACnRoaXMuYnl0ZXMEAAAACG1lc3NhZ2UyCQACWAAAAAEIBQAAAAR0aGlzAAAABWJ5dGVzBAAAAAhtZXNzYWdlMwIAAAAQIHR4LnNlbmRlci5ieXRlcwQAAAAIbWVzc2FnZTQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAhtZXNzYWdlMQUAAAAIbWVzc2FnZTIFAAAACG1lc3NhZ2UzBQAAAAhtZXNzYWdlNAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAACXNpZ25hdHVyZQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAUAAAAJc2lnbmF0dXJlBQAAAAlzaWduYXR1cmVgSZd2",
"height": 1281017,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5et357YkHvtBPZ2c2QPnqFmaaoaoiKqJtAVMAWQniiZx
Next: 9fC1M9t9qL5UwzzEZTeVXgRgYUDgc6KexsSNfXcd3dhp
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func myAddress () = { |
---|
| 8 | + | let message1 = "this.bytes" |
---|
| 9 | + | let message2 = toBase58String(this.bytes) |
---|
| 10 | + | let message3 = " tx.sender.bytes" |
---|
| 11 | + | let message4 = toBase58String(i.caller.bytes) |
---|
| 12 | + | throw((((message1 + message2) + message3) + message4)) |
---|
| 13 | + | } |
---|
5 | 14 | | |
---|
6 | 15 | | |
---|
7 | 16 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func myAddress () = { |
---|
| 8 | + | let message1 = "this.bytes" |
---|
| 9 | + | let message2 = toBase58String(this.bytes) |
---|
| 10 | + | let message3 = " tx.sender.bytes" |
---|
| 11 | + | let message4 = toBase58String(i.caller.bytes) |
---|
| 12 | + | throw((((message1 + message2) + message3) + message4)) |
---|
| 13 | + | } |
---|
5 | 14 | | |
---|
6 | 15 | | |
---|
7 | 16 | | @Verifier(tx) |
---|
8 | 17 | | func verify () = { |
---|
9 | 18 | | let signature = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
10 | 19 | | match tx { |
---|
11 | 20 | | case t: InvokeScriptTransaction => |
---|
12 | 21 | | signature |
---|
13 | 22 | | case _ => |
---|
14 | 23 | | signature |
---|
15 | 24 | | } |
---|
16 | 25 | | } |
---|
17 | 26 | | |
---|