tx · A1Dq6b5gZcGWwQ46pZsvWGwz1zynZiFuS6SJhsSLD4NE

3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX:  -0.01000000 Waves

2023.06.08 19:22 [2613929] smart account 3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX > SELF 0.00000000 Waves

{ "type": 13, "id": "A1Dq6b5gZcGWwQ46pZsvWGwz1zynZiFuS6SJhsSLD4NE", "fee": 1000000, "feeAssetId": null, "timestamp": 1686241328048, "version": 2, "chainId": 84, "sender": "3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX", "senderPublicKey": "5iiNX4Sz3qZzcerumQLc1y7u9TH2X46jDV4f9Xivtmtv", "proofs": [ "5hgs57jZ6BRPiLTiW12k5taV17AnP9D6T9sfa8C9VNnv8jf6vEjodwZkhhsMaZnptkyDvcrVfNMS1JeE24kwVbuN" ], "script": "base64:BgIUCAISAwoBARIFCgMBEQgSABIAEgAaAQpudW1Ub1dhdmVzAQNudW0JAGgCBQNudW0AgMLXLwELaXNQYXltZW50T2sCAWkDc3VtBBFhY2NlcHRhYmxlQXNzZXRJZAEEE6vZMwQBcAkAkQMCCAUBaQhwYXltZW50cwAAAwkAZwIIBQFwBmFtb3VudAkBCm51bVRvV2F2ZXMBBQNzdW0JAAACCAUBcAdhc3NldElkBQR1bml0BwELbWFwSW50VG9TdHICBWFjY3VtBG5leHQJAMwIAgkApAMBBQRuZXh0BQVhY2N1bQELbWFwU3RyVG9JbnQCBWFjY3VtBG5leHQJAMwIAgkBDXBhcnNlSW50VmFsdWUBBQRuZXh0BQVhY2N1bQELbWFwSW50VG9TdW0CBWFjY3VtBG5leHQJAGQCBQVhY2N1bQUEbmV4dAEMbGlzdEludFRvU3VtAQNhcnIKAAIkbAUDYXJyCgACJHMJAJADAQUCJGwKAAUkYWNjMAAACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQttYXBJbnRUb1N1bQIFAiRhCQCRAwIFAiRsBQIka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HJ5AgkBFUxXX2dldFJhbmRvbU51bWJlcktleQEFAWkFDHJhbmRvbU51bWJlcgkAzAgCCQELU3RyaW5nRW50cnkCCQEMTFdfZ2V0TG9nS2V5AQUBaQUGbG9nU3RyBQNuaWwAreoZUw==", "height": 2613929, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DhHhEDJmkz4ugkoeDiZUWTfxZ4gse7fAmeQEZBvZkJtv Next: 719o9QMFtrCVUH89SCJKTiBaFgTsWxTUdmBQ8dFQ6uX7 Diff:
OldNewDifferences
181181 let Y = valueOrErrorMessage(X.vrf, "unexcpected error")
182182 let Z = sha256(value(Y))
183183 let L = (toInt(Z, 16) % 37)
184-toString(L) :: i
184+StringEntry(toString(j), toString(L)) :: i
185185 }
186186
187187
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = (b * 100000000)
55
66
77 func c (d,e) = {
88 let f = base58'WAVES'
99 let g = d.payments[0]
1010 if ((g.amount >= a(e)))
1111 then (g.assetId == unit)
1212 else false
1313 }
1414
1515
1616 func h (i,j) = toString(j) :: i
1717
1818
1919 func k (i,j) = parseIntValue(j) :: i
2020
2121
2222 func l (i,j) = (i + j)
2323
2424
2525 func m (n) = {
2626 let o = n
2727 let p = size(o)
2828 let q = 0
2929 func r (s,t) = if ((t >= p))
3030 then s
3131 else l(s, o[t])
3232
3333 func u (s,t) = if ((t >= p))
3434 then s
3535 else throw("List size exceeds 50")
3636
3737 u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
3838 }
3939
4040
4141 func v (n) = {
4242 let o = n
4343 let p = size(o)
4444 let q = nil
4545 func r (s,t) = if ((t >= p))
4646 then s
4747 else h(s, o[t])
4848
4949 func u (s,t) = if ((t >= p))
5050 then s
5151 else throw("List size exceeds 50")
5252
5353 u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
5454 }
5555
5656
5757 func w (n) = {
5858 let o = n
5959 let p = size(o)
6060 let q = nil
6161 func r (s,t) = if ((t >= p))
6262 then s
6363 else k(s, o[t])
6464
6565 func u (s,t) = if ((t >= p))
6666 then s
6767 else throw("List size exceeds 50")
6868
6969 u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
7070 }
7171
7272
7373 func x (n) = makeString(n, "|")
7474
7575
7676 func y (z) = split(z, "|")
7777
7878
7979 func A (n) = makeString(v(n), "|")
8080
8181
8282 func B (C) = w(split(C, "|"))
8383
8484
8585 func D (d) = ("bet_LuckyWheel_" + toString(d.caller))
8686
8787
8888 func E (d) = ("won_LuckyWheel_" + toString(d.caller))
8989
9090
9191 func F (d) = ("randomNumber_LuckyWheel_" + toString(d.caller))
9292
9393
9494 func G (d) = ((("log_LuckyWheel_" + toString(d.caller)) + "_") + toBase58String(d.transactionId))
9595
9696
9797 func H (I) = {
9898 let J = I
9999 if ((1 == J))
100100 then a(2)
101101 else if ((3 == J))
102102 then a(1)
103103 else if ((7 == J))
104104 then a(6)
105105 else if ((9 == J))
106106 then a(1)
107107 else 0
108108 }
109109
110110
111111 func K (L,M,N,O) = {
112112 let P = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
113113 if (if ((size(N) == 1))
114114 then (O == "num")
115115 else false)
116116 then if ((N[0] == L))
117117 then (M * 36)
118118 else 0
119119 else if ((size(N) == 2))
120120 then if (containsElement(N, L))
121121 then (M * 18)
122122 else 0
123123 else if ((size(N) == 3))
124124 then if (containsElement(N, L))
125125 then (M * 12)
126126 else 0
127127 else if ((size(N) == 4))
128128 then if (containsElement(N, L))
129129 then (M * 9)
130130 else 0
131131 else if ((size(N) == 12))
132132 then if (containsElement(N, L))
133133 then (M * 3)
134134 else 0
135135 else if ((O == "red"))
136136 then if (containsElement(P, L))
137137 then (M * 2)
138138 else 0
139139 else if ((O == "black"))
140140 then if (if (!(containsElement(P, L)))
141141 then (L != 0)
142142 else false)
143143 then (M * 2)
144144 else 0
145145 else if ((O == "odd"))
146146 then if (((L % 2) != 0))
147147 then (M * 2)
148148 else 0
149149 else if ((O == "even"))
150150 then if (((L % 2) == 0))
151151 then (M * 2)
152152 else 0
153153 else if ((size(N) == 18))
154154 then if (containsElement(N, L))
155155 then (M * 2)
156156 else 0
157157 else 0
158158 }
159159
160160
161161 func Q (d) = ("bet_Roulette_" + toString(d.caller))
162162
163163
164164 func R (d) = ("betAmount_Roulette_" + toString(d.caller))
165165
166166
167167 func S (d) = ("selectedNumbers_Roulette_" + toString(d.caller))
168168
169169
170170 func T (d) = ("direction_Roulette_" + toString(d.caller))
171171
172172
173173 func U (d) = ((("log_Roulette_" + toString(d.caller)) + "_") + toBase58String(d.transactionId))
174174
175175
176176 func V (d) = ("status_Roulette_" + toString(d.caller))
177177
178178
179179 func W (i,j) = {
180180 let X = valueOrErrorMessage(blockInfoByHeight(j), "unexcpected error")
181181 let Y = valueOrErrorMessage(X.vrf, "unexcpected error")
182182 let Z = sha256(value(Y))
183183 let L = (toInt(Z, 16) % 37)
184-toString(L) :: i
184+StringEntry(toString(j), toString(L)) :: i
185185 }
186186
187187
188188 func aa (n) = {
189189 let o = n
190190 let p = size(o)
191191 let q = nil
192192 func r (s,t) = if ((t >= p))
193193 then s
194194 else W(s, o[t])
195195
196196 func u (s,t) = if ((t >= p))
197197 then s
198198 else throw("List size exceeds 50")
199199
200200 u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
201201 }
202202
203203
204204 @Callable(d)
205205 func test (ab) = aa([ab, (ab - 1)])
206206
207207
208208
209209 @Callable(d)
210210 func Roulette_commit (M,N,O) = {
211211 let g = d.payments[0]
212212 if (!(c(d, M)))
213213 then throw("Wrong payment amount or asset!")
214214 else [IntegerEntry(Q(d), (height + 1)), IntegerEntry(R(d), M), StringEntry(S(d), A(N)), StringEntry(T(d), O), StringEntry(V(d), ((((("| status: commit | revealBlock: " + toString((height + 1))) + " | betAmount: ") + toString(M)) + " | selectedNumbers: ") + A(N)))]
215215 }
216216
217217
218218
219219 @Callable(d)
220220 func Roulette_reveal () = {
221221 let ab = valueOrErrorMessage(getIntegerValue(Q(d)), "Bet not found")
222222 let M = valueOrErrorMessage(getIntegerValue(R(d)), "Bet amount not found")
223223 let ac = valueOrErrorMessage(getStringValue(S(d)), "Selected numbers not found")
224224 let ad = valueOrErrorMessage(getStringValue(T(d)), "Direction not found")
225225 let ae = B(ac)
226226 if ((ab > height))
227227 then throw((("Wait " + toString((ab - height))) + " blocks to reveal this id"))
228228 else {
229229 let X = valueOrErrorMessage(blockInfoByHeight(ab), "unexcpected error")
230230 let Y = valueOrErrorMessage(X.vrf, "unexcpected error")
231231 let Z = sha256(value(Y))
232232 let L = (toInt(Z, 16) % 37)
233233 let af = a(K(L, M, ae, ad))
234234 let ag = ((((((((("| commitHeight: " + toString(ab)) + " | betAmount: ") + toString(M)) + " | winningAmount: ") + toString(af)) + " | selectedNumbers: ") + A(ae)) + " | randomNumber: ") + toString(L))
235235 let ah = ((((((((("| status: reveal | winningAmount: " + toString(af)) + " | selectedNumbers: ") + A(ae)) + " | randomNumber: ") + toString(L)) + " | betAmount: ") + toString(M)) + " | selectedNumbers: ") + A(ae))
236236 if ((af > 0))
237237 then [DeleteEntry(Q(d)), DeleteEntry(R(d)), DeleteEntry(S(d)), DeleteEntry(T(d)), ScriptTransfer(d.caller, af, unit), StringEntry(U(d), ag), StringEntry(V(d), ah)]
238238 else [DeleteEntry(Q(d)), DeleteEntry(R(d)), DeleteEntry(S(d)), DeleteEntry(T(d)), IntegerEntry(U(d), af), StringEntry(U(d), ag), StringEntry(V(d), ah)]
239239 }
240240 }
241241
242242
243243
244244 @Callable(d)
245245 func LuckyWheel_commit () = if (!(c(d, 1)))
246246 then throw("Wrong payment amount or asset")
247247 else [IntegerEntry(D(d), (height + 1)), DeleteEntry(F(d)), DeleteEntry(E(d))]
248248
249249
250250
251251 @Callable(d)
252252 func LuckyWheel_reveal () = {
253253 let ab = valueOrErrorMessage(getIntegerValue(D(d)), "Bet not found")
254254 if ((ab > height))
255255 then throw((("Wait " + toString((ab - height))) + " blocks to reveal this id"))
256256 else {
257257 let X = valueOrErrorMessage(blockInfoByHeight(ab), "unexcpected error")
258258 let Y = valueOrErrorMessage(X.vrf, "unexcpected error")
259259 let Z = sha256(value(Y))
260260 let L = (toInt(Z, 16) % 12)
261261 let af = H(L)
262262 let ag = ((((((("| caller: " + toString(d.caller)) + " | winningAmount: ") + toString(af)) + " | randomNumber: ") + toString(L)) + " | commitHeight: ") + toString(ab))
263263 if ((af > 0))
264264 then [DeleteEntry(D(d)), ScriptTransfer(d.caller, af, unit), IntegerEntry(E(d), af), IntegerEntry(F(d), L), StringEntry(G(d), ag)]
265265 else [DeleteEntry(D(d)), IntegerEntry(E(d), af), IntegerEntry(F(d), L), StringEntry(G(d), ag)]
266266 }
267267 }
268268
269269

github/deemru/w8io/026f985 
43.53 ms