tx · CrKa4uZMMcQ5ddSbbDACpbPKyoxXyzNv739vCvcr7RHg

3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj:  -0.01000000 Waves

2018.12.16 01:04 [406484] smart account 3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj > SELF 0.00000000 Waves

{ "type": 13, "id": "CrKa4uZMMcQ5ddSbbDACpbPKyoxXyzNv739vCvcr7RHg", "fee": 1000000, "feeAssetId": null, "timestamp": 1544911529304, "version": 1, "sender": "3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj", "senderPublicKey": "GiCypKVsf8iKQQcWBaCKrqsAcdYYL23SdxSP3JfmbVPC", "proofs": [ "4QweP6aMPuzyG7egiCCxnfkkE5JmTXpp95YQ4GhVCEai9Vt5jP35axGwYJ8ALmEfQJn7kKWGh69knBxMwL172CYp" ], "script": "base64:AQQAAAALdG9rZW5Jc3N1ZXIJAQAAAAdleHRyYWN0AAAAAQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM04zZm1IVEo3eVltaUNNNVdEUmEyRlZlRXhLNE1OTEt2ZmoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAQAAAANc2VuZGVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAXMAAAAPc2VuZGVyUHVibGljS2V5CQAAAAAAAAIIBQAAAA1zZW5kZXJBZGRyZXNzAAAABWJ5dGVzCAUAAAALdG9rZW5Jc3N1ZXIAAAAFYnl0ZXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAAEHJlY2lwaWVudEFkZHJlc3MJAAQkAAAAAQgFAAAAAXQAAAAJcmVjaXBpZW50BAAAAA1zZW5kZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABdAAAAA9zZW5kZXJQdWJsaWNLZXkDCQAAZgAAAAIJAAPrAAAAAgUAAAAQcmVjaXBpZW50QWRkcmVzcwgFAAAAAXQAAAACaWQAAAAAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAggFAAAADXNlbmRlckFkZHJlc3MAAAAFYnl0ZXMIBQAAAAt0b2tlbklzc3VlcgAAAAVieXRlcwZA3uF5", "chainId": 84, "height": 406484, "spentComplexity": 0 } View: original | compacted Prev: none Next: 8hGaSZ3NDrBoJyWt3H1VaXUQppDSj4pJsCXprBzqmSCu Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 1 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let tokenIssuer = extract(addressFromString("3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj"))
4+match tx {
5+ case s: SetScriptTransaction =>
6+ let senderAddress = addressFromPublicKey(s.senderPublicKey)
7+ (senderAddress.bytes == tokenIssuer.bytes)
8+ case t: TransferTransaction =>
9+ let recipientAddress = addressFromRecipient(t.recipient)
10+ let senderAddress = addressFromPublicKey(t.senderPublicKey)
11+ if ((assetBalance(recipientAddress, t.id) > 0))
12+ then 0
13+ else (senderAddress.bytes == tokenIssuer.bytes)
14+ case _ =>
15+ true
16+}

github/deemru/w8io/169f3d6 
61.99 ms