tx · ECWsxfMY43GWfCrm9as9LnnTxijCt9Lq8bVuPoPkSfn

3Mq3iMAFr85yRabdpAzKESryC6thJbJiPD7:  -0.01400000 Waves

2018.12.16 05:09 [406744] smart account 3Mq3iMAFr85yRabdpAzKESryC6thJbJiPD7 > SELF 0.00000000 Waves

{ "type": 13, "id": "ECWsxfMY43GWfCrm9as9LnnTxijCt9Lq8bVuPoPkSfn", "fee": 1400000, "feeAssetId": null, "timestamp": 1544926328799, "version": 1, "sender": "3Mq3iMAFr85yRabdpAzKESryC6thJbJiPD7", "senderPublicKey": "2v9HSm5v8MSh3Zvt2GRSqhuxNVoxNwpgoYwFDRx6Rdsq", "proofs": [ "gjoti3qDuon1RQM6Fw1mJfwdVJFRVydHG7BV5cBZ5kXTUGi396jDsLMMbm81nbunfQeJfzzakqxThcPGaewtAj4" ], "script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAABG1vZGUJAAEvAAAAAggJAAGRAAAAAggFAAAAAXQAAAAEZGF0YQAAAAAAAAAAAAAAAANrZXkAAAAAAAAAAAMEAAAABW1vZGUyCQABLwAAAAIICQABkQAAAAIIBQAAAAF0AAAABGRhdGEAAAAAAAAAAAEAAAADa2V5AAAAAAAAAAADBAAAAANudW0JAAEvAAAAAgkAATAAAAACCAkAAZEAAAACCAUAAAABdAAAAARkYXRhAAAAAAAAAAAAAAAAA2tleQAAAAAAAAAAAwAAAAAAAAAAAQQAAAAJc2Vzc2lvbklkCQABMAAAAAIICQABkQAAAAIIBQAAAAF0AAAABGRhdGEAAAAAAAAAAAAAAAADa2V5AAAAAAAAAAAEBAAAAAVpc0RlZgkBAAAACWlzRGVmaW5lZAAAAAEJAAQdAAAAAgUAAAACbWUICQABkQAAAAIIBQAAAAF0AAAABGRhdGEAAAAAAA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AAANrZXkAAAAAAAAAAAMEAAAACGxhc3RBcHBPCQAEGgAAAAIFAAAAAm1lCAkAAZEAAAACCAUAAAABdAAAAARkYXRhAAAAAAAAAAAAAAAAA2tleQQAAAAHbGFzdEFwcAMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAhsYXN0QXBwTwkBAAAAB2V4dHJhY3QAAAABBQAAAAhsYXN0QXBwTwAAAAAAAAAAAAQAAAAIaXNTdWIzMDAJAAAAAAAAAgkAAGUAAAACBQAAAAdsYXN0QXBwAAAAAAAAAAEsCQAEEAAAAAIIBQAAAAF0AAAABGRhdGEICQABkQAAAAIIBQAAAAF0AAAABGRhdGEAAAAAAAAAAAAAAAADa2V5AwMJAQAAAAEhAAAAAQUAAAAGaXNEZWYyCQAAZwAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAABdAAAAARkYXRhCAkAAZEAAAACCAUAAAABdAAAAARkYXRhAAAAAAAAAAAAAAAAA2tleQAAAAAAAAAAAAcFAAAACGlzU3ViMzAwBwcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAAB2lzRGVmVHQJAQAAAAlpc0RlZmluZWQAAAABCQAEHQAAAAIFAAAAAm1lCQABLAAAAAICAAAAA3RyeAkAAlgAAAABCAUAAAABdAAAAAJpZAMJAAAAAAAAAggFAAAAAXQAAAAGYW1vdW50AAAAAAAAAAEsBQAAAAdpc0RlZlR0BwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGB+vHbFU=", "chainId": 84, "height": 406744, "spentComplexity": 0 } View: original | compacted Prev: BGKHVnCJGVheZTnkaUvV2JodBiuZkgQ6LSBk36vqTs5n Next: AcjDKQavWomzvjXVyA6zLukc77pYuZMoc6smtTGST8kV Diff:
OldNewDifferences
88 let num = take(drop(t.data[0].key, 3), 1)
99 let sessionId = drop(t.data[0].key, 4)
1010 let isDef = isDefined(getString(me, t.data[0].key))
11- if (if (if ((size(t.data) == 1))
11+ let isDef2 = isDefined(getString(me, t.data[1].key))
12+ if (if (if (if (if ((size(t.data) == 2))
1213 then !(isDef)
1314 else false)
1415 then (mode == "pay")
1516 else false)
17+ then (mode2 == "ptx")
18+ else false)
19+ then !(isDef2)
20+ else false)
1621 then {
17- let payT1 = transactionById(fromBase58String(extract(getString(t.data, t.data[0].key))))
22+ let ptx = drop(t.data[1].key, 3)
23+ let ptxT1 = extract(getString(t.data, t.data[0].key))
24+ let payT1 = transactionById(fromBase58String(ptxT1))
1825 match payT1 {
1926 case tt1: TransferTransaction =>
20- if ((tt1.amount == 100))
27+ if (if ((ptxT1 == ptx))
28+ then (tt1.amount == 100)
29+ else false)
2130 then (tt1.recipient == me)
2231 else false
2332 case _ =>
3140 else false)
3241 then {
3342 let sessionIdK = drop(t.data[1].key, 3)
34- let isDefS = isDefined(getString(me, t.data[1].key))
3543 let addr = drop(t.data[0].key, 3)
3644 let pay1Key = ("pay1" + sessionIdK)
3745 let pay2Key = ("pay2" + sessionIdK)
6876 then extract(lastAppO)
6977 else 0
7078 let isAdd300 = ((lastApp + 300) == getInteger(t.data, t.data[0].key))
71- if (if (!(isDefS))
79+ if (if (!(isDef2))
7280 then isAdd300
7381 else false)
7482 then (((app1 + app2) + app3) >= 2)
8189 else false)
8290 then {
8391 let addr = drop(t.data[0].key, 3)
84- let isDefT = isDefined(getString(me, t.data[1].key))
8592 let lastAppO = getInteger(me, t.data[0].key)
8693 let lastApp = if (isDefined(lastAppO))
8794 then extract(lastAppO)
8895 else 0
8996 let isSub300 = ((lastApp - 300) == getInteger(t.data, t.data[0].key))
90- if (if (!(isDefT))
97+ if (if (!(isDef2))
9198 then (extract(getInteger(t.data, t.data[0].key)) >= 0)
9299 else false)
93100 then isSub300
95102 }
96103 else false
97104 case t: TransferTransaction =>
98- let appO = getInteger(me, ("app" + toBase58String(addressFromRecipient(t.recipient).bytes)))
99- let app = if (isDefined(appO))
100- then extract(appO)
101- else 0
102105 let isDefTt = isDefined(getString(me, ("trx" + toBase58String(t.id))))
103- if (if ((app >= 300))
104- then (t.amount == 300)
105- else false)
106+ if ((t.amount == 300))
106107 then isDefTt
107108 else false
108109 case t: SetScriptTransaction =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let me = tx.sender
44 match tx {
55 case t: DataTransaction =>
66 let mode = take(t.data[0].key, 3)
77 let mode2 = take(t.data[1].key, 3)
88 let num = take(drop(t.data[0].key, 3), 1)
99 let sessionId = drop(t.data[0].key, 4)
1010 let isDef = isDefined(getString(me, t.data[0].key))
11- if (if (if ((size(t.data) == 1))
11+ let isDef2 = isDefined(getString(me, t.data[1].key))
12+ if (if (if (if (if ((size(t.data) == 2))
1213 then !(isDef)
1314 else false)
1415 then (mode == "pay")
1516 else false)
17+ then (mode2 == "ptx")
18+ else false)
19+ then !(isDef2)
20+ else false)
1621 then {
17- let payT1 = transactionById(fromBase58String(extract(getString(t.data, t.data[0].key))))
22+ let ptx = drop(t.data[1].key, 3)
23+ let ptxT1 = extract(getString(t.data, t.data[0].key))
24+ let payT1 = transactionById(fromBase58String(ptxT1))
1825 match payT1 {
1926 case tt1: TransferTransaction =>
20- if ((tt1.amount == 100))
27+ if (if ((ptxT1 == ptx))
28+ then (tt1.amount == 100)
29+ else false)
2130 then (tt1.recipient == me)
2231 else false
2332 case _ =>
2433 false
2534 }
2635 }
2736 else if (if (if ((size(t.data) == 2))
2837 then (mode == "app")
2938 else false)
3039 then (mode2 == "ses")
3140 else false)
3241 then {
3342 let sessionIdK = drop(t.data[1].key, 3)
34- let isDefS = isDefined(getString(me, t.data[1].key))
3543 let addr = drop(t.data[0].key, 3)
3644 let pay1Key = ("pay1" + sessionIdK)
3745 let pay2Key = ("pay2" + sessionIdK)
3846 let pay3Key = ("pay3" + sessionIdK)
3947 let sender1 = match transactionById(fromBase58String(extract(getString(me, pay1Key)))) {
4048 case ttt: TransferTransaction =>
4149 ttt.sender
4250 case _ =>
4351 me
4452 }
4553 let sender2 = match transactionById(fromBase58String(extract(getString(me, pay2Key)))) {
4654 case ttt: TransferTransaction =>
4755 ttt.sender
4856 case _ =>
4957 me
5058 }
5159 let sender3 = match transactionById(fromBase58String(extract(getString(me, pay3Key)))) {
5260 case ttt: TransferTransaction =>
5361 ttt.sender
5462 case _ =>
5563 me
5664 }
5765 let app1 = if ((toBase58String(fromBase58String(extract(getString(sender1, ("win1" + sessionIdK))))) == addr))
5866 then 1
5967 else 0
6068 let app2 = if ((toBase58String(fromBase58String(extract(getString(sender2, ("win2" + sessionIdK))))) == addr))
6169 then 1
6270 else 0
6371 let app3 = if ((toBase58String(fromBase58String(extract(getString(sender3, ("win3" + sessionIdK))))) == addr))
6472 then 1
6573 else 0
6674 let lastAppO = getInteger(me, t.data[0].key)
6775 let lastApp = if (isDefined(lastAppO))
6876 then extract(lastAppO)
6977 else 0
7078 let isAdd300 = ((lastApp + 300) == getInteger(t.data, t.data[0].key))
71- if (if (!(isDefS))
79+ if (if (!(isDef2))
7280 then isAdd300
7381 else false)
7482 then (((app1 + app2) + app3) >= 2)
7583 else false
7684 }
7785 else if (if (if ((size(t.data) == 2))
7886 then (mode == "app")
7987 else false)
8088 then (mode2 == "trx")
8189 else false)
8290 then {
8391 let addr = drop(t.data[0].key, 3)
84- let isDefT = isDefined(getString(me, t.data[1].key))
8592 let lastAppO = getInteger(me, t.data[0].key)
8693 let lastApp = if (isDefined(lastAppO))
8794 then extract(lastAppO)
8895 else 0
8996 let isSub300 = ((lastApp - 300) == getInteger(t.data, t.data[0].key))
90- if (if (!(isDefT))
97+ if (if (!(isDef2))
9198 then (extract(getInteger(t.data, t.data[0].key)) >= 0)
9299 else false)
93100 then isSub300
94101 else false
95102 }
96103 else false
97104 case t: TransferTransaction =>
98- let appO = getInteger(me, ("app" + toBase58String(addressFromRecipient(t.recipient).bytes)))
99- let app = if (isDefined(appO))
100- then extract(appO)
101- else 0
102105 let isDefTt = isDefined(getString(me, ("trx" + toBase58String(t.id))))
103- if (if ((app >= 300))
104- then (t.amount == 300)
105- else false)
106+ if ((t.amount == 300))
106107 then isDefTt
107108 else false
108109 case t: SetScriptTransaction =>
109110 true
110111 case _ =>
111112 false
112113 }

github/deemru/w8io/026f985 
31.79 ms