tx · 7x2unyaM6HUZY2LhV9LbU24hPqzzA9uUbYqYKYhVunWt
3N6mVEULck7uViUaDo1wi98wch9XzYNXriv: -1.00000000 Waves
2019.02.14 14:23 [494680] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 test random
{
"type": 15,
"id": "7x2unyaM6HUZY2LhV9LbU24hPqzzA9uUbYqYKYhVunWt",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550143412119,
"version": 1,
"sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv",
"senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs",
"proofs": [
"3oQGEvEb63fbRbqY64atFRcFUnCZexWc5ZydCvLtwo73qLEzRiiQvpxmfPprZr6NJ8b9DYZy1KaA5yb5mAohDRfe"
],
"assetId": "6gH6B4FyLECw72DpcYZ3ZvYXamdv1QRReXcXcMt7cxhp",
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAADHJhbmRvbVN0cmluZwIAAAAEQUE9PQQAAAALcmFuZG9tQnl0ZXMJAAJbAAAAAQUAAAAMcmFuZG9tU3RyaW5nBAAAAAljb25kaXRpb24JAAAAAAAAAgkAAMkAAAACBQAAAAtyYW5kb21CeXRlcwAAAAAAAAAADwkAAZoAAAABAAAAAAAAAAAPCQAAAgAAAAEJAAGlAAAAAQUAAAAJY29uZGl0aW9uBnluvF4=",
"chainId": 84,
"height": 494680,
"spentComplexity": 0
}
View: original | compacted
Prev: 4fDjigWPxMwULFzqEBTtfG1Nyyrq1KnyaUV1gQWqXMFK
Next: tXfgffYdcUTxY7SeCMnxco66eaMrN2yBCVCWRp4KXkZ
Diff:
Old | New | | Differences |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let randomString = "AA==" |
---|
6 | 6 | | let randomBytes = fromBase64String(randomString) |
---|
7 | | - | let condition = (take(randomBytes, 1) == toBytes(0)) |
---|
| 7 | + | let condition = (take(randomBytes, 15) == toBytes(15)) |
---|
8 | 8 | | throw(toString(condition)) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
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 = "AA==" |
---|
6 | 6 | | let randomBytes = fromBase64String(randomString) |
---|
7 | | - | let condition = (take(randomBytes, 1) == toBytes(0)) |
---|
| 7 | + | let condition = (take(randomBytes, 15) == toBytes(15)) |
---|
8 | 8 | | throw(toString(condition)) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|