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:
OldNewDifferences
66
77 @Callable(i)
88 func resetGame (test) = {
9- let caller = toString(i.caller)
9+ let caller = test
1010 let opponent = getStringValue(this, ("opponent_" + caller))
1111 let gameId = getGameId(caller)
1212 WriteSet([DataEntry(("game_" + gameId), false), DataEntry(("gameWinner_" + gameId), caller)])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getGameId (key) = getStringValue(this, ("gameId_" + key))
55
66
77 @Callable(i)
88 func resetGame (test) = {
9- let caller = toString(i.caller)
9+ let caller = test
1010 let opponent = getStringValue(this, ("opponent_" + caller))
1111 let gameId = getGameId(caller)
1212 WriteSet([DataEntry(("game_" + gameId), false), DataEntry(("gameWinner_" + gameId), caller)])
1313 }
1414
1515

github/deemru/w8io/169f3d6 
21.68 ms