tx · FchLVDjHX6Uy2yXAcG6rpPgFwWxa4QoGYnFKd1nCm9Ur
3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN: -0.01400000 Waves
2018.12.15 18:24 [406085] smart account 3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN > SELF 0.00000000 Waves
{
"type": 13,
"id": "FchLVDjHX6Uy2yXAcG6rpPgFwWxa4QoGYnFKd1nCm9Ur",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1544887428505,
"version": 1,
"sender": "3NCfqPCinePcvudWpkG5ztVHTFPBRe9GjrN",
"senderPublicKey": "9X3Ns8mJikYEUQW3TWE8raw4u3Fy1NRnnxXYKQhsu3jv",
"proofs": [
"2JxwNu8W9ehTzez2chRq6wafTZkLD72f2fFCaohBHqVqj8qMK43xjvKw8WG2ivLzgfVC3abHr5od12BMx2YWUTvt"
],
"script": "base64:AQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBAAAAANiZXQAAAAAAAAAAAMEAAAABXN0YXJ0AAAAAAAABjJCBAAAAAdiYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQgFAAAAA3R0eAAAAAZzZW5kZXIEAAAADmFsaWNlRGVwb3NpdE9rCQAAZwAAAAIFAAAAB2JhbGFuY2UFAAAAA2JldAQAAAAQYWxpY2VEZXBvc2l0VHVybgMDCQAAZgAAAAIJAABkAAAAAgUAAAAFc3RhcnQAAAAAAAAAADIFAAAABmhlaWdodAkAAAAAAAACBQAAAAdiYWxhbmNlAAAAAAAAAAAABwkBAAAAASEAAAABBQAAAA5hbGljZURlcG9zaXRPawcEAAAADGJvYkRlcG9zaXRPawkAAGcAAAACBQAAAAdiYWxhbmNlCQAAaAAAAAIFAAAAA2JldAAAAAAAAAAAAgQAAAAOYm9iRGVwb3NpdFR1cm4DAwkAAGYAAAACCQAAZAAAAAIFAAAABXN0YXJ0AAAAAAAAAABkBQAAAAZoZWlnaHQFAAAADmFsaWNlRGVwb3NpdE9rBwkBAAAAASEAAAABBQAAAAxib2JEZXBvc2l0T2sHAwkAAGYAAAACBQAAAAdiYWxhbmNlAAAAAAAAAAAABQAAAAxib2JEZXBvc2l0T2sHBAAAAAVvdGhlcgUAAAAHJG1hdGNoMAajnWOz",
"chainId": 84,
"height": 406085,
"spentComplexity": 0
}
View: original | compacted
Prev: GVyF2baKASz1R5wgpotaz6BYiFQ4Tf3cip5FQUV5VjW2
Next: H2Tqk2pMzwoN8PTqfFa1gQtCEZigUCtpKjBtqwDFoW8f
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 | 6 | | let start = 406082 |
---|
7 | 7 | | let balance = wavesBalance(ttx.sender) |
---|
8 | 8 | | let aliceDepositOk = (balance >= bet) |
---|
9 | 9 | | let aliceDepositTurn = if (if (((start + 50) > height)) |
---|
10 | 10 | | then (balance == 0) |
---|
11 | 11 | | else false) |
---|
12 | 12 | | then !(aliceDepositOk) |
---|
13 | 13 | | else false |
---|
14 | 14 | | let bobDepositOk = (balance >= (bet * 2)) |
---|
15 | 15 | | let bobDepositTurn = if (if (((start + 100) > height)) |
---|
16 | 16 | | then aliceDepositOk |
---|
17 | 17 | | else false) |
---|
18 | 18 | | then !(bobDepositOk) |
---|
19 | 19 | | else false |
---|
20 | 20 | | if ((balance > 0)) |
---|
21 | 21 | | then bobDepositOk |
---|
22 | 22 | | else false |
---|
23 | 23 | | case other => |
---|
24 | 24 | | true |
---|
25 | 25 | | } |
---|