tx · FAYupmaeWMfFJG7nJJyiYVAbkDpxmnKXbrtPbR7DG6nG

3N5q1m8whV3SztrPuN3z5sbKsEm3ZeSYF2T:  -0.01600000 Waves

2024.06.07 14:45 [3140236] smart account 3N5q1m8whV3SztrPuN3z5sbKsEm3ZeSYF2T > SELF 0.00000000 Waves

{ "type": 13, "id": "FAYupmaeWMfFJG7nJJyiYVAbkDpxmnKXbrtPbR7DG6nG", "fee": 1600000, "feeAssetId": null, "timestamp": 1717760736516, "version": 2, "chainId": 84, "sender": "3N5q1m8whV3SztrPuN3z5sbKsEm3ZeSYF2T", "senderPublicKey": "BNpSmh5j4pzfsxKnEskdG2d4wxQZgbJwnFb5hC7NgrsA", "proofs": [ "3wbM39iivnWaQ1FC1mG3jvMQtP8stKmExe97PAXoxZsi8Vyv62xgT3exb1MtjpbHVuMo56wzWvcWwpnbkfMZTwwk" ], "script": "base64:AAIFAAAAAAAAADwIAhIDCgEIEgQKAggEEgcKBQgICAgIEgASBAoCCAESBAoCCAESBAoCCAESBAoCCAESCgoICAEBAQEBCAEAAAAZAAAAAAhhZG1pbm1zZwIAAAApRXJyb3I6IE9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbiEAAAAADmludmFsaWRBZGRyZXNzAgAAABdFcnJvcjogQWRkcmVzcyBpbnZhbGlkIQAAAAAPaW52YWxpZFRva2VuTXNnAgAAABVFcnJvcjogSW52YWxpZCBBc3NldCEAAAAADW1hdGNoTXNnRXJyb3ICAAAAakVycm9yOiBZb3UgYXJlIGFscmVhZHkgcGFydGljaXBhdGluZyBpbiBhIHJvb20uIFRyeSB0byBlbmQgaXQgb3IgbGVhdmUgdGhlIHJvb20gYnkgYWNjZXNzaW5nICdJbiBQcm9ncmVzcycAAAAACWJhbm5lZG1zZwIAAAA0RXJyb3I6IHRoZSB1c2VyIGhhcyBiZWVuIGJhbm5lZCBieSBhbiBhZG1pbmlzdHJhdG9yLgAAAAAGT3JhY2xlAgAAACMzTXh1ZFhO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AAABXwkBAAAACXRva2VuUm9vbQAAAAIFAAAAC2FkZHJlc3NSb29tBQAAAApoZWlnaHRSb29tCQAAZQAAAAIJAQAAAA9nZXRCYWxhbmNlVG9rZW4AAAACBQAAAAhhZGRyZXNzMgkBAAAACXRva2VuUm9vbQAAAAIFAAAAC2FkZHJlc3NSb29tBQAAAApoZWlnaHRSb29tBQAAAA1hZGRyZXNzMlZhbHVlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAIYWRkcmVzczMCAAAAAV8JAQAAAAl0b2tlblJvb20AAAACBQAAAAthZGRyZXNzUm9vbQUAAAAKaGVpZ2h0Um9vbQkAAGUAAAACCQEAAAAPZ2V0QmFsYW5jZVRva2VuAAAAAgUAAAAIYWRkcmVzczMJAQAAAAl0b2tlblJvb20AAAACBQAAAAthZGRyZXNzUm9vbQUAAAAKaGVpZ2h0Um9vbQUAAAANYWRkcmVzczNWYWx1ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAACGFkZHJlc3M0AgAAAAFfCQEAAAAJdG9rZW5Sb29tAAAAAgUAAAALYWRkcmVzc1Jvb20FAAAACmhlaWdodFJvb20JAABlAAAAAgkBAAAAD2dldEJhbGFuY2VUb2tlbgAAAAIFAAAACGFkZHJlc3M0CQEAAAAJdG9rZW5Sb29tAAAAAgUAAAALYWRkcmVzc1Jvb20FAAAACmhlaWdodFJvb20FAAAADWFkZHJlc3M0VmFsdWUFAAAAA25pbAkAAAIAAAABBQAAAAhhZG1pbm1zZwAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5O+9UmQ==", "height": 3140236, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DBHNdfuBXN9ekfFvyoKMKJisbZTiRMWAptjRp1aeq2V6 Next: DyyHzqa7WP8eUwpWTuWiH6taVB2WZVjoyfPwUjHKCqfU Diff:
OldNewDifferences
8686 func G (t) = {
8787 let F = toBase58String(t)
8888 if (isDefined(getBoolean((F + "_isMatch"))))
89- then true
89+ then getBooleanValue((F + "_isMatch"))
9090 else false
9191 }
9292
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "Error: Only admin can call this function!"
55
66 let b = "Error: Address invalid!"
77
88 let c = "Error: Invalid Asset!"
99
1010 let d = "Error: You are already participating in a room. Try to end it or leave the room by accessing 'In Progress'"
1111
1212 let e = "Error: the user has been banned by an administrator."
1313
1414 let f = "3MxudXNtrPExNtG9MsGV6e1kizuybgpiVq2"
1515
1616 let g = "Error: You already have a previously created room. Go to 'In Progress' and close your room to create a new game."
1717
1818 let h = "Error: You have no amount deposited as a chip in the poker module."
1919
2020 let i = "Error: Amount you want to withdraw greater than the amount available for withdrawal."
2121
2222 let j = "Error:The room you want to join no longer exists."
2323
2424 let k = "Error: You have not been invited to join this room."
2525
2626 let l = "Error: You are the creator of the room."
2727
2828 let m = "Error: Only the room creator can close the room."
2929
3030 func n (o) = (("Error: You do not have enough chips in the poker module for asset " + o) + ". Go to 'Select Token', select the token you are using and click 'Deposit'.")
3131
3232
3333 func p (q) = if ((q == "WAVES"))
3434 then true
3535 else isDefined(getBoolean(Address(fromBase58String(f)), q))
3636
3737
3838 func r (q) = if ((q == "WAVES"))
3939 then unit
4040 else fromBase58String(q)
4141
4242
4343 func s (t) = (addressFromString(t) != unit)
4444
4545
4646 func u (t,v,w) = {
4747 let x = getStringValue(((("address1_" + v) + "_") + toString(w)))
4848 let y = getStringValue(((("address2_" + v) + "_") + toString(w)))
4949 let z = getStringValue(((("address3_" + v) + "_") + toString(w)))
5050 let A = getStringValue(((("address4_" + v) + "_") + toString(w)))
5151 if (if (if ((t == x))
5252 then true
5353 else (t == y))
5454 then true
5555 else (t == z))
5656 then true
5757 else (t == A)
5858 }
5959
6060
6161 func B (t,q) = if (isDefined(getInteger(((t + "_") + q))))
6262 then getIntegerValue(((t + "_") + q))
6363 else 0
6464
6565
6666 func C (t,w) = getStringValue((((t + "_height_") + toString(w)) + "_token"))
6767
6868
6969 func D (t,q) = (B(t, q) > 0)
7070
7171
7272 func E (t) = {
7373 let F = toBase58String(t)
7474 if (isDefined(getString("admin")))
7575 then if (if ((F == getStringValue("admin")))
7676 then true
7777 else (F == toBase58String(this.bytes)))
7878 then true
7979 else false
8080 else if ((F == toBase58String(this.bytes)))
8181 then true
8282 else false
8383 }
8484
8585
8686 func G (t) = {
8787 let F = toBase58String(t)
8888 if (isDefined(getBoolean((F + "_isMatch"))))
89- then true
89+ then getBooleanValue((F + "_isMatch"))
9090 else false
9191 }
9292
9393
9494 func H (t) = if (isDefined(getBoolean((t + "_banned"))))
9595 then getBooleanValue((t + "_banned"))
9696 else false
9797
9898
9999 func I (t) = isDefined(getBoolean(t))
100100
101101
102102 @Callable(J)
103103 func addAdmin (t) = if (E(J.caller.bytes))
104104 then if (s(t))
105105 then [StringEntry("admin", t)]
106106 else throw(b)
107107 else throw(a)
108108
109109
110110
111111 @Callable(J)
112112 func ban (t,H) = if (E(J.caller.bytes))
113113 then if (s(t))
114114 then [BooleanEntry((t + "_banned"), H)]
115115 else throw(b)
116116 else throw(a)
117117
118118
119119
120120 @Callable(J)
121121 func new (o,x,y,z,A) = {
122122 let K = toBase58String(J.caller.bytes)
123123 if (H(K))
124124 then throw(e)
125125 else if (!(p(o)))
126126 then throw(c)
127127 else if (G(J.caller.bytes))
128128 then throw(d)
129129 else if (!(D(K, o)))
130130 then throw(n(o))
131131 else if (I(K))
132132 then throw(g)
133133 else if (if (if (if (if ((x != ""))
134134 then s(x)
135135 else false)
136136 then true
137137 else if ((y != ""))
138138 then s(y)
139139 else false)
140140 then true
141141 else if ((z != ""))
142142 then s(z)
143143 else false)
144144 then true
145145 else if ((A != ""))
146146 then s(A)
147147 else false)
148148 then [BooleanEntry(((K + "_height_") + toString(height)), true), IntegerEntry((K + "_height_latest"), height), StringEntry(((("address1_" + K) + "_") + toString(height)), x), StringEntry(((("address2_" + K) + "_") + toString(height)), y), StringEntry(((("address3_" + K) + "_") + toString(height)), z), StringEntry(((("address4_" + K) + "_") + toString(height)), A), StringEntry((((K + "_height_") + toString(height)) + "_token"), o), BooleanEntry((K + "_isMatch"), true), BooleanEntry(K, true)]
149149 else throw(b)
150150 }
151151
152152
153153
154154 @Callable(J)
155155 func Deposit () = {
156156 let L = {
157157 let M = J.payments[0].assetId
158158 if ($isInstanceOf(M, "ByteVector"))
159159 then {
160160 let N = M
161161 toBase58String(N)
162162 }
163163 else "WAVES"
164164 }
165165 let K = toBase58String(J.caller.bytes)
166166 if (H(K))
167167 then throw(e)
168168 else if (!(p(L)))
169169 then throw(c)
170170 else if (G(J.caller.bytes))
171171 then throw(d)
172172 else [IntegerEntry(((K + "_") + L), (J.payments[0].amount + B(K, L)))]
173173 }
174174
175175
176176
177177 @Callable(J)
178178 func Withdraw (L,O) = {
179179 let K = toBase58String(J.caller.bytes)
180180 if (H(K))
181181 then throw(e)
182182 else if (!(p(L)))
183183 then throw(c)
184184 else if (G(J.caller.bytes))
185185 then throw(d)
186186 else if ((B(K, L) == 0))
187187 then throw(h)
188188 else if ((O > B(K, L)))
189189 then throw(i)
190190 else [ScriptTransfer(J.caller, O, r(L)), IntegerEntry(((K + "_") + L), (B(K, L) - O))]
191191 }
192192
193193
194194
195195 @Callable(J)
196196 func join (t,w) = {
197197 let K = toBase58String(J.caller.bytes)
198198 if (H(K))
199199 then throw(e)
200200 else if (G(J.caller.bytes))
201201 then throw(d)
202202 else if (!(I(t)))
203203 then throw(j)
204204 else if (!(D(K, C(t, w))))
205205 then throw(n(C(t, w)))
206206 else if (!(u(K, t, w)))
207207 then throw(k)
208208 else [BooleanEntry((K + "_isMatch"), true), StringEntry((K + "_matchIn"), t), IntegerEntry((K + "_match_height"), w)]
209209 }
210210
211211
212212
213213 @Callable(J)
214214 func leaveRoom (t,w) = {
215215 let K = toBase58String(J.caller.bytes)
216216 if (!(I(t)))
217217 then throw(j)
218218 else if (!(u(K, t, w)))
219219 then throw(k)
220220 else if ((t == toBase58String(J.caller.bytes)))
221221 then throw(l)
222222 else [DeleteEntry((K + "_isMatch")), DeleteEntry((K + "_matchIn")), DeleteEntry((K + "_match_height"))]
223223 }
224224
225225
226226
227227 @Callable(J)
228228 func CloseRoom (t,w) = {
229229 let K = toBase58String(J.caller.bytes)
230230 if (!(I(t)))
231231 then throw(j)
232232 else if ((t == toBase58String(J.caller.bytes)))
233233 then [DeleteEntry((K + "_isMatch")), DeleteEntry((K + "_matchIn")), DeleteEntry((K + "_match_height")), BooleanEntry(((K + "_height_") + toString(height)), false), BooleanEntry((K + "_isMatch"), false), BooleanEntry(K, false)]
234234 else throw(m)
235235 }
236236
237237
238238
239239 @Callable(J)
240240 func setWinner (P,Q,R,S,T,U,V,w) = if (E(J.caller.bytes))
241241 then {
242242 let W = (((Q + R) + S) + T)
243243 let x = getStringValue(((("address1_" + V) + "_") + toString(w)))
244244 let y = getStringValue(((("address2_" + V) + "_") + toString(w)))
245245 let z = getStringValue(((("address3_" + V) + "_") + toString(w)))
246246 let A = getStringValue(((("address4_" + V) + "_") + toString(w)))
247247 [ScriptTransfer(Address(fromBase58String(getStringValue("admin"))), ((W * 4) / 100), r(C(V, w))), StringEntry((((V + "_height_") + toString(height)) + "_winner"), P), BooleanEntry(((V + "_height_") + toString(height)), false), BooleanEntry((V + "_isMatch"), false), BooleanEntry(V, false), DeleteEntry((V + "_isMatch")), DeleteEntry((V + "_matchIn")), DeleteEntry((V + "_match_height")), IntegerEntry(((P + "_") + C(V, w)), (B(P, C(V, w)) + (W - ((W * 4) / 100)))), IntegerEntry(((V + "_") + C(V, w)), (B(V, C(V, w)) - U)), IntegerEntry(((x + "_") + C(V, w)), (B(x, C(V, w)) - Q)), IntegerEntry(((y + "_") + C(V, w)), (B(y, C(V, w)) - R)), IntegerEntry(((z + "_") + C(V, w)), (B(z, C(V, w)) - S)), IntegerEntry(((A + "_") + C(V, w)), (B(A, C(V, w)) - T))]
248248 }
249249 else throw(a)
250250
251251
252252 @Verifier(X)
253253 func Y () = sigVerify(X.bodyBytes, X.proofs[0], X.senderPublicKey)
254254

github/deemru/w8io/026f985 
53.17 ms