tx · C5CzLQCBvaEU3LMC9RdRjRFV5T9VQN4qsadSL8zxWiyc 3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c: -0.01400000 Waves 2019.03.04 18:53 [521349] smart account 3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c > SELF 0.00000000 Waves
{ "type": 13, "id": "C5CzLQCBvaEU3LMC9RdRjRFV5T9VQN4qsadSL8zxWiyc", "fee": 1400000, "feeAssetId": null, "timestamp": 1551714811187, "version": 1, "sender": "3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c", "senderPublicKey": "AqBHTsCtnV1LE6gdpnR8sqvQvdTkpUdmprUYvjYnXjek", "proofs": [ "f33CqXGss38Zw8J5YCZwfkBhm3nGEAXCzgsckhGjha2vGfTaMyuwhzdaMybd2GGAgWyZs3f8QjNipdmiTULhigb" ], "script": "base64:AQQAAAAGc2VuZGVyCAUAAAACdHgAAAAGc2VuZGVyBAAAAAVhc3NldAEAAAAg4gLVv2kuVAAxgmMDQJDM0MzAVARF8Kdg3AWkh5R5Y2AEAAAACmRpZmZpY3VsdHkJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAACmRpZmZpY3VsdHkEAAAAEGxhc3RVcGRhdGVIZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAAEGxhc3RVcGRhdGVIZWlnaHQEAAAAEWxhc3RVcGRhdGVCYWxhbmNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGc2VuZGVyAgAAABFsYXN0VXBkYXRlQmFsYW5jZQQAAAAOY3VycmVudEJhbGFuY2UJAAPrAAAAAgUAAAAGc2VuZGVyBQAAAAVhc3NldAQAAAAOdmFsaWRpdHlQZXJpb2QAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAKZmlyc3RCeXRlcwkAAlgAAAABCQAAyQAAAAIIBQAAAAJ0eAAAAAJpZAUAAAAKZGlmZmljdWx0eQMDAwMDCQAAZgAAAAIFAAAADnZhbGlkaXR5UGVyaW9kCQAAZQAAAAIFAAAABmhlaWdodAUAAAAQbGFzdFVwZGF0ZUhlaWdodAkBAAAACWlzRGVmaW5lZAAAAAEJAAQbAAAAAgUAAAAGc2VuZGVyBQAAAApmaXJzdEJ5dGVzBwkAAAAAAAACCAUAAAACdHgAAAAGYW1vdW50AAAAAAAAAAABBwkAAAAAAAACCAUAAAACdHgAAAAHYXNzZXRJZAUAAAAFYXNzZXQHCQAAAAAAAAIIBQAAAAJ0eAAAAANmZWUAAAAAAAAHoSAHCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAACdHgAAAAKZmVlQXNzZXRJZAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5KQt3ng==", "chainId": 84, "height": 521349, "spentComplexity": 0 } View: original | compacted Prev: G9ySaKsnQG9DmVZQCFKHTPHL1g7THmZw2MetK7cQKy8x Next: GML8gPBr8TpEuqmHWC4sz7MHKz1MbNEhkUVSmRqzrN2S Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | else false) | |
22 | 22 | then !(isDefined(tx.feeAssetId)) | |
23 | 23 | else false | |
24 | - | case t: DataTransaction => | |
25 | - | (size(t.data) == 3) | |
26 | 24 | case _ => | |
27 | 25 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
28 | 26 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 1 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let sender = tx.sender | |
4 | 4 | let asset = base58'GDFeXJjyasFBgxQJsLrkEBjZoB1x4rkpJN12fG7NE8RV' | |
5 | 5 | let difficulty = extract(getInteger(sender, "difficulty")) | |
6 | 6 | let lastUpdateHeight = extract(getInteger(sender, "lastUpdateHeight")) | |
7 | 7 | let lastUpdateBalance = extract(getInteger(sender, "lastUpdateBalance")) | |
8 | 8 | let currentBalance = assetBalance(sender, asset) | |
9 | 9 | let validityPeriod = 1000 | |
10 | 10 | match tx { | |
11 | 11 | case tx: TransferTransaction => | |
12 | 12 | let firstBytes = toBase58String(take(tx.id, difficulty)) | |
13 | 13 | if (if (if (if (if ((validityPeriod > (height - lastUpdateHeight))) | |
14 | 14 | then isDefined(getBoolean(sender, firstBytes)) | |
15 | 15 | else false) | |
16 | 16 | then (tx.amount == 1) | |
17 | 17 | else false) | |
18 | 18 | then (tx.assetId == asset) | |
19 | 19 | else false) | |
20 | 20 | then (tx.fee == 500000) | |
21 | 21 | else false) | |
22 | 22 | then !(isDefined(tx.feeAssetId)) | |
23 | 23 | else false | |
24 | - | case t: DataTransaction => | |
25 | - | (size(t.data) == 3) | |
26 | 24 | case _ => | |
27 | 25 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
28 | 26 | } |
github/deemru/w8io/169f3d6 52.02 ms ◑