tx · BGtPqUUJf3m9BMPX1EG31DEDZWNCcWXMuWkxhkwmLAhF
3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT: -0.04000000 Waves
2020.07.29 18:24 [1109055] smart account 3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT > SELF 0.00000000 Waves
{
"type": 13,
"id": "BGtPqUUJf3m9BMPX1EG31DEDZWNCcWXMuWkxhkwmLAhF",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1596036374958,
"version": 1,
"sender": "3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT",
"senderPublicKey": "EzWkAi3pMjNqjjV3PpJiHWrButTm4aorR4p173qwdGeL",
"proofs": [
"5uQcKmNmQ9g4WsN72avEEW8bRvqbYMpdAc1MLKQXN5thkQaVGZRPBhcNFFQaFDHuk8Tjyz7xh6BA3HeHc5dRWEve"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAAJZ2V0R2FtZUlkAAAAAQAAAANrZXkJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAHZ2FtZUlkXwUAAAADa2V5AAAAAQAAAAFpAQAAAAlyZXNldEdhbWUAAAABAAAABHRlc3QEAAAABmNhbGxlcgUAAAAEdGVzdAQAAAAIb3Bwb25lbnQJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAJb3Bwb25lbnRfBQAAAAZjYWxsZXIEAAAABmdhbWVJZAkBAAAACWdldEdhbWVJZAAAAAEFAAAABmNhbGxlcgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAVnYW1lXwUAAAAGZ2FtZUlkBwkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAtnYW1lV2lubmVyXwUAAAAGZ2FtZUlkBQAAAAZjYWxsZXIFAAAAA25pbAAAAABI0Zch",
"chainId": 84,
"height": 1109055,
"spentComplexity": 0
}
View: original | compacted
Prev: 7uB6xm8cyf7B7KhHsWGfHF1Y3kSUztJunsuEk4iXbMQ5
Next: DfNpWHBxSUcJti3jxdDgaZZv75RiuWqLpy6a1kzoqvHH
Diff:
Old | New | | Differences |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(c) |
---|
8 | 8 | | func resetGame (d) = { |
---|
9 | | - | let e = toString(c.caller) |
---|
| 9 | + | let e = d |
---|
10 | 10 | | let f = getStringValue(this, ("opponent_" + e)) |
---|
11 | 11 | | let g = a(e) |
---|
12 | 12 | | WriteSet([DataEntry(("game_" + g), false), DataEntry(("gameWinner_" + g), e)]) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = getStringValue(this, ("gameId_" + b)) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(c) |
---|
8 | 8 | | func resetGame (d) = { |
---|
9 | | - | let e = toString(c.caller) |
---|
| 9 | + | let e = d |
---|
10 | 10 | | let f = getStringValue(this, ("opponent_" + e)) |
---|
11 | 11 | | let g = a(e) |
---|
12 | 12 | | WriteSet([DataEntry(("game_" + g), false), DataEntry(("gameWinner_" + g), e)]) |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|