tx · G9ySaKsnQG9DmVZQCFKHTPHL1g7THmZw2MetK7cQKy8x 3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c: -0.01400000 Waves 2019.03.04 18:32 [521327] smart account 3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c > SELF 0.00000000 Waves
{ "type": 13, "id": "G9ySaKsnQG9DmVZQCFKHTPHL1g7THmZw2MetK7cQKy8x", "fee": 1400000, "feeAssetId": null, "timestamp": 1551712806557, "version": 1, "sender": "3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c", "senderPublicKey": "AqBHTsCtnV1LE6gdpnR8sqvQvdTkpUdmprUYvjYnXjek", "proofs": [ "2JPeoPTjAWxhTKDw15WbDPSVeL1o36baGoQmciirhQyS8QVh9Gjp9RgokPRhCmvtgvG2XbXMU4LRCzbxihasR1mQ" ], "script": "base64:AQQAAAAGc2VuZGVyCAUAAAACdHgAAAAGc2VuZGVyBAAAAAVhc3NldAEAAAAg4gLVv2kuVAAxgmMDQJDM0MzAVARF8Kdg3AWkh5R5Y2AEAAAACmRpZmZpY3VsdHkJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAACmRpZmZpY3VsdHkEAAAAEGxhc3RVcGRhdGVIZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAAEGxhc3RVcGRhdGVIZWlnaHQEAAAAEWxhc3RVcGRhdGVCYWxhbmNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGc2VuZGVyAgAAABFsYXN0VXBkYXRlQmFsYW5jZQQAAAAOY3VycmVudEJhbGFuY2UJAAPrAAAAAgUAAAAGc2VuZGVyBQAAAAVhc3NldAQAAAAOdmFsaWRpdHlQZXJpb2QAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAKZmlyc3RCeXRlcwkAAlgAAAABCQAAyQAAAAIIBQAAAAJ0eAAAAAJpZAUAAAAKZGlmZmljdWx0eQMDAwMDCQAAZgAAAAIFAAAADnZhbGlkaXR5UGVyaW9kCQAAZQAAAAIFAAAABmhlaWdodAUAAAAQbGFzdFVwZGF0ZUhlaWdodAkBAAAACWlzRGVmaW5lZAAAAAEJAAQbAAAAAgUAAAAGc2VuZGVyBQAAAApmaXJzdEJ5dGVzBwkAAAAAAAACCAUAAAACdHgAAAAGYW1vdW50AAAAAAAAAAABBwkAAAAAAAACCAUAAAACdHgAAAAHYXNzZXRJZAUAAAAFYXNzZXQHCQAAAAAAAAIIBQAAAAJ0eAAAAANmZWUAAAAAAAAHoSAHCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAACdHgAAAAKZmVlQXNzZXRJZAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAAAAAAACCQABkAAAAAEIBQAAAAF0AAAABGRhdGEAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BGrWew==", "chainId": 84, "height": 521327, "spentComplexity": 0 } View: original | compacted Prev: H41Tb65a9v52CVCqVcgg9jQMtQC2ovLiwnPFWQuYzPU9 Next: C5CzLQCBvaEU3LMC9RdRjRFV5T9VQN4qsadSL8zxWiyc Full:
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 | 24 | case t: DataTransaction => | |
25 | 25 | (size(t.data) == 3) | |
26 | 26 | case _ => | |
27 | 27 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
28 | 28 | } |
github/deemru/w8io/026f985 33.94 ms ◑