tx · 39aJpSPJa1z3HMgnmGpTcRJaDriytfsrXzrGpX7cpkPh 3N4XDqsd3iMrXb6kS7R7Wwd4azMsqUXMvfe: -0.03800000 Waves 2023.01.24 05:41 [2418455] smart account 3N4XDqsd3iMrXb6kS7R7Wwd4azMsqUXMvfe > SELF 0.00000000 Waves
{ "type": 13, "id": "39aJpSPJa1z3HMgnmGpTcRJaDriytfsrXzrGpX7cpkPh", "fee": 3800000, "feeAssetId": null, "timestamp": 1674528155455, "version": 2, "chainId": 84, "sender": "3N4XDqsd3iMrXb6kS7R7Wwd4azMsqUXMvfe", "senderPublicKey": "C2mzHuEYRUgN9aEFza8tUYr6jfSWEgS6WvPmA54fejJk", "proofs": [ "5149WUcv5haCRbALTN4NGnq5JK8JsftsLVRrrHFUzPHVp6wXa6qvJUjaeHN38gRe62Y2xN8NF1WPK3MarKQF5dPT" ], "script": "base64:BgJoCAISAwoBCBIDCgEIEgMKAQgSBAoCGBESAwoBCBIGCgQIAQEBEgQKAggBEgUKAwEIERIFCgMBCBESBgoEAQgBERIDCgEIEgASFwoVCAgIAQEBARgICAgICAgIGBgYGBgYEgQKAggIEgARABRuZnRfY3JlYXRpb25fYWRkcmVzcwkBB0FkZHJlc3MBARoBVPjUV4Y8PkqOBk8XyYQQa6Nwps613aq0LAAVcHJpY2VfaW5jcmVhc2VfcGVyaW9kAAEAD21pbnRfY29sbGVjdGlvbgISQ2xlZiBnZW5lc2lzIHNvbmdzABBtaW50X2Rlc2NyaXB0aW9uAmRHZW5lc2lzIENsZWYgc29uZy4gVGhpcyBtZWxvZHkgaXMgY3JhZnRlZCB0byBiZWNvbWUgeW91ciBlbGVjdHJvbmljIGphbS4gVXNlIGl0IG9uIGNsZWYub25lIPCfkprwn6SNABFoeWJyaWRfY29sbGVjdGlvbgIKQ2xlZiBtaXhlcwASaHlicmlkX2Rlc2NyaXB0aW9uAldDbGVmIG1peC4gVGhpcyBtZWxvZHkgd2FzIGNyZWF0ZWQgYnkgYW4gYWxnb3Jp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dW50AAEJAAIBAg1Xcm9uZyBwYXltZW50BAlzb25nXzBfaWQEByRtYXRjaDAICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAFiBQckbWF0Y2gwBQFiCQACAQINV3JvbmcgcGF5bWVudAQJc29uZ18xX2lkBAckbWF0Y2gwCAkAkQMCCAUBaQhwYXltZW50cwABB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQBYgUHJG1hdGNoMAUBYgkAAgECDVdyb25nIHBheW1lbnQDCQAAAgUJc29uZ18wX2lkBQlzb25nXzFfaWQJAAIBAhlTb25ncyBzaG91bGQgYmUgZGlmZmVyZW50BAZzb25nXzAJARFAZXh0ck5hdGl2ZSgxMDU4KQEJANgEAQUJc29uZ18wX2lkBAZzb25nXzEJARFAZXh0ck5hdGl2ZSgxMDU4KQEJANgEAQUJc29uZ18xX2lkBAVidXJuMAkA/AcEBRRuZnRfY3JlYXRpb25fYWRkcmVzcwIHYnVybk5GVAUDbmlsCQDMCAIJAJEDAggFAWkIcGF5bWVudHMAAAUDbmlsAwkAAAIFBWJ1cm4wBQVidXJuMAQFYnVybjEJAPwHBAUUbmZ0X2NyZWF0aW9uX2FkZHJlc3MCB2J1cm5ORlQFA25pbAkAzAgCCQCRAwIIBQFpCHBheW1lbnRzAAEFA25pbAMJAAACBQVidXJuMQUFYnVybjEJAJQKAgkBDm1ha2VfaHlicmlkX3R4AwUBaQUGc29uZ18wBQZzb25nXzEFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AeQZcNw==", "height": 2418455, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5gTXAN5D6yz9K2MDuva43qqccfU2eKUVWPTBVzLQA6BG Next: BTjj2HzjwULfLsSin79MGwb6KqW4Z5jqfuNDsGwTCX6E Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let nft_creation_address = Address(base58'3NCbmjGV7YHKdkHEfWkfGhmZyXsJbymQ5Z5') | |
5 | 5 | ||
6 | - | let price_increase_period = | |
6 | + | let price_increase_period = 1 | |
7 | 7 | ||
8 | 8 | let mint_collection = "Clef genesis songs" | |
9 | 9 | ||
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | + | func mint_hybrid_paid (i,song_0,song_1) = { | |
83 | + | let caller_addr = Address(i.caller.bytes) | |
84 | + | let song_0_id = fromBase58String(getStringValue(song_0)) | |
85 | + | let song_1_id = fromBase58String(getStringValue(song_1)) | |
86 | + | let price_amount = getIntegerValue("price_hybrid_amount") | |
87 | + | let price_limit = getIntegerValue("price_hybrid_limit") | |
88 | + | let price_token = getStringValue("price_hybrid_token") | |
89 | + | let price_change = hybrid_calculate_change(i, price_token, price_amount) | |
90 | + | if ((0 > price_change)) | |
91 | + | then throw("Wrong payment") | |
92 | + | else if ((song_0_id == song_1_id)) | |
93 | + | then throw("Songs should be different") | |
94 | + | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
95 | + | then throw("Caller do not own first song") | |
96 | + | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
97 | + | then throw("Caller do not own second song") | |
98 | + | else { | |
99 | + | let mint_count = getIntegerValue("mint_count") | |
100 | + | let price_inc = getIntegerValue("price_hybrid_increment") | |
101 | + | let price_count_inc = IntegerEntry("mint_count", (mint_count + 1)) | |
102 | + | let price_increase = if (if (((mint_count % price_increase_period) == (price_increase_period - 1))) | |
103 | + | then (price_limit > (price_amount + price_inc)) | |
104 | + | else false) | |
105 | + | then [price_count_inc, IntegerEntry("price_hybrid_amount", (price_amount + price_inc))] | |
106 | + | else [price_count_inc] | |
107 | + | if ((price_change > 0)) | |
108 | + | then $Tuple2(((make_hybrid_tx(i, song_0, song_1) ++ price_increase) ++ [ScriptTransfer(caller_addr, price_change, if ((price_token == "")) | |
109 | + | then unit | |
110 | + | else fromBase58String(price_token))]), unit) | |
111 | + | else $Tuple2((make_hybrid_tx(i, song_0, song_1) ++ price_increase), unit) | |
112 | + | } | |
113 | + | } | |
114 | + | ||
115 | + | ||
116 | + | func mint_hybrid_free (i,song_0,song_1) = { | |
117 | + | let caller_addr = Address(i.caller.bytes) | |
118 | + | let song_0_id = fromBase58String(getStringValue(song_0)) | |
119 | + | let song_1_id = fromBase58String(getStringValue(song_1)) | |
120 | + | if ((song_0_id == song_1_id)) | |
121 | + | then throw("Songs should be different") | |
122 | + | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
123 | + | then throw("Caller do not own first song") | |
124 | + | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
125 | + | then throw("Caller do not own second song") | |
126 | + | else $Tuple2(make_hybrid_tx(i, song_0, song_1), unit) | |
127 | + | } | |
128 | + | ||
129 | + | ||
82 | 130 | func check_whitelist (caller) = if ((this == caller)) | |
83 | 131 | then true | |
84 | 132 | else match getBoolean(("W_" + toBase58String(caller.bytes))) { | |
90 | 138 | ||
91 | 139 | ||
92 | 140 | func fold_set_rarity (accum,index) = { | |
93 | - | let $ | |
94 | - | let entries = $ | |
95 | - | let assets = $ | |
96 | - | let values = $ | |
141 | + | let $t01215012187 = accum | |
142 | + | let entries = $t01215012187._1 | |
143 | + | let assets = $t01215012187._2 | |
144 | + | let values = $t01215012187._3 | |
97 | 145 | if ((index >= size(assets))) | |
98 | 146 | then accum | |
99 | 147 | else if (if ((0 > values[index])) | |
140 | 188 | else if ((size(assets) != size(values))) | |
141 | 189 | then throw("Assets and values list size mismatch") | |
142 | 190 | else { | |
143 | - | let $ | |
191 | + | let $t01349013585 = { | |
144 | 192 | let $l = indices_20 | |
145 | 193 | let $s = size($l) | |
146 | 194 | let $acc0 = $Tuple3(nil, assets, values) | |
154 | 202 | ||
155 | 203 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
156 | 204 | } | |
157 | - | let entries = $ | |
158 | - | let assets_ = $ | |
159 | - | let values_ = $ | |
205 | + | let entries = $t01349013585._1 | |
206 | + | let assets_ = $t01349013585._2 | |
207 | + | let values_ = $t01349013585._3 | |
160 | 208 | $Tuple2(entries, unit) | |
161 | 209 | } | |
162 | 210 | ||
170 | 218 | ||
171 | 219 | ||
172 | 220 | @Callable(i) | |
173 | - | func set_price_hybrid (token,amount,increment) = if (!(check_whitelist(i.caller))) | |
221 | + | func set_price_hybrid (token,amount,limit,increment) = if (!(check_whitelist(i.caller))) | |
174 | 222 | then throw("Caller not in whitelist") | |
175 | - | else $Tuple2([StringEntry("price_hybrid_token", token), IntegerEntry("price_hybrid_amount", amount), IntegerEntry("price_hybrid_increment", increment)], unit) | |
223 | + | else $Tuple2([IntegerEntry("mint_count", 0), StringEntry("price_hybrid_token", token), IntegerEntry("price_hybrid_amount", amount), IntegerEntry("price_hybrid_limit", limit), IntegerEntry("price_hybrid_increment", increment)], unit) | |
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | @Callable(i) | |
228 | + | func set_free_mix_token (token,amount) = if (!(check_whitelist(i.caller))) | |
229 | + | then throw("Caller not in whitelist") | |
230 | + | else $Tuple2([StringEntry("free_mix_token", token), IntegerEntry("free_mix_amount", amount)], unit) | |
176 | 231 | ||
177 | 232 | ||
178 | 233 | ||
179 | 234 | @Callable(i) | |
180 | 235 | func mint_chord (index,name,notes) = if (!(check_whitelist(i.caller))) | |
181 | 236 | then throw("Caller not in whitelist") | |
182 | - | else if ((size(notes) != | |
237 | + | else if ((size(notes) != 16)) | |
183 | 238 | then throw("Wrong notes size") | |
184 | 239 | else { | |
185 | 240 | let n = match getInteger("count") { | |
189 | 244 | 0 | |
190 | 245 | } | |
191 | 246 | let key = to_key(index) | |
192 | - | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_CL"), name), IntegerEntry((key + "_ | |
247 | + | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_CL"), name), IntegerEntry((key + "_C00"), notes[0]), IntegerEntry((key + "_C01"), notes[1]), IntegerEntry((key + "_C02"), notes[2]), IntegerEntry((key + "_C03"), notes[3]), IntegerEntry((key + "_C04"), notes[4]), IntegerEntry((key + "_C05"), notes[5]), IntegerEntry((key + "_C06"), notes[6]), IntegerEntry((key + "_C07"), notes[7]), IntegerEntry((key + "_C08"), notes[8]), IntegerEntry((key + "_C09"), notes[9]), IntegerEntry((key + "_C10"), notes[10]), IntegerEntry((key + "_C11"), notes[11]), IntegerEntry((key + "_C12"), notes[12]), IntegerEntry((key + "_C13"), notes[13]), IntegerEntry((key + "_C14"), notes[14]), IntegerEntry((key + "_C15"), notes[15])], unit) | |
193 | 248 | } | |
194 | 249 | ||
195 | 250 | ||
301 | 356 | ||
302 | 357 | ||
303 | 358 | @Callable(i) | |
304 | - | func mint_hybrid (song_0,song_1) = { | |
305 | - | let caller_addr = Address(i.caller.bytes) | |
306 | - | let song_0_id = fromBase58String(getStringValue(song_0)) | |
307 | - | let song_1_id = fromBase58String(getStringValue(song_1)) | |
308 | - | let price_amount = getIntegerValue("price_hybrid_amount") | |
309 | - | let price_token = getStringValue("price_hybrid_token") | |
310 | - | let price_change = hybrid_calculate_change(i, price_token, price_amount) | |
311 | - | if ((0 > price_change)) | |
312 | - | then throw("Wrong payment") | |
313 | - | else if ((song_0_id == song_1_id)) | |
314 | - | then throw("Songs should be different") | |
315 | - | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
316 | - | then throw("Caller do not own first song") | |
317 | - | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
318 | - | then throw("Caller do not own second song") | |
319 | - | else { | |
320 | - | let mint_count = match getInteger("mint_count") { | |
321 | - | case j: Int => | |
322 | - | j | |
323 | - | case _ => | |
324 | - | 0 | |
325 | - | } | |
326 | - | let price_count_inc = IntegerEntry("mint_count", (mint_count + 1)) | |
327 | - | let price_increase = if (((mint_count % price_increase_period) == (price_increase_period - 1))) | |
328 | - | then [price_count_inc, IntegerEntry("price_hybrid_amount", (price_amount + getIntegerValue("price_hybrid_increment")))] | |
329 | - | else [price_count_inc] | |
330 | - | if ((price_change > 0)) | |
331 | - | then $Tuple2(((make_hybrid_tx(i, song_0, song_1) ++ price_increase) ++ [ScriptTransfer(Address(i.caller.bytes), price_change, if ((price_token == "")) | |
332 | - | then unit | |
333 | - | else fromBase58String(price_token))]), unit) | |
334 | - | else $Tuple2((make_hybrid_tx(i, song_0, song_1) ++ price_increase), unit) | |
335 | - | } | |
336 | - | } | |
359 | + | func mint_hybrid (song_0,song_1) = if (if (if ((size(i.payments) == 1)) | |
360 | + | then (getStringValue("free_mix_token") == match i.payments[0].assetId { | |
361 | + | case b: ByteVector => | |
362 | + | toBase58String(b) | |
363 | + | case _ => | |
364 | + | "" | |
365 | + | }) | |
366 | + | else false) | |
367 | + | then (i.payments[0].amount == getIntegerValue("free_mix_amount")) | |
368 | + | else false) | |
369 | + | then mint_hybrid_free(i, song_0, song_1) | |
370 | + | else mint_hybrid_paid(i, song_0, song_1) | |
337 | 371 | ||
338 | 372 | ||
339 | 373 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let nft_creation_address = Address(base58'3NCbmjGV7YHKdkHEfWkfGhmZyXsJbymQ5Z5') | |
5 | 5 | ||
6 | - | let price_increase_period = | |
6 | + | let price_increase_period = 1 | |
7 | 7 | ||
8 | 8 | let mint_collection = "Clef genesis songs" | |
9 | 9 | ||
10 | 10 | let mint_description = "Genesis Clef song. This melody is crafted to become your electronic jam. Use it on clef.one 💚🤍" | |
11 | 11 | ||
12 | 12 | let hybrid_collection = "Clef mixes" | |
13 | 13 | ||
14 | 14 | let hybrid_description = "Clef mix. This melody was created by an algorithm. Enjoy this jam or use it on clef.one" | |
15 | 15 | ||
16 | 16 | let indices_20 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] | |
17 | 17 | ||
18 | 18 | func to_key (n) = toBase58String(toBytes(n)) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func unique_bytes (i) = ((((i.transactionId + i.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func random_uint (bytes,nonce) = { | |
25 | 25 | let n = toInt(sha256_16Kb((bytes + toBytes(nonce)))) | |
26 | 26 | if ((0 > n)) | |
27 | 27 | then -(n) | |
28 | 28 | else n | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func pick_one (key_0,key_1,rand_int,bit_power) = if ((((rand_int / bit_power) % 2) == 0)) | |
33 | 33 | then key_0 | |
34 | 34 | else key_1 | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func hybrid_calculate_change (i,token,amount) = if ((size(i.payments) != 1)) | |
38 | 38 | then -1 | |
39 | 39 | else { | |
40 | 40 | let p = i.payments[0] | |
41 | 41 | let p_token = match p.assetId { | |
42 | 42 | case id: ByteVector => | |
43 | 43 | toBase58String(id) | |
44 | 44 | case _ => | |
45 | 45 | "" | |
46 | 46 | } | |
47 | 47 | if ((p_token != token)) | |
48 | 48 | then -1 | |
49 | 49 | else (p.amount - amount) | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func make_hybrid_tx (i,song_0,song_1) = { | |
54 | 54 | let n = match getInteger("count") { | |
55 | 55 | case j: Int => | |
56 | 56 | j | |
57 | 57 | case _ => | |
58 | 58 | 0 | |
59 | 59 | } | |
60 | 60 | let name_short = take(("Clef " + toString(n)), 16) | |
61 | 61 | let description = hybrid_description | |
62 | 62 | let collection = hybrid_collection | |
63 | 63 | let id = match invoke(nft_creation_address, "createNFT", [name_short, description, getStringValue("market_image_link"), collection], nil) { | |
64 | 64 | case x: String => | |
65 | 65 | x | |
66 | 66 | case _ => | |
67 | 67 | throw("NFT creation failed") | |
68 | 68 | } | |
69 | 69 | if ((id == id)) | |
70 | 70 | then { | |
71 | 71 | let id_b = fromBase58String(id) | |
72 | 72 | let key = to_key(n) | |
73 | 73 | let bytes = unique_bytes(i) | |
74 | 74 | let rand_0 = random_uint(bytes, 0) | |
75 | 75 | let rand_1 = random_uint(bytes, 1) | |
76 | 76 | [IntegerEntry("count", (n + 1)), StringEntry(id, key), StringEntry(key, id), IntegerEntry((key + "_G"), (max([getIntegerValue((song_0 + "_G")), getIntegerValue((song_1 + "_G"))]) + 1)), StringEntry((key + "_SL"), ""), IntegerEntry((key + "_SN"), rand_0), StringEntry((key + "_SP0"), song_0), StringEntry((key + "_SP1"), song_1), IntegerEntry((key + "_SB0"), getIntegerValue((pick_one(song_0, song_1, rand_0, 1) + "_SB0"))), IntegerEntry((key + "_SB1"), getIntegerValue((pick_one(song_0, song_1, rand_0, 2) + "_SB1"))), IntegerEntry((key + "_SB2"), getIntegerValue((pick_one(song_0, song_1, rand_0, 4) + "_SB2"))), IntegerEntry((key + "_ST"), getIntegerValue((pick_one(song_0, song_1, rand_0, 8) + "_ST"))), StringEntry((key + "_SC0"), getStringValue((pick_one(song_0, song_1, rand_0, 16) + "_SC0"))), StringEntry((key + "_SC1"), getStringValue((pick_one(song_0, song_1, rand_0, 32) + "_SC1"))), StringEntry((key + "_SC2"), getStringValue((pick_one(song_0, song_1, rand_0, 64) + "_SC2"))), StringEntry((key + "_SC3"), getStringValue((pick_one(song_0, song_1, rand_0, 128) + "_SC3"))), StringEntry((key + "_SC4"), getStringValue((pick_one(song_0, song_1, rand_0, 512) + "_SC4"))), StringEntry((key + "_SC5"), getStringValue((pick_one(song_0, song_1, rand_0, 1024) + "_SC5"))), StringEntry((key + "_SC6"), getStringValue((pick_one(song_0, song_1, rand_0, 2048) + "_SC6"))), StringEntry((key + "_SC7"), getStringValue((pick_one(song_0, song_1, rand_0, 4096) + "_SC7"))), StringEntry((key + "_SA"), getStringValue((pick_one(song_0, song_1, rand_0, 8192) + "_SA"))), StringEntry((key + "_SI0"), getStringValue((pick_one(song_0, song_1, rand_0, 16384) + "_SI0"))), StringEntry((key + "_SI1"), getStringValue((pick_one(song_0, song_1, rand_0, 32768) + "_SI1"))), StringEntry((key + "_SI2"), getStringValue((pick_one(song_0, song_1, rand_0, 65536) + "_SI2"))), StringEntry((key + "_SI3"), getStringValue((pick_one(song_0, song_1, rand_0, 131072) + "_SI3"))), StringEntry((key + "_SI4"), getStringValue((pick_one(song_0, song_1, rand_0, 262144) + "_SI4"))), StringEntry((key + "_SI5"), getStringValue((pick_one(song_0, song_1, rand_0, 524288) + "_SI5"))), StringEntry((key + "_SI50"), getStringValue((pick_one(song_0, song_1, rand_0, 1048576) + "_SI50"))), StringEntry((key + "_SI51"), getStringValue((pick_one(song_0, song_1, rand_0, 2097152) + "_SI51"))), StringEntry((key + "_SI52"), getStringValue((pick_one(song_0, song_1, rand_0, 4194304) + "_SI52"))), StringEntry((key + "_SI53"), getStringValue((pick_one(song_0, song_1, rand_0, 8388608) + "_SI53"))), StringEntry((key + "_SI54"), getStringValue((pick_one(song_0, song_1, rand_0, 16777216) + "_SI54"))), StringEntry((key + "_SI55"), getStringValue((pick_one(song_0, song_1, rand_0, 33554432) + "_SI55"))), StringEntry((key + "_SI56"), getStringValue((pick_one(song_0, song_1, rand_0, 67108864) + "_SI56"))), StringEntry((key + "_SI57"), getStringValue((pick_one(song_0, song_1, rand_0, 134217728) + "_SI57"))), StringEntry((key + "_SI00"), getStringValue((pick_one(song_0, song_1, rand_0, 268435456) + "_SI00"))), StringEntry((key + "_SI01"), getStringValue((pick_one(song_0, song_1, rand_0, 536870912) + "_SI01"))), StringEntry((key + "_SI02"), getStringValue((pick_one(song_0, song_1, rand_0, 1073741824) + "_SI02"))), StringEntry((key + "_SI03"), getStringValue((pick_one(song_0, song_1, rand_0, 2147483648) + "_SI03"))), StringEntry((key + "_SI04"), getStringValue((pick_one(song_0, song_1, rand_0, 4294967296) + "_SI04"))), StringEntry((key + "_SI05"), getStringValue((pick_one(song_0, song_1, rand_0, 8589934592) + "_SI05"))), StringEntry((key + "_SI06"), getStringValue((pick_one(song_0, song_1, rand_1, 1) + "_SI06"))), StringEntry((key + "_SI07"), getStringValue((pick_one(song_0, song_1, rand_1, 2) + "_SI07"))), StringEntry((key + "_SI10"), getStringValue((pick_one(song_0, song_1, rand_1, 4) + "_SI10"))), StringEntry((key + "_SI11"), getStringValue((pick_one(song_0, song_1, rand_1, 8) + "_SI11"))), StringEntry((key + "_SI12"), getStringValue((pick_one(song_0, song_1, rand_1, 16) + "_SI12"))), StringEntry((key + "_SI13"), getStringValue((pick_one(song_0, song_1, rand_1, 32) + "_SI13"))), StringEntry((key + "_SI14"), getStringValue((pick_one(song_0, song_1, rand_1, 64) + "_SI14"))), StringEntry((key + "_SI15"), getStringValue((pick_one(song_0, song_1, rand_1, 128) + "_SI15"))), StringEntry((key + "_SI16"), getStringValue((pick_one(song_0, song_1, rand_1, 256) + "_SI16"))), StringEntry((key + "_SI17"), getStringValue((pick_one(song_0, song_1, rand_1, 512) + "_SI17"))), StringEntry((key + "_SI20"), getStringValue((pick_one(song_0, song_1, rand_1, 1024) + "_SI20"))), StringEntry((key + "_SI21"), getStringValue((pick_one(song_0, song_1, rand_1, 2048) + "_SI21"))), StringEntry((key + "_SI22"), getStringValue((pick_one(song_0, song_1, rand_1, 4096) + "_SI22"))), StringEntry((key + "_SI23"), getStringValue((pick_one(song_0, song_1, rand_1, 8192) + "_SI23"))), StringEntry((key + "_SI24"), getStringValue((pick_one(song_0, song_1, rand_1, 16384) + "_SI24"))), StringEntry((key + "_SI25"), getStringValue((pick_one(song_0, song_1, rand_1, 32768) + "_SI25"))), StringEntry((key + "_SI26"), getStringValue((pick_one(song_0, song_1, rand_1, 65536) + "_SI26"))), StringEntry((key + "_SI27"), getStringValue((pick_one(song_0, song_1, rand_1, 131072) + "_SI27"))), StringEntry((key + "_SI30"), getStringValue((pick_one(song_0, song_1, rand_1, 262144) + "_SI30"))), StringEntry((key + "_SI31"), getStringValue((pick_one(song_0, song_1, rand_1, 524288) + "_SI31"))), StringEntry((key + "_SI32"), getStringValue((pick_one(song_0, song_1, rand_1, 1048576) + "_SI32"))), StringEntry((key + "_SI33"), getStringValue((pick_one(song_0, song_1, rand_1, 2097152) + "_SI33"))), StringEntry((key + "_SI34"), getStringValue((pick_one(song_0, song_1, rand_1, 4194304) + "_SI34"))), StringEntry((key + "_SI35"), getStringValue((pick_one(song_0, song_1, rand_1, 8388608) + "_SI35"))), StringEntry((key + "_SI36"), getStringValue((pick_one(song_0, song_1, rand_1, 16777216) + "_SI36"))), StringEntry((key + "_SI37"), getStringValue((pick_one(song_0, song_1, rand_1, 33554432) + "_SI37"))), StringEntry((key + "_SI40"), getStringValue((pick_one(song_0, song_1, rand_1, 67108864) + "_SI40"))), StringEntry((key + "_SI41"), getStringValue((pick_one(song_0, song_1, rand_1, 134217728) + "_SI41"))), StringEntry((key + "_SI42"), getStringValue((pick_one(song_0, song_1, rand_1, 268435456) + "_SI42"))), StringEntry((key + "_SI43"), getStringValue((pick_one(song_0, song_1, rand_1, 536870912) + "_SI43"))), StringEntry((key + "_SI44"), getStringValue((pick_one(song_0, song_1, rand_1, 1073741824) + "_SI44"))), StringEntry((key + "_SI45"), getStringValue((pick_one(song_0, song_1, rand_1, 2147483648) + "_SI45"))), StringEntry((key + "_SI46"), getStringValue((pick_one(song_0, song_1, rand_1, 4294967296) + "_SI46"))), StringEntry((key + "_SI47"), getStringValue((pick_one(song_0, song_1, rand_1, 8589934592) + "_SI47"))), ScriptTransfer(Address(i.caller.bytes), 1, id_b)] | |
77 | 77 | } | |
78 | 78 | else throw("Strict value is not equal to itself.") | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | + | func mint_hybrid_paid (i,song_0,song_1) = { | |
83 | + | let caller_addr = Address(i.caller.bytes) | |
84 | + | let song_0_id = fromBase58String(getStringValue(song_0)) | |
85 | + | let song_1_id = fromBase58String(getStringValue(song_1)) | |
86 | + | let price_amount = getIntegerValue("price_hybrid_amount") | |
87 | + | let price_limit = getIntegerValue("price_hybrid_limit") | |
88 | + | let price_token = getStringValue("price_hybrid_token") | |
89 | + | let price_change = hybrid_calculate_change(i, price_token, price_amount) | |
90 | + | if ((0 > price_change)) | |
91 | + | then throw("Wrong payment") | |
92 | + | else if ((song_0_id == song_1_id)) | |
93 | + | then throw("Songs should be different") | |
94 | + | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
95 | + | then throw("Caller do not own first song") | |
96 | + | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
97 | + | then throw("Caller do not own second song") | |
98 | + | else { | |
99 | + | let mint_count = getIntegerValue("mint_count") | |
100 | + | let price_inc = getIntegerValue("price_hybrid_increment") | |
101 | + | let price_count_inc = IntegerEntry("mint_count", (mint_count + 1)) | |
102 | + | let price_increase = if (if (((mint_count % price_increase_period) == (price_increase_period - 1))) | |
103 | + | then (price_limit > (price_amount + price_inc)) | |
104 | + | else false) | |
105 | + | then [price_count_inc, IntegerEntry("price_hybrid_amount", (price_amount + price_inc))] | |
106 | + | else [price_count_inc] | |
107 | + | if ((price_change > 0)) | |
108 | + | then $Tuple2(((make_hybrid_tx(i, song_0, song_1) ++ price_increase) ++ [ScriptTransfer(caller_addr, price_change, if ((price_token == "")) | |
109 | + | then unit | |
110 | + | else fromBase58String(price_token))]), unit) | |
111 | + | else $Tuple2((make_hybrid_tx(i, song_0, song_1) ++ price_increase), unit) | |
112 | + | } | |
113 | + | } | |
114 | + | ||
115 | + | ||
116 | + | func mint_hybrid_free (i,song_0,song_1) = { | |
117 | + | let caller_addr = Address(i.caller.bytes) | |
118 | + | let song_0_id = fromBase58String(getStringValue(song_0)) | |
119 | + | let song_1_id = fromBase58String(getStringValue(song_1)) | |
120 | + | if ((song_0_id == song_1_id)) | |
121 | + | then throw("Songs should be different") | |
122 | + | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
123 | + | then throw("Caller do not own first song") | |
124 | + | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
125 | + | then throw("Caller do not own second song") | |
126 | + | else $Tuple2(make_hybrid_tx(i, song_0, song_1), unit) | |
127 | + | } | |
128 | + | ||
129 | + | ||
82 | 130 | func check_whitelist (caller) = if ((this == caller)) | |
83 | 131 | then true | |
84 | 132 | else match getBoolean(("W_" + toBase58String(caller.bytes))) { | |
85 | 133 | case x: Boolean => | |
86 | 134 | x | |
87 | 135 | case _ => | |
88 | 136 | false | |
89 | 137 | } | |
90 | 138 | ||
91 | 139 | ||
92 | 140 | func fold_set_rarity (accum,index) = { | |
93 | - | let $ | |
94 | - | let entries = $ | |
95 | - | let assets = $ | |
96 | - | let values = $ | |
141 | + | let $t01215012187 = accum | |
142 | + | let entries = $t01215012187._1 | |
143 | + | let assets = $t01215012187._2 | |
144 | + | let values = $t01215012187._3 | |
97 | 145 | if ((index >= size(assets))) | |
98 | 146 | then accum | |
99 | 147 | else if (if ((0 > values[index])) | |
100 | 148 | then true | |
101 | 149 | else (values[index] > 100)) | |
102 | 150 | then throw("Invalid rarity value (must be in range from 0 to 100)") | |
103 | 151 | else $Tuple3((entries :+ IntegerEntry(("rarity_" + assets[index]), values[index])), assets, values) | |
104 | 152 | } | |
105 | 153 | ||
106 | 154 | ||
107 | 155 | @Callable(i) | |
108 | 156 | func whitelist_add (user) = if ((this != i.caller)) | |
109 | 157 | then throw("Caller is not dApp owner") | |
110 | 158 | else $Tuple2([BooleanEntry(("W_" + user), true)], unit) | |
111 | 159 | ||
112 | 160 | ||
113 | 161 | ||
114 | 162 | @Callable(i) | |
115 | 163 | func whitelist_remove (user) = if ((this != i.caller)) | |
116 | 164 | then throw("Caller is not dApp owner") | |
117 | 165 | else $Tuple2([DeleteEntry(("W_" + user))], unit) | |
118 | 166 | ||
119 | 167 | ||
120 | 168 | ||
121 | 169 | @Callable(i) | |
122 | 170 | func set_daemon (address) = if ((this != i.caller)) | |
123 | 171 | then throw("Caller is not dApp owner") | |
124 | 172 | else $Tuple2([StringEntry("daemon", address)], unit) | |
125 | 173 | ||
126 | 174 | ||
127 | 175 | ||
128 | 176 | @Callable(i) | |
129 | 177 | func set_rarity (assets,values) = if (match getString("daemon") { | |
130 | 178 | case x: String => | |
131 | 179 | (x != toBase58String(i.caller.bytes)) | |
132 | 180 | case _ => | |
133 | 181 | true | |
134 | 182 | }) | |
135 | 183 | then throw("Caller is not daemon") | |
136 | 184 | else if ((size(assets) == 0)) | |
137 | 185 | then throw("No assets") | |
138 | 186 | else if ((size(assets) > 20)) | |
139 | 187 | then throw("To many assets (must be no more than 20)") | |
140 | 188 | else if ((size(assets) != size(values))) | |
141 | 189 | then throw("Assets and values list size mismatch") | |
142 | 190 | else { | |
143 | - | let $ | |
191 | + | let $t01349013585 = { | |
144 | 192 | let $l = indices_20 | |
145 | 193 | let $s = size($l) | |
146 | 194 | let $acc0 = $Tuple3(nil, assets, values) | |
147 | 195 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
148 | 196 | then $a | |
149 | 197 | else fold_set_rarity($a, $l[$i]) | |
150 | 198 | ||
151 | 199 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
152 | 200 | then $a | |
153 | 201 | else throw("List size exceeds 20") | |
154 | 202 | ||
155 | 203 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
156 | 204 | } | |
157 | - | let entries = $ | |
158 | - | let assets_ = $ | |
159 | - | let values_ = $ | |
205 | + | let entries = $t01349013585._1 | |
206 | + | let assets_ = $t01349013585._2 | |
207 | + | let values_ = $t01349013585._3 | |
160 | 208 | $Tuple2(entries, unit) | |
161 | 209 | } | |
162 | 210 | ||
163 | 211 | ||
164 | 212 | ||
165 | 213 | @Callable(i) | |
166 | 214 | func set_market_image (url) = if (!(check_whitelist(i.caller))) | |
167 | 215 | then throw("Caller not in whitelist") | |
168 | 216 | else $Tuple2([StringEntry("market_image_link", url)], unit) | |
169 | 217 | ||
170 | 218 | ||
171 | 219 | ||
172 | 220 | @Callable(i) | |
173 | - | func set_price_hybrid (token,amount,increment) = if (!(check_whitelist(i.caller))) | |
221 | + | func set_price_hybrid (token,amount,limit,increment) = if (!(check_whitelist(i.caller))) | |
174 | 222 | then throw("Caller not in whitelist") | |
175 | - | else $Tuple2([StringEntry("price_hybrid_token", token), IntegerEntry("price_hybrid_amount", amount), IntegerEntry("price_hybrid_increment", increment)], unit) | |
223 | + | else $Tuple2([IntegerEntry("mint_count", 0), StringEntry("price_hybrid_token", token), IntegerEntry("price_hybrid_amount", amount), IntegerEntry("price_hybrid_limit", limit), IntegerEntry("price_hybrid_increment", increment)], unit) | |
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | @Callable(i) | |
228 | + | func set_free_mix_token (token,amount) = if (!(check_whitelist(i.caller))) | |
229 | + | then throw("Caller not in whitelist") | |
230 | + | else $Tuple2([StringEntry("free_mix_token", token), IntegerEntry("free_mix_amount", amount)], unit) | |
176 | 231 | ||
177 | 232 | ||
178 | 233 | ||
179 | 234 | @Callable(i) | |
180 | 235 | func mint_chord (index,name,notes) = if (!(check_whitelist(i.caller))) | |
181 | 236 | then throw("Caller not in whitelist") | |
182 | - | else if ((size(notes) != | |
237 | + | else if ((size(notes) != 16)) | |
183 | 238 | then throw("Wrong notes size") | |
184 | 239 | else { | |
185 | 240 | let n = match getInteger("count") { | |
186 | 241 | case j: Int => | |
187 | 242 | j | |
188 | 243 | case _ => | |
189 | 244 | 0 | |
190 | 245 | } | |
191 | 246 | let key = to_key(index) | |
192 | - | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_CL"), name), IntegerEntry((key + "_ | |
247 | + | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_CL"), name), IntegerEntry((key + "_C00"), notes[0]), IntegerEntry((key + "_C01"), notes[1]), IntegerEntry((key + "_C02"), notes[2]), IntegerEntry((key + "_C03"), notes[3]), IntegerEntry((key + "_C04"), notes[4]), IntegerEntry((key + "_C05"), notes[5]), IntegerEntry((key + "_C06"), notes[6]), IntegerEntry((key + "_C07"), notes[7]), IntegerEntry((key + "_C08"), notes[8]), IntegerEntry((key + "_C09"), notes[9]), IntegerEntry((key + "_C10"), notes[10]), IntegerEntry((key + "_C11"), notes[11]), IntegerEntry((key + "_C12"), notes[12]), IntegerEntry((key + "_C13"), notes[13]), IntegerEntry((key + "_C14"), notes[14]), IntegerEntry((key + "_C15"), notes[15])], unit) | |
193 | 248 | } | |
194 | 249 | ||
195 | 250 | ||
196 | 251 | ||
197 | 252 | @Callable(i) | |
198 | 253 | func mint_arpeggio (index,name,notes) = if (!(check_whitelist(i.caller))) | |
199 | 254 | then throw("Caller not in whitelist") | |
200 | 255 | else if ((size(notes) != 16)) | |
201 | 256 | then throw("Wrong notes size") | |
202 | 257 | else { | |
203 | 258 | let n = match getInteger("count") { | |
204 | 259 | case j: Int => | |
205 | 260 | j | |
206 | 261 | case _ => | |
207 | 262 | 0 | |
208 | 263 | } | |
209 | 264 | let key = to_key(index) | |
210 | 265 | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_AL"), name), IntegerEntry((key + "_A00"), notes[0]), IntegerEntry((key + "_A01"), notes[1]), IntegerEntry((key + "_A02"), notes[2]), IntegerEntry((key + "_A03"), notes[3]), IntegerEntry((key + "_A04"), notes[4]), IntegerEntry((key + "_A05"), notes[5]), IntegerEntry((key + "_A06"), notes[6]), IntegerEntry((key + "_A07"), notes[7]), IntegerEntry((key + "_A08"), notes[8]), IntegerEntry((key + "_A09"), notes[9]), IntegerEntry((key + "_A10"), notes[10]), IntegerEntry((key + "_A11"), notes[11]), IntegerEntry((key + "_A12"), notes[12]), IntegerEntry((key + "_A13"), notes[13]), IntegerEntry((key + "_A14"), notes[14]), IntegerEntry((key + "_A15"), notes[15])], unit) | |
211 | 266 | } | |
212 | 267 | ||
213 | 268 | ||
214 | 269 | ||
215 | 270 | @Callable(i) | |
216 | 271 | func mint_rhythm (index,name,scale,notes) = if (!(check_whitelist(i.caller))) | |
217 | 272 | then throw("Caller not in whitelist") | |
218 | 273 | else if ((size(notes) != 16)) | |
219 | 274 | then throw("Wrong notes size") | |
220 | 275 | else { | |
221 | 276 | let n = match getInteger("count") { | |
222 | 277 | case j: Int => | |
223 | 278 | j | |
224 | 279 | case _ => | |
225 | 280 | 0 | |
226 | 281 | } | |
227 | 282 | let key = to_key(index) | |
228 | 283 | $Tuple2([IntegerEntry("count", max([(index + 1), n])), StringEntry((key + "_RL"), name), IntegerEntry((key + "_RS"), scale), IntegerEntry((key + "_R00"), notes[0]), IntegerEntry((key + "_R01"), notes[1]), IntegerEntry((key + "_R02"), notes[2]), IntegerEntry((key + "_R03"), notes[3]), IntegerEntry((key + "_R04"), notes[4]), IntegerEntry((key + "_R05"), notes[5]), IntegerEntry((key + "_R06"), notes[6]), IntegerEntry((key + "_R07"), notes[7]), IntegerEntry((key + "_R08"), notes[8]), IntegerEntry((key + "_R09"), notes[9]), IntegerEntry((key + "_R10"), notes[10]), IntegerEntry((key + "_R11"), notes[11]), IntegerEntry((key + "_R12"), notes[12]), IntegerEntry((key + "_R13"), notes[13]), IntegerEntry((key + "_R14"), notes[14]), IntegerEntry((key + "_R15"), notes[15])], unit) | |
229 | 284 | } | |
230 | 285 | ||
231 | 286 | ||
232 | 287 | ||
233 | 288 | @Callable(i) | |
234 | 289 | func burn_internal (asset_id) = if (!(check_whitelist(i.caller))) | |
235 | 290 | then throw("Caller not in whitelist") | |
236 | 291 | else { | |
237 | 292 | let burn0 = invoke(nft_creation_address, "burnNFT", nil, [AttachedPayment(fromBase58String(asset_id), 1)]) | |
238 | 293 | if ((burn0 == burn0)) | |
239 | 294 | then $Tuple2(nil, unit) | |
240 | 295 | else throw("Strict value is not equal to itself.") | |
241 | 296 | } | |
242 | 297 | ||
243 | 298 | ||
244 | 299 | ||
245 | 300 | @Callable(i) | |
246 | 301 | func burn () = if (!(check_whitelist(i.caller))) | |
247 | 302 | then throw("Caller not in whitelist") | |
248 | 303 | else { | |
249 | 304 | let burn0 = invoke(nft_creation_address, "burnNFT", nil, [i.payments[0]]) | |
250 | 305 | if ((burn0 == burn0)) | |
251 | 306 | then $Tuple2(nil, unit) | |
252 | 307 | else throw("Strict value is not equal to itself.") | |
253 | 308 | } | |
254 | 309 | ||
255 | 310 | ||
256 | 311 | ||
257 | 312 | @Callable(i) | |
258 | 313 | func mint_song (name,parent_0,parent_1,bpm,bar_size,beat_size,tonality,chords,arpeggio,kick_instrument,snare_instrument,hihat_instrument,bass_instrument,back_instrument,lead_instrument,kick_rhythms,snare_rhythms,hihat_rhythms,bass_rhythms,back_rhythms,lead_rhythms) = if (!(check_whitelist(i.caller))) | |
259 | 314 | then throw("Caller not in whitelist") | |
260 | 315 | else if ((size(chords) != 8)) | |
261 | 316 | then throw("Wrong chords size") | |
262 | 317 | else if ((size(kick_rhythms) != 8)) | |
263 | 318 | then throw("Wrong kick rhythms size") | |
264 | 319 | else if ((size(snare_rhythms) != 8)) | |
265 | 320 | then throw("Wrong snare rhythms size") | |
266 | 321 | else if ((size(hihat_rhythms) != 8)) | |
267 | 322 | then throw("Wrong hihat rhythms size") | |
268 | 323 | else if ((size(bass_rhythms) != 8)) | |
269 | 324 | then throw("Wrong bass rhythms size") | |
270 | 325 | else if ((size(back_rhythms) != 8)) | |
271 | 326 | then throw("Wrong back rhythms size") | |
272 | 327 | else if ((size(lead_rhythms) != 8)) | |
273 | 328 | then throw("Wrong lead rhythms size") | |
274 | 329 | else { | |
275 | 330 | let n = match getInteger("count") { | |
276 | 331 | case j: Int => | |
277 | 332 | j | |
278 | 333 | case _ => | |
279 | 334 | 0 | |
280 | 335 | } | |
281 | 336 | let name_short = take(name, 16) | |
282 | 337 | let description = mint_description | |
283 | 338 | let collection = mint_collection | |
284 | 339 | let id = match invoke(nft_creation_address, "createNFT", [name_short, description, getStringValue("market_image_link"), collection], nil) { | |
285 | 340 | case x: String => | |
286 | 341 | x | |
287 | 342 | case _ => | |
288 | 343 | throw("NFT creation failed") | |
289 | 344 | } | |
290 | 345 | if ((id == id)) | |
291 | 346 | then { | |
292 | 347 | let key = to_key(n) | |
293 | 348 | let tx_transfer = if ((this != i.caller)) | |
294 | 349 | then [ScriptTransfer(Address(i.caller.bytes), 1, fromBase58String(id))] | |
295 | 350 | else nil | |
296 | 351 | $Tuple2(([IntegerEntry("count", (n + 1)), StringEntry(id, key), StringEntry(key, id), IntegerEntry((key + "_G"), 1), StringEntry((key + "_SL"), name), IntegerEntry((key + "_SN"), 0), StringEntry((key + "_SP0"), parent_0), StringEntry((key + "_SP1"), parent_1), IntegerEntry((key + "_SB0"), bpm), IntegerEntry((key + "_SB1"), bar_size), IntegerEntry((key + "_SB2"), beat_size), IntegerEntry((key + "_ST"), tonality), StringEntry((key + "_SC0"), chords[0]), StringEntry((key + "_SC1"), chords[1]), StringEntry((key + "_SC2"), chords[2]), StringEntry((key + "_SC3"), chords[3]), StringEntry((key + "_SC4"), chords[4]), StringEntry((key + "_SC5"), chords[5]), StringEntry((key + "_SC6"), chords[6]), StringEntry((key + "_SC7"), chords[7]), StringEntry((key + "_SA"), arpeggio), StringEntry((key + "_SI0"), kick_instrument), StringEntry((key + "_SI1"), snare_instrument), StringEntry((key + "_SI2"), hihat_instrument), StringEntry((key + "_SI3"), bass_instrument), StringEntry((key + "_SI4"), back_instrument), StringEntry((key + "_SI5"), lead_instrument), StringEntry((key + "_SI00"), kick_rhythms[0]), StringEntry((key + "_SI01"), kick_rhythms[1]), StringEntry((key + "_SI02"), kick_rhythms[2]), StringEntry((key + "_SI03"), kick_rhythms[3]), StringEntry((key + "_SI04"), kick_rhythms[4]), StringEntry((key + "_SI05"), kick_rhythms[5]), StringEntry((key + "_SI06"), kick_rhythms[6]), StringEntry((key + "_SI07"), kick_rhythms[7]), StringEntry((key + "_SI10"), snare_rhythms[0]), StringEntry((key + "_SI11"), snare_rhythms[1]), StringEntry((key + "_SI12"), snare_rhythms[2]), StringEntry((key + "_SI13"), snare_rhythms[3]), StringEntry((key + "_SI14"), snare_rhythms[4]), StringEntry((key + "_SI15"), snare_rhythms[5]), StringEntry((key + "_SI16"), snare_rhythms[6]), StringEntry((key + "_SI17"), snare_rhythms[7]), StringEntry((key + "_SI20"), hihat_rhythms[0]), StringEntry((key + "_SI21"), hihat_rhythms[1]), StringEntry((key + "_SI22"), hihat_rhythms[2]), StringEntry((key + "_SI23"), hihat_rhythms[3]), StringEntry((key + "_SI24"), hihat_rhythms[4]), StringEntry((key + "_SI25"), hihat_rhythms[5]), StringEntry((key + "_SI26"), hihat_rhythms[6]), StringEntry((key + "_SI27"), hihat_rhythms[7]), StringEntry((key + "_SI30"), bass_rhythms[0]), StringEntry((key + "_SI31"), bass_rhythms[1]), StringEntry((key + "_SI32"), bass_rhythms[2]), StringEntry((key + "_SI33"), bass_rhythms[3]), StringEntry((key + "_SI34"), bass_rhythms[4]), StringEntry((key + "_SI35"), bass_rhythms[5]), StringEntry((key + "_SI36"), bass_rhythms[6]), StringEntry((key + "_SI37"), bass_rhythms[7]), StringEntry((key + "_SI40"), back_rhythms[0]), StringEntry((key + "_SI41"), back_rhythms[1]), StringEntry((key + "_SI42"), back_rhythms[2]), StringEntry((key + "_SI43"), back_rhythms[3]), StringEntry((key + "_SI44"), back_rhythms[4]), StringEntry((key + "_SI45"), back_rhythms[5]), StringEntry((key + "_SI46"), back_rhythms[6]), StringEntry((key + "_SI47"), back_rhythms[7]), StringEntry((key + "_SI50"), lead_rhythms[0]), StringEntry((key + "_SI51"), lead_rhythms[1]), StringEntry((key + "_SI52"), lead_rhythms[2]), StringEntry((key + "_SI53"), lead_rhythms[3]), StringEntry((key + "_SI54"), lead_rhythms[4]), StringEntry((key + "_SI55"), lead_rhythms[5]), StringEntry((key + "_SI56"), lead_rhythms[6]), StringEntry((key + "_SI57"), lead_rhythms[7])] ++ tx_transfer), unit) | |
297 | 352 | } | |
298 | 353 | else throw("Strict value is not equal to itself.") | |
299 | 354 | } | |
300 | 355 | ||
301 | 356 | ||
302 | 357 | ||
303 | 358 | @Callable(i) | |
304 | - | func mint_hybrid (song_0,song_1) = { | |
305 | - | let caller_addr = Address(i.caller.bytes) | |
306 | - | let song_0_id = fromBase58String(getStringValue(song_0)) | |
307 | - | let song_1_id = fromBase58String(getStringValue(song_1)) | |
308 | - | let price_amount = getIntegerValue("price_hybrid_amount") | |
309 | - | let price_token = getStringValue("price_hybrid_token") | |
310 | - | let price_change = hybrid_calculate_change(i, price_token, price_amount) | |
311 | - | if ((0 > price_change)) | |
312 | - | then throw("Wrong payment") | |
313 | - | else if ((song_0_id == song_1_id)) | |
314 | - | then throw("Songs should be different") | |
315 | - | else if ((1 > assetBalance(caller_addr, song_0_id))) | |
316 | - | then throw("Caller do not own first song") | |
317 | - | else if ((1 > assetBalance(caller_addr, song_1_id))) | |
318 | - | then throw("Caller do not own second song") | |
319 | - | else { | |
320 | - | let mint_count = match getInteger("mint_count") { | |
321 | - | case j: Int => | |
322 | - | j | |
323 | - | case _ => | |
324 | - | 0 | |
325 | - | } | |
326 | - | let price_count_inc = IntegerEntry("mint_count", (mint_count + 1)) | |
327 | - | let price_increase = if (((mint_count % price_increase_period) == (price_increase_period - 1))) | |
328 | - | then [price_count_inc, IntegerEntry("price_hybrid_amount", (price_amount + getIntegerValue("price_hybrid_increment")))] | |
329 | - | else [price_count_inc] | |
330 | - | if ((price_change > 0)) | |
331 | - | then $Tuple2(((make_hybrid_tx(i, song_0, song_1) ++ price_increase) ++ [ScriptTransfer(Address(i.caller.bytes), price_change, if ((price_token == "")) | |
332 | - | then unit | |
333 | - | else fromBase58String(price_token))]), unit) | |
334 | - | else $Tuple2((make_hybrid_tx(i, song_0, song_1) ++ price_increase), unit) | |
335 | - | } | |
336 | - | } | |
359 | + | func mint_hybrid (song_0,song_1) = if (if (if ((size(i.payments) == 1)) | |
360 | + | then (getStringValue("free_mix_token") == match i.payments[0].assetId { | |
361 | + | case b: ByteVector => | |
362 | + | toBase58String(b) | |
363 | + | case _ => | |
364 | + | "" | |
365 | + | }) | |
366 | + | else false) | |
367 | + | then (i.payments[0].amount == getIntegerValue("free_mix_amount")) | |
368 | + | else false) | |
369 | + | then mint_hybrid_free(i, song_0, song_1) | |
370 | + | else mint_hybrid_paid(i, song_0, song_1) | |
337 | 371 | ||
338 | 372 | ||
339 | 373 | ||
340 | 374 | @Callable(i) | |
341 | 375 | func mint_hybrid_and_burn () = if (if (if ((size(i.payments) != 2)) | |
342 | 376 | then true | |
343 | 377 | else (i.payments[0].amount != 1)) | |
344 | 378 | then true | |
345 | 379 | else (i.payments[1].amount != 1)) | |
346 | 380 | then throw("Wrong payment") | |
347 | 381 | else { | |
348 | 382 | let song_0_id = match i.payments[0].assetId { | |
349 | 383 | case b: ByteVector => | |
350 | 384 | b | |
351 | 385 | case _ => | |
352 | 386 | throw("Wrong payment") | |
353 | 387 | } | |
354 | 388 | let song_1_id = match i.payments[1].assetId { | |
355 | 389 | case b: ByteVector => | |
356 | 390 | b | |
357 | 391 | case _ => | |
358 | 392 | throw("Wrong payment") | |
359 | 393 | } | |
360 | 394 | if ((song_0_id == song_1_id)) | |
361 | 395 | then throw("Songs should be different") | |
362 | 396 | else { | |
363 | 397 | let song_0 = getStringValue(toBase58String(song_0_id)) | |
364 | 398 | let song_1 = getStringValue(toBase58String(song_1_id)) | |
365 | 399 | let burn0 = invoke(nft_creation_address, "burnNFT", nil, [i.payments[0]]) | |
366 | 400 | if ((burn0 == burn0)) | |
367 | 401 | then { | |
368 | 402 | let burn1 = invoke(nft_creation_address, "burnNFT", nil, [i.payments[1]]) | |
369 | 403 | if ((burn1 == burn1)) | |
370 | 404 | then $Tuple2(make_hybrid_tx(i, song_0, song_1), unit) | |
371 | 405 | else throw("Strict value is not equal to itself.") | |
372 | 406 | } | |
373 | 407 | else throw("Strict value is not equal to itself.") | |
374 | 408 | } | |
375 | 409 | } | |
376 | 410 | ||
377 | 411 |
github/deemru/w8io/026f985 106.63 ms ◑