tx · 9nRW1gbRLEhAyztEGAEh3EA3EFvarUzAiV5NSqxZa4tE

3NBPnEADc6KRTGyLYu277UVBVpATKuLStoo:  -0.03800000 Waves

2022.11.07 02:38 [2305940] smart account 3NBPnEADc6KRTGyLYu277UVBVpATKuLStoo > SELF 0.00000000 Waves

{ "type": 13, "id": "9nRW1gbRLEhAyztEGAEh3EA3EFvarUzAiV5NSqxZa4tE", "fee": 3800000, "feeAssetId": null, "timestamp": 1667777938915, "version": 2, "chainId": 84, "sender": "3NBPnEADc6KRTGyLYu277UVBVpATKuLStoo", "senderPublicKey": "aYCXwWE5HwK514PYuUxDBtXjyL3M32iEF6ria6Uh1iV", "proofs": [ "zeipwu4suJD7XnZo1p2RdNKyX28UEEMtJDZmUnS9n2iNPAMbX9hfxtp1mAn21xoaAWkgkbEXKN6XRZwVg9amEqb" ], "script": "base64:BgJWCAISAwoBCBIDCgEIEgMKAQgSBQoDCAEBEgUKAwEIERIFCgMBCBESBgoEAQgBERIDCgEIEgASFwoVCAgIAQEBARgICAgICAgIGBgYGBgYEgQKAggIEgANABRuZnRfY3JlYXRpb25fYWRkcmVzcwkBB0FkZHJlc3MBARoBVNfUIRkzMMsUuy4VRRry35ft/Ha30v/0nQAVcHJpY2VfaW5jcmVhc2VfcGVyaW9kAAoAD21pbnRfY29sbGVjdGlvbgISQ2xlZiBnZW5lc2lzIHNvbmdzABBtaW50X2Rlc2NyaXB0aW9uAmRHZW5lc2lzIENsZWYgc29uZy4gVGhpcyBtZWxvZHkgaXMgY3JhZnRlZCB0byBiZWNvbWUgeW91ciBlbGVjdHJvbmljIGphbS4gVXNlIGl0IG9uIGNsZWYub25lIPCfkprwn6SNABFoeWJyaWRfY29sbGVjdGlvbgIKQ2xlZiBtaXhlcwASaHlicmlkX2Rlc2NyaXB0aW9uAldDbGVmIG1peC4gVGhpcyBtZWxvZHkgd2FzIGNyZWF0ZWQgYnkgYW4gYWxnb3JpdGhtLiBFbmpveSB0aGlzIGphbSBvciB1c2UgaX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lVmVjdG9yBAFiBQckbWF0Y2gwBQFiCQACAQINV3JvbmcgcGF5bWVudAQJc29uZ18xX2lkBAckbWF0Y2gwCAkAkQMCCAUBaQhwYXltZW50cwABB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQBYgUHJG1hdGNoMAUBYgkAAgECDVdyb25nIHBheW1lbnQDCQAAAgUJc29uZ18wX2lkBQlzb25nXzFfaWQJAAIBAhlTb25ncyBzaG91bGQgYmUgZGlmZmVyZW50BAZzb25nXzAJARFAZXh0ck5hdGl2ZSgxMDU4KQEJANgEAQUJc29uZ18wX2lkBAZzb25nXzEJARFAZXh0ck5hdGl2ZSgxMDU4KQEJANgEAQUJc29uZ18xX2lkBAVidXJuMAkA/AcEBRRuZnRfY3JlYXRpb25fYWRkcmVzcwIHYnVybk5GVAUDbmlsCQDMCAIJAJEDAggFAWkIcGF5bWVudHMAAAUDbmlsAwkAAAIFBWJ1cm4wBQVidXJuMAQFYnVybjEJAPwHBAUUbmZ0X2NyZWF0aW9uX2FkZHJlc3MCB2J1cm5ORlQFA25pbAkAzAgCCQCRAwIIBQFpCHBheW1lbnRzAAEFA25pbAMJAAACBQVidXJuMQUFYnVybjEJAJQKAgkBDm1ha2VfaHlicmlkX3R4AwUBaQUGc29uZ18wBQZzb25nXzEFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AEaJS2Q==", "height": 2305940, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FTu3oLFd66Wc2PFPbvJXRRwGJY3c3qwXhJuNQJpGYy62 Next: FHCbrQ9aFy2exrNF76P2XbdFFCAniBt5XCACDP9sQyte Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = Address(base58'3MvjjKrBojVDj5tKCNS7mvtk3BjNd9PMJia')
4+let a = Address(base58'3N9bHBAZKai5SwrywMPLQpKmNePRQiHhW9S')
55
66 let b = 10
77
8-func c (d) = toBase58String(toBytes(d))
8+let c = "Clef genesis songs"
9+
10+let d = "Genesis Clef song. This melody is crafted to become your electronic jam. Use it on clef.one 💚🤍"
11+
12+let e = "Clef mixes"
13+
14+let f = "Clef mix. This melody was created by an algorithm. Enjoy this jam or use it on clef.one"
15+
16+func g (h) = toBase58String(toBytes(h))
917
1018
11-func e (f) = ((((f.transactionId + f.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
19+func i (j) = ((((j.transactionId + j.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
1220
1321
14-func g (h,i) = {
15- let d = toInt(sha256_16Kb((h + toBytes(i))))
16- if ((0 > d))
17- then -(d)
18- else d
22+func k (l,m) = {
23+ let h = toInt(sha256_16Kb((l + toBytes(m))))
24+ if ((0 > h))
25+ then -(h)
26+ else h
1927 }
2028
2129
22-func j (k,l,m,n) = if ((((m / n) % 2) == 0))
23- then k
24- else l
30+func n (o,p,q,r) = if ((((q / r) % 2) == 0))
31+ then o
32+ else p
2533
2634
27-func o (f,p,q) = if ((size(f.payments) != 1))
35+func s (j,t,u) = if ((size(j.payments) != 1))
2836 then -1
2937 else {
30- let r = f.payments[0]
31- let s = {
32- let t = r.assetId
33- if ($isInstanceOf(t, "ByteVector"))
38+ let v = j.payments[0]
39+ let w = {
40+ let x = v.assetId
41+ if ($isInstanceOf(x, "ByteVector"))
3442 then {
35- let u = t
36- toBase58String(u)
43+ let y = x
44+ toBase58String(y)
3745 }
3846 else ""
3947 }
40- if ((s != p))
48+ if ((w != t))
4149 then -1
42- else (r.amount - q)
50+ else (v.amount - u)
4351 }
4452
4553
46-func v (f,w,x) = {
47- let d = {
48- let t = getInteger("count")
49- if ($isInstanceOf(t, "Int"))
54+func z (j,A,B) = {
55+ let h = {
56+ let x = getInteger("count")
57+ if ($isInstanceOf(x, "Int"))
5058 then {
51- let y = t
52- y
59+ let C = x
60+ C
5361 }
5462 else 0
5563 }
56- let z = take(("Clef " + toString(d)), 16)
57- let A = "Clef song"
58- let B = ""
59- let u = {
60- let t = invoke(a, "createNFT", [z, A, getStringValue("market_image_link"), B], nil)
61- if ($isInstanceOf(t, "String"))
64+ let D = take(("Clef " + toString(h)), 16)
65+ let E = f
66+ let F = e
67+ let y = {
68+ let x = invoke(a, "createNFT", [D, E, getStringValue("market_image_link"), F], nil)
69+ if ($isInstanceOf(x, "String"))
6270 then {
63- let C = t
64- C
71+ let G = x
72+ G
6573 }
6674 else throw("NFT creation failed")
6775 }
68- if ((u == u))
76+ if ((y == y))
6977 then {
70- let D = fromBase58String(u)
71- let E = c(d)
72- let h = e(f)
73- let F = g(h, 0)
74- let G = g(h, 1)
75-[IntegerEntry("count", (d + 1)), StringEntry(u, E), StringEntry(E, u), IntegerEntry((E + "_G"), (max([getIntegerValue((w + "_G")), getIntegerValue((x + "_G"))]) + 1)), StringEntry((E + "_SL"), ""), IntegerEntry((E + "_SN"), F), StringEntry((E + "_SP0"), w), StringEntry((E + "_SP1"), x), IntegerEntry((E + "_SB0"), getIntegerValue((j(w, x, F, 1) + "_SB0"))), IntegerEntry((E + "_SB1"), getIntegerValue((j(w, x, F, 2) + "_SB1"))), IntegerEntry((E + "_SB2"), getIntegerValue((j(w, x, F, 4) + "_SB2"))), IntegerEntry((E + "_ST"), getIntegerValue((j(w, x, F, 8) + "_ST"))), StringEntry((E + "_SC0"), getStringValue((j(w, x, F, 16) + "_SC0"))), StringEntry((E + "_SC1"), getStringValue((j(w, x, F, 32) + "_SC1"))), StringEntry((E + "_SC2"), getStringValue((j(w, x, F, 64) + "_SC2"))), StringEntry((E + "_SC3"), getStringValue((j(w, x, F, 128) + "_SC3"))), StringEntry((E + "_SC4"), getStringValue((j(w, x, F, 512) + "_SC4"))), StringEntry((E + "_SC5"), getStringValue((j(w, x, F, 1024) + "_SC5"))), StringEntry((E + "_SC6"), getStringValue((j(w, x, F, 2048) + "_SC6"))), StringEntry((E + "_SC7"), getStringValue((j(w, x, F, 4096) + "_SC7"))), StringEntry((E + "_SA"), getStringValue((j(w, x, F, 8192) + "_SA"))), StringEntry((E + "_SI0"), getStringValue((j(w, x, F, 16384) + "_SI0"))), StringEntry((E + "_SI1"), getStringValue((j(w, x, F, 32768) + "_SI1"))), StringEntry((E + "_SI2"), getStringValue((j(w, x, F, 65536) + "_SI2"))), StringEntry((E + "_SI3"), getStringValue((j(w, x, F, 131072) + "_SI3"))), StringEntry((E + "_SI4"), getStringValue((j(w, x, F, 262144) + "_SI4"))), StringEntry((E + "_SI5"), getStringValue((j(w, x, F, 524288) + "_SI5"))), StringEntry((E + "_SI50"), getStringValue((j(w, x, F, 1048576) + "_SI50"))), StringEntry((E + "_SI51"), getStringValue((j(w, x, F, 2097152) + "_SI51"))), StringEntry((E + "_SI52"), getStringValue((j(w, x, F, 4194304) + "_SI52"))), StringEntry((E + "_SI53"), getStringValue((j(w, x, F, 8388608) + "_SI53"))), StringEntry((E + "_SI54"), getStringValue((j(w, x, F, 16777216) + "_SI54"))), StringEntry((E + "_SI55"), getStringValue((j(w, x, F, 33554432) + "_SI55"))), StringEntry((E + "_SI56"), getStringValue((j(w, x, F, 67108864) + "_SI56"))), StringEntry((E + "_SI57"), getStringValue((j(w, x, F, 134217728) + "_SI57"))), StringEntry((E + "_SI00"), getStringValue((j(w, x, F, 268435456) + "_SI00"))), StringEntry((E + "_SI01"), getStringValue((j(w, x, F, 536870912) + "_SI01"))), StringEntry((E + "_SI02"), getStringValue((j(w, x, F, 1073741824) + "_SI02"))), StringEntry((E + "_SI03"), getStringValue((j(w, x, F, 2147483648) + "_SI03"))), StringEntry((E + "_SI04"), getStringValue((j(w, x, F, 4294967296) + "_SI04"))), StringEntry((E + "_SI05"), getStringValue((j(w, x, F, 8589934592) + "_SI05"))), StringEntry((E + "_SI06"), getStringValue((j(w, x, G, 1) + "_SI06"))), StringEntry((E + "_SI07"), getStringValue((j(w, x, G, 2) + "_SI07"))), StringEntry((E + "_SI10"), getStringValue((j(w, x, G, 4) + "_SI10"))), StringEntry((E + "_SI11"), getStringValue((j(w, x, G, 8) + "_SI11"))), StringEntry((E + "_SI12"), getStringValue((j(w, x, G, 16) + "_SI12"))), StringEntry((E + "_SI13"), getStringValue((j(w, x, G, 32) + "_SI13"))), StringEntry((E + "_SI14"), getStringValue((j(w, x, G, 64) + "_SI14"))), StringEntry((E + "_SI15"), getStringValue((j(w, x, G, 128) + "_SI15"))), StringEntry((E + "_SI16"), getStringValue((j(w, x, G, 256) + "_SI16"))), StringEntry((E + "_SI17"), getStringValue((j(w, x, G, 512) + "_SI17"))), StringEntry((E + "_SI20"), getStringValue((j(w, x, G, 1024) + "_SI20"))), StringEntry((E + "_SI21"), getStringValue((j(w, x, G, 2048) + "_SI21"))), StringEntry((E + "_SI22"), getStringValue((j(w, x, G, 4096) + "_SI22"))), StringEntry((E + "_SI23"), getStringValue((j(w, x, G, 8192) + "_SI23"))), StringEntry((E + "_SI24"), getStringValue((j(w, x, G, 16384) + "_SI24"))), StringEntry((E + "_SI25"), getStringValue((j(w, x, G, 32768) + "_SI25"))), StringEntry((E + "_SI26"), getStringValue((j(w, x, G, 65536) + "_SI26"))), StringEntry((E + "_SI27"), getStringValue((j(w, x, G, 131072) + "_SI27"))), StringEntry((E + "_SI30"), getStringValue((j(w, x, G, 262144) + "_SI30"))), StringEntry((E + "_SI31"), getStringValue((j(w, x, G, 524288) + "_SI31"))), StringEntry((E + "_SI32"), getStringValue((j(w, x, G, 1048576) + "_SI32"))), StringEntry((E + "_SI33"), getStringValue((j(w, x, G, 2097152) + "_SI33"))), StringEntry((E + "_SI34"), getStringValue((j(w, x, G, 4194304) + "_SI34"))), StringEntry((E + "_SI35"), getStringValue((j(w, x, G, 8388608) + "_SI35"))), StringEntry((E + "_SI36"), getStringValue((j(w, x, G, 16777216) + "_SI36"))), StringEntry((E + "_SI37"), getStringValue((j(w, x, G, 33554432) + "_SI37"))), StringEntry((E + "_SI40"), getStringValue((j(w, x, G, 67108864) + "_SI40"))), StringEntry((E + "_SI41"), getStringValue((j(w, x, G, 134217728) + "_SI41"))), StringEntry((E + "_SI42"), getStringValue((j(w, x, G, 268435456) + "_SI42"))), StringEntry((E + "_SI43"), getStringValue((j(w, x, G, 536870912) + "_SI43"))), StringEntry((E + "_SI44"), getStringValue((j(w, x, G, 1073741824) + "_SI44"))), StringEntry((E + "_SI45"), getStringValue((j(w, x, G, 2147483648) + "_SI45"))), StringEntry((E + "_SI46"), getStringValue((j(w, x, G, 4294967296) + "_SI46"))), StringEntry((E + "_SI47"), getStringValue((j(w, x, G, 8589934592) + "_SI47"))), ScriptTransfer(Address(f.caller.bytes), 1, D)]
78+ let H = fromBase58String(y)
79+ let I = g(h)
80+ let l = i(j)
81+ let J = k(l, 0)
82+ let K = k(l, 1)
83+[IntegerEntry("count", (h + 1)), StringEntry(y, I), StringEntry(I, y), IntegerEntry((I + "_G"), (max([getIntegerValue((A + "_G")), getIntegerValue((B + "_G"))]) + 1)), StringEntry((I + "_SL"), ""), IntegerEntry((I + "_SN"), J), StringEntry((I + "_SP0"), A), StringEntry((I + "_SP1"), B), IntegerEntry((I + "_SB0"), getIntegerValue((n(A, B, J, 1) + "_SB0"))), IntegerEntry((I + "_SB1"), getIntegerValue((n(A, B, J, 2) + "_SB1"))), IntegerEntry((I + "_SB2"), getIntegerValue((n(A, B, J, 4) + "_SB2"))), IntegerEntry((I + "_ST"), getIntegerValue((n(A, B, J, 8) + "_ST"))), StringEntry((I + "_SC0"), getStringValue((n(A, B, J, 16) + "_SC0"))), StringEntry((I + "_SC1"), getStringValue((n(A, B, J, 32) + "_SC1"))), StringEntry((I + "_SC2"), getStringValue((n(A, B, J, 64) + "_SC2"))), StringEntry((I + "_SC3"), getStringValue((n(A, B, J, 128) + "_SC3"))), StringEntry((I + "_SC4"), getStringValue((n(A, B, J, 512) + "_SC4"))), StringEntry((I + "_SC5"), getStringValue((n(A, B, J, 1024) + "_SC5"))), StringEntry((I + "_SC6"), getStringValue((n(A, B, J, 2048) + "_SC6"))), StringEntry((I + "_SC7"), getStringValue((n(A, B, J, 4096) + "_SC7"))), StringEntry((I + "_SA"), getStringValue((n(A, B, J, 8192) + "_SA"))), StringEntry((I + "_SI0"), getStringValue((n(A, B, J, 16384) + "_SI0"))), StringEntry((I + "_SI1"), getStringValue((n(A, B, J, 32768) + "_SI1"))), StringEntry((I + "_SI2"), getStringValue((n(A, B, J, 65536) + "_SI2"))), StringEntry((I + "_SI3"), getStringValue((n(A, B, J, 131072) + "_SI3"))), StringEntry((I + "_SI4"), getStringValue((n(A, B, J, 262144) + "_SI4"))), StringEntry((I + "_SI5"), getStringValue((n(A, B, J, 524288) + "_SI5"))), StringEntry((I + "_SI50"), getStringValue((n(A, B, J, 1048576) + "_SI50"))), StringEntry((I + "_SI51"), getStringValue((n(A, B, J, 2097152) + "_SI51"))), StringEntry((I + "_SI52"), getStringValue((n(A, B, J, 4194304) + "_SI52"))), StringEntry((I + "_SI53"), getStringValue((n(A, B, J, 8388608) + "_SI53"))), StringEntry((I + "_SI54"), getStringValue((n(A, B, J, 16777216) + "_SI54"))), StringEntry((I + "_SI55"), getStringValue((n(A, B, J, 33554432) + "_SI55"))), StringEntry((I + "_SI56"), getStringValue((n(A, B, J, 67108864) + "_SI56"))), StringEntry((I + "_SI57"), getStringValue((n(A, B, J, 134217728) + "_SI57"))), StringEntry((I + "_SI00"), getStringValue((n(A, B, J, 268435456) + "_SI00"))), StringEntry((I + "_SI01"), getStringValue((n(A, B, J, 536870912) + "_SI01"))), StringEntry((I + "_SI02"), getStringValue((n(A, B, J, 1073741824) + "_SI02"))), StringEntry((I + "_SI03"), getStringValue((n(A, B, J, 2147483648) + "_SI03"))), StringEntry((I + "_SI04"), getStringValue((n(A, B, J, 4294967296) + "_SI04"))), StringEntry((I + "_SI05"), getStringValue((n(A, B, J, 8589934592) + "_SI05"))), StringEntry((I + "_SI06"), getStringValue((n(A, B, K, 1) + "_SI06"))), StringEntry((I + "_SI07"), getStringValue((n(A, B, K, 2) + "_SI07"))), StringEntry((I + "_SI10"), getStringValue((n(A, B, K, 4) + "_SI10"))), StringEntry((I + "_SI11"), getStringValue((n(A, B, K, 8) + "_SI11"))), StringEntry((I + "_SI12"), getStringValue((n(A, B, K, 16) + "_SI12"))), StringEntry((I + "_SI13"), getStringValue((n(A, B, K, 32) + "_SI13"))), StringEntry((I + "_SI14"), getStringValue((n(A, B, K, 64) + "_SI14"))), StringEntry((I + "_SI15"), getStringValue((n(A, B, K, 128) + "_SI15"))), StringEntry((I + "_SI16"), getStringValue((n(A, B, K, 256) + "_SI16"))), StringEntry((I + "_SI17"), getStringValue((n(A, B, K, 512) + "_SI17"))), StringEntry((I + "_SI20"), getStringValue((n(A, B, K, 1024) + "_SI20"))), StringEntry((I + "_SI21"), getStringValue((n(A, B, K, 2048) + "_SI21"))), StringEntry((I + "_SI22"), getStringValue((n(A, B, K, 4096) + "_SI22"))), StringEntry((I + "_SI23"), getStringValue((n(A, B, K, 8192) + "_SI23"))), StringEntry((I + "_SI24"), getStringValue((n(A, B, K, 16384) + "_SI24"))), StringEntry((I + "_SI25"), getStringValue((n(A, B, K, 32768) + "_SI25"))), StringEntry((I + "_SI26"), getStringValue((n(A, B, K, 65536) + "_SI26"))), StringEntry((I + "_SI27"), getStringValue((n(A, B, K, 131072) + "_SI27"))), StringEntry((I + "_SI30"), getStringValue((n(A, B, K, 262144) + "_SI30"))), StringEntry((I + "_SI31"), getStringValue((n(A, B, K, 524288) + "_SI31"))), StringEntry((I + "_SI32"), getStringValue((n(A, B, K, 1048576) + "_SI32"))), StringEntry((I + "_SI33"), getStringValue((n(A, B, K, 2097152) + "_SI33"))), StringEntry((I + "_SI34"), getStringValue((n(A, B, K, 4194304) + "_SI34"))), StringEntry((I + "_SI35"), getStringValue((n(A, B, K, 8388608) + "_SI35"))), StringEntry((I + "_SI36"), getStringValue((n(A, B, K, 16777216) + "_SI36"))), StringEntry((I + "_SI37"), getStringValue((n(A, B, K, 33554432) + "_SI37"))), StringEntry((I + "_SI40"), getStringValue((n(A, B, K, 67108864) + "_SI40"))), StringEntry((I + "_SI41"), getStringValue((n(A, B, K, 134217728) + "_SI41"))), StringEntry((I + "_SI42"), getStringValue((n(A, B, K, 268435456) + "_SI42"))), StringEntry((I + "_SI43"), getStringValue((n(A, B, K, 536870912) + "_SI43"))), StringEntry((I + "_SI44"), getStringValue((n(A, B, K, 1073741824) + "_SI44"))), StringEntry((I + "_SI45"), getStringValue((n(A, B, K, 2147483648) + "_SI45"))), StringEntry((I + "_SI46"), getStringValue((n(A, B, K, 4294967296) + "_SI46"))), StringEntry((I + "_SI47"), getStringValue((n(A, B, K, 8589934592) + "_SI47"))), ScriptTransfer(Address(j.caller.bytes), 1, H)]
7684 }
7785 else throw("Strict value is not equal to itself.")
7886 }
7987
8088
81-func H (I) = if ((this == I))
89+func L (M) = if ((this == M))
8290 then true
8391 else {
84- let t = getBoolean(("W_" + toBase58String(I.bytes)))
85- if ($isInstanceOf(t, "Boolean"))
92+ let x = getBoolean(("W_" + toBase58String(M.bytes)))
93+ if ($isInstanceOf(x, "Boolean"))
8694 then {
87- let C = t
88- C
95+ let G = x
96+ G
8997 }
9098 else false
9199 }
92100
93101
94-@Callable(f)
95-func whitelist_add (J) = if ((this != f.caller))
102+@Callable(j)
103+func whitelist_add (N) = if ((this != j.caller))
96104 then throw("Caller is not dApp owner")
97- else $Tuple2([BooleanEntry(("W_" + J), true)], unit)
105+ else $Tuple2([BooleanEntry(("W_" + N), true)], unit)
98106
99107
100108
101-@Callable(f)
102-func whitelist_remove (J) = if ((this != f.caller))
109+@Callable(j)
110+func whitelist_remove (N) = if ((this != j.caller))
103111 then throw("Caller is not dApp owner")
104- else $Tuple2([DeleteEntry(("W_" + J))], unit)
112+ else $Tuple2([DeleteEntry(("W_" + N))], unit)
105113
106114
107115
108-@Callable(f)
109-func set_market_image (K) = if (!(H(f.caller)))
116+@Callable(j)
117+func set_market_image (O) = if (!(L(j.caller)))
110118 then throw("Caller not in whitelist")
111- else $Tuple2([StringEntry("market_image_link", K)], unit)
119+ else $Tuple2([StringEntry("market_image_link", O)], unit)
112120
113121
114122
115-@Callable(f)
116-func set_price_hybrid (p,q,L) = if (!(H(f.caller)))
123+@Callable(j)
124+func set_price_hybrid (t,u,P) = if (!(L(j.caller)))
117125 then throw("Caller not in whitelist")
118- else $Tuple2([StringEntry("price_hybrid_token", p), IntegerEntry("price_hybrid_amount", q), IntegerEntry("price_hybrid_increment", L)], unit)
126+ else $Tuple2([StringEntry("price_hybrid_token", t), IntegerEntry("price_hybrid_amount", u), IntegerEntry("price_hybrid_increment", P)], unit)
119127
120128
121129
122-@Callable(f)
123-func mint_chord (M,N,O) = if (!(H(f.caller)))
130+@Callable(j)
131+func mint_chord (Q,R,S) = if (!(L(j.caller)))
124132 then throw("Caller not in whitelist")
125- else if ((size(O) != 5))
133+ else if ((size(S) != 5))
126134 then throw("Wrong notes size")
127135 else {
128- let d = {
129- let t = getInteger("count")
130- if ($isInstanceOf(t, "Int"))
136+ let h = {
137+ let x = getInteger("count")
138+ if ($isInstanceOf(x, "Int"))
131139 then {
132- let y = t
133- y
140+ let C = x
141+ C
134142 }
135143 else 0
136144 }
137- let E = c(M)
138- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_CL"), N), IntegerEntry((E + "_C0"), O[0]), IntegerEntry((E + "_C1"), O[1]), IntegerEntry((E + "_C2"), O[2]), IntegerEntry((E + "_C3"), O[3]), IntegerEntry((E + "_C4"), O[4])], unit)
145+ let I = g(Q)
146+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_CL"), R), IntegerEntry((I + "_C0"), S[0]), IntegerEntry((I + "_C1"), S[1]), IntegerEntry((I + "_C2"), S[2]), IntegerEntry((I + "_C3"), S[3]), IntegerEntry((I + "_C4"), S[4])], unit)
139147 }
140148
141149
142150
143-@Callable(f)
144-func mint_arpeggio (M,N,O) = if (!(H(f.caller)))
151+@Callable(j)
152+func mint_arpeggio (Q,R,S) = if (!(L(j.caller)))
145153 then throw("Caller not in whitelist")
146- else if ((size(O) != 16))
154+ else if ((size(S) != 16))
147155 then throw("Wrong notes size")
148156 else {
149- let d = {
150- let t = getInteger("count")
151- if ($isInstanceOf(t, "Int"))
157+ let h = {
158+ let x = getInteger("count")
159+ if ($isInstanceOf(x, "Int"))
152160 then {
153- let y = t
154- y
161+ let C = x
162+ C
155163 }
156164 else 0
157165 }
158- let E = c(M)
159- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_AL"), N), IntegerEntry((E + "_A00"), O[0]), IntegerEntry((E + "_A01"), O[1]), IntegerEntry((E + "_A02"), O[2]), IntegerEntry((E + "_A03"), O[3]), IntegerEntry((E + "_A04"), O[4]), IntegerEntry((E + "_A05"), O[5]), IntegerEntry((E + "_A06"), O[6]), IntegerEntry((E + "_A07"), O[7]), IntegerEntry((E + "_A08"), O[8]), IntegerEntry((E + "_A09"), O[9]), IntegerEntry((E + "_A10"), O[10]), IntegerEntry((E + "_A11"), O[11]), IntegerEntry((E + "_A12"), O[12]), IntegerEntry((E + "_A13"), O[13]), IntegerEntry((E + "_A14"), O[14]), IntegerEntry((E + "_A15"), O[15])], unit)
166+ let I = g(Q)
167+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_AL"), R), IntegerEntry((I + "_A00"), S[0]), IntegerEntry((I + "_A01"), S[1]), IntegerEntry((I + "_A02"), S[2]), IntegerEntry((I + "_A03"), S[3]), IntegerEntry((I + "_A04"), S[4]), IntegerEntry((I + "_A05"), S[5]), IntegerEntry((I + "_A06"), S[6]), IntegerEntry((I + "_A07"), S[7]), IntegerEntry((I + "_A08"), S[8]), IntegerEntry((I + "_A09"), S[9]), IntegerEntry((I + "_A10"), S[10]), IntegerEntry((I + "_A11"), S[11]), IntegerEntry((I + "_A12"), S[12]), IntegerEntry((I + "_A13"), S[13]), IntegerEntry((I + "_A14"), S[14]), IntegerEntry((I + "_A15"), S[15])], unit)
160168 }
161169
162170
163171
164-@Callable(f)
165-func mint_rhythm (M,N,P,O) = if (!(H(f.caller)))
172+@Callable(j)
173+func mint_rhythm (Q,R,T,S) = if (!(L(j.caller)))
166174 then throw("Caller not in whitelist")
167- else if ((size(O) != 16))
175+ else if ((size(S) != 16))
168176 then throw("Wrong notes size")
169177 else {
170- let d = {
171- let t = getInteger("count")
172- if ($isInstanceOf(t, "Int"))
178+ let h = {
179+ let x = getInteger("count")
180+ if ($isInstanceOf(x, "Int"))
173181 then {
174- let y = t
175- y
182+ let C = x
183+ C
176184 }
177185 else 0
178186 }
179- let E = c(M)
180- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_RL"), N), IntegerEntry((E + "_RS"), P), IntegerEntry((E + "_R00"), O[0]), IntegerEntry((E + "_R01"), O[1]), IntegerEntry((E + "_R02"), O[2]), IntegerEntry((E + "_R03"), O[3]), IntegerEntry((E + "_R04"), O[4]), IntegerEntry((E + "_R05"), O[5]), IntegerEntry((E + "_R06"), O[6]), IntegerEntry((E + "_R07"), O[7]), IntegerEntry((E + "_R08"), O[8]), IntegerEntry((E + "_R09"), O[9]), IntegerEntry((E + "_R10"), O[10]), IntegerEntry((E + "_R11"), O[11]), IntegerEntry((E + "_R12"), O[12]), IntegerEntry((E + "_R13"), O[13]), IntegerEntry((E + "_R14"), O[14]), IntegerEntry((E + "_R15"), O[15])], unit)
187+ let I = g(Q)
188+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_RL"), R), IntegerEntry((I + "_RS"), T), IntegerEntry((I + "_R00"), S[0]), IntegerEntry((I + "_R01"), S[1]), IntegerEntry((I + "_R02"), S[2]), IntegerEntry((I + "_R03"), S[3]), IntegerEntry((I + "_R04"), S[4]), IntegerEntry((I + "_R05"), S[5]), IntegerEntry((I + "_R06"), S[6]), IntegerEntry((I + "_R07"), S[7]), IntegerEntry((I + "_R08"), S[8]), IntegerEntry((I + "_R09"), S[9]), IntegerEntry((I + "_R10"), S[10]), IntegerEntry((I + "_R11"), S[11]), IntegerEntry((I + "_R12"), S[12]), IntegerEntry((I + "_R13"), S[13]), IntegerEntry((I + "_R14"), S[14]), IntegerEntry((I + "_R15"), S[15])], unit)
181189 }
182190
183191
184192
185-@Callable(f)
186-func mint_song (N,Q,R,S,T,U,V,W,X,Y,Z,aa,ab,ac,ad,ae,af,ag,ah,ai,aj) = if (!(H(f.caller)))
193+@Callable(j)
194+func burn_internal (U) = if (!(L(j.caller)))
187195 then throw("Caller not in whitelist")
188- else if ((size(W) != 8))
196+ else {
197+ let V = invoke(a, "burnNFT", nil, [AttachedPayment(fromBase58String(U), 1)])
198+ if ((V == V))
199+ then $Tuple2(nil, unit)
200+ else throw("Strict value is not equal to itself.")
201+ }
202+
203+
204+
205+@Callable(j)
206+func burn () = if (!(L(j.caller)))
207+ then throw("Caller not in whitelist")
208+ else {
209+ let V = invoke(a, "burnNFT", nil, [j.payments[0]])
210+ if ((V == V))
211+ then $Tuple2(nil, unit)
212+ else throw("Strict value is not equal to itself.")
213+ }
214+
215+
216+
217+@Callable(j)
218+func mint_song (R,W,X,Y,Z,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap) = if (!(L(j.caller)))
219+ then throw("Caller not in whitelist")
220+ else if ((size(ac) != 8))
189221 then throw("Wrong chords size")
190- else if ((size(ae) != 8))
222+ else if ((size(ak) != 8))
191223 then throw("Wrong kick rhythms size")
192- else if ((size(af) != 8))
224+ else if ((size(al) != 8))
193225 then throw("Wrong snare rhythms size")
194- else if ((size(ag) != 8))
226+ else if ((size(am) != 8))
195227 then throw("Wrong hihat rhythms size")
196- else if ((size(ah) != 8))
228+ else if ((size(an) != 8))
197229 then throw("Wrong bass rhythms size")
198- else if ((size(ai) != 8))
230+ else if ((size(ao) != 8))
199231 then throw("Wrong back rhythms size")
200- else if ((size(aj) != 8))
232+ else if ((size(ap) != 8))
201233 then throw("Wrong lead rhythms size")
202234 else {
203- let d = {
204- let t = getInteger("count")
205- if ($isInstanceOf(t, "Int"))
235+ let h = {
236+ let x = getInteger("count")
237+ if ($isInstanceOf(x, "Int"))
206238 then {
207- let y = t
208- y
239+ let C = x
240+ C
209241 }
210242 else 0
211243 }
212- let z = take(N, 16)
213- let A = "Clef song"
214- let B = ""
215- let u = {
216- let t = invoke(a, "createNFT", [z, A, getStringValue("market_image_link"), B], nil)
217- if ($isInstanceOf(t, "String"))
244+ let D = take(R, 16)
245+ let E = d
246+ let F = c
247+ let y = {
248+ let x = invoke(a, "createNFT", [D, E, getStringValue("market_image_link"), F], nil)
249+ if ($isInstanceOf(x, "String"))
218250 then {
219- let C = t
220- C
251+ let G = x
252+ G
221253 }
222254 else throw("NFT creation failed")
223255 }
224- if ((u == u))
256+ if ((y == y))
225257 then {
226- let E = c(d)
227- let ak = if ((this != f.caller))
228- then [ScriptTransfer(Address(f.caller.bytes), 1, fromBase58String(u))]
258+ let I = g(h)
259+ let aq = if ((this != j.caller))
260+ then [ScriptTransfer(Address(j.caller.bytes), 1, fromBase58String(y))]
229261 else nil
230- $Tuple2(([IntegerEntry("count", (d + 1)), StringEntry(u, E), StringEntry(E, u), IntegerEntry((E + "_G"), 1), StringEntry((E + "_SL"), N), IntegerEntry((E + "_SN"), 0), StringEntry((E + "_SP0"), Q), StringEntry((E + "_SP1"), R), IntegerEntry((E + "_SB0"), S), IntegerEntry((E + "_SB1"), T), IntegerEntry((E + "_SB2"), U), IntegerEntry((E + "_ST"), V), StringEntry((E + "_SC0"), W[0]), StringEntry((E + "_SC1"), W[1]), StringEntry((E + "_SC2"), W[2]), StringEntry((E + "_SC3"), W[3]), StringEntry((E + "_SC4"), W[4]), StringEntry((E + "_SC5"), W[5]), StringEntry((E + "_SC6"), W[6]), StringEntry((E + "_SC7"), W[7]), StringEntry((E + "_SA"), X), StringEntry((E + "_SI0"), Y), StringEntry((E + "_SI1"), Z), StringEntry((E + "_SI2"), aa), StringEntry((E + "_SI3"), ab), StringEntry((E + "_SI4"), ac), StringEntry((E + "_SI5"), ad), StringEntry((E + "_SI00"), ae[0]), StringEntry((E + "_SI01"), ae[1]), StringEntry((E + "_SI02"), ae[2]), StringEntry((E + "_SI03"), ae[3]), StringEntry((E + "_SI04"), ae[4]), StringEntry((E + "_SI05"), ae[5]), StringEntry((E + "_SI06"), ae[6]), StringEntry((E + "_SI07"), ae[7]), StringEntry((E + "_SI10"), af[0]), StringEntry((E + "_SI11"), af[1]), StringEntry((E + "_SI12"), af[2]), StringEntry((E + "_SI13"), af[3]), StringEntry((E + "_SI14"), af[4]), StringEntry((E + "_SI15"), af[5]), StringEntry((E + "_SI16"), af[6]), StringEntry((E + "_SI17"), af[7]), StringEntry((E + "_SI20"), ag[0]), StringEntry((E + "_SI21"), ag[1]), StringEntry((E + "_SI22"), ag[2]), StringEntry((E + "_SI23"), ag[3]), StringEntry((E + "_SI24"), ag[4]), StringEntry((E + "_SI25"), ag[5]), StringEntry((E + "_SI26"), ag[6]), StringEntry((E + "_SI27"), ag[7]), StringEntry((E + "_SI30"), ah[0]), StringEntry((E + "_SI31"), ah[1]), StringEntry((E + "_SI32"), ah[2]), StringEntry((E + "_SI33"), ah[3]), StringEntry((E + "_SI34"), ah[4]), StringEntry((E + "_SI35"), ah[5]), StringEntry((E + "_SI36"), ah[6]), StringEntry((E + "_SI37"), ah[7]), StringEntry((E + "_SI40"), ai[0]), StringEntry((E + "_SI41"), ai[1]), StringEntry((E + "_SI42"), ai[2]), StringEntry((E + "_SI43"), ai[3]), StringEntry((E + "_SI44"), ai[4]), StringEntry((E + "_SI45"), ai[5]), StringEntry((E + "_SI46"), ai[6]), StringEntry((E + "_SI47"), ai[7]), StringEntry((E + "_SI50"), aj[0]), StringEntry((E + "_SI51"), aj[1]), StringEntry((E + "_SI52"), aj[2]), StringEntry((E + "_SI53"), aj[3]), StringEntry((E + "_SI54"), aj[4]), StringEntry((E + "_SI55"), aj[5]), StringEntry((E + "_SI56"), aj[6]), StringEntry((E + "_SI57"), aj[7])] ++ ak), unit)
262+ $Tuple2(([IntegerEntry("count", (h + 1)), StringEntry(y, I), StringEntry(I, y), IntegerEntry((I + "_G"), 1), StringEntry((I + "_SL"), R), IntegerEntry((I + "_SN"), 0), StringEntry((I + "_SP0"), W), StringEntry((I + "_SP1"), X), IntegerEntry((I + "_SB0"), Y), IntegerEntry((I + "_SB1"), Z), IntegerEntry((I + "_SB2"), aa), IntegerEntry((I + "_ST"), ab), StringEntry((I + "_SC0"), ac[0]), StringEntry((I + "_SC1"), ac[1]), StringEntry((I + "_SC2"), ac[2]), StringEntry((I + "_SC3"), ac[3]), StringEntry((I + "_SC4"), ac[4]), StringEntry((I + "_SC5"), ac[5]), StringEntry((I + "_SC6"), ac[6]), StringEntry((I + "_SC7"), ac[7]), StringEntry((I + "_SA"), ad), StringEntry((I + "_SI0"), ae), StringEntry((I + "_SI1"), af), StringEntry((I + "_SI2"), ag), StringEntry((I + "_SI3"), ah), StringEntry((I + "_SI4"), ai), StringEntry((I + "_SI5"), aj), StringEntry((I + "_SI00"), ak[0]), StringEntry((I + "_SI01"), ak[1]), StringEntry((I + "_SI02"), ak[2]), StringEntry((I + "_SI03"), ak[3]), StringEntry((I + "_SI04"), ak[4]), StringEntry((I + "_SI05"), ak[5]), StringEntry((I + "_SI06"), ak[6]), StringEntry((I + "_SI07"), ak[7]), StringEntry((I + "_SI10"), al[0]), StringEntry((I + "_SI11"), al[1]), StringEntry((I + "_SI12"), al[2]), StringEntry((I + "_SI13"), al[3]), StringEntry((I + "_SI14"), al[4]), StringEntry((I + "_SI15"), al[5]), StringEntry((I + "_SI16"), al[6]), StringEntry((I + "_SI17"), al[7]), StringEntry((I + "_SI20"), am[0]), StringEntry((I + "_SI21"), am[1]), StringEntry((I + "_SI22"), am[2]), StringEntry((I + "_SI23"), am[3]), StringEntry((I + "_SI24"), am[4]), StringEntry((I + "_SI25"), am[5]), StringEntry((I + "_SI26"), am[6]), StringEntry((I + "_SI27"), am[7]), StringEntry((I + "_SI30"), an[0]), StringEntry((I + "_SI31"), an[1]), StringEntry((I + "_SI32"), an[2]), StringEntry((I + "_SI33"), an[3]), StringEntry((I + "_SI34"), an[4]), StringEntry((I + "_SI35"), an[5]), StringEntry((I + "_SI36"), an[6]), StringEntry((I + "_SI37"), an[7]), StringEntry((I + "_SI40"), ao[0]), StringEntry((I + "_SI41"), ao[1]), StringEntry((I + "_SI42"), ao[2]), StringEntry((I + "_SI43"), ao[3]), StringEntry((I + "_SI44"), ao[4]), StringEntry((I + "_SI45"), ao[5]), StringEntry((I + "_SI46"), ao[6]), StringEntry((I + "_SI47"), ao[7]), StringEntry((I + "_SI50"), ap[0]), StringEntry((I + "_SI51"), ap[1]), StringEntry((I + "_SI52"), ap[2]), StringEntry((I + "_SI53"), ap[3]), StringEntry((I + "_SI54"), ap[4]), StringEntry((I + "_SI55"), ap[5]), StringEntry((I + "_SI56"), ap[6]), StringEntry((I + "_SI57"), ap[7])] ++ aq), unit)
231263 }
232264 else throw("Strict value is not equal to itself.")
233265 }
234266
235267
236268
237-@Callable(f)
238-func mint_hybrid (w,x) = {
239- let al = Address(f.caller.bytes)
240- let am = fromBase58String(getStringValue(w))
241- let an = fromBase58String(getStringValue(x))
242- let ao = getIntegerValue("price_hybrid_amount")
243- let ap = getStringValue("price_hybrid_token")
244- let aq = o(f, ap, ao)
245- if ((0 > aq))
269+@Callable(j)
270+func mint_hybrid (A,B) = {
271+ let ar = Address(j.caller.bytes)
272+ let as = fromBase58String(getStringValue(A))
273+ let at = fromBase58String(getStringValue(B))
274+ let au = getIntegerValue("price_hybrid_amount")
275+ let av = getStringValue("price_hybrid_token")
276+ let aw = s(j, av, au)
277+ if ((0 > aw))
246278 then throw("Wrong payment")
247- else if ((am == an))
279+ else if ((as == at))
248280 then throw("Songs should be different")
249- else if ((1 > assetBalance(al, am)))
281+ else if ((1 > assetBalance(ar, as)))
250282 then throw("Caller do not own first song")
251- else if ((1 > assetBalance(al, an)))
283+ else if ((1 > assetBalance(ar, at)))
252284 then throw("Caller do not own second song")
253285 else {
254- let ar = {
255- let t = getInteger("mint_count")
256- if ($isInstanceOf(t, "Int"))
286+ let ax = {
287+ let x = getInteger("mint_count")
288+ if ($isInstanceOf(x, "Int"))
257289 then {
258- let y = t
259- y
290+ let C = x
291+ C
260292 }
261293 else 0
262294 }
263- let as = IntegerEntry("mint_count", (ar + 1))
264- let at = if (((ar % b) == (b - 1)))
265- then [as, IntegerEntry("price_hybrid_amount", (ao + getIntegerValue("price_hybrid_increment")))]
266- else [as]
267- if ((aq > 0))
268- then $Tuple2(((v(f, w, x) ++ at) ++ [ScriptTransfer(Address(f.caller.bytes), aq, if ((ap == ""))
295+ let ay = IntegerEntry("mint_count", (ax + 1))
296+ let az = if (((ax % b) == (b - 1)))
297+ then [ay, IntegerEntry("price_hybrid_amount", (au + getIntegerValue("price_hybrid_increment")))]
298+ else [ay]
299+ if ((aw > 0))
300+ then $Tuple2(((z(j, A, B) ++ az) ++ [ScriptTransfer(Address(j.caller.bytes), aw, if ((av == ""))
269301 then unit
270- else fromBase58String(ap))]), unit)
271- else $Tuple2((v(f, w, x) ++ at), unit)
302+ else fromBase58String(av))]), unit)
303+ else $Tuple2((z(j, A, B) ++ az), unit)
272304 }
273305 }
274306
275307
276308
277-@Callable(f)
278-func mint_hybrid_and_burn () = if (if (if ((size(f.payments) != 2))
309+@Callable(j)
310+func mint_hybrid_and_burn () = if (if (if ((size(j.payments) != 2))
279311 then true
280- else (f.payments[0].amount != 1))
312+ else (j.payments[0].amount != 1))
281313 then true
282- else (f.payments[1].amount != 1))
314+ else (j.payments[1].amount != 1))
283315 then throw("Wrong payment")
284316 else {
285- let am = {
286- let t = f.payments[0].assetId
287- if ($isInstanceOf(t, "ByteVector"))
317+ let as = {
318+ let x = j.payments[0].assetId
319+ if ($isInstanceOf(x, "ByteVector"))
288320 then {
289- let au = t
290- au
321+ let aA = x
322+ aA
291323 }
292324 else throw("Wrong payment")
293325 }
294- let an = {
295- let t = f.payments[1].assetId
296- if ($isInstanceOf(t, "ByteVector"))
326+ let at = {
327+ let x = j.payments[1].assetId
328+ if ($isInstanceOf(x, "ByteVector"))
297329 then {
298- let au = t
299- au
330+ let aA = x
331+ aA
300332 }
301333 else throw("Wrong payment")
302334 }
303- if ((am == an))
335+ if ((as == at))
304336 then throw("Songs should be different")
305337 else {
306- let w = getStringValue(toBase58String(am))
307- let x = getStringValue(toBase58String(an))
308- let av = invoke(a, "burnNFT", nil, [f.payments[0]])
309- if ((av == av))
338+ let A = getStringValue(toBase58String(as))
339+ let B = getStringValue(toBase58String(at))
340+ let V = invoke(a, "burnNFT", nil, [j.payments[0]])
341+ if ((V == V))
310342 then {
311- let aw = invoke(a, "burnNFT", nil, [f.payments[1]])
312- if ((aw == aw))
313- then $Tuple2(v(f, w, x), unit)
343+ let aB = invoke(a, "burnNFT", nil, [j.payments[1]])
344+ if ((aB == aB))
345+ then $Tuple2(z(j, A, B), unit)
314346 else throw("Strict value is not equal to itself.")
315347 }
316348 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = Address(base58'3MvjjKrBojVDj5tKCNS7mvtk3BjNd9PMJia')
4+let a = Address(base58'3N9bHBAZKai5SwrywMPLQpKmNePRQiHhW9S')
55
66 let b = 10
77
8-func c (d) = toBase58String(toBytes(d))
8+let c = "Clef genesis songs"
9+
10+let d = "Genesis Clef song. This melody is crafted to become your electronic jam. Use it on clef.one 💚🤍"
11+
12+let e = "Clef mixes"
13+
14+let f = "Clef mix. This melody was created by an algorithm. Enjoy this jam or use it on clef.one"
15+
16+func g (h) = toBase58String(toBytes(h))
917
1018
11-func e (f) = ((((f.transactionId + f.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
19+func i (j) = ((((j.transactionId + j.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
1220
1321
14-func g (h,i) = {
15- let d = toInt(sha256_16Kb((h + toBytes(i))))
16- if ((0 > d))
17- then -(d)
18- else d
22+func k (l,m) = {
23+ let h = toInt(sha256_16Kb((l + toBytes(m))))
24+ if ((0 > h))
25+ then -(h)
26+ else h
1927 }
2028
2129
22-func j (k,l,m,n) = if ((((m / n) % 2) == 0))
23- then k
24- else l
30+func n (o,p,q,r) = if ((((q / r) % 2) == 0))
31+ then o
32+ else p
2533
2634
27-func o (f,p,q) = if ((size(f.payments) != 1))
35+func s (j,t,u) = if ((size(j.payments) != 1))
2836 then -1
2937 else {
30- let r = f.payments[0]
31- let s = {
32- let t = r.assetId
33- if ($isInstanceOf(t, "ByteVector"))
38+ let v = j.payments[0]
39+ let w = {
40+ let x = v.assetId
41+ if ($isInstanceOf(x, "ByteVector"))
3442 then {
35- let u = t
36- toBase58String(u)
43+ let y = x
44+ toBase58String(y)
3745 }
3846 else ""
3947 }
40- if ((s != p))
48+ if ((w != t))
4149 then -1
42- else (r.amount - q)
50+ else (v.amount - u)
4351 }
4452
4553
46-func v (f,w,x) = {
47- let d = {
48- let t = getInteger("count")
49- if ($isInstanceOf(t, "Int"))
54+func z (j,A,B) = {
55+ let h = {
56+ let x = getInteger("count")
57+ if ($isInstanceOf(x, "Int"))
5058 then {
51- let y = t
52- y
59+ let C = x
60+ C
5361 }
5462 else 0
5563 }
56- let z = take(("Clef " + toString(d)), 16)
57- let A = "Clef song"
58- let B = ""
59- let u = {
60- let t = invoke(a, "createNFT", [z, A, getStringValue("market_image_link"), B], nil)
61- if ($isInstanceOf(t, "String"))
64+ let D = take(("Clef " + toString(h)), 16)
65+ let E = f
66+ let F = e
67+ let y = {
68+ let x = invoke(a, "createNFT", [D, E, getStringValue("market_image_link"), F], nil)
69+ if ($isInstanceOf(x, "String"))
6270 then {
63- let C = t
64- C
71+ let G = x
72+ G
6573 }
6674 else throw("NFT creation failed")
6775 }
68- if ((u == u))
76+ if ((y == y))
6977 then {
70- let D = fromBase58String(u)
71- let E = c(d)
72- let h = e(f)
73- let F = g(h, 0)
74- let G = g(h, 1)
75-[IntegerEntry("count", (d + 1)), StringEntry(u, E), StringEntry(E, u), IntegerEntry((E + "_G"), (max([getIntegerValue((w + "_G")), getIntegerValue((x + "_G"))]) + 1)), StringEntry((E + "_SL"), ""), IntegerEntry((E + "_SN"), F), StringEntry((E + "_SP0"), w), StringEntry((E + "_SP1"), x), IntegerEntry((E + "_SB0"), getIntegerValue((j(w, x, F, 1) + "_SB0"))), IntegerEntry((E + "_SB1"), getIntegerValue((j(w, x, F, 2) + "_SB1"))), IntegerEntry((E + "_SB2"), getIntegerValue((j(w, x, F, 4) + "_SB2"))), IntegerEntry((E + "_ST"), getIntegerValue((j(w, x, F, 8) + "_ST"))), StringEntry((E + "_SC0"), getStringValue((j(w, x, F, 16) + "_SC0"))), StringEntry((E + "_SC1"), getStringValue((j(w, x, F, 32) + "_SC1"))), StringEntry((E + "_SC2"), getStringValue((j(w, x, F, 64) + "_SC2"))), StringEntry((E + "_SC3"), getStringValue((j(w, x, F, 128) + "_SC3"))), StringEntry((E + "_SC4"), getStringValue((j(w, x, F, 512) + "_SC4"))), StringEntry((E + "_SC5"), getStringValue((j(w, x, F, 1024) + "_SC5"))), StringEntry((E + "_SC6"), getStringValue((j(w, x, F, 2048) + "_SC6"))), StringEntry((E + "_SC7"), getStringValue((j(w, x, F, 4096) + "_SC7"))), StringEntry((E + "_SA"), getStringValue((j(w, x, F, 8192) + "_SA"))), StringEntry((E + "_SI0"), getStringValue((j(w, x, F, 16384) + "_SI0"))), StringEntry((E + "_SI1"), getStringValue((j(w, x, F, 32768) + "_SI1"))), StringEntry((E + "_SI2"), getStringValue((j(w, x, F, 65536) + "_SI2"))), StringEntry((E + "_SI3"), getStringValue((j(w, x, F, 131072) + "_SI3"))), StringEntry((E + "_SI4"), getStringValue((j(w, x, F, 262144) + "_SI4"))), StringEntry((E + "_SI5"), getStringValue((j(w, x, F, 524288) + "_SI5"))), StringEntry((E + "_SI50"), getStringValue((j(w, x, F, 1048576) + "_SI50"))), StringEntry((E + "_SI51"), getStringValue((j(w, x, F, 2097152) + "_SI51"))), StringEntry((E + "_SI52"), getStringValue((j(w, x, F, 4194304) + "_SI52"))), StringEntry((E + "_SI53"), getStringValue((j(w, x, F, 8388608) + "_SI53"))), StringEntry((E + "_SI54"), getStringValue((j(w, x, F, 16777216) + "_SI54"))), StringEntry((E + "_SI55"), getStringValue((j(w, x, F, 33554432) + "_SI55"))), StringEntry((E + "_SI56"), getStringValue((j(w, x, F, 67108864) + "_SI56"))), StringEntry((E + "_SI57"), getStringValue((j(w, x, F, 134217728) + "_SI57"))), StringEntry((E + "_SI00"), getStringValue((j(w, x, F, 268435456) + "_SI00"))), StringEntry((E + "_SI01"), getStringValue((j(w, x, F, 536870912) + "_SI01"))), StringEntry((E + "_SI02"), getStringValue((j(w, x, F, 1073741824) + "_SI02"))), StringEntry((E + "_SI03"), getStringValue((j(w, x, F, 2147483648) + "_SI03"))), StringEntry((E + "_SI04"), getStringValue((j(w, x, F, 4294967296) + "_SI04"))), StringEntry((E + "_SI05"), getStringValue((j(w, x, F, 8589934592) + "_SI05"))), StringEntry((E + "_SI06"), getStringValue((j(w, x, G, 1) + "_SI06"))), StringEntry((E + "_SI07"), getStringValue((j(w, x, G, 2) + "_SI07"))), StringEntry((E + "_SI10"), getStringValue((j(w, x, G, 4) + "_SI10"))), StringEntry((E + "_SI11"), getStringValue((j(w, x, G, 8) + "_SI11"))), StringEntry((E + "_SI12"), getStringValue((j(w, x, G, 16) + "_SI12"))), StringEntry((E + "_SI13"), getStringValue((j(w, x, G, 32) + "_SI13"))), StringEntry((E + "_SI14"), getStringValue((j(w, x, G, 64) + "_SI14"))), StringEntry((E + "_SI15"), getStringValue((j(w, x, G, 128) + "_SI15"))), StringEntry((E + "_SI16"), getStringValue((j(w, x, G, 256) + "_SI16"))), StringEntry((E + "_SI17"), getStringValue((j(w, x, G, 512) + "_SI17"))), StringEntry((E + "_SI20"), getStringValue((j(w, x, G, 1024) + "_SI20"))), StringEntry((E + "_SI21"), getStringValue((j(w, x, G, 2048) + "_SI21"))), StringEntry((E + "_SI22"), getStringValue((j(w, x, G, 4096) + "_SI22"))), StringEntry((E + "_SI23"), getStringValue((j(w, x, G, 8192) + "_SI23"))), StringEntry((E + "_SI24"), getStringValue((j(w, x, G, 16384) + "_SI24"))), StringEntry((E + "_SI25"), getStringValue((j(w, x, G, 32768) + "_SI25"))), StringEntry((E + "_SI26"), getStringValue((j(w, x, G, 65536) + "_SI26"))), StringEntry((E + "_SI27"), getStringValue((j(w, x, G, 131072) + "_SI27"))), StringEntry((E + "_SI30"), getStringValue((j(w, x, G, 262144) + "_SI30"))), StringEntry((E + "_SI31"), getStringValue((j(w, x, G, 524288) + "_SI31"))), StringEntry((E + "_SI32"), getStringValue((j(w, x, G, 1048576) + "_SI32"))), StringEntry((E + "_SI33"), getStringValue((j(w, x, G, 2097152) + "_SI33"))), StringEntry((E + "_SI34"), getStringValue((j(w, x, G, 4194304) + "_SI34"))), StringEntry((E + "_SI35"), getStringValue((j(w, x, G, 8388608) + "_SI35"))), StringEntry((E + "_SI36"), getStringValue((j(w, x, G, 16777216) + "_SI36"))), StringEntry((E + "_SI37"), getStringValue((j(w, x, G, 33554432) + "_SI37"))), StringEntry((E + "_SI40"), getStringValue((j(w, x, G, 67108864) + "_SI40"))), StringEntry((E + "_SI41"), getStringValue((j(w, x, G, 134217728) + "_SI41"))), StringEntry((E + "_SI42"), getStringValue((j(w, x, G, 268435456) + "_SI42"))), StringEntry((E + "_SI43"), getStringValue((j(w, x, G, 536870912) + "_SI43"))), StringEntry((E + "_SI44"), getStringValue((j(w, x, G, 1073741824) + "_SI44"))), StringEntry((E + "_SI45"), getStringValue((j(w, x, G, 2147483648) + "_SI45"))), StringEntry((E + "_SI46"), getStringValue((j(w, x, G, 4294967296) + "_SI46"))), StringEntry((E + "_SI47"), getStringValue((j(w, x, G, 8589934592) + "_SI47"))), ScriptTransfer(Address(f.caller.bytes), 1, D)]
78+ let H = fromBase58String(y)
79+ let I = g(h)
80+ let l = i(j)
81+ let J = k(l, 0)
82+ let K = k(l, 1)
83+[IntegerEntry("count", (h + 1)), StringEntry(y, I), StringEntry(I, y), IntegerEntry((I + "_G"), (max([getIntegerValue((A + "_G")), getIntegerValue((B + "_G"))]) + 1)), StringEntry((I + "_SL"), ""), IntegerEntry((I + "_SN"), J), StringEntry((I + "_SP0"), A), StringEntry((I + "_SP1"), B), IntegerEntry((I + "_SB0"), getIntegerValue((n(A, B, J, 1) + "_SB0"))), IntegerEntry((I + "_SB1"), getIntegerValue((n(A, B, J, 2) + "_SB1"))), IntegerEntry((I + "_SB2"), getIntegerValue((n(A, B, J, 4) + "_SB2"))), IntegerEntry((I + "_ST"), getIntegerValue((n(A, B, J, 8) + "_ST"))), StringEntry((I + "_SC0"), getStringValue((n(A, B, J, 16) + "_SC0"))), StringEntry((I + "_SC1"), getStringValue((n(A, B, J, 32) + "_SC1"))), StringEntry((I + "_SC2"), getStringValue((n(A, B, J, 64) + "_SC2"))), StringEntry((I + "_SC3"), getStringValue((n(A, B, J, 128) + "_SC3"))), StringEntry((I + "_SC4"), getStringValue((n(A, B, J, 512) + "_SC4"))), StringEntry((I + "_SC5"), getStringValue((n(A, B, J, 1024) + "_SC5"))), StringEntry((I + "_SC6"), getStringValue((n(A, B, J, 2048) + "_SC6"))), StringEntry((I + "_SC7"), getStringValue((n(A, B, J, 4096) + "_SC7"))), StringEntry((I + "_SA"), getStringValue((n(A, B, J, 8192) + "_SA"))), StringEntry((I + "_SI0"), getStringValue((n(A, B, J, 16384) + "_SI0"))), StringEntry((I + "_SI1"), getStringValue((n(A, B, J, 32768) + "_SI1"))), StringEntry((I + "_SI2"), getStringValue((n(A, B, J, 65536) + "_SI2"))), StringEntry((I + "_SI3"), getStringValue((n(A, B, J, 131072) + "_SI3"))), StringEntry((I + "_SI4"), getStringValue((n(A, B, J, 262144) + "_SI4"))), StringEntry((I + "_SI5"), getStringValue((n(A, B, J, 524288) + "_SI5"))), StringEntry((I + "_SI50"), getStringValue((n(A, B, J, 1048576) + "_SI50"))), StringEntry((I + "_SI51"), getStringValue((n(A, B, J, 2097152) + "_SI51"))), StringEntry((I + "_SI52"), getStringValue((n(A, B, J, 4194304) + "_SI52"))), StringEntry((I + "_SI53"), getStringValue((n(A, B, J, 8388608) + "_SI53"))), StringEntry((I + "_SI54"), getStringValue((n(A, B, J, 16777216) + "_SI54"))), StringEntry((I + "_SI55"), getStringValue((n(A, B, J, 33554432) + "_SI55"))), StringEntry((I + "_SI56"), getStringValue((n(A, B, J, 67108864) + "_SI56"))), StringEntry((I + "_SI57"), getStringValue((n(A, B, J, 134217728) + "_SI57"))), StringEntry((I + "_SI00"), getStringValue((n(A, B, J, 268435456) + "_SI00"))), StringEntry((I + "_SI01"), getStringValue((n(A, B, J, 536870912) + "_SI01"))), StringEntry((I + "_SI02"), getStringValue((n(A, B, J, 1073741824) + "_SI02"))), StringEntry((I + "_SI03"), getStringValue((n(A, B, J, 2147483648) + "_SI03"))), StringEntry((I + "_SI04"), getStringValue((n(A, B, J, 4294967296) + "_SI04"))), StringEntry((I + "_SI05"), getStringValue((n(A, B, J, 8589934592) + "_SI05"))), StringEntry((I + "_SI06"), getStringValue((n(A, B, K, 1) + "_SI06"))), StringEntry((I + "_SI07"), getStringValue((n(A, B, K, 2) + "_SI07"))), StringEntry((I + "_SI10"), getStringValue((n(A, B, K, 4) + "_SI10"))), StringEntry((I + "_SI11"), getStringValue((n(A, B, K, 8) + "_SI11"))), StringEntry((I + "_SI12"), getStringValue((n(A, B, K, 16) + "_SI12"))), StringEntry((I + "_SI13"), getStringValue((n(A, B, K, 32) + "_SI13"))), StringEntry((I + "_SI14"), getStringValue((n(A, B, K, 64) + "_SI14"))), StringEntry((I + "_SI15"), getStringValue((n(A, B, K, 128) + "_SI15"))), StringEntry((I + "_SI16"), getStringValue((n(A, B, K, 256) + "_SI16"))), StringEntry((I + "_SI17"), getStringValue((n(A, B, K, 512) + "_SI17"))), StringEntry((I + "_SI20"), getStringValue((n(A, B, K, 1024) + "_SI20"))), StringEntry((I + "_SI21"), getStringValue((n(A, B, K, 2048) + "_SI21"))), StringEntry((I + "_SI22"), getStringValue((n(A, B, K, 4096) + "_SI22"))), StringEntry((I + "_SI23"), getStringValue((n(A, B, K, 8192) + "_SI23"))), StringEntry((I + "_SI24"), getStringValue((n(A, B, K, 16384) + "_SI24"))), StringEntry((I + "_SI25"), getStringValue((n(A, B, K, 32768) + "_SI25"))), StringEntry((I + "_SI26"), getStringValue((n(A, B, K, 65536) + "_SI26"))), StringEntry((I + "_SI27"), getStringValue((n(A, B, K, 131072) + "_SI27"))), StringEntry((I + "_SI30"), getStringValue((n(A, B, K, 262144) + "_SI30"))), StringEntry((I + "_SI31"), getStringValue((n(A, B, K, 524288) + "_SI31"))), StringEntry((I + "_SI32"), getStringValue((n(A, B, K, 1048576) + "_SI32"))), StringEntry((I + "_SI33"), getStringValue((n(A, B, K, 2097152) + "_SI33"))), StringEntry((I + "_SI34"), getStringValue((n(A, B, K, 4194304) + "_SI34"))), StringEntry((I + "_SI35"), getStringValue((n(A, B, K, 8388608) + "_SI35"))), StringEntry((I + "_SI36"), getStringValue((n(A, B, K, 16777216) + "_SI36"))), StringEntry((I + "_SI37"), getStringValue((n(A, B, K, 33554432) + "_SI37"))), StringEntry((I + "_SI40"), getStringValue((n(A, B, K, 67108864) + "_SI40"))), StringEntry((I + "_SI41"), getStringValue((n(A, B, K, 134217728) + "_SI41"))), StringEntry((I + "_SI42"), getStringValue((n(A, B, K, 268435456) + "_SI42"))), StringEntry((I + "_SI43"), getStringValue((n(A, B, K, 536870912) + "_SI43"))), StringEntry((I + "_SI44"), getStringValue((n(A, B, K, 1073741824) + "_SI44"))), StringEntry((I + "_SI45"), getStringValue((n(A, B, K, 2147483648) + "_SI45"))), StringEntry((I + "_SI46"), getStringValue((n(A, B, K, 4294967296) + "_SI46"))), StringEntry((I + "_SI47"), getStringValue((n(A, B, K, 8589934592) + "_SI47"))), ScriptTransfer(Address(j.caller.bytes), 1, H)]
7684 }
7785 else throw("Strict value is not equal to itself.")
7886 }
7987
8088
81-func H (I) = if ((this == I))
89+func L (M) = if ((this == M))
8290 then true
8391 else {
84- let t = getBoolean(("W_" + toBase58String(I.bytes)))
85- if ($isInstanceOf(t, "Boolean"))
92+ let x = getBoolean(("W_" + toBase58String(M.bytes)))
93+ if ($isInstanceOf(x, "Boolean"))
8694 then {
87- let C = t
88- C
95+ let G = x
96+ G
8997 }
9098 else false
9199 }
92100
93101
94-@Callable(f)
95-func whitelist_add (J) = if ((this != f.caller))
102+@Callable(j)
103+func whitelist_add (N) = if ((this != j.caller))
96104 then throw("Caller is not dApp owner")
97- else $Tuple2([BooleanEntry(("W_" + J), true)], unit)
105+ else $Tuple2([BooleanEntry(("W_" + N), true)], unit)
98106
99107
100108
101-@Callable(f)
102-func whitelist_remove (J) = if ((this != f.caller))
109+@Callable(j)
110+func whitelist_remove (N) = if ((this != j.caller))
103111 then throw("Caller is not dApp owner")
104- else $Tuple2([DeleteEntry(("W_" + J))], unit)
112+ else $Tuple2([DeleteEntry(("W_" + N))], unit)
105113
106114
107115
108-@Callable(f)
109-func set_market_image (K) = if (!(H(f.caller)))
116+@Callable(j)
117+func set_market_image (O) = if (!(L(j.caller)))
110118 then throw("Caller not in whitelist")
111- else $Tuple2([StringEntry("market_image_link", K)], unit)
119+ else $Tuple2([StringEntry("market_image_link", O)], unit)
112120
113121
114122
115-@Callable(f)
116-func set_price_hybrid (p,q,L) = if (!(H(f.caller)))
123+@Callable(j)
124+func set_price_hybrid (t,u,P) = if (!(L(j.caller)))
117125 then throw("Caller not in whitelist")
118- else $Tuple2([StringEntry("price_hybrid_token", p), IntegerEntry("price_hybrid_amount", q), IntegerEntry("price_hybrid_increment", L)], unit)
126+ else $Tuple2([StringEntry("price_hybrid_token", t), IntegerEntry("price_hybrid_amount", u), IntegerEntry("price_hybrid_increment", P)], unit)
119127
120128
121129
122-@Callable(f)
123-func mint_chord (M,N,O) = if (!(H(f.caller)))
130+@Callable(j)
131+func mint_chord (Q,R,S) = if (!(L(j.caller)))
124132 then throw("Caller not in whitelist")
125- else if ((size(O) != 5))
133+ else if ((size(S) != 5))
126134 then throw("Wrong notes size")
127135 else {
128- let d = {
129- let t = getInteger("count")
130- if ($isInstanceOf(t, "Int"))
136+ let h = {
137+ let x = getInteger("count")
138+ if ($isInstanceOf(x, "Int"))
131139 then {
132- let y = t
133- y
140+ let C = x
141+ C
134142 }
135143 else 0
136144 }
137- let E = c(M)
138- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_CL"), N), IntegerEntry((E + "_C0"), O[0]), IntegerEntry((E + "_C1"), O[1]), IntegerEntry((E + "_C2"), O[2]), IntegerEntry((E + "_C3"), O[3]), IntegerEntry((E + "_C4"), O[4])], unit)
145+ let I = g(Q)
146+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_CL"), R), IntegerEntry((I + "_C0"), S[0]), IntegerEntry((I + "_C1"), S[1]), IntegerEntry((I + "_C2"), S[2]), IntegerEntry((I + "_C3"), S[3]), IntegerEntry((I + "_C4"), S[4])], unit)
139147 }
140148
141149
142150
143-@Callable(f)
144-func mint_arpeggio (M,N,O) = if (!(H(f.caller)))
151+@Callable(j)
152+func mint_arpeggio (Q,R,S) = if (!(L(j.caller)))
145153 then throw("Caller not in whitelist")
146- else if ((size(O) != 16))
154+ else if ((size(S) != 16))
147155 then throw("Wrong notes size")
148156 else {
149- let d = {
150- let t = getInteger("count")
151- if ($isInstanceOf(t, "Int"))
157+ let h = {
158+ let x = getInteger("count")
159+ if ($isInstanceOf(x, "Int"))
152160 then {
153- let y = t
154- y
161+ let C = x
162+ C
155163 }
156164 else 0
157165 }
158- let E = c(M)
159- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_AL"), N), IntegerEntry((E + "_A00"), O[0]), IntegerEntry((E + "_A01"), O[1]), IntegerEntry((E + "_A02"), O[2]), IntegerEntry((E + "_A03"), O[3]), IntegerEntry((E + "_A04"), O[4]), IntegerEntry((E + "_A05"), O[5]), IntegerEntry((E + "_A06"), O[6]), IntegerEntry((E + "_A07"), O[7]), IntegerEntry((E + "_A08"), O[8]), IntegerEntry((E + "_A09"), O[9]), IntegerEntry((E + "_A10"), O[10]), IntegerEntry((E + "_A11"), O[11]), IntegerEntry((E + "_A12"), O[12]), IntegerEntry((E + "_A13"), O[13]), IntegerEntry((E + "_A14"), O[14]), IntegerEntry((E + "_A15"), O[15])], unit)
166+ let I = g(Q)
167+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_AL"), R), IntegerEntry((I + "_A00"), S[0]), IntegerEntry((I + "_A01"), S[1]), IntegerEntry((I + "_A02"), S[2]), IntegerEntry((I + "_A03"), S[3]), IntegerEntry((I + "_A04"), S[4]), IntegerEntry((I + "_A05"), S[5]), IntegerEntry((I + "_A06"), S[6]), IntegerEntry((I + "_A07"), S[7]), IntegerEntry((I + "_A08"), S[8]), IntegerEntry((I + "_A09"), S[9]), IntegerEntry((I + "_A10"), S[10]), IntegerEntry((I + "_A11"), S[11]), IntegerEntry((I + "_A12"), S[12]), IntegerEntry((I + "_A13"), S[13]), IntegerEntry((I + "_A14"), S[14]), IntegerEntry((I + "_A15"), S[15])], unit)
160168 }
161169
162170
163171
164-@Callable(f)
165-func mint_rhythm (M,N,P,O) = if (!(H(f.caller)))
172+@Callable(j)
173+func mint_rhythm (Q,R,T,S) = if (!(L(j.caller)))
166174 then throw("Caller not in whitelist")
167- else if ((size(O) != 16))
175+ else if ((size(S) != 16))
168176 then throw("Wrong notes size")
169177 else {
170- let d = {
171- let t = getInteger("count")
172- if ($isInstanceOf(t, "Int"))
178+ let h = {
179+ let x = getInteger("count")
180+ if ($isInstanceOf(x, "Int"))
173181 then {
174- let y = t
175- y
182+ let C = x
183+ C
176184 }
177185 else 0
178186 }
179- let E = c(M)
180- $Tuple2([IntegerEntry("count", max([(M + 1), d])), StringEntry((E + "_RL"), N), IntegerEntry((E + "_RS"), P), IntegerEntry((E + "_R00"), O[0]), IntegerEntry((E + "_R01"), O[1]), IntegerEntry((E + "_R02"), O[2]), IntegerEntry((E + "_R03"), O[3]), IntegerEntry((E + "_R04"), O[4]), IntegerEntry((E + "_R05"), O[5]), IntegerEntry((E + "_R06"), O[6]), IntegerEntry((E + "_R07"), O[7]), IntegerEntry((E + "_R08"), O[8]), IntegerEntry((E + "_R09"), O[9]), IntegerEntry((E + "_R10"), O[10]), IntegerEntry((E + "_R11"), O[11]), IntegerEntry((E + "_R12"), O[12]), IntegerEntry((E + "_R13"), O[13]), IntegerEntry((E + "_R14"), O[14]), IntegerEntry((E + "_R15"), O[15])], unit)
187+ let I = g(Q)
188+ $Tuple2([IntegerEntry("count", max([(Q + 1), h])), StringEntry((I + "_RL"), R), IntegerEntry((I + "_RS"), T), IntegerEntry((I + "_R00"), S[0]), IntegerEntry((I + "_R01"), S[1]), IntegerEntry((I + "_R02"), S[2]), IntegerEntry((I + "_R03"), S[3]), IntegerEntry((I + "_R04"), S[4]), IntegerEntry((I + "_R05"), S[5]), IntegerEntry((I + "_R06"), S[6]), IntegerEntry((I + "_R07"), S[7]), IntegerEntry((I + "_R08"), S[8]), IntegerEntry((I + "_R09"), S[9]), IntegerEntry((I + "_R10"), S[10]), IntegerEntry((I + "_R11"), S[11]), IntegerEntry((I + "_R12"), S[12]), IntegerEntry((I + "_R13"), S[13]), IntegerEntry((I + "_R14"), S[14]), IntegerEntry((I + "_R15"), S[15])], unit)
181189 }
182190
183191
184192
185-@Callable(f)
186-func mint_song (N,Q,R,S,T,U,V,W,X,Y,Z,aa,ab,ac,ad,ae,af,ag,ah,ai,aj) = if (!(H(f.caller)))
193+@Callable(j)
194+func burn_internal (U) = if (!(L(j.caller)))
187195 then throw("Caller not in whitelist")
188- else if ((size(W) != 8))
196+ else {
197+ let V = invoke(a, "burnNFT", nil, [AttachedPayment(fromBase58String(U), 1)])
198+ if ((V == V))
199+ then $Tuple2(nil, unit)
200+ else throw("Strict value is not equal to itself.")
201+ }
202+
203+
204+
205+@Callable(j)
206+func burn () = if (!(L(j.caller)))
207+ then throw("Caller not in whitelist")
208+ else {
209+ let V = invoke(a, "burnNFT", nil, [j.payments[0]])
210+ if ((V == V))
211+ then $Tuple2(nil, unit)
212+ else throw("Strict value is not equal to itself.")
213+ }
214+
215+
216+
217+@Callable(j)
218+func mint_song (R,W,X,Y,Z,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap) = if (!(L(j.caller)))
219+ then throw("Caller not in whitelist")
220+ else if ((size(ac) != 8))
189221 then throw("Wrong chords size")
190- else if ((size(ae) != 8))
222+ else if ((size(ak) != 8))
191223 then throw("Wrong kick rhythms size")
192- else if ((size(af) != 8))
224+ else if ((size(al) != 8))
193225 then throw("Wrong snare rhythms size")
194- else if ((size(ag) != 8))
226+ else if ((size(am) != 8))
195227 then throw("Wrong hihat rhythms size")
196- else if ((size(ah) != 8))
228+ else if ((size(an) != 8))
197229 then throw("Wrong bass rhythms size")
198- else if ((size(ai) != 8))
230+ else if ((size(ao) != 8))
199231 then throw("Wrong back rhythms size")
200- else if ((size(aj) != 8))
232+ else if ((size(ap) != 8))
201233 then throw("Wrong lead rhythms size")
202234 else {
203- let d = {
204- let t = getInteger("count")
205- if ($isInstanceOf(t, "Int"))
235+ let h = {
236+ let x = getInteger("count")
237+ if ($isInstanceOf(x, "Int"))
206238 then {
207- let y = t
208- y
239+ let C = x
240+ C
209241 }
210242 else 0
211243 }
212- let z = take(N, 16)
213- let A = "Clef song"
214- let B = ""
215- let u = {
216- let t = invoke(a, "createNFT", [z, A, getStringValue("market_image_link"), B], nil)
217- if ($isInstanceOf(t, "String"))
244+ let D = take(R, 16)
245+ let E = d
246+ let F = c
247+ let y = {
248+ let x = invoke(a, "createNFT", [D, E, getStringValue("market_image_link"), F], nil)
249+ if ($isInstanceOf(x, "String"))
218250 then {
219- let C = t
220- C
251+ let G = x
252+ G
221253 }
222254 else throw("NFT creation failed")
223255 }
224- if ((u == u))
256+ if ((y == y))
225257 then {
226- let E = c(d)
227- let ak = if ((this != f.caller))
228- then [ScriptTransfer(Address(f.caller.bytes), 1, fromBase58String(u))]
258+ let I = g(h)
259+ let aq = if ((this != j.caller))
260+ then [ScriptTransfer(Address(j.caller.bytes), 1, fromBase58String(y))]
229261 else nil
230- $Tuple2(([IntegerEntry("count", (d + 1)), StringEntry(u, E), StringEntry(E, u), IntegerEntry((E + "_G"), 1), StringEntry((E + "_SL"), N), IntegerEntry((E + "_SN"), 0), StringEntry((E + "_SP0"), Q), StringEntry((E + "_SP1"), R), IntegerEntry((E + "_SB0"), S), IntegerEntry((E + "_SB1"), T), IntegerEntry((E + "_SB2"), U), IntegerEntry((E + "_ST"), V), StringEntry((E + "_SC0"), W[0]), StringEntry((E + "_SC1"), W[1]), StringEntry((E + "_SC2"), W[2]), StringEntry((E + "_SC3"), W[3]), StringEntry((E + "_SC4"), W[4]), StringEntry((E + "_SC5"), W[5]), StringEntry((E + "_SC6"), W[6]), StringEntry((E + "_SC7"), W[7]), StringEntry((E + "_SA"), X), StringEntry((E + "_SI0"), Y), StringEntry((E + "_SI1"), Z), StringEntry((E + "_SI2"), aa), StringEntry((E + "_SI3"), ab), StringEntry((E + "_SI4"), ac), StringEntry((E + "_SI5"), ad), StringEntry((E + "_SI00"), ae[0]), StringEntry((E + "_SI01"), ae[1]), StringEntry((E + "_SI02"), ae[2]), StringEntry((E + "_SI03"), ae[3]), StringEntry((E + "_SI04"), ae[4]), StringEntry((E + "_SI05"), ae[5]), StringEntry((E + "_SI06"), ae[6]), StringEntry((E + "_SI07"), ae[7]), StringEntry((E + "_SI10"), af[0]), StringEntry((E + "_SI11"), af[1]), StringEntry((E + "_SI12"), af[2]), StringEntry((E + "_SI13"), af[3]), StringEntry((E + "_SI14"), af[4]), StringEntry((E + "_SI15"), af[5]), StringEntry((E + "_SI16"), af[6]), StringEntry((E + "_SI17"), af[7]), StringEntry((E + "_SI20"), ag[0]), StringEntry((E + "_SI21"), ag[1]), StringEntry((E + "_SI22"), ag[2]), StringEntry((E + "_SI23"), ag[3]), StringEntry((E + "_SI24"), ag[4]), StringEntry((E + "_SI25"), ag[5]), StringEntry((E + "_SI26"), ag[6]), StringEntry((E + "_SI27"), ag[7]), StringEntry((E + "_SI30"), ah[0]), StringEntry((E + "_SI31"), ah[1]), StringEntry((E + "_SI32"), ah[2]), StringEntry((E + "_SI33"), ah[3]), StringEntry((E + "_SI34"), ah[4]), StringEntry((E + "_SI35"), ah[5]), StringEntry((E + "_SI36"), ah[6]), StringEntry((E + "_SI37"), ah[7]), StringEntry((E + "_SI40"), ai[0]), StringEntry((E + "_SI41"), ai[1]), StringEntry((E + "_SI42"), ai[2]), StringEntry((E + "_SI43"), ai[3]), StringEntry((E + "_SI44"), ai[4]), StringEntry((E + "_SI45"), ai[5]), StringEntry((E + "_SI46"), ai[6]), StringEntry((E + "_SI47"), ai[7]), StringEntry((E + "_SI50"), aj[0]), StringEntry((E + "_SI51"), aj[1]), StringEntry((E + "_SI52"), aj[2]), StringEntry((E + "_SI53"), aj[3]), StringEntry((E + "_SI54"), aj[4]), StringEntry((E + "_SI55"), aj[5]), StringEntry((E + "_SI56"), aj[6]), StringEntry((E + "_SI57"), aj[7])] ++ ak), unit)
262+ $Tuple2(([IntegerEntry("count", (h + 1)), StringEntry(y, I), StringEntry(I, y), IntegerEntry((I + "_G"), 1), StringEntry((I + "_SL"), R), IntegerEntry((I + "_SN"), 0), StringEntry((I + "_SP0"), W), StringEntry((I + "_SP1"), X), IntegerEntry((I + "_SB0"), Y), IntegerEntry((I + "_SB1"), Z), IntegerEntry((I + "_SB2"), aa), IntegerEntry((I + "_ST"), ab), StringEntry((I + "_SC0"), ac[0]), StringEntry((I + "_SC1"), ac[1]), StringEntry((I + "_SC2"), ac[2]), StringEntry((I + "_SC3"), ac[3]), StringEntry((I + "_SC4"), ac[4]), StringEntry((I + "_SC5"), ac[5]), StringEntry((I + "_SC6"), ac[6]), StringEntry((I + "_SC7"), ac[7]), StringEntry((I + "_SA"), ad), StringEntry((I + "_SI0"), ae), StringEntry((I + "_SI1"), af), StringEntry((I + "_SI2"), ag), StringEntry((I + "_SI3"), ah), StringEntry((I + "_SI4"), ai), StringEntry((I + "_SI5"), aj), StringEntry((I + "_SI00"), ak[0]), StringEntry((I + "_SI01"), ak[1]), StringEntry((I + "_SI02"), ak[2]), StringEntry((I + "_SI03"), ak[3]), StringEntry((I + "_SI04"), ak[4]), StringEntry((I + "_SI05"), ak[5]), StringEntry((I + "_SI06"), ak[6]), StringEntry((I + "_SI07"), ak[7]), StringEntry((I + "_SI10"), al[0]), StringEntry((I + "_SI11"), al[1]), StringEntry((I + "_SI12"), al[2]), StringEntry((I + "_SI13"), al[3]), StringEntry((I + "_SI14"), al[4]), StringEntry((I + "_SI15"), al[5]), StringEntry((I + "_SI16"), al[6]), StringEntry((I + "_SI17"), al[7]), StringEntry((I + "_SI20"), am[0]), StringEntry((I + "_SI21"), am[1]), StringEntry((I + "_SI22"), am[2]), StringEntry((I + "_SI23"), am[3]), StringEntry((I + "_SI24"), am[4]), StringEntry((I + "_SI25"), am[5]), StringEntry((I + "_SI26"), am[6]), StringEntry((I + "_SI27"), am[7]), StringEntry((I + "_SI30"), an[0]), StringEntry((I + "_SI31"), an[1]), StringEntry((I + "_SI32"), an[2]), StringEntry((I + "_SI33"), an[3]), StringEntry((I + "_SI34"), an[4]), StringEntry((I + "_SI35"), an[5]), StringEntry((I + "_SI36"), an[6]), StringEntry((I + "_SI37"), an[7]), StringEntry((I + "_SI40"), ao[0]), StringEntry((I + "_SI41"), ao[1]), StringEntry((I + "_SI42"), ao[2]), StringEntry((I + "_SI43"), ao[3]), StringEntry((I + "_SI44"), ao[4]), StringEntry((I + "_SI45"), ao[5]), StringEntry((I + "_SI46"), ao[6]), StringEntry((I + "_SI47"), ao[7]), StringEntry((I + "_SI50"), ap[0]), StringEntry((I + "_SI51"), ap[1]), StringEntry((I + "_SI52"), ap[2]), StringEntry((I + "_SI53"), ap[3]), StringEntry((I + "_SI54"), ap[4]), StringEntry((I + "_SI55"), ap[5]), StringEntry((I + "_SI56"), ap[6]), StringEntry((I + "_SI57"), ap[7])] ++ aq), unit)
231263 }
232264 else throw("Strict value is not equal to itself.")
233265 }
234266
235267
236268
237-@Callable(f)
238-func mint_hybrid (w,x) = {
239- let al = Address(f.caller.bytes)
240- let am = fromBase58String(getStringValue(w))
241- let an = fromBase58String(getStringValue(x))
242- let ao = getIntegerValue("price_hybrid_amount")
243- let ap = getStringValue("price_hybrid_token")
244- let aq = o(f, ap, ao)
245- if ((0 > aq))
269+@Callable(j)
270+func mint_hybrid (A,B) = {
271+ let ar = Address(j.caller.bytes)
272+ let as = fromBase58String(getStringValue(A))
273+ let at = fromBase58String(getStringValue(B))
274+ let au = getIntegerValue("price_hybrid_amount")
275+ let av = getStringValue("price_hybrid_token")
276+ let aw = s(j, av, au)
277+ if ((0 > aw))
246278 then throw("Wrong payment")
247- else if ((am == an))
279+ else if ((as == at))
248280 then throw("Songs should be different")
249- else if ((1 > assetBalance(al, am)))
281+ else if ((1 > assetBalance(ar, as)))
250282 then throw("Caller do not own first song")
251- else if ((1 > assetBalance(al, an)))
283+ else if ((1 > assetBalance(ar, at)))
252284 then throw("Caller do not own second song")
253285 else {
254- let ar = {
255- let t = getInteger("mint_count")
256- if ($isInstanceOf(t, "Int"))
286+ let ax = {
287+ let x = getInteger("mint_count")
288+ if ($isInstanceOf(x, "Int"))
257289 then {
258- let y = t
259- y
290+ let C = x
291+ C
260292 }
261293 else 0
262294 }
263- let as = IntegerEntry("mint_count", (ar + 1))
264- let at = if (((ar % b) == (b - 1)))
265- then [as, IntegerEntry("price_hybrid_amount", (ao + getIntegerValue("price_hybrid_increment")))]
266- else [as]
267- if ((aq > 0))
268- then $Tuple2(((v(f, w, x) ++ at) ++ [ScriptTransfer(Address(f.caller.bytes), aq, if ((ap == ""))
295+ let ay = IntegerEntry("mint_count", (ax + 1))
296+ let az = if (((ax % b) == (b - 1)))
297+ then [ay, IntegerEntry("price_hybrid_amount", (au + getIntegerValue("price_hybrid_increment")))]
298+ else [ay]
299+ if ((aw > 0))
300+ then $Tuple2(((z(j, A, B) ++ az) ++ [ScriptTransfer(Address(j.caller.bytes), aw, if ((av == ""))
269301 then unit
270- else fromBase58String(ap))]), unit)
271- else $Tuple2((v(f, w, x) ++ at), unit)
302+ else fromBase58String(av))]), unit)
303+ else $Tuple2((z(j, A, B) ++ az), unit)
272304 }
273305 }
274306
275307
276308
277-@Callable(f)
278-func mint_hybrid_and_burn () = if (if (if ((size(f.payments) != 2))
309+@Callable(j)
310+func mint_hybrid_and_burn () = if (if (if ((size(j.payments) != 2))
279311 then true
280- else (f.payments[0].amount != 1))
312+ else (j.payments[0].amount != 1))
281313 then true
282- else (f.payments[1].amount != 1))
314+ else (j.payments[1].amount != 1))
283315 then throw("Wrong payment")
284316 else {
285- let am = {
286- let t = f.payments[0].assetId
287- if ($isInstanceOf(t, "ByteVector"))
317+ let as = {
318+ let x = j.payments[0].assetId
319+ if ($isInstanceOf(x, "ByteVector"))
288320 then {
289- let au = t
290- au
321+ let aA = x
322+ aA
291323 }
292324 else throw("Wrong payment")
293325 }
294- let an = {
295- let t = f.payments[1].assetId
296- if ($isInstanceOf(t, "ByteVector"))
326+ let at = {
327+ let x = j.payments[1].assetId
328+ if ($isInstanceOf(x, "ByteVector"))
297329 then {
298- let au = t
299- au
330+ let aA = x
331+ aA
300332 }
301333 else throw("Wrong payment")
302334 }
303- if ((am == an))
335+ if ((as == at))
304336 then throw("Songs should be different")
305337 else {
306- let w = getStringValue(toBase58String(am))
307- let x = getStringValue(toBase58String(an))
308- let av = invoke(a, "burnNFT", nil, [f.payments[0]])
309- if ((av == av))
338+ let A = getStringValue(toBase58String(as))
339+ let B = getStringValue(toBase58String(at))
340+ let V = invoke(a, "burnNFT", nil, [j.payments[0]])
341+ if ((V == V))
310342 then {
311- let aw = invoke(a, "burnNFT", nil, [f.payments[1]])
312- if ((aw == aw))
313- then $Tuple2(v(f, w, x), unit)
343+ let aB = invoke(a, "burnNFT", nil, [j.payments[1]])
344+ if ((aB == aB))
345+ then $Tuple2(z(j, A, B), unit)
314346 else throw("Strict value is not equal to itself.")
315347 }
316348 else throw("Strict value is not equal to itself.")
317349 }
318350 }
319351
320352

github/deemru/w8io/169f3d6 
876.51 ms