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