tx · 4z8z9BGBGNdN8kSLcGLbejKQMC9cXQWeELZEZNQ6EU1h

3MvGvir7jfLKY8ypmm7jELQnc7Js8b9PgfB:  -0.04000000 Waves

2019.03.18 16:42 [541755] smart account 3MvGvir7jfLKY8ypmm7jELQnc7Js8b9PgfB > SELF 0.00000000 Waves

{ "type": 13, "id": "4z8z9BGBGNdN8kSLcGLbejKQMC9cXQWeELZEZNQ6EU1h", "fee": 4000000, "feeAssetId": null, "timestamp": 1552916512900, "version": 1, "sender": "3MvGvir7jfLKY8ypmm7jELQnc7Js8b9PgfB", "senderPublicKey": "BjkuQBZbTaVZ4M9uZiSp7UjdTo6jQVmUpE1awoMFuBpU", "proofs": [ "4hSFYMGLct6dqyQtjwAHjh1rskF2SDDpDJDuXkGPjiLCeuKY6UdnVz5tS1C5zSqRGTJ7wr7quJK3oQNBgMtkZRcq", "5B112ZjfGp3WKN8wTiGTDbqX4sCvbRSC8VBjjmRRsMMy8frpwxaFM5HkTFPXGwUVbErdGmeab6vA2wBo4T68ND12" ], "script": "base64:AgQAAAAIY29udHJhY3QIBQAAAAJ0eAAAAAZzZW5kZXIEAAAABmZpZWxkcwkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAACGNvbnRyYWN0AgAAAAVmaWVsZAQAAAAFY2VsbDEJAABqAAAAAgUAAAAGZmllbGRzAAAAAAAAAAAKBAAAAAVjZWxsMgkAAGoAAAACCQAAaQAAAAIFAAAABmZpZWxkcwAAAAAAAAAACgAAAAAAAAAACgQAAAAFY2VsbDMJAABqAAAAAgkAAGkAAAACBQAAAAZmaWVsZHMAAAAAAAAAAGQAAAAAAAAAAAoEAAAABWNlbGw0CQAAagAAAAIJAABpAAAAAgUAAAAGZmllbGRzAAAAAAAAAAPoAAAAAAAAAAAKBAAAAAVjZWxsNQkAAGoAAAACCQAAaQAAAAIFAAAABmZpZWxkcwAAAAAAAAAnEAAAAAAAAAAACgQAAAAFY2VsbDYJAABqAAAAAgkAAGkAAAACBQAAAAZm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MQnuRxiJQ5T4N9fcmKF3mS Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let smartAcc = tx.sender
4-let pos0 = extract(getInteger(smartAcc, "pos0"))
5-let pos1 = extract(getInteger(smartAcc, "pos1"))
6-let pos2 = extract(getInteger(smartAcc, "pos2"))
7-let pos3 = extract(getInteger(smartAcc, "pos3"))
8-let pos4 = extract(getInteger(smartAcc, "pos4"))
9-let pos5 = extract(getInteger(smartAcc, "pos5"))
10-let pos6 = extract(getInteger(smartAcc, "pos6"))
11-let pos7 = extract(getInteger(smartAcc, "pos7"))
12-let pos8 = extract(getInteger(smartAcc, "pos8"))
13-let count = extract(getInteger(smartAcc, "count"))
3+let contract = tx.sender
4+let fields = extract(getInteger(contract, "field"))
5+let cell1 = (fields % 10)
6+let cell2 = ((fields / 10) % 10)
7+let cell3 = ((fields / 100) % 10)
8+let cell4 = ((fields / 1000) % 10)
9+let cell5 = ((fields / 10000) % 10)
10+let cell6 = ((fields / 100000) % 10)
11+let cell7 = ((fields / 1000000) % 10)
12+let cell8 = ((fields / 10000000) % 10)
13+let cell9 = ((fields / 100000000) % 10)
14+let line1 = ((cell1 + cell2) + cell3)
15+let line2 = ((cell4 + cell5) + cell6)
16+let line3 = ((cell7 + cell8) + cell9)
17+let column1 = ((cell1 + cell4) + cell7)
18+let column2 = ((cell2 + cell5) + cell8)
19+let column3 = ((cell3 + cell6) + cell9)
20+let diagonal1 = ((cell1 + cell5) + cell9)
21+let diagonal2 = ((cell3 + cell5) + cell7)
22+let all = ((line1 + line2) + line3)
23+let crossNum = (all % 10)
24+let zeroNum = ((all - crossNum) / 10)
25+let crossWin = if (if (if (if (if (if (if ((line1 == 3))
26+ then true
27+ else (line2 == 3))
28+ then true
29+ else (line3 == 3))
30+ then true
31+ else (column1 == 3))
32+ then true
33+ else (column2 == 3))
34+ then true
35+ else (column3 == 3))
36+ then true
37+ else (diagonal1 == 3))
38+ then true
39+ else (diagonal2 == 3)
40+let zeroWin = if (if (if (if (if (if (if ((line1 == 27))
41+ then true
42+ else (line2 == 27))
43+ then true
44+ else (line3 == 27))
45+ then true
46+ else (column1 == 27))
47+ then true
48+ else (column2 == 27))
49+ then true
50+ else (column3 == 27))
51+ then true
52+ else (diagonal1 == 27))
53+ then true
54+ else (diagonal2 == 27)
1455 match tx {
1556 case t: DataTransaction =>
16- if (if (if (if (if (if ((pos0 != pos1))
17- then (pos1 != pos2)
18- else false)
19- then if ((pos3 != pos4))
20- then (pos4 != pos5)
21- else false
22- else false)
23- then if ((pos6 != pos7))
24- then (pos7 != pos8)
25- else false
26- else false)
27- then if ((pos0 != pos4))
28- then (pos4 != pos8)
29- else false
30- else false)
31- then if ((pos2 != pos4))
32- then (pos4 != pos6)
33- else false
34- else false)
35- then true
36- else (6 > count)
57+ if (!(crossWin))
58+ then !(zeroWin)
59+ else false
60+ case payout: TransferTransaction =>
61+ false
3762 case _ =>
3863 true
3964 }

github/deemru/w8io/026f985 
19.31 ms