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:AAIFAAAAAAAAACMIAhIDCgEIEgUKAwgICBIECgIICBIDCgEBEgMKAQgSAwoBCAAAACMBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQkBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAABdzdGF0aWNLZXlfb3JhY2xlQWRkcmVzcwAAAAACAAAAFHN0YXRpY19vcmFjbGVBZGRyZXNzAQAAABJzdGF0aWNLZXlfZXh0cmFGZWUAAAAAAgAAAA9zdGF0aWNfZXh0cmFGZWUBAAAAF3N0YXRpY0tleV9mZWVBZ2dyZWdhdG9yAAAAAAIAAAAUc3RhdGljX2ZlZUFnZ3JlZ2F0b3IBAAAAFHN0Y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2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAGc3RhdHNfBQAAAAdmYXJtR2VuAgAAAAlfcXVhbnRpdHkJAABkAAAAAgkBAAAADXRyeUdldEludGVnZXIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAGc3RhdHNfBQAAAAdmYXJtR2VuAgAAAAlfcXVhbnRpdHkAAAAAAAAAAAEJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwFAAAAC2ZlZVZhbGlkYXRlCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5jjTkAg==", "height": 3310591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5JxA5xGxSigZre316JD3xM6UURg4zhn7CiBi4ZGvDqmM Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = {
55 let d = getString(b, c)
66 if ($isInstanceOf(d, "String"))
77 then {
88 let e = d
99 e
1010 }
1111 else ""
1212 }
1313
1414
1515 func f (c) = a(this, c)
1616
1717
1818 func g () = "static_oracleAddress"
1919
2020
2121 func h () = "static_extraFee"
2222
2323
2424 func i () = "static_feeAggregator"
2525
2626
2727 func j () = "static_eggAssetId"
2828
2929
3030 func k () = "static_refContractAddress"
3131
3232
3333 func l () = "static_turtleRebirthAddress"
3434
3535
3636 func m () = "static_canineRebirthAddress"
3737
3838
3939 func n () = "static_felineRebirthAddress"
4040
4141
4242 func o () = Address(fromBase58String(f(g())))
4343
4444
4545 func p () = Address(fromBase58String(a(o(), i())))
4646
4747
4848 func q () = fromBase58String(a(o(), j()))
4949
5050
5151 func r () = Address(fromBase58String(a(o(), "static_burnAddress")))
5252
5353
5454 func s () = Address(fromBase58String(a(o(), k())))
5555
5656
5757 func t () = Address(fromBase58String(a(o(), l())))
5858
5959
6060 func u () = Address(fromBase58String(a(o(), m())))
6161
6262
6363 func v () = Address(fromBase58String(a(o(), n())))
6464
6565
6666 func w (x) = if (isDefined(x.assetId))
6767 then throw("BDCAP: Please attach waves")
6868 else {
6969 let y = getIntegerValue(o(), h())
7070 if ((x.amount != y))
7171 then throw((("BDCAP: Please attach exactly " + toString(y)) + " amount of wavelets"))
7272 else [ScriptTransfer(p(), y, unit)]
7373 }
7474
7575
7676 let z = 2
7777
7878 let A = "HATCHING_STARTED"
7979
8080 let B = "HATCHING_FINISHED"
8181
8282 func C () = {
8383 let D = Address(base58'3PEPftf2kWZDmAaWBjs6BUJa9957kiA2PkU')
8484 let d = getInteger(D, "egglock")
8585 if ($isInstanceOf(d, "Int"))
8686 then {
8787 let E = d
8888 E
8989 }
9090 else 0
9191 }
9292
9393
9494 func F (b,G) = (((b + "_") + toBase58String(G)) + "_status")
9595
9696
9797 func H (b,G) = (((b + "_") + toBase58String(G)) + "_fh")
9898
9999
100100 func I (b,G) = (((b + "_") + toBase58String(G)) + "_di")
101101
102102
103103 func J (K) = (("stats_" + K) + "_amount")
104104
105105
106106 func L (c) = {
107107 let M = {
108108 let d = getInteger(this, c)
109109 if ($isInstanceOf(d, "Int"))
110110 then {
111111 let E = d
112112 E
113113 }
114114 else 0
115115 }
116116 M
117117 }
118118
119119
120120 let N = L("discountCoefficient")
121121
122122 func O (P,G,Q,R) = {
123123 let S = value(blockInfoByHeight((Q - 1)))
124124 let T = sha256((G + value(S.vrf)))
125125 (toInt(T, (R * 8)) % P)
126126 }
127127
128128
129129 func U (V) = {
130130 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")]
131131 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")]
132132 $Tuple2((W ++ X), X)
133133 }
134134
135135
136136 func Y (G,Q,Z) = {
137137 let aa = O(4, G, Q, 1)
138138 let V = ["R", "D", "S", "G"][aa]
139139 let ab = U(V)
140140 let ac = if (Z)
141141 then ab._1
142142 else ab._2
143143 let ad = O(size(ac), G, Q, 0)
144144 ac[ad]
145145 }
146146
147147
148148 let ae = (size(U("R")._1) - 1)
149149
150150 func af (ag) = {
151151 let ah = ag
152152 let ai = N
153153 let aj = ae
154154 let ak = pow((100 + ((ah * ai) / (10 * aj))), 2, 5, 1, 2, DOWN)
155155 (ak * 1500000)
156156 }
157157
158158
159159 func al (am) = {
160160 let d = am
161161 if ($isInstanceOf(d, "Boolean"))
162162 then {
163163 let an = d
164164 an
165165 }
166166 else throw("TI: wrong type, expected: Boolean")
167167 }
168168
169169
170170 @Callable(ao)
171171 func configureOracle (ap) = if ((ao.caller != this))
172172 then throw("ICU: admin only")
173173 else [StringEntry("static_oracleAddress", ap)]
174174
175175
176176
177177 @Callable(ao)
178178 func issueJackpot (b,aq,ar) = if (if ((ao.caller != t()))
179179 then (ao.caller != this)
180180 else false)
181181 then throw("ISJ: admin or rebirth only")
182182 else {
183183 let G = fromBase58String(aq)
184184 let as = F(b, G)
185185 let at = H(b, G)
186186 let au = L("turtle_amount")
187187 let av = af(au)
188188 let aw = $Tuple2((("TRTL-" + ar) + "-JU"), "8W-J")
189189 let ax = aw._1
190190 let ay = aw._2
191191 let az = (("{\"genotype\": \"" + ax) + "\", \"crossbreeding\": true}")
192192 let aA = Issue(ax, az, 1, 0, false, unit, height)
193193 let aB = calculateAssetId(aA)
194194 let aC = I(b, G)
195195 let aD = f(aC)
196196 if ((aD != ""))
197197 then throw((("ISJ: You will override following duckId :" + aC) + " make sure that your txId is unique!"))
198198 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))
199199 }
200200
201201
202202
203203 @Callable(ao)
204204 func issueFreeTurtle (b,aq) = if (if (if ((ao.caller != t()))
205205 then (ao.caller != u())
206206 else false)
207207 then (ao.caller != v())
208208 else false)
209209 then throw("TISFT: rebirth only")
210210 else {
211211 let G = fromBase58String(aq)
212212 let as = F(b, G)
213213 let at = H(b, G)
214214 let au = L("turtle_amount")
215215 let av = af(au)
216216 let aE = Y(G, (valueOrErrorMessage(transactionHeightById(G), ((aq + " not found ") + toBase58String(G))) + 1), true)
217217 let aF = aE._1
218218 let ay = aE._2
219219 let az = (("{\"genotype\": \"" + aF) + "\", \"crossbreeding\": true}")
220220 let aA = Issue(aF, az, 1, 0, false, unit, height)
221221 let aB = calculateAssetId(aA)
222222 let aG = (L(J(aF)) + 1)
223223 let aC = I(b, G)
224224 $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))
225225 }
226226
227227
228228
229229 @Callable(ao)
230230 func setDiscount (M) = if ((ao.caller != this))
231231 then throw("admin_only")
232232 else [IntegerEntry("discountCoefficient", M)]
233233
234234
235235
236236 @Callable(ao)
237237 func startTRTLHatching (aH) = {
238238 let aI = w(ao.payments[0])
239239 if ((aI == aI))
240240 then if ((C() > 0))
241241 then throw("EGG operations are temporarily locked")
242242 else {
243243 let aJ = L("turtle_amount")
244244 let av = af(aJ)
245245 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))]
246246 let aL = av
247247 let x = if ((aL != 0))
248248 then {
249249 let aM = value(ao.payments[1])
250250 if ((aM.assetId != q()))
251251 then throw(("TI: You can attach only EGG tokens with the following asset id: " + toBase58String(q())))
252252 else if ((aL > aM.amount))
253253 then throw(((("TI: To buy a beach you currently need the following amount of EGGlets: " + toString(aL)) + " ") + toString(ao.caller)))
254254 else {
255255 let aN = fraction(aL, 5, 100)
256256 let aO = al(invoke(s(), "refPayment", [aH], [AttachedPayment(q(), aN)]))
257257 if ((aO == aO))
258258 then {
259259 let aP = if (aO)
260260 then (aL - aN)
261261 else aL
262262 let aQ = invoke(r(), "burnAttachedPayments", nil, [AttachedPayment(q(), aP)])
263263 if ((aQ == aQ))
264264 then aL
265265 else throw("Strict value is not equal to itself.")
266266 }
267267 else throw("Strict value is not equal to itself.")
268268 }
269269 }
270270 else 0
271271 if ((x == x))
272272 then {
273273 let aR = if ((size(ao.payments) == 2))
274274 then [ScriptTransfer(ao.caller, (ao.payments[1].amount - aL), q())]
275275 else nil
276276 ((aK ++ aR) ++ aI)
277277 }
278278 else throw("Strict value is not equal to itself.")
279279 }
280280 else throw("Strict value is not equal to itself.")
281281 }
282282
283283
284284
285285 @Callable(ao)
286286 func finishTRTLHatching (aq) = {
287287 let aI = w(ao.payments[0])
288288 if ((aI == aI))
289289 then {
290290 let G = fromBase58String(aq)
291291 let as = F(toString(ao.caller), G)
292292 let at = H(toString(ao.caller), G)
293293 let aS = I(toString(ao.caller), G)
294294 let aT = getStringValue(this, as)
295295 let Q = getIntegerValue(this, at)
296296 if ((aT == B))
297297 then {
298298 let aU = getStringValue(this, I(toString(ao.caller), G))
299299 throw(("The Turtle was hatched and claimed already, here is the folowing: " + aU))
300300 }
301301 else if ((Q > height))
302302 then throw((((("Hatching is not finished yet " + toString((Q - height))) + " blocks remaining, it will take around ") + toString((Q - height))) + " minutes"))
303303 else {
304304 let aV = Y(G, Q, false)
305305 let aF = aV._1
306306 let ay = aV._2
307307 let az = (("{\"genotype\": \"" + aF) + "\", \"crossbreeding\": true}")
308308 let aA = Issue(aF, az, 1, 0, false, unit, Q)
309309 let aB = calculateAssetId(aA)
310310 let aG = (L(J(aF)) + 1)
311311 ([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)
312312 }
313313 }
314314 else throw("Strict value is not equal to itself.")
315315 }
316316
317317
318318 @Verifier(aW)
319319 func aX () = sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
320320

github/deemru/w8io/026f985 
49.10 ms