tx · 9V4rRnjSVvsvhfkaGBXNkPC2KJZKuPCXuGHtTobFXRsN 3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb: -0.02300000 Waves 2022.06.27 16:30 [2114911] smart account 3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb > SELF 0.00000000 Waves
{ "type": 13, "id": "9V4rRnjSVvsvhfkaGBXNkPC2KJZKuPCXuGHtTobFXRsN", "fee": 2300000, "feeAssetId": null, "timestamp": 1656336670127, "version": 2, "chainId": 84, "sender": "3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb", "senderPublicKey": "FWSsBbeCwLVkekWhvNKtX6JkrZiruRybKKVuiS3F4bqN", "proofs": [ "2mXBWEA4QQp6nsHdRdrdjzZwAKEGBBf79JLdz2nbvciXyQ42pCuJGEeEtUo32gphifDkVrJ2A2VHc4PiXJVg1Tvr" ], "script": "base64:AAIFAAAAAAAAAEIIAhIGCgQIAQgIEgYKBAgIAQgSBAoCCAgSBAoCCAgSBAoCCAESBAoCCAgSBAoCCAgSBQoDCAgBEgQKAggBEgMKAQgAAAAmAAAAAApzaGlueXdnZ2lkAQAAACCJac8C/7a6udRxltd5uJl2JrB00Hd59HNuhvD0c58GJgAAAAAPdHJlYXN1cnlBZGRyZXNzAQAAABoBVGX48BYLBMBZQnAankiMl/9+3Bxi8t27/QAAAAANYXNzZXRzQWRkcmVzcwEAAAAaAVTL5rTBd9cdJy1rFhBLypFI6ymLChqVp5oAAAAAEm1hcmtldHBsYWNlQWRkcmVzcwEAAAAaAVQdIbmT8fwYw6cbSXEWQ5ZRdOusVC4lvO8AAAAAFGNvbmZpZ3VyYXRpb25BZGRyZXNzAQAAABoBVNsgy5eRVj9CDmynZTWCi2G/tXRyOLTQLgAAAAAObmF0aW9uc0FkZHJlc3MBAAAAGgFUTYXo3vT4RGtZEDtwX8O3uWUOUfVERm2gAAAAAAthZG1pbldhbGxldAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM01wTnRpUF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ZXRlRW50cnkAAAABCQEAAAAWZ2V0QXNzZXRPd25lcktleVN0cmluZwAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsCQAAAgAAAAECAAAAKUVycm9yIHB1dHRpbmcgdGhlIGl0ZW0gb24gdGhlIG1hcmtldHBsYWNlAAAAAWkBAAAABkRlbEtleQAAAAEAAAADa2V5AwkBAAAAASEAAAABCQEAAAAKY2hlY2tBZG1pbgAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAAIAAAABAgAAAAAJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADa2V5BQAAAANuaWwAAAAAx61BDA==", "height": 2114911, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8XmqysgwQm94Qkr29QqrJWTciKCykZ6tVgp5xWu78qjH Next: 6Zs2KL3wx7DTg1GfkBK2n1U8Hsci1eA9d8qxpy5YKnfd Diff:
Old | New | Differences | |
---|---|---|---|
608 | 608 | } | |
609 | 609 | ||
610 | 610 | ||
611 | + | ||
612 | + | @Callable(aG) | |
613 | + | func DelKey (m) = if (!(j(aG.caller))) | |
614 | + | then throw("") | |
615 | + | else [DeleteEntry(m)] | |
616 | + | ||
617 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'AFQS5E4ELtxex3iANtWtUU2V2oWJZSo8VVnK8z3VFmqf' | |
5 | 5 | ||
6 | 6 | let b = base58'3MyDGEoKp1gF4LSRknk9vSuDEyrwuYXcQEQ' | |
7 | 7 | ||
8 | 8 | let c = base58'3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb' | |
9 | 9 | ||
10 | 10 | let d = base58'3Mra7mjPipcQd5sJaRmXK8xgS4scb8gPF4A' | |
11 | 11 | ||
12 | 12 | let e = base58'3N9tj3b2djcaZozn97VkYchL9S1i6cdEbC1' | |
13 | 13 | ||
14 | 14 | let f = base58'3MvyzDtzWWV5MZ1GP8JfQhhQqiGU4Nbifdy' | |
15 | 15 | ||
16 | 16 | let g = addressFromStringValue("3MpNtiPSRSq6NnaQYk38BfWSzZcgAYTyrQ9") | |
17 | 17 | ||
18 | 18 | let h = addressFromStringValue("3MuSrXTTiwo9bdoD6FeaBpMUYMiU5saDv2U") | |
19 | 19 | ||
20 | 20 | let i = addressFromStringValue("3Mv3mr3uNXdpgkVPApbGEJjMQXqau37DY5i") | |
21 | 21 | ||
22 | 22 | func j (k) = if (if (if (if (if ((k == g)) | |
23 | 23 | then true | |
24 | 24 | else (k == this)) | |
25 | 25 | then true | |
26 | 26 | else (k.bytes == c)) | |
27 | 27 | then true | |
28 | 28 | else (k.bytes == b)) | |
29 | 29 | then true | |
30 | 30 | else (k.bytes == d)) | |
31 | 31 | then true | |
32 | 32 | else (k.bytes == f) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func l (m) = { | |
36 | 36 | let n = getInteger(this, m) | |
37 | 37 | if ($isInstanceOf(n, "Int")) | |
38 | 38 | then { | |
39 | 39 | let o = n | |
40 | 40 | o | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func p (m) = { | |
47 | 47 | let n = getBoolean(this, m) | |
48 | 48 | if ($isInstanceOf(n, "Boolean")) | |
49 | 49 | then { | |
50 | 50 | let o = n | |
51 | 51 | o | |
52 | 52 | } | |
53 | 53 | else false | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func q (m) = { | |
58 | 58 | let n = getString(this, m) | |
59 | 59 | if ($isInstanceOf(n, "String")) | |
60 | 60 | then { | |
61 | 61 | let o = n | |
62 | 62 | o | |
63 | 63 | } | |
64 | 64 | else "" | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func r (s,t) = ((s + "_lvl") + toString(t)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func u (m) = { | |
72 | 72 | let n = getInteger(Address(e), m) | |
73 | 73 | if ($isInstanceOf(n, "Int")) | |
74 | 74 | then { | |
75 | 75 | let o = n | |
76 | 76 | o | |
77 | 77 | } | |
78 | 78 | else 0 | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func v (m) = { | |
83 | 83 | let n = getString(Address(e), m) | |
84 | 84 | if ($isInstanceOf(n, "String")) | |
85 | 85 | then { | |
86 | 86 | let o = n | |
87 | 87 | o | |
88 | 88 | } | |
89 | 89 | else "" | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func w (m) = { | |
94 | 94 | let n = getBoolean(Address(e), m) | |
95 | 95 | if ($isInstanceOf(n, "Boolean")) | |
96 | 96 | then { | |
97 | 97 | let o = n | |
98 | 98 | o | |
99 | 99 | } | |
100 | 100 | else false | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func x (y) = (y + "_Treasury") | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func z (m) = { | |
108 | 108 | let n = getInteger(Address(b), m) | |
109 | 109 | if ($isInstanceOf(n, "Int")) | |
110 | 110 | then { | |
111 | 111 | let o = n | |
112 | 112 | o | |
113 | 113 | } | |
114 | 114 | else 0 | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func A (m) = { | |
119 | 119 | let n = getInteger(Address(f), m) | |
120 | 120 | if ($isInstanceOf(n, "Int")) | |
121 | 121 | then { | |
122 | 122 | let o = n | |
123 | 123 | o | |
124 | 124 | } | |
125 | 125 | else 0 | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func B (m) = { | |
130 | 130 | let n = getBoolean(Address(f), m) | |
131 | 131 | if ($isInstanceOf(n, "Boolean")) | |
132 | 132 | then { | |
133 | 133 | let o = n | |
134 | 134 | o | |
135 | 135 | } | |
136 | 136 | else false | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func C (m) = { | |
141 | 141 | let n = getString(Address(f), m) | |
142 | 142 | if ($isInstanceOf(n, "String")) | |
143 | 143 | then { | |
144 | 144 | let o = n | |
145 | 145 | o | |
146 | 146 | } | |
147 | 147 | else "" | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func D (E) = (E + "_Owner") | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | let F = "BUILD_STARTED" | |
155 | 155 | ||
156 | 156 | let G = "BUILD_FINISHED" | |
157 | 157 | ||
158 | 158 | func H (I,J) = ((J + "_") + toBase58String(I)) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func K (I,J) = (H(I, J) + "_Owner") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func L (M,I,J) = (((M + "_") + H(I, J)) + "_fh") | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func N (M,I,J) = (((M + "_") + H(I, J)) + "_status") | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func O (P) = { | |
171 | 171 | let Q = split(P, "_") | |
172 | 172 | let R = Q[0] | |
173 | 173 | let S = parseIntValue(drop(Q[1], 3)) | |
174 | 174 | $Tuple2(R, S) | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func T (k,P,U,V,W,X) = { | |
179 | 179 | let Q = O(P) | |
180 | 180 | let R = Q._1 | |
181 | 181 | let S = Q._2 | |
182 | 182 | let Y = getIntegerValue(this, W) | |
183 | 183 | if ((Y > height)) | |
184 | 184 | then throw((((("Building is not finished yet " + toString((Y - height))) + " blocks remaining, it will take around ") + toString((Y - height))) + " minutes")) | |
185 | 185 | else if ((take(R, 4) == "TECH")) | |
186 | 186 | then { | |
187 | 187 | let Z = invoke(Address(f), "setTecnhnologyDiscovered", [k, P], nil) | |
188 | 188 | if ((Z == true)) | |
189 | 189 | then [DeleteEntry(V), DeleteEntry(W)] | |
190 | 190 | else throw("error discovering technology") | |
191 | 191 | } | |
192 | 192 | else { | |
193 | 193 | let aa = u((P + "_Power")) | |
194 | 194 | let ab = ((u((P + "_Cost")) * 20) / 100) | |
195 | 195 | let ac = invoke(Address(b), "Pay", [k, ab], nil) | |
196 | 196 | if ((ac == ac)) | |
197 | 197 | then if ((aa > 0)) | |
198 | 198 | then { | |
199 | 199 | let ad = A((k + "_Power")) | |
200 | 200 | let ae = invoke(Address(f), "setUserPower", [k, (ad + aa)], nil) | |
201 | 201 | if ((ae == ae)) | |
202 | 202 | then if (w((P + "_Aggregated"))) | |
203 | 203 | then { | |
204 | 204 | let af = ((P + "_") + k) | |
205 | 205 | let ag = l(af) | |
206 | 206 | let ah = l((af + "_Qty")) | |
207 | 207 | [DeleteEntry(K(X, P)), StringEntry((af + "_Owner"), k), IntegerEntry(af, (ag + ab)), IntegerEntry((af + "_Qty"), (ah + 1)), DeleteEntry(V), DeleteEntry(W)] | |
208 | 208 | } | |
209 | 209 | else [IntegerEntry(U, ab), DeleteEntry(V), DeleteEntry(W)] | |
210 | 210 | else throw("Strict value is not equal to itself.") | |
211 | 211 | } | |
212 | 212 | else if (w((P + "_Aggregated"))) | |
213 | 213 | then { | |
214 | 214 | let af = ((P + "_") + k) | |
215 | 215 | let ag = l(af) | |
216 | 216 | let ah = l((af + "_Qty")) | |
217 | 217 | [DeleteEntry(K(X, P)), StringEntry((af + "_Owner"), k), IntegerEntry(af, (ag + ab)), IntegerEntry((af + "_Qty"), (ah + 1)), DeleteEntry(V), DeleteEntry(W)] | |
218 | 218 | } | |
219 | 219 | else [IntegerEntry(U, ab), DeleteEntry(V), DeleteEntry(W)] | |
220 | 220 | else throw("Strict value is not equal to itself.") | |
221 | 221 | } | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func ai (k,U) = { | |
226 | 226 | let aj = q(D(U)) | |
227 | 227 | (aj == k) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func ak (s,t) = { | |
232 | 232 | let al = r(s, t) | |
233 | 233 | w((al + "_NationReserved")) | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func am (E,an) = { | |
238 | 238 | let Q = O(E) | |
239 | 239 | let R = Q._1 | |
240 | 240 | let S = Q._2 | |
241 | 241 | let al = r(R, S) | |
242 | 242 | let ao = q(D(E)) | |
243 | 243 | let aa = u((al + "_Power")) | |
244 | 244 | if ((aa > 0)) | |
245 | 245 | then { | |
246 | 246 | let ad = A((ao + "_Power")) | |
247 | 247 | let ae = invoke(Address(f), "setUserPower", [ao, (ad - aa)], nil) | |
248 | 248 | if ((ae == ae)) | |
249 | 249 | then if ((ae != (ad - aa))) | |
250 | 250 | then throw("Incorrect invoke result") | |
251 | 251 | else { | |
252 | 252 | let ap = A((an + "_Power")) | |
253 | 253 | let aq = invoke(Address(f), "setUserPower", [an, (ap + aa)], nil) | |
254 | 254 | if ((aq == aq)) | |
255 | 255 | then { | |
256 | 256 | let n = aq | |
257 | 257 | if ($isInstanceOf(n, "Int")) | |
258 | 258 | then { | |
259 | 259 | let ar = n | |
260 | 260 | [StringEntry(D(E), an)] | |
261 | 261 | } | |
262 | 262 | else throw("Incorrect invoke result") | |
263 | 263 | } | |
264 | 264 | else throw("Strict value is not equal to itself.") | |
265 | 265 | } | |
266 | 266 | else throw("Strict value is not equal to itself.") | |
267 | 267 | } | |
268 | 268 | else [StringEntry(D(E), an)] | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func as (at,k,au) = { | |
273 | 273 | let av = v((at + "_SacrificeAsset")) | |
274 | 274 | let aw = u((at + "_SacrificeAssetLevel")) | |
275 | 275 | if ((av == "")) | |
276 | 276 | then true | |
277 | 277 | else if (!(ai(k, au))) | |
278 | 278 | then throw("you are not the owner of the asset") | |
279 | 279 | else { | |
280 | 280 | let Q = O(au) | |
281 | 281 | if (if ((av != Q._1)) | |
282 | 282 | then true | |
283 | 283 | else (aw != Q._2)) | |
284 | 284 | then throw("the sacrificeAsset has the wrong type or level") | |
285 | 285 | else true | |
286 | 286 | } | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func ax (s,t,ay,au) = { | |
291 | 291 | let az = r(s, t) | |
292 | 292 | let aA = v((az + "_Tecnhology_discovered")) | |
293 | 293 | if ((aA != "")) | |
294 | 294 | then if (B(((ay + "_") + aA))) | |
295 | 295 | then as(az, ay, au) | |
296 | 296 | else false | |
297 | 297 | else as(az, ay, au) | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func aB (s,t,k,au) = { | |
302 | 302 | let aC = r(s, t) | |
303 | 303 | let aD = A(k) | |
304 | 304 | if ((aD == 0)) | |
305 | 305 | then false | |
306 | 306 | else { | |
307 | 307 | let aA = v((aC + "_Tecnhology_discovered")) | |
308 | 308 | if ((aA != "")) | |
309 | 309 | then { | |
310 | 310 | let ay = C(toString(aD)) | |
311 | 311 | if (B(((ay + "_") + aA))) | |
312 | 312 | then as(aC, k, au) | |
313 | 313 | else false | |
314 | 314 | } | |
315 | 315 | else as(aC, k, au) | |
316 | 316 | } | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func aE (s,t,aF,ay,au) = if ((ay != "")) | |
321 | 321 | then ax(s, t, ay, au) | |
322 | 322 | else aB(s, t, aF, au) | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(aG) | |
326 | 326 | func StartBuild (R,t,ay,au) = if (!(aE(R, t, toString(aG.caller), ay, au))) | |
327 | 327 | then throw("You cannot build this Item") | |
328 | 328 | else { | |
329 | 329 | let az = r(R, t) | |
330 | 330 | let aH = u((az + "_BuildTime")) | |
331 | 331 | let aI = u((az + "_Cost")) | |
332 | 332 | let aJ = ((aI * 5) / 100) | |
333 | 333 | let aK = ((aI * 10) / 100) | |
334 | 334 | let aL = ((aI * 65) / 100) | |
335 | 335 | let aM = (((aI - aJ) - aK) - aL) | |
336 | 336 | if (ak(R, t)) | |
337 | 337 | then if (if (!(ai(toString(aG.caller), ay))) | |
338 | 338 | then !(j(aG.caller)) | |
339 | 339 | else false) | |
340 | 340 | then throw("You are not the owner of the nation") | |
341 | 341 | else { | |
342 | 342 | let aN = z(x(ay)) | |
343 | 343 | if ((aI > aN)) | |
344 | 344 | then throw("The nation hasn't enough funds") | |
345 | 345 | else { | |
346 | 346 | let aO = invoke(Address(b), "decreaseNationWallet", [ay, aI], nil) | |
347 | 347 | let n = aO | |
348 | 348 | if ($isInstanceOf(n, "Int")) | |
349 | 349 | then { | |
350 | 350 | let ar = n | |
351 | 351 | let ae = invoke(Address(b), "arbitraryAddCoins", [ay, aM], nil) | |
352 | 352 | let aP = ae | |
353 | 353 | if ($isInstanceOf(aP, "Int")) | |
354 | 354 | then { | |
355 | 355 | let o = aP | |
356 | 356 | let aQ = invoke(Address(b), "distributeNationPayRewards", [aI], nil) | |
357 | 357 | let aR = aQ | |
358 | 358 | if ($isInstanceOf(aR, "Int")) | |
359 | 359 | then { | |
360 | 360 | let aS = aR | |
361 | 361 | [StringEntry(N(toString(aG.originCaller), aG.transactionId, az), F), StringEntry(K(aG.transactionId, az), ay), IntegerEntry(L(toString(aG.originCaller), aG.transactionId, az), (height + aH))] | |
362 | 362 | } | |
363 | 363 | else throw("Error Distributing asset rewards") | |
364 | 364 | } | |
365 | 365 | else throw("Error Depositing nation funds") | |
366 | 366 | } | |
367 | 367 | else throw("Error Depositing nation funds") | |
368 | 368 | } | |
369 | 369 | } | |
370 | 370 | else { | |
371 | 371 | let av = v((az + "_SacrificeAsset")) | |
372 | 372 | if ((av != "")) | |
373 | 373 | then { | |
374 | 374 | let ae = invoke(Address(b), "NoPaymentDeposit", [toString(aG.caller), aM], nil) | |
375 | 375 | let n = ae | |
376 | 376 | if ($isInstanceOf(n, "Int")) | |
377 | 377 | then { | |
378 | 378 | let ar = n | |
379 | 379 | let aQ = invoke(Address(b), "distributeNationPayRewards", [aI], nil) | |
380 | 380 | let aP = aQ | |
381 | 381 | if ($isInstanceOf(aP, "Int")) | |
382 | 382 | then { | |
383 | 383 | let aS = aP | |
384 | 384 | [DeleteEntry(au), StringEntry(N(toString(aG.originCaller), aG.transactionId, az), F), StringEntry(K(aG.transactionId, az), ay), IntegerEntry(L(toString(aG.originCaller), aG.transactionId, az), (height + aH))] | |
385 | 385 | } | |
386 | 386 | else throw("Error Distributing asset rewards") | |
387 | 387 | } | |
388 | 388 | else throw("Error adding deposit") | |
389 | 389 | } | |
390 | 390 | else { | |
391 | 391 | let aT = value(aG.payments[0].amount) | |
392 | 392 | if ((aI > aT)) | |
393 | 393 | then throw(("You provided less $heg than the needed cost for building this " + R)) | |
394 | 394 | else if ((aG.payments[0].assetId != a)) | |
395 | 395 | then throw("Only $HEG payments allowed") | |
396 | 396 | else { | |
397 | 397 | let ae = invoke(Address(b), "Deposit", nil, [AttachedPayment(a, aM)]) | |
398 | 398 | let n = ae | |
399 | 399 | if ($isInstanceOf(n, "Int")) | |
400 | 400 | then { | |
401 | 401 | let ar = n | |
402 | 402 | [StringEntry(N(toString(aG.originCaller), aG.transactionId, az), F), StringEntry(K(aG.transactionId, az), toString(aG.originCaller)), IntegerEntry(L(toString(aG.originCaller), aG.transactionId, az), (height + aH)), ScriptTransfer(g, aJ, a), ScriptTransfer(h, aK, a), ScriptTransfer(i, aL, a)] | |
403 | 403 | } | |
404 | 404 | else throw("Incorrect invoke result") | |
405 | 405 | } | |
406 | 406 | } | |
407 | 407 | } | |
408 | 408 | } | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(aG) | |
413 | 413 | func FinishBuild (aU,P,t,ay) = { | |
414 | 414 | let I = fromBase58String(aU) | |
415 | 415 | let at = r(P, t) | |
416 | 416 | let V = N(toString(aG.caller), I, at) | |
417 | 417 | let W = L(toString(aG.caller), I, at) | |
418 | 418 | let U = H(I, at) | |
419 | 419 | let aj = q(K(I, at)) | |
420 | 420 | if (ak(P, t)) | |
421 | 421 | then if (if (!(ai(toString(aG.caller), ay))) | |
422 | 422 | then !(j(aG.caller)) | |
423 | 423 | else false) | |
424 | 424 | then throw("You are not authorized to perform this operation") | |
425 | 425 | else T(ay, at, U, V, W, I) | |
426 | 426 | else if ((aj != toString(aG.caller))) | |
427 | 427 | then throw(("You cannot claim other's players " + P)) | |
428 | 428 | else { | |
429 | 429 | let aV = q(V) | |
430 | 430 | if ((aV == "")) | |
431 | 431 | then throw("No pending operations for this asset") | |
432 | 432 | else T(toString(aG.caller), at, U, V, W, I) | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | ||
438 | 438 | @Callable(aG) | |
439 | 439 | func transferOwnership (E,an) = if (!(j(aG.caller))) | |
440 | 440 | then throw("Only the admin can perform this operation") | |
441 | 441 | else $Tuple2(am(E, an), an) | |
442 | 442 | ||
443 | 443 | ||
444 | 444 | ||
445 | 445 | @Callable(aG) | |
446 | 446 | func destroyAssetAndTransfer (E,aW) = { | |
447 | 447 | let Q = O(E) | |
448 | 448 | let R = Q._1 | |
449 | 449 | let S = Q._2 | |
450 | 450 | let al = r(R, S) | |
451 | 451 | if (!(j(aG.caller))) | |
452 | 452 | then throw("Only the admin can perform this operation") | |
453 | 453 | else { | |
454 | 454 | let ao = q(D(E)) | |
455 | 455 | let ab = l(E) | |
456 | 456 | let ac = invoke(Address(b), "adminTransfer", [addressFromStringValue(aW), ab], nil) | |
457 | 457 | if ((ac == ac)) | |
458 | 458 | then { | |
459 | 459 | let ad = A((ao + "_Power")) | |
460 | 460 | let aa = u((al + "_Power")) | |
461 | 461 | let ae = invoke(Address(f), "setUserPower", [toString(aG.caller), (ad - aa)], nil) | |
462 | 462 | if ((ae == ae)) | |
463 | 463 | then { | |
464 | 464 | let n = ae | |
465 | 465 | if ($isInstanceOf(n, "Int")) | |
466 | 466 | then { | |
467 | 467 | let ar = n | |
468 | 468 | [DeleteEntry(E)] | |
469 | 469 | } | |
470 | 470 | else throw("Error setting user power") | |
471 | 471 | } | |
472 | 472 | else throw("Strict value is not equal to itself.") | |
473 | 473 | } | |
474 | 474 | else throw("Strict value is not equal to itself.") | |
475 | 475 | } | |
476 | 476 | } | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | ||
480 | 480 | @Callable(aG) | |
481 | 481 | func destroyAssetFromUser (E,ah) = { | |
482 | 482 | let Q = O(E) | |
483 | 483 | let R = Q._1 | |
484 | 484 | let S = Q._2 | |
485 | 485 | let al = r(R, S) | |
486 | 486 | if (!(ai(toString(aG.caller), E))) | |
487 | 487 | then throw("You don't own this asset") | |
488 | 488 | else { | |
489 | 489 | let ab = l(E) | |
490 | 490 | let ad = A((toString(aG.caller) + "_Power")) | |
491 | 491 | let aa = u((al + "_Power")) | |
492 | 492 | if (w((al + "_Aggregated"))) | |
493 | 493 | then { | |
494 | 494 | let aX = ((u((al + "_Cost")) * 20) / 100) | |
495 | 495 | let aY = l((al + "_Qty")) | |
496 | 496 | if ((0 > (aY - ah))) | |
497 | 497 | then throw(("you don't have enough " + R)) | |
498 | 498 | else { | |
499 | 499 | let ae = invoke(Address(f), "setUserPower", [toString(aG.caller), (ad - (aa * ah))], nil) | |
500 | 500 | let n = ae | |
501 | 501 | if ($isInstanceOf(n, "Int")) | |
502 | 502 | then { | |
503 | 503 | let ar = n | |
504 | 504 | let aZ = invoke(Address(b), "adminTransfer", [toString(aG.caller), (aX * ah)], nil) | |
505 | 505 | let aP = aZ | |
506 | 506 | if ($isInstanceOf(aP, "Int")) | |
507 | 507 | then { | |
508 | 508 | let aS = aP | |
509 | 509 | if (((aY - ah) > 0)) | |
510 | 510 | then [IntegerEntry((al + "_Qty"), (aY - ah))] | |
511 | 511 | else [DeleteEntry(E)] | |
512 | 512 | } | |
513 | 513 | else throw("Error transferring coins") | |
514 | 514 | } | |
515 | 515 | else throw("Error setting user power") | |
516 | 516 | } | |
517 | 517 | } | |
518 | 518 | else { | |
519 | 519 | let ae = invoke(Address(f), "setUserPower", [toString(aG.caller), (ad - aa)], nil) | |
520 | 520 | let n = ae | |
521 | 521 | if ($isInstanceOf(n, "Int")) | |
522 | 522 | then { | |
523 | 523 | let ar = n | |
524 | 524 | let aZ = invoke(Address(b), "adminTransfer", [toString(aG.caller), ab], nil) | |
525 | 525 | let aP = aZ | |
526 | 526 | if ($isInstanceOf(aP, "Int")) | |
527 | 527 | then { | |
528 | 528 | let aS = aP | |
529 | 529 | [DeleteEntry(E)] | |
530 | 530 | } | |
531 | 531 | else throw("Error transferring coins") | |
532 | 532 | } | |
533 | 533 | else throw("Error setting user power") | |
534 | 534 | } | |
535 | 535 | } | |
536 | 536 | } | |
537 | 537 | ||
538 | 538 | ||
539 | 539 | ||
540 | 540 | @Callable(aG) | |
541 | 541 | func setNationOwner (ba,an) = if (j(aG.caller)) | |
542 | 542 | then $Tuple2([StringEntry((ba + "_Owner"), an)], true) | |
543 | 543 | else { | |
544 | 544 | let bb = q((ba + "_Owner")) | |
545 | 545 | if ((bb != toString(aG.caller))) | |
546 | 546 | then throw("You are not the nation owner") | |
547 | 547 | else [StringEntry((ba + "_Owner"), an)] | |
548 | 548 | } | |
549 | 549 | ||
550 | 550 | ||
551 | 551 | ||
552 | 552 | @Callable(aG) | |
553 | 553 | func buyNationItem (E,ay) = { | |
554 | 554 | let Q = O(E) | |
555 | 555 | let R = Q._1 | |
556 | 556 | let S = Q._2 | |
557 | 557 | let al = r(R, S) | |
558 | 558 | let bc = A(toString(aG.caller)) | |
559 | 559 | let bd = A(ay) | |
560 | 560 | if ((bc != bd)) | |
561 | 561 | then throw("you can buy assets only from your nation") | |
562 | 562 | else if (!(ai(ay, E))) | |
563 | 563 | then throw("The asset does not belong to the nation") | |
564 | 564 | else if (!(ak(R, S))) | |
565 | 565 | then throw("this asset cannot be sold by the nation") | |
566 | 566 | else { | |
567 | 567 | let be = u((r(R, S) + "_SellPrice")) | |
568 | 568 | let aT = value(aG.payments[0].amount) | |
569 | 569 | if ((be > aT)) | |
570 | 570 | then throw(("You provided less $heg than the needed cost for buying this " + R)) | |
571 | 571 | else if ((aG.payments[0].assetId != a)) | |
572 | 572 | then throw("Only $HEG payments allowed") | |
573 | 573 | else { | |
574 | 574 | let bf = invoke(Address(b), "increaseNationWallet", [ay, aT], nil) | |
575 | 575 | let n = bf | |
576 | 576 | if ($isInstanceOf(n, "Int")) | |
577 | 577 | then { | |
578 | 578 | let o = n | |
579 | 579 | (am(E, toString(aG.caller)) :+ ScriptTransfer(Address(b), aT, a)) | |
580 | 580 | } | |
581 | 581 | else throw("Error transferring SHEG to nations wallet") | |
582 | 582 | } | |
583 | 583 | } | |
584 | 584 | } | |
585 | 585 | ||
586 | 586 | ||
587 | 587 | ||
588 | 588 | @Callable(aG) | |
589 | 589 | func AddAssetFromMarkeplace (E,ao,bg) = if (!(j(aG.caller))) | |
590 | 590 | then throw("You are not allowed to perform this operation") | |
591 | 591 | else $Tuple2([StringEntry(D(E), ao), IntegerEntry(E, bg)], ao) | |
592 | 592 | ||
593 | 593 | ||
594 | 594 | ||
595 | 595 | @Callable(aG) | |
596 | 596 | func TransferAssetToMarketplace (E,bh) = if (!(ai(toString(aG.caller), E))) | |
597 | 597 | then throw("You are not the owner of this asset") | |
598 | 598 | else { | |
599 | 599 | let bg = l(E) | |
600 | 600 | let aZ = invoke(Address(d), "putOnSale", [E, bg, bh], nil) | |
601 | 601 | let n = aZ | |
602 | 602 | if ($isInstanceOf(n, "Int")) | |
603 | 603 | then { | |
604 | 604 | let aS = n | |
605 | 605 | [DeleteEntry(D(E)), DeleteEntry(E)] | |
606 | 606 | } | |
607 | 607 | else throw("Error putting the item on the marketplace") | |
608 | 608 | } | |
609 | 609 | ||
610 | 610 | ||
611 | + | ||
612 | + | @Callable(aG) | |
613 | + | func DelKey (m) = if (!(j(aG.caller))) | |
614 | + | then throw("") | |
615 | + | else [DeleteEntry(m)] | |
616 | + | ||
617 | + |
github/deemru/w8io/169f3d6 79.46 ms ◑