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