tx · 6JZgs1dsyWtEK4aNtnSp3gWwDKYrzfYBD3JDTWayHqyX 3N42qQ7BkB2WcuDQzYPsWXipsyrtgf5RM77: -0.01900000 Waves 2024.10.03 14:06 [3310591] smart account 3N42qQ7BkB2WcuDQzYPsWXipsyrtgf5RM77 > SELF 0.00000000 Waves
{ "type": 13, "id": "6JZgs1dsyWtEK4aNtnSp3gWwDKYrzfYBD3JDTWayHqyX", "fee": 1900000, "feeAssetId": null, "timestamp": 1727953635632, "version": 2, "chainId": 84, "sender": "3N42qQ7BkB2WcuDQzYPsWXipsyrtgf5RM77", "senderPublicKey": "HN1yN1QNf9gfvY9PWDHX74JTzGHSv5T97G7s4ab3hfjB", "proofs": [ "3dQnPERH8uezgNUvEV1JYW5ayKgKWQvTSHqazh8MrQ1Rpctt5g2AB2fStTyHCa1bZo272cZ4xoxnXc5rC6j7PHVb" ], "script": "base64:AAIFAAAAAAAAACMIAhIDCgEIEgUKAwgICBIECgIICBIDCgEBEgMKAQgSAwoBCAAAACMBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQkBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAABdzdGF0aWNLZXlfb3JhY2xlQWRkcmVzcwAAAAACAAAAFHN0YXRpY19vcmFjbGVBZGRyZXNzAQAAABJzdGF0aWNLZXlfZXh0cmFGZWUAAAAAAgAAAA9zdGF0aWNfZXh0cmFGZWUBAAAAF3N0YXRpY0tleV9mZWVBZ2dyZWdhdG9yAAAAAAIAAAAUc3RhdGljX2ZlZUFnZ3JlZ2F0b3IBAAAAFHN0YX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VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAGc3RhdHNfBQAAAAdmYXJtR2VuAgAAAAlfcXVhbnRpdHkJAABkAAAAAgkBAAAADXRyeUdldEludGVnZXIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAGc3RhdHNfBQAAAAdmYXJtR2VuAgAAAAlfcXVhbnRpdHkAAAAAAAAAAAEJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwFAAAAC2ZlZVZhbGlkYXRlCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5jjTkAg==", "height": 3310591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5JxA5xGxSigZre316JD3xM6UURg4zhn7CiBi4ZGvDqmM 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,c) = { | |
5 | 5 | let d = getString(b, c) | |
6 | 6 | if ($isInstanceOf(d, "String")) | |
7 | 7 | then { | |
8 | 8 | let e = d | |
9 | 9 | e | |
10 | 10 | } | |
11 | 11 | else "" | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f (c) = a(this, c) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func g () = "static_oracleAddress" | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func h () = "static_extraFee" | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func i () = "static_feeAggregator" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func j () = "static_eggAssetId" | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func k () = "static_refContractAddress" | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func l () = "static_turtleRebirthAddress" | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func m () = "static_canineRebirthAddress" | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func n () = "static_felineRebirthAddress" | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func o () = Address(fromBase58String(f(g()))) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func p () = Address(fromBase58String(a(o(), i()))) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func q () = fromBase58String(a(o(), j())) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func r () = Address(fromBase58String(a(o(), "static_burnAddress"))) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func s () = Address(fromBase58String(a(o(), k()))) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func t () = Address(fromBase58String(a(o(), l()))) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func u () = Address(fromBase58String(a(o(), m()))) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func v () = Address(fromBase58String(a(o(), n()))) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func w (x) = if (isDefined(x.assetId)) | |
67 | 67 | then throw("BDCAP: Please attach waves") | |
68 | 68 | else { | |
69 | 69 | let y = getIntegerValue(o(), h()) | |
70 | 70 | if ((x.amount != y)) | |
71 | 71 | then throw((("BDCAP: Please attach exactly " + toString(y)) + " amount of wavelets")) | |
72 | 72 | else [ScriptTransfer(p(), y, unit)] | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let z = 2 | |
77 | 77 | ||
78 | 78 | let A = "HATCHING_STARTED" | |
79 | 79 | ||
80 | 80 | let B = "HATCHING_FINISHED" | |
81 | 81 | ||
82 | 82 | func C () = { | |
83 | 83 | let D = Address(base58'3PEPftf2kWZDmAaWBjs6BUJa9957kiA2PkU') | |
84 | 84 | let d = getInteger(D, "egglock") | |
85 | 85 | if ($isInstanceOf(d, "Int")) | |
86 | 86 | then { | |
87 | 87 | let E = d | |
88 | 88 | E | |
89 | 89 | } | |
90 | 90 | else 0 | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func F (b,G) = (((b + "_") + toBase58String(G)) + "_status") | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func H (b,G) = (((b + "_") + toBase58String(G)) + "_fh") | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func I (b,G) = (((b + "_") + toBase58String(G)) + "_di") | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func J (K) = (("stats_" + K) + "_amount") | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func L (c) = { | |
107 | 107 | let M = { | |
108 | 108 | let d = getInteger(this, c) | |
109 | 109 | if ($isInstanceOf(d, "Int")) | |
110 | 110 | then { | |
111 | 111 | let E = d | |
112 | 112 | E | |
113 | 113 | } | |
114 | 114 | else 0 | |
115 | 115 | } | |
116 | 116 | M | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | let N = L("discountCoefficient") | |
121 | 121 | ||
122 | 122 | func O (P,G,Q,R) = { | |
123 | 123 | let S = value(blockInfoByHeight((Q - 1))) | |
124 | 124 | let T = sha256((G + value(S.vrf))) | |
125 | 125 | (toInt(T, (R * 8)) % P) | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func U (V) = { | |
130 | 130 | let W = [$Tuple2(("TRTL-AAAAAAAA-G" + V), "8A-G"), $Tuple2(("TRTL-BBBBBBBB-G" + V), "8B-G"), $Tuple2(("TRTL-CCCCCCCC-G" + V), "8C-G"), $Tuple2(("TRTL-DDDDDDDD-G" + V), "8D-G")] | |
131 | 131 | let X = [$Tuple2(("TRTL-EEEEEEEE-G" + V), "8E-G"), $Tuple2(("TRTL-FFFFFFFF-G" + V), "8F-G"), $Tuple2(("TRTL-GGGGGGGG-G" + V), "8G-G"), $Tuple2(("TRTL-HHHHHHHH-G" + V), "8H-G")] | |
132 | 132 | $Tuple2((W ++ X), X) | |
133 | 133 | } | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func Y (G,Q,Z) = { | |
137 | 137 | let aa = O(4, G, Q, 1) | |
138 | 138 | let V = ["R", "D", "S", "G"][aa] | |
139 | 139 | let ab = U(V) | |
140 | 140 | let ac = if (Z) | |
141 | 141 | then ab._1 | |
142 | 142 | else ab._2 | |
143 | 143 | let ad = O(size(ac), G, Q, 0) | |
144 | 144 | ac[ad] | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | let ae = (size(U("R")._1) - 1) | |
149 | 149 | ||
150 | 150 | func af (ag) = { | |
151 | 151 | let ah = ag | |
152 | 152 | let ai = N | |
153 | 153 | let aj = ae | |
154 | 154 | let ak = pow((100 + ((ah * ai) / (10 * aj))), 2, 5, 1, 2, DOWN) | |
155 | 155 | (ak * 1500000) | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func al (am) = { | |
160 | 160 | let d = am | |
161 | 161 | if ($isInstanceOf(d, "Boolean")) | |
162 | 162 | then { | |
163 | 163 | let an = d | |
164 | 164 | an | |
165 | 165 | } | |
166 | 166 | else throw("TI: wrong type, expected: Boolean") | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | @Callable(ao) | |
171 | 171 | func configureOracle (ap) = if ((ao.caller != this)) | |
172 | 172 | then throw("ICU: admin only") | |
173 | 173 | else [StringEntry("static_oracleAddress", ap)] | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(ao) | |
178 | 178 | func issueJackpot (b,aq,ar) = if (if ((ao.caller != t())) | |
179 | 179 | then (ao.caller != this) | |
180 | 180 | else false) | |
181 | 181 | then throw("ISJ: admin or rebirth only") | |
182 | 182 | else { | |
183 | 183 | let G = fromBase58String(aq) | |
184 | 184 | let as = F(b, G) | |
185 | 185 | let at = H(b, G) | |
186 | 186 | let au = L("turtle_amount") | |
187 | 187 | let av = af(au) | |
188 | 188 | let aw = $Tuple2((("TRTL-" + ar) + "-JU"), "8W-J") | |
189 | 189 | let ax = aw._1 | |
190 | 190 | let ay = aw._2 | |
191 | 191 | let az = (("{\"genotype\": \"" + ax) + "\", \"crossbreeding\": true}") | |
192 | 192 | let aA = Issue(ax, az, 1, 0, false, unit, height) | |
193 | 193 | let aB = calculateAssetId(aA) | |
194 | 194 | let aC = I(b, G) | |
195 | 195 | let aD = f(aC) | |
196 | 196 | if ((aD != "")) | |
197 | 197 | then throw((("ISJ: You will override following duckId :" + aC) + " make sure that your txId is unique!")) | |
198 | 198 | else $Tuple2([IntegerEntry(H(b, G), height), IntegerEntry("turtle_amount", (au + 1)), IntegerEntry("turtle_last_price", (av / 1000000)), StringEntry(as, B), StringEntry(aC, toBase58String(aB)), StringEntry(toBase58String(aB), aC), IntegerEntry(J(ax), (L(J(ax)) + 1)), IntegerEntry((("stats_" + ay) + "_quantity"), (L((("stats_" + ay) + "_quantity")) + 1)), aA, ScriptTransfer(value(addressFromString(b)), 1, aB)], toBase58String(aB)) | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(ao) | |
204 | 204 | func issueFreeTurtle (b,aq) = if (if (if ((ao.caller != t())) | |
205 | 205 | then (ao.caller != u()) | |
206 | 206 | else false) | |
207 | 207 | then (ao.caller != v()) | |
208 | 208 | else false) | |
209 | 209 | then throw("TISFT: rebirth only") | |
210 | 210 | else { | |
211 | 211 | let G = fromBase58String(aq) | |
212 | 212 | let as = F(b, G) | |
213 | 213 | let at = H(b, G) | |
214 | 214 | let au = L("turtle_amount") | |
215 | 215 | let av = af(au) | |
216 | 216 | let aE = Y(G, (valueOrErrorMessage(transactionHeightById(G), ((aq + " not found ") + toBase58String(G))) + 1), true) | |
217 | 217 | let aF = aE._1 | |
218 | 218 | let ay = aE._2 | |
219 | 219 | let az = (("{\"genotype\": \"" + aF) + "\", \"crossbreeding\": true}") | |
220 | 220 | let aA = Issue(aF, az, 1, 0, false, unit, height) | |
221 | 221 | let aB = calculateAssetId(aA) | |
222 | 222 | let aG = (L(J(aF)) + 1) | |
223 | 223 | let aC = I(b, G) | |
224 | 224 | $Tuple2([IntegerEntry(H(b, G), height), IntegerEntry("turtle_amount", (au + 1)), IntegerEntry("turtle_last_price", (av / 1500000)), StringEntry(as, B), StringEntry(aC, toBase58String(aB)), StringEntry(toBase58String(aB), aC), IntegerEntry(J(aF), aG), IntegerEntry((("stats_" + ay) + "_quantity"), (L((("stats_" + ay) + "_quantity")) + 1)), aA, ScriptTransfer(value(addressFromString(b)), 1, aB)], toBase58String(aB)) | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | ||
229 | 229 | @Callable(ao) | |
230 | 230 | func setDiscount (M) = if ((ao.caller != this)) | |
231 | 231 | then throw("admin_only") | |
232 | 232 | else [IntegerEntry("discountCoefficient", M)] | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | ||
236 | 236 | @Callable(ao) | |
237 | 237 | func startTRTLHatching (aH) = { | |
238 | 238 | let aI = w(ao.payments[0]) | |
239 | 239 | if ((aI == aI)) | |
240 | 240 | then if ((C() > 0)) | |
241 | 241 | then throw("EGG operations are temporarily locked") | |
242 | 242 | else { | |
243 | 243 | let aJ = L("turtle_amount") | |
244 | 244 | let av = af(aJ) | |
245 | 245 | let aK = [StringEntry(F(toString(ao.originCaller), ao.transactionId), A), IntegerEntry(H(toString(ao.originCaller), ao.transactionId), (height + z)), IntegerEntry("turtle_amount", (aJ + 1)), IntegerEntry("turtle_last_price", (av / 1500000))] | |
246 | 246 | let aL = av | |
247 | 247 | let x = if ((aL != 0)) | |
248 | 248 | then { | |
249 | 249 | let aM = value(ao.payments[1]) | |
250 | 250 | if ((aM.assetId != q())) | |
251 | 251 | then throw(("TI: You can attach only EGG tokens with the following asset id: " + toBase58String(q()))) | |
252 | 252 | else if ((aL > aM.amount)) | |
253 | 253 | then throw(((("TI: To buy a beach you currently need the following amount of EGGlets: " + toString(aL)) + " ") + toString(ao.caller))) | |
254 | 254 | else { | |
255 | 255 | let aN = fraction(aL, 5, 100) | |
256 | 256 | let aO = al(invoke(s(), "refPayment", [aH], [AttachedPayment(q(), aN)])) | |
257 | 257 | if ((aO == aO)) | |
258 | 258 | then { | |
259 | 259 | let aP = if (aO) | |
260 | 260 | then (aL - aN) | |
261 | 261 | else aL | |
262 | 262 | let aQ = invoke(r(), "burnAttachedPayments", nil, [AttachedPayment(q(), aP)]) | |
263 | 263 | if ((aQ == aQ)) | |
264 | 264 | then aL | |
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 | else 0 | |
271 | 271 | if ((x == x)) | |
272 | 272 | then { | |
273 | 273 | let aR = if ((size(ao.payments) == 2)) | |
274 | 274 | then [ScriptTransfer(ao.caller, (ao.payments[1].amount - aL), q())] | |
275 | 275 | else nil | |
276 | 276 | ((aK ++ aR) ++ aI) | |
277 | 277 | } | |
278 | 278 | else throw("Strict value is not equal to itself.") | |
279 | 279 | } | |
280 | 280 | else throw("Strict value is not equal to itself.") | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | ||
285 | 285 | @Callable(ao) | |
286 | 286 | func finishTRTLHatching (aq) = { | |
287 | 287 | let aI = w(ao.payments[0]) | |
288 | 288 | if ((aI == aI)) | |
289 | 289 | then { | |
290 | 290 | let G = fromBase58String(aq) | |
291 | 291 | let as = F(toString(ao.caller), G) | |
292 | 292 | let at = H(toString(ao.caller), G) | |
293 | 293 | let aS = I(toString(ao.caller), G) | |
294 | 294 | let aT = getStringValue(this, as) | |
295 | 295 | let Q = getIntegerValue(this, at) | |
296 | 296 | if ((aT == B)) | |
297 | 297 | then { | |
298 | 298 | let aU = getStringValue(this, I(toString(ao.caller), G)) | |
299 | 299 | throw(("The Turtle was hatched and claimed already, here is the folowing: " + aU)) | |
300 | 300 | } | |
301 | 301 | else if ((Q > height)) | |
302 | 302 | then throw((((("Hatching is not finished yet " + toString((Q - height))) + " blocks remaining, it will take around ") + toString((Q - height))) + " minutes")) | |
303 | 303 | else { | |
304 | 304 | let aV = Y(G, Q, false) | |
305 | 305 | let aF = aV._1 | |
306 | 306 | let ay = aV._2 | |
307 | 307 | let az = (("{\"genotype\": \"" + aF) + "\", \"crossbreeding\": true}") | |
308 | 308 | let aA = Issue(aF, az, 1, 0, false, unit, Q) | |
309 | 309 | let aB = calculateAssetId(aA) | |
310 | 310 | let aG = (L(J(aF)) + 1) | |
311 | 311 | ([StringEntry(as, B), StringEntry(aS, toBase58String(aB)), StringEntry(toBase58String(aB), aS), IntegerEntry(J(aF), aG), IntegerEntry((("stats_" + ay) + "_quantity"), (L((("stats_" + ay) + "_quantity")) + 1)), aA, ScriptTransfer(ao.caller, 1, aB)] ++ aI) | |
312 | 312 | } | |
313 | 313 | } | |
314 | 314 | else throw("Strict value is not equal to itself.") | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | @Verifier(aW) | |
319 | 319 | func aX () = sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
320 | 320 |
github/deemru/w8io/026f985 49.10 ms ◑