tx · DCxBzTvNLD5fDUqJTNXAVSPgcxUDuTSifhMiSsCYVkwn

3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk:  -0.04000000 Waves

2020.08.06 12:54 [1120396] smart account 3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk > SELF 0.00000000 Waves

{ "type": 13, "id": "DCxBzTvNLD5fDUqJTNXAVSPgcxUDuTSifhMiSsCYVkwn", "fee": 4000000, "feeAssetId": null, "timestamp": 1596707652332, "version": 1, "sender": "3MsHkgNdxBJg9SEFvbYyf69SP75SNJnatPk", "senderPublicKey": "8Ko3jocxxhmjmdtwfEBZsmgNZpuBgqdpq5GPXiUMASrL", "proofs": [ "5c8G9KDW5n9bAboyBQSaoVtfNPsT4VP45WTCGKaup8qY5RCiZ2TsZo1syj4y2DLcswvuhdJz3c6EtDcVY3LgQXuY" ], "script": "base64:AAIDAAAAAAAAABkIARIECgIBARIFCgMBAQESABIECgIBARIAAAAADAEAAAAJc2V0Q29vcmRzAAAAAwAAAANrZXkAAAAIbGF0aXR1ZGUAAAAJbG9uZ2l0dWRlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAADHBvc2l0aW9uTGF0XwUAAAADa2V5BQAAAAhsYXRpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxvbl8FAAAAA2tleQUAAAAJbG9uZ2l0dWRlBQAAAANuaWwBAAAAC3NldEdhbWVEYXRhAAAAAgAAAAlwbGF5ZXJLZXkAAAALb3Bwb25lbnRLZXkEAAAABmdhbWVJZAkAASwAAAACCQABLAAAAAIFAAAACXBsYXllcktleQIAAAABXwUAAAALb3Bwb25lbnRLZXkJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAHZ2FtZUlkXwUAAAAJcGxheWVyS2V5BQAAAAZnYW1lSWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAA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120396, "spentComplexity": 0 } View: original | compacted Prev: GkHypxYFETXx38iArTLhbpdAFJ1tWGdSiYw9NJMTgu56 Next: EKM6fzSwf9RgVHNux8qUVhbAQwyiBJRvhmxAUBcPEf1W Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func a (b,c,d) = [DataEntry(("positionLat_" + b), c), DataEntry(("positionLon_" + b), d)]
45
56
6-@Callable(a)
7-func startGame () = {
8- let b = pow(50000, 5, 5, 1, 5, HalfEven())
9- WriteSet([DataEntry("sqrt", b)])
7+func e (f,g) = {
8+ let h = ((f + "_") + g)
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+ }
11+
12+
13+func i (b) = getStringValue(this, ("gameId_" + b))
14+
15+
16+func j (k) = {
17+ let l = (k / 628318)
18+ if ((0 > k))
19+ then {
20+ let m = -(k)
21+ if ((m > 628318))
22+ then {
23+ let n = (m + (l * 628318))
24+ if ((n > 314159))
25+ then {
26+ let o = (n - 314159)
27+ let p = ((16 * o) * (314159 - o))
28+ let q = (493480220050 - (p / 4))
29+ ((p * 100000) / q)
30+ }
31+ else {
32+ let p = ((16 * n) * (314159 - n))
33+ let q = (493480220050 - (p / 4))
34+ ((-(p) * 100000) / q)
35+ }
36+ }
37+ else if ((m > 314159))
38+ then {
39+ let n = (m - 314159)
40+ let p = ((16 * n) * (314159 - n))
41+ let q = (493480220050 - (p / 4))
42+ ((p * 100000) / q)
43+ }
44+ else {
45+ let p = ((16 * m) * (314159 - m))
46+ let q = (493480220050 - (p / 4))
47+ ((-(p) * 100000) / q)
48+ }
49+ }
50+ else if ((k > 628318))
51+ then {
52+ let n = (k - (l * 628318))
53+ if ((n > 314159))
54+ then {
55+ let o = (n - 314159)
56+ let p = ((16 * o) * (314159 - o))
57+ let q = (493480220050 - (p / 4))
58+ ((-(p) * 100000) / q)
59+ }
60+ else {
61+ let p = ((16 * n) * (314159 - n))
62+ let q = (493480220050 - (p / 4))
63+ ((p * 100000) / q)
64+ }
65+ }
66+ else if ((k > 314159))
67+ then {
68+ let n = (k - 314159)
69+ let p = ((16 * n) * (314159 - n))
70+ let q = (493480220050 - (p / 4))
71+ ((-(p) * 100000) / q)
72+ }
73+ else {
74+ let p = ((16 * k) * (314159 - k))
75+ let q = (493480220050 - (p / 4))
76+ ((p * 100000) / q)
77+ }
78+ }
79+
80+
81+func r (k) = j((157079 - k))
82+
83+
84+func s (t) = if ((0 > t))
85+ then {
86+ let u = (-1 * t)
87+ let v = (((-1873 * u) / 100000) + 7426)
88+ let w = (((v * u) / 100000) - 21211)
89+ let x = (((w * u) / 100000) + 157072)
90+ let y = pow((100000 - t), 5, 5, 1, 5, HALFEVEN)
91+ -((157080 - ((y * x) / 100000)))
92+ }
93+ else {
94+ let v = (((-1873 * t) / 100000) + 7426)
95+ let w = (((v * t) / 100000) - 21211)
96+ let x = (((w * t) / 100000) + 157072)
97+ let y = pow((100000 - t), 5, 5, 1, 5, HALFEVEN)
98+ (157080 - ((y * x) / 100000))
99+ }
100+
101+
102+func z (t) = {
103+ let A = ((t * t) / 100000)
104+ if ((-100000 > t))
105+ then (-157079 - ((t * 100000) / (A + 28000)))
106+ else if ((t > 100000))
107+ then (157079 - ((t * 100000) / (A + 28000)))
108+ else ((t * 100000) / (100000 + ((28000 * A) / 100000)))
109+ }
110+
111+
112+func B (C,t) = if ((t > 0))
113+ then z((C / t))
114+ else if (if ((0 > t))
115+ then (C >= 0)
116+ else false)
117+ then (z((C / t)) + 314159)
118+ else if (if ((0 > t))
119+ then (0 > C)
120+ else false)
121+ then (z((C / t)) - 314159)
122+ else if (if ((t == 0))
123+ then (C > 0)
124+ else false)
125+ then 157080
126+ else if (if ((t == 0))
127+ then (0 > C)
128+ else false)
129+ then -157080
130+ else 0
131+
132+
133+func D (E,F) = ((((2 * E) * (r(F) * j(F))) / 100000) / 980665)
134+
135+
136+func G (H,I,J,K) = {
137+ let L = (H - J)
138+ let M = (I - K)
139+ let N = j((L / 2))
140+ let O = j((M / 2))
141+ let P = ((N * N) + (((r(H) * r(J)) / 100000) * ((O * O) / 100000)))
142+ let Q = (2 * s(pow(P, 5, 5, 1, 5, HALFEVEN)))
143+ ((637100000000 * Q) / 100000)
144+ }
145+
146+
147+func R (S,T,U,V) = {
148+ let W = (U / 6371000)
149+ let X = j(S)
150+ let Y = r(S)
151+ let Z = j(W)
152+ let aa = r(W)
153+ let ab = s((((X * aa) / 100000) + (((Y * Z) * r(V)) / 10000000000)))
154+ let ac = (T + (B((((j(V) * Z) * Y) / 100000), (aa - ((X * X) / 100000))) * 100))
155+[ab, ac]
156+ }
157+
158+
159+func ad (F,V,ae,f,g) = {
160+ let af = getIntegerValue(this, ("positionLat_" + f))
161+ let ag = getIntegerValue(this, ("positionLon_" + f))
162+ let ah = getIntegerValue(this, ("positionLat_" + g))
163+ let ai = getIntegerValue(this, ("positionLon_" + g))
164+ let aj = G(af, ag, ah, ai)
165+ let ak = ((aj * 980665) / 100000)
166+ let al = D(((ak * ae) / 100000), F)
167+ let am = R(af, ag, al, V)
168+ let an = G(am[0], am[1], ah, ai)
169+ an
170+ }
171+
172+
173+@Callable(ao)
174+func startGame (c,d) = {
175+ let ap = toString(ao.caller)
176+ let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000))
177+ let ar = getString(this, "openGame")
178+ let h = getString(this, ("gameId_" + ap))
179+ if (if ((h != ""))
180+ then (h != unit)
181+ else false)
182+ then throw("Please finish your current game, before starting another one")
183+ else if (!(isDefined(ar)))
184+ then WriteSet(DataEntry("openGame", ap) :: aq)
185+ else if (if ((ar == ""))
186+ then true
187+ else (ar == ap))
188+ then WriteSet(DataEntry("openGame", ap) :: aq)
189+ else WriteSet([DataEntry("openGame", ""), aq[0], aq[1], e(value(ar), ap)])
190+ }
191+
192+
193+
194+@Callable(ao)
195+func executeShot (F,V,ae) = {
196+ let as = base58''
197+ let ap = toString(ao.caller)
198+ let at = getStringValue(this, ("opponent_" + ap))
199+ let h = i(ap)
200+ if ((getStringValue(this, ("gameTurn_" + h)) != ap))
201+ then throw("please wait for your turn")
202+ else {
203+ let au = ad(F, V, ae, ap, at)
204+ if ((1000 > au))
205+ then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ap)]), TransferSet([ScriptTransfer(ao.caller, 2, as)]))
206+ else WriteSet([DataEntry(("gameTurn_" + h), at)])
207+ }
208+ }
209+
210+
211+
212+@Callable(ao)
213+func faucet () = {
214+ let as = base58''
215+ let ap = toString(ao.caller)
216+ let av = assetBalance(ao.caller, as)
217+ if ((100 > av))
218+ then TransferSet([ScriptTransfer(ao.caller, 100, as)])
219+ else TransferSet(nil)
220+ }
221+
222+
223+
224+@Callable(ao)
225+func changeCoords (c,d) = {
226+ let ap = toString(ao.caller)
227+ let aw = getInteger(this, ("positionLat_" + ap))
228+ if (isDefined(aw))
229+ then {
230+ let aq = a(ap, ((c * 1745) / 100000), ((d * 1745) / 100000))
231+ WriteSet(aq)
232+ }
233+ else WriteSet(nil)
234+ }
235+
236+
237+
238+@Callable(ao)
239+func testMathFunctions () = {
240+ let ax = j(-314159)
241+ let ay = j(-157080)
242+ let az = j(-78540)
243+ let aA = j(0)
244+ let aB = j(78540)
245+ let aC = j(157080)
246+ let aD = j(314159)
247+ let aE = j(471239)
248+ let aF = r(-314159)
249+ let aG = r(-157080)
250+ let aH = r(-78540)
251+ let aI = r(0)
252+ let aJ = r(78540)
253+ let aK = r(157080)
254+ let aL = r(314159)
255+ let aM = r(471239)
256+ let aN = s(-100000)
257+ let aO = s(-50000)
258+ let aP = s(0)
259+ let aQ = s(50000)
260+ let aR = s(100000)
261+ let aS = z(-1000000)
262+ let aT = z(-500000)
263+ let aU = z(0)
264+ WriteSet([DataEntry("SinN180", ax), DataEntry("SinN90", ay), DataEntry("SinN45", az), DataEntry("Sin0", aA), DataEntry("Sin45", aB), DataEntry("Sin90", aC), DataEntry("Sin180", aD), DataEntry("Sin270", aE), DataEntry("CosN180", aF), DataEntry("CosN90", aG), DataEntry("CosN45", aH), DataEntry("Cos0", aI), DataEntry("Cos45", aJ), DataEntry("Cos90", aK), DataEntry("Cos180", aL), DataEntry("Cos270", aM), DataEntry("AsinN1", aN), DataEntry("AsinN5", aO), DataEntry("Asin0", aP), DataEntry("Asin1", aR), DataEntry("Asin5", aQ), DataEntry("AtanN10", aS), DataEntry("AtanN5", aT), DataEntry("Atan0", aU)])
10265 }
11266
12267

github/deemru/w8io/026f985 
29.66 ms