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