tx · Bc65tasvqBzgZBNL53y671fxuN5akdtb5zW2qAXeyPgm 3N8CfHN33P1djFRuHuKpWqk1eD3fTcgLiNF: -0.01100000 Waves 2022.07.27 22:39 [2158652] smart account 3N8CfHN33P1djFRuHuKpWqk1eD3fTcgLiNF > SELF 0.00000000 Waves
{ "type": 13, "id": "Bc65tasvqBzgZBNL53y671fxuN5akdtb5zW2qAXeyPgm", "fee": 1100000, "feeAssetId": null, "timestamp": 1658950772287, "version": 2, "chainId": 84, "sender": "3N8CfHN33P1djFRuHuKpWqk1eD3fTcgLiNF", "senderPublicKey": "9Cixf6Ljj2pDy8vDfre5oMaGkboXr7bkq3nPRXpAW3gE", "proofs": [ "3c1RpVGxkosB4DBEAzAZC2VYEei8CEFed4Rj3M4E3gmS12woGMASsPKGaLzV4WtAqhgrEcXuxvj7CTxbQrRUG9vV" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAIwAAAAAQbW9uc3Rlcklzc3VlRGFwcAEAAAAaAVSeLUQvwrYHvMWFMlJ5AaNU8Zc7GIeqh0IAAAAADGJhYnlEdWNrRGFwcAEAAAAaAVT/n71LNuFfsgEUCmUITMqZ8Wdc2XdwBU0AAAAAEWR1Y2tJbmN1YmF0b3JEYXBwAQAAABoBVG5118zCpG70l2iViI5nbSMXlmLdmNWQSQAAAAAPZHVja0JyZWVkZXJEYXBwAQAAABoBVMJL8Ud4mWLKzpYe/WncKIJl9WGWYXEeEwAAAAAXcG9pbnRzRm9yQmFieUR1Y2tFYXRpbmcAAAAAAAAAAAUAAAAAGHBvaW50c0ZvckFkdWx0RHVja0VhdGluZwAAAAAAAAAABQAAAAAVZXhpc3RpbmdEdWNrUHJlY2lzaW9uAAAAWvMQekAAAQAAABNnZXRNb25zdGVyUG9pbnRzS2V5AAAAAQAAAAltb25zdGVySWQJAAEsAAAAAgUAAAAJbW9uc3RlcklkAgAAAA5fbW9uc3RlclBvaW50cwEAAAAQZ2V0TW9uc3RlclBvaW50cwAAAAEAAAA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AABaQAAAAhwYXltZW50cwAAAAAAAAAAAQkAAAIAAAABAgAAAClCYWQgcGF5bWVudCBhdHRhY2hlZCAoYXNzZXRbc10gb3IgYW1vdW50KQQAAAADcG10CQEAAAAFdmFsdWUAAAABCQAD7AAAAAEJAQAAAAV2YWx1ZQAAAAEICQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQDCQEAAAAKaXNCYWJ5RHVjawAAAAEIBQAAAANwbXQAAAACaWQJAAROAAAAAgkABE4AAAACCQEAAAAQc2V0TW9uc3RlclBvaW50cwAAAAIFAAAACW1vbnN0ZXJJRAUAAAAXcG9pbnRzRm9yQmFieUR1Y2tFYXRpbmcJAQAAABVzZXRCYWJ5RHVja0VhdGluZ0RhdGEAAAADBQAAAAFpBQAAAAltb25zdGVySUQJAAJYAAAAAQgFAAAAA3BtdAAAAAJpZAkBAAAACGJ1cm5EdWNrAAAAAQgFAAAAA3BtdAAAAAJpZAMJAQAAAAtpc0FkdWx0RHVjawAAAAEIBQAAAANwbXQAAAACaWQJAAROAAAAAgkABE4AAAACCQAETgAAAAIJAQAAABBzZXRNb25zdGVyUG9pbnRzAAAAAgUAAAAJbW9uc3RlcklEBQAAABhwb2ludHNGb3JBZHVsdER1Y2tFYXRpbmcJAQAAABZzZXRBZHVsdER1Y2tFYXRpbmdEYXRhAAAAAwUAAAABaQUAAAAJbW9uc3RlcklECQACWAAAAAEIBQAAAANwbXQAAAACaWQJAQAAABRzZXRNb25zdGVyUmFyaXR5RGF0YQAAAAIFAAAACW1vbnN0ZXJJRAkAAlgAAAABCAUAAAADcG10AAAAAmlkCQEAAAAIYnVybkR1Y2sAAAABCAUAAAADcG10AAAAAmlkCQAAAgAAAAECAAAAGE5vdCBhIGJhYnkgb3IgYWR1bHQgZHVjawAAAACB+9PS", "height": 2158652, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HWmWeM7tq2wUWJjtvi3G5yPt9ge2DgPsxjiST5UV2wFr Next: AekCPsomkJyroVWRfvRd2YN4i1wztgciLu4tX4NnQoMy Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'3N4LSmPe4zjEW81X1ix6maibiT5HzXrWpTj' | |
5 | 5 | ||
6 | - | let b = base58' | |
6 | + | let b = base58'3NDDhSj9Ddd6P9W3s946zqCK41gaQVPGWSQ' | |
7 | 7 | ||
8 | 8 | let c = base58'3Myz9GtrZ8K6kbSPSDzd5G4wBjuEDVHLFQc' | |
9 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'3N4LSmPe4zjEW81X1ix6maibiT5HzXrWpTj' | |
5 | 5 | ||
6 | - | let b = base58' | |
6 | + | let b = base58'3NDDhSj9Ddd6P9W3s946zqCK41gaQVPGWSQ' | |
7 | 7 | ||
8 | 8 | let c = base58'3Myz9GtrZ8K6kbSPSDzd5G4wBjuEDVHLFQc' | |
9 | 9 | ||
10 | 10 | let d = base58'3N7dRqiJCdAB5AWqc6oKW3gH1SEhzzfMm3G' | |
11 | 11 | ||
12 | 12 | let e = 5 | |
13 | 13 | ||
14 | 14 | let f = 5 | |
15 | 15 | ||
16 | 16 | let g = 100000000000000 | |
17 | 17 | ||
18 | 18 | func h (i) = (i + "_monsterPoints") | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func j (i) = valueOrElse(getInteger(this, h(i)), 0) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func k (i) = { | |
25 | 25 | let l = { | |
26 | 26 | let m = assetInfo(fromBase58String(i)) | |
27 | 27 | if ($isInstanceOf(m, "Asset")) | |
28 | 28 | then { | |
29 | 29 | let n = m | |
30 | 30 | (n.issuer.bytes == a) | |
31 | 31 | } | |
32 | 32 | else false | |
33 | 33 | } | |
34 | 34 | l | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func o (p) = (("duckling_" + p) + "_level") | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func q (p) = { | |
42 | 42 | let r = o(p) | |
43 | 43 | let m = getString(Address(b), r) | |
44 | 44 | if ($isInstanceOf(m, "String")) | |
45 | 45 | then { | |
46 | 46 | let s = m | |
47 | 47 | parseBigIntValue(s) | |
48 | 48 | } | |
49 | 49 | else { | |
50 | 50 | let t = getBoolean((("duckling_" + p) + "_issuedByFeedCall")) | |
51 | 51 | if ($isInstanceOf(t, "Boolean")) | |
52 | 52 | then { | |
53 | 53 | let u = t | |
54 | 54 | toBigInt(0) | |
55 | 55 | } | |
56 | 56 | else toBigInt((20 * g)) | |
57 | 57 | } | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func v (w) = { | |
62 | 62 | let x = value(blockInfoByHeight(lastBlock.height)) | |
63 | 63 | let y = sha256_16Kb((w.transactionId + value(x.vrf))) | |
64 | 64 | (toInt(y, lastBlock.timestamp) % lastBlock.height) | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (A) = { | |
69 | 69 | let B = q(toBase58String(A)) | |
70 | 70 | (B > toBigInt(20)) | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func C (A) = { | |
75 | 75 | let l = { | |
76 | 76 | let m = assetInfo(A) | |
77 | 77 | if ($isInstanceOf(m, "Asset")) | |
78 | 78 | then { | |
79 | 79 | let n = m | |
80 | 80 | (n.issuer.bytes == b) | |
81 | 81 | } | |
82 | 82 | else false | |
83 | 83 | } | |
84 | 84 | if (l) | |
85 | 85 | then z(A) | |
86 | 86 | else false | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func D (A) = { | |
91 | 91 | let l = { | |
92 | 92 | let m = assetInfo(A) | |
93 | 93 | if ($isInstanceOf(m, "Asset")) | |
94 | 94 | then { | |
95 | 95 | let n = m | |
96 | 96 | if ((n.issuer.bytes == c)) | |
97 | 97 | then true | |
98 | 98 | else (n.issuer.bytes == d) | |
99 | 99 | } | |
100 | 100 | else false | |
101 | 101 | } | |
102 | 102 | l | |
103 | 103 | } | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func E (A) = { | |
107 | 107 | let l = { | |
108 | 108 | let m = assetInfo(A) | |
109 | 109 | if ($isInstanceOf(m, "Asset")) | |
110 | 110 | then { | |
111 | 111 | let n = m | |
112 | 112 | (n.issuer.bytes == c) | |
113 | 113 | } | |
114 | 114 | else false | |
115 | 115 | } | |
116 | 116 | true | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func F (i,G) = [IntegerEntry(h(i), (j(i) + G))] | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func H (w,i,A) = [StringEntry((((toBase58String(w.transactionId) + "_") + i) + "_BABYDUCK_EAT_BY"), A)] | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func I (w,i,A) = [StringEntry((((toBase58String(w.transactionId) + "_") + i) + "_ADULTDUCK_EAT_BY"), A)] | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func J (A) = [Burn(A, 1)] | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func K (i,A) = { | |
133 | 133 | let L = 0 | |
134 | 134 | [StringEntry((((A + "_") + i) + "_GOT_ABILITY_BY_EATING"), "Ability-x")] | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func M (N) = if (contains(N, "0")) | |
139 | 139 | then "" | |
140 | 140 | else N | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func O (P,Q) = if ((Q == "A")) | |
144 | 144 | then (P + 1) | |
145 | 145 | else (P + 0) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func R (P,Q) = if ((Q == "B")) | |
149 | 149 | then (P + 1) | |
150 | 150 | else (P + 0) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func S (P,Q) = if ((Q == "C")) | |
154 | 154 | then (P + 1) | |
155 | 155 | else (P + 0) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func T (P,Q) = if ((Q == "D")) | |
159 | 159 | then (P + 1) | |
160 | 160 | else (P + 0) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func U (P,Q) = if ((Q == "E")) | |
164 | 164 | then (P + 1) | |
165 | 165 | else (P + 0) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func V (P,Q) = if ((Q == "F")) | |
169 | 169 | then (P + 1) | |
170 | 170 | else (P + 0) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func W (P,Q) = if ((Q == "G")) | |
174 | 174 | then (P + 1) | |
175 | 175 | else (P + 0) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func X (P,Q) = if ((Q == "H")) | |
179 | 179 | then (P + 1) | |
180 | 180 | else (P + 0) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func Y (P,Q) = if ((Q == "I")) | |
184 | 184 | then (P + 1) | |
185 | 185 | else (P + 0) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func Z (aa) = { | |
189 | 189 | let ab = split(dropRight(drop(aa, 5), 3), "") | |
190 | 190 | ((((((((M((toString({ | |
191 | 191 | let ac = ab | |
192 | 192 | let ad = size(ac) | |
193 | 193 | let ae = 0 | |
194 | 194 | func af (ag,ah) = if ((ah >= ad)) | |
195 | 195 | then ag | |
196 | 196 | else O(ag, ac[ah]) | |
197 | 197 | ||
198 | 198 | func ai (ag,ah) = if ((ah >= ad)) | |
199 | 199 | then ag | |
200 | 200 | else throw("List size exceeds 8") | |
201 | 201 | ||
202 | 202 | ai(af(af(af(af(af(af(af(af(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
203 | 203 | }) + "A")) + M((toString({ | |
204 | 204 | let ac = ab | |
205 | 205 | let ad = size(ac) | |
206 | 206 | let ae = 0 | |
207 | 207 | func aj (ag,ah) = if ((ah >= ad)) | |
208 | 208 | then ag | |
209 | 209 | else R(ag, ac[ah]) | |
210 | 210 | ||
211 | 211 | func ak (ag,ah) = if ((ah >= ad)) | |
212 | 212 | then ag | |
213 | 213 | else throw("List size exceeds 8") | |
214 | 214 | ||
215 | 215 | ak(aj(aj(aj(aj(aj(aj(aj(aj(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
216 | 216 | }) + "B"))) + M((toString({ | |
217 | 217 | let ac = ab | |
218 | 218 | let ad = size(ac) | |
219 | 219 | let ae = 0 | |
220 | 220 | func al (ag,ah) = if ((ah >= ad)) | |
221 | 221 | then ag | |
222 | 222 | else S(ag, ac[ah]) | |
223 | 223 | ||
224 | 224 | func am (ag,ah) = if ((ah >= ad)) | |
225 | 225 | then ag | |
226 | 226 | else throw("List size exceeds 8") | |
227 | 227 | ||
228 | 228 | am(al(al(al(al(al(al(al(al(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
229 | 229 | }) + "C"))) + M((toString({ | |
230 | 230 | let ac = ab | |
231 | 231 | let ad = size(ac) | |
232 | 232 | let ae = 0 | |
233 | 233 | func an (ag,ah) = if ((ah >= ad)) | |
234 | 234 | then ag | |
235 | 235 | else T(ag, ac[ah]) | |
236 | 236 | ||
237 | 237 | func ao (ag,ah) = if ((ah >= ad)) | |
238 | 238 | then ag | |
239 | 239 | else throw("List size exceeds 8") | |
240 | 240 | ||
241 | 241 | ao(an(an(an(an(an(an(an(an(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
242 | 242 | }) + "D"))) + M((toString({ | |
243 | 243 | let ac = ab | |
244 | 244 | let ad = size(ac) | |
245 | 245 | let ae = 0 | |
246 | 246 | func ap (ag,ah) = if ((ah >= ad)) | |
247 | 247 | then ag | |
248 | 248 | else U(ag, ac[ah]) | |
249 | 249 | ||
250 | 250 | func aq (ag,ah) = if ((ah >= ad)) | |
251 | 251 | then ag | |
252 | 252 | else throw("List size exceeds 8") | |
253 | 253 | ||
254 | 254 | aq(ap(ap(ap(ap(ap(ap(ap(ap(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
255 | 255 | }) + "E"))) + M((toString({ | |
256 | 256 | let ac = ab | |
257 | 257 | let ad = size(ac) | |
258 | 258 | let ae = 0 | |
259 | 259 | func ar (ag,ah) = if ((ah >= ad)) | |
260 | 260 | then ag | |
261 | 261 | else V(ag, ac[ah]) | |
262 | 262 | ||
263 | 263 | func as (ag,ah) = if ((ah >= ad)) | |
264 | 264 | then ag | |
265 | 265 | else throw("List size exceeds 8") | |
266 | 266 | ||
267 | 267 | as(ar(ar(ar(ar(ar(ar(ar(ar(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
268 | 268 | }) + "F"))) + M((toString({ | |
269 | 269 | let ac = ab | |
270 | 270 | let ad = size(ac) | |
271 | 271 | let ae = 0 | |
272 | 272 | func at (ag,ah) = if ((ah >= ad)) | |
273 | 273 | then ag | |
274 | 274 | else W(ag, ac[ah]) | |
275 | 275 | ||
276 | 276 | func au (ag,ah) = if ((ah >= ad)) | |
277 | 277 | then ag | |
278 | 278 | else throw("List size exceeds 8") | |
279 | 279 | ||
280 | 280 | au(at(at(at(at(at(at(at(at(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
281 | 281 | }) + "G"))) + M((toString({ | |
282 | 282 | let ac = ab | |
283 | 283 | let ad = size(ac) | |
284 | 284 | let ae = 0 | |
285 | 285 | func av (ag,ah) = if ((ah >= ad)) | |
286 | 286 | then ag | |
287 | 287 | else X(ag, ac[ah]) | |
288 | 288 | ||
289 | 289 | func aw (ag,ah) = if ((ah >= ad)) | |
290 | 290 | then ag | |
291 | 291 | else throw("List size exceeds 8") | |
292 | 292 | ||
293 | 293 | aw(av(av(av(av(av(av(av(av(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
294 | 294 | }) + "H"))) + M((toString({ | |
295 | 295 | let ac = ab | |
296 | 296 | let ad = size(ac) | |
297 | 297 | let ae = 0 | |
298 | 298 | func ax (ag,ah) = if ((ah >= ad)) | |
299 | 299 | then ag | |
300 | 300 | else Y(ag, ac[ah]) | |
301 | 301 | ||
302 | 302 | func ay (ag,ah) = if ((ah >= ad)) | |
303 | 303 | then ag | |
304 | 304 | else throw("List size exceeds 8") | |
305 | 305 | ||
306 | 306 | ay(ax(ax(ax(ax(ax(ax(ax(ax(ae, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
307 | 307 | }) + "I"))) | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func az (aA) = if ((aA == "G")) | |
312 | 312 | then c | |
313 | 313 | else d | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func aB (ab,aA) = { | |
317 | 317 | let aC = getIntegerValue(Address(az(aA)), (("stats_" + ab) + "_quantity")) | |
318 | 318 | let aD = pow((10000 / aC), 4, 5, 1, 2, FLOOR) | |
319 | 319 | if ((aD > 0)) | |
320 | 320 | then aD | |
321 | 321 | else 2 | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(w) | |
326 | 326 | func duckEating (aE) = if (!(k(aE))) | |
327 | 327 | then throw("This is not a valid Monster") | |
328 | 328 | else if ((size(w.payments) != 1)) | |
329 | 329 | then throw("Bad payment attached (asset[s] or amount)") | |
330 | 330 | else { | |
331 | 331 | let aF = value(assetInfo(value(value(w.payments[0]).assetId))) | |
332 | 332 | if (C(aF.id)) | |
333 | 333 | then ((F(aE, e) ++ H(w, aE, toBase58String(aF.id))) ++ J(aF.id)) | |
334 | 334 | else if (D(aF.id)) | |
335 | 335 | then (((F(aE, f) ++ I(w, aE, toBase58String(aF.id))) ++ K(aE, toBase58String(aF.id))) ++ J(aF.id)) | |
336 | 336 | else throw("Not a baby or adult duck") | |
337 | 337 | } | |
338 | 338 | ||
339 | 339 |
github/deemru/w8io/026f985 141.61 ms ◑