tx · 2p5LFMJMrrJbv7KdkJigWze5RLTd5q7mu9QvcKXCu1c2 3MtKnDmJju2Y4dp9A2ACPr11jDZiW6gmKKK: -0.05000000 Waves 2022.01.26 21:37 [1896270] smart account 3MtKnDmJju2Y4dp9A2ACPr11jDZiW6gmKKK > SELF 0.00000000 Waves
{ "type": 13, "id": "2p5LFMJMrrJbv7KdkJigWze5RLTd5q7mu9QvcKXCu1c2", "fee": 5000000, "feeAssetId": null, "timestamp": 1643222254722, "version": 2, "chainId": 84, "sender": "3MtKnDmJju2Y4dp9A2ACPr11jDZiW6gmKKK", "senderPublicKey": "3itc77jAZTQAcaPCyYEe4KD7h18CvqZZ2JRynZHsuJ61", "proofs": [ "5eAeNRnp42o11GpGQyyQn5orFfqHBjJ6qa1CzhfmUZ2zdox51vU9wUgdHfHPcX3Df3QqwD2s6RSuXw7dRT4HqjSM" ], "script": "base64:AAIFAAAAAAAAACkIAhIFCgMICAgSABIAEgMKAQgSBAoCCAESBAoCCAgSBAoCCAESAwoBCAAAABEAAAAADGFkbWluQWRkcmVzcwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAVhZG1pbgIAAAAAAAAAABBpbnNwZWN0b3JBZGRyZXNzCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAJaW5zcGVjdG9yAgAAABpObyBrZXkgaW5zcGVjdG9yIHdhcyBmb3VuZAAAAAALdG90YWxTdXBwbHkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwIAAAALdG90YWxTdXBwbHkAAAAAAAAAAAAAAAAADnZvdGluZ0R1cmF0aW9uCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwIAAAAOdm90aW5nRHVyYXRpb24CAAAAH05vIGtleSB2b3RpbmdEdXJhdGlvbiB3YXMgZm91bmQAAAAACGN0b2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kABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANrZXkFAAAAA25pbAkAAAIAAAABAgAAACpBZGRyZXNzIGRvZXMgbm90IG1hdGNoIHdpdGggYWRtaW4gYWRkcmVzcyEAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRjPLno=", "height": 1896270, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A19ZfUqVp2FMjodY2z8bc1gM7nyFED5Fe1M9q2W4DuUy Next: 6U7DhW64Ve5mRw8GKbKpD4dBTEfq3DkqRpTUxhJhyhSg Diff:
Old | New | Differences | |
---|---|---|---|
365 | 365 | let bb = ((h + "_") + toString(aK)) | |
366 | 366 | let as = [bb] | |
367 | 367 | let bd = parseIntValue(ar(as)) | |
368 | - | let bf = Y(bd, -1, ab, | |
368 | + | let bf = Y(bd, -1, ab, aX) | |
369 | 369 | [l((ab + "_board"), bf), i((ab + "_storedHeight"), (height + d)), l((ab + "_status"), ((("round_" + toString((aM + 1))) + ",turn_") + aX)), l(((ab + "_voting_") + toString((aM + 1))), bb), i((ab + "_mostVoted"), bd)] | |
370 | 370 | } | |
371 | 371 | else throw((("Caller is not in " + aX) + "!")) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = valueOrElse(getString(this, "admin"), "") | |
5 | 5 | ||
6 | 6 | let b = valueOrErrorMessage(getString(this, "inspector"), "No key inspector was found") | |
7 | 7 | ||
8 | 8 | let c = valueOrElse(getInteger(this, "totalSupply"), 0) | |
9 | 9 | ||
10 | 10 | let d = valueOrErrorMessage(getInteger(this, "votingDuration"), "No key votingDuration was found") | |
11 | 11 | ||
12 | 12 | let e = valueOrErrorMessage(getString(this, "tokenId"), "No key cTokenId was found") | |
13 | 13 | ||
14 | 14 | let f = valueOrErrorMessage(getInteger(this, "playersPerTeam"), "No key playersPerTeam was found") | |
15 | 15 | ||
16 | 16 | func g (h) = if ((h == fromBase58String(a))) | |
17 | 17 | then true | |
18 | 18 | else false | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i (j,k) = IntegerEntry(j, k) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func l (j,m) = StringEntry(j, m) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func n (o,p) = { | |
28 | 28 | func q (r,s) = { | |
29 | 29 | func t (u,v) = if ((s == v)) | |
30 | 30 | then (u + 1) | |
31 | 31 | else u | |
32 | 32 | ||
33 | 33 | (r :+ { | |
34 | 34 | let w = p | |
35 | 35 | let x = size(w) | |
36 | 36 | let y = 0 | |
37 | 37 | func z (A,B) = if ((B >= x)) | |
38 | 38 | then A | |
39 | 39 | else t(A, w[B]) | |
40 | 40 | ||
41 | 41 | func C (A,B) = if ((B >= x)) | |
42 | 42 | then A | |
43 | 43 | else throw("List size exceeds 5") | |
44 | 44 | ||
45 | 45 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
46 | 46 | }) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | let w = o | |
50 | 50 | let x = size(w) | |
51 | 51 | let y = nil | |
52 | 52 | func z (A,B) = if ((B >= x)) | |
53 | 53 | then A | |
54 | 54 | else q(A, w[B]) | |
55 | 55 | ||
56 | 56 | func C (A,B) = if ((B >= x)) | |
57 | 57 | then A | |
58 | 58 | else throw("List size exceeds 5") | |
59 | 59 | ||
60 | 60 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func D (E) = { | |
65 | 65 | func F (r,s) = if ((containsElement(r, s) == false)) | |
66 | 66 | then (r :+ s) | |
67 | 67 | else r | |
68 | 68 | ||
69 | 69 | let w = E | |
70 | 70 | let x = size(w) | |
71 | 71 | let y = nil | |
72 | 72 | func z (A,B) = if ((B >= x)) | |
73 | 73 | then A | |
74 | 74 | else F(A, w[B]) | |
75 | 75 | ||
76 | 76 | func C (A,B) = if ((B >= x)) | |
77 | 77 | then A | |
78 | 78 | else throw("List size exceeds 5") | |
79 | 79 | ||
80 | 80 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func G (H,I) = { | |
85 | 85 | let J = (size(I) - 1) | |
86 | 86 | let K = I[J] | |
87 | 87 | if ((H > K)) | |
88 | 88 | then true | |
89 | 89 | else false | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func L (o,M) = { | |
94 | 94 | func N (O,P) = if ((size(O) == 0)) | |
95 | 95 | then (O :+ P) | |
96 | 96 | else if (G(P, O)) | |
97 | 97 | then (O :+ P) | |
98 | 98 | else O | |
99 | 99 | ||
100 | 100 | let Q = { | |
101 | 101 | let w = M | |
102 | 102 | let x = size(w) | |
103 | 103 | let y = nil | |
104 | 104 | func z (A,B) = if ((B >= x)) | |
105 | 105 | then A | |
106 | 106 | else N(A, w[B]) | |
107 | 107 | ||
108 | 108 | func C (A,B) = if ((B >= x)) | |
109 | 109 | then A | |
110 | 110 | else throw("List size exceeds 5") | |
111 | 111 | ||
112 | 112 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
113 | 113 | } | |
114 | 114 | let R = (size(Q) - 1) | |
115 | 115 | let S = Q[R] | |
116 | 116 | let T = indexOf(M, S) | |
117 | 117 | let U = T | |
118 | 118 | if ($isInstanceOf(U, "Int")) | |
119 | 119 | then { | |
120 | 120 | let V = U | |
121 | 121 | o[V] | |
122 | 122 | } | |
123 | 123 | else throw("Type does not match! Function: findHighestVote") | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func W (X) = makeString(X, ",") | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func Y (Z,aa,ab,ac) = { | |
131 | 131 | let ad = getStringValue((ab + "_board")) | |
132 | 132 | let ae = split(ad, ",") | |
133 | 133 | let af = if ((ac == "teamBlue")) | |
134 | 134 | then "B" | |
135 | 135 | else "Y" | |
136 | 136 | func ag (r,ah) = { | |
137 | 137 | let ai = r | |
138 | 138 | let aj = ai._1 | |
139 | 139 | let ak = ai._2 | |
140 | 140 | if ((ak == aa)) | |
141 | 141 | then $Tuple2((aj :+ "0"), (ak + 1)) | |
142 | 142 | else $Tuple2((aj :+ ah), (ak + 1)) | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | func al (r,ah) = { | |
146 | 146 | let am = r | |
147 | 147 | let aj = am._1 | |
148 | 148 | let ak = am._2 | |
149 | 149 | if ((ak == Z)) | |
150 | 150 | then $Tuple2((aj :+ af), (ak + 1)) | |
151 | 151 | else $Tuple2((aj :+ ah), (ak + 1)) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | let an = { | |
155 | 155 | let w = ae | |
156 | 156 | let x = size(w) | |
157 | 157 | let y = $Tuple2(nil, 0) | |
158 | 158 | func z (A,B) = if ((B >= x)) | |
159 | 159 | then A | |
160 | 160 | else ag(A, w[B]) | |
161 | 161 | ||
162 | 162 | func C (A,B) = if ((B >= x)) | |
163 | 163 | then A | |
164 | 164 | else throw("List size exceeds 42") | |
165 | 165 | ||
166 | 166 | C(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(y, 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) | |
167 | 167 | } | |
168 | 168 | let ao = { | |
169 | 169 | let w = an._1 | |
170 | 170 | let x = size(w) | |
171 | 171 | let y = $Tuple2(nil, 0) | |
172 | 172 | func ap (A,B) = if ((B >= x)) | |
173 | 173 | then A | |
174 | 174 | else al(A, w[B]) | |
175 | 175 | ||
176 | 176 | func aq (A,B) = if ((B >= x)) | |
177 | 177 | then A | |
178 | 178 | else throw("List size exceeds 42") | |
179 | 179 | ||
180 | 180 | aq(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(y, 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) | |
181 | 181 | } | |
182 | 182 | W(ao._1) | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ar (as) = { | |
187 | 187 | func at (r,ah) = (r :+ split(ah, "_")[1]) | |
188 | 188 | ||
189 | 189 | let au = { | |
190 | 190 | let w = as | |
191 | 191 | let x = size(w) | |
192 | 192 | let y = nil | |
193 | 193 | func z (A,B) = if ((B >= x)) | |
194 | 194 | then A | |
195 | 195 | else at(A, w[B]) | |
196 | 196 | ||
197 | 197 | func C (A,B) = if ((B >= x)) | |
198 | 198 | then A | |
199 | 199 | else throw("List size exceeds 5") | |
200 | 200 | ||
201 | 201 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
202 | 202 | } | |
203 | 203 | let o = D(au) | |
204 | 204 | let M = n(o, au) | |
205 | 205 | L(o, M) | |
206 | 206 | } | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func av (ac,aw) = if (!(containsElement(ac, aw))) | |
210 | 210 | then true | |
211 | 211 | else false | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | @Callable(ax) | |
215 | 215 | func setup (b,ay,az) = if (!(isDefined(getString(this, "admin")))) | |
216 | 216 | then { | |
217 | 217 | let aA = Issue(ay, az, 0, 8, true) | |
218 | 218 | let aB = calculateAssetId(aA) | |
219 | 219 | [aA, l("admin", toBase58String(ax.caller.bytes)), l("inspector", b), i("votingDuration", 2), i("totalSupply", 0), l("tokenName", ay), l("tokenId", toBase58String(aB)), i("tokenDecimals", 8)] | |
220 | 220 | } | |
221 | 221 | else throw("DApp already setup!") | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | ||
225 | 225 | @Callable(ax) | |
226 | 226 | func buyRound () = if ((size(ax.payments) > 0)) | |
227 | 227 | then { | |
228 | 228 | let aC = ax.payments[0].amount | |
229 | 229 | if ((aC >= 1)) | |
230 | 230 | then { | |
231 | 231 | let aD = fraction(aC, 42, 1) | |
232 | 232 | let aE = (c + aD) | |
233 | 233 | [i("totalSupply", aE), Reissue(fromBase58String(e), aD, true), ScriptTransfer(ax.caller, aD, fromBase58String(e))] | |
234 | 234 | } | |
235 | 235 | else throw("Payment is to small!") | |
236 | 236 | } | |
237 | 237 | else throw("No payment attached!") | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(ax) | |
242 | 242 | func createGame () = { | |
243 | 243 | let X = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" | |
244 | 244 | let ab = toBase58String(ax.transactionId) | |
245 | 245 | [l((ab + "_board"), X), l((ab + "_status"), "waiting for players"), l((ab + "_teamBlue"), toString(ax.caller)), l((ab + "_teamYellow"), "")] | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(ax) | |
251 | 251 | func joinGame (ab) = { | |
252 | 252 | let aF = toBase58String(ax.caller.bytes) | |
253 | 253 | let aG = getStringValue((ab + "_teamBlue")) | |
254 | 254 | let aH = getStringValue((ab + "_teamYellow")) | |
255 | 255 | let aI = split(aG, ",") | |
256 | 256 | let aJ = if ((size(aH) > 0)) | |
257 | 257 | then split(aH, ",") | |
258 | 258 | else nil | |
259 | 259 | if (if (av(aI, aF)) | |
260 | 260 | then av(aJ, aF) | |
261 | 261 | else false) | |
262 | 262 | then if ((f > size(aI))) | |
263 | 263 | then [l((ab + "_teamBlue"), ((aG + ",") + aF))] | |
264 | 264 | else if ((size(aJ) == (f - 1))) | |
265 | 265 | then [l((ab + "_status"), "round_1,turn_teamBlue"), l((ab + "_voting_1"), ""), l((ab + "_winner"), ""), i((ab + "_mostVoted"), -1), i((ab + "_storedHeight"), (height + d)), l((ab + "_teamYellow"), ((aH + ",") + aF))] | |
266 | 266 | else if ((size(aJ) == 0)) | |
267 | 267 | then [l((ab + "_teamYellow"), aF)] | |
268 | 268 | else if (((f - 1) > size(aJ))) | |
269 | 269 | then [l((ab + "_teamYellow"), ((aH + ",") + aF))] | |
270 | 270 | else throw("Teams are full, cannot join.") | |
271 | 271 | else throw("Player already in a Team!") | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | ||
276 | 276 | @Callable(ax) | |
277 | 277 | func vote (ab,aK) = { | |
278 | 278 | let aL = valueOrErrorMessage(getStringValue((ab + "_status")), "No status entry found under gameId!") | |
279 | 279 | let aM = parseIntValue(drop(split(aL, ",")[0], 6)) | |
280 | 280 | let aN = drop(split(aL, ",")[1], 5) | |
281 | 281 | let aO = valueOrErrorMessage(getInteger((ab + "_storedHeight")), (("No status entry found under " + ab) + "_storedHeight!")) | |
282 | 282 | let aP = valueOrErrorMessage(getIntegerValue((ab + "_mostVoted")), (("No status entry found under " + ab) + "_mostVoted!")) | |
283 | 283 | let aQ = valueOrErrorMessage(getStringValue(((ab + "_voting_") + toString(aM))), "No votes found for this game id!") | |
284 | 284 | let aR = if ((size(aQ) > 0)) | |
285 | 285 | then split(aQ, ",") | |
286 | 286 | else nil | |
287 | 287 | let aS = if ((aN == "teamBlue")) | |
288 | 288 | then { | |
289 | 289 | let aT = getStringValue((ab + "_teamBlue")) | |
290 | 290 | let aU = split(aT, ",") | |
291 | 291 | aU | |
292 | 292 | } | |
293 | 293 | else { | |
294 | 294 | let aV = getStringValue((ab + "_teamYellow")) | |
295 | 295 | let aW = split(aV, ",") | |
296 | 296 | aW | |
297 | 297 | } | |
298 | 298 | let aX = if ((aN == "teamBlue")) | |
299 | 299 | then "teamYellow" | |
300 | 300 | else "teamBlue" | |
301 | 301 | let aY = if ((aX == "teamBlue")) | |
302 | 302 | then { | |
303 | 303 | let aT = getStringValue((ab + "_teamBlue")) | |
304 | 304 | let aU = split(aT, ",") | |
305 | 305 | aU | |
306 | 306 | } | |
307 | 307 | else { | |
308 | 308 | let aV = getStringValue((ab + "_teamYellow")) | |
309 | 309 | let aW = split(aV, ",") | |
310 | 310 | aW | |
311 | 311 | } | |
312 | 312 | let h = toBase58String(ax.caller.bytes) | |
313 | 313 | if ((size(ax.payments) > 0)) | |
314 | 314 | then if ((fromBase58String(e) == ax.payments[0].assetId)) | |
315 | 315 | then if ((ax.payments[0].amount == 100000000)) | |
316 | 316 | then if ((aO >= height)) | |
317 | 317 | then if (containsElement(aS, h)) | |
318 | 318 | then { | |
319 | 319 | func aZ (r,ah) = (r :+ split(ah, "_")[0]) | |
320 | 320 | ||
321 | 321 | let ba = { | |
322 | 322 | let w = aR | |
323 | 323 | let x = size(w) | |
324 | 324 | let y = nil | |
325 | 325 | func z (A,B) = if ((B >= x)) | |
326 | 326 | then A | |
327 | 327 | else aZ(A, w[B]) | |
328 | 328 | ||
329 | 329 | func C (A,B) = if ((B >= x)) | |
330 | 330 | then A | |
331 | 331 | else throw("List size exceeds 5") | |
332 | 332 | ||
333 | 333 | C(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5) | |
334 | 334 | } | |
335 | 335 | if ((containsElement(ba, h) == false)) | |
336 | 336 | then { | |
337 | 337 | let bb = ((h + "_") + toString(aK)) | |
338 | 338 | let as = (aR :+ bb) | |
339 | 339 | let bc = makeString(as, ",") | |
340 | 340 | let bd = parseIntValue(ar(as)) | |
341 | 341 | let be = if ((bd != aP)) | |
342 | 342 | then bd | |
343 | 343 | else aP | |
344 | 344 | let bf = Y(be, aP, ab, aN) | |
345 | 345 | let bg = invoke(addressFromStringValue(b), "checkForWin", [bf], nil) | |
346 | 346 | if ((bg == bg)) | |
347 | 347 | then { | |
348 | 348 | let U = bg | |
349 | 349 | if ($isInstanceOf(U, "String")) | |
350 | 350 | then { | |
351 | 351 | let V = U | |
352 | 352 | if ((f > size(as))) | |
353 | 353 | then [l(((ab + "_voting_") + toString(aM)), bc), l((ab + "_board"), bf), l((ab + "_winner"), V), i((ab + "_mostVoted"), be)] | |
354 | 354 | else [l(((ab + "_voting_") + toString(aM)), bc), l((ab + "_board"), bf), l((ab + "_winner"), V), i((ab + "_mostVoted"), -1), i((ab + "_storedHeight"), (height + d)), l((ab + "_status"), ((("round_" + toString((aM + 1))) + ",turn_") + aX)), l(((ab + "_voting_") + toString((aM + 1))), "")] | |
355 | 355 | } | |
356 | 356 | else throw("Invokation result type is not a String!") | |
357 | 357 | } | |
358 | 358 | else throw("Strict value is not equal to itself.") | |
359 | 359 | } | |
360 | 360 | else throw("Caller already voted!") | |
361 | 361 | } | |
362 | 362 | else throw((("Caller is not in " + aN) + "!")) | |
363 | 363 | else if (containsElement(aY, h)) | |
364 | 364 | then { | |
365 | 365 | let bb = ((h + "_") + toString(aK)) | |
366 | 366 | let as = [bb] | |
367 | 367 | let bd = parseIntValue(ar(as)) | |
368 | - | let bf = Y(bd, -1, ab, | |
368 | + | let bf = Y(bd, -1, ab, aX) | |
369 | 369 | [l((ab + "_board"), bf), i((ab + "_storedHeight"), (height + d)), l((ab + "_status"), ((("round_" + toString((aM + 1))) + ",turn_") + aX)), l(((ab + "_voting_") + toString((aM + 1))), bb), i((ab + "_mostVoted"), bd)] | |
370 | 370 | } | |
371 | 371 | else throw((("Caller is not in " + aX) + "!")) | |
372 | 372 | else throw("Amount has to be 1!") | |
373 | 373 | else throw("Payment has to be a Connect four Token!") | |
374 | 374 | else throw("No Payment attached!") | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(ax) | |
380 | 380 | func updateStringEntry (j,m) = if (g(ax.caller.bytes)) | |
381 | 381 | then [l(j, m)] | |
382 | 382 | else throw("Address does not match with admin address!") | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | ||
386 | 386 | @Callable(ax) | |
387 | 387 | func updateIntegerEntry (j,k) = if (g(ax.caller.bytes)) | |
388 | 388 | then [i(j, k)] | |
389 | 389 | else throw("Address does not match with admin address!") | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Callable(ax) | |
394 | 394 | func deleteStorageEntry (j) = if (g(ax.caller.bytes)) | |
395 | 395 | then [DeleteEntry(j)] | |
396 | 396 | else throw("Address does not match with admin address!") | |
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Verifier(bh) | |
400 | 400 | func bi () = sigVerify(bh.bodyBytes, bh.proofs[0], bh.senderPublicKey) | |
401 | 401 |
github/deemru/w8io/169f3d6 59.29 ms ◑