tx · 57zT1TknuNv4pY21J7YLTd4DLRnGhiT4BUZqwKMwRaGB
3N6mVEULck7uViUaDo1wi98wch9XzYNXriv: -1.00000000 Waves
2019.02.14 14:39 [494696] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 test random
{
"type": 15,
"id": "57zT1TknuNv4pY21J7YLTd4DLRnGhiT4BUZqwKMwRaGB",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550144423867,
"version": 1,
"sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv",
"senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs",
"proofs": [
"3xwesGs8tJb4czzsmAKBxVcdX4Ded4tSDWvh6WBaYx9s5rkWcgWeC6Ee2ozywv445UDk4cdmYWbYkQKAoMpYWmRN"
],
"assetId": "6gH6B4FyLECw72DpcYZ3ZvYXamdv1QRReXcXcMt7cxhp",
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAADHJhbmRvbVN0cmluZwIAAAAEL3c9PQQAAAALcmFuZG9tQnl0ZXMJAAJbAAAAAQUAAAAMcmFuZG9tU3RyaW5nBAAAAAljb25kaXRpb24JAAJaAAAAAQkAAZoAAAABAAAAAAAAAAEACQAAAgAAAAEFAAAACWNvbmRpdGlvbgbXA/JV",
"chainId": 84,
"height": 494696,
"spentComplexity": 0
}
View: original | compacted
Prev: 7ncqvgAwD2jWEgtBda5CgqJbAX9dRUNYeDYcmxv2dkoJ
Next: 8sXfHgsT2pACZ9K9NT7TzMUU4J1BXzMDxfS9kt9AigGs
Diff:
Old | New | | Differences |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let randomString = "/w==" |
---|
6 | 6 | | let randomBytes = fromBase64String(randomString) |
---|
7 | | - | let condition = (take(randomBytes, 1) == toBytes(-256)) |
---|
8 | | - | throw(toString(condition)) |
---|
| 7 | + | let condition = toBase64String(toBytes(256)) |
---|
| 8 | + | throw(condition) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let randomString = "/w==" |
---|
6 | 6 | | let randomBytes = fromBase64String(randomString) |
---|
7 | | - | let condition = (take(randomBytes, 1) == toBytes(-256)) |
---|
8 | | - | throw(toString(condition)) |
---|
| 7 | + | let condition = toBase64String(toBytes(256)) |
---|
| 8 | + | throw(condition) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|