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+WQAMMjcRl1cmkTfdcL3AQAAABRnZXRIYXRjaGluZ1N0YXR1c0tleQAAAAIAAAAHYWRkcmVzcwAAAAR0eElkCQABLAAAAAIJAAEsA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FkbWluIG9yIHJlYmlydGggb25seQQAAAAHZHVja0dlbggJAQAAAAV2YWx1ZQAAAAEJAAPsAAAAAQUAAAAFYXNzZXQAAAAEbmFtZQQAAAAGbGV0dGVyCQEAAAAJdGFrZVJpZ2h0AAAAAgkAAS8AAAACBQAAAAdkdWNrR2VuAAAAAAAAAAAGAAAAAAAAAAABBAAAAAdmYXJtR2VuCQABLAAAAAIJAAEsAAAAAgIAAAABOAUAAAAGbGV0dGVyAgAAAAItRwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAAD2dldER1Y2tTdGF0c0tleQAAAAEFAAAAB2R1Y2tHZW4JAABlAAAAAgkBAAAADXRyeUdldEludGVnZXIAAAABCQEAAAAPZ2V0RHVja1N0YXRzS2V5AAAAAQUAAAAHZHVja0dlbgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAABnN0YXRzXwUAAAAHZmFybUdlbgIAAAAJX3F1YW50aXR5CQAAZQAAAAIJAQAAAA10cnlHZXRJbnRlZ2VyAAAAAQkAASwAAAACCQABLAAAAAICAAAABnN0YXRzXwUAAAAHZmFybUdlbgIAAAAJX3F1YW50aXR5AAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZTYNtw=", "height": 1665146, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CEhXuregiX9dBroxNWgYqfWZ3KDquLWk7KLXtNuYxgyL Next: GvEsTy9x3pyB5x8JaVRSQrawksERYXjJYxAMb3j2FWSQ Diff:
Old | New | Differences | |
---|---|---|---|
71 | 71 | else if ((G == 2)) | |
72 | 72 | then "B" | |
73 | 73 | else "R" | |
74 | - | $Tuple2(("DUCK- | |
74 | + | $Tuple2(("DUCK-EEEEEEEE-G" + H), "8E-G") | |
75 | 75 | } | |
76 | 76 | } | |
77 | 77 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'3VUCuh9dWqe54SdzzNUkXhFXpc8UQynnJVh42B7MjNzN' | |
5 | 5 | ||
6 | 6 | let b = 0 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | let d = 6 | |
11 | 11 | ||
12 | 12 | let e = base58'3P8ejTkfRpz9WqCwCuihesNXU5k3zmFFfVe' | |
13 | 13 | ||
14 | 14 | let f = 5 | |
15 | 15 | ||
16 | 16 | let g = "HATCHING_STARTED" | |
17 | 17 | ||
18 | 18 | let h = "HATCHING_FINISHED" | |
19 | 19 | ||
20 | 20 | let i = base58'3PCC6fVHNa6289DTDmcUo3RuLaFmteZZsmQ' | |
21 | 21 | ||
22 | 22 | func j (k,l) = (((k + "_") + toBase58String(l)) + "_status") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func m (k,l) = (((k + "_") + toBase58String(l)) + "_fh") | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func n (k,l) = (((k + "_") + toBase58String(l)) + "_di") | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o (p) = (("stats_" + p) + "_amount") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func q (r) = { | |
35 | 35 | let s = { | |
36 | 36 | let t = getInteger(this, r) | |
37 | 37 | if ($isInstanceOf(t, "Int")) | |
38 | 38 | then { | |
39 | 39 | let u = t | |
40 | 40 | u | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | s | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func v (w,l,x,y) = { | |
49 | 49 | let z = value(blockInfoByHeight((x - 1))) | |
50 | 50 | let A = sha256((l + value(z.vrf))) | |
51 | 51 | (toInt(A, (y * 8)) % w) | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func B (C) = q(o(C)) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func D (l,x) = { | |
59 | 59 | let E = v(500, l, x, 0) | |
60 | 60 | if (if ((E == 1)) | |
61 | 61 | then (B("DUCK-WWWWWWWW-JU") == 0) | |
62 | 62 | else false) | |
63 | 63 | then $Tuple2("DUCK-WWWWWWWW-JU", "8W-J") | |
64 | 64 | else { | |
65 | 65 | let F = v(4, l, x, 0) | |
66 | 66 | let G = v(4, l, x, 1) | |
67 | 67 | let H = if ((G == 0)) | |
68 | 68 | then "Y" | |
69 | 69 | else if ((G == 1)) | |
70 | 70 | then "G" | |
71 | 71 | else if ((G == 2)) | |
72 | 72 | then "B" | |
73 | 73 | else "R" | |
74 | - | $Tuple2(("DUCK- | |
74 | + | $Tuple2(("DUCK-EEEEEEEE-G" + H), "8E-G") | |
75 | 75 | } | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func I (J) = { | |
80 | 80 | let K = J | |
81 | 81 | let L = c | |
82 | 82 | let M = d | |
83 | 83 | let N = pow((100 + ((K * L) / (10 * M))), 2, 5, 1, 2, DOWN) | |
84 | 84 | N | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | @Callable(O) | |
89 | 89 | func startDuckHatching () = { | |
90 | 90 | let J = q("ducks_amount") | |
91 | 91 | let P = I(J) | |
92 | 92 | let Q = value(O.payments[0]) | |
93 | 93 | if ((Q.assetId != a)) | |
94 | 94 | then throw(("You can attach only EGG tokens with the following asset id: " + toBase58String(a))) | |
95 | 95 | else if ((P > Q.amount)) | |
96 | 96 | then throw(("To hatch a duck you currently need the following amount of EGGlets: " + toString(P))) | |
97 | 97 | else { | |
98 | 98 | let R = ((Q.amount / 100) * f) | |
99 | 99 | [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)] | |
100 | 100 | } | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | ||
105 | 105 | @Callable(O) | |
106 | 106 | func finishDuckHatching (S) = { | |
107 | 107 | let l = fromBase58String(S) | |
108 | 108 | let T = j(toString(O.caller), l) | |
109 | 109 | let U = m(toString(O.caller), l) | |
110 | 110 | let V = n(toString(O.caller), l) | |
111 | 111 | let W = getStringValue(this, T) | |
112 | 112 | let x = getIntegerValue(this, U) | |
113 | 113 | if ((W == h)) | |
114 | 114 | then { | |
115 | 115 | let X = getStringValue(this, n(toString(O.caller), l)) | |
116 | 116 | throw(("The duck was hatched and claimed already, here is the folowing: " + X)) | |
117 | 117 | } | |
118 | 118 | else if ((x > height)) | |
119 | 119 | then throw((((("Hatching is not finished yet " + toString((x - height))) + " blocks remaining, it will take around ") + toString((x - height))) + " minutes")) | |
120 | 120 | else { | |
121 | 121 | let Y = D(l, x) | |
122 | 122 | let Z = Y._1 | |
123 | 123 | let aa = Y._2 | |
124 | 124 | let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}") | |
125 | 125 | let ac = Issue(Z, ab, 1, 0, false, unit, x) | |
126 | 126 | let ad = calculateAssetId(ac) | |
127 | 127 | let ae = (q(o(Z)) + 1) | |
128 | 128 | [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)] | |
129 | 129 | } | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | ||
134 | 134 | @Callable(O) | |
135 | 135 | func issueFreeDuck (k,S) = if ((O.caller != Address(i))) | |
136 | 136 | then throw("rebirth only") | |
137 | 137 | else { | |
138 | 138 | let l = fromBase58String(S) | |
139 | 139 | let T = j(k, l) | |
140 | 140 | let U = m(k, l) | |
141 | 141 | let J = q("ducks_amount") | |
142 | 142 | let P = I(J) | |
143 | 143 | let af = D(l, height) | |
144 | 144 | let Z = af._1 | |
145 | 145 | let aa = af._2 | |
146 | 146 | let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}") | |
147 | 147 | let ac = Issue(Z, ab, 1, 0, false, unit, height) | |
148 | 148 | let ad = calculateAssetId(ac) | |
149 | 149 | let ae = (q(o(Z)) + 1) | |
150 | 150 | let V = n(k, l) | |
151 | 151 | $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)) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | ||
156 | 156 | @Callable(O) | |
157 | 157 | func issueJackpot (k,S,C) = if (if ((O.caller != Address(i))) | |
158 | 158 | then (O.caller != this) | |
159 | 159 | else false) | |
160 | 160 | then throw("admin or rebirth only") | |
161 | 161 | else { | |
162 | 162 | let l = fromBase58String(S) | |
163 | 163 | let T = j(k, l) | |
164 | 164 | let U = m(k, l) | |
165 | 165 | let J = q("ducks_amount") | |
166 | 166 | let P = I(J) | |
167 | 167 | let ag = $Tuple2((("DUCK-" + C) + "-JU"), "8W-J") | |
168 | 168 | let Z = ag._1 | |
169 | 169 | let aa = ag._2 | |
170 | 170 | let ab = (("{\"genotype\": \"" + Z) + "\", \"crossbreeding\": true}") | |
171 | 171 | let ac = Issue(Z, ab, 1, 0, false, unit, height) | |
172 | 172 | let ad = calculateAssetId(ac) | |
173 | 173 | let V = n(k, l) | |
174 | 174 | $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)) | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | ||
179 | 179 | @Callable(O) | |
180 | 180 | func reduceRarity (ad,ah) = { | |
181 | 181 | let ac = fromBase58String(ad) | |
182 | 182 | if (if ((O.caller != Address(i))) | |
183 | 183 | then (O.caller != this) | |
184 | 184 | else false) | |
185 | 185 | then throw("admin or rebirth only") | |
186 | 186 | else { | |
187 | 187 | let Z = value(assetInfo(ac)).name | |
188 | 188 | let ai = takeRight(take(Z, 6), 1) | |
189 | 189 | let aa = (("8" + ai) + "-G") | |
190 | 190 | [IntegerEntry(o(Z), (q(o(Z)) - 1)), IntegerEntry((("stats_" + aa) + "_quantity"), (q((("stats_" + aa) + "_quantity")) - 1))] | |
191 | 191 | } | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | @Verifier(aj) | |
196 | 196 | func ak () = sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey) | |
197 | 197 |
github/deemru/w8io/169f3d6 40.45 ms ◑