tx · J1dfTGD5c2L46L9o891ki6iC66cKaeUQu7W9v9EBhYag 3N1oZwpYE3p4x63jWiKpszmfLU3Lk3KtSWe: -0.01200000 Waves 2024.10.18 21:15 [3332586] smart account 3N1oZwpYE3p4x63jWiKpszmfLU3Lk3KtSWe > SELF 0.00000000 Waves
{ "type": 13, "id": "J1dfTGD5c2L46L9o891ki6iC66cKaeUQu7W9v9EBhYag", "fee": 1200000, "feeAssetId": null, "timestamp": 1729275368214, "version": 2, "chainId": 84, "sender": "3N1oZwpYE3p4x63jWiKpszmfLU3Lk3KtSWe", "senderPublicKey": "CqqNd9FdJdY64okp1oAAQ8z3kyrEcd6UKxtboqZgrSaP", "proofs": [ "U9ayhyCtLPcQHRJEVhFfGf8uAt9K1GkRLP4M17R6DLHqsPHMhZ9WG6ErQtPYJu5EBdXbbKMKvGqih5jpdSezxJL" ], "script": "base64:BgIRCAISAwoBCBIAEgQKAgQIEgAXAQdnZXRCb29sAQNrZXkEByRtYXRjaDAJAJsIAgUEdGhpcwUDa2V5AwkAAQIFByRtYXRjaDACB0Jvb2xlYW4EAWIFByRtYXRjaDAFAWIHAQlpc1Rlc3RFbnYACQEHZ2V0Qm9vbAECB1RFU1RFTlYBF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAIUc3RhdGljX29yYWNsZUFkZHJlc3MBGHN0YXRpY0tleV9icmVlZGVyQWRkcmVzcwACFXN0YXRpY19icmVlZGVyQWRkcmVzcwEWc3RhdGljS2V5X2l0ZW1zQWRkcmVzcwACE3N0YXRpY19pdGVtc0FkZHJlc3MBEnN0YXRpY0tleV9leHRyYUZlZQACD3N0YXRpY19leHRyYUZlZQEYc3RhdGljS2V5X2V4dHJhRmVlUmVtb3ZlAAIVc3RhdGljX2V4dHJhRmVlUmVtb3ZlARdzdGF0aWNLZXlfZmVlQWdncmVnYXRvcgACFHN0YXRpY19mZWVBZ2dyZWdhdG9yAAl3ZWFyYWJsZXMJAMwIAgIIQVJULUNBUEUJAMwIAgIHQV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nAgUPc2lnbmF0dXJlc0NvdW50AALeIUoS", "height": 3332586, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EnKXPiVbchaW82oGzZ23AuJYdyGQmfLVwfgFniQj4G8C Next: GcfYNFwa8wzERYTomDtNgdyEtAhTjfH3T5qHYn36Lcjz Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
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 () = "static_oracleAddress" | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func g () = "static_breederAddress" | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func h () = "static_itemsAddress" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func i () = "static_extraFee" | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func j () = "static_extraFeeRemove" | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func k () = "static_feeAggregator" | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | let l = ["ART-CAPE", "ART-HAT", "ART-XSCARF", "ART-XSWEATER"] | |
37 | 37 | ||
38 | 38 | func m (n,o) = ((n + "_") + o) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func p (n,q) = ((n + "_") + q) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func r (s,b) = { | |
45 | 45 | let c = getString(s, b) | |
46 | 46 | if ($isInstanceOf(c, "String")) | |
47 | 47 | then { | |
48 | 48 | let t = c | |
49 | 49 | t | |
50 | 50 | } | |
51 | 51 | else "" | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func u (b) = r(this, b) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func v (w) = { | |
59 | 59 | let c = w | |
60 | 60 | if ($isInstanceOf(c, "Int")) | |
61 | 61 | then { | |
62 | 62 | let x = c | |
63 | 63 | x | |
64 | 64 | } | |
65 | 65 | else throw("wrong type, expected: Int") | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func y (w) = { | |
70 | 70 | let c = w | |
71 | 71 | if ($isInstanceOf(c, "String")) | |
72 | 72 | then { | |
73 | 73 | let z = c | |
74 | 74 | z | |
75 | 75 | } | |
76 | 76 | else throw("wrong type, expected: String") | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func A () = Address(fromBase58String(u(f()))) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func B () = Address(fromBase58String(r(A(), g()))) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func C () = Address(fromBase58String(r(A(), h()))) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func D () = Address(fromBase58String(r(A(), k()))) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func E (F,G) = if (isDefined(F.assetId)) | |
93 | 93 | then throw("WCAP: Please attach waves") | |
94 | 94 | else { | |
95 | 95 | let H = if ((G != 0)) | |
96 | 96 | then G | |
97 | 97 | else getIntegerValue(A(), i()) | |
98 | 98 | if ((F.amount != H)) | |
99 | 99 | then throw((("WCAP: Please attach exactly " + toString(H)) + " amount of wavelets")) | |
100 | 100 | else [ScriptTransfer(D(), H, unit)] | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func I (J) = { | |
105 | 105 | let b = ("direct_cosmetic_" + J) | |
106 | 106 | let c = getInteger(C(), b) | |
107 | 107 | if ($isInstanceOf(c, "Int")) | |
108 | 108 | then { | |
109 | 109 | let t = c | |
110 | 110 | t | |
111 | 111 | } | |
112 | 112 | else unit | |
113 | 113 | } | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func K (o) = r(C(), ("type_cosmetic_" + o)) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func L (M,n) = { | |
120 | 120 | let N = y(invoke(C(), "checkArtefactDetails", [M], nil)) | |
121 | 121 | if ((N == N)) | |
122 | 122 | then if (if (!(containsElement(l, N))) | |
123 | 123 | then !(isDefined(I(N))) | |
124 | 124 | else false) | |
125 | 125 | then throw("WRITD: Unsupported wearable") | |
126 | 126 | else { | |
127 | 127 | let O = u(m(n, N)) | |
128 | 128 | let P = if ((N == "ART-XSCARF")) | |
129 | 129 | then invoke(C(), "manipulateBoost", [69, n], nil) | |
130 | 130 | else nil | |
131 | 131 | if ((P == P)) | |
132 | 132 | then if ((O != "")) | |
133 | 133 | then throw(("Duck is already wearing a " + N)) | |
134 | 134 | else { | |
135 | 135 | let q = K(N) | |
136 | 136 | let Q = if ((q != "")) | |
137 | 137 | then (u(p(n, q)) != "") | |
138 | 138 | else throw(("Type undefined, please contact admins " + N)) | |
139 | 139 | if (Q) | |
140 | 140 | then throw("You can only attach 1 from each type to your duck!") | |
141 | 141 | else { | |
142 | 142 | let R = if ((q != "")) | |
143 | 143 | then [StringEntry(p(n, q), M)] | |
144 | 144 | else nil | |
145 | 145 | ([StringEntry(m(n, N), M)] ++ R) | |
146 | 146 | } | |
147 | 147 | } | |
148 | 148 | else throw("Strict value is not equal to itself.") | |
149 | 149 | } | |
150 | 150 | else throw("Strict value is not equal to itself.") | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | @Callable(S) | |
155 | 155 | func configureOracle (T) = if ((S.caller != this)) | |
156 | 156 | then throw("admin only") | |
157 | 157 | else [StringEntry(f(), T)] | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | ||
161 | 161 | @Callable(S) | |
162 | 162 | func wearItemToDuck () = { | |
163 | 163 | let U = value(S.payments[0]) | |
164 | 164 | let V = value(S.payments[1]) | |
165 | 165 | let W = E(S.payments[2], 0) | |
166 | 166 | let n = toBase58String(value(U.assetId)) | |
167 | 167 | let X = toBase58String(value(V.assetId)) | |
168 | 168 | if (if ((U.amount != 1)) | |
169 | 169 | then true | |
170 | 170 | else (V.amount != 1)) | |
171 | 171 | then throw("WRITD: NFT is not attached") | |
172 | 172 | else { | |
173 | 173 | let Y = v(invoke(B(), "validateAndGetChildren", [n], nil)) | |
174 | 174 | if ((Y == Y)) | |
175 | 175 | then ((L(X, n) ++ [ScriptTransfer(S.caller, 1, U.assetId)]) ++ W) | |
176 | 176 | else throw("Strict value is not equal to itself.") | |
177 | 177 | } | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | ||
182 | 182 | @Callable(S) | |
183 | 183 | func removeItemFromDuck (Z,N) = { | |
184 | 184 | let aa = if (Z) | |
185 | 185 | then 0 | |
186 | 186 | else getIntegerValue(A(), j()) | |
187 | 187 | let ab = value(S.payments[0]) | |
188 | 188 | let ac = value(S.payments[1]) | |
189 | 189 | let W = E(S.payments[2], aa) | |
190 | 190 | let n = toBase58String(value(ab.assetId)) | |
191 | 191 | let ad = toBase58String(value(ac.assetId)) | |
192 | 192 | if (if ((ab.amount != 1)) | |
193 | 193 | then true | |
194 | 194 | else (ac.amount != 1)) | |
195 | 195 | then throw("WRITD: NFT is not attached") | |
196 | 196 | else { | |
197 | 197 | let Y = v(invoke(B(), "validateAndGetChildren", [n], nil)) | |
198 | 198 | if ((Y == Y)) | |
199 | 199 | then { | |
200 | 200 | let ae = y(invoke(C(), "checkArtefactDetails", [ad], nil)) | |
201 | 201 | if ((ae == ae)) | |
202 | 202 | then if ((ae != "ART-ROBODUCK")) | |
203 | 203 | then throw("Only rododuck can remove items!") | |
204 | 204 | else if (if (!(containsElement(l, N))) | |
205 | 205 | then !(isDefined(I(N))) | |
206 | 206 | else false) | |
207 | 207 | then throw("WRITD: Unsupported wearable") | |
208 | 208 | else { | |
209 | 209 | let O = u(m(n, N)) | |
210 | 210 | let P = if ((N == "ART-XSCARF")) | |
211 | 211 | then invoke(C(), "manipulateBoost", [69, n], nil) | |
212 | 212 | else nil | |
213 | 213 | if ((P == P)) | |
214 | 214 | then if ((O == "")) | |
215 | 215 | then throw(("Duck not wearing a " + N)) | |
216 | 216 | else { | |
217 | 217 | let q = K(N) | |
218 | 218 | let R = if ((q != "")) | |
219 | 219 | then [DeleteEntry(p(n, q))] | |
220 | 220 | else nil | |
221 | 221 | let af = if (Z) | |
222 | 222 | then [Burn(fromBase58String(O), 1)] | |
223 | 223 | else [ScriptTransfer(S.caller, 1, fromBase58String(O))] | |
224 | 224 | ((([DeleteEntry(m(n, N)), ScriptTransfer(S.caller, 1, ab.assetId), Burn(fromBase58String(ad), 1)] ++ af) ++ W) ++ R) | |
225 | 225 | } | |
226 | 226 | else throw("Strict value is not equal to itself.") | |
227 | 227 | } | |
228 | 228 | else throw("Strict value is not equal to itself.") | |
229 | 229 | } | |
230 | 230 | else throw("Strict value is not equal to itself.") | |
231 | 231 | } | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | ||
236 | 236 | @Callable(S) | |
237 | 237 | func wearXItemsToDuck () = { | |
238 | 238 | let W = E(S.payments[1], 0) | |
239 | 239 | if ((3 > size(S.payments))) | |
240 | 240 | then throw("WWXITD: Please attach at least 1 item and 1 duck!") | |
241 | 241 | else if ((size(S.payments) > 7)) | |
242 | 242 | then throw("WWXITD: You can only attach 5 items and one duck!") | |
243 | 243 | else { | |
244 | 244 | func ag (ah,F) = { | |
245 | 245 | let ai = indexOf(S.payments, F) | |
246 | 246 | if ((ai == 0)) | |
247 | 247 | then { | |
248 | 248 | let n = toBase58String(value(F.assetId)) | |
249 | 249 | if ((F.amount != 1)) | |
250 | 250 | then throw("WRITD: Duck is not attached") | |
251 | 251 | else { | |
252 | 252 | let Y = v(invoke(B(), "validateAndGetChildren", [n], nil)) | |
253 | 253 | if ((Y == Y)) | |
254 | 254 | then (ah ++ [ScriptTransfer(S.caller, 1, F.assetId)]) | |
255 | 255 | else throw("Strict value is not equal to itself.") | |
256 | 256 | } | |
257 | 257 | } | |
258 | 258 | else (ah ++ L(toBase58String(value(F.assetId)), toBase58String(value(S.payments[1].assetId)))) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ({ | |
262 | 262 | let aj = S.payments | |
263 | 263 | let ak = size(aj) | |
264 | 264 | let al = nil | |
265 | 265 | func am (an,ao) = if ((ao >= ak)) | |
266 | 266 | then an | |
267 | 267 | else ag(an, aj[ao]) | |
268 | 268 | ||
269 | 269 | func ap (an,ao) = if ((ao >= ak)) | |
270 | 270 | then an | |
271 | 271 | else throw("List size exceeds 6") | |
272 | 272 | ||
273 | 273 | ap(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6) | |
274 | 274 | } ++ W) | |
275 | 275 | } | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | @Verifier(aq) | |
280 | 280 | func ar () = if (e()) | |
281 | 281 | then sigVerify(aq.bodyBytes, aq.proofs[0], aq.senderPublicKey) | |
282 | 282 | else { | |
283 | 283 | let as = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
284 | 284 | let at = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
285 | 285 | let au = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
286 | 286 | let av = if (sigVerify(aq.bodyBytes, aq.proofs[0], as)) | |
287 | 287 | then 1 | |
288 | 288 | else if (sigVerify(aq.bodyBytes, aq.proofs[1], as)) | |
289 | 289 | then 1 | |
290 | 290 | else if (sigVerify(aq.bodyBytes, aq.proofs[2], as)) | |
291 | 291 | then 1 | |
292 | 292 | else 0 | |
293 | 293 | let aw = if (sigVerify(aq.bodyBytes, aq.proofs[0], at)) | |
294 | 294 | then 1 | |
295 | 295 | else if (sigVerify(aq.bodyBytes, aq.proofs[1], at)) | |
296 | 296 | then 1 | |
297 | 297 | else if (sigVerify(aq.bodyBytes, aq.proofs[2], at)) | |
298 | 298 | then 1 | |
299 | 299 | else 0 | |
300 | 300 | let ax = if (sigVerify(aq.bodyBytes, aq.proofs[0], au)) | |
301 | 301 | then 1 | |
302 | 302 | else if (sigVerify(aq.bodyBytes, aq.proofs[1], au)) | |
303 | 303 | then 1 | |
304 | 304 | else if (sigVerify(aq.bodyBytes, aq.proofs[2], au)) | |
305 | 305 | then 1 | |
306 | 306 | else 0 | |
307 | 307 | let ay = ((av + aw) + ax) | |
308 | 308 | let c = aq | |
309 | 309 | (ay >= 2) | |
310 | 310 | } | |
311 | 311 |
github/deemru/w8io/169f3d6 32.92 ms ◑