tx · 3Wz9twbUgzCvfuoXcf3vK996R1cWYN4yyuMFsv5JNMUd

3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb:  -0.01400000 Waves

2019.01.30 11:46 [472771] smart account 3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb > SELF 0.00000000 Waves

{ "type": 13, "id": "3Wz9twbUgzCvfuoXcf3vK996R1cWYN4yyuMFsv5JNMUd", "fee": 1400000, "feeAssetId": null, "timestamp": 1548838000708, "version": 1, "sender": "3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb", "senderPublicKey": "BTdTmTBfL5TMXno6wjKmpDfg3m4L5A71Kaujb4kJtuYe", "proofs": [ "2SkDPUXqVcbDTQUddEJVamqAvPNcKLmbztt2ng1kTqfiMcJke6nQJCkxUeE1BEjmR9Moi2Shktfu1GpdTPJfDKp1" ], "script": "base64:AQQAAAAIdm90ZUJhbmsJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAJZAAAAAQIAAAAsQlRkVG1UQmZMNVRNWG5vNndqS21wRGZnM200TDVBNzFLYXVqYjRrSnR1WWUEAAAAE21pbmltYWxWb3RpbmdIZWlnaHQAAAAAAAAAAAoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDADCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWQAAAAEZGF0YQAAAAAAAAAAAwQAAAANZmVlVHJhbnNmZXJJZAkAA+gAAAABCQABkQAAAAIIBQAAAAFkAAAABnByb29mcwAAAAAAAAAAAAQAAAAOYXNzZXRUcmFuc2VySWQJAAPoAAAAAQkAAZEAAAACCAUAAAABZAAAAAZwcm9vZnMAAAAAAAAAAAEEAAAAByRtYXRjaDEFAAAADmFzc2V0VHJhbnNlcklkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uB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kABB0AAAACBQAAAAt2b3RlU3RhcnRlcgIAAAADWUVTBgkAAAAAAAACCQAEJAAAAAEIBQAAAAF0AAAACXJlY2lwaWVudAkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAAC3ZvdGVTdGFydGVyAgAAAAJOTwcJAAAAAAAAAggFAAAAAXQAAAAHYXNzZXRJZAkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAAC3ZvdGVTdGFydGVyCQABLAAAAAIJAAJYAAAAAQgFAAAAAXQAAAAKYXR0YWNobWVudAIAAAAGX2Fzc2V0BwkAAAAAAAACCAUAAAABdAAAAAZhbW91bnQAAAAAAAAAAAEHCQAAAAAAAAIIBQAAAAF0AAAAA2ZlZQAAAAAAAAehIAcJAABmAAAAAgkBAAAADHdhdmVzQmFsYW5jZQAAAAEIBQAAAAF0AAAABnNlbmRlcgAAAAAABfXhAAcJAAH0AAAAAwgFAAAAAXQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAF0AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQcHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHnzjLBw==", "chainId": 84, "height": 472771, "spentComplexity": 0 } View: original | compacted Prev: 6uzjgk5Ri1hVYiy387zhRa7JtzoX2NxSG8GeSmJBcVD Next: EXyn6suE8EnqdZvuL6KTYMA16U3MxpLGYNs3pWRH9TcT Diff:
OldNewDifferences
66 case d: DataTransaction =>
77 if ((size(d.data) == 3))
88 then {
9+ let feeTransferId = transactionById(d.proofs[0])
910 let assetTranserId = transactionById(d.proofs[1])
10- let feeTransferId = transactionById(d.proofs[0])
1111 match assetTranserId {
1212 case aT: TransferTransaction =>
1313 match feeTransferId {
1414 case fT: TransferTransaction =>
1515 let votingHeight = d.data[1].value
16+ let xxx = d.data[2].value
17+ let yyy = toBase58String(extract(aT.assetId))
1618 if (if (if (if (if (if (if (if (if (if (if (!(isDefined(getString(voteBank, d.data[0].key))))
1719 then isDefined(getString(aT.sender, "YES"))
1820 else false)
3941 false
4042 }
4143 else false)
42- then (d.data[2].value == toBase58String(extract(aT.assetId)))
44+ then (xxx == yyy)
4345 else false
4446 case _ =>
4547 false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let voteBank = addressFromPublicKey(fromBase58String("BTdTmTBfL5TMXno6wjKmpDfg3m4L5A71Kaujb4kJtuYe"))
44 let minimalVotingHeight = 10
55 match tx {
66 case d: DataTransaction =>
77 if ((size(d.data) == 3))
88 then {
9+ let feeTransferId = transactionById(d.proofs[0])
910 let assetTranserId = transactionById(d.proofs[1])
10- let feeTransferId = transactionById(d.proofs[0])
1111 match assetTranserId {
1212 case aT: TransferTransaction =>
1313 match feeTransferId {
1414 case fT: TransferTransaction =>
1515 let votingHeight = d.data[1].value
16+ let xxx = d.data[2].value
17+ let yyy = toBase58String(extract(aT.assetId))
1618 if (if (if (if (if (if (if (if (if (if (if (!(isDefined(getString(voteBank, d.data[0].key))))
1719 then isDefined(getString(aT.sender, "YES"))
1820 else false)
1921 then isDefined(getString(aT.sender, "NO"))
2022 else false)
2123 then (aT.recipient == voteBank)
2224 else false)
2325 then (fT.recipient == voteBank)
2426 else false)
2527 then (fT.amount >= (aT.amount * 500000))
2628 else false)
2729 then (d.data[0].key == toBase58String(sha256(aT.attachment)))
2830 else false)
2931 then (d.data[0].key == toBase58String(sha256(fT.attachment)))
3032 else false)
3133 then (d.data[1].key == (toBase58String(sha256(fT.attachment)) + "_height"))
3234 else false)
3335 then (d.data[2].key == (toBase58String(sha256(fT.attachment)) + "_asset"))
3436 else false)
3537 then match votingHeight {
3638 case h: Int =>
3739 (h > height)
3840 case _ =>
3941 false
4042 }
4143 else false)
42- then (d.data[2].value == toBase58String(extract(aT.assetId)))
44+ then (xxx == yyy)
4345 else false
4446 case _ =>
4547 false
4648 }
4749 case _ =>
4850 false
4951 }
5052 }
5153 else false
5254 case t: TransferTransaction =>
5355 if (isDefined(getString(voteBank, toBase58String(t.attachment))))
5456 then {
5557 let voteStarter = extract(addressFromString(extract(getString(voteBank, toBase58String(sha256(t.attachment))))))
5658 if (if (if (if (if (if ((extract(getInteger(voteBank, (toBase58String(sha256(t.attachment)) + "_height"))) > height))
5759 then if ((addressFromRecipient(t.recipient) == addressFromString(extract(getString(voteStarter, "YES")))))
5860 then true
5961 else (addressFromRecipient(t.recipient) == addressFromString(extract(getString(voteStarter, "NO"))))
6062 else false)
6163 then (t.assetId == extract(getBinary(voteStarter, (toBase58String(t.attachment) + "_asset"))))
6264 else false)
6365 then (t.amount == 1)
6466 else false)
6567 then (t.fee == 500000)
6668 else false)
6769 then (wavesBalance(t.sender) > 100000000)
6870 else false)
6971 then sigVerify(t.bodyBytes, t.proofs[0], tx.senderPublicKey)
7072 else false
7173 }
7274 else false
7375 case s: SetScriptTransaction =>
7476 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
7577 case _ =>
7678 false
7779 }

github/deemru/w8io/026f985 
21.70 ms