tx · EQWPKD4R1WTfb7DFTgGZ6FhsELbEWhpr4LFDirZdvZ5m 3MtDn875i1WRCdCymHMcfCk94YT9ccJJouP: -0.01500000 Waves 2024.10.03 21:25 [3311026] smart account 3MtDn875i1WRCdCymHMcfCk94YT9ccJJouP > SELF 0.00000000 Waves
{ "type": 13, "id": "EQWPKD4R1WTfb7DFTgGZ6FhsELbEWhpr4LFDirZdvZ5m", "fee": 1500000, "feeAssetId": null, "timestamp": 1727979935491, "version": 2, "chainId": 84, "sender": "3MtDn875i1WRCdCymHMcfCk94YT9ccJJouP", "senderPublicKey": "HiVVS4DDgAz7hk7nPYxpMJFMeDwEspXQSDVs5npYHvDa", "proofs": [ "4BEgpeViJgPPbUWrRWG6ZcNhW7Dy2yArLDMNG6FrZA11foTUYxhRJcj2NsoZuzciNxmDpzrxMpT9i3eBptToDVJ5" ], "script": "base64:AAIFAAAAAAAAAB8IAhIECgIICBIAEgMKAQgSBAoCCAgSAwoBCBIDCgEIAAAAIQEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdEVudgAAAAAJAQAAAAdnZXRCb29sAAAAAQIAAAAHVEVTVEVOVgEAAAAIa2V5T3duZXIAAAABAAAAC2R1Y2tIb3VzZUlkCQABLAAAAAIFAAAAC2R1Y2tIb3VzZUlkAgAAAAZfb3duZXIBAAAADGtleUR1Y2tIb3VzZQAAAAEAAAAGZHVja0lkCQABLAAAAAIFAAAABmR1Y2tJZAIAAAALX2R1Y2tfaG91c2UBAAAAF29jY3VwaWVkU3BvdHNEdWNrc0hvdXNlAAAAAQAAAAtkdWNrSG91c2VJZAkAASwAAAACBQAAAAtkdWNrSG91c2VJZAIAAAANX2ZpbGxlZF9zcG90cwEAAAANdHJ5R2V0Qm9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JAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACm81DwQ==", "height": 3311026, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CjytA6zJwgin2Fk1NAM4EN4WeytN8cqx5JpTJEuKpUfV Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = { | |
5 | 5 | let c = getBoolean(this, b) | |
6 | 6 | if ($isInstanceOf(c, "Boolean")) | |
7 | 7 | then { | |
8 | 8 | let d = c | |
9 | 9 | d | |
10 | 10 | } | |
11 | 11 | else false | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func e () = a("TESTENV") | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func f (g) = (g + "_owner") | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func h (i) = (i + "_duck_house") | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func j (g) = (g + "_filled_spots") | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func k (b) = { | |
28 | 28 | let c = getBoolean(b) | |
29 | 29 | if ($isInstanceOf(c, "Boolean")) | |
30 | 30 | then { | |
31 | 31 | let d = c | |
32 | 32 | d | |
33 | 33 | } | |
34 | 34 | else false | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func l (m,b) = { | |
39 | 39 | let c = getString(m, b) | |
40 | 40 | if ($isInstanceOf(c, "String")) | |
41 | 41 | then { | |
42 | 42 | let n = c | |
43 | 43 | n | |
44 | 44 | } | |
45 | 45 | else "" | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func o (b) = l(this, b) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func p (b) = { | |
53 | 53 | let c = getInteger(this, b) | |
54 | 54 | if ($isInstanceOf(c, "Int")) | |
55 | 55 | then { | |
56 | 56 | let d = c | |
57 | 57 | d | |
58 | 58 | } | |
59 | 59 | else 0 | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func q (r) = { | |
64 | 64 | let c = r | |
65 | 65 | if ($isInstanceOf(c, "String")) | |
66 | 66 | then { | |
67 | 67 | let s = c | |
68 | 68 | s | |
69 | 69 | } | |
70 | 70 | else throw("wrong type, expected: String") | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func t (r) = { | |
75 | 75 | let c = r | |
76 | 76 | if ($isInstanceOf(c, "Int")) | |
77 | 77 | then { | |
78 | 78 | let u = c | |
79 | 79 | u | |
80 | 80 | } | |
81 | 81 | else throw("wrong type, expected: Int") | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func v () = "static_oracleAddress" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func w () = "static_itemsAddress" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func x () = "static_extraFee" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func y () = "static_feeAggregator" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func z () = "static_eggAssetId" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func A () = "static_farmingAddressNew" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func B () = "static_maxDucks" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func C () = "stakeNFT" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func D () = "static_without_perch" | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func E () = "static_type" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func F () = "static_boost" | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func G () = Address(fromBase58String(o(v()))) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func H () = Address(fromBase58String(l(G(), w()))) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func I () = Address(fromBase58String(l(G(), A()))) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func J () = fromBase58String(l(G(), z())) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func K () = Address(fromBase58String(l(G(), y()))) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func L () = p(B()) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func M () = o(E()) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func N () = p(F()) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func O (P) = (takeRight(value(value(assetInfo(P)).name), 1) == "U") | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func Q (R) = if (isDefined(R.assetId)) | |
146 | 146 | then throw("WCAP: Please attach waves") | |
147 | 147 | else { | |
148 | 148 | let S = getIntegerValue(G(), x()) | |
149 | 149 | if ((R.amount != S)) | |
150 | 150 | then throw((("WCAP: Please attach exactly " + toString(S)) + " amount of wavelets")) | |
151 | 151 | else [ScriptTransfer(K(), S, unit)] | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func T (U,V) = { | |
156 | 156 | let g = o(h(U)) | |
157 | 157 | let W = o(f(g)) | |
158 | 158 | let m = toString(V.caller) | |
159 | 159 | if ((W != m)) | |
160 | 160 | then throw("Don't try to steal someone duck!") | |
161 | 161 | else g | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | @Callable(V) | |
166 | 166 | func configureOracle (X,M) = if ((V.caller != this)) | |
167 | 167 | then throw("admin only") | |
168 | 168 | else { | |
169 | 169 | let Y = if ((M == "ART-BIGHOUSE")) | |
170 | 170 | then [IntegerEntry(F(), 15), IntegerEntry(B(), 10), BooleanEntry(D(), true)] | |
171 | 171 | else if ((M == "ART-HOUSE")) | |
172 | 172 | then [IntegerEntry(F(), 30), IntegerEntry(B(), 4), BooleanEntry(D(), false)] | |
173 | 173 | else if ((M == "ART-XMAS_STBLE")) | |
174 | 174 | then [IntegerEntry(F(), 5), IntegerEntry(B(), 6), BooleanEntry(D(), false)] | |
175 | 175 | else throw("Unknown type!") | |
176 | 176 | ([StringEntry(v(), X), StringEntry(E(), M)] ++ Y) | |
177 | 177 | } | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | ||
181 | 181 | @Callable(V) | |
182 | 182 | func stakeDuckHouse () = { | |
183 | 183 | let W = toString(V.caller) | |
184 | 184 | let Z = value(V.payments[0]) | |
185 | 185 | let aa = Q(V.payments[1]) | |
186 | 186 | let ab = toBase58String(value(Z.assetId)) | |
187 | 187 | if ((Z.amount != 1)) | |
188 | 188 | then throw("NFT is not attached") | |
189 | 189 | else { | |
190 | 190 | let ac = q(invoke(H(), "checkArtefactDetails", [ab], nil)) | |
191 | 191 | if ((ac == ac)) | |
192 | 192 | then if ((ac != M())) | |
193 | 193 | then throw("Wrong artefact") | |
194 | 194 | else ([StringEntry(f(ab), W)] ++ aa) | |
195 | 195 | else throw("Strict value is not equal to itself.") | |
196 | 196 | } | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | ||
201 | 201 | @Callable(V) | |
202 | 202 | func unstakeDuckHouse (g) = { | |
203 | 203 | let ad = toString(V.caller) | |
204 | 204 | let ae = o(f(g)) | |
205 | 205 | let aa = Q(V.payments[0]) | |
206 | 206 | if ((ae == "")) | |
207 | 207 | then throw("This duckhouse is not staked!") | |
208 | 208 | else if ((ae != ad)) | |
209 | 209 | then throw("This duckhouse is not yours!") | |
210 | 210 | else if ((p(j(g)) != 0)) | |
211 | 211 | then throw("Please first remove your ducks from the duckhouse") | |
212 | 212 | else ([ScriptTransfer(V.caller, 1, fromBase58String(g)), DeleteEntry(f(g))] ++ aa) | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | ||
217 | 217 | @Callable(V) | |
218 | 218 | func stakeDuck (g,af) = { | |
219 | 219 | let P = value(value(V.payments[1]).assetId) | |
220 | 220 | let m = toString(V.caller) | |
221 | 221 | let ae = o(f(g)) | |
222 | 222 | if ((ae == "")) | |
223 | 223 | then throw("This duckhouse is not staked!") | |
224 | 224 | else if ((ae != m)) | |
225 | 225 | then throw("This duckhouse is not yours!") | |
226 | 226 | else { | |
227 | 227 | let ag = p(j(g)) | |
228 | 228 | if ((ag == L())) | |
229 | 229 | then throw("No space in duck house left!") | |
230 | 230 | else { | |
231 | 231 | let ah = invoke(H(), "manipulateBoost", [N(), toBase58String(P)], nil) | |
232 | 232 | if ((ah == ah)) | |
233 | 233 | then { | |
234 | 234 | let ai = invoke(I(), C(), [af, true, k(D())], V.payments) | |
235 | 235 | if ((ai == ai)) | |
236 | 236 | then [IntegerEntry(j(g), (ag + 1)), StringEntry(h(toBase58String(P)), g)] | |
237 | 237 | else throw("Strict value is not equal to itself.") | |
238 | 238 | } | |
239 | 239 | else throw("Strict value is not equal to itself.") | |
240 | 240 | } | |
241 | 241 | } | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(V) | |
247 | 247 | func unstakeDuck (U) = { | |
248 | 248 | let g = T(U, V) | |
249 | 249 | if ((g == g)) | |
250 | 250 | then { | |
251 | 251 | let aj = t(invoke(I(), "unstakeNFT", [U], V.payments)) | |
252 | 252 | if ((aj == aj)) | |
253 | 253 | then { | |
254 | 254 | let ag = p(j(g)) | |
255 | 255 | if ((ag == 0)) | |
256 | 256 | then throw("You aren't staking any ducks!") | |
257 | 257 | else { | |
258 | 258 | let ak = invoke(H(), "manipulateBoost", [-(N()), U], nil) | |
259 | 259 | if ((ak == ak)) | |
260 | 260 | then [ScriptTransfer(V.caller, aj, J()), ScriptTransfer(V.caller, 1, fromBase58String(U)), DeleteEntry(h(U)), IntegerEntry(j(g), (ag - 1))] | |
261 | 261 | else throw("Strict value is not equal to itself.") | |
262 | 262 | } | |
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 | ||
269 | 269 | ||
270 | 270 | ||
271 | 271 | @Callable(V) | |
272 | 272 | func claimDuckRewards (U) = { | |
273 | 273 | let W = T(U, V) | |
274 | 274 | if ((W == W)) | |
275 | 275 | then { | |
276 | 276 | let al = t(invoke(I(), "claimReward", [U], V.payments)) | |
277 | 277 | if ((al == al)) | |
278 | 278 | then [ScriptTransfer(V.caller, al, J())] | |
279 | 279 | else throw("Strict value is not equal to itself.") | |
280 | 280 | } | |
281 | 281 | else throw("Strict value is not equal to itself.") | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | @Verifier(am) | |
286 | 286 | func an () = if (e()) | |
287 | 287 | then sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey) | |
288 | 288 | else { | |
289 | 289 | let ao = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
290 | 290 | let ap = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
291 | 291 | let aq = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
292 | 292 | let ar = if (sigVerify(am.bodyBytes, am.proofs[0], ao)) | |
293 | 293 | then 1 | |
294 | 294 | else if (sigVerify(am.bodyBytes, am.proofs[1], ao)) | |
295 | 295 | then 1 | |
296 | 296 | else if (sigVerify(am.bodyBytes, am.proofs[2], ao)) | |
297 | 297 | then 1 | |
298 | 298 | else 0 | |
299 | 299 | let as = if (sigVerify(am.bodyBytes, am.proofs[0], ap)) | |
300 | 300 | then 1 | |
301 | 301 | else if (sigVerify(am.bodyBytes, am.proofs[1], ap)) | |
302 | 302 | then 1 | |
303 | 303 | else if (sigVerify(am.bodyBytes, am.proofs[2], ap)) | |
304 | 304 | then 1 | |
305 | 305 | else 0 | |
306 | 306 | let at = if (sigVerify(am.bodyBytes, am.proofs[0], aq)) | |
307 | 307 | then 1 | |
308 | 308 | else if (sigVerify(am.bodyBytes, am.proofs[1], aq)) | |
309 | 309 | then 1 | |
310 | 310 | else if (sigVerify(am.bodyBytes, am.proofs[2], aq)) | |
311 | 311 | then 1 | |
312 | 312 | else 0 | |
313 | 313 | let au = ((ar + as) + at) | |
314 | 314 | let c = am | |
315 | 315 | (au >= 2) | |
316 | 316 | } | |
317 | 317 |
github/deemru/w8io/026f985 30.06 ms ◑