tx · 4bHKND1FAGGeVvp12T25hd9P3TsgePqhi3JToEsM1C1C

3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd:  -0.10000000 Waves

2021.12.01 02:18 [1814423] smart account 3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd > SELF 0.00000000 Waves

{ "type": 13, "id": "4bHKND1FAGGeVvp12T25hd9P3TsgePqhi3JToEsM1C1C", "fee": 10000000, "feeAssetId": null, "timestamp": 1638314428752, "version": 1, "sender": "3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd", "senderPublicKey": "7Hi4o6vBstRs79NMVMjEove52dmP87RAcvNDAXN8C4Wi", "proofs": [ "3e1vFJoRoCD3m9w8sjUQgqaN8JLXrEZpqVR2d1jbeQG6LHXEGMhJ6yAWN18VUeAAJQijzsJ9HY1BLB8dZC2kuqzk" ], "script": "base64:AAIFAAAAAAAAA+cIAhIDCgEIEgMKAQgaDAoCYTESBmNhc2lubxoLCgJhMhIFV0FWRVMaDAoCYTMSBm1heEJldBoPCgJhNBIJc2VwYXJhdG9yGhAKAmE1EgpnZXROZXdEZWNrGhQKAmE2Eg5nZXRTaXhOZXdEZWNrcxoNCgJhNxIHZ2V0RGVjaxoKCgJhOBIEZGVjaxoVCgJhORIPZ2V0UmFuZG9tTnVtYmVyGgsKAmIxEgVzYWx0MRoLCgJiMhIFc2FsdDIaEgoCYjMSDGFuc3dlcnNDb3VudBoKCgJiNBIEaGFzaBoLCgJiNRIFaW5kZXgaCgoCYjYSBHJhbmQaHQoCYjcSF2dldFByZXZpb3VzUmFuZG9tTnVtYmVyGg0KAmI4EgdhZGRyZXNzGg0KAmI5EgckbWF0Y2gwGhUKAmMxEg9nZXRBbW91bnRPclplcm8aCgoCYzISBHRoaXMaCQoCYzMSA2tleRoQCgJjNBIKZ2V0UGF5bWVudBoJCgJjNRIDcG10GhIKAmM2EgxnZXRDYXJkVmFsdWUaEAoCYzcSCnN0cmluZ0NhcmQaDwoCYzgSCWd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AAAMwN0MJAARMAAAAAgIAAAADMDhDCQAETAAAAAICAAAAAzA5QwkABEwAAAACAgAAAAMxMEMJAARMAAAAAgIAAAADMTFDCQAETAAAAAICAAAAAzEyQwkABEwAAAACAgAAAAMxM0MJAARMAAAAAgIAAAADMDFECQAETAAAAAICAAAAAzAyRAkABEwAAAACAgAAAAMwM0QJAARMAAAAAgIAAAADMDRECQAETAAAAAICAAAAAzA1RAkABEwAAAACAgAAAAMwNkQJAARMAAAAAgIAAAADMDdECQAETAAAAAICAAAAAzA4RAkABEwAAAACAgAAAAMwOUQJAARMAAAAAgIAAAADMTBECQAETAAAAAICAAAAAzExRAkABEwAAAACAgAAAAMxMkQJAARMAAAAAgIAAAADMTNECQAETAAAAAICAAAAAzAxSAkABEwAAAACAgAAAAMwMkgJAARMAAAAAgIAAAADMDNICQAETAAAAAICAAAAAzA0SAkABEwAAAACAgAAAAMwNUgJAARMAAAAAgIAAAADMDZICQAETAAAAAICAAAAAzA3SAkABEwAAAACAgAAAAMwOEgJAARMAAAAAgIAAAADMDlICQAETAAAAAICAAAAAzEwSAkABEwAAAACAgAAAAMxMUgJAARMAAAAAgIAAAADMTJICQAETAAAAAICAAAAAzEzSAkABEwAAAACAgAAAAMwMVMJAARMAAAAAgIAAAADMDJTCQAETAAAAAICAAAAAzAzUwkABEwAAAACAgAAAAMwNFMJAARMAAAAAgIAAAADMDVTCQAETAAAAAICAAAAAzA2UwkABEwAAAACAgAAAAMwN1MJAARMAAAAAgIAAAADMDhTCQAETAAAAAICAAAAAzA5UwkABEwAAAACAgAAAAMxMFMJAARMAAAAAgIAAAADMTFTCQAETAAAAAICAAAAAzEyUwkABEwAAAACAgAAAAMxM1MFAAAAA25pbAEAAAACYTYAAAAACQAETgAAAAIJAAROAAAAAgkABE4AAAACCQAETgAAAAIJAAROAAAAAgkBAAAAAmE1AAAAAAkBAAAAAmE1AAAAAAkBAAAAAmE1AAAAAAkBAAAAAmE1AAAAAAkBAAAAAmE1AAAAAAkBAAAA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aW5nIHRoaXMgcm91bmQDAwkAAAAAAAACBQAAAAJmNwUAAAACZDIJAAAAAAAAAgUAAAACZjcFAAAAAmExBwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAJmOAkAAaQAAAABBQAAAAJnMQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAAmcxBQAAAAR1bml0BQAAAANuaWwDAwkAAAAAAAACBQAAAAJmNwUAAAACZDIJAAAAAAAAAgUAAAACZjcFAAAAAmY5BwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAJmOAkAAaQAAAABCQAAaAAAAAIFAAAAAmcxAAAAAAAAAAACCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAAJnMQAAAAAAAAAAAgUAAAAEdW5pdAUAAAADbmlsCQAAAgAAAAECAAAAFllvdSBhcmUgbm90IHRoZSB3aW5uZXIAAAABAAAAAnR4AQAAAAJnMgAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5zxq/jA==", "chainId": 84, "height": 1814423, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8DmR7fMpJpr8AjtWvktZVTHYktvguFRPBxRLjsi34sHS Next: 9o1a7zFpmGsNr6sudj4UnE65WzvjqBksAbaGXfwgNBMY Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MtaCL4v1bjTabUqs7oU4ofS8fbai34WM1i"
55
66 let b = 1000000000
77
88 let c = (100 * b)
99
1010 let d = ","
1111
1212 func e () = ["01C", "02C", "03C", "04C", "05C", "06C", "07C", "08C", "09C", "10C", "11C", "12C", "13C", "01D", "02D", "03D", "04D", "05D", "06D", "07D", "08D", "09D", "10D", "11D", "12D", "13D", "01H", "02H", "03H", "04H", "05H", "06H", "07H", "08H", "09H", "10H", "11H", "12H", "13H", "01S", "02S", "03S", "04S", "05S", "06S", "07S", "08S", "09S", "10S", "11S", "12S", "13S"]
1313
1414
1515 func f () = (((((e() ++ e()) ++ e()) ++ e()) ++ e()) ++ e())
1616
1717
1818 func g (h) = if ((0 >= size(h)))
1919 then f()
2020 else h
2121
2222
2323 func i (j,k,l) = {
2424 let m = sha256(toBytes((j + k)))
2525 let n = toInt(m)
2626 let o = (n % l)
2727 if ((0 > o))
2828 then ((-1 * o) + 1)
2929 else (o + 1)
3030 }
3131
3232
3333 func p (q) = {
3434 let r = getInteger(this, (q + "_LastRandonNumber"))
3535 if ($isInstanceOf(r, "Int"))
3636 then {
3737 let s = r
3838 toString(s)
3939 }
4040 else q
4141 }
4242
4343
4444 func t (u,v) = {
4545 let r = getInteger(u, v)
4646 if ($isInstanceOf(r, "Int"))
4747 then {
4848 let w = r
4949 w
5050 }
5151 else 0
5252 }
5353
5454
5555 func x (y) = if ((size(y.payments) == 0))
5656 then throw("Payment must be attached")
5757 else {
5858 let z = y.payments[0]
5959 if (isDefined(z.assetId))
6060 then throw("This function accepts WAVES tokens only")
6161 else z.amount
6262 }
6363
6464
6565 func A (B) = {
6666 let C = parseIntValue(take(B, 2))
6767 if ((C == 1))
6868 then 20
6969 else C
7070 }
7171
7272
7373 func D (E,F,G,a) = {
7474 let C = A(E)
7575 let H = A(F)
7676 if ((C > H))
7777 then G
7878 else a
7979 }
8080
8181
8282 func I (u,J) = if (isDefined(getString(u, J)))
8383 then {
8484 let K = getStringValue(u, J)
8585 let h = split(K, d)
8686 g(h)
8787 }
8888 else f()
8989
9090
9191 func L (M,G,h) = {
9292 let N = g(h)
9393 let O = i(((M + makeString(N, d)) + G), p(G), size(N))
9494 let P = N[(O % size(N))]
9595 let Q = removeByIndex(N, (O % size(N)))
9696 $Tuple3(P, O, Q)
9797 }
9898
9999
100100 @Callable(y)
101101 func bet (R) = {
102102 let G = toBase58String(y.caller.bytes)
103103 let M = R
104104 let C = x(y)
105105 let S = (R + "_sumBets")
106106 let T = t(c2, S)
107107 let U = {
108108 let r = getInteger(c2, (R + "_drawSequence"))
109109 if ($isInstanceOf(r, "Int"))
110110 then {
111111 let w = r
112112 (w + 1)
113113 }
114114 else 0
115115 }
116116 let V = {
117117 let r = getString(c2, (R + "_player"))
118118 if ($isInstanceOf(r, "String"))
119119 then {
120120 let w = r
121121 w
122122 }
123123 else unit
124124 }
125125 let W = {
126126 let r = getInteger(c2, (R + "_initialBet"))
127127 if ($isInstanceOf(r, "Int"))
128128 then {
129129 let w = r
130130 w
131131 }
132132 else C
133133 }
134134 let J = (M + "_available")
135135 let X = (T + C)
136136 if (if (isDefined(getBoolean(c2, (R + "_stop"))))
137137 then true
138138 else isDefined(getString(c2, R)))
139139 then throw("This round is already played")
140140 else if (if (isDefined(getString(c2, (R + "_player"))))
141141 then (V != G)
142142 else false)
143143 then throw("This is not your game")
144144 else if ((X > c))
145145 then throw(((("Maximum amount of bets for round " + toString(c)) + ". With your bet it's ") + toString(X)))
146146 else if ((W != C))
147147 then throw(((("Initial bet not maching original:" + toString(W)) + ", actual:") + toString(C)))
148148 else {
149149 let Y = I(c2, J)
150150 let Z = L(M, G, Y)
151151 let E = Z._1
152152 let aa = Z._2
153153 let ab = Z._3
154154 let ac = L(M, G, ab)
155155 let F = ac._1
156156 let ad = ac._2
157157 let N = ac._3
158158 if ((A(E) == A(F)))
159159 then [StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), W), StringEntry((M + "_salt_debug"), M), IntegerEntry((M + "_LastRandonNumber"), ad), IntegerEntry((R + "_sumBets"), X), StringEntry((M + "_playerCard"), E), StringEntry((M + "_casinoCard"), F), IntegerEntry((R + "_drawSequence"), (U + 1))]
160160 else {
161161 let ae = D(E, F, G, a)
162162 [StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), W), StringEntry((M + "_salt_debug"), M), IntegerEntry((M + "_LastRandonNumber"), ad), IntegerEntry((R + "_sumBets"), X), StringEntry((M + "_playerCard"), E), StringEntry((M + "_casinoCard"), F), BooleanEntry((R + "_stop"), true), StringEntry((R + "_winner"), ae)]
163163 }
164164 }
165165 }
166166
167167
168168
169169 @Callable(y)
170170 func withdraw (R) = {
171171 let G = toBase58String(y.caller.bytes)
172172 let M = ((R + "_") + G)
173173 let af = (R + "_withdraw")
174174 if (isDefined(getString(c2, af)))
175175 then throw("You have already got your prize")
176176 else if (!(isDefined(getString(c2, (R + "_winner")))))
177177 then throw("There is no winner, it was a draw")
178178 else {
179179 let ae = getStringValue(c2, (R + "_winner"))
180180 let ag = getStringValue(c2, (R + "_player"))
181181 let ah = getIntegerValue(c2, (R + "_sumBets"))
182182 if ((ah == 0))
183183 then throw("You won nothing this round")
184184 else if (if ((ae == G))
185185 then (ae == a)
186186 else false)
187187 then [StringEntry(af, toString(ah)), ScriptTransfer(y.caller, ah, unit)]
188188 else if (if ((ae == G))
189189 then (ae == ag)
190190 else false)
191191 then [StringEntry(af, toString((ah * 2))), ScriptTransfer(y.caller, (ah * 2), unit)]
192192 else throw("You are not the winner")
193193 }
194194 }
195195
196196
197197 @Verifier(ai)
198198 func aj () = sigVerify(ai.bodyBytes, ai.proofs[0], ai.senderPublicKey)
199199

github/deemru/w8io/026f985 
33.10 ms