tx · ErB2FRxPTk5PhgHJ5zsBuAuxexCGaaVwasuV191axFVG

3N19vN1Z59xVYDfLwa3MGrqYN1YQbpaVZTQ:  -0.01000000 Waves

2019.07.30 22:49 [609273] smart account 3N19vN1Z59xVYDfLwa3MGrqYN1YQbpaVZTQ > SELF 0.00000000 Waves

{ "type": 13, "id": "ErB2FRxPTk5PhgHJ5zsBuAuxexCGaaVwasuV191axFVG", "fee": 1000000, "feeAssetId": null, "timestamp": 1564516177042, "version": 1, "sender": "3N19vN1Z59xVYDfLwa3MGrqYN1YQbpaVZTQ", "senderPublicKey": "GiGvAoDjVvaX1ADduHzcFi2eTobhhd5irG3mVsiBUsqi", "proofs": [ "22aQsFR6bERMjY86iH1g63iYzXdUjyqQTtPWZiMx75C9zjMvCBnsY8kxdLoirdhpBJyaM4LpYbPvzzkCFxScefkZ" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAAtFTVRQWVNUUklORwIAAAAAAQAAABBnZXRTdHJpbmdGcm9tS2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAA3N0cgUAAAAHJG1hdGNoMAUAAAADc3RyBQAAAAtFTVRQWVNUUklORwEAAAANaXNWYWxpZFNlbmRlcgAAAAEAAAAPZGF0YVRyYW5zYWN0aW9uBAAAAAZzZW5kZXIIBQAAAA9kYXRhVHJhbnNhY3Rpb24AAAAGc2VuZGVyBAAAABhnZXRFbnRyeUZvclNlbmRlckFkZHJlc3MJAQAAABBnZXRTdHJpbmdGcm9tS2V5AAAAAQkAAlgAAAABCAUAAAAGc2VuZGVyAAAABWJ5dGVzAwkAAAAAAAACBQAAABhnZXRFbnRyeUZvclNlbmRlckFkZHJlc3MFAAAAC0VNVFBZU1RSSU5HBwYAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkBAAAADWlzVmFsaWRTZW5kZXIAAAABBQAAAAFkBunWsW4=", "chainId": 84, "height": 609273, "spentComplexity": 0 } View: original | compacted Prev: none Next: Hi1KZKYssKsnK9Ee77mJxy3Zqpj4u9LcNgQUVKgExSGj Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let EMTPYSTRING = ""
5+
6+func getStringFromKey (key) = match getString(this, key) {
7+ case str: String =>
8+ str
9+ case _ =>
10+ EMTPYSTRING
11+}
12+
13+
14+func isValidSender (dataTransaction) = {
15+ let sender = dataTransaction.sender
16+ let getEntryForSenderAddress = getStringFromKey(toBase58String(sender.bytes))
17+ if ((getEntryForSenderAddress == EMTPYSTRING))
18+ then false
19+ else true
20+ }
21+
22+
23+
24+@Verifier(tx)
25+func verify () = match tx {
26+ case d: DataTransaction =>
27+ isValidSender(d)
28+ case _ =>
29+ true
30+}
31+

github/deemru/w8io/169f3d6 
25.87 ms