tx · 83zDhjymZhtyMG4VS8Wa8denG7KjxQ8yWbvv7zt1No3k

3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c:  -0.01400000 Waves

2019.03.04 17:56 [521290] smart account 3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c > SELF 0.00000000 Waves

{ "type": 13, "id": "83zDhjymZhtyMG4VS8Wa8denG7KjxQ8yWbvv7zt1No3k", "fee": 1400000, "feeAssetId": null, "timestamp": 1551711395037, "version": 1, "sender": "3N3Bsb6cBEFXxxXYK3P18A6boegYcJtzV6c", "senderPublicKey": "AqBHTsCtnV1LE6gdpnR8sqvQvdTkpUdmprUYvjYnXjek", "proofs": [ "48TQKskwRxiqmvHi4ZP4jFXHwRZBxSmgs81neSwY6LgJ67CG5eGqxBm2x485PjygHZ3npmoMftbY9wWMzceYeFgV" ], "script": "base64:AQQAAAAGc2VuZGVyCAUAAAACdHgAAAAGc2VuZGVyBAAAAAVhc3NldAEAAAAg4gLVv2kuVAAxgmMDQJDM0MzAVARF8Kdg3AWkh5R5Y2AEAAAACmRpZmZpY3VsdHkJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAACmRpZmZpY3VsdHkEAAAAEGxhc3RVcGRhdGVIZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAZzZW5kZXICAAAAEGxhc3RVcGRhdGVIZWlnaHQEAAAAEWxhc3RVcGRhdGVCYWxhbmNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGc2VuZGVyAgAAABFsYXN0VXBkYXRlQmFsYW5jZQQAAAAOY3VycmVudEJhbGFuY2UJAAPrAAAAAgUAAAAGc2VuZGVyBQAAAAVhc3NldAQAAAAOdmFsaWRpdHlQZXJpb2QAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAKZmlyc3RCeXRlcwkAAlgAAAABCQAAyQAAAAIIBQAAAAJ0eAAAAAJpZAUAAAAKZGlmZmljdWx0eQMDAwMDCQAAZgAAAAIFAAAADnZhbGlkaXR5UGVyaW9kCQAAZQAAAAIFAAAABmhlaWdodAUAAAAQbGFzdFVwZGF0ZUhlaWdodAkBAAAACWlzRGVmaW5lZAAAAAEJAAQbAAAAAgUAAAAGc2VuZGVyBQAAAApmaXJzdEJ5dGVzBwkAAAAAAAACCAUAAAACdHgAAAAGYW1vdW50AAAAAAAAAAABBwkAAAAAAAACCAUAAAACdHgAAAAHYXNzZXRJZAUAAAAFYXNzZXQHCQAAAAAAAAIIBQAAAAJ0eAAAAANmZWUAAAAAAAAHoSAHCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAACdHgAAAAKZmVlQXNzZXRJZAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5KQt3ng==", "chainId": 84, "height": 521290, "spentComplexity": 0 } View: original | compacted Prev: 2T7ewdrDAtJH3sgWaLJFjdGte2E3tTcPh5tu59zo9bKj Next: H41Tb65a9v52CVCqVcgg9jQMtQC2ovLiwnPFWQuYzPU9 Diff:
OldNewDifferences
66 let lastUpdateHeight = extract(getInteger(sender, "lastUpdateHeight"))
77 let lastUpdateBalance = extract(getInteger(sender, "lastUpdateBalance"))
88 let currentBalance = assetBalance(sender, asset)
9-let validityPeriod = 20
9+let validityPeriod = 1000
1010 match tx {
1111 case tx: TransferTransaction =>
1212 let firstBytes = toBase58String(take(tx.id, difficulty))
2121 else false)
2222 then !(isDefined(tx.feeAssetId))
2323 else false
24- case tx: DataTransaction =>
25- let newDifficulty = if ((difficulty == 2))
26- then 3
27- else 2
28- if (if (if (if ((size(tx.data) == 3))
29- then (extract(getInteger(tx.data, "difficulty")) == newDifficulty)
30- else false)
31- then (extract(getInteger(tx.data, "lastUpdateHeight")) == height)
32- else false)
33- then (extract(getInteger(tx.data, "lastUpdateBalance")) == currentBalance)
34- else false)
35- then (tx.fee == 500000)
36- else false
3724 case _ =>
3825 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3926 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let sender = tx.sender
44 let asset = base58'GDFeXJjyasFBgxQJsLrkEBjZoB1x4rkpJN12fG7NE8RV'
55 let difficulty = extract(getInteger(sender, "difficulty"))
66 let lastUpdateHeight = extract(getInteger(sender, "lastUpdateHeight"))
77 let lastUpdateBalance = extract(getInteger(sender, "lastUpdateBalance"))
88 let currentBalance = assetBalance(sender, asset)
9-let validityPeriod = 20
9+let validityPeriod = 1000
1010 match tx {
1111 case tx: TransferTransaction =>
1212 let firstBytes = toBase58String(take(tx.id, difficulty))
1313 if (if (if (if (if ((validityPeriod > (height - lastUpdateHeight)))
1414 then isDefined(getBoolean(sender, firstBytes))
1515 else false)
1616 then (tx.amount == 1)
1717 else false)
1818 then (tx.assetId == asset)
1919 else false)
2020 then (tx.fee == 500000)
2121 else false)
2222 then !(isDefined(tx.feeAssetId))
2323 else false
24- case tx: DataTransaction =>
25- let newDifficulty = if ((difficulty == 2))
26- then 3
27- else 2
28- if (if (if (if ((size(tx.data) == 3))
29- then (extract(getInteger(tx.data, "difficulty")) == newDifficulty)
30- else false)
31- then (extract(getInteger(tx.data, "lastUpdateHeight")) == height)
32- else false)
33- then (extract(getInteger(tx.data, "lastUpdateBalance")) == currentBalance)
34- else false)
35- then (tx.fee == 500000)
36- else false
3724 case _ =>
3825 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3926 }

github/deemru/w8io/026f985 
21.78 ms