tx · 9dtbq8odYH38L2AHLHk5rHqm6huQnx7d43dLT66sgfTh 3N18QHemweGZqhkc9onYw8zLHwCL2QBL5Q6: -0.02000000 Waves 2024.10.03 13:02 [3310523] smart account 3N18QHemweGZqhkc9onYw8zLHwCL2QBL5Q6 > SELF 0.00000000 Waves
{ "type": 13, "id": "9dtbq8odYH38L2AHLHk5rHqm6huQnx7d43dLT66sgfTh", "fee": 2000000, "feeAssetId": null, "timestamp": 1727949779997, "version": 2, "chainId": 84, "sender": "3N18QHemweGZqhkc9onYw8zLHwCL2QBL5Q6", "senderPublicKey": "C3cxDF3n929PsCoTZoKwAV21cZyH76WTp67s6d3HoW5u", "proofs": [ "5ocKn6eeApJLub6dBn1CERtRsboca1WmNcJi9sF87mpq1siDgZJW15an2vQnmay5qzfc5tTbcab9wNctwSdDL4UE" ], "script": "base64:AAIFAAAAAAAAACkIAhIDCgEIEgQKAggIEgUKAwgICBIECgIICBIDCgEBEgMKAQgSAwoBCAAAACMBAAAAB2dldEJvb2wAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIHAQAAAAlpc1Rlc3RFbnYAAAAACQEAAAAHZ2V0Qm9vbAAAAAECAAAAB1RFU1RFTlYBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQkBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAABdzdGF0aWNLZXlfb3JhY2x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dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACnNlY29uZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAKc2Vjb25kVXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPdGhpcmRVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAAC5TGrCw==", "height": 3310523, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6yTbq5nw6QCYWTSL9jPrWAy3RxhKehJSe1wU77rv6Nzh Next: GzVPJBSGjHPPN8K4kJoaZEe6nJBdDiaDhmvCuxuqLY8m Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func getBool (key) = match getBoolean(this, key) { | |
5 | 5 | case b: Boolean => | |
6 | 6 | b | |
7 | 7 | case _ => | |
8 | 8 | false | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func isTestEnv () = getBool("TESTENV") | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func tryGetStringExternal (address,key) = match getString(address, key) { | |
16 | 16 | case a: String => | |
17 | 17 | a | |
18 | 18 | case _ => | |
19 | 19 | "" | |
20 | 20 | } | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func tryGetString (key) = tryGetStringExternal(this, key) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func staticKey_oracleAddress () = "static_oracleAddress" | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func staticKey_extraFee () = "static_extraFee" | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func staticKey_feeAggregator () = "static_feeAggregator" | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func staticKey_peteAssetId () = "static_peteAssetId" | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func staticKey_refContractAddress () = "static_refContractAddress" | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func staticKey_felineRebirthAddress () = "static_felineRebirthAddress" | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func staticKey_felinesStakingAddress () = "static_felineStakingAddress" | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress()))) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator()))) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func getPeteAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_peteAssetId())) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), "static_burnAddress"))) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress()))) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func getFelineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineRebirthAddress()))) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func getFelineStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felinesStakingAddress()))) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func checkAdditionalPayment (payment) = if (isDefined(payment.assetId)) | |
69 | 69 | then throw("BDCAP: Please attach waves") | |
70 | 70 | else { | |
71 | 71 | let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee()) | |
72 | 72 | if ((payment.amount != feeAmount)) | |
73 | 73 | then throw((("BDCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets")) | |
74 | 74 | else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)] | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | let delayForHatching = 2 | |
79 | 79 | ||
80 | 80 | let HatchingStarted = "HATCHING_STARTED" | |
81 | 81 | ||
82 | 82 | let HatchingFinished = "HATCHING_FINISHED" | |
83 | 83 | ||
84 | 84 | func isLocked () = { | |
85 | 85 | let masterAddress = Address(base58'3PEPftf2kWZDmAaWBjs6BUJa9957kiA2PkU') | |
86 | 86 | match getInteger(masterAddress, "egglock") { | |
87 | 87 | case b: Int => | |
88 | 88 | b | |
89 | 89 | case _ => | |
90 | 90 | 0 | |
91 | 91 | } | |
92 | 92 | } | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getHatchingStatusKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_status") | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getHatchingFinishHeightKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh") | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getFelineIdKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_di") | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getFelineStatsKey (genString) = (("stats_" + genString) + "_amount") | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func tryGetInteger (key) = { | |
108 | 108 | let val = match getInteger(this, key) { | |
109 | 109 | case b: Int => | |
110 | 110 | b | |
111 | 111 | case _ => | |
112 | 112 | 0 | |
113 | 113 | } | |
114 | 114 | val | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | let discountCoefficient = tryGetInteger("discountCoefficient") | |
119 | 119 | ||
120 | 120 | func getRandomNumber (variants,txId,hatchingFinishHeight,offset) = { | |
121 | 121 | let randomSeedBlock = value(blockInfoByHeight((hatchingFinishHeight - 1))) | |
122 | 122 | let randomHash = sha256((txId + value(randomSeedBlock.vrf))) | |
123 | 123 | (toInt(randomHash, (offset * 8)) % variants) | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func select (color) = { | |
128 | 128 | let oldGenes = nil | |
129 | 129 | let newGenes = [$Tuple2(("FELI-AAAAAAAA-G" + color), "8A-G"), $Tuple2(("FELI-BBBBBBBB-G" + color), "8B-G"), $Tuple2(("FELI-CCCCCCCC-G" + color), "8C-G"), $Tuple2(("FELI-DDDDDDDD-G" + color), "8D-G")] | |
130 | 130 | $Tuple2((oldGenes ++ newGenes), newGenes) | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func getRandomName (txId,hatchingFinishHeight,all) = { | |
135 | 135 | let colorRandom = getRandomNumber(4, txId, hatchingFinishHeight, 1) | |
136 | 136 | let color = ["A", "B", "C", "D"][colorRandom] | |
137 | 137 | let colorSelect = select(color) | |
138 | 138 | let toPickFrom = if (all) | |
139 | 139 | then colorSelect._1 | |
140 | 140 | else colorSelect._2 | |
141 | 141 | let typeRandom = getRandomNumber(size(toPickFrom), txId, hatchingFinishHeight, 0) | |
142 | 142 | toPickFrom[typeRandom] | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | let typesAmount = (size(select("R")._1) - 1) | |
147 | 147 | ||
148 | 148 | func countEggsNeededAmount (totalFelinesAmount) = { | |
149 | 149 | let n = totalFelinesAmount | |
150 | 150 | let g = discountCoefficient | |
151 | 151 | let t = typesAmount | |
152 | 152 | let price = (pow((100 + ((n * g) / (10 * t))), 2, 5, 1, 2, DOWN) + 1000) | |
153 | 153 | (price * 1500000) | |
154 | 154 | } | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func asBoolean (value) = match value { | |
158 | 158 | case boolean: Boolean => | |
159 | 159 | boolean | |
160 | 160 | case _ => | |
161 | 161 | throw("TI: wrong type, expected: Boolean") | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | @Callable(i) | |
166 | 166 | func configureOracle (oracle) = if ((i.caller != this)) | |
167 | 167 | then throw("ICU: admin only") | |
168 | 168 | else [StringEntry("static_oracleAddress", oracle)] | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | ||
172 | 172 | @Callable(i) | |
173 | 173 | func reduceRarity (assetId,fGen) = { | |
174 | 174 | let asset = fromBase58String(assetId) | |
175 | 175 | if (if ((i.caller != getFelineRebirthAddress())) | |
176 | 176 | then (i.caller != this) | |
177 | 177 | else false) | |
178 | 178 | then throw("IRR: admin or rebirth only") | |
179 | 179 | else { | |
180 | 180 | let duckGen = value(assetInfo(asset)).name | |
181 | 181 | let letter = takeRight(take(duckGen, 6), 1) | |
182 | 182 | let farmGen = (("8" + letter) + "-G") | |
183 | 183 | [IntegerEntry(getFelineStatsKey(duckGen), (tryGetInteger(getFelineStatsKey(duckGen)) - 1)), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) - 1))] | |
184 | 184 | } | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | ||
189 | 189 | @Callable(i) | |
190 | 190 | func issueJackpot (address,txIdStr,gen) = if (if ((i.caller != getFelineRebirthAddress())) | |
191 | 191 | then (i.caller != this) | |
192 | 192 | else false) | |
193 | 193 | then throw("ISJ: admin or rebirth only") | |
194 | 194 | else { | |
195 | 195 | let txId = fromBase58String(txIdStr) | |
196 | 196 | let hatchingStatusKey = getHatchingStatusKey(address, txId) | |
197 | 197 | let finishHeightKey = getHatchingFinishHeightKey(address, txId) | |
198 | 198 | let totalDucksAmount = tryGetInteger("felines_amount") | |
199 | 199 | let eggsNeeded = countEggsNeededAmount(totalDucksAmount) | |
200 | 200 | let $t061476201 = $Tuple2((("Feline-" + gen) + "-JU"), "8W-J") | |
201 | 201 | let duckGen = $t061476201._1 | |
202 | 202 | let farmGen = $t061476201._2 | |
203 | 203 | let description = (("{\"genotype\": \"" + duckGen) + "\", \"crossbreeding\": true}") | |
204 | 204 | let asset = Issue(duckGen, description, 1, 0, false, unit, height) | |
205 | 205 | let assetId = calculateAssetId(asset) | |
206 | 206 | let duckIdKey = getFelineIdKey(address, txId) | |
207 | 207 | let valueDuckIdKeyExits = tryGetString(duckIdKey) | |
208 | 208 | if ((valueDuckIdKeyExits != "")) | |
209 | 209 | then throw((("ISJ: You will override following duckId :" + duckIdKey) + " make sure that your txId is unique!")) | |
210 | 210 | else $Tuple2([IntegerEntry(getHatchingFinishHeightKey(address, txId), height), IntegerEntry("felines_amount", (totalDucksAmount + 1)), IntegerEntry("felines_last_price", (eggsNeeded / 1000000)), StringEntry(hatchingStatusKey, HatchingFinished), StringEntry(duckIdKey, toBase58String(assetId)), StringEntry(toBase58String(assetId), duckIdKey), IntegerEntry(getFelineStatsKey(duckGen), (tryGetInteger(getFelineStatsKey(duckGen)) + 1)), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) + 1)), asset, ScriptTransfer(value(addressFromString(address)), 1, assetId)], toBase58String(assetId)) | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | ||
215 | 215 | @Callable(i) | |
216 | 216 | func issueFree (address,txIdStr) = if ((i.caller != getFelineRebirthAddress())) | |
217 | 217 | then throw("FISF: rebirth only") | |
218 | 218 | else { | |
219 | 219 | let txId = fromBase58String(txIdStr) | |
220 | 220 | let hatchingStatusKey = getHatchingStatusKey(address, txId) | |
221 | 221 | let finishHeightKey = getHatchingFinishHeightKey(address, txId) | |
222 | 222 | let totalDucksAmount = tryGetInteger("felines_amount") | |
223 | 223 | let eggsNeeded = countEggsNeededAmount(totalDucksAmount) | |
224 | 224 | let $t078017951 = getRandomName(txId, (valueOrErrorMessage(transactionHeightById(txId), ((txIdStr + " not found ") + toBase58String(txId))) + 1), true) | |
225 | 225 | let FelineGen = $t078017951._1 | |
226 | 226 | let farmGen = $t078017951._2 | |
227 | 227 | let description = (("{\"genotype\": \"" + FelineGen) + "\", \"crossbreeding\": true}") | |
228 | 228 | let asset = Issue(FelineGen, description, 1, 0, false, unit, height) | |
229 | 229 | let assetId = calculateAssetId(asset) | |
230 | 230 | let amount = (tryGetInteger(getFelineStatsKey(FelineGen)) + 1) | |
231 | 231 | let duckIdKey = getFelineIdKey(address, txId) | |
232 | 232 | $Tuple2([IntegerEntry(getHatchingFinishHeightKey(address, txId), height), IntegerEntry("felines_amount", (totalDucksAmount + 1)), IntegerEntry("felines_last_price", (eggsNeeded / 1500000)), StringEntry(hatchingStatusKey, HatchingFinished), StringEntry(duckIdKey, toBase58String(assetId)), StringEntry(toBase58String(assetId), duckIdKey), IntegerEntry(getFelineStatsKey(FelineGen), amount), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) + 1)), asset, ScriptTransfer(value(addressFromString(address)), 1, assetId)], toBase58String(assetId)) | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | ||
237 | 237 | @Callable(i) | |
238 | 238 | func setDiscount (val) = if ((i.caller != this)) | |
239 | 239 | then throw("admin_only") | |
240 | 240 | else [IntegerEntry("discountCoefficient", val)] | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | ||
244 | 244 | @Callable(i) | |
245 | 245 | func startHatching (refererAddress) = { | |
246 | 246 | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
247 | 247 | if ((feeValidate == feeValidate)) | |
248 | 248 | then if ((isLocked() > 0)) | |
249 | 249 | then throw("EGG operations are temporarily locked") | |
250 | 250 | else { | |
251 | 251 | let totalFelineAmount = tryGetInteger("felines_amount") | |
252 | 252 | let eggsNeeded = countEggsNeededAmount(totalFelineAmount) | |
253 | 253 | let results = [StringEntry(getHatchingStatusKey(toString(i.originCaller), i.transactionId), HatchingStarted), IntegerEntry(getHatchingFinishHeightKey(toString(i.originCaller), i.transactionId), (height + delayForHatching)), IntegerEntry("felines_amount", (totalFelineAmount + 1)), IntegerEntry("felines_last_price", (eggsNeeded / 1500000))] | |
254 | 254 | let leftToPay = eggsNeeded | |
255 | 255 | let firstPayment = value(i.payments[1]) | |
256 | 256 | if ((firstPayment.assetId != getPeteAssetId())) | |
257 | 257 | then throw(("TB: You can attach only EGG tokens with the following asset id: " + toBase58String(getPeteAssetId()))) | |
258 | 258 | else if ((leftToPay > firstPayment.amount)) | |
259 | 259 | then throw(((("TB: To breed a Feline you following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller))) | |
260 | 260 | else { | |
261 | 261 | let addMore = invoke(getFelineStakingAddress(), "addPeteAndStakeMore", nil, [AttachedPayment(getPeteAssetId(), leftToPay)]) | |
262 | 262 | if ((addMore == addMore)) | |
263 | 263 | then { | |
264 | 264 | let refund = if ((size(i.payments) == 2)) | |
265 | 265 | then [ScriptTransfer(i.caller, (i.payments[1].amount - leftToPay), getPeteAssetId())] | |
266 | 266 | else nil | |
267 | 267 | ((results ++ refund) ++ feeValidate) | |
268 | 268 | } | |
269 | 269 | else throw("Strict value is not equal to itself.") | |
270 | 270 | } | |
271 | 271 | } | |
272 | 272 | else throw("Strict value is not equal to itself.") | |
273 | 273 | } | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | ||
277 | 277 | @Callable(i) | |
278 | 278 | func finishHatching (txIdStr) = { | |
279 | 279 | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
280 | 280 | if ((feeValidate == feeValidate)) | |
281 | 281 | then { | |
282 | 282 | let txId = fromBase58String(txIdStr) | |
283 | 283 | let hatchingStatusKey = getHatchingStatusKey(toString(i.caller), txId) | |
284 | 284 | let finishHeightKey = getHatchingFinishHeightKey(toString(i.caller), txId) | |
285 | 285 | let FelineIdKey = getFelineIdKey(toString(i.caller), txId) | |
286 | 286 | let hatchingTxStatus = getStringValue(this, hatchingStatusKey) | |
287 | 287 | let hatchingFinishHeight = getIntegerValue(this, finishHeightKey) | |
288 | 288 | if ((hatchingTxStatus == HatchingFinished)) | |
289 | 289 | then { | |
290 | 290 | let FelineId = getStringValue(this, getFelineIdKey(toString(i.caller), txId)) | |
291 | 291 | throw(("The Feline was hatched and claimed already, here is the folowing: " + FelineId)) | |
292 | 292 | } | |
293 | 293 | else if ((hatchingFinishHeight > height)) | |
294 | 294 | then throw((((("Hatching is not finished yet " + toString((hatchingFinishHeight - height))) + " blocks remaining, it will take around ") + toString((hatchingFinishHeight - height))) + " minutes")) | |
295 | 295 | else { | |
296 | 296 | let $t01164011715 = getRandomName(txId, hatchingFinishHeight, false) | |
297 | 297 | let FelineGen = $t01164011715._1 | |
298 | 298 | let farmGen = $t01164011715._2 | |
299 | 299 | let description = (("{\"genotype\": \"" + FelineGen) + "\", \"crossbreeding\": true}") | |
300 | 300 | let asset = Issue(FelineGen, description, 1, 0, false, unit, hatchingFinishHeight) | |
301 | 301 | let assetId = calculateAssetId(asset) | |
302 | 302 | let amount = (tryGetInteger(getFelineStatsKey(FelineGen)) + 1) | |
303 | 303 | ([StringEntry(hatchingStatusKey, HatchingFinished), StringEntry(FelineIdKey, toBase58String(assetId)), StringEntry(toBase58String(assetId), FelineIdKey), IntegerEntry(getFelineStatsKey(FelineGen), amount), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) + 1)), asset, ScriptTransfer(i.caller, 1, assetId)] ++ feeValidate) | |
304 | 304 | } | |
305 | 305 | } | |
306 | 306 | else throw("Strict value is not equal to itself.") | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | @Verifier(tx) | |
311 | 311 | func verify () = if (isTestEnv()) | |
312 | 312 | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
313 | 313 | else { | |
314 | 314 | let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
315 | 315 | let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
316 | 316 | let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
317 | 317 | let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) | |
318 | 318 | then 1 | |
319 | 319 | else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser)) | |
320 | 320 | then 1 | |
321 | 321 | else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser)) | |
322 | 322 | then 1 | |
323 | 323 | else 0 | |
324 | 324 | let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser)) | |
325 | 325 | then 1 | |
326 | 326 | else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser)) | |
327 | 327 | then 1 | |
328 | 328 | else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser)) | |
329 | 329 | then 1 | |
330 | 330 | else 0 | |
331 | 331 | let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser)) | |
332 | 332 | then 1 | |
333 | 333 | else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser)) | |
334 | 334 | then 1 | |
335 | 335 | else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser)) | |
336 | 336 | then 1 | |
337 | 337 | else 0 | |
338 | 338 | let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned) | |
339 | 339 | match tx { | |
340 | 340 | case _ => | |
341 | 341 | (signaturesCount >= 2) | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 |
github/deemru/w8io/026f985 39.23 ms ◑