tx · CZjZpiSFnGjRbNhbaZyHBf7fjTyx298JH8zF7ZsJE5NG

3NAjwfxvJp9VShPRRyyqxM7DBur7oCPn79L:  -0.00800000 Waves

2022.08.31 22:36 [2209054] smart account 3NAjwfxvJp9VShPRRyyqxM7DBur7oCPn79L > SELF 0.00000000 Waves

{ "type": 13, "id": "CZjZpiSFnGjRbNhbaZyHBf7fjTyx298JH8zF7ZsJE5NG", "fee": 800000, "feeAssetId": null, "timestamp": 1661974652498, "version": 2, "chainId": 84, "sender": "3NAjwfxvJp9VShPRRyyqxM7DBur7oCPn79L", "senderPublicKey": "3qLStkxzTGZubeF2nmuXT2iopYYNg89sPT7VaNpTqihE", "proofs": [ "23M8tNTXoZjDjv6ZoTQD8Nn4p8NJyjdiNge4JYcMgr9CbGAFhs6B9UFgddkgfmG6t9qsYKKyx57rXDbKwiUQqkZm" ], "script": "base64:AAIFAAAAAAAAABAIAhIAEgASABIAEgASABIAAAAAGgAAAAAOZ2FtZVRva2VuTGFiZWwCAAAACUdfVE9LRU5JRAAAAAAQZ2FtZUJhbGFuY2VMYWJlbAIAAAAJR19CQUxBTkNFAAAAABVnYW1lQ29tbXVuaXR5UG90TGFiZWwCAAAADkdfQ09NTVVOSVRZUE9UAQAAABFnYW1lUHJpemVQb3RMYWJlbAAAAAEAAAAKZ2FtZU51bWJlcgkAASwAAAACCQABLAAAAAICAAAAAkdfCQABpAAAAAEFAAAACmdhbWVOdW1iZXICAAAACFBSSVpFUE9UAQAAABlnYW1lUHJpemVTaGFyZUFtb3VudExhYmVsAAAAAQAAAApnYW1lTnVtYmVyCQABLAAAAAIJAAEsAAAAAgIAAAACR18JAAGkAAAAAQUAAAAKZ2FtZU51bWJlcgIAAAAQUFJJWkVTSEFSRUFNT1VOVAAAAAAQZ2FtZUNvdW50ZXJMYWJlbAIAAAAOR19HQU1FU0NPVU5URVIBAAAAEmdhbWVUb3RhbEJldHNMYWJlbAAAAAEAAAAKZ2FtZU51bWJlcgkAASwAAAACCQABLAAA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cwUAAAAQcHJpemVTaGFyZUFtb3VudAkBAAAACWdhbWVUb2tlbgAAAAAFAAAAA25pbAkAAAIAAAABAgAAADtHYW1lIGhhcyBub3QgYmVlbiBpbml0aWFsaXplZCwgcHJpemUgc2hhcmUgYW1vdW50IG5vdCBmb3VuZAkAAAIAAAABAgAAAEBHYW1lIGhhcyBub3QgYmVlbiBpbml0aWFsaXplZCwgdG90YWwgcHJvY2Vzc2VkIHdpbm5lcnMgbm90IGZvdW5kCQAAAgAAAAECAAAANkdhbWUgaGFzIG5vdCBiZWVuIGluaXRpYWxpemVkLCB0b3RhbCB3aW5uZXJzIG5vdCBmb3VuZAkAAAIAAAABAgAAADRHYW1lIGhhcyBub3QgYmVlbiBpbml0aWFsaXplZCwgdG90YWwgZ2FtZXMgbm90IGZvdW5kAAAAAC2XJuc=", "height": 2209054, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3UzrUWbFrh4BmBt9cHWZSUZXoZQCpDJFfvsyoad5YJEK Next: 6wWxMwaAMV76vBCXN8Ahrg1upb9pZ4KLr6TWZYDmL7nt Diff:
OldNewDifferences
9797 then {
9898 let G = D
9999 let H = (G + 1)
100-[IntegerEntry(g, H), IntegerEntry(d(H), 10000000), IntegerEntry(f(H), 0), IntegerEntry(h(H), 0), IntegerEntry(i(H), 0), IntegerEntry(j(H), 0), IntegerEntry(k(H), 0)]
100+[IntegerEntry(g, H), IntegerEntry(d(H), 100000000), IntegerEntry(f(H), 0), IntegerEntry(h(H), 0), IntegerEntry(i(H), 0), IntegerEntry(j(H), 0), IntegerEntry(k(H), 0)]
101101 }
102102 else throw("Game has not been initialized, total games not found")
103103 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "G_TOKENID"
55
66 let b = "G_BALANCE"
77
88 let c = "G_COMMUNITYPOT"
99
1010 func d (e) = (("G_" + toString(e)) + "PRIZEPOT")
1111
1212
1313 func f (e) = (("G_" + toString(e)) + "PRIZESHAREAMOUNT")
1414
1515
1616 let g = "G_GAMESCOUNTER"
1717
1818 func h (e) = (("G_" + toString(e)) + "TOTALBETS")
1919
2020
2121 func i (e) = (("G_" + toString(e)) + "PROCESSEDBETS")
2222
2323
2424 func j (e) = (("G_" + toString(e)) + "WINNERSCOUNT")
2525
2626
2727 func k (e) = (("G_" + toString(e)) + "PROCESSEDWINNERS")
2828
2929
3030 func l (e) = (("G_" + toString(e)) + "_RESULT")
3131
3232
3333 func m (n) = (("B_" + toString(n)) + "_BETDETAILS")
3434
3535
3636 func o (p) = (("W_" + toString(p)) + "_WINNERDETAILS")
3737
3838
3939 func q () = getInteger(this, b)
4040
4141
4242 func r () = getInteger(this, c)
4343
4444
4545 func s (e) = getInteger(this, d(e))
4646
4747
4848 func t (e) = getInteger(this, f(e))
4949
5050
5151 func u () = getInteger(this, g)
5252
5353
5454 func v (e) = getInteger(this, h(e))
5555
5656
5757 func w (e) = getInteger(this, i(e))
5858
5959
6060 func x (e) = getInteger(this, j(e))
6161
6262
6363 func y (e) = getInteger(this, k(e))
6464
6565
6666 func z (e) = getStringValue(this, l(e))
6767
6868
6969 func A (n) = getStringValue(this, m(n))
7070
7171
7272 func B (p) = getStringValue(this, o(p))
7373
7474
7575 func C () = {
7676 let D = getString(this, a)
7777 if ($isInstanceOf(D, "String"))
7878 then {
7979 let E = D
8080 if ((E == ""))
8181 then unit
8282 else fromBase58String(E)
8383 }
8484 else unit
8585 }
8686
8787
8888 @Callable(F)
8989 func initGame () = [IntegerEntry(b, 0), IntegerEntry(c, 0), IntegerEntry(g, 0)]
9090
9191
9292
9393 @Callable(F)
9494 func startGame () = {
9595 let D = u()
9696 if ($isInstanceOf(D, "Int"))
9797 then {
9898 let G = D
9999 let H = (G + 1)
100-[IntegerEntry(g, H), IntegerEntry(d(H), 10000000), IntegerEntry(f(H), 0), IntegerEntry(h(H), 0), IntegerEntry(i(H), 0), IntegerEntry(j(H), 0), IntegerEntry(k(H), 0)]
100+[IntegerEntry(g, H), IntegerEntry(d(H), 100000000), IntegerEntry(f(H), 0), IntegerEntry(h(H), 0), IntegerEntry(i(H), 0), IntegerEntry(j(H), 0), IntegerEntry(k(H), 0)]
101101 }
102102 else throw("Game has not been initialized, total games not found")
103103 }
104104
105105
106106
107107 @Callable(F)
108108 func placeBet () = {
109109 let D = u()
110110 if ($isInstanceOf(D, "Int"))
111111 then {
112112 let G = D
113113 let I = v(G)
114114 if ($isInstanceOf(I, "Int"))
115115 then {
116116 let J = I
117117 let K = (J + 1)
118118 let L = "1,2,3"
119119 [IntegerEntry(h(G), K), StringEntry(m(K), ((("G" + toString(G)) + "-") + L))]
120120 }
121121 else throw("Game has not been initialized, total bets not found")
122122 }
123123 else throw("Game has not been initialized, total games not found")
124124 }
125125
126126
127127
128128 @Callable(F)
129129 func endGame () = {
130130 let D = u()
131131 if ($isInstanceOf(D, "Int"))
132132 then {
133133 let G = D
134134 [StringEntry(l(G), ((("G" + toString(G)) + "-") + "1,2,3"))]
135135 }
136136 else throw("Game has not been initialized, total games not found")
137137 }
138138
139139
140140
141141 @Callable(F)
142142 func processNextBet () = {
143143 let D = u()
144144 if ($isInstanceOf(D, "Int"))
145145 then {
146146 let G = D
147147 let I = v(G)
148148 if ($isInstanceOf(I, "Int"))
149149 then {
150150 let J = I
151151 let M = w(G)
152152 if ($isInstanceOf(M, "Int"))
153153 then {
154154 let N = M
155155 let O = (N + 1)
156156 if ((O > J))
157157 then throw("Next bet has not been placed.")
158158 else {
159159 let P = u()
160160 if ($isInstanceOf(P, "Int"))
161161 then {
162162 let e = P
163163 let Q = x(G)
164164 if ($isInstanceOf(Q, "Int"))
165165 then {
166166 let R = Q
167167 let S = z(e)
168168 let T = A(O)
169169 if ((T == S))
170170 then {
171171 let U = (R + 1)
172172 [IntegerEntry(i(G), O), IntegerEntry(j(G), (R + 1)), StringEntry(o(U), toBase58String(F.caller.bytes))]
173173 }
174174 else [IntegerEntry(i(G), O)]
175175 }
176176 else throw("Game has not been initialized, total winners not found")
177177 }
178178 else throw("Game has not been initialized, total games not found")
179179 }
180180 }
181181 else throw("Game has not been initialized, total processed bets not found")
182182 }
183183 else throw("Game has not been initialized, total bets not found")
184184 }
185185 else throw("Game has not been initialized, total games not found")
186186 }
187187
188188
189189
190190 @Callable(F)
191191 func calculatePrize () = {
192192 let D = u()
193193 if ($isInstanceOf(D, "Int"))
194194 then {
195195 let G = D
196196 let I = x(G)
197197 if ($isInstanceOf(I, "Int"))
198198 then {
199199 let R = I
200200 if ((R == 0))
201201 then throw("There are no winners this round.")
202202 else {
203203 let M = s(G)
204204 if ($isInstanceOf(M, "Int"))
205205 then {
206206 let V = M
207207 let W = (V / R)
208208 [IntegerEntry(f(G), W)]
209209 }
210210 else throw("Game has not been initialized, total games not found")
211211 }
212212 }
213213 else throw("Game has not been initialized, total winners not found")
214214 }
215215 else throw("Game has not been initialized, total games not found")
216216 }
217217
218218
219219
220220 @Callable(F)
221221 func processNextWinner () = {
222222 let D = u()
223223 if ($isInstanceOf(D, "Int"))
224224 then {
225225 let G = D
226226 let I = x(G)
227227 if ($isInstanceOf(I, "Int"))
228228 then {
229229 let X = I
230230 if ((X == 0))
231231 then throw("There are no winners this round.")
232232 else {
233233 let M = y(G)
234234 if ($isInstanceOf(M, "Int"))
235235 then {
236236 let Y = M
237237 let Z = (Y + 1)
238238 if ((Z > X))
239239 then throw("No more winners to be processed.")
240240 else {
241241 let P = t(G)
242242 if ($isInstanceOf(P, "Int"))
243243 then {
244244 let W = P
245245 let aa = B(Z)
246246 let ab = value(addressFromString(aa))
247247 [ScriptTransfer(ab, W, C())]
248248 }
249249 else throw("Game has not been initialized, prize share amount not found")
250250 }
251251 }
252252 else throw("Game has not been initialized, total processed winners not found")
253253 }
254254 }
255255 else throw("Game has not been initialized, total winners not found")
256256 }
257257 else throw("Game has not been initialized, total games not found")
258258 }
259259
260260

github/deemru/w8io/169f3d6 
35.80 ms