tx · PzaUGJmi2WYZwKtrUXJsDDedVNHs9A5QcQV2jgQbM7U

3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk:  -0.01400000 Waves

2018.10.08 17:55 [366683] smart account 3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk > SELF 0.00000000 Waves

{ "type": 13, "id": "PzaUGJmi2WYZwKtrUXJsDDedVNHs9A5QcQV2jgQbM7U", "fee": 1400000, "feeAssetId": null, "timestamp": 1539010128698, "version": 1, "sender": "3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk", "senderPublicKey": "5ydncg624xM6LmJKWJ26iZoy7XBdGx9JxcgqKMNhJPaz", "proofs": [ "23kmQ1xHfYtSDkUGzyw7M2PSWk2dxtowP8uNdDdreoeQXeFBR1bWZaEJGqDbGnZgpQ131MDQUwyy7r62WDGr2AYa" ], "script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAACZHQFAAAAByRtYXRjaDAEAAAADmdhbWVOb3RTdGFydGVkBAAAAAckbWF0Y2gxCQAEGgAAAAIIBQAAAAJkdAAAAAZzZW5kZXICAAAACWdhbWVTdGF0ZQMJAAABAAAAAgUAAAAHJG1hdGNoMQIAAAADSW50BAAAAAFpBQAAAAckbWF0Y2gxBwYEAAAAEmdhbWVJbml0aWFsaXphdGlvbgMDBQAAAA5nYW1lTm90U3RhcnRlZAkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQQAAAAAggFAAAAAmR0AAAABGRhdGECAAAAB2NvbW1hbmQAAAAAAAAAAAAHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAJZ2FtZVN0YXRlAAAAAAAAAAAABwQAAAATcGxheWVyc1JlZ2lzdHJhdGlvbgMDAwMJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIIBQAAAAJkdAAAAAZzZW5kZXICAAAACWdhbWVTdGF0ZQAAAAAAAAAAAAkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQQAAAAAggFAAAAAmR0AAAABGRhdGECAAAAB2NvbW1hbmQAAAAAAAAAAAEHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAJZ2FtZVN0YXRlAAAAAAAAAAABBwkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAmR0AAAABGRhdGECAAAAB3BsYXllcjECAAAAAAcJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEEwAAAAIIBQAAAAJkdAAAAARkYXRhAgAAAAdwbGF5ZXIyAgAAAAAHAwUAAAASZ2FtZUluaXRpYWxpemF0aW9uBgUAAAATcGxheWVyc1JlZ2lzdHJhdGlvbgbdHDC6", "chainId": 84, "height": 366683, "spentComplexity": 0 } View: original | compacted Prev: 83wja72Kw7otgWqku1oFmz41TdLPMun8uaYxbvhV7fqX Next: 8sqKkWHoyHS89hXLV4FYsJWU26SaEGixASvZ66X5RP8v Diff:
OldNewDifferences
1818 else false)
1919 then (extract(getInteger(dt.data, "gameState")) == 1)
2020 else false)
21- then (extract(getString(dt.data, "playerOne")) == "empty")
21+ then (extract(getString(dt.data, "player1")) == "")
2222 else false)
23- then (extract(getString(dt.data, "playerTwo")) == "empty")
23+ then (extract(getString(dt.data, "player2")) == "")
2424 else false
25- playersRegistration
25+ if (gameInitialization)
26+ then true
27+ else playersRegistration
2628 case _ =>
2729 true
2830 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case dt: DataTransaction =>
55 let gameNotStarted = match getInteger(dt.sender, "gameState") {
66 case i: Int =>
77 false
88 case _ =>
99 true
1010 }
1111 let gameInitialization = if (if (gameNotStarted)
1212 then (extract(getInteger(dt.data, "command")) == 0)
1313 else false)
1414 then (extract(getInteger(dt.data, "gameState")) == 0)
1515 else false
1616 let playersRegistration = if (if (if (if ((extract(getInteger(dt.sender, "gameState")) == 0))
1717 then (extract(getInteger(dt.data, "command")) == 1)
1818 else false)
1919 then (extract(getInteger(dt.data, "gameState")) == 1)
2020 else false)
21- then (extract(getString(dt.data, "playerOne")) == "empty")
21+ then (extract(getString(dt.data, "player1")) == "")
2222 else false)
23- then (extract(getString(dt.data, "playerTwo")) == "empty")
23+ then (extract(getString(dt.data, "player2")) == "")
2424 else false
25- playersRegistration
25+ if (gameInitialization)
26+ then true
27+ else playersRegistration
2628 case _ =>
2729 true
2830 }

github/deemru/w8io/026f985 
25.73 ms