tx · B1Z39kB2bum2xZJ4eYEu7ptrhNLBovzm38Ls8v44aPLm

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01000000 Waves

2021.12.10 09:46 [1827793] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "B1Z39kB2bum2xZJ4eYEu7ptrhNLBovzm38Ls8v44aPLm", "fee": 1000000, "feeAssetId": null, "timestamp": 1639118824741, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "bcGALz14SCLGZQkifh2gEk61Hc8NWMGFyMoFVRcmhR4mXVrHtG7j5JSupfTseYAyqfy1R3iMEJNzQ8H1ttv8vqh" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgASBwoFCAEBAQESAwoBCBIDCgEIEgMKAQgAAAABAAAAAAVzZXBhcgIAAAABfAAAAAYAAAABaQEAAAAFcmVzZXQAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACmxhc3RnYW1laWQCAAAAATAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAPbGFzdGNoYWxsZW5nZWlkAgAAAAEwBQAAAANuaWwAAAABaQEAAAAIc2V0cnVsZXMAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABG1iZisCAAAACC0xLDF8MSwxCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABG1iZi0CAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAARtd2YrAgAAAAotMSwtMXwxLC0xCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABG13Zi0CAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAARld2YrAgAAAAotMiwtMnw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AAljaGFsbGVuZ2UJAAS1AAAAAgkBAAAADGdldGNoYWxsZW5nZQAAAAEFAAAADGNoYWxsZW5kZ2VpZAUAAAAFc2VwYXIDCQAAZgAAAAIJAAGQAAAAAQUAAAAJY2hhbGxlbmdlAAAAAAAAAAAAAwkAAAAAAAACCQABkQAAAAIFAAAACWNoYWxsZW5nZQAAAAAAAAAAAAIAAAAIYXdhaXRpbmcJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAApjaGFsbGVuZ2UtBQAAAAxjaGFsbGVuZGdlaWQJAAS5AAAAAgkABEwAAAACAgAAAAV1bnNldAkABEwAAAACCQABkQAAAAIFAAAACWNoYWxsZW5nZQAAAAAAAAAAAQkABEwAAAACCQABkQAAAAIFAAAACWNoYWxsZW5nZQAAAAAAAAAAAgkABEwAAAACCQABkQAAAAIFAAAACWNoYWxsZW5nZQAAAAAAAAAAAwUAAAADbmlsBQAAAAVzZXBhcgUAAAADbmlsCQAAAgAAAAECAAAAFGNoYWxsZW5nZSBub3QgZXhpc3RzCQAAAgAAAAECAAAAFGNoYWxsZW5nZSBub3QgZXhpc3RzAAAAALra+R8=", "height": 1827793, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BcFUd1DTjTuieRMEXndmxq9GEeNjJ98pfK4L8gJkC6rQ Next: 8Po4rDdVunXM2U9LgEephc4QP6CyoZ3ze5AQXyypHMs8 Diff:
OldNewDifferences
99
1010
1111 @Callable(b)
12-func setrules () = [StringEntry("mbf+", "-1,1|1,1"), StringEntry("mbf-", ""), StringEntry("mwf+", "-1,-1|1,-1"), StringEntry("mwf-", "")]
12+func setrules () = [StringEntry("mbf+", "-1,1|1,1"), StringEntry("mbf-", ""), StringEntry("mwf+", "-1,-1|1,-1"), StringEntry("mwf-", ""), StringEntry("ewf+", "-2,-2|2,-2"), StringEntry("ewf-", "")]
1313
1414
1515
7171 let s = if ((takeRight(r[e][d], 1) == "0"))
7272 then throw("empty cell")
7373 else takeRight(r[e][d], 1)
74- let t = if ((take(r[g][f], 1) == "0"))
75- then "m"
76- else if ((take(r[g][f], 1) == o))
77- then "e"
78- else throw("can not eat himself")
79- let u = ((toString((d - f)) + ",") + toString((e - g)))
80- let v = {
81- let i = getString((((t + n) + s) + "+"))
82- if ($isInstanceOf(i, "String"))
83- then {
84- let j = i
85- split(getStringValue((((t + n) + s) + "+")), "|")
74+ let t = if ((r[g][f] == "00"))
75+ then true
76+ else throw("cell not free")
77+ if ((t == t))
78+ then {
79+ let u = if (if ((((g - e) * (g - e)) == 1))
80+ then (s == "f")
81+ else false)
82+ then "m"
83+ else if ((take(r[g][f], 1) == o))
84+ then "e"
85+ else throw("can not eat himself")
86+ let v = ((toString((d - f)) + ",") + toString((e - g)))
87+ let w = {
88+ let i = getString((((u + n) + s) + "+"))
89+ if ($isInstanceOf(i, "String"))
90+ then {
91+ let j = i
92+ split(getStringValue((((u + n) + s) + "+")), "|")
93+ }
94+ else throw((((("no rules for " + u) + n) + s) + "+"))
8695 }
87- else throw((((("no rules for " + t) + n) + s) + "+"))
88- }
89- let w = {
90- let i = getString((((t + n) + s) + "-"))
91- if ($isInstanceOf(i, "String"))
92- then {
93- let j = i
94- split(getStringValue((((t + n) + s) + "-")), "|")
96+ let x = {
97+ let i = getString((((u + n) + s) + "-"))
98+ if ($isInstanceOf(i, "String"))
99+ then {
100+ let j = i
101+ split(getStringValue((((u + n) + s) + "-")), "|")
102+ }
103+ else throw((((("no rules for " + u) + n) + s) + "-"))
95104 }
96- else throw((((("no rules for " + t) + n) + s) + "-"))
97- }
98- let x = if (containsElement(v, u))
99- then true
100- else throw(((((("incorrect movement+: fig=" + s) + " side=") + n) + " mtype=") + t))
101- let y = if (containsElement(w, u))
102- then throw(((((((("incorrect (" + u) + ")movement-: fig=") + s) + " side=") + n) + " mtype=") + t))
103- else true
104- if (y)
105- then {
106- let z = h[8]
107- let A = ((take(z, ((d * 3) + ((e * 8) * 3))) + "00") + takeRight(z, ((191 - ((d * 3) + ((e * 8) * 3))) - 2)))
108- let B = (((take(A, ((f * 3) + ((g * 8) * 3))) + n) + s) + takeRight(A, ((191 - ((f * 3) + ((g * 8) * 3))) - 2)))
109- $Tuple2([StringEntry(("game-" + c), makeString([h[0], h[1], h[2], h[3], toString((parseIntValue(h[4]) + 1)), o, h[6], h[7], B], a))], [StringEntry("_", "possible")])
105+ let y = if (containsElement(w, v))
106+ then true
107+ else throw(((((("incorrect movement+: fig=" + s) + " side=") + n) + " mtype=") + u))
108+ let z = if (containsElement(x, v))
109+ then throw(((((((("incorrect (" + v) + ")movement-: fig=") + s) + " side=") + n) + " mtype=") + u))
110+ else true
111+ if (z)
112+ then {
113+ let A = h[8]
114+ let B = ((take(A, ((d * 3) + ((e * 8) * 3))) + "00") + takeRight(A, ((191 - ((d * 3) + ((e * 8) * 3))) - 2)))
115+ let C = (((take(B, ((f * 3) + ((g * 8) * 3))) + n) + s) + takeRight(B, ((191 - ((f * 3) + ((g * 8) * 3))) - 2)))
116+ $Tuple2([StringEntry(("game-" + c), makeString([h[0], h[1], h[2], h[3], toString((parseIntValue(h[4]) + 1)), o, h[6], h[7], C], a))], [StringEntry("_", "possible")])
117+ }
118+ else throw(((((("impossible movement: fig=" + s) + " side=") + n) + " mtype=") + u))
110119 }
111- else throw(((((("impossible movement: fig=" + s) + " side=") + n) + " mtype=") + t))
120+ else throw("Strict value is not equal to itself.")
112121 }
113122 else throw("Strict value is not equal to itself.")
114123 }
128137
129138
130139 @Callable(b)
131-func startgame (C) = {
132- let D = if ((size(b.payments) == 1))
140+func startgame (D) = {
141+ let E = if ((size(b.payments) == 1))
133142 then b.payments[0]
134143 else throw("must stake some waves")
135- if (isDefined(D.assetId))
144+ if (isDefined(E.assetId))
136145 then throw("works with waves only")
137146 else {
138147 let l = toBase58String(b.caller.bytes)
139- let E = split(getStringValue(("challenge-" + C)), a)
140- if ((size(E) > 0))
141- then if ((D.amount >= parseIntValue(E[3])))
142- then if ((E[0] == "awaiting"))
148+ let F = split(getStringValue(("challenge-" + D)), a)
149+ if ((size(F) > 0))
150+ then if ((E.amount >= parseIntValue(F[3])))
151+ then if ((F[0] == "awaiting"))
143152 then {
144- let F = if ((E[2] == "b"))
145- then E[1]
153+ let G = if ((F[2] == "b"))
154+ then F[1]
146155 else l
147- let G = if ((E[2] == "w"))
148- then E[1]
156+ let H = if ((F[2] == "w"))
157+ then F[1]
149158 else l
150159 let c = toString((parseIntValue(getStringValue("lastgameid")) + 1))
151-[StringEntry(("challenge-" + C), makeString([c, E[1], E[2], E[3], l], a)), {
160+[StringEntry(("challenge-" + D), makeString([c, F[1], F[2], F[3], l], a)), {
152161 let q = "wf-00-wf-00-wf-00-wf-00!00-wf-00-wf-00-wf-00-wf!wf-00-wf-00-wf-00-wf-00!00-00-00-00-00-00-00-00!00-00-00-00-00-00-00-00!00-bf-00-bf-00-bf-00-bf!bf-00-bf-00-bf-00-bf-00!00-bf-00-bf-00-bf-00-bf"
153- StringEntry(("game-" + c), makeString(["ongoing", G, F, E[3], "0", "w", "startblock", "laststepblock", q], a))
154- }, StringEntry("lastgameid", c), ScriptTransfer(b.caller, (D.amount - parseIntValue(E[3])), unit)]
162+ StringEntry(("game-" + c), makeString(["ongoing", H, G, F[3], "0", "w", "startblock", "laststepblock", q], a))
163+ }, StringEntry("lastgameid", c), ScriptTransfer(b.caller, (E.amount - parseIntValue(F[3])), unit)]
155164 }
156165 else throw("no challenge awaiting")
157166 else throw("need more money")
166175 then true
167176 else (n == "w"))
168177 then {
169- let D = if ((size(b.payments) == 1))
178+ let E = if ((size(b.payments) == 1))
170179 then b.payments[0]
171180 else throw("must stake some waves")
172- if (isDefined(D.assetId))
181+ if (isDefined(E.assetId))
173182 then throw("works with waves only")
174183 else {
175184 let l = toBase58String(b.caller.bytes)
176- let C = toString((parseIntValue(getStringValue("lastchallengeid")) + 1))
177-[StringEntry(("challenge-" + C), makeString(["awaiting", l, n, toString(D.amount)], a)), StringEntry("lastchallengeid", C)]
185+ let D = toString((parseIntValue(getStringValue("lastchallengeid")) + 1))
186+[StringEntry(("challenge-" + D), makeString(["awaiting", l, n, toString(E.amount)], a)), StringEntry("lastchallengeid", D)]
178187 }
179188 }
180189 else throw("invalid side")
182191
183192
184193 @Callable(b)
185-func unsetchallenge (H) = {
194+func unsetchallenge (I) = {
186195 let l = toBase58String(b.caller.bytes)
187- func I (H) = {
188- let i = getString(("challenge-" + H))
196+ func J (I) = {
197+ let i = getString(("challenge-" + I))
189198 if ($isInstanceOf(i, "String"))
190199 then {
191200 let j = i
192- getStringValue(("challenge-" + H))
201+ getStringValue(("challenge-" + I))
193202 }
194203 else ""
195204 }
196205
197- let J = split(I(H), a)
198- if ((size(J) > 0))
199- then if ((J[0] == "awaiting"))
200- then [StringEntry(("challenge-" + H), makeString(["unset", J[1], J[2], J[3]], a))]
206+ let K = split(J(I), a)
207+ if ((size(K) > 0))
208+ then if ((K[0] == "awaiting"))
209+ then [StringEntry(("challenge-" + I), makeString(["unset", K[1], K[2], K[3]], a))]
201210 else throw("challenge not exists")
202211 else throw("challenge not exists")
203212 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "|"
55
66 @Callable(b)
77 func reset () = [StringEntry("lastgameid", "0"), StringEntry("lastchallengeid", "0")]
88
99
1010
1111 @Callable(b)
12-func setrules () = [StringEntry("mbf+", "-1,1|1,1"), StringEntry("mbf-", ""), StringEntry("mwf+", "-1,-1|1,-1"), StringEntry("mwf-", "")]
12+func setrules () = [StringEntry("mbf+", "-1,1|1,1"), StringEntry("mbf-", ""), StringEntry("mwf+", "-1,-1|1,-1"), StringEntry("mwf-", ""), StringEntry("ewf+", "-2,-2|2,-2"), StringEntry("ewf-", "")]
1313
1414
1515
1616 @Callable(b)
1717 func move (c,d,e,f,g) = {
1818 let h = {
1919 let i = getString(("game-" + c))
2020 if ($isInstanceOf(i, "String"))
2121 then {
2222 let j = i
2323 split(getStringValue(("game-" + c)), a)
2424 }
2525 else throw("no game")
2626 }
2727 if ((h == h))
2828 then {
2929 let k = if (if (if (if ((d > -1))
3030 then (f > -1)
3131 else false)
3232 then (8 > e)
3333 else false)
3434 then (8 > g)
3535 else false)
3636 then true
3737 else throw("incorrect xy")
3838 if ((k == k))
3939 then {
4040 let l = toBase58String(b.caller.bytes)
4141 if ((l == l))
4242 then {
4343 let m = if ((h[0] == "ongoing"))
4444 then true
4545 else throw("not ongoing game")
4646 if ((m == m))
4747 then {
4848 let n = if (if (m)
4949 then if ((h[1] == l))
5050 then true
5151 else (h[2] == l)
5252 else false)
5353 then if ((h[1] == l))
5454 then "w"
5555 else "b"
5656 else throw("not gamer")
5757 if ((n == n))
5858 then {
5959 let o = if ((n == "w"))
6060 then "b"
6161 else "w"
6262 let p = if ((n == h[5]))
6363 then true
6464 else throw("not your turn")
6565 if ((p == p))
6666 then {
6767 let q = split(h[8], "!")
6868 let r = [split(q[0], "-"), split(q[1], "-"), split(q[2], "-"), split(q[3], "-"), split(q[4], "-"), split(q[5], "-"), split(q[6], "-"), split(q[7], "-")]
6969 if ((r == r))
7070 then {
7171 let s = if ((takeRight(r[e][d], 1) == "0"))
7272 then throw("empty cell")
7373 else takeRight(r[e][d], 1)
74- let t = if ((take(r[g][f], 1) == "0"))
75- then "m"
76- else if ((take(r[g][f], 1) == o))
77- then "e"
78- else throw("can not eat himself")
79- let u = ((toString((d - f)) + ",") + toString((e - g)))
80- let v = {
81- let i = getString((((t + n) + s) + "+"))
82- if ($isInstanceOf(i, "String"))
83- then {
84- let j = i
85- split(getStringValue((((t + n) + s) + "+")), "|")
74+ let t = if ((r[g][f] == "00"))
75+ then true
76+ else throw("cell not free")
77+ if ((t == t))
78+ then {
79+ let u = if (if ((((g - e) * (g - e)) == 1))
80+ then (s == "f")
81+ else false)
82+ then "m"
83+ else if ((take(r[g][f], 1) == o))
84+ then "e"
85+ else throw("can not eat himself")
86+ let v = ((toString((d - f)) + ",") + toString((e - g)))
87+ let w = {
88+ let i = getString((((u + n) + s) + "+"))
89+ if ($isInstanceOf(i, "String"))
90+ then {
91+ let j = i
92+ split(getStringValue((((u + n) + s) + "+")), "|")
93+ }
94+ else throw((((("no rules for " + u) + n) + s) + "+"))
8695 }
87- else throw((((("no rules for " + t) + n) + s) + "+"))
88- }
89- let w = {
90- let i = getString((((t + n) + s) + "-"))
91- if ($isInstanceOf(i, "String"))
92- then {
93- let j = i
94- split(getStringValue((((t + n) + s) + "-")), "|")
96+ let x = {
97+ let i = getString((((u + n) + s) + "-"))
98+ if ($isInstanceOf(i, "String"))
99+ then {
100+ let j = i
101+ split(getStringValue((((u + n) + s) + "-")), "|")
102+ }
103+ else throw((((("no rules for " + u) + n) + s) + "-"))
95104 }
96- else throw((((("no rules for " + t) + n) + s) + "-"))
97- }
98- let x = if (containsElement(v, u))
99- then true
100- else throw(((((("incorrect movement+: fig=" + s) + " side=") + n) + " mtype=") + t))
101- let y = if (containsElement(w, u))
102- then throw(((((((("incorrect (" + u) + ")movement-: fig=") + s) + " side=") + n) + " mtype=") + t))
103- else true
104- if (y)
105- then {
106- let z = h[8]
107- let A = ((take(z, ((d * 3) + ((e * 8) * 3))) + "00") + takeRight(z, ((191 - ((d * 3) + ((e * 8) * 3))) - 2)))
108- let B = (((take(A, ((f * 3) + ((g * 8) * 3))) + n) + s) + takeRight(A, ((191 - ((f * 3) + ((g * 8) * 3))) - 2)))
109- $Tuple2([StringEntry(("game-" + c), makeString([h[0], h[1], h[2], h[3], toString((parseIntValue(h[4]) + 1)), o, h[6], h[7], B], a))], [StringEntry("_", "possible")])
105+ let y = if (containsElement(w, v))
106+ then true
107+ else throw(((((("incorrect movement+: fig=" + s) + " side=") + n) + " mtype=") + u))
108+ let z = if (containsElement(x, v))
109+ then throw(((((((("incorrect (" + v) + ")movement-: fig=") + s) + " side=") + n) + " mtype=") + u))
110+ else true
111+ if (z)
112+ then {
113+ let A = h[8]
114+ let B = ((take(A, ((d * 3) + ((e * 8) * 3))) + "00") + takeRight(A, ((191 - ((d * 3) + ((e * 8) * 3))) - 2)))
115+ let C = (((take(B, ((f * 3) + ((g * 8) * 3))) + n) + s) + takeRight(B, ((191 - ((f * 3) + ((g * 8) * 3))) - 2)))
116+ $Tuple2([StringEntry(("game-" + c), makeString([h[0], h[1], h[2], h[3], toString((parseIntValue(h[4]) + 1)), o, h[6], h[7], C], a))], [StringEntry("_", "possible")])
117+ }
118+ else throw(((((("impossible movement: fig=" + s) + " side=") + n) + " mtype=") + u))
110119 }
111- else throw(((((("impossible movement: fig=" + s) + " side=") + n) + " mtype=") + t))
120+ else throw("Strict value is not equal to itself.")
112121 }
113122 else throw("Strict value is not equal to itself.")
114123 }
115124 else throw("Strict value is not equal to itself.")
116125 }
117126 else throw("Strict value is not equal to itself.")
118127 }
119128 else throw("Strict value is not equal to itself.")
120129 }
121130 else throw("Strict value is not equal to itself.")
122131 }
123132 else throw("Strict value is not equal to itself.")
124133 }
125134 else throw("Strict value is not equal to itself.")
126135 }
127136
128137
129138
130139 @Callable(b)
131-func startgame (C) = {
132- let D = if ((size(b.payments) == 1))
140+func startgame (D) = {
141+ let E = if ((size(b.payments) == 1))
133142 then b.payments[0]
134143 else throw("must stake some waves")
135- if (isDefined(D.assetId))
144+ if (isDefined(E.assetId))
136145 then throw("works with waves only")
137146 else {
138147 let l = toBase58String(b.caller.bytes)
139- let E = split(getStringValue(("challenge-" + C)), a)
140- if ((size(E) > 0))
141- then if ((D.amount >= parseIntValue(E[3])))
142- then if ((E[0] == "awaiting"))
148+ let F = split(getStringValue(("challenge-" + D)), a)
149+ if ((size(F) > 0))
150+ then if ((E.amount >= parseIntValue(F[3])))
151+ then if ((F[0] == "awaiting"))
143152 then {
144- let F = if ((E[2] == "b"))
145- then E[1]
153+ let G = if ((F[2] == "b"))
154+ then F[1]
146155 else l
147- let G = if ((E[2] == "w"))
148- then E[1]
156+ let H = if ((F[2] == "w"))
157+ then F[1]
149158 else l
150159 let c = toString((parseIntValue(getStringValue("lastgameid")) + 1))
151-[StringEntry(("challenge-" + C), makeString([c, E[1], E[2], E[3], l], a)), {
160+[StringEntry(("challenge-" + D), makeString([c, F[1], F[2], F[3], l], a)), {
152161 let q = "wf-00-wf-00-wf-00-wf-00!00-wf-00-wf-00-wf-00-wf!wf-00-wf-00-wf-00-wf-00!00-00-00-00-00-00-00-00!00-00-00-00-00-00-00-00!00-bf-00-bf-00-bf-00-bf!bf-00-bf-00-bf-00-bf-00!00-bf-00-bf-00-bf-00-bf"
153- StringEntry(("game-" + c), makeString(["ongoing", G, F, E[3], "0", "w", "startblock", "laststepblock", q], a))
154- }, StringEntry("lastgameid", c), ScriptTransfer(b.caller, (D.amount - parseIntValue(E[3])), unit)]
162+ StringEntry(("game-" + c), makeString(["ongoing", H, G, F[3], "0", "w", "startblock", "laststepblock", q], a))
163+ }, StringEntry("lastgameid", c), ScriptTransfer(b.caller, (E.amount - parseIntValue(F[3])), unit)]
155164 }
156165 else throw("no challenge awaiting")
157166 else throw("need more money")
158167 else throw("no challenge")
159168 }
160169 }
161170
162171
163172
164173 @Callable(b)
165174 func setchallenge (n) = if (if ((n == "b"))
166175 then true
167176 else (n == "w"))
168177 then {
169- let D = if ((size(b.payments) == 1))
178+ let E = if ((size(b.payments) == 1))
170179 then b.payments[0]
171180 else throw("must stake some waves")
172- if (isDefined(D.assetId))
181+ if (isDefined(E.assetId))
173182 then throw("works with waves only")
174183 else {
175184 let l = toBase58String(b.caller.bytes)
176- let C = toString((parseIntValue(getStringValue("lastchallengeid")) + 1))
177-[StringEntry(("challenge-" + C), makeString(["awaiting", l, n, toString(D.amount)], a)), StringEntry("lastchallengeid", C)]
185+ let D = toString((parseIntValue(getStringValue("lastchallengeid")) + 1))
186+[StringEntry(("challenge-" + D), makeString(["awaiting", l, n, toString(E.amount)], a)), StringEntry("lastchallengeid", D)]
178187 }
179188 }
180189 else throw("invalid side")
181190
182191
183192
184193 @Callable(b)
185-func unsetchallenge (H) = {
194+func unsetchallenge (I) = {
186195 let l = toBase58String(b.caller.bytes)
187- func I (H) = {
188- let i = getString(("challenge-" + H))
196+ func J (I) = {
197+ let i = getString(("challenge-" + I))
189198 if ($isInstanceOf(i, "String"))
190199 then {
191200 let j = i
192- getStringValue(("challenge-" + H))
201+ getStringValue(("challenge-" + I))
193202 }
194203 else ""
195204 }
196205
197- let J = split(I(H), a)
198- if ((size(J) > 0))
199- then if ((J[0] == "awaiting"))
200- then [StringEntry(("challenge-" + H), makeString(["unset", J[1], J[2], J[3]], a))]
206+ let K = split(J(I), a)
207+ if ((size(K) > 0))
208+ then if ((K[0] == "awaiting"))
209+ then [StringEntry(("challenge-" + I), makeString(["unset", K[1], K[2], K[3]], a))]
201210 else throw("challenge not exists")
202211 else throw("challenge not exists")
203212 }
204213
205214

github/deemru/w8io/169f3d6 
99.90 ms