tx · JDxJDWkBBhbBim54wg2nGwYkwyg5ihxq4pD5dYHJADqF 3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss: -0.04000000 Waves 2020.08.15 15:20 [1133693] smart account 3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss > SELF 0.00000000 Waves
{ "type": 13, "id": "JDxJDWkBBhbBim54wg2nGwYkwyg5ihxq4pD5dYHJADqF", "fee": 4000000, "feeAssetId": null, "timestamp": 1597494102227, "version": 1, "sender": "3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss", "senderPublicKey": "7EaUr5Z6zmEQJXz7jVWXjW7xbJLakPjxFPTZFogi8wzr", "proofs": [ "3nGb4fxiSqUqtpzbp9gXyXrskXNVa2SwnfEFHjnt4VUAgFrDR8GMgw7uNT9VdoX2Z8euExQ8GGKWpmxygu1w2DZL" ], "script": "base64:AAIDAAAAAAAAABEIARIECgIBARIFCgMBAQESAAAAAAwBAAAACXNldENvb3JkcwAAAAMAAAADa2V5AAAACGxhdGl0dWRlAAAACWxvbmdpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxhdF8FAAAAA2tleQUAAAAIbGF0aXR1ZGUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAMcG9zaXRpb25Mb25fBQAAAANrZXkFAAAACWxvbmdpdHVkZQUAAAADbmlsAQAAAAtzZXRHYW1lRGF0YQAAAAIAAAAJcGxheWVyS2V5AAAAC29wcG9uZW50S2V5BAAAAAZnYW1lSWQJAAEsAAAAAgkAASwAAAACBQAAAAlwbGF5ZXJLZXkCAAAAAV8FAAAAC29wcG9uZW50S2V5CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAB2dhbWVJZF8FAAAACXBsYXllcktleQUAAAAGZ2FtZUlkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAACW9wcG9uZW50XwUAA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AAAAAAAAIFAAAAA25pbAAAAAFpAQAAAAZmYXVjZXQAAAAABAAAAAVhc3NldAEAAAAABAAAAAZjYWxsZXIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBAAAAAdiYWxhbmNlCQAD6wAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAFYXNzZXQDCQAAZgAAAAIAAAAAAAAAAGQFAAAAB2JhbGFuY2UJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAABkBQAAAAVhc3NldAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAAAORB7ew==", "chainId": 84, "height": 1133693, "spentComplexity": 0 } View: original | compacted Prev: 5EYbiWHVeSukBD6qsTLy98kywESkHwWSc5dNAnbYBy9s Next: D4J7t5HcfCZs5Xn7rGBFwoBoe5M9xv95p3q37JAhiGWA Diff:
Old | New | Differences | |
---|---|---|---|
205 | 205 | ||
206 | 206 | @Callable(ao) | |
207 | 207 | func executeShot (F,V,ae) = { | |
208 | - | let ap = base58'' | |
208 | + | let ap = base58'7wfU2c6kCAzX73gPVt9Moc6dQ5jDdRcR7PMEzz4u26W5' | |
209 | 209 | let ar = toString(ao.caller) | |
210 | 210 | let au = getStringValue(this, ("opponent_" + ar)) | |
211 | 211 | let h = i(ar) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c,d) = [DataEntry(("positionLat_" + b), c), DataEntry(("positionLon_" + b), d)] | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func e (f,g) = { | |
8 | 8 | let h = ((f + "_") + g) | |
9 | 9 | [DataEntry(("gameId_" + f), h), DataEntry(("opponent_" + f), g), DataEntry(("gameId_" + g), h), DataEntry(("opponent_" + g), f), DataEntry(("game_" + h), true), DataEntry(("gameTurn_" + h), f), DataEntry(("gameWinner_" + h), "")] | |
10 | 10 | } | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func i (b) = getStringValue(this, ("gameId_" + b)) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func j (k) = { | |
17 | 17 | let l = (k / 628318) | |
18 | 18 | if ((0 > k)) | |
19 | 19 | then { | |
20 | 20 | let m = -(k) | |
21 | 21 | if ((m > 628318)) | |
22 | 22 | then { | |
23 | 23 | let n = (m + (l * 628318)) | |
24 | 24 | if ((n > 314159)) | |
25 | 25 | then { | |
26 | 26 | let o = (n - 314159) | |
27 | 27 | let p = ((16 * o) * (314159 - o)) | |
28 | 28 | let q = (493480220050 - (p / 4)) | |
29 | 29 | ((p * 100000) / q) | |
30 | 30 | } | |
31 | 31 | else { | |
32 | 32 | let p = ((16 * n) * (314159 - n)) | |
33 | 33 | let q = (493480220050 - (p / 4)) | |
34 | 34 | ((-(p) * 100000) / q) | |
35 | 35 | } | |
36 | 36 | } | |
37 | 37 | else if ((m > 314159)) | |
38 | 38 | then { | |
39 | 39 | let n = (m - 314159) | |
40 | 40 | let p = ((16 * n) * (314159 - n)) | |
41 | 41 | let q = (493480220050 - (p / 4)) | |
42 | 42 | ((p * 100000) / q) | |
43 | 43 | } | |
44 | 44 | else { | |
45 | 45 | let p = ((16 * m) * (314159 - m)) | |
46 | 46 | let q = (493480220050 - (p / 4)) | |
47 | 47 | ((-(p) * 100000) / q) | |
48 | 48 | } | |
49 | 49 | } | |
50 | 50 | else if ((k > 628318)) | |
51 | 51 | then { | |
52 | 52 | let n = (k - (l * 628318)) | |
53 | 53 | if ((n > 314159)) | |
54 | 54 | then { | |
55 | 55 | let o = (n - 314159) | |
56 | 56 | let p = ((16 * o) * (314159 - o)) | |
57 | 57 | let q = (493480220050 - (p / 4)) | |
58 | 58 | ((-(p) * 100000) / q) | |
59 | 59 | } | |
60 | 60 | else { | |
61 | 61 | let p = ((16 * n) * (314159 - n)) | |
62 | 62 | let q = (493480220050 - (p / 4)) | |
63 | 63 | ((p * 100000) / q) | |
64 | 64 | } | |
65 | 65 | } | |
66 | 66 | else if ((k > 314159)) | |
67 | 67 | then { | |
68 | 68 | let n = (k - 314159) | |
69 | 69 | let p = ((16 * n) * (314159 - n)) | |
70 | 70 | let q = (493480220050 - (p / 4)) | |
71 | 71 | ((-(p) * 100000) / q) | |
72 | 72 | } | |
73 | 73 | else { | |
74 | 74 | let p = ((16 * k) * (314159 - k)) | |
75 | 75 | let q = (493480220050 - (p / 4)) | |
76 | 76 | ((p * 100000) / q) | |
77 | 77 | } | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func r (k) = j((157079 - k)) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func s (t) = if ((-100000 >= t)) | |
85 | 85 | then -157080 | |
86 | 86 | else if ((t >= 100000)) | |
87 | 87 | then 157080 | |
88 | 88 | else if ((0 > t)) | |
89 | 89 | then { | |
90 | 90 | let u = (-1 * t) | |
91 | 91 | let v = (((-1873 * u) / 100000) + 7426) | |
92 | 92 | let w = (((v * u) / 100000) - 21211) | |
93 | 93 | let x = (((w * u) / 100000) + 157072) | |
94 | 94 | let y = pow((100000 - u), 5, 5, 1, 5, HALFEVEN) | |
95 | 95 | -((157080 - ((y * x) / 100000))) | |
96 | 96 | } | |
97 | 97 | else { | |
98 | 98 | let v = (((-1873 * t) / 100000) + 7426) | |
99 | 99 | let w = (((v * t) / 100000) - 21211) | |
100 | 100 | let x = (((w * t) / 100000) + 157072) | |
101 | 101 | let y = pow((100000 - t), 5, 5, 1, 5, HALFEVEN) | |
102 | 102 | (157080 - ((y * x) / 100000)) | |
103 | 103 | } | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func z (t) = { | |
107 | 107 | let A = ((t * t) / 100000) | |
108 | 108 | if ((-100000 > t)) | |
109 | 109 | then (-157079 - ((t * 100000) / (A + 28000))) | |
110 | 110 | else if ((t > 100000)) | |
111 | 111 | then (157079 - ((t * 100000) / (A + 28000))) | |
112 | 112 | else ((t * 100000) / (100000 + ((28000 * A) / 100000))) | |
113 | 113 | } | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func B (C,t) = if ((t > 0)) | |
117 | 117 | then z((C / t)) | |
118 | 118 | else if (if ((0 > t)) | |
119 | 119 | then (C >= 0) | |
120 | 120 | else false) | |
121 | 121 | then (z((C / t)) + 314159) | |
122 | 122 | else if (if ((0 > t)) | |
123 | 123 | then (0 > C) | |
124 | 124 | else false) | |
125 | 125 | then (z((C / t)) - 314159) | |
126 | 126 | else if (if ((t == 0)) | |
127 | 127 | then (C > 0) | |
128 | 128 | else false) | |
129 | 129 | then 157080 | |
130 | 130 | else if (if ((t == 0)) | |
131 | 131 | then (0 > C) | |
132 | 132 | else false) | |
133 | 133 | then -157080 | |
134 | 134 | else 0 | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func D (E,F) = (((2 * E) * ((r(F) * j(F)) / 100000)) / 980665) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func G (H,I,J,K) = { | |
141 | 141 | let L = (H - J) | |
142 | 142 | let M = (I - K) | |
143 | 143 | let N = j((L / 2)) | |
144 | 144 | let O = j((M / 2)) | |
145 | 145 | let P = ((N * N) + (((r(H) * r(J)) / 100000) * ((O * O) / 100000))) | |
146 | 146 | let Q = (2 * s(pow((P / 1000), 7, 5, 1, 5, HALFEVEN))) | |
147 | 147 | (6371000 * Q) | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func R (S,T,U,V) = { | |
152 | 152 | let W = (U / 6371000) | |
153 | 153 | let X = j(S) | |
154 | 154 | let Y = r(S) | |
155 | 155 | let Z = j(W) | |
156 | 156 | let aa = r(W) | |
157 | 157 | let ab = s((((X * aa) / 100000) + (((Y * Z) * r(V)) / 10000000000))) | |
158 | 158 | let ac = (T + B((((j(V) * Z) * Y) / 100000), (aa - ((X * X) / 100000)))) | |
159 | 159 | [ab, ac] | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ad (F,V,ae,f,g) = { | |
164 | 164 | let af = getIntegerValue(this, ("positionLat_" + f)) | |
165 | 165 | let ag = getIntegerValue(this, ("positionLon_" + f)) | |
166 | 166 | let ah = getIntegerValue(this, ("positionLat_" + g)) | |
167 | 167 | let ai = getIntegerValue(this, ("positionLon_" + g)) | |
168 | 168 | let aj = G(af, ag, ah, ai) | |
169 | 169 | let ak = ((aj * 980665) / 100000) | |
170 | 170 | let al = D(((ak * ae) / 100000), F) | |
171 | 171 | let am = R(af, ag, al, V) | |
172 | 172 | let an = G(am[0], am[1], ah, ai) | |
173 | 173 | an :: am | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(ao) | |
178 | 178 | func startGame (c,d) = { | |
179 | 179 | let ap = base58'' | |
180 | 180 | let aq = value(ao.payment) | |
181 | 181 | let ar = toString(ao.caller) | |
182 | 182 | let as = a(ar, ((c * 1745) / 100000), ((d * 1745) / 100000)) | |
183 | 183 | let at = getString(this, "openGame") | |
184 | 184 | if (if ((aq.assetId == ap)) | |
185 | 185 | then (aq.amount >= 1) | |
186 | 186 | else false) | |
187 | 187 | then { | |
188 | 188 | let h = getString(this, ("gameId_" + ar)) | |
189 | 189 | if (if ((h != "")) | |
190 | 190 | then (h != unit) | |
191 | 191 | else false) | |
192 | 192 | then throw("Please finish your current game, before starting another one") | |
193 | 193 | else if (!(isDefined(at))) | |
194 | 194 | then WriteSet(DataEntry("openGame", ar) :: as) | |
195 | 195 | else if (if ((at == "")) | |
196 | 196 | then true | |
197 | 197 | else (at == ar)) | |
198 | 198 | then WriteSet(DataEntry("openGame", ar) :: as) | |
199 | 199 | else WriteSet([DataEntry("openGame", ""), as[0], as[1], e(value(at), ar)]) | |
200 | 200 | } | |
201 | 201 | else throw("Please pay the token") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(ao) | |
207 | 207 | func executeShot (F,V,ae) = { | |
208 | - | let ap = base58'' | |
208 | + | let ap = base58'7wfU2c6kCAzX73gPVt9Moc6dQ5jDdRcR7PMEzz4u26W5' | |
209 | 209 | let ar = toString(ao.caller) | |
210 | 210 | let au = getStringValue(this, ("opponent_" + ar)) | |
211 | 211 | let h = i(ar) | |
212 | 212 | if ((getStringValue(this, ("gameTurn_" + h)) != ar)) | |
213 | 213 | then throw("Please wait for your turn.") | |
214 | 214 | else { | |
215 | 215 | let av = ad(F, V, ae, ar, au) | |
216 | 216 | if ((1000 > av[0])) | |
217 | 217 | then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ar), DataEntry(("lastShotDistance_" + h), av[0]), DataEntry(("lastShotLat_" + h), av[1]), DataEntry(("lastShotLon_" + h), av[2])]), TransferSet([ScriptTransfer(ao.caller, 2, ap)])) | |
218 | 218 | else WriteSet([DataEntry(("gameTurn_" + h), au), DataEntry(("lastShotDistance_" + h), av[0]), DataEntry(("lastShotLat_" + h), av[1]), DataEntry(("lastShotLon_" + h), av[2])]) | |
219 | 219 | } | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(ao) | |
225 | 225 | func faucet () = { | |
226 | 226 | let ap = base58'' | |
227 | 227 | let ar = toString(ao.caller) | |
228 | 228 | let aw = assetBalance(ao.caller, ap) | |
229 | 229 | if ((100 > aw)) | |
230 | 230 | then TransferSet([ScriptTransfer(ao.caller, 100, ap)]) | |
231 | 231 | else TransferSet(nil) | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 |
github/deemru/w8io/026f985 37.37 ms ◑