tx · 83wja72Kw7otgWqku1oFmz41TdLPMun8uaYxbvhV7fqX
3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk: -0.01400000 Waves
2018.10.08 17:55 [366683] smart account 3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk > SELF 0.00000000 Waves
{
"type": 13,
"id": "83wja72Kw7otgWqku1oFmz41TdLPMun8uaYxbvhV7fqX",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1539009508128,
"version": 1,
"sender": "3MwpUQwpSfHV1rFfHqCuuYL7A9K8ursTQWk",
"senderPublicKey": "5ydncg624xM6LmJKWJ26iZoy7XBdGx9JxcgqKMNhJPaz",
"proofs": [
"2KnvKa1bou4oG2Tku3HFThHjLuEwPgmuzZtJsKibLzPjz9XQn3QpEwadonPGmLRtVav4MaBKJ5sBn4jeP1WxbxNm"
],
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAACZHQFAAAAByRtYXRjaDAEAAAADmdhbWVOb3RTdGFydGVkBAAAAAckbWF0Y2gxCQAEGgAAAAIIBQAAAAJkdAAAAAZzZW5kZXICAAAACWdhbWVTdGF0ZQMJAAABAAAAAgUAAAAHJG1hdGNoMQIAAAADSW50BAAAAAFpBQAAAAckbWF0Y2gxBwYEAAAAEmdhbWVJbml0aWFsaXphdGlvbgMDBQAAAA5nYW1lTm90U3RhcnRlZAkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQQAAAAAggFAAAAAmR0AAAABGRhdGECAAAAB2NvbW1hbmQAAAAAAAAAAAAHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAJZ2FtZVN0YXRlAAAAAAAAAAAABwQAAAATcGxheWVyc1JlZ2lzdHJhdGlvbgMDAwMJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIIBQAAAAJkdAAAAAZzZW5kZXICAAAACWdhbWVTdGF0ZQAAAAAAAAAAAAkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQQAAAAAggFAAAAAmR0AAAABGRhdGECAAAAB2NvbW1hbmQAAAAAAAAAAAEHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBAAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAJZ2FtZVN0YXRlAAAAAAAAAAABBwkAAAAAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAmR0AAAABGRhdGECAAAACXBsYXllck9uZQIAAAAFZW1wdHkHCQAAAAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBMAAAACCAUAAAACZHQAAAAEZGF0YQIAAAAJcGxheWVyVHdvAgAAAAVlbXB0eQcFAAAAE3BsYXllcnNSZWdpc3RyYXRpb24GgxscRQ==",
"chainId": 84,
"height": 366683,
"spentComplexity": 0
}
View: original | compacted
Prev: Hdntgcv2RrKZ1hQygipfVG9gpNyKzme178BVrVSq9mEq
Next: PzaUGJmi2WYZwKtrUXJsDDedVNHs9A5QcQV2jgQbM7U
Diff:
Old | New | | Differences |
---|
18 | 18 | | else false) |
---|
19 | 19 | | then (extract(getInteger(dt.data, "gameState")) == 1) |
---|
20 | 20 | | else false) |
---|
21 | | - | then (extract(getString(dt.data, "player1")) == "empty") |
---|
| 21 | + | then (extract(getString(dt.data, "playerOne")) == "empty") |
---|
22 | 22 | | else false) |
---|
23 | | - | then (extract(getString(dt.data, "player2")) == "empty") |
---|
| 23 | + | then (extract(getString(dt.data, "playerTwo")) == "empty") |
---|
24 | 24 | | else false |
---|
25 | 25 | | playersRegistration |
---|
26 | 26 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case dt: DataTransaction => |
---|
5 | 5 | | let gameNotStarted = match getInteger(dt.sender, "gameState") { |
---|
6 | 6 | | case i: Int => |
---|
7 | 7 | | false |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | true |
---|
10 | 10 | | } |
---|
11 | 11 | | let gameInitialization = if (if (gameNotStarted) |
---|
12 | 12 | | then (extract(getInteger(dt.data, "command")) == 0) |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then (extract(getInteger(dt.data, "gameState")) == 0) |
---|
15 | 15 | | else false |
---|
16 | 16 | | let playersRegistration = if (if (if (if ((extract(getInteger(dt.sender, "gameState")) == 0)) |
---|
17 | 17 | | then (extract(getInteger(dt.data, "command")) == 1) |
---|
18 | 18 | | else false) |
---|
19 | 19 | | then (extract(getInteger(dt.data, "gameState")) == 1) |
---|
20 | 20 | | else false) |
---|
21 | | - | then (extract(getString(dt.data, "player1")) == "empty") |
---|
| 21 | + | then (extract(getString(dt.data, "playerOne")) == "empty") |
---|
22 | 22 | | else false) |
---|
23 | | - | then (extract(getString(dt.data, "player2")) == "empty") |
---|
| 23 | + | then (extract(getString(dt.data, "playerTwo")) == "empty") |
---|
24 | 24 | | else false |
---|
25 | 25 | | playersRegistration |
---|
26 | 26 | | case _ => |
---|
27 | 27 | | true |
---|
28 | 28 | | } |
---|