tx · 3xMLPvYyVihhARpCLDq25tzEGLB6N4o9qKxvtjuUGa64

3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh:  -0.05000000 Waves

2021.08.19 14:03 [1665146] smart account 3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh > SELF 0.00000000 Waves

{ "type": 13, "id": "3xMLPvYyVihhARpCLDq25tzEGLB6N4o9qKxvtjuUGa64", "fee": 5000000, "feeAssetId": null, "timestamp": 1629371050123, "version": 2, "chainId": 84, "sender": "3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh", "senderPublicKey": "6r8zYctv2wqVaDctJMYvewjk2Hs2k3MSmcW63GbU1jx9", "proofs": [ "82AF2Hj6NPR27BMm3F9GX9dYy4fZTAywzCi44eia4nJverekH2xQwnpGcuB1mgwacHsT4SXQZCvm5QrS2rrk4JS" ], "script": "base64:AAIFAAAAAAAAABwIAhIAEgMKAQgSBAoCCAgSBQoDCAgIEgQKAggIAAAAEgAAAAALZWdnc0Fzc2V0SWQBAAAAICUCZcz3BGjIvgFZkXjlWFo4ZhQTrUpMSrf+BRdIFxaDAAAAABBkZWxheUZvckhhdGNoaW5nAAAAAAAAAAAAAAAAABNkaXNjb3VudENvZWZmaWNpZW50AAAAAAAAAAAKAAAAAAt0eXBlc0Ftb3VudAAAAAAAAAAABgAAAAAScmVmQ29udHJhY3RBZGRyZXNzAQAAABoBV0m6fUK8n7ARhcHKmKrWNO3wC83v6MPupQAAAAANUmVmZXJlclJld2FyZAAAAAAAAAAABQAAAAAPSGF0Y2hpbmdTdGFydGVkAgAAABBIQVRDSElOR19TVEFSVEVEAAAAABBIYXRjaGluZ0ZpbmlzaGVkAgAAABFIQVRDSElOR19GSU5JU0hFRAAAAAAOcmViaXJ0aEFkZHJlc3MBAAAAGgFXcJF11J7rej4f+WQAMMjcRl1cmkTfdcL3AQAAABRnZXRIYXRjaGluZ1N0YXR1c0tleQAAAAIAAAAHYWRkcmVzcwAAAAR0eElkCQABLAAAAAIJAAEs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WFkbWluIG9yIHJlYmlydGggb25seQQAAAAHZHVja0dlbggJAQAAAAV2YWx1ZQAAAAEJAAPsAAAAAQUAAAAFYXNzZXQAAAAEbmFtZQQAAAAGbGV0dGVyCQEAAAAJdGFrZVJpZ2h0AAAAAgkAAS8AAAACBQAAAAdkdWNrR2VuAAAAAAAAAAAGAAAAAAAAAAABBAAAAAdmYXJtR2VuCQABLAAAAAIJAAEsAAAAAgIAAAABOAUAAAAGbGV0dGVyAgAAAAItRwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAAD2dldER1Y2tTdGF0c0tleQAAAAEFAAAAB2R1Y2tHZW4JAABlAAAAAgkBAAAADXRyeUdldEludGVnZXIAAAABCQEAAAAPZ2V0RHVja1N0YXRzS2V5AAAAAQUAAAAHZHVja0dlbgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAABnN0YXRzXwUAAAAHZmFybUdlbgIAAAAJX3F1YW50aXR5CQAAZQAAAAIJAQAAAA10cnlHZXRJbnRlZ2VyAAAAAQkAASwAAAACCQABLAAAAAICAAAABnN0YXRzXwUAAAAHZmFybUdlbgIAAAAJX3F1YW50aXR5AAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZTYNtw=", "height": 1665146, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CEhXuregiX9dBroxNWgYqfWZ3KDquLWk7KLXtNuYxgyL Next: GvEsTy9x3pyB5x8JaVRSQrawksERYXjJYxAMb3j2FWSQ Diff:
OldNewDifferences
7171 else if ((G == 2))
7272 then "B"
7373 else "R"
74- $Tuple2(("DUCK-DDDDDDDD-G" + H), "8D-G")
74+ $Tuple2(("DUCK-EEEEEEEE-G" + H), "8E-G")
7575 }
7676 }
7777
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'3VUCuh9dWqe54SdzzNUkXhFXpc8UQynnJVh42B7MjNzN'
55
66 let b = 0
77
88 let c = 10
99
1010 let d = 6
1111
1212 let e = base58'3P8ejTkfRpz9WqCwCuihesNXU5k3zmFFfVe'
1313
1414 let f = 5
1515
1616 let g = "HATCHING_STARTED"
1717
1818 let h = "HATCHING_FINISHED"
1919
2020 let i = base58'3PCC6fVHNa6289DTDmcUo3RuLaFmteZZsmQ'
2121
2222 func j (k,l) = (((k + "_") + toBase58String(l)) + "_status")
2323
2424
2525 func m (k,l) = (((k + "_") + toBase58String(l)) + "_fh")
2626
2727
2828 func n (k,l) = (((k + "_") + toBase58String(l)) + "_di")
2929
3030
3131 func o (p) = (("stats_" + p) + "_amount")
3232
3333
3434 func q (r) = {
3535 let s = {
3636 let t = getInteger(this, r)
3737 if ($isInstanceOf(t, "Int"))
3838 then {
3939 let u = t
4040 u
4141 }
4242 else 0
4343 }
4444 s
4545 }
4646
4747
4848 func v (w,l,x,y) = {
4949 let z = value(blockInfoByHeight((x - 1)))
5050 let A = sha256((l + value(z.vrf)))
5151 (toInt(A, (y * 8)) % w)
5252 }
5353
5454
5555 func B (C) = q(o(C))
5656
5757
5858 func D (l,x) = {
5959 let E = v(500, l, x, 0)
6060 if (if ((E == 1))
6161 then (B("DUCK-WWWWWWWW-JU") == 0)
6262 else false)
6363 then $Tuple2("DUCK-WWWWWWWW-JU", "8W-J")
6464 else {
6565 let F = v(4, l, x, 0)
6666 let G = v(4, l, x, 1)
6767 let H = if ((G == 0))
6868 then "Y"
6969 else if ((G == 1))
7070 then "G"
7171 else if ((G == 2))
7272 then "B"
7373 else "R"
74- $Tuple2(("DUCK-DDDDDDDD-G" + H), "8D-G")
74+ $Tuple2(("DUCK-EEEEEEEE-G" + H), "8E-G")
7575 }
7676 }
7777
7878
7979 func I (J) = {
8080 let K = J
8181 let L = c
8282 let M = d
8383 let N = pow((100 + ((K * L) / (10 * M))), 2, 5, 1, 2, DOWN)
8484 N
8585 }
8686
8787
8888 @Callable(O)
8989 func startDuckHatching () = {
9090 let J = q("ducks_amount")
9191 let P = I(J)
9292 let Q = value(O.payments[0])
9393 if ((Q.assetId != a))
9494 then throw(("You can attach only EGG tokens with the following asset id: " + toBase58String(a)))
9595 else if ((P > Q.amount))
9696 then throw(("To hatch a duck you currently need the following amount of EGGlets: " + toString(P)))
9797 else {
9898 let R = ((Q.amount / 100) * f)
9999 [StringEntry(j(toString(O.caller), O.transactionId), g), IntegerEntry(m(toString(O.caller), O.transactionId), (height + b)), IntegerEntry("ducks_amount", (J + 1)), IntegerEntry("ducks_last_price", P), ScriptTransfer(O.caller, (Q.amount - P), a)]
100100 }
101101 }
102102
103103
104104
105105 @Callable(O)
106106 func finishDuckHatching (S) = {
107107 let l = fromBase58String(S)
108108 let T = j(toString(O.caller), l)
109109 let U = m(toString(O.caller), l)
110110 let V = n(toString(O.caller), l)
111111 let W = getStringValue(this, T)
112112 let x = getIntegerValue(this, U)
113113 if ((W == h))
114114 then {
115115 let X = getStringValue(this, n(toString(O.caller), l))
116116 throw(("The duck was hatched and claimed already, here is the folowing: " + X))
117117 }
118118 else if ((x > height))
119119 then throw((((("Hatching is not finished yet " + toString((x - height))) + " blocks remaining, it will take around ") + toString((x - height))) + " minutes"))
120120 else {
121121 let Y = D(l, x)
122122 let Z = Y._1
123123 let aa = Y._2
124124 let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}")
125125 let ac = Issue(Z, ab, 1, 0, false, unit, x)
126126 let ad = calculateAssetId(ac)
127127 let ae = (q(o(Z)) + 1)
128128 [StringEntry(T, h), StringEntry(V, toBase58String(ad)), StringEntry(toBase58String(ad), V), IntegerEntry(o(Z), ae), IntegerEntry((("stats_" + aa) + "_quantity"), (q((("stats_" + aa) + "_quantity")) + 1)), ac, ScriptTransfer(O.caller, 1, ad)]
129129 }
130130 }
131131
132132
133133
134134 @Callable(O)
135135 func issueFreeDuck (k,S) = if ((O.caller != Address(i)))
136136 then throw("rebirth only")
137137 else {
138138 let l = fromBase58String(S)
139139 let T = j(k, l)
140140 let U = m(k, l)
141141 let J = q("ducks_amount")
142142 let P = I(J)
143143 let af = D(l, height)
144144 let Z = af._1
145145 let aa = af._2
146146 let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}")
147147 let ac = Issue(Z, ab, 1, 0, false, unit, height)
148148 let ad = calculateAssetId(ac)
149149 let ae = (q(o(Z)) + 1)
150150 let V = n(k, l)
151151 $Tuple2([IntegerEntry(m(k, l), height), IntegerEntry("ducks_amount", (J + 1)), IntegerEntry("ducks_last_price", P), StringEntry(T, h), StringEntry(V, toBase58String(ad)), StringEntry(toBase58String(ad), V), IntegerEntry(o(Z), ae), IntegerEntry((("stats_" + aa) + "_quantity"), (q((("stats_" + aa) + "_quantity")) + 1)), ac, ScriptTransfer(value(addressFromString(k)), 1, ad)], toBase58String(ad))
152152 }
153153
154154
155155
156156 @Callable(O)
157157 func issueJackpot (k,S,C) = if (if ((O.caller != Address(i)))
158158 then (O.caller != this)
159159 else false)
160160 then throw("admin or rebirth only")
161161 else {
162162 let l = fromBase58String(S)
163163 let T = j(k, l)
164164 let U = m(k, l)
165165 let J = q("ducks_amount")
166166 let P = I(J)
167167 let ag = $Tuple2((("DUCK-" + C) + "-JU"), "8W-J")
168168 let Z = ag._1
169169 let aa = ag._2
170170 let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}")
171171 let ac = Issue(Z, ab, 1, 0, false, unit, height)
172172 let ad = calculateAssetId(ac)
173173 let V = n(k, l)
174174 $Tuple2([IntegerEntry(m(k, l), height), IntegerEntry("ducks_amount", (J + 1)), IntegerEntry("ducks_last_price", P), StringEntry(T, h), StringEntry(V, toBase58String(ad)), StringEntry(toBase58String(ad), V), IntegerEntry(o(Z), (q(o(Z)) + 1)), IntegerEntry((("stats_" + aa) + "_quantity"), (q((("stats_" + aa) + "_quantity")) + 1)), ac, ScriptTransfer(value(addressFromString(k)), 1, ad)], toBase58String(ad))
175175 }
176176
177177
178178
179179 @Callable(O)
180180 func reduceRarity (ad,ah) = {
181181 let ac = fromBase58String(ad)
182182 if (if ((O.caller != Address(i)))
183183 then (O.caller != this)
184184 else false)
185185 then throw("admin or rebirth only")
186186 else {
187187 let Z = value(assetInfo(ac)).name
188188 let ai = takeRight(take(Z, 6), 1)
189189 let aa = (("8" + ai) + "-G")
190190 [IntegerEntry(o(Z), (q(o(Z)) - 1)), IntegerEntry((("stats_" + aa) + "_quantity"), (q((("stats_" + aa) + "_quantity")) - 1))]
191191 }
192192 }
193193
194194
195195 @Verifier(aj)
196196 func ak () = sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey)
197197

github/deemru/w8io/169f3d6 
40.45 ms