tx · 7ncqvgAwD2jWEgtBda5CgqJbAX9dRUNYeDYcmxv2dkoJ
3N6mVEULck7uViUaDo1wi98wch9XzYNXriv: -1.00000000 Waves
2019.02.14 14:35 [494693] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 test random
{
"type": 15,
"id": "7ncqvgAwD2jWEgtBda5CgqJbAX9dRUNYeDYcmxv2dkoJ",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550144187512,
"version": 1,
"sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv",
"senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs",
"proofs": [
"2oM2wUK6HNUXpjKWwESWUxzPspHBiKrEkwEAx5o4Dsi43QQifEWm2uuRdnraJDUPW5jx5cBDP82eLUMg3Vbhu2Lt"
],
"assetId": "6gH6B4FyLECw72DpcYZ3ZvYXamdv1QRReXcXcMt7cxhp",
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAADHJhbmRvbVN0cmluZwIAAAAEL3c9PQQAAAALcmFuZG9tQnl0ZXMJAAJbAAAAAQUAAAAMcmFuZG9tU3RyaW5nBAAAAAljb25kaXRpb24JAAAAAAAAAgkAAMkAAAACBQAAAAtyYW5kb21CeXRlcwAAAAAAAAAAAQkAAZoAAAABAP////////8ACQAAAgAAAAEJAAGlAAAAAQUAAAAJY29uZGl0aW9uBh/rOMY=",
"chainId": 84,
"height": 494693,
"spentComplexity": 0
}
View: original | compacted
Prev: GPSUagJphG6bBgB1Qn58zMudvdLtXgVmEEtpQN6RyuKC
Next: 57zT1TknuNv4pY21J7YLTd4DLRnGhiT4BUZqwKMwRaGB
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)) |
---|
| 7 | + | let condition = (take(randomBytes, 1) == toBytes(-256)) |
---|
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 = "/w==" |
---|
6 | 6 | | let randomBytes = fromBase64String(randomString) |
---|
7 | | - | let condition = (take(randomBytes, 1) == toBytes(256)) |
---|
| 7 | + | let condition = (take(randomBytes, 1) == toBytes(-256)) |
---|
8 | 8 | | throw(toString(condition)) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|