tx · Ax85CEdgYmRjXHNy67kspuwdhZqtyvEexzptSw1BWp2D

3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb:  -0.01400000 Waves

2019.01.30 10:23 [472692] smart account 3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb > SELF 0.00000000 Waves

{ "type": 13, "id": "Ax85CEdgYmRjXHNy67kspuwdhZqtyvEexzptSw1BWp2D", "fee": 1400000, "feeAssetId": null, "timestamp": 1548833062623, "version": 1, "sender": "3N4mapsqVLDdiatjTF2rYB5KiLn2e6Y4eJb", "senderPublicKey": "BTdTmTBfL5TMXno6wjKmpDfg3m4L5A71Kaujb4kJtuYe", "proofs": [ "2Zt9YwyFxNjhr683cicHCuFTj5o8P4Qk5pYqMv4E2E9tgsZ6E1ca9poZkYFZviSjNj9rru73rHcQAKgBfeEHGux6" ], "script": "base64:AQQAAAAIdm90ZUJhbmsJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAJZAAAAAQIAAAAsQlRkVG1UQmZMNVRNWG5vNndqS21wRGZnM200TDVBNzFLYXVqYjRrSnR1WWUEAAAAE21pbmltYWxWb3RpbmdIZWlnaHQAAAAAAAAAAAoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDADAwkAAAAAAAACCQABkAAAAAEIBQAAAAFkAAAABGRhdGEAAAAAAAAAAAMJAAAAAAAAAgkAAZAAAAABCAUAAAABZAAAAAZwcm9vZnMAAAAAAAAAAAQHBAAAAA5hc3NldFRyYW5zZXJJZAkAA+gAAAABCQABkQAAAAIIBQAAAAFkAAAABnByb29mcwAAAAAAAAAAAQQAAAANZmVlVHJhbnNmZXJJZAkAA+gAAAABCQABkQAAAAIIBQAAAAFkAAAABnByb29mcwAAAAAAAAAAAAQAAAAHJG1hdGNoMQUAAAAOYXNzZXRUcmFuc2VySWQDCQAAAQAAAA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AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQeOmP7w", "chainId": 84, "height": 472692, "spentComplexity": 0 } View: original | compacted Prev: 3jzSpKTVV2n1oc6ZTZahe9Fp6KnL7HMN6zdS1sohfUUt Next: 3EkXU1Qg5E3CC3QjuLBSWfo7xgaGTBshEayHyQL4vCNe Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let voteBank = addressFromPublicKey(fromBase58String("DPhJYN1oxvQeWQSGRHEVPxDVPtXUaSa4kaLp8eeGPviE"))
3+let voteBank = addressFromPublicKey(fromBase58String("BTdTmTBfL5TMXno6wjKmpDfg3m4L5A71Kaujb4kJtuYe"))
44 let minimalVotingHeight = 10
55 match tx {
66 case d: DataTransaction =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let voteBank = addressFromPublicKey(fromBase58String("DPhJYN1oxvQeWQSGRHEVPxDVPtXUaSa4kaLp8eeGPviE"))
3+let voteBank = addressFromPublicKey(fromBase58String("BTdTmTBfL5TMXno6wjKmpDfg3m4L5A71Kaujb4kJtuYe"))
44 let minimalVotingHeight = 10
55 match tx {
66 case d: DataTransaction =>
77 if (if ((size(d.data) == 3))
88 then (size(d.proofs) == 4)
99 else false)
1010 then {
1111 let assetTranserId = transactionById(d.proofs[1])
1212 let feeTransferId = transactionById(d.proofs[0])
1313 match assetTranserId {
1414 case aT: TransferTransaction =>
1515 let attach = toBase58String(sha256(aT.attachment))
1616 match feeTransferId {
1717 case fT: TransferTransaction =>
1818 if (if (if (if (if (!(isDefined(getString(voteBank, d.data[0].key))))
1919 then isDefined(getString(aT.sender, "YES"))
2020 else false)
2121 then isDefined(getString(aT.sender, "NO"))
2222 else false)
2323 then (aT.recipient == voteBank)
2424 else false)
2525 then (fT.recipient == voteBank)
2626 else false)
2727 then (fT.amount >= (aT.amount * 500000))
2828 else false
2929 case _ =>
3030 false
3131 }
3232 case _ =>
3333 false
3434 }
3535 }
3636 else false
3737 case t: TransferTransaction =>
3838 if (isDefined(getString(voteBank, toBase58String(t.attachment))))
3939 then {
4040 let voteStarter = extract(addressFromString(extract(getString(voteBank, toBase58String(sha256(t.attachment))))))
4141 if (if (if (if (if (if ((extract(getInteger(voteBank, (toBase58String(sha256(t.attachment)) + "_height"))) > height))
4242 then if ((addressFromRecipient(t.recipient) == addressFromString(extract(getString(voteStarter, "YES")))))
4343 then true
4444 else (addressFromRecipient(t.recipient) == addressFromString(extract(getString(voteStarter, "NO"))))
4545 else false)
4646 then (t.assetId == extract(getBinary(voteStarter, (toBase58String(t.attachment) + "_asset"))))
4747 else false)
4848 then (t.amount == 1)
4949 else false)
5050 then (t.fee == 500000)
5151 else false)
5252 then (wavesBalance(t.sender) > 100000000)
5353 else false)
5454 then sigVerify(t.bodyBytes, t.proofs[0], tx.senderPublicKey)
5555 else false
5656 }
5757 else false
5858 case s: SetScriptTransaction =>
5959 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
6060 case _ =>
6161 false
6262 }

github/deemru/w8io/026f985 
21.86 ms