tx · Cey89cmsaxiyMpmWVm4gAHnRE8AxAYBGxr93MzJCrTVU 3NBznG19rEYUAcnukTRTtwJHBVKQLbobVdC: -0.05000000 Waves 2021.08.17 16:33 [1662400] smart account 3NBznG19rEYUAcnukTRTtwJHBVKQLbobVdC > SELF 0.00000000 Waves
{ "type": 13, "id": "Cey89cmsaxiyMpmWVm4gAHnRE8AxAYBGxr93MzJCrTVU", "fee": 5000000, "feeAssetId": null, "timestamp": 1629207269399, "version": 2, "chainId": 84, "sender": "3NBznG19rEYUAcnukTRTtwJHBVKQLbobVdC", "senderPublicKey": "4STH5C8mCUF6wMbRyK2SD6KLCA8qEDJN7oCZESDX19At", "proofs": [ "wB9vQyXBQ6fk1LaqsPqsGpXTKJY38DZ43MEugr1U8df5QpmuoytkBU6PLGW5acHXZL8ZA39hWLGWgK2KhkpH4k7" ], "script": "base64:AAIFAAAAAAAAACsIAhIAEgQKAggIEgQKAggIEgASAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgECAAAAIgAAAAALZWdnc0Fzc2V0SWQBAAAAIMgv7qu8c1BGkdLTRqcmX760P4sIh+kpW2ixxqQoJD6UAAAAAApwZXJjaFByaWNlAAAAAAAAAABkAAAAAAVzY2FsZQAAAAAAAAAnEAAAAAAGc2NhbGUyAAAAAAAAD0JAAAAAABBpbmN1YmF0b3JBZGRyZXNzAQAAABoBVC7VjNHEAefV6QDOzUAknrEUBzTpXs8rqgAAAAAOYnJlZWRlckFkZHJlc3MBAAAAGgFUheZ7KyJ09o+w/6Uoci31XDysT6VLjluOAAAAABJyZWZDb250cmFjdEFkZHJlc3MBAAAAGgFXSbp9QryfsBGFwcqYqtY07fALze/ow+6lAAAAAA1SZWZlcmVyUmV3YXJkAAAAAAAAAAAFAAAAAA5yZWJpcnRoQWRkcmVzcwEAAAAaAVdwkXXUnut6Ph/5ZAAwyNxGXVyaRN91wvcAAAAABEdFTlMJAARMAAAAAgIAAAABQQkABEwAAAACAgAAAAFCCQAETAAAAAICAAAAAUM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NzZXRJZAMDCQAAAAAAAAIICQEAAAAFdmFsdWUAAAABCQAD7AAAAAEFAAAAB2Fzc2V0SWQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEFAAAADmJyZWVkZXJBZGRyZXNzBgkAAAAAAAACCAkBAAAABXZhbHVlAAAAAQkAA+wAAAABBQAAAAdhc3NldElkAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABBQAAABBpbmN1YmF0b3JBZGRyZXNzBAAAAAlhc3NldE5hbWUICQEAAAAFdmFsdWUAAAABCQAD7AAAAAEFAAAAB2Fzc2V0SWQAAAAEbmFtZQQAAAAKZ2VuZXJhdGlvbgkAAS8AAAACCQEAAAAJdGFrZVJpZ2h0AAAAAgUAAAAJYXNzZXROYW1lAAAAAAAAAAACAAAAAAAAAAABBAAAAANnZW4JAAEsAAAAAgkAASwAAAACCQEAAAAGZ2V0R2VuAAAAAQUAAAAJYXNzZXROYW1lAgAAAAEtBQAAAApnZW5lcmF0aW9uCQAFFAAAAAIFAAAAA25pbAkBAAAADmdldEFzc2V0UmFyaXR5AAAAAgUAAAADZ2VuBQAAAApnZW5lcmF0aW9uCQAAAgAAAAECAAAADW5vdCB2YWxpZCBORlQAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlebKv3eQ=", "height": 1662400, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Xjed5nJeBAgQrCdmz5vpRwi8rwCy6fDbxh7Vhkb5PH5 Next: HSQXJMSWWHD9XNNA7MZXqF1DJTZTTF1QAiJ5qHdQWQ83 Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let eggsAssetId = base58' | |
4 | + | let eggsAssetId = base58'EUSw1KL2j5dhy2Hf9X2U4qxAbo6WDjLi2BwcLGSWUdab' | |
5 | 5 | ||
6 | 6 | let perchPrice = 100 | |
7 | 7 | ||
715 | 715 | ||
716 | 716 | ||
717 | 717 | @Callable(i) | |
718 | - | func getAssetRarityCallable (assetId) = { | |
719 | - | let assetIdBytes = toBytes(assetId) | |
720 | - | if (if ((value(assetInfo(assetIdBytes)).issuer == Address(breederAddress))) | |
721 | - | then true | |
722 | - | else (value(assetInfo(assetIdBytes)).issuer == Address(incubatorAddress))) | |
723 | - | then { | |
724 | - | let assetName = value(assetInfo(assetIdBytes)).name | |
725 | - | let generation = take(takeRight(assetName, 2), 1) | |
726 | - | let gen = ((getGen(assetName) + "-") + generation) | |
727 | - | $Tuple2(nil, getAssetRarity(gen, generation)) | |
728 | - | } | |
729 | - | else throw("not valid NFT") | |
730 | - | } | |
718 | + | func getAssetRarityCallable (assetId) = if (if ((value(assetInfo(assetId)).issuer == Address(breederAddress))) | |
719 | + | then true | |
720 | + | else (value(assetInfo(assetId)).issuer == Address(incubatorAddress))) | |
721 | + | then { | |
722 | + | let assetName = value(assetInfo(assetId)).name | |
723 | + | let generation = take(takeRight(assetName, 2), 1) | |
724 | + | let gen = ((getGen(assetName) + "-") + generation) | |
725 | + | $Tuple2(nil, getAssetRarity(gen, generation)) | |
726 | + | } | |
727 | + | else throw("not valid NFT") | |
731 | 728 | ||
732 | 729 | ||
733 | 730 | @Verifier(tx) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let eggsAssetId = base58' | |
4 | + | let eggsAssetId = base58'EUSw1KL2j5dhy2Hf9X2U4qxAbo6WDjLi2BwcLGSWUdab' | |
5 | 5 | ||
6 | 6 | let perchPrice = 100 | |
7 | 7 | ||
8 | 8 | let scale = 10000 | |
9 | 9 | ||
10 | 10 | let scale2 = 1000000 | |
11 | 11 | ||
12 | 12 | let incubatorAddress = base58'3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh' | |
13 | 13 | ||
14 | 14 | let breederAddress = base58'3N285kYUMxPi6oZsdWrxhSY34dJHyu4kRN5' | |
15 | 15 | ||
16 | 16 | let refContractAddress = base58'3P8ejTkfRpz9WqCwCuihesNXU5k3zmFFfVe' | |
17 | 17 | ||
18 | 18 | let RefererReward = 5 | |
19 | 19 | ||
20 | 20 | let rebirthAddress = base58'3PCC6fVHNa6289DTDmcUo3RuLaFmteZZsmQ' | |
21 | 21 | ||
22 | 22 | let GENS = ["A", "B", "C", "D", "E", "F", "G"] | |
23 | 23 | ||
24 | 24 | func getRewardPerBlock () = 684 | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func tryGetInteger (key) = match getInteger(this, key) { | |
28 | 28 | case b: Int => | |
29 | 29 | b | |
30 | 30 | case _ => | |
31 | 31 | 0 | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func tryGetString (key) = match getString(this, key) { | |
36 | 36 | case a: String => | |
37 | 37 | a | |
38 | 38 | case _ => | |
39 | 39 | "" | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func isSymbolA (accumulated,sym) = if ((sym == "A")) | |
44 | 44 | then (accumulated + 1) | |
45 | 45 | else (accumulated + 0) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func isSymbolB (accumulated,sym) = if ((sym == "B")) | |
49 | 49 | then (accumulated + 1) | |
50 | 50 | else (accumulated + 0) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func isSymbolC (accumulated,sym) = if ((sym == "C")) | |
54 | 54 | then (accumulated + 1) | |
55 | 55 | else (accumulated + 0) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func isSymbolD (accumulated,sym) = if ((sym == "D")) | |
59 | 59 | then (accumulated + 1) | |
60 | 60 | else (accumulated + 0) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func isSymbolE (accumulated,sym) = if ((sym == "E")) | |
64 | 64 | then (accumulated + 1) | |
65 | 65 | else (accumulated + 0) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func isSymbolF (accumulated,sym) = if ((sym == "F")) | |
69 | 69 | then (accumulated + 1) | |
70 | 70 | else (accumulated + 0) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func isSymbolG (accumulated,sym) = if ((sym == "G")) | |
74 | 74 | then (accumulated + 1) | |
75 | 75 | else (accumulated + 0) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func isSymbolH (accumulated,sym) = if ((sym == "H")) | |
79 | 79 | then (accumulated + 1) | |
80 | 80 | else (accumulated + 0) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getAmountOrClear (amount) = if (contains(amount, "0")) | |
84 | 84 | then "" | |
85 | 85 | else amount | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func getGen (assetName) = { | |
89 | 89 | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
90 | 90 | (((((((getAmountOrClear((toString({ | |
91 | 91 | let $list20192050 = genotype | |
92 | 92 | let $size20192050 = size($list20192050) | |
93 | 93 | let $acc020192050 = 0 | |
94 | 94 | if (($size20192050 == 0)) | |
95 | 95 | then $acc020192050 | |
96 | 96 | else { | |
97 | 97 | let $acc120192050 = isSymbolA($acc020192050, $list20192050[0]) | |
98 | 98 | if (($size20192050 == 1)) | |
99 | 99 | then $acc120192050 | |
100 | 100 | else { | |
101 | 101 | let $acc220192050 = isSymbolA($acc120192050, $list20192050[1]) | |
102 | 102 | if (($size20192050 == 2)) | |
103 | 103 | then $acc220192050 | |
104 | 104 | else { | |
105 | 105 | let $acc320192050 = isSymbolA($acc220192050, $list20192050[2]) | |
106 | 106 | if (($size20192050 == 3)) | |
107 | 107 | then $acc320192050 | |
108 | 108 | else { | |
109 | 109 | let $acc420192050 = isSymbolA($acc320192050, $list20192050[3]) | |
110 | 110 | if (($size20192050 == 4)) | |
111 | 111 | then $acc420192050 | |
112 | 112 | else { | |
113 | 113 | let $acc520192050 = isSymbolA($acc420192050, $list20192050[4]) | |
114 | 114 | if (($size20192050 == 5)) | |
115 | 115 | then $acc520192050 | |
116 | 116 | else { | |
117 | 117 | let $acc620192050 = isSymbolA($acc520192050, $list20192050[5]) | |
118 | 118 | if (($size20192050 == 6)) | |
119 | 119 | then $acc620192050 | |
120 | 120 | else { | |
121 | 121 | let $acc720192050 = isSymbolA($acc620192050, $list20192050[6]) | |
122 | 122 | if (($size20192050 == 7)) | |
123 | 123 | then $acc720192050 | |
124 | 124 | else { | |
125 | 125 | let $acc820192050 = isSymbolA($acc720192050, $list20192050[7]) | |
126 | 126 | if (($size20192050 == 8)) | |
127 | 127 | then $acc820192050 | |
128 | 128 | else { | |
129 | 129 | let $acc920192050 = isSymbolA($acc820192050, $list20192050[8]) | |
130 | 130 | throw("List size exceed 8") | |
131 | 131 | } | |
132 | 132 | } | |
133 | 133 | } | |
134 | 134 | } | |
135 | 135 | } | |
136 | 136 | } | |
137 | 137 | } | |
138 | 138 | } | |
139 | 139 | } | |
140 | 140 | }) + "A")) + getAmountOrClear((toString({ | |
141 | 141 | let $list20872118 = genotype | |
142 | 142 | let $size20872118 = size($list20872118) | |
143 | 143 | let $acc020872118 = 0 | |
144 | 144 | if (($size20872118 == 0)) | |
145 | 145 | then $acc020872118 | |
146 | 146 | else { | |
147 | 147 | let $acc120872118 = isSymbolB($acc020872118, $list20872118[0]) | |
148 | 148 | if (($size20872118 == 1)) | |
149 | 149 | then $acc120872118 | |
150 | 150 | else { | |
151 | 151 | let $acc220872118 = isSymbolB($acc120872118, $list20872118[1]) | |
152 | 152 | if (($size20872118 == 2)) | |
153 | 153 | then $acc220872118 | |
154 | 154 | else { | |
155 | 155 | let $acc320872118 = isSymbolB($acc220872118, $list20872118[2]) | |
156 | 156 | if (($size20872118 == 3)) | |
157 | 157 | then $acc320872118 | |
158 | 158 | else { | |
159 | 159 | let $acc420872118 = isSymbolB($acc320872118, $list20872118[3]) | |
160 | 160 | if (($size20872118 == 4)) | |
161 | 161 | then $acc420872118 | |
162 | 162 | else { | |
163 | 163 | let $acc520872118 = isSymbolB($acc420872118, $list20872118[4]) | |
164 | 164 | if (($size20872118 == 5)) | |
165 | 165 | then $acc520872118 | |
166 | 166 | else { | |
167 | 167 | let $acc620872118 = isSymbolB($acc520872118, $list20872118[5]) | |
168 | 168 | if (($size20872118 == 6)) | |
169 | 169 | then $acc620872118 | |
170 | 170 | else { | |
171 | 171 | let $acc720872118 = isSymbolB($acc620872118, $list20872118[6]) | |
172 | 172 | if (($size20872118 == 7)) | |
173 | 173 | then $acc720872118 | |
174 | 174 | else { | |
175 | 175 | let $acc820872118 = isSymbolB($acc720872118, $list20872118[7]) | |
176 | 176 | if (($size20872118 == 8)) | |
177 | 177 | then $acc820872118 | |
178 | 178 | else { | |
179 | 179 | let $acc920872118 = isSymbolB($acc820872118, $list20872118[8]) | |
180 | 180 | throw("List size exceed 8") | |
181 | 181 | } | |
182 | 182 | } | |
183 | 183 | } | |
184 | 184 | } | |
185 | 185 | } | |
186 | 186 | } | |
187 | 187 | } | |
188 | 188 | } | |
189 | 189 | } | |
190 | 190 | }) + "B"))) + getAmountOrClear((toString({ | |
191 | 191 | let $list21552186 = genotype | |
192 | 192 | let $size21552186 = size($list21552186) | |
193 | 193 | let $acc021552186 = 0 | |
194 | 194 | if (($size21552186 == 0)) | |
195 | 195 | then $acc021552186 | |
196 | 196 | else { | |
197 | 197 | let $acc121552186 = isSymbolC($acc021552186, $list21552186[0]) | |
198 | 198 | if (($size21552186 == 1)) | |
199 | 199 | then $acc121552186 | |
200 | 200 | else { | |
201 | 201 | let $acc221552186 = isSymbolC($acc121552186, $list21552186[1]) | |
202 | 202 | if (($size21552186 == 2)) | |
203 | 203 | then $acc221552186 | |
204 | 204 | else { | |
205 | 205 | let $acc321552186 = isSymbolC($acc221552186, $list21552186[2]) | |
206 | 206 | if (($size21552186 == 3)) | |
207 | 207 | then $acc321552186 | |
208 | 208 | else { | |
209 | 209 | let $acc421552186 = isSymbolC($acc321552186, $list21552186[3]) | |
210 | 210 | if (($size21552186 == 4)) | |
211 | 211 | then $acc421552186 | |
212 | 212 | else { | |
213 | 213 | let $acc521552186 = isSymbolC($acc421552186, $list21552186[4]) | |
214 | 214 | if (($size21552186 == 5)) | |
215 | 215 | then $acc521552186 | |
216 | 216 | else { | |
217 | 217 | let $acc621552186 = isSymbolC($acc521552186, $list21552186[5]) | |
218 | 218 | if (($size21552186 == 6)) | |
219 | 219 | then $acc621552186 | |
220 | 220 | else { | |
221 | 221 | let $acc721552186 = isSymbolC($acc621552186, $list21552186[6]) | |
222 | 222 | if (($size21552186 == 7)) | |
223 | 223 | then $acc721552186 | |
224 | 224 | else { | |
225 | 225 | let $acc821552186 = isSymbolC($acc721552186, $list21552186[7]) | |
226 | 226 | if (($size21552186 == 8)) | |
227 | 227 | then $acc821552186 | |
228 | 228 | else { | |
229 | 229 | let $acc921552186 = isSymbolC($acc821552186, $list21552186[8]) | |
230 | 230 | throw("List size exceed 8") | |
231 | 231 | } | |
232 | 232 | } | |
233 | 233 | } | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | } | |
237 | 237 | } | |
238 | 238 | } | |
239 | 239 | } | |
240 | 240 | }) + "C"))) + getAmountOrClear((toString({ | |
241 | 241 | let $list22252256 = genotype | |
242 | 242 | let $size22252256 = size($list22252256) | |
243 | 243 | let $acc022252256 = 0 | |
244 | 244 | if (($size22252256 == 0)) | |
245 | 245 | then $acc022252256 | |
246 | 246 | else { | |
247 | 247 | let $acc122252256 = isSymbolD($acc022252256, $list22252256[0]) | |
248 | 248 | if (($size22252256 == 1)) | |
249 | 249 | then $acc122252256 | |
250 | 250 | else { | |
251 | 251 | let $acc222252256 = isSymbolD($acc122252256, $list22252256[1]) | |
252 | 252 | if (($size22252256 == 2)) | |
253 | 253 | then $acc222252256 | |
254 | 254 | else { | |
255 | 255 | let $acc322252256 = isSymbolD($acc222252256, $list22252256[2]) | |
256 | 256 | if (($size22252256 == 3)) | |
257 | 257 | then $acc322252256 | |
258 | 258 | else { | |
259 | 259 | let $acc422252256 = isSymbolD($acc322252256, $list22252256[3]) | |
260 | 260 | if (($size22252256 == 4)) | |
261 | 261 | then $acc422252256 | |
262 | 262 | else { | |
263 | 263 | let $acc522252256 = isSymbolD($acc422252256, $list22252256[4]) | |
264 | 264 | if (($size22252256 == 5)) | |
265 | 265 | then $acc522252256 | |
266 | 266 | else { | |
267 | 267 | let $acc622252256 = isSymbolD($acc522252256, $list22252256[5]) | |
268 | 268 | if (($size22252256 == 6)) | |
269 | 269 | then $acc622252256 | |
270 | 270 | else { | |
271 | 271 | let $acc722252256 = isSymbolD($acc622252256, $list22252256[6]) | |
272 | 272 | if (($size22252256 == 7)) | |
273 | 273 | then $acc722252256 | |
274 | 274 | else { | |
275 | 275 | let $acc822252256 = isSymbolD($acc722252256, $list22252256[7]) | |
276 | 276 | if (($size22252256 == 8)) | |
277 | 277 | then $acc822252256 | |
278 | 278 | else { | |
279 | 279 | let $acc922252256 = isSymbolD($acc822252256, $list22252256[8]) | |
280 | 280 | throw("List size exceed 8") | |
281 | 281 | } | |
282 | 282 | } | |
283 | 283 | } | |
284 | 284 | } | |
285 | 285 | } | |
286 | 286 | } | |
287 | 287 | } | |
288 | 288 | } | |
289 | 289 | } | |
290 | 290 | }) + "D"))) + getAmountOrClear((toString({ | |
291 | 291 | let $list22932324 = genotype | |
292 | 292 | let $size22932324 = size($list22932324) | |
293 | 293 | let $acc022932324 = 0 | |
294 | 294 | if (($size22932324 == 0)) | |
295 | 295 | then $acc022932324 | |
296 | 296 | else { | |
297 | 297 | let $acc122932324 = isSymbolE($acc022932324, $list22932324[0]) | |
298 | 298 | if (($size22932324 == 1)) | |
299 | 299 | then $acc122932324 | |
300 | 300 | else { | |
301 | 301 | let $acc222932324 = isSymbolE($acc122932324, $list22932324[1]) | |
302 | 302 | if (($size22932324 == 2)) | |
303 | 303 | then $acc222932324 | |
304 | 304 | else { | |
305 | 305 | let $acc322932324 = isSymbolE($acc222932324, $list22932324[2]) | |
306 | 306 | if (($size22932324 == 3)) | |
307 | 307 | then $acc322932324 | |
308 | 308 | else { | |
309 | 309 | let $acc422932324 = isSymbolE($acc322932324, $list22932324[3]) | |
310 | 310 | if (($size22932324 == 4)) | |
311 | 311 | then $acc422932324 | |
312 | 312 | else { | |
313 | 313 | let $acc522932324 = isSymbolE($acc422932324, $list22932324[4]) | |
314 | 314 | if (($size22932324 == 5)) | |
315 | 315 | then $acc522932324 | |
316 | 316 | else { | |
317 | 317 | let $acc622932324 = isSymbolE($acc522932324, $list22932324[5]) | |
318 | 318 | if (($size22932324 == 6)) | |
319 | 319 | then $acc622932324 | |
320 | 320 | else { | |
321 | 321 | let $acc722932324 = isSymbolE($acc622932324, $list22932324[6]) | |
322 | 322 | if (($size22932324 == 7)) | |
323 | 323 | then $acc722932324 | |
324 | 324 | else { | |
325 | 325 | let $acc822932324 = isSymbolE($acc722932324, $list22932324[7]) | |
326 | 326 | if (($size22932324 == 8)) | |
327 | 327 | then $acc822932324 | |
328 | 328 | else { | |
329 | 329 | let $acc922932324 = isSymbolE($acc822932324, $list22932324[8]) | |
330 | 330 | throw("List size exceed 8") | |
331 | 331 | } | |
332 | 332 | } | |
333 | 333 | } | |
334 | 334 | } | |
335 | 335 | } | |
336 | 336 | } | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | }) + "E"))) + getAmountOrClear((toString({ | |
341 | 341 | let $list23612392 = genotype | |
342 | 342 | let $size23612392 = size($list23612392) | |
343 | 343 | let $acc023612392 = 0 | |
344 | 344 | if (($size23612392 == 0)) | |
345 | 345 | then $acc023612392 | |
346 | 346 | else { | |
347 | 347 | let $acc123612392 = isSymbolF($acc023612392, $list23612392[0]) | |
348 | 348 | if (($size23612392 == 1)) | |
349 | 349 | then $acc123612392 | |
350 | 350 | else { | |
351 | 351 | let $acc223612392 = isSymbolF($acc123612392, $list23612392[1]) | |
352 | 352 | if (($size23612392 == 2)) | |
353 | 353 | then $acc223612392 | |
354 | 354 | else { | |
355 | 355 | let $acc323612392 = isSymbolF($acc223612392, $list23612392[2]) | |
356 | 356 | if (($size23612392 == 3)) | |
357 | 357 | then $acc323612392 | |
358 | 358 | else { | |
359 | 359 | let $acc423612392 = isSymbolF($acc323612392, $list23612392[3]) | |
360 | 360 | if (($size23612392 == 4)) | |
361 | 361 | then $acc423612392 | |
362 | 362 | else { | |
363 | 363 | let $acc523612392 = isSymbolF($acc423612392, $list23612392[4]) | |
364 | 364 | if (($size23612392 == 5)) | |
365 | 365 | then $acc523612392 | |
366 | 366 | else { | |
367 | 367 | let $acc623612392 = isSymbolF($acc523612392, $list23612392[5]) | |
368 | 368 | if (($size23612392 == 6)) | |
369 | 369 | then $acc623612392 | |
370 | 370 | else { | |
371 | 371 | let $acc723612392 = isSymbolF($acc623612392, $list23612392[6]) | |
372 | 372 | if (($size23612392 == 7)) | |
373 | 373 | then $acc723612392 | |
374 | 374 | else { | |
375 | 375 | let $acc823612392 = isSymbolF($acc723612392, $list23612392[7]) | |
376 | 376 | if (($size23612392 == 8)) | |
377 | 377 | then $acc823612392 | |
378 | 378 | else { | |
379 | 379 | let $acc923612392 = isSymbolF($acc823612392, $list23612392[8]) | |
380 | 380 | throw("List size exceed 8") | |
381 | 381 | } | |
382 | 382 | } | |
383 | 383 | } | |
384 | 384 | } | |
385 | 385 | } | |
386 | 386 | } | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | }) + "F"))) + getAmountOrClear((toString({ | |
391 | 391 | let $list24312462 = genotype | |
392 | 392 | let $size24312462 = size($list24312462) | |
393 | 393 | let $acc024312462 = 0 | |
394 | 394 | if (($size24312462 == 0)) | |
395 | 395 | then $acc024312462 | |
396 | 396 | else { | |
397 | 397 | let $acc124312462 = isSymbolG($acc024312462, $list24312462[0]) | |
398 | 398 | if (($size24312462 == 1)) | |
399 | 399 | then $acc124312462 | |
400 | 400 | else { | |
401 | 401 | let $acc224312462 = isSymbolG($acc124312462, $list24312462[1]) | |
402 | 402 | if (($size24312462 == 2)) | |
403 | 403 | then $acc224312462 | |
404 | 404 | else { | |
405 | 405 | let $acc324312462 = isSymbolG($acc224312462, $list24312462[2]) | |
406 | 406 | if (($size24312462 == 3)) | |
407 | 407 | then $acc324312462 | |
408 | 408 | else { | |
409 | 409 | let $acc424312462 = isSymbolG($acc324312462, $list24312462[3]) | |
410 | 410 | if (($size24312462 == 4)) | |
411 | 411 | then $acc424312462 | |
412 | 412 | else { | |
413 | 413 | let $acc524312462 = isSymbolG($acc424312462, $list24312462[4]) | |
414 | 414 | if (($size24312462 == 5)) | |
415 | 415 | then $acc524312462 | |
416 | 416 | else { | |
417 | 417 | let $acc624312462 = isSymbolG($acc524312462, $list24312462[5]) | |
418 | 418 | if (($size24312462 == 6)) | |
419 | 419 | then $acc624312462 | |
420 | 420 | else { | |
421 | 421 | let $acc724312462 = isSymbolG($acc624312462, $list24312462[6]) | |
422 | 422 | if (($size24312462 == 7)) | |
423 | 423 | then $acc724312462 | |
424 | 424 | else { | |
425 | 425 | let $acc824312462 = isSymbolG($acc724312462, $list24312462[7]) | |
426 | 426 | if (($size24312462 == 8)) | |
427 | 427 | then $acc824312462 | |
428 | 428 | else { | |
429 | 429 | let $acc924312462 = isSymbolG($acc824312462, $list24312462[8]) | |
430 | 430 | throw("List size exceed 8") | |
431 | 431 | } | |
432 | 432 | } | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | } | |
436 | 436 | } | |
437 | 437 | } | |
438 | 438 | } | |
439 | 439 | } | |
440 | 440 | }) + "G"))) + getAmountOrClear((toString({ | |
441 | 441 | let $list24992530 = genotype | |
442 | 442 | let $size24992530 = size($list24992530) | |
443 | 443 | let $acc024992530 = 0 | |
444 | 444 | if (($size24992530 == 0)) | |
445 | 445 | then $acc024992530 | |
446 | 446 | else { | |
447 | 447 | let $acc124992530 = isSymbolH($acc024992530, $list24992530[0]) | |
448 | 448 | if (($size24992530 == 1)) | |
449 | 449 | then $acc124992530 | |
450 | 450 | else { | |
451 | 451 | let $acc224992530 = isSymbolH($acc124992530, $list24992530[1]) | |
452 | 452 | if (($size24992530 == 2)) | |
453 | 453 | then $acc224992530 | |
454 | 454 | else { | |
455 | 455 | let $acc324992530 = isSymbolH($acc224992530, $list24992530[2]) | |
456 | 456 | if (($size24992530 == 3)) | |
457 | 457 | then $acc324992530 | |
458 | 458 | else { | |
459 | 459 | let $acc424992530 = isSymbolH($acc324992530, $list24992530[3]) | |
460 | 460 | if (($size24992530 == 4)) | |
461 | 461 | then $acc424992530 | |
462 | 462 | else { | |
463 | 463 | let $acc524992530 = isSymbolH($acc424992530, $list24992530[4]) | |
464 | 464 | if (($size24992530 == 5)) | |
465 | 465 | then $acc524992530 | |
466 | 466 | else { | |
467 | 467 | let $acc624992530 = isSymbolH($acc524992530, $list24992530[5]) | |
468 | 468 | if (($size24992530 == 6)) | |
469 | 469 | then $acc624992530 | |
470 | 470 | else { | |
471 | 471 | let $acc724992530 = isSymbolH($acc624992530, $list24992530[6]) | |
472 | 472 | if (($size24992530 == 7)) | |
473 | 473 | then $acc724992530 | |
474 | 474 | else { | |
475 | 475 | let $acc824992530 = isSymbolH($acc724992530, $list24992530[7]) | |
476 | 476 | if (($size24992530 == 8)) | |
477 | 477 | then $acc824992530 | |
478 | 478 | else { | |
479 | 479 | let $acc924992530 = isSymbolH($acc824992530, $list24992530[8]) | |
480 | 480 | throw("List size exceed 8") | |
481 | 481 | } | |
482 | 482 | } | |
483 | 483 | } | |
484 | 484 | } | |
485 | 485 | } | |
486 | 486 | } | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | }) + "H"))) | |
491 | 491 | } | |
492 | 492 | ||
493 | 493 | ||
494 | 494 | func getAssetOrigin (generation) = if ((generation == "G")) | |
495 | 495 | then incubatorAddress | |
496 | 496 | else breederAddress | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | func getAssetRarity (genotype,generation) = { | |
500 | 500 | let quantity = getIntegerValue(Address(getAssetOrigin(generation)), (("stats_" + genotype) + "_quantity")) | |
501 | 501 | let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR) | |
502 | 502 | if ((power > 0)) | |
503 | 503 | then power | |
504 | 504 | else 2 | |
505 | 505 | } | |
506 | 506 | ||
507 | 507 | ||
508 | 508 | func getAssetFarmingPower (assetId) = if (if ((value(assetInfo(assetId)).issuer == Address(breederAddress))) | |
509 | 509 | then true | |
510 | 510 | else (value(assetInfo(assetId)).issuer == Address(incubatorAddress))) | |
511 | 511 | then { | |
512 | 512 | let assetName = value(assetInfo(assetId)).name | |
513 | 513 | let generation = take(takeRight(assetName, 2), 1) | |
514 | 514 | let gen = ((getGen(assetName) + "-") + generation) | |
515 | 515 | $Tuple2(gen, getAssetRarity(gen, generation)) | |
516 | 516 | } | |
517 | 517 | else throw("not valid NFT") | |
518 | 518 | ||
519 | 519 | ||
520 | 520 | func getLastKnownAssetFarmingPower (address,assetId) = tryGetInteger((((("address_" + address) + "_asset_") + assetId) + "_farmingPower")) | |
521 | 521 | ||
522 | 522 | ||
523 | 523 | func getAssetsByGen (gen) = { | |
524 | 524 | let s = tryGetString(("assets_" + gen)) | |
525 | 525 | if ((s == "")) | |
526 | 526 | then nil | |
527 | 527 | else split(s, ",") | |
528 | 528 | } | |
529 | 529 | ||
530 | 530 | ||
531 | 531 | func calcInterest (previousInterest,previousInterestHeight,totalFarmingPower) = (previousInterest + (((scale * getRewardPerBlock()) * (height - previousInterestHeight)) / totalFarmingPower)) | |
532 | 532 | ||
533 | 533 | ||
534 | 534 | func getCurrentInterest () = if ((tryGetInteger("total_farmingPower") > 0)) | |
535 | 535 | then { | |
536 | 536 | let previousInterest = tryGetInteger("total_lastCheckInterest") | |
537 | 537 | let previousInterestHeight = tryGetInteger("total_lastCheckInterestHeight") | |
538 | 538 | let totalFarmingPower = tryGetInteger("total_farmingPower") | |
539 | 539 | calcInterest(previousInterest, previousInterestHeight, totalFarmingPower) | |
540 | 540 | } | |
541 | 541 | else if ((tryGetInteger("total_startHeight") != 0)) | |
542 | 542 | then tryGetInteger("total_lastCheckInterest") | |
543 | 543 | else throw("farming is not launched, yet") | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | func calcAssetRewardDelta (address,assetId,assetFarmingPower) = { | |
547 | 547 | let lastCheckAssetInterest = tryGetInteger((((("address_" + address) + "_asset_") + assetId) + "_lastCheckInterest")) | |
548 | 548 | let currentInterest = getCurrentInterest() | |
549 | 549 | (assetFarmingPower * (currentInterest - lastCheckAssetInterest)) | |
550 | 550 | } | |
551 | 551 | ||
552 | 552 | ||
553 | 553 | func addAssetIdToGenEntry (assetId,assetGen) = { | |
554 | 554 | let currentValue = tryGetString((("assets_" + assetGen) + "_locked")) | |
555 | 555 | if ((currentValue == "")) | |
556 | 556 | then assetId | |
557 | 557 | else ((currentValue + ",") + assetId) | |
558 | 558 | } | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | func getStakeResult (address,assetId,assetFarmingPower) = { | |
562 | 562 | let asset = toBase58String(assetId) | |
563 | 563 | [IntegerEntry("total_farmingPower", (tryGetInteger("total_farmingPower") + assetFarmingPower)), IntegerEntry("total_lastCheckInterest", getCurrentInterest()), IntegerEntry("total_lastCheckInterestHeight", height), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_farmingPower"), assetFarmingPower), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest"), getCurrentInterest())] | |
564 | 564 | } | |
565 | 565 | ||
566 | 566 | ||
567 | 567 | func getUnstakeResult (address,assetId,rewardDelta,withdrawnAmount,assetFarmingPower) = { | |
568 | 568 | let asset = toBase58String(assetId) | |
569 | 569 | [IntegerEntry("total_farmingPower", (tryGetInteger("total_farmingPower") - assetFarmingPower)), IntegerEntry("total_lastCheckInterest", getCurrentInterest()), IntegerEntry("total_lastCheckInterestHeight", height), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_farmingPower"), 0), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest"), getCurrentInterest()), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount"), (tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount")) + (withdrawnAmount * scale2))), IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_lastCheckFarmedAmount"), (tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_lastCheckFarmedAmount")) + rewardDelta))] | |
570 | 570 | } | |
571 | 571 | ||
572 | 572 | ||
573 | 573 | @Callable(i) | |
574 | 574 | func init () = if ((i.caller != this)) | |
575 | 575 | then throw("admin only") | |
576 | 576 | else [IntegerEntry("total_startHeight", height)] | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | ||
580 | 580 | @Callable(i) | |
581 | 581 | func buyPerch (color,refererAddress) = if ((0 > value(indexOf(["B", "R", "G", "Y"], color)))) | |
582 | 582 | then throw("you need to set color properly") | |
583 | 583 | else { | |
584 | 584 | let firstPayment = value(i.payments[0]) | |
585 | 585 | if ((firstPayment.assetId != eggsAssetId)) | |
586 | 586 | then throw(("You can attach only EGG tokens with the following asset id: " + toBase58String(eggsAssetId))) | |
587 | 587 | else if ((firstPayment.amount != perchPrice)) | |
588 | 588 | then throw(("To buy a perch you currently need the following amount of EGGlets: " + toString(perchPrice))) | |
589 | 589 | else { | |
590 | 590 | let refererRewardForPerch = ((firstPayment.amount / 100) * RefererReward) | |
591 | 591 | let refCall = invoke(Address(refContractAddress), "refPayment", [refererAddress], [AttachedPayment(eggsAssetId, refererRewardForPerch)]) | |
592 | 592 | if ((refCall == refCall)) | |
593 | 593 | then { | |
594 | 594 | let perchAmountKey = ((("address_" + toString(i.caller)) + "_perchesAvailable_") + color) | |
595 | 595 | let perchAmount = tryGetInteger(perchAmountKey) | |
596 | 596 | [IntegerEntry(perchAmountKey, (perchAmount + 1))] | |
597 | 597 | } | |
598 | 598 | else throw("Strict value is not equal to itself.") | |
599 | 599 | } | |
600 | 600 | } | |
601 | 601 | ||
602 | 602 | ||
603 | 603 | ||
604 | 604 | @Callable(i) | |
605 | 605 | func addFreePerch (address,color) = if ((0 > value(indexOf(["B", "R", "G", "Y"], color)))) | |
606 | 606 | then throw("you need to set color properly") | |
607 | 607 | else if (if ((i.caller != Address(rebirthAddress))) | |
608 | 608 | then (i.caller != this) | |
609 | 609 | else false) | |
610 | 610 | then throw("rebirth only") | |
611 | 611 | else { | |
612 | 612 | let perchAmountKey = ((("address_" + address) + "_perchesAvailable_") + color) | |
613 | 613 | let perchAmount = tryGetInteger(perchAmountKey) | |
614 | 614 | $Tuple2([IntegerEntry(perchAmountKey, (perchAmount + 1))], "") | |
615 | 615 | } | |
616 | 616 | ||
617 | 617 | ||
618 | 618 | ||
619 | 619 | @Callable(i) | |
620 | 620 | func stakeNFT () = { | |
621 | 621 | let assetId = value(value(i.payments[0]).assetId) | |
622 | 622 | let address = toString(i.caller) | |
623 | 623 | let color = takeRight(value(assetInfo(assetId)).name, 1) | |
624 | 624 | let availablePerches = tryGetInteger(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)) | |
625 | 625 | if ((0 >= availablePerches)) | |
626 | 626 | then throw(("no perches available for the color " + color)) | |
627 | 627 | else { | |
628 | 628 | let $t085448609 = getAssetFarmingPower(assetId) | |
629 | 629 | let assetGen = $t085448609._1 | |
630 | 630 | let assetFarmingPower = $t085448609._2 | |
631 | 631 | let assetRewardDelta = calcAssetRewardDelta(address, toBase58String(assetId), assetFarmingPower) | |
632 | 632 | (getStakeResult(address, assetId, assetFarmingPower) ++ [IntegerEntry(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color), (availablePerches - 1))]) | |
633 | 633 | } | |
634 | 634 | } | |
635 | 635 | ||
636 | 636 | ||
637 | 637 | ||
638 | 638 | @Callable(i) | |
639 | 639 | func unstakeNFT (asset) = { | |
640 | 640 | let assetId = fromBase58String(asset) | |
641 | 641 | let address = toString(i.caller) | |
642 | 642 | let assetFarmingPower = getLastKnownAssetFarmingPower(address, asset) | |
643 | 643 | let assetRewardDelta = calcAssetRewardDelta(address, asset, assetFarmingPower) | |
644 | 644 | let farmedAmount = (assetRewardDelta + tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_lastCheckFarmedAmount"))) | |
645 | 645 | let withdrawnAmount = tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount")) | |
646 | 646 | let reward = ((farmedAmount - withdrawnAmount) / (scale * 100)) | |
647 | 647 | let color = takeRight(value(assetInfo(assetId)).name, 1) | |
648 | 648 | if ((0 >= assetFarmingPower)) | |
649 | 649 | then throw("asset not available") | |
650 | 650 | else if ((color == "U")) | |
651 | 651 | then throw("use another function to unstake Jackpot NFT") | |
652 | 652 | else { | |
653 | 653 | let result = getUnstakeResult(address, assetId, assetRewardDelta, reward, assetFarmingPower) | |
654 | 654 | (result ++ [IntegerEntry(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color), (tryGetInteger(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)) + 1)), ScriptTransfer(i.caller, reward, eggsAssetId), ScriptTransfer(i.caller, 1, assetId)]) | |
655 | 655 | } | |
656 | 656 | } | |
657 | 657 | ||
658 | 658 | ||
659 | 659 | ||
660 | 660 | @Callable(i) | |
661 | 661 | func stakeJackpot (color) = { | |
662 | 662 | let assetId = value(value(i.payments[0]).assetId) | |
663 | 663 | let address = toString(i.caller) | |
664 | 664 | let availablePerches = tryGetInteger(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)) | |
665 | 665 | let assetIssuer = value(assetInfo(assetId)).issuer.bytes | |
666 | 666 | if (if ((assetIssuer == incubatorAddress)) | |
667 | 667 | then true | |
668 | 668 | else (assetIssuer == breederAddress)) | |
669 | 669 | then if ((takeRight(value(value(assetInfo(assetId)).name), 1) != "U")) | |
670 | 670 | then throw("jackpot only") | |
671 | 671 | else if ((0 >= availablePerches)) | |
672 | 672 | then throw(("no perches available for the color " + color)) | |
673 | 673 | else (getStakeResult(address, assetId, 100) ++ [IntegerEntry(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color), (availablePerches - 1)), StringEntry((((("address_" + toString(i.caller)) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)]) | |
674 | 674 | else throw("asset is not valid") | |
675 | 675 | } | |
676 | 676 | ||
677 | 677 | ||
678 | 678 | ||
679 | 679 | @Callable(i) | |
680 | 680 | func unstakeJackpot (asset) = { | |
681 | 681 | let assetId = fromBase58String(asset) | |
682 | 682 | let address = toString(i.caller) | |
683 | 683 | let color = tryGetString((((("address_" + address) + "_asset_") + asset) + "_perchColor")) | |
684 | 684 | let assetFarmingPower = getLastKnownAssetFarmingPower(address, asset) | |
685 | 685 | let assetRewardDelta = calcAssetRewardDelta(address, asset, assetFarmingPower) | |
686 | 686 | let farmedAmount = (assetRewardDelta + tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_lastCheckFarmedAmount"))) | |
687 | 687 | let withdrawnAmount = tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount")) | |
688 | 688 | let reward = ((farmedAmount - withdrawnAmount) / (scale * 100)) | |
689 | 689 | if ((takeRight(value(value(assetInfo(assetId)).name), 1) != "U")) | |
690 | 690 | then throw("jackpot only") | |
691 | 691 | else if ((assetFarmingPower > 0)) | |
692 | 692 | then { | |
693 | 693 | let result = getUnstakeResult(address, assetId, assetRewardDelta, reward, assetFarmingPower) | |
694 | 694 | (result ++ [IntegerEntry(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color), (tryGetInteger(((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)) + 1)), ScriptTransfer(i.caller, reward, eggsAssetId), ScriptTransfer(i.caller, 1, assetId)]) | |
695 | 695 | } | |
696 | 696 | else throw("") | |
697 | 697 | } | |
698 | 698 | ||
699 | 699 | ||
700 | 700 | ||
701 | 701 | @Callable(i) | |
702 | 702 | func claimReward (asset) = { | |
703 | 703 | let address = toString(i.caller) | |
704 | 704 | let assetId = fromBase58String(asset) | |
705 | 705 | let assetFarmingPower = getLastKnownAssetFarmingPower(address, asset) | |
706 | 706 | let assetRewardDelta = calcAssetRewardDelta(address, asset, assetFarmingPower) | |
707 | 707 | let farmedAmount = (assetRewardDelta + tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_lastCheckFarmedAmount"))) | |
708 | 708 | let withdrawnAmount = tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount")) | |
709 | 709 | let reward = ((farmedAmount - withdrawnAmount) / (scale * 100)) | |
710 | 710 | if ((0 >= reward)) | |
711 | 711 | then throw("you have no EGGs to withdraw") | |
712 | 712 | else [IntegerEntry((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount"), (tryGetInteger((((("address_" + address) + "_asset_") + asset) + "_withdrawnAmount")) + (reward * scale2))), ScriptTransfer(Address(fromBase58String(address)), reward, eggsAssetId)] | |
713 | 713 | } | |
714 | 714 | ||
715 | 715 | ||
716 | 716 | ||
717 | 717 | @Callable(i) | |
718 | - | func getAssetRarityCallable (assetId) = { | |
719 | - | let assetIdBytes = toBytes(assetId) | |
720 | - | if (if ((value(assetInfo(assetIdBytes)).issuer == Address(breederAddress))) | |
721 | - | then true | |
722 | - | else (value(assetInfo(assetIdBytes)).issuer == Address(incubatorAddress))) | |
723 | - | then { | |
724 | - | let assetName = value(assetInfo(assetIdBytes)).name | |
725 | - | let generation = take(takeRight(assetName, 2), 1) | |
726 | - | let gen = ((getGen(assetName) + "-") + generation) | |
727 | - | $Tuple2(nil, getAssetRarity(gen, generation)) | |
728 | - | } | |
729 | - | else throw("not valid NFT") | |
730 | - | } | |
718 | + | func getAssetRarityCallable (assetId) = if (if ((value(assetInfo(assetId)).issuer == Address(breederAddress))) | |
719 | + | then true | |
720 | + | else (value(assetInfo(assetId)).issuer == Address(incubatorAddress))) | |
721 | + | then { | |
722 | + | let assetName = value(assetInfo(assetId)).name | |
723 | + | let generation = take(takeRight(assetName, 2), 1) | |
724 | + | let gen = ((getGen(assetName) + "-") + generation) | |
725 | + | $Tuple2(nil, getAssetRarity(gen, generation)) | |
726 | + | } | |
727 | + | else throw("not valid NFT") | |
731 | 728 | ||
732 | 729 | ||
733 | 730 | @Verifier(tx) | |
734 | 731 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
735 | 732 |
github/deemru/w8io/169f3d6 91.74 ms ◑