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:AAIFAAAAAAAAAB8IAhIECgIICBIAEgMKAQgSBAoCCAgSAwoBCBIDCgEIAAAAIQEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdEVudgAAAAAJAQAAAAdnZXRCb29sAAAAAQIAAAAHVEVTVEVOVgEAAAAIa2V5T3duZXIAAAABAAAAC2R1Y2tIb3VzZUlkCQABLAAAAAIFAAAAC2R1Y2tIb3VzZUlkAgAAAAZfb3duZXIBAAAADGtleUR1Y2tIb3VzZQAAAAEAAAAGZHVja0lkCQABLAAAAAIFAAAABmR1Y2tJZAIAAAALX2R1Y2tfaG91c2UBAAAAF29jY3VwaWVkU3BvdHNEdWNrc0hvdXNlAAAAAQAAAAtkdWNrSG91c2VJZAkAASwAAAACBQAAAAtkdWNrSG91c2VJZAIAAAANX2ZpbGxlZF9zcG90cwEAAAANdHJ5R2V0Qm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MJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACm81DwQ==", "height": 3311026, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CjytA6zJwgin2Fk1NAM4EN4WeytN8cqx5JpTJEuKpUfV Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getBoolean(this, b)
66 if ($isInstanceOf(c, "Boolean"))
77 then {
88 let d = c
99 d
1010 }
1111 else false
1212 }
1313
1414
1515 func e () = a("TESTENV")
1616
1717
1818 func f (g) = (g + "_owner")
1919
2020
2121 func h (i) = (i + "_duck_house")
2222
2323
2424 func j (g) = (g + "_filled_spots")
2525
2626
2727 func k (b) = {
2828 let c = getBoolean(b)
2929 if ($isInstanceOf(c, "Boolean"))
3030 then {
3131 let d = c
3232 d
3333 }
3434 else false
3535 }
3636
3737
3838 func l (m,b) = {
3939 let c = getString(m, b)
4040 if ($isInstanceOf(c, "String"))
4141 then {
4242 let n = c
4343 n
4444 }
4545 else ""
4646 }
4747
4848
4949 func o (b) = l(this, b)
5050
5151
5252 func p (b) = {
5353 let c = getInteger(this, b)
5454 if ($isInstanceOf(c, "Int"))
5555 then {
5656 let d = c
5757 d
5858 }
5959 else 0
6060 }
6161
6262
6363 func q (r) = {
6464 let c = r
6565 if ($isInstanceOf(c, "String"))
6666 then {
6767 let s = c
6868 s
6969 }
7070 else throw("wrong type, expected: String")
7171 }
7272
7373
7474 func t (r) = {
7575 let c = r
7676 if ($isInstanceOf(c, "Int"))
7777 then {
7878 let u = c
7979 u
8080 }
8181 else throw("wrong type, expected: Int")
8282 }
8383
8484
8585 func v () = "static_oracleAddress"
8686
8787
8888 func w () = "static_itemsAddress"
8989
9090
9191 func x () = "static_extraFee"
9292
9393
9494 func y () = "static_feeAggregator"
9595
9696
9797 func z () = "static_eggAssetId"
9898
9999
100100 func A () = "static_farmingAddressNew"
101101
102102
103103 func B () = "static_maxDucks"
104104
105105
106106 func C () = "stakeNFT"
107107
108108
109109 func D () = "static_without_perch"
110110
111111
112112 func E () = "static_type"
113113
114114
115115 func F () = "static_boost"
116116
117117
118118 func G () = Address(fromBase58String(o(v())))
119119
120120
121121 func H () = Address(fromBase58String(l(G(), w())))
122122
123123
124124 func I () = Address(fromBase58String(l(G(), A())))
125125
126126
127127 func J () = fromBase58String(l(G(), z()))
128128
129129
130130 func K () = Address(fromBase58String(l(G(), y())))
131131
132132
133133 func L () = p(B())
134134
135135
136136 func M () = o(E())
137137
138138
139139 func N () = p(F())
140140
141141
142142 func O (P) = (takeRight(value(value(assetInfo(P)).name), 1) == "U")
143143
144144
145145 func Q (R) = if (isDefined(R.assetId))
146146 then throw("WCAP: Please attach waves")
147147 else {
148148 let S = getIntegerValue(G(), x())
149149 if ((R.amount != S))
150150 then throw((("WCAP: Please attach exactly " + toString(S)) + " amount of wavelets"))
151151 else [ScriptTransfer(K(), S, unit)]
152152 }
153153
154154
155155 func T (U,V) = {
156156 let g = o(h(U))
157157 let W = o(f(g))
158158 let m = toString(V.caller)
159159 if ((W != m))
160160 then throw("Don't try to steal someone duck!")
161161 else g
162162 }
163163
164164
165165 @Callable(V)
166166 func configureOracle (X,M) = if ((V.caller != this))
167167 then throw("admin only")
168168 else {
169169 let Y = if ((M == "ART-BIGHOUSE"))
170170 then [IntegerEntry(F(), 15), IntegerEntry(B(), 10), BooleanEntry(D(), true)]
171171 else if ((M == "ART-HOUSE"))
172172 then [IntegerEntry(F(), 30), IntegerEntry(B(), 4), BooleanEntry(D(), false)]
173173 else if ((M == "ART-XMAS_STBLE"))
174174 then [IntegerEntry(F(), 5), IntegerEntry(B(), 6), BooleanEntry(D(), false)]
175175 else throw("Unknown type!")
176176 ([StringEntry(v(), X), StringEntry(E(), M)] ++ Y)
177177 }
178178
179179
180180
181181 @Callable(V)
182182 func stakeDuckHouse () = {
183183 let W = toString(V.caller)
184184 let Z = value(V.payments[0])
185185 let aa = Q(V.payments[1])
186186 let ab = toBase58String(value(Z.assetId))
187187 if ((Z.amount != 1))
188188 then throw("NFT is not attached")
189189 else {
190190 let ac = q(invoke(H(), "checkArtefactDetails", [ab], nil))
191191 if ((ac == ac))
192192 then if ((ac != M()))
193193 then throw("Wrong artefact")
194194 else ([StringEntry(f(ab), W)] ++ aa)
195195 else throw("Strict value is not equal to itself.")
196196 }
197197 }
198198
199199
200200
201201 @Callable(V)
202202 func unstakeDuckHouse (g) = {
203203 let ad = toString(V.caller)
204204 let ae = o(f(g))
205205 let aa = Q(V.payments[0])
206206 if ((ae == ""))
207207 then throw("This duckhouse is not staked!")
208208 else if ((ae != ad))
209209 then throw("This duckhouse is not yours!")
210210 else if ((p(j(g)) != 0))
211211 then throw("Please first remove your ducks from the duckhouse")
212212 else ([ScriptTransfer(V.caller, 1, fromBase58String(g)), DeleteEntry(f(g))] ++ aa)
213213 }
214214
215215
216216
217217 @Callable(V)
218218 func stakeDuck (g,af) = {
219219 let P = value(value(V.payments[1]).assetId)
220220 let m = toString(V.caller)
221221 let ae = o(f(g))
222222 if ((ae == ""))
223223 then throw("This duckhouse is not staked!")
224224 else if ((ae != m))
225225 then throw("This duckhouse is not yours!")
226226 else {
227227 let ag = p(j(g))
228228 if ((ag == L()))
229229 then throw("No space in duck house left!")
230230 else {
231231 let ah = invoke(H(), "manipulateBoost", [N(), toBase58String(P)], nil)
232232 if ((ah == ah))
233233 then {
234234 let ai = invoke(I(), C(), [af, true, k(D())], V.payments)
235235 if ((ai == ai))
236236 then [IntegerEntry(j(g), (ag + 1)), StringEntry(h(toBase58String(P)), g)]
237237 else throw("Strict value is not equal to itself.")
238238 }
239239 else throw("Strict value is not equal to itself.")
240240 }
241241 }
242242 }
243243
244244
245245
246246 @Callable(V)
247247 func unstakeDuck (U) = {
248248 let g = T(U, V)
249249 if ((g == g))
250250 then {
251251 let aj = t(invoke(I(), "unstakeNFT", [U], V.payments))
252252 if ((aj == aj))
253253 then {
254254 let ag = p(j(g))
255255 if ((ag == 0))
256256 then throw("You aren't staking any ducks!")
257257 else {
258258 let ak = invoke(H(), "manipulateBoost", [-(N()), U], nil)
259259 if ((ak == ak))
260260 then [ScriptTransfer(V.caller, aj, J()), ScriptTransfer(V.caller, 1, fromBase58String(U)), DeleteEntry(h(U)), IntegerEntry(j(g), (ag - 1))]
261261 else throw("Strict value is not equal to itself.")
262262 }
263263 }
264264 else throw("Strict value is not equal to itself.")
265265 }
266266 else throw("Strict value is not equal to itself.")
267267 }
268268
269269
270270
271271 @Callable(V)
272272 func claimDuckRewards (U) = {
273273 let W = T(U, V)
274274 if ((W == W))
275275 then {
276276 let al = t(invoke(I(), "claimReward", [U], V.payments))
277277 if ((al == al))
278278 then [ScriptTransfer(V.caller, al, J())]
279279 else throw("Strict value is not equal to itself.")
280280 }
281281 else throw("Strict value is not equal to itself.")
282282 }
283283
284284
285285 @Verifier(am)
286286 func an () = if (e())
287287 then sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
288288 else {
289289 let ao = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
290290 let ap = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
291291 let aq = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
292292 let ar = if (sigVerify(am.bodyBytes, am.proofs[0], ao))
293293 then 1
294294 else if (sigVerify(am.bodyBytes, am.proofs[1], ao))
295295 then 1
296296 else if (sigVerify(am.bodyBytes, am.proofs[2], ao))
297297 then 1
298298 else 0
299299 let as = if (sigVerify(am.bodyBytes, am.proofs[0], ap))
300300 then 1
301301 else if (sigVerify(am.bodyBytes, am.proofs[1], ap))
302302 then 1
303303 else if (sigVerify(am.bodyBytes, am.proofs[2], ap))
304304 then 1
305305 else 0
306306 let at = if (sigVerify(am.bodyBytes, am.proofs[0], aq))
307307 then 1
308308 else if (sigVerify(am.bodyBytes, am.proofs[1], aq))
309309 then 1
310310 else if (sigVerify(am.bodyBytes, am.proofs[2], aq))
311311 then 1
312312 else 0
313313 let au = ((ar + as) + at)
314314 let c = am
315315 (au >= 2)
316316 }
317317

github/deemru/w8io/026f985 
30.06 ms