tx · 8yBmT7MYmvwkpWThvnXFscTLtppmyV7t3up4dUf49WV8 3MtJGiTA9X9WpQdFEbrDGysqHQHBZtf6Sns: -0.01900000 Waves 2020.07.09 14:54 [1079665] smart account 3MtJGiTA9X9WpQdFEbrDGysqHQHBZtf6Sns > SELF 0.00000000 Waves
{ "type": 13, "id": "8yBmT7MYmvwkpWThvnXFscTLtppmyV7t3up4dUf49WV8", "fee": 1900000, "feeAssetId": null, "timestamp": 1594295750871, "version": 1, "sender": "3MtJGiTA9X9WpQdFEbrDGysqHQHBZtf6Sns", "senderPublicKey": "9LxKf4ukaXnEB35ZWRUSYGBtoe42xygrqKWGCVfU9Crs", "proofs": [ "3J2erRzyhVexPWHmRsyK4xUoudDftCf67LNH46ng43biARHXVeRRVJ7ci7LuppqXqPb4wVMGXk1rGxjedGBffzCu" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIBAQAAAAIBAAAACWdldENvb3JkcwAAAAEAAAADa2V5CQAETAAAAAIJAAQaAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAAAxwb3NpdGlvbkxhdF8FAAAAA2tleQkABEwAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAANcG9zaXRpb25Mb25nXwUAAAADa2V5BQAAAANuaWwBAAAACXNldENvb3JkcwAAAAMAAAADa2V5AAAACGxhdGl0dWRlAAAACWxvbmdpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxhdF8FAAAAA2tleQUAAAAIbGF0aXR1ZGUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAANcG9zaXRpb25Mb25nXwUAAAADa2V5BQAAAAlsb25naXR1ZGUFAAAAA25pbAAAAAEAAAABaQEAAAAJc3RhcnRHYW1lAAAAAgAAAAhsYXRpdHVkZQAAAAlsb25naXR1ZGUEAAAABmNhbGxlcgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIEAAAAA3JldAkBAAAACXNldENvb3JkcwAAAAMFAAAABmNhbGxlcgUAAAAIbGF0aXR1ZGUFAAAACWxvbmdpdHVkZQQAAAAIb3BlbkdhbWUJAAQdAAAAAgUAAAAEdGhpcwIAAAAIb3BlbkdhbWUDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABBQAAAAhvcGVuR2FtZQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAIb3BlbkdhbWUFAAAABmNhbGxlcgUAAAADcmV0AwMJAAAAAAAAAgUAAAAIb3BlbkdhbWUCAAAAAAYJAAAAAAAAAgUAAAAIb3BlbkdhbWUFAAAABmNhbGxlcgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAIb3BlbkdhbWUFAAAABmNhbGxlcgUAAAADcmV0CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAhvcGVuR2FtZQIAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVnYW1lXwkBAAAABXZhbHVlAAAAAQUAAAAIb3BlbkdhbWUCAAAAAV8FAAAABmNhbGxlcgYFAAAAA3JldAAAAAA7qvCH", "chainId": 84, "height": 1079665, "spentComplexity": 0 } View: original | compacted Prev: 768x2jcxqTaFA6TyvCNvt6gq52v7CbrMFY3YWftLqm2q Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = [getInteger(this, ("positionLat_" + b)), getInteger(this, ("positionLong_" + b))] | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func c (b,d,e) = [DataEntry(("positionLat_" + b), d), DataEntry(("positionLong_" + b), e)] | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | @Callable(f) | |
11 | 11 | func startGame (d,e) = { | |
12 | 12 | let g = toString(f.caller) | |
13 | 13 | let h = c(g, d, e) | |
14 | 14 | let i = getString(this, "openGame") | |
15 | 15 | if (!(isDefined(i))) | |
16 | 16 | then WriteSet(DataEntry("openGame", g) :: h) | |
17 | 17 | else if (if ((i == "")) | |
18 | 18 | then true | |
19 | 19 | else (i == g)) | |
20 | 20 | then WriteSet(DataEntry("openGame", g) :: h) | |
21 | 21 | else WriteSet([DataEntry("openGame", ""), DataEntry(((("game_" + value(i)) + "_") + g), true)] :: h) | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 |
github/deemru/w8io/026f985 30.17 ms ◑