tx · Bh4xtHFGjwpN3jQWatJTAx8AtyMvunWMEgF7oUKzLVH4 3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk: -0.04000000 Waves 2020.08.07 10:01 [1121670] smart account 3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk > SELF 0.00000000 Waves
{ "type": 13, "id": "Bh4xtHFGjwpN3jQWatJTAx8AtyMvunWMEgF7oUKzLVH4", "fee": 4000000, "feeAssetId": null, "timestamp": 1596783711797, "version": 1, "sender": "3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk", "senderPublicKey": "8Ko3jocxxhmjmdtwfEBZsmgNZpuBgqdpq5GPXiUMASrL", "proofs": [ "3ryfRPbcMHjmkqFNnGB2Q9JYUdP6yLArTzSVAyxJraQmtKxQreatHAjMUTEQBK5mQLXFp1BXCcreQqtskPa3STfN" ], "script": "base64:AAIDAAAAAAAAACIIARIECgIBARIFCgMBAQESABIECgIBARIJCgcBAQEBAQEBAAAADAEAAAAJc2V0Q29vcmRzAAAAAwAAAANrZXkAAAAIbGF0aXR1ZGUAAAAJbG9uZ2l0dWRlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAADHBvc2l0aW9uTGF0XwUAAAADa2V5BQAAAAhsYXRpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxvbl8FAAAAA2tleQUAAAAJbG9uZ2l0dWRlBQAAAANuaWwBAAAAC3NldEdhbWVEYXRhAAAAAgAAAAlwbGF5ZXJLZXkAAAALb3Bwb25lbnRLZXkEAAAABmdhbWVJZAkAASwAAAACCQABLAAAAAIFAAAACXBsYXllcktleQIAAAABXwUAAAALb3Bwb25lbnRLZXkJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAHZ2FtZUlkXwUAAAAJcGxheWVyS2V5BQAAAAZnYW1lSWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAA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dFJlYWNoCQEAAAAPZ2V0U2hvdERpc3RhbmNlAAAAAgkAAGkAAAACCQAAaAAAAAIFAAAAD29wdGltYWxWZWxvY2l0eQUAAAAFZm9yY2UAAAAAAAABhqAFAAAABXBpdGNoBAAAAA5pbXBhY3RQb3NpdGlvbgkBAAAABmltcGFjdAAAAAQFAAAABGxhdDEFAAAABGxvbjEFAAAAD3BsYXllclNob3RSZWFjaAUAAAADeWF3BAAAAA5pbXBhY3REaXN0YW5jZQkBAAAACGRpc3RhbmNlAAAABAkAAZEAAAACBQAAAA5pbXBhY3RQb3NpdGlvbgAAAAAAAAAAAAkAAZEAAAACBQAAAA5pbXBhY3RQb3NpdGlvbgAAAAAAAAAAAQUAAAAEbGF0MgUAAAAEbG9uMgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAXaW1wYWN0RGlzdGFuY2UtY2FsY1Nob3QFAAAAD3BsYXllclNob3RSZWFjaAUAAAADbmlsAAAAAJsMIcg=", "chainId": 84, "height": 1121670, "spentComplexity": 0 } View: original | compacted Prev: 5gyPWjbyLx1FLizdYpUw1QwTsjZDRW8yXaeU8oHntPjw Next: 7t6C3BzJRuDvy1Hb1u46dzXdjDf9z8bDPvZPB2Usdpig Diff:
Old | New | Differences | |
---|---|---|---|
242 | 242 | let al = D(((ak * ae) / 100000), F) | |
243 | 243 | let am = R(H, I, al, V) | |
244 | 244 | let an = G(am[0], am[1], J, K) | |
245 | - | WriteSet([DataEntry("impactDistance-calcShot", | |
245 | + | WriteSet([DataEntry("impactDistance-calcShot", al)]) | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 |
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 ((0 > t)) | |
85 | 85 | then { | |
86 | 86 | let u = (-1 * t) | |
87 | 87 | let v = (((-1873 * u) / 100000) + 7426) | |
88 | 88 | let w = (((v * u) / 100000) - 21211) | |
89 | 89 | let x = (((w * u) / 100000) + 157072) | |
90 | 90 | let y = pow((100000 - u), 5, 5, 1, 5, HALFEVEN) | |
91 | 91 | -((157080 - ((y * x) / 100000))) | |
92 | 92 | } | |
93 | 93 | else { | |
94 | 94 | let v = (((-1873 * t) / 100000) + 7426) | |
95 | 95 | let w = (((v * t) / 100000) - 21211) | |
96 | 96 | let x = (((w * t) / 100000) + 157072) | |
97 | 97 | let y = pow((100000 - t), 5, 5, 1, 5, HALFEVEN) | |
98 | 98 | (157080 - ((y * x) / 100000)) | |
99 | 99 | } | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func z (t) = { | |
103 | 103 | let A = ((t * t) / 100000) | |
104 | 104 | if ((-100000 > t)) | |
105 | 105 | then (-157079 - ((t * 100000) / (A + 28000))) | |
106 | 106 | else if ((t > 100000)) | |
107 | 107 | then (157079 - ((t * 100000) / (A + 28000))) | |
108 | 108 | else ((t * 100000) / (100000 + ((28000 * A) / 100000))) | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func B (C,t) = if ((t > 0)) | |
113 | 113 | then z(((C * 100000) / t)) | |
114 | 114 | else if (if ((0 > t)) | |
115 | 115 | then (C >= 0) | |
116 | 116 | else false) | |
117 | 117 | then (z(((C * 100000) / t)) + 314159) | |
118 | 118 | else if (if ((0 > t)) | |
119 | 119 | then (0 > C) | |
120 | 120 | else false) | |
121 | 121 | then (z(((C * 100000) / t)) - 314159) | |
122 | 122 | else if (if ((t == 0)) | |
123 | 123 | then (C > 0) | |
124 | 124 | else false) | |
125 | 125 | then 157080 | |
126 | 126 | else if (if ((t == 0)) | |
127 | 127 | then (0 > C) | |
128 | 128 | else false) | |
129 | 129 | then -157080 | |
130 | 130 | else 0 | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func D (E,F) = (((2 * E) * ((r(F) * j(F)) / 100000)) / 980665) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func G (H,I,J,K) = { | |
137 | 137 | let L = (H - J) | |
138 | 138 | let M = (I - K) | |
139 | 139 | let N = j((L / 2)) | |
140 | 140 | let O = j((M / 2)) | |
141 | 141 | let P = ((N * N) + (((r(H) * r(J)) / 100000) * ((O * O) / 100000))) | |
142 | 142 | let Q = (2 * s(pow((P / 100000), 5, 5, 1, 5, HALFEVEN))) | |
143 | 143 | ((637100000000 * Q) / 100000) | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func R (S,T,U,V) = { | |
148 | 148 | let W = (U / 6371000) | |
149 | 149 | let X = j(S) | |
150 | 150 | let Y = r(S) | |
151 | 151 | let Z = j(W) | |
152 | 152 | let aa = r(W) | |
153 | 153 | let ab = s((((X * aa) / 100000) + (((Y * Z) * r(V)) / 10000000000))) | |
154 | 154 | let ac = (T + (B((((j(V) * Z) * Y) / 100000), (aa - ((X * X) / 100000))) * 100)) | |
155 | 155 | [ab, ac] | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ad (F,V,ae,f,g) = { | |
160 | 160 | let af = getIntegerValue(this, ("positionLat_" + f)) | |
161 | 161 | let ag = getIntegerValue(this, ("positionLon_" + f)) | |
162 | 162 | let ah = getIntegerValue(this, ("positionLat_" + g)) | |
163 | 163 | let ai = getIntegerValue(this, ("positionLon_" + g)) | |
164 | 164 | let aj = G(af, ag, ah, ai) | |
165 | 165 | let ak = ((aj * 980665) / 100000) | |
166 | 166 | let al = D(((ak * ae) / 100000), F) | |
167 | 167 | let am = R(af, ag, al, V) | |
168 | 168 | let an = G(am[0], am[1], ah, ai) | |
169 | 169 | an | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(ao) | |
174 | 174 | func startGame (c,d) = { | |
175 | 175 | let ap = toString(ao.caller) | |
176 | 176 | let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000)) | |
177 | 177 | let ar = getString(this, "openGame") | |
178 | 178 | let h = getString(this, ("gameId_" + ap)) | |
179 | 179 | if (if ((h != "")) | |
180 | 180 | then (h != unit) | |
181 | 181 | else false) | |
182 | 182 | then throw("Please finish your current game, before starting another one") | |
183 | 183 | else if (!(isDefined(ar))) | |
184 | 184 | then WriteSet(DataEntry("openGame", ap) :: aq) | |
185 | 185 | else if (if ((ar == "")) | |
186 | 186 | then true | |
187 | 187 | else (ar == ap)) | |
188 | 188 | then WriteSet(DataEntry("openGame", ap) :: aq) | |
189 | 189 | else WriteSet([DataEntry("openGame", ""), aq[0], aq[1], e(value(ar), ap)]) | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(ao) | |
195 | 195 | func executeShot (F,V,ae) = { | |
196 | 196 | let as = base58'' | |
197 | 197 | let ap = toString(ao.caller) | |
198 | 198 | let at = getStringValue(this, ("opponent_" + ap)) | |
199 | 199 | let h = i(ap) | |
200 | 200 | if ((getStringValue(this, ("gameTurn_" + h)) != ap)) | |
201 | 201 | then throw("please wait for your turn") | |
202 | 202 | else { | |
203 | 203 | let au = ad(F, V, ae, ap, at) | |
204 | 204 | if ((1000 > au)) | |
205 | 205 | then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ap)]), TransferSet([ScriptTransfer(ao.caller, 2, as)])) | |
206 | 206 | else WriteSet([DataEntry(("gameTurn_" + h), at)]) | |
207 | 207 | } | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | ||
212 | 212 | @Callable(ao) | |
213 | 213 | func faucet () = { | |
214 | 214 | let as = base58'' | |
215 | 215 | let ap = toString(ao.caller) | |
216 | 216 | let av = assetBalance(ao.caller, as) | |
217 | 217 | if ((100 > av)) | |
218 | 218 | then TransferSet([ScriptTransfer(ao.caller, 100, as)]) | |
219 | 219 | else TransferSet(nil) | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(ao) | |
225 | 225 | func changeCoords (c,d) = { | |
226 | 226 | let ap = toString(ao.caller) | |
227 | 227 | let aw = getInteger(this, ("positionLat_" + ap)) | |
228 | 228 | if (isDefined(aw)) | |
229 | 229 | then { | |
230 | 230 | let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000)) | |
231 | 231 | WriteSet(aq) | |
232 | 232 | } | |
233 | 233 | else WriteSet(nil) | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | ||
238 | 238 | @Callable(ao) | |
239 | 239 | func calcShot (H,I,J,K,F,V,ae) = { | |
240 | 240 | let aj = G(H, I, J, K) | |
241 | 241 | let ak = ((aj * 980665) / 100000) | |
242 | 242 | let al = D(((ak * ae) / 100000), F) | |
243 | 243 | let am = R(H, I, al, V) | |
244 | 244 | let an = G(am[0], am[1], J, K) | |
245 | - | WriteSet([DataEntry("impactDistance-calcShot", | |
245 | + | WriteSet([DataEntry("impactDistance-calcShot", al)]) | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 |
github/deemru/w8io/026f985 38.05 ms ◑