tx · GVyF2baKASz1R5wgpotaz6BYiFQ4Tf3cip5FQUV5VjW2
3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN: -0.01400000 Waves
2018.12.15 18:23 [406084] smart account 3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN > SELF 0.00000000 Waves
{
"type": 13,
"id": "GVyF2baKASz1R5wgpotaz6BYiFQ4Tf3cip5FQUV5VjW2",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1544887415695,
"version": 1,
"sender": "3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN",
"senderPublicKey": "9X3Ns8mJikYEUQW3TWE8raw4u3Fy1NRnnxXYKQhsu3jv",
"proofs": [
"4q5D5kzL32XpqmQ9LCdRUfZkoF6L7kMvAB52cjN8wMkCcCVNppWdTBXUN7bhZEUmf241hXK4nTu8ixJm92Ujnope"
],
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBAAAAANiZXQAAAAAAAAAAAMEAAAABXN0YXJ0AAAAAAAABjJCBAAAAAdiYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQgFAAAAA3R0eAAAAAZzZW5kZXIEAAAADmFsaWNlRGVwb3NpdE9rCQAAZwAAAAIFAAAAB2JhbGFuY2UFAAAAA2JldAQAAAAQYWxpY2VEZXBvc2l0VHVybgMDCQAAZgAAAAIJAABkAAAAAgUAAAAFc3RhcnQAAAAAAAAAADIFAAAABmhlaWdodAkAAAAAAAACBQAAAAdiYWxhbmNlAAAAAAAAAAAABwkBAAAAASEAAAABBQAAAA5hbGljZURlcG9zaXRPawcEAAAADGJvYkRlcG9zaXRPawkAAGcAAAACBQAAAAdiYWxhbmNlCQAAaAAAAAIFAAAAA2JldAAAAAAAAAAAAgQAAAAOYm9iRGVwb3NpdFR1cm4DAwkAAGYAAAACCQAAZAAAAAIFAAAABXN0YXJ0AAAAAAAAAABkBQAAAAZoZWlnaHQFAAAADmFsaWNlRGVwb3NpdE9rBwkBAAAAASEAAAABBQAAAAxib2JEZXBvc2l0T2sHAwkAAGYAAAACBQAAAAdiYWxhbmNlAAAAAAAAAAAABQAAAAxib2JEZXBvc2l0T2sHBAAAAAVvdGhlcgUAAAAHJG1hdGNoMAajnWOz",
"chainId": 84,
"height": 406084,
"spentComplexity": 0
}
View: original | compacted
Prev: 3P4dr7vjJwuAs57er3o4qn7RMQdqVjHnkCq5Xo27keC7
Next: FchLVDjHX6Uy2yXAcG6rpPgFwWxa4QoGYnFKd1nCm9Ur
Diff:
Old | New | | Differences |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case ttx: DataTransaction => |
---|
5 | 5 | | let bet = 3 |
---|
| 6 | + | let start = 406082 |
---|
6 | 7 | | let balance = wavesBalance(ttx.sender) |
---|
| 8 | + | let aliceDepositOk = (balance >= bet) |
---|
| 9 | + | let aliceDepositTurn = if (if (((start + 50) > height)) |
---|
| 10 | + | then (balance == 0) |
---|
| 11 | + | else false) |
---|
| 12 | + | then !(aliceDepositOk) |
---|
| 13 | + | else false |
---|
7 | 14 | | let bobDepositOk = (balance >= (bet * 2)) |
---|
| 15 | + | let bobDepositTurn = if (if (((start + 100) > height)) |
---|
| 16 | + | then aliceDepositOk |
---|
| 17 | + | else false) |
---|
| 18 | + | then !(bobDepositOk) |
---|
| 19 | + | else false |
---|
8 | 20 | | if ((balance > 0)) |
---|
9 | 21 | | then bobDepositOk |
---|
10 | 22 | | else false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case ttx: DataTransaction => |
---|
5 | 5 | | let bet = 3 |
---|
| 6 | + | let start = 406082 |
---|
6 | 7 | | let balance = wavesBalance(ttx.sender) |
---|
| 8 | + | let aliceDepositOk = (balance >= bet) |
---|
| 9 | + | let aliceDepositTurn = if (if (((start + 50) > height)) |
---|
| 10 | + | then (balance == 0) |
---|
| 11 | + | else false) |
---|
| 12 | + | then !(aliceDepositOk) |
---|
| 13 | + | else false |
---|
7 | 14 | | let bobDepositOk = (balance >= (bet * 2)) |
---|
| 15 | + | let bobDepositTurn = if (if (((start + 100) > height)) |
---|
| 16 | + | then aliceDepositOk |
---|
| 17 | + | else false) |
---|
| 18 | + | then !(bobDepositOk) |
---|
| 19 | + | else false |
---|
8 | 20 | | if ((balance > 0)) |
---|
9 | 21 | | then bobDepositOk |
---|
10 | 22 | | else false |
---|
11 | 23 | | case other => |
---|
12 | 24 | | true |
---|
13 | 25 | | } |
---|