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:AAIDAAAAAAAAACIIARIECgIBARIFCgMBAQESABIECgIBARIJCgcBAQEBAQEBAAAADAEAAAAJc2V0Q29vcmRzAAAAAwAAAANrZXkAAAAIbGF0aXR1ZGUAAAAJbG9uZ2l0dWRlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAADHBvc2l0aW9uTGF0XwUAAAADa2V5BQAAAAhsYXRpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxvbl8FAAAAA2tleQUAAAAJbG9uZ2l0dWRlBQAAAANuaWwBAAAAC3NldEdhbWVEYXRhAAAAAgAAAAlwbGF5ZXJLZXkAAAALb3Bwb25lbnRLZXkEAAAABmdhbWVJZAkAASwAAAACCQABLAAAAAIFAAAACXBsYXllcktleQIAAAABXwUAAAALb3Bwb25lbnRLZXkJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAHZ2FtZUlkXwUAAAAJcGxheWVyS2V5BQAAAAZnYW1lSWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAA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vdFJlYWNoCQEAAAAPZ2V0U2hvdERpc3RhbmNlAAAAAgkAAGkAAAACCQAAaAAAAAIFAAAAD29wdGltYWxWZWxvY2l0eQUAAAAFZm9yY2UAAAAAAAABhqAFAAAABXBpdGNoBAAAAA5pbXBhY3RQb3NpdGlvbgkBAAAABmltcGFjdAAAAAQFAAAABGxhdDEFAAAABGxvbjEFAAAAD3BsYXllclNob3RSZWFjaAUAAAADeWF3BAAAAA5pbXBhY3REaXN0YW5jZQkBAAAACGRpc3RhbmNlAAAABAkAAZEAAAACBQAAAA5pbXBhY3RQb3NpdGlvbgAAAAAAAAAAAAkAAZEAAAACBQAAAA5pbXBhY3RQb3NpdGlvbgAAAAAAAAAAAQUAAAAEbGF0MgUAAAAEbG9uMgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAXaW1wYWN0RGlzdGFuY2UtY2FsY1Nob3QFAAAAD3BsYXllclNob3RSZWFjaAUAAAADbmlsAAAAAJsMIcg=", "chainId": 84, "height": 1121670, "spentComplexity": 0 } View: original | compacted Prev: 5gyPWjbyLx1FLizdYpUw1QwTsjZDRW8yXaeU8oHntPjw Next: 7t6C3BzJRuDvy1Hb1u46dzXdjDf9z8bDPvZPB2Usdpig Diff:
OldNewDifferences
242242 let al = D(((ak * ae) / 100000), F)
243243 let am = R(H, I, al, V)
244244 let an = G(am[0], am[1], J, K)
245- WriteSet([DataEntry("impactDistance-calcShot", an)])
245+ WriteSet([DataEntry("impactDistance-calcShot", al)])
246246 }
247247
248248
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c,d) = [DataEntry(("positionLat_" + b), c), DataEntry(("positionLon_" + b), d)]
55
66
77 func e (f,g) = {
88 let h = ((f + "_") + g)
99 [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), "")]
1010 }
1111
1212
1313 func i (b) = getStringValue(this, ("gameId_" + b))
1414
1515
1616 func j (k) = {
1717 let l = (k / 628318)
1818 if ((0 > k))
1919 then {
2020 let m = -(k)
2121 if ((m > 628318))
2222 then {
2323 let n = (m + (l * 628318))
2424 if ((n > 314159))
2525 then {
2626 let o = (n - 314159)
2727 let p = ((16 * o) * (314159 - o))
2828 let q = (493480220050 - (p / 4))
2929 ((p * 100000) / q)
3030 }
3131 else {
3232 let p = ((16 * n) * (314159 - n))
3333 let q = (493480220050 - (p / 4))
3434 ((-(p) * 100000) / q)
3535 }
3636 }
3737 else if ((m > 314159))
3838 then {
3939 let n = (m - 314159)
4040 let p = ((16 * n) * (314159 - n))
4141 let q = (493480220050 - (p / 4))
4242 ((p * 100000) / q)
4343 }
4444 else {
4545 let p = ((16 * m) * (314159 - m))
4646 let q = (493480220050 - (p / 4))
4747 ((-(p) * 100000) / q)
4848 }
4949 }
5050 else if ((k > 628318))
5151 then {
5252 let n = (k - (l * 628318))
5353 if ((n > 314159))
5454 then {
5555 let o = (n - 314159)
5656 let p = ((16 * o) * (314159 - o))
5757 let q = (493480220050 - (p / 4))
5858 ((-(p) * 100000) / q)
5959 }
6060 else {
6161 let p = ((16 * n) * (314159 - n))
6262 let q = (493480220050 - (p / 4))
6363 ((p * 100000) / q)
6464 }
6565 }
6666 else if ((k > 314159))
6767 then {
6868 let n = (k - 314159)
6969 let p = ((16 * n) * (314159 - n))
7070 let q = (493480220050 - (p / 4))
7171 ((-(p) * 100000) / q)
7272 }
7373 else {
7474 let p = ((16 * k) * (314159 - k))
7575 let q = (493480220050 - (p / 4))
7676 ((p * 100000) / q)
7777 }
7878 }
7979
8080
8181 func r (k) = j((157079 - k))
8282
8383
8484 func s (t) = if ((0 > t))
8585 then {
8686 let u = (-1 * t)
8787 let v = (((-1873 * u) / 100000) + 7426)
8888 let w = (((v * u) / 100000) - 21211)
8989 let x = (((w * u) / 100000) + 157072)
9090 let y = pow((100000 - u), 5, 5, 1, 5, HALFEVEN)
9191 -((157080 - ((y * x) / 100000)))
9292 }
9393 else {
9494 let v = (((-1873 * t) / 100000) + 7426)
9595 let w = (((v * t) / 100000) - 21211)
9696 let x = (((w * t) / 100000) + 157072)
9797 let y = pow((100000 - t), 5, 5, 1, 5, HALFEVEN)
9898 (157080 - ((y * x) / 100000))
9999 }
100100
101101
102102 func z (t) = {
103103 let A = ((t * t) / 100000)
104104 if ((-100000 > t))
105105 then (-157079 - ((t * 100000) / (A + 28000)))
106106 else if ((t > 100000))
107107 then (157079 - ((t * 100000) / (A + 28000)))
108108 else ((t * 100000) / (100000 + ((28000 * A) / 100000)))
109109 }
110110
111111
112112 func B (C,t) = if ((t > 0))
113113 then z(((C * 100000) / t))
114114 else if (if ((0 > t))
115115 then (C >= 0)
116116 else false)
117117 then (z(((C * 100000) / t)) + 314159)
118118 else if (if ((0 > t))
119119 then (0 > C)
120120 else false)
121121 then (z(((C * 100000) / t)) - 314159)
122122 else if (if ((t == 0))
123123 then (C > 0)
124124 else false)
125125 then 157080
126126 else if (if ((t == 0))
127127 then (0 > C)
128128 else false)
129129 then -157080
130130 else 0
131131
132132
133133 func D (E,F) = (((2 * E) * ((r(F) * j(F)) / 100000)) / 980665)
134134
135135
136136 func G (H,I,J,K) = {
137137 let L = (H - J)
138138 let M = (I - K)
139139 let N = j((L / 2))
140140 let O = j((M / 2))
141141 let P = ((N * N) + (((r(H) * r(J)) / 100000) * ((O * O) / 100000)))
142142 let Q = (2 * s(pow((P / 100000), 5, 5, 1, 5, HALFEVEN)))
143143 ((637100000000 * Q) / 100000)
144144 }
145145
146146
147147 func R (S,T,U,V) = {
148148 let W = (U / 6371000)
149149 let X = j(S)
150150 let Y = r(S)
151151 let Z = j(W)
152152 let aa = r(W)
153153 let ab = s((((X * aa) / 100000) + (((Y * Z) * r(V)) / 10000000000)))
154154 let ac = (T + (B((((j(V) * Z) * Y) / 100000), (aa - ((X * X) / 100000))) * 100))
155155 [ab, ac]
156156 }
157157
158158
159159 func ad (F,V,ae,f,g) = {
160160 let af = getIntegerValue(this, ("positionLat_" + f))
161161 let ag = getIntegerValue(this, ("positionLon_" + f))
162162 let ah = getIntegerValue(this, ("positionLat_" + g))
163163 let ai = getIntegerValue(this, ("positionLon_" + g))
164164 let aj = G(af, ag, ah, ai)
165165 let ak = ((aj * 980665) / 100000)
166166 let al = D(((ak * ae) / 100000), F)
167167 let am = R(af, ag, al, V)
168168 let an = G(am[0], am[1], ah, ai)
169169 an
170170 }
171171
172172
173173 @Callable(ao)
174174 func startGame (c,d) = {
175175 let ap = toString(ao.caller)
176176 let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000))
177177 let ar = getString(this, "openGame")
178178 let h = getString(this, ("gameId_" + ap))
179179 if (if ((h != ""))
180180 then (h != unit)
181181 else false)
182182 then throw("Please finish your current game, before starting another one")
183183 else if (!(isDefined(ar)))
184184 then WriteSet(DataEntry("openGame", ap) :: aq)
185185 else if (if ((ar == ""))
186186 then true
187187 else (ar == ap))
188188 then WriteSet(DataEntry("openGame", ap) :: aq)
189189 else WriteSet([DataEntry("openGame", ""), aq[0], aq[1], e(value(ar), ap)])
190190 }
191191
192192
193193
194194 @Callable(ao)
195195 func executeShot (F,V,ae) = {
196196 let as = base58''
197197 let ap = toString(ao.caller)
198198 let at = getStringValue(this, ("opponent_" + ap))
199199 let h = i(ap)
200200 if ((getStringValue(this, ("gameTurn_" + h)) != ap))
201201 then throw("please wait for your turn")
202202 else {
203203 let au = ad(F, V, ae, ap, at)
204204 if ((1000 > au))
205205 then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ap)]), TransferSet([ScriptTransfer(ao.caller, 2, as)]))
206206 else WriteSet([DataEntry(("gameTurn_" + h), at)])
207207 }
208208 }
209209
210210
211211
212212 @Callable(ao)
213213 func faucet () = {
214214 let as = base58''
215215 let ap = toString(ao.caller)
216216 let av = assetBalance(ao.caller, as)
217217 if ((100 > av))
218218 then TransferSet([ScriptTransfer(ao.caller, 100, as)])
219219 else TransferSet(nil)
220220 }
221221
222222
223223
224224 @Callable(ao)
225225 func changeCoords (c,d) = {
226226 let ap = toString(ao.caller)
227227 let aw = getInteger(this, ("positionLat_" + ap))
228228 if (isDefined(aw))
229229 then {
230230 let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000))
231231 WriteSet(aq)
232232 }
233233 else WriteSet(nil)
234234 }
235235
236236
237237
238238 @Callable(ao)
239239 func calcShot (H,I,J,K,F,V,ae) = {
240240 let aj = G(H, I, J, K)
241241 let ak = ((aj * 980665) / 100000)
242242 let al = D(((ak * ae) / 100000), F)
243243 let am = R(H, I, al, V)
244244 let an = G(am[0], am[1], J, K)
245- WriteSet([DataEntry("impactDistance-calcShot", an)])
245+ WriteSet([DataEntry("impactDistance-calcShot", al)])
246246 }
247247
248248

github/deemru/w8io/026f985 
38.05 ms