tx · EnxL2WfmG3qC8iSStqTMD3rRvN6s4SPSkv66dsT9Fkug

3N4dsDKjtqvedeQEnpRQa2p6uubnUdE4Smf:  -0.07000000 Waves

2020.03.16 11:01 [911534] smart account 3N4dsDKjtqvedeQEnpRQa2p6uubnUdE4Smf > SELF 0.00000000 Waves

{ "type": 13, "id": "EnxL2WfmG3qC8iSStqTMD3rRvN6s4SPSkv66dsT9Fkug", "fee": 7000000, "feeAssetId": null, "timestamp": 1584345665557, "version": 1, "sender": "3N4dsDKjtqvedeQEnpRQa2p6uubnUdE4Smf", "senderPublicKey": "3sBRBa9w1PN6m648UFU91js9rQMxyCZwcFoJfMMcESkG", "proofs": [ "3sKUTEEcxLLxiwnz5tWn2kLcg2ZWTxegab9QZfNkGPm9i5u8HMCvxpFJJWXRu4juH9HwC9WjAGRjc3nZbujByQ1d" ], "script": "base64:AwQAAAAEQkFOSwEAAAAaAVQ3JiU2+RrSt9tb02etAAVj96WjZOl/VCoEAAAADFRBUkdFVEhFSUdIVAQAAAAHJG1hdGNoMAkABBoAAAACCQEAAAAHQWRkcmVzcwAAAAEFAAAABEJBTksJAAEsAAAAAgkAAlgAAAABCAgFAAAAAnR4AAAABnNlbmRlcgAAAAVieXRlcwIAAAAHX3RhcmdldAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAQAAAABeAUAAAAHJG1hdGNoMAAAAAAAAAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAF4BQAAAAckbWF0Y2gwBQAAAAF4CQEAAAAFdGhyb3cAAAAABAAAAAZzdGF0dXMEAAAAByRtYXRjaDAJAAQdAAAAAgkBAAAAB0FkZHJlc3MAAAABBQAAAARCQU5LCQABLAAAAAIJAAJYAAAAAQgIBQAAAAJ0eAAAAAZzZW5kZXIAAAAFYnl0ZXMCAAAAB19zdGF0dXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQEAAAAAXgFAAAAByRtYXRjaDACAAAABXVuc2V0AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXgFAAAAByRtYXRjaDAFAAAAAXgJAQAAAAV0aHJvdwAAAAADAwkAAGYAAAACBQAAAAZoZWlnaHQFAAAADFRBUkdFVEhFSUdIVAkAAAAAAAACBQAAAAZzdGF0dXMCAAAACGJvcnJvd2VkBwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAAAAAAAIICQAEJAAAAAEIBQAAAAF0AAAABGRBcHAAAAAFYnl0ZXMFAAAABEJBTksHAwMJAAAAAAAAAgUAAAAGc3RhdHVzAgAAAAhyZXR1cm5lZAYJAAAAAAAAAgUAAAAGc3RhdHVzAgAAAAhjYW5jZWxlZAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5FXhNRg==", "chainId": 84, "height": 911534, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let BANK = base58'3MtwgdriYAnYV1mFeMkJVF8KP4YmXn9BUau'
4+let TARGETHEIGHT = match getInteger(Address(BANK), (toBase58String(tx.sender.bytes) + "_target")) {
5+ case x: Unit =>
6+ 0
7+ case x: Int =>
8+ x
9+ case _ =>
10+ throw()
11+}
12+let status = match getString(Address(BANK), (toBase58String(tx.sender.bytes) + "_status")) {
13+ case x: Unit =>
14+ "unset"
15+ case x: String =>
16+ x
17+ case _ =>
18+ throw()
19+}
20+if (if ((height > TARGETHEIGHT))
21+ then (status == "borrowed")
22+ else false)
23+ then match tx {
24+ case t: InvokeScriptTransaction =>
25+ (addressFromRecipient(t.dApp).bytes == BANK)
26+ case _ =>
27+ false
28+ }
29+ else if (if ((status == "returned"))
30+ then true
31+ else (status == "canceled"))
32+ then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
33+ else match tx {
34+ case t: SetScriptTransaction =>
35+ false
36+ case _ =>
37+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
38+ }

github/deemru/w8io/169f3d6 
20.24 ms