tx · FkuouCruxf26S6783WN9HtAwaEcUXm26w4tpTzigbPrD 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh: -0.02800000 Waves 2024.11.28 21:26 [3391644] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves
{ "type": 13, "id": "FkuouCruxf26S6783WN9HtAwaEcUXm26w4tpTzigbPrD", "fee": 2800000, "feeAssetId": null, "timestamp": 1732818376730, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "imauMqPzTWKcG6ME6FtvjAVkdHTuof8yjGnJ47QuD66PH3J8K2sRSpVjER5aSr3nSax8eFd6Z2Tq3S6oTHKn6HE" ], "script": "base64:BgJPCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIECgIIARIFCgMIAQESABIDCgEIEgASAGEAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAKREFZX01JTExJUwCAuJkpABVVU0RUMkFDUkVTX01VTFRJUExJRVIACgATT05FX1BFUkNFTlRfRElWSVNPUgBkAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQALV0VFS19CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAA4E4DCQAAAgEBVAUHJG1hdGNoMAC0AQkAAgECDVVua25vd24gY2hhaW4AC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFmRlZmF1bHR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I0NjUyAl8xBApuZnRBc3NldElkCAUNJHQwMjQ1ODAyNDY1MgJfMgQGYnVybmVkCQCQAwEFC2J1cm5BY3Rpb25zBBJidXJuQ291bnRlckFjdGlvbnMDCQAAAgUGYnVybmVkAAAFA25pbAkAzAgCCQEMSW50ZWdlckVudHJ5AgURa2V5TmZ0VG90YWxCdXJuZWQJAGQCCQELdmFsdWVPckVsc2UCCQCfCAEFEWtleU5mdFRvdGFsQnVybmVkAAAFBmJ1cm5lZAUDbmlsCQCUCgIJAM4IAgkAzggCCQDOCAIJAM4IAgUPaXNzdWVOZnRBY3Rpb25zBQtidXJuQWN0aW9ucwUSYnVybkNvdW50ZXJBY3Rpb25zBQ1wcm9sb2dBY3Rpb25zBQ1jaGFuZ2VBY3Rpb25zBQpuZnRBc3NldElkAWkBDG9wZW5OZnRDaGVzdAADCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAhFQZXJtaXNzaW9uIGRlbmllZAkAlAoCBQNuaWwAAADZx2S5", "height": 3391644, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DhrsDEdURfpBtFMsR4xdekhPVbQWSDftaEeZzrEYwVbC Next: CMpXSrPGqpkQoKJdzK7MYiNCSt36qmxUuv5ZZ1SRskHE Diff:
Old | New | Differences | |
---|---|---|---|
864 | 864 | ||
865 | 865 | ||
866 | 866 | @Callable(bf) | |
867 | - | func exchangeNFTs () = { | |
868 | - | let cD = be(bf) | |
869 | - | if ((3 > size(bf.payments))) | |
870 | - | then throw("Min one USDT and 2 NFT payments allowed") | |
871 | - | else if ((size(bf.payments) > 6)) | |
872 | - | then throw("Max one USDT and 5 NFT payments allowed") | |
873 | - | else { | |
874 | - | let I = toString(bf.caller) | |
875 | - | func dD (aI,cG) = { | |
876 | - | let S = valueOrErrorMessage(cG.assetId, "WAVES payments not allowed") | |
877 | - | if ((S == k)) | |
878 | - | then $Tuple3((aI._1 + cG.amount), aI._2, aI._3) | |
867 | + | func exchangeNFTs () = if ((bf.caller != this)) | |
868 | + | then throw("Temporarily disabled") | |
869 | + | else { | |
870 | + | let cD = be(bf) | |
871 | + | if ((3 > size(bf.payments))) | |
872 | + | then throw("Min one USDT and 2 NFT payments allowed") | |
873 | + | else if ((size(bf.payments) > 6)) | |
874 | + | then throw("Max one USDT and 5 NFT payments allowed") | |
875 | + | else { | |
876 | + | let I = toString(bf.caller) | |
877 | + | func dD (aI,cG) = { | |
878 | + | let S = valueOrErrorMessage(cG.assetId, "WAVES payments not allowed") | |
879 | + | if ((S == k)) | |
880 | + | then $Tuple3((aI._1 + cG.amount), aI._2, aI._3) | |
881 | + | else { | |
882 | + | let dp = value(assetInfo(S)) | |
883 | + | if ((dp.issuer != this)) | |
884 | + | then throw("Only WL-issued NFTs allowed") | |
885 | + | else { | |
886 | + | let dE = cm(value(dp.description)) | |
887 | + | $Tuple3(aI._1, (aI._2 + dE), (aI._3 :+ Burn(S, 1))) | |
888 | + | } | |
889 | + | } | |
890 | + | } | |
891 | + | ||
892 | + | let dF = { | |
893 | + | let aK = bf.payments | |
894 | + | let aL = size(aK) | |
895 | + | let aM = $Tuple3(0, 0, nil) | |
896 | + | func aN (aO,aP) = if ((aP >= aL)) | |
897 | + | then aO | |
898 | + | else dD(aO, aK[aP]) | |
899 | + | ||
900 | + | func aQ (aO,aP) = if ((aP >= aL)) | |
901 | + | then aO | |
902 | + | else throw("List size exceeds 6") | |
903 | + | ||
904 | + | aQ(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6) | |
905 | + | } | |
906 | + | let dG = dF._1 | |
907 | + | let dH = dF._2 | |
908 | + | let dI = dF._3 | |
909 | + | let bo = if ((dH == 3)) | |
910 | + | then 2 | |
911 | + | else if ((dH == 5)) | |
912 | + | then 3 | |
913 | + | else if ((dH == 10)) | |
914 | + | then 4 | |
915 | + | else throw("Only bonuses of 3%, 5% or 10% are supported") | |
916 | + | let dJ = (dG - (dH * b)) | |
917 | + | if ((0 > dJ)) | |
918 | + | then throw((("You need to attach " + toString(dH)) + " USDT as fee")) | |
879 | 919 | else { | |
880 | - | let dp = value(assetInfo(S)) | |
881 | - | if ((dp.issuer != this)) | |
882 | - | then throw("Only WL-issued NFTs allowed") | |
883 | - | else { | |
884 | - | let dE = cm(value(dp.description)) | |
885 | - | $Tuple3(aI._1, (aI._2 + dE), (aI._3 :+ Burn(S, 1))) | |
886 | - | } | |
920 | + | let dK = if ((dJ > 0)) | |
921 | + | then [ScriptTransfer(bf.caller, dJ, k)] | |
922 | + | else nil | |
923 | + | let dL = bq(bo, bf.caller) | |
924 | + | let dM = dL._1 | |
925 | + | let bs = dL._2 | |
926 | + | let dN = size(dI) | |
927 | + | let dO = if ((dN == 0)) | |
928 | + | then nil | |
929 | + | else [IntegerEntry(aw, (valueOrElse(getInteger(aw), 0) + dN))] | |
930 | + | $Tuple2(((((dM ++ dI) ++ dO) ++ cD) ++ dK), bs) | |
887 | 931 | } | |
888 | 932 | } | |
933 | + | } | |
889 | 934 | ||
890 | - | let dF = { | |
891 | - | let aK = bf.payments | |
892 | - | let aL = size(aK) | |
893 | - | let aM = $Tuple3(0, 0, nil) | |
894 | - | func aN (aO,aP) = if ((aP >= aL)) | |
895 | - | then aO | |
896 | - | else dD(aO, aK[aP]) | |
897 | 935 | ||
898 | - | func aQ (aO,aP) = if ((aP >= aL)) | |
899 | - | then aO | |
900 | - | else throw("List size exceeds 6") | |
901 | 936 | ||
902 | - | aQ(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6) | |
903 | - | } | |
904 | - | let dG = dF._1 | |
905 | - | let dH = dF._2 | |
906 | - | let dI = dF._3 | |
907 | - | let bo = if ((dH == 3)) | |
908 | - | then 2 | |
909 | - | else if ((dH == 5)) | |
910 | - | then 3 | |
911 | - | else if ((dH == 10)) | |
912 | - | then 4 | |
913 | - | else throw("Only bonuses of 3%, 5% or 10% are supported") | |
914 | - | let dJ = (dG - (dH * b)) | |
915 | - | if ((0 > dJ)) | |
916 | - | then throw((("You need to attach " + toString(dH)) + " USDT as fee")) | |
917 | - | else { | |
918 | - | let dK = if ((dJ > 0)) | |
919 | - | then [ScriptTransfer(bf.caller, dJ, k)] | |
920 | - | else nil | |
921 | - | let dL = bq(bo, bf.caller) | |
922 | - | let dM = dL._1 | |
923 | - | let bs = dL._2 | |
924 | - | let dN = size(dI) | |
925 | - | let dO = if ((dN == 0)) | |
926 | - | then nil | |
927 | - | else [IntegerEntry(aw, (valueOrElse(getInteger(aw), 0) + dN))] | |
928 | - | $Tuple2(((((dM ++ dI) ++ dO) ++ cD) ++ dK), bs) | |
929 | - | } | |
930 | - | } | |
931 | - | } | |
937 | + | @Callable(bf) | |
938 | + | func openNftChest () = if ((bf.caller != this)) | |
939 | + | then throw("Permission denied") | |
940 | + | else $Tuple2(nil, 0) | |
932 | 941 | ||
933 | 942 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 1000000 | |
7 | 7 | ||
8 | 8 | let c = 10000000 | |
9 | 9 | ||
10 | 10 | let d = 100000000 | |
11 | 11 | ||
12 | 12 | let e = 86400000 | |
13 | 13 | ||
14 | 14 | let f = 10 | |
15 | 15 | ||
16 | 16 | let g = 100 | |
17 | 17 | ||
18 | 18 | let h = take(drop(this.bytes, 1), 1) | |
19 | 19 | ||
20 | 20 | let i = { | |
21 | 21 | let j = h | |
22 | 22 | if ((base58'2W' == j)) | |
23 | 23 | then 10080 | |
24 | 24 | else if ((base58'2T' == j)) | |
25 | 25 | then 180 | |
26 | 26 | else throw("Unknown chain") | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | let k = { | |
30 | 30 | let j = h | |
31 | 31 | if ((base58'2W' == j)) | |
32 | 32 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
33 | 33 | else if ((base58'2T' == j)) | |
34 | 34 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
35 | 35 | else throw("Unknown chain") | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | let l = { | |
39 | 39 | let j = h | |
40 | 40 | if ((base58'2W' == j)) | |
41 | 41 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
42 | 42 | else if ((base58'2T' == j)) | |
43 | 43 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
44 | 44 | else throw("Unknown chain") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | let m = { | |
48 | 48 | let j = h | |
49 | 49 | if ((base58'2W' == j)) | |
50 | 50 | then e | |
51 | 51 | else if ((base58'2T' == j)) | |
52 | 52 | then 60000 | |
53 | 53 | else throw("Unknown chain") | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | let n = { | |
57 | 57 | let j = h | |
58 | 58 | if ((base58'2W' == j)) | |
59 | 59 | then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
60 | 60 | else if ((base58'2T' == j)) | |
61 | 61 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
62 | 62 | else throw("Unknown chain") | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | func o (p,q) = valueOrErrorMessage(getString(p, q), makeString(["mandatory ", toString(p), ".", q, " is not defined"], "")) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | let r = 1 | |
69 | 69 | ||
70 | 70 | let s = 2 | |
71 | 71 | ||
72 | 72 | let t = 5 | |
73 | 73 | ||
74 | 74 | func u () = "%s__restConfig" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func v () = "%s__rest2Addr" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func w (x) = split_4C(o(x, u()), a) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func y (z,A) = valueOrErrorMessage(addressFromString(z[A]), ("Rest cfg doesn't contain address at index " + toString(A))) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | let B = addressFromStringValue(valueOrElse(getString(this, v()), l)) | |
87 | 87 | ||
88 | 88 | let z = w(B) | |
89 | 89 | ||
90 | 90 | let C = y(z, r) | |
91 | 91 | ||
92 | 92 | let D = y(z, s) | |
93 | 93 | ||
94 | 94 | let E = y(z, t) | |
95 | 95 | ||
96 | 96 | let F = "oldAcresContract" | |
97 | 97 | ||
98 | 98 | func G () = "contractsBlocked" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func H (I) = ("lastWeekTxIdByUser_" + I) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func J (I) = ("curWeekTxIdByUser_" + I) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | let K = "acresIssuedAmount" | |
108 | 108 | ||
109 | 109 | let L = "acresAssetId" | |
110 | 110 | ||
111 | 111 | let M = valueOrErrorMessage(getBinary(C, L), "ACRES is not issued yet") | |
112 | 112 | ||
113 | 113 | func N (I) = ("acresStakedTimeByUser_" + I) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func O (P) = ("stakedLandsByOwner_" + P) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func Q (P) = ("stakedDuckByOwner_" + P) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func R (S,I) = ((("st_" + S) + "_") + I) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func T (P) = ("stakedNFTsByOwner_" + P) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func U (V) = { | |
129 | 129 | let j = V | |
130 | 130 | if ($isInstanceOf(j, "Int")) | |
131 | 131 | then { | |
132 | 132 | let W = j | |
133 | 133 | W | |
134 | 134 | } | |
135 | 135 | else throw("fail to cast into Int") | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func X (Y) = { | |
140 | 140 | let j = Y | |
141 | 141 | if ($isInstanceOf(j, "(Int, Int, Int, Int, Int)")) | |
142 | 142 | then { | |
143 | 143 | let Z = j | |
144 | 144 | Z | |
145 | 145 | } | |
146 | 146 | else throw("fail to cast into (Int, Int, Int, Int, Int)") | |
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func aa (Y) = { | |
151 | 151 | let j = Y | |
152 | 152 | if ($isInstanceOf(j, "(Int, Int, Int, Int)")) | |
153 | 153 | then { | |
154 | 154 | let Z = j | |
155 | 155 | Z | |
156 | 156 | } | |
157 | 157 | else throw("fail to cast into (Int, Int, Int, Int)") | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func ab (Y) = { | |
162 | 162 | let j = Y | |
163 | 163 | if ($isInstanceOf(j, "(Int, Int, Int)")) | |
164 | 164 | then { | |
165 | 165 | let Z = j | |
166 | 166 | Z | |
167 | 167 | } | |
168 | 168 | else throw("fail to cast into (Int, Int, Int)") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func ac (Y) = { | |
173 | 173 | let j = Y | |
174 | 174 | if ($isInstanceOf(j, "(Int, Int)")) | |
175 | 175 | then { | |
176 | 176 | let Z = j | |
177 | 177 | Z | |
178 | 178 | } | |
179 | 179 | else throw("fail to cast into (Int, Int)") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ad (Y,ae) = { | |
184 | 184 | let af = pow(10, 0, ae, 0, 0, DOWN) | |
185 | 185 | let ag = toString((Y % af)) | |
186 | 186 | let ah = drop(toString(af), (1 + size(ag))) | |
187 | 187 | (((toString((Y / af)) + ".") + ah) + ag) | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | let ai = 1000000 | |
192 | 192 | ||
193 | 193 | let aj = 100000000 | |
194 | 194 | ||
195 | 195 | let ak = "wlg_issuedAmount" | |
196 | 196 | ||
197 | 197 | let al = "zbill_issuedAmount" | |
198 | 198 | ||
199 | 199 | func am (I) = ("acresStakedAmountByUser_" + I) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func an (I) = ("farmingPowerByUser_" + I) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | let ao = "acresStakedAmountTotal" | |
206 | 206 | ||
207 | 207 | let ap = "totalFarmingPower" | |
208 | 208 | ||
209 | 209 | let aq = 0 | |
210 | 210 | ||
211 | 211 | let ar = 3 | |
212 | 212 | ||
213 | 213 | let as = 1 | |
214 | 214 | ||
215 | 215 | let at = 5000 | |
216 | 216 | ||
217 | 217 | let au = 4 | |
218 | 218 | ||
219 | 219 | let av = "nftTotalIssued" | |
220 | 220 | ||
221 | 221 | let aw = "nftTotalBurned" | |
222 | 222 | ||
223 | 223 | let ax = "WlNftTotalStaked" | |
224 | 224 | ||
225 | 225 | let ay = "ArkNftTotalStaked" | |
226 | 226 | ||
227 | 227 | func az (S) = ("nftNumberByAssetId_" + S) | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func aA (I) = ("userWlNftNumber_" + I) | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func aB (I) = ("userArkNftNumber_" + I) | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func aC (I) = ("userFullBonus_" + I) | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | let aD = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
240 | 240 | ||
241 | 241 | func aE (aF) = { | |
242 | 242 | let aG = ((aF + 99999999) / aj) | |
243 | 243 | func aH (aI,aJ) = if ((aJ >= aG)) | |
244 | 244 | then aI | |
245 | 245 | else (aI + 1) | |
246 | 246 | ||
247 | 247 | let aK = aD | |
248 | 248 | let aL = size(aK) | |
249 | 249 | let aM = 0 | |
250 | 250 | func aN (aO,aP) = if ((aP >= aL)) | |
251 | 251 | then aO | |
252 | 252 | else aH(aO, aK[aP]) | |
253 | 253 | ||
254 | 254 | func aQ (aO,aP) = if ((aP >= aL)) | |
255 | 255 | then aO | |
256 | 256 | else throw("List size exceeds 10") | |
257 | 257 | ||
258 | 258 | aQ(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func aR (aF) = ((aF * 20) * (aE(aF) + 4)) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func aS (aF,aT) = { | |
266 | 266 | let aU = aR(aF) | |
267 | 267 | $Tuple2(fraction(aU, (ai + aT), ai), aU) | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func aV (I) = ("lastArbTimeUser_" + I) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | let aW = "lastAcresSellTime" | |
275 | 275 | ||
276 | 276 | let aX = "lastLimitLeft" | |
277 | 277 | ||
278 | 278 | let aY = ["SHOVEL-P3", "PICKAXE-C1", "PICKAXE-C3", "PICKAXE-C5", "PICKAXE-C10"] | |
279 | 279 | ||
280 | 280 | let aZ = ["contentShovelP3", "contentPickaxeC1", "contentPickaxeC3", "contentPickaxeC5", "contentPickaxeC10"] | |
281 | 281 | ||
282 | 282 | let ba = ["Gold shovel", "Pickaxe", "Pickaxe", "Pickaxe", "Pickaxe"] | |
283 | 283 | ||
284 | 284 | let bb = ["Reward for early birds", "Increases FarmPower", "Increases FarmPower", "Increases FarmPower", "Increases FarmPower"] | |
285 | 285 | ||
286 | 286 | let bc = ["Promo", "Common", "Common", "Common", "Common"] | |
287 | 287 | ||
288 | 288 | let bd = [3, 1, 3, 5, 10] | |
289 | 289 | ||
290 | 290 | func be (bf) = if (if ((bf.originCaller != B)) | |
291 | 291 | then valueOrElse(getBoolean(G()), false) | |
292 | 292 | else false) | |
293 | 293 | then throw("Contracts are under maintenance") | |
294 | 294 | else { | |
295 | 295 | let I = toString(bf.originCaller) | |
296 | 296 | let bg = (height / i) | |
297 | 297 | let bh = getString(H(I)) | |
298 | 298 | let bi = toBase58String(bf.transactionId) | |
299 | 299 | let bj = ((toString(bg) + "_") + bi) | |
300 | 300 | if (isDefined(bh)) | |
301 | 301 | then { | |
302 | 302 | let bk = split(value(bh), "_") | |
303 | 303 | if ((bk[0] == toString(bg))) | |
304 | 304 | then [StringEntry(H(I), bj), StringEntry(J(I), bj)] | |
305 | 305 | else if ((bk[0] == toString((bg - 1)))) | |
306 | 306 | then [StringEntry(J(I), bj)] | |
307 | 307 | else { | |
308 | 308 | let bl = getStringValue(H(I)) | |
309 | 309 | let bm = split(bl, "_") | |
310 | 310 | if ((bm[0] == toString(bg))) | |
311 | 311 | then [StringEntry(J(I), bj)] | |
312 | 312 | else [StringEntry(H(I), bl), StringEntry(J(I), bj)] | |
313 | 313 | } | |
314 | 314 | } | |
315 | 315 | else [StringEntry(H(I), bj), StringEntry(J(I), bj)] | |
316 | 316 | } | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func bn (bo,bp) = ((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + aZ[bo]) + "\", ") + "\"number\": ") + bp) + ", ") + "\"collection\": \"Digging tools") + "\", ") + "\"name\": \"") + ba[bo]) + "\", ") + "\"description\": \"") + bb[bo]) + "\", ") + "\"rare\": \"") + bc[bo]) + "\", ") + "\"bonus\": ") + toString(bd[bo])) + ", ") + "\"bonusType\": \"FarmPower\"}") | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | func bq (bo,I) = if ((bo >= size(aZ))) | |
323 | 323 | then throw("nftIndex out of bounds") | |
324 | 324 | else { | |
325 | 325 | let bp = valueOrElse(getInteger(av), 0) | |
326 | 326 | let br = Issue(aY[bo], bn(bo, toString(bp)), 1, 0, false) | |
327 | 327 | let bs = calculateAssetId(br) | |
328 | 328 | $Tuple2([br, IntegerEntry(av, (bp + 1)), IntegerEntry(az(toBase58String(bs)), bp), ScriptTransfer(I, 1, bs)], bs) | |
329 | 329 | } | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | func bt (bu,p,bv) = if (if ((bu == 0)) | |
333 | 333 | then (bv == 0) | |
334 | 334 | else false) | |
335 | 335 | then throw("Nothing to do") | |
336 | 336 | else { | |
337 | 337 | let bw = invoke(D, "onStakeUnstakeLand", [p], nil) | |
338 | 338 | if ((bw == bw)) | |
339 | 339 | then { | |
340 | 340 | let bx = lastBlock.timestamp | |
341 | 341 | let by = N(p) | |
342 | 342 | let bz = am(p) | |
343 | 343 | let bA = valueOrElse(getInteger(bz), 0) | |
344 | 344 | if (if ((0 > bu)) | |
345 | 345 | then (0 > (bA + bu)) | |
346 | 346 | else false) | |
347 | 347 | then throw(((("You have only " + ad(bA, 8)) + " ACRES staked, tried to unstake ") + ad(-(bu), 8))) | |
348 | 348 | else { | |
349 | 349 | let bB = (bA + bu) | |
350 | 350 | let bC = valueOrElse(getInteger(ao), 0) | |
351 | 351 | let bD = an(p) | |
352 | 352 | let bE = valueOrElse(getInteger(bD), 0) | |
353 | 353 | let bF = aC(p) | |
354 | 354 | let bG = valueOrElse(getInteger(C, bF), 0) | |
355 | 355 | if (if ((0 > bv)) | |
356 | 356 | then (0 > (bG + bv)) | |
357 | 357 | else false) | |
358 | 358 | then throw((((("You have only " + ad(bG, 4)) + "% bonus, and tried to unstake ") + ad(-(bv), 4)) + "%")) | |
359 | 359 | else { | |
360 | 360 | let bH = aS(bB, (bG + bv)) | |
361 | 361 | let bI = bH._1 | |
362 | 362 | let bJ = bH._2 | |
363 | 363 | let bK = valueOrElse(getInteger(ap), 0) | |
364 | 364 | let bL = if ((bu == 0)) | |
365 | 365 | then nil | |
366 | 366 | else [IntegerEntry(bz, bB), IntegerEntry(ao, (bC + bu))] | |
367 | 367 | $Tuple2(((((bL :+ IntegerEntry(by, lastBlock.timestamp)) :+ IntegerEntry(bD, bI)) :+ IntegerEntry(ap, ((bK + bI) - bE))) :+ IntegerEntry(bF, (bG + bv))), bw) | |
368 | 368 | } | |
369 | 369 | } | |
370 | 370 | } | |
371 | 371 | else throw("Strict value is not equal to itself.") | |
372 | 372 | } | |
373 | 373 | ||
374 | 374 | ||
375 | 375 | func bM (bN) = { | |
376 | 376 | let bO = valueOrErrorMessage(getInteger(D, ak), "WLGOLD is not issued yet") | |
377 | 377 | let bP = assetBalance(D, k) | |
378 | 378 | let bQ = (assetBalance(C, k) - bN) | |
379 | 379 | let bR = (assetBalance(E, k) + valueOrElse(getInteger(E, al), 0)) | |
380 | 380 | let bS = ((bQ + bP) + bR) | |
381 | 381 | fraction(bS, d, bO) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | func bT () = { | |
386 | 386 | let bP = assetBalance(D, k) | |
387 | 387 | let bQ = assetBalance(this, k) | |
388 | 388 | let bR = (assetBalance(E, k) + valueOrElse(getInteger(E, al), 0)) | |
389 | 389 | let bU = (((bQ + bP) + bR) / g) | |
390 | 390 | let bV = valueOrElse(getInteger(aX), bU) | |
391 | 391 | let bW = valueOrElse(getInteger(aW), 0) | |
392 | 392 | let bx = lastBlock.timestamp | |
393 | 393 | let bX = (bV + fraction(bU, (bx - bW), e)) | |
394 | 394 | let bY = min([bX, bU]) | |
395 | 395 | $Tuple2(IntegerEntry(aW, bx), bY) | |
396 | 396 | } | |
397 | 397 | ||
398 | 398 | ||
399 | 399 | let bZ = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og") | |
400 | 400 | ||
401 | 401 | let ca = valueOrElse(getString(bZ, "static_incubatorAddress"), "") | |
402 | 402 | ||
403 | 403 | let cb = valueOrElse(getString(bZ, "static_breederAddress"), "") | |
404 | 404 | ||
405 | 405 | let cc = valueOrElse(getString(bZ, "static_turtleIncubatorAddress"), "") | |
406 | 406 | ||
407 | 407 | let cd = valueOrElse(getString(bZ, "static_turtleBreederAddress"), "") | |
408 | 408 | ||
409 | 409 | let ce = valueOrElse(getString(bZ, "static_canineIncubatorAddress"), "") | |
410 | 410 | ||
411 | 411 | let cf = valueOrElse(getString(bZ, "static_canineBreederAddress"), "") | |
412 | 412 | ||
413 | 413 | let cg = valueOrElse(getString(bZ, "static_felineIncubatorAddress"), "") | |
414 | 414 | ||
415 | 415 | let ch = valueOrElse(getString(bZ, "static_felineBreederAddress"), "") | |
416 | 416 | ||
417 | 417 | let ci = valueOrElse(getString(bZ, "static_mutantIncubatorAddress"), "") | |
418 | 418 | ||
419 | 419 | func cj (ck) = { | |
420 | 420 | let cl = toString(ck.issuer) | |
421 | 421 | if (if (if (if (if (if (if (if (if (if ((h == base58'2T')) | |
422 | 422 | then (cl == n) | |
423 | 423 | else false) | |
424 | 424 | then true | |
425 | 425 | else (cl == ca)) | |
426 | 426 | then true | |
427 | 427 | else (cl == cb)) | |
428 | 428 | then true | |
429 | 429 | else (cl == cc)) | |
430 | 430 | then true | |
431 | 431 | else (cl == cd)) | |
432 | 432 | then true | |
433 | 433 | else (cl == ce)) | |
434 | 434 | then true | |
435 | 435 | else (cl == cf)) | |
436 | 436 | then true | |
437 | 437 | else (cl == cg)) | |
438 | 438 | then true | |
439 | 439 | else (cl == ch)) | |
440 | 440 | then ck.name | |
441 | 441 | else if ((cl == ci)) | |
442 | 442 | then ck.description | |
443 | 443 | else "" | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | func cm (cn) = if (!(contains(cn, "\"bonusType\": \"FarmPower\""))) | |
448 | 448 | then throw(("NFT is not supported: " + cn)) | |
449 | 449 | else { | |
450 | 450 | let co = split_4C(split_4C(cn, "\"bonus\":")[1], ",")[0] | |
451 | 451 | parseIntValue(drop(co, (valueOrElse(lastIndexOf(co, " "), -1) + 1))) | |
452 | 452 | } | |
453 | 453 | ||
454 | 454 | ||
455 | 455 | func cp (I,cq,aT,cr,cs,ct) = { | |
456 | 456 | let cu = valueOrElse(getInteger(cr), 0) | |
457 | 457 | if ((cu >= ct)) | |
458 | 458 | then throw((("You can stake max " + toString(ct)) + " of such NFTs")) | |
459 | 459 | else { | |
460 | 460 | let cv = bt(0, I, aT) | |
461 | 461 | let cw = cv._1 | |
462 | 462 | let cx = cv._2 | |
463 | 463 | $Tuple2((((cw :+ IntegerEntry(cr, (cu + 1))) :+ IntegerEntry(cs, (valueOrElse(getInteger(cs), 0) + 1))) :+ IntegerEntry(R(cq, I), lastBlock.timestamp)), cx) | |
464 | 464 | } | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | @Callable(bf) | |
469 | 469 | func saveLastTx () = if (!(containsElement([D], bf.caller))) | |
470 | 470 | then throw("Access denied") | |
471 | 471 | else $Tuple2(be(bf), 42) | |
472 | 472 | ||
473 | 473 | ||
474 | 474 | ||
475 | 475 | @Callable(bf) | |
476 | 476 | func constructorV1 (cy,cz) = if ((bf.caller != this)) | |
477 | 477 | then throw("Permission denied") | |
478 | 478 | else { | |
479 | 479 | let cA = addressFromStringValue(cz) | |
480 | 480 | [IntegerEntry(K, getIntegerValue(cA, K)), BinaryEntry(L, getBinaryValue(cA, L)), StringEntry(v(), cy), StringEntry(F, cz)] | |
481 | 481 | } | |
482 | 482 | ||
483 | 483 | ||
484 | 484 | ||
485 | 485 | @Callable(bf) | |
486 | 486 | func setBlocked (cB) = if ((bf.caller != this)) | |
487 | 487 | then throw("permission denied") | |
488 | 488 | else [BooleanEntry(G(), cB)] | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(bf) | |
493 | 493 | func unstakeAcres (cC) = { | |
494 | 494 | let cD = be(bf) | |
495 | 495 | if ((0 >= cC)) | |
496 | 496 | then throw("Amount should be positive") | |
497 | 497 | else { | |
498 | 498 | let p = toString(bf.caller) | |
499 | 499 | if ((size(bf.payments) != 0)) | |
500 | 500 | then throw("No payments required") | |
501 | 501 | else { | |
502 | 502 | let cE = (valueOrElse(getInteger(D, aV(p)), 0) + m) | |
503 | 503 | if ((cE > lastBlock.timestamp)) | |
504 | 504 | then throw(("You traded some WLGOLD, cannot unstake until " + toString(cE))) | |
505 | 505 | else { | |
506 | 506 | let cF = bt(-(cC), p, 0) | |
507 | 507 | let cw = cF._1 | |
508 | 508 | let cx = cF._2 | |
509 | 509 | $Tuple2(((cw :+ ScriptTransfer(bf.caller, cC, M)) ++ cD), cx) | |
510 | 510 | } | |
511 | 511 | } | |
512 | 512 | } | |
513 | 513 | } | |
514 | 514 | ||
515 | 515 | ||
516 | 516 | ||
517 | 517 | @Callable(bf) | |
518 | 518 | func stakeAcres () = { | |
519 | 519 | let cD = be(bf) | |
520 | 520 | let p = toString(bf.caller) | |
521 | 521 | if ((size(bf.payments) != 1)) | |
522 | 522 | then throw("exactly 1 payment must be attached") | |
523 | 523 | else { | |
524 | 524 | let cG = bf.payments[0] | |
525 | 525 | let bu = cG.amount | |
526 | 526 | if (if (!(isDefined(cG.assetId))) | |
527 | 527 | then true | |
528 | 528 | else (value(cG.assetId) != M)) | |
529 | 529 | then throw("ACRES payments only!") | |
530 | 530 | else { | |
531 | 531 | let cH = bt(bu, p, 0) | |
532 | 532 | let cw = cH._1 | |
533 | 533 | let cx = cH._2 | |
534 | 534 | $Tuple2((cw ++ cD), cx) | |
535 | 535 | } | |
536 | 536 | } | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | ||
541 | 541 | @Callable(bf) | |
542 | 542 | func buyAcres () = { | |
543 | 543 | let cD = be(bf) | |
544 | 544 | if ((size(bf.payments) != 1)) | |
545 | 545 | then throw("exactly 1 payment must be attached") | |
546 | 546 | else { | |
547 | 547 | let cG = bf.payments[0] | |
548 | 548 | let cI = cG.amount | |
549 | 549 | if (if (!(isDefined(cG.assetId))) | |
550 | 550 | then true | |
551 | 551 | else (value(cG.assetId) != k)) | |
552 | 552 | then throw("USDT payments only!") | |
553 | 553 | else if ((b > cI)) | |
554 | 554 | then throw((("Min payment should be " + ad(b, 6)) + " USDT")) | |
555 | 555 | else { | |
556 | 556 | let cJ = (cI * f) | |
557 | 557 | let cK = fraction(cI, d, bM(cI)) | |
558 | 558 | let cL = addressFromStringValue(getStringValue(F)) | |
559 | 559 | let cM = invoke(cL, "requestAcresCallback", [cJ], nil) | |
560 | 560 | if ((cM == cM)) | |
561 | 561 | then { | |
562 | 562 | let cN = U(invoke(D, "burnWlgold", [cK], nil)) | |
563 | 563 | $Tuple2(([ScriptTransfer(bf.caller, cJ, M)] ++ cD), cN) | |
564 | 564 | } | |
565 | 565 | else throw("Strict value is not equal to itself.") | |
566 | 566 | } | |
567 | 567 | } | |
568 | 568 | } | |
569 | 569 | ||
570 | 570 | ||
571 | 571 | ||
572 | 572 | @Callable(bf) | |
573 | 573 | func buyAcresREADONLY (cI) = { | |
574 | 574 | let cJ = (cI * f) | |
575 | 575 | let cO = fraction(cI, d, bM(cI)) | |
576 | 576 | $Tuple2(nil, [cJ, b, cJ, cO]) | |
577 | 577 | } | |
578 | 578 | ||
579 | 579 | ||
580 | 580 | ||
581 | 581 | @Callable(bf) | |
582 | 582 | func sellAcres () = { | |
583 | 583 | let cD = be(bf) | |
584 | 584 | if ((size(bf.payments) != 1)) | |
585 | 585 | then throw("exactly 1 payment must be attached") | |
586 | 586 | else { | |
587 | 587 | let cG = bf.payments[0] | |
588 | 588 | let cJ = cG.amount | |
589 | 589 | if (if (!(isDefined(cG.assetId))) | |
590 | 590 | then true | |
591 | 591 | else (value(cG.assetId) != M)) | |
592 | 592 | then throw("ACRES payments only!") | |
593 | 593 | else if ((c > cJ)) | |
594 | 594 | then throw((("Min payment should be " + ad(c, 8)) + " ACRES")) | |
595 | 595 | else { | |
596 | 596 | let I = toString(bf.caller) | |
597 | 597 | let cP = bT() | |
598 | 598 | let cQ = cP._1 | |
599 | 599 | let cR = cP._2 | |
600 | 600 | let cS = (cR * f) | |
601 | 601 | if ((cJ > cS)) | |
602 | 602 | then throw((("You can sell max " + ad(cS, 8)) + " ACRES")) | |
603 | 603 | else { | |
604 | 604 | let cI = ((cJ / f) / 2) | |
605 | 605 | $Tuple2(([cQ, IntegerEntry(aX, (cR - cI)), ScriptTransfer(bf.caller, cI, k)] ++ cD), cI) | |
606 | 606 | } | |
607 | 607 | } | |
608 | 608 | } | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Callable(bf) | |
614 | 614 | func sellAcresREADONLY (p,cJ) = { | |
615 | 615 | let cT = bT() | |
616 | 616 | let cQ = cT._1 | |
617 | 617 | let cR = cT._2 | |
618 | 618 | let cI = ((cJ / f) / 2) | |
619 | 619 | $Tuple2(nil, [cI, c, (cR * f), 0]) | |
620 | 620 | } | |
621 | 621 | ||
622 | 622 | ||
623 | 623 | ||
624 | 624 | @Callable(bf) | |
625 | 625 | func convertOldStakes () = if ((bf.caller != this)) | |
626 | 626 | then throw("Temporarily disabled") | |
627 | 627 | else { | |
628 | 628 | let p = toString(bf.caller) | |
629 | 629 | if ((size(bf.payments) != 0)) | |
630 | 630 | then throw("No payments required") | |
631 | 631 | else { | |
632 | 632 | let cL = addressFromStringValue(getStringValue(F)) | |
633 | 633 | let cC = valueOrElse(getInteger(cL, am(p)), 0) | |
634 | 634 | let cU = if ((cC > 0)) | |
635 | 635 | then ac(invoke(cL, "unstakeAcresCallback", [cC, p], nil)) | |
636 | 636 | else $Tuple2(0, 0) | |
637 | 637 | let cV = addressFromStringValue(n) | |
638 | 638 | let cW = getString(cV, O(p)) | |
639 | 639 | let cX = if (isDefined(cW)) | |
640 | 640 | then { | |
641 | 641 | let cY = split_51C(value(cW), "_") | |
642 | 642 | func cZ (aI,da) = if ((da == "")) | |
643 | 643 | then throw("landAssetId is required") | |
644 | 644 | else { | |
645 | 645 | let db = X(invoke(cV, "unstakeLandCallback", [da, p], nil)) | |
646 | 646 | $Tuple4((aI._1 + db._1), (aI._2 + db._2), (aI._3 + db._3), (aI._4 + db._4)) | |
647 | 647 | } | |
648 | 648 | ||
649 | 649 | let dc = { | |
650 | 650 | let aK = cY | |
651 | 651 | let aL = size(aK) | |
652 | 652 | let aM = $Tuple4(0, 0, 0, 0) | |
653 | 653 | func aN (aO,aP) = if ((aP >= aL)) | |
654 | 654 | then aO | |
655 | 655 | else cZ(aO, aK[aP]) | |
656 | 656 | ||
657 | 657 | func aQ (aO,aP) = if ((aP >= aL)) | |
658 | 658 | then aO | |
659 | 659 | else throw("List size exceeds 100") | |
660 | 660 | ||
661 | 661 | aQ(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
662 | 662 | } | |
663 | 663 | let dd = invoke(cV, "unstakeLandsFinalizeCallback", [p], nil) | |
664 | 664 | if ((dd == dd)) | |
665 | 665 | then { | |
666 | 666 | let cM = invoke(cL, "requestAcresCallback", [(((dc._1 + dc._2) + dc._3) + dc._4)], nil) | |
667 | 667 | if ((cM == cM)) | |
668 | 668 | then { | |
669 | 669 | let de = bq(aq, bf.caller) | |
670 | 670 | let df = de._1 | |
671 | 671 | let bs = de._2 | |
672 | 672 | $Tuple5(dc._1, dc._2, dc._3, dc._4, df) | |
673 | 673 | } | |
674 | 674 | else throw("Strict value is not equal to itself.") | |
675 | 675 | } | |
676 | 676 | else throw("Strict value is not equal to itself.") | |
677 | 677 | } | |
678 | 678 | else $Tuple5(0, 0, 0, 0, nil) | |
679 | 679 | let dg = valueOrElse(getString(cV, Q(p)), "") | |
680 | 680 | let dh = if ((dg != "")) | |
681 | 681 | then ab(invoke(cV, "unstakeDuckCallback", [dg, p], nil)) | |
682 | 682 | else $Tuple3(0, 0, 0) | |
683 | 683 | let di = bt((((((((cU._1 + cX._1) + cX._2) + cX._3) + cX._4) + dh._1) + dh._2) + dh._3), p, 0) | |
684 | 684 | $Tuple2((cX._5 ++ di._1), di._2) | |
685 | 685 | } | |
686 | 686 | } | |
687 | 687 | ||
688 | 688 | ||
689 | 689 | ||
690 | 690 | @Callable(bf) | |
691 | 691 | func unstakeLandsREADONLY (p) = { | |
692 | 692 | let cV = addressFromStringValue(n) | |
693 | 693 | let cW = getString(cV, O(p)) | |
694 | 694 | let cX = if (isDefined(cW)) | |
695 | 695 | then { | |
696 | 696 | let cY = split_51C(value(cW), "_") | |
697 | 697 | func cZ (aI,da) = if ((da == "")) | |
698 | 698 | then throw("landAssetId is required") | |
699 | 699 | else { | |
700 | 700 | let db = aa(invoke(cV, "unstakeLandREADONLY", [da, p], nil)) | |
701 | 701 | $Tuple4((aI._1 + db._1), (aI._2 + db._2), (aI._3 + db._3), (aI._4 + db._4)) | |
702 | 702 | } | |
703 | 703 | ||
704 | 704 | let aK = cY | |
705 | 705 | let aL = size(aK) | |
706 | 706 | let aM = $Tuple4(0, 0, 0, 0) | |
707 | 707 | func aN (aO,aP) = if ((aP >= aL)) | |
708 | 708 | then aO | |
709 | 709 | else cZ(aO, aK[aP]) | |
710 | 710 | ||
711 | 711 | func aQ (aO,aP) = if ((aP >= aL)) | |
712 | 712 | then aO | |
713 | 713 | else throw("List size exceeds 100") | |
714 | 714 | ||
715 | 715 | aQ(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
716 | 716 | } | |
717 | 717 | else $Tuple4(0, 0, 0, 0) | |
718 | 718 | $Tuple2(nil, cX) | |
719 | 719 | } | |
720 | 720 | ||
721 | 721 | ||
722 | 722 | ||
723 | 723 | @Callable(bf) | |
724 | 724 | func stakeAcresCallback (I) = if ((bf.caller != addressFromStringValue(n))) | |
725 | 725 | then throw("Permission denied") | |
726 | 726 | else bt(bf.payments[0].amount, I, 0) | |
727 | 727 | ||
728 | 728 | ||
729 | 729 | ||
730 | 730 | @Callable(bf) | |
731 | 731 | func simulateStakeAcresREADONLY (p,dj) = { | |
732 | 732 | let bz = am(p) | |
733 | 733 | let bB = (valueOrElse(getInteger(bz), 0) + dj) | |
734 | 734 | let bC = valueOrElse(getInteger(ao), 0) | |
735 | 735 | let bD = an(p) | |
736 | 736 | let bE = valueOrElse(getInteger(bD), 0) | |
737 | 737 | let dk = valueOrElse(getInteger(C, aC(p)), 0) | |
738 | 738 | let dl = aS(bB, dk) | |
739 | 739 | let bI = dl._1 | |
740 | 740 | let bJ = dl._2 | |
741 | 741 | let bK = valueOrElse(getInteger(ap), 0) | |
742 | 742 | let dm = ((bK + bI) - bE) | |
743 | 743 | $Tuple2(nil, [bE, bI, bK, dm]) | |
744 | 744 | } | |
745 | 745 | ||
746 | 746 | ||
747 | 747 | ||
748 | 748 | @Callable(bf) | |
749 | 749 | func issueNFT (dn,bo) = if ((bf.caller != D)) | |
750 | 750 | then throw("Permission denied") | |
751 | 751 | else bq(bo, addressFromStringValue(dn)) | |
752 | 752 | ||
753 | 753 | ||
754 | 754 | ||
755 | 755 | @Callable(bf) | |
756 | 756 | func issueNftAdmin (dn,bo,do) = if ((bf.caller != this)) | |
757 | 757 | then throw("Permission denied") | |
758 | 758 | else if ((bo >= size(aZ))) | |
759 | 759 | then throw("nftIndex out of bounds") | |
760 | 760 | else { | |
761 | 761 | let br = Issue(aY[bo], bn(bo, toString(do)), 1, 0, false) | |
762 | 762 | let bs = calculateAssetId(br) | |
763 | 763 | $Tuple2([br, IntegerEntry(az(toBase58String(bs)), do), ScriptTransfer(addressFromStringValue(dn), 1, bs)], bs) | |
764 | 764 | } | |
765 | 765 | ||
766 | 766 | ||
767 | 767 | ||
768 | 768 | @Callable(bf) | |
769 | 769 | func stakeNFT () = { | |
770 | 770 | let cD = be(bf) | |
771 | 771 | if ((size(bf.payments) != 1)) | |
772 | 772 | then throw("Exactly one payment required") | |
773 | 773 | else { | |
774 | 774 | let cG = value(bf.payments[0]) | |
775 | 775 | if ((cG.amount != 1)) | |
776 | 776 | then throw("NFT token should be attached as payment") | |
777 | 777 | else { | |
778 | 778 | let S = value(cG.assetId) | |
779 | 779 | let dp = value(assetInfo(S)) | |
780 | 780 | let cq = toBase58String(S) | |
781 | 781 | let I = toString(bf.caller) | |
782 | 782 | let dq = T(I) | |
783 | 783 | let dr = getString(dq) | |
784 | 784 | let ds = if (isDefined(dr)) | |
785 | 785 | then split_4C(value(dr), "_") | |
786 | 786 | else nil | |
787 | 787 | if (containsElement(ds, cq)) | |
788 | 788 | then throw(("Your staked NFTs already contain " + cq)) | |
789 | 789 | else if ((size(ds) >= au)) | |
790 | 790 | then throw((("Your already staked max (" + toString(au)) + ") NFTs")) | |
791 | 791 | else { | |
792 | 792 | let dt = StringEntry(dq, makeString_2C((ds :+ cq), "_")) | |
793 | 793 | if ((dp.issuer == this)) | |
794 | 794 | then { | |
795 | 795 | let du = cp(I, cq, (cm(value(dp.description)) * 10000), aA(I), ax, ar) | |
796 | 796 | let cw = du._1 | |
797 | 797 | let cx = du._2 | |
798 | 798 | $Tuple2(((cD ++ cw) :+ dt), cx) | |
799 | 799 | } | |
800 | 800 | else if ((cj(dp) == "")) | |
801 | 801 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
802 | 802 | else { | |
803 | 803 | let dv = cp(I, cq, at, aB(I), ay, as) | |
804 | 804 | let cw = dv._1 | |
805 | 805 | let cx = dv._2 | |
806 | 806 | $Tuple2(((cD ++ cw) :+ dt), cx) | |
807 | 807 | } | |
808 | 808 | } | |
809 | 809 | } | |
810 | 810 | } | |
811 | 811 | } | |
812 | 812 | ||
813 | 813 | ||
814 | 814 | ||
815 | 815 | @Callable(bf) | |
816 | 816 | func unstakeNFT (cq) = { | |
817 | 817 | let cD = be(bf) | |
818 | 818 | if ((size(bf.payments) != 0)) | |
819 | 819 | then throw("No payments required") | |
820 | 820 | else { | |
821 | 821 | let S = fromBase58String(cq) | |
822 | 822 | let I = toString(bf.caller) | |
823 | 823 | let dp = value(assetInfo(S)) | |
824 | 824 | let by = R(cq, I) | |
825 | 825 | if (!(isDefined(getInteger(by)))) | |
826 | 826 | then throw((("NFT " + dp.name) + " is not staked by you")) | |
827 | 827 | else { | |
828 | 828 | let dq = T(I) | |
829 | 829 | let ds = split_4C(valueOrElse(getString(dq), ""), "_") | |
830 | 830 | let A = indexOf(ds, cq) | |
831 | 831 | if (!(isDefined(A))) | |
832 | 832 | then throw(("Your staked NFTs don't contain " + cq)) | |
833 | 833 | else { | |
834 | 834 | let dt = if ((size(ds) > 1)) | |
835 | 835 | then StringEntry(dq, makeString_2C(removeByIndex(ds, value(A)), "_")) | |
836 | 836 | else DeleteEntry(dq) | |
837 | 837 | let dw = (dp.issuer == this) | |
838 | 838 | if (dw) | |
839 | 839 | then { | |
840 | 840 | let dx = valueOrElse(getInteger(aA(I)), 0) | |
841 | 841 | let dy = (cm(value(dp.description)) * 10000) | |
842 | 842 | let dz = bt(0, I, -(dy)) | |
843 | 843 | let cw = dz._1 | |
844 | 844 | let cx = dz._2 | |
845 | 845 | $Tuple2(((((((cw :+ dt) :+ IntegerEntry(aA(I), (dx - 1))) :+ IntegerEntry(ax, max([0, (valueOrElse(getInteger(ax), 0) - 1)]))) :+ DeleteEntry(R(toBase58String(S), I))) :+ ScriptTransfer(bf.caller, 1, S)) ++ cD), cx) | |
846 | 846 | } | |
847 | 847 | else { | |
848 | 848 | let dA = cj(dp) | |
849 | 849 | if ((dA == "")) | |
850 | 850 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
851 | 851 | else { | |
852 | 852 | let dB = valueOrElse(getInteger(aB(I)), 0) | |
853 | 853 | let dC = bt(0, I, -(at)) | |
854 | 854 | let cw = dC._1 | |
855 | 855 | let cx = dC._2 | |
856 | 856 | $Tuple2((((((cw :+ dt) :+ IntegerEntry(aB(I), (dB - 1))) :+ DeleteEntry(R(toBase58String(S), I))) :+ ScriptTransfer(bf.caller, 1, S)) ++ cD), cx) | |
857 | 857 | } | |
858 | 858 | } | |
859 | 859 | } | |
860 | 860 | } | |
861 | 861 | } | |
862 | 862 | } | |
863 | 863 | ||
864 | 864 | ||
865 | 865 | ||
866 | 866 | @Callable(bf) | |
867 | - | func exchangeNFTs () = { | |
868 | - | let cD = be(bf) | |
869 | - | if ((3 > size(bf.payments))) | |
870 | - | then throw("Min one USDT and 2 NFT payments allowed") | |
871 | - | else if ((size(bf.payments) > 6)) | |
872 | - | then throw("Max one USDT and 5 NFT payments allowed") | |
873 | - | else { | |
874 | - | let I = toString(bf.caller) | |
875 | - | func dD (aI,cG) = { | |
876 | - | let S = valueOrErrorMessage(cG.assetId, "WAVES payments not allowed") | |
877 | - | if ((S == k)) | |
878 | - | then $Tuple3((aI._1 + cG.amount), aI._2, aI._3) | |
867 | + | func exchangeNFTs () = if ((bf.caller != this)) | |
868 | + | then throw("Temporarily disabled") | |
869 | + | else { | |
870 | + | let cD = be(bf) | |
871 | + | if ((3 > size(bf.payments))) | |
872 | + | then throw("Min one USDT and 2 NFT payments allowed") | |
873 | + | else if ((size(bf.payments) > 6)) | |
874 | + | then throw("Max one USDT and 5 NFT payments allowed") | |
875 | + | else { | |
876 | + | let I = toString(bf.caller) | |
877 | + | func dD (aI,cG) = { | |
878 | + | let S = valueOrErrorMessage(cG.assetId, "WAVES payments not allowed") | |
879 | + | if ((S == k)) | |
880 | + | then $Tuple3((aI._1 + cG.amount), aI._2, aI._3) | |
881 | + | else { | |
882 | + | let dp = value(assetInfo(S)) | |
883 | + | if ((dp.issuer != this)) | |
884 | + | then throw("Only WL-issued NFTs allowed") | |
885 | + | else { | |
886 | + | let dE = cm(value(dp.description)) | |
887 | + | $Tuple3(aI._1, (aI._2 + dE), (aI._3 :+ Burn(S, 1))) | |
888 | + | } | |
889 | + | } | |
890 | + | } | |
891 | + | ||
892 | + | let dF = { | |
893 | + | let aK = bf.payments | |
894 | + | let aL = size(aK) | |
895 | + | let aM = $Tuple3(0, 0, nil) | |
896 | + | func aN (aO,aP) = if ((aP >= aL)) | |
897 | + | then aO | |
898 | + | else dD(aO, aK[aP]) | |
899 | + | ||
900 | + | func aQ (aO,aP) = if ((aP >= aL)) | |
901 | + | then aO | |
902 | + | else throw("List size exceeds 6") | |
903 | + | ||
904 | + | aQ(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6) | |
905 | + | } | |
906 | + | let dG = dF._1 | |
907 | + | let dH = dF._2 | |
908 | + | let dI = dF._3 | |
909 | + | let bo = if ((dH == 3)) | |
910 | + | then 2 | |
911 | + | else if ((dH == 5)) | |
912 | + | then 3 | |
913 | + | else if ((dH == 10)) | |
914 | + | then 4 | |
915 | + | else throw("Only bonuses of 3%, 5% or 10% are supported") | |
916 | + | let dJ = (dG - (dH * b)) | |
917 | + | if ((0 > dJ)) | |
918 | + | then throw((("You need to attach " + toString(dH)) + " USDT as fee")) | |
879 | 919 | else { | |
880 | - | let dp = value(assetInfo(S)) | |
881 | - | if ((dp.issuer != this)) | |
882 | - | then throw("Only WL-issued NFTs allowed") | |
883 | - | else { | |
884 | - | let dE = cm(value(dp.description)) | |
885 | - | $Tuple3(aI._1, (aI._2 + dE), (aI._3 :+ Burn(S, 1))) | |
886 | - | } | |
920 | + | let dK = if ((dJ > 0)) | |
921 | + | then [ScriptTransfer(bf.caller, dJ, k)] | |
922 | + | else nil | |
923 | + | let dL = bq(bo, bf.caller) | |
924 | + | let dM = dL._1 | |
925 | + | let bs = dL._2 | |
926 | + | let dN = size(dI) | |
927 | + | let dO = if ((dN == 0)) | |
928 | + | then nil | |
929 | + | else [IntegerEntry(aw, (valueOrElse(getInteger(aw), 0) + dN))] | |
930 | + | $Tuple2(((((dM ++ dI) ++ dO) ++ cD) ++ dK), bs) | |
887 | 931 | } | |
888 | 932 | } | |
933 | + | } | |
889 | 934 | ||
890 | - | let dF = { | |
891 | - | let aK = bf.payments | |
892 | - | let aL = size(aK) | |
893 | - | let aM = $Tuple3(0, 0, nil) | |
894 | - | func aN (aO,aP) = if ((aP >= aL)) | |
895 | - | then aO | |
896 | - | else dD(aO, aK[aP]) | |
897 | 935 | ||
898 | - | func aQ (aO,aP) = if ((aP >= aL)) | |
899 | - | then aO | |
900 | - | else throw("List size exceeds 6") | |
901 | 936 | ||
902 | - | aQ(aN(aN(aN(aN(aN(aN(aM, 0), 1), 2), 3), 4), 5), 6) | |
903 | - | } | |
904 | - | let dG = dF._1 | |
905 | - | let dH = dF._2 | |
906 | - | let dI = dF._3 | |
907 | - | let bo = if ((dH == 3)) | |
908 | - | then 2 | |
909 | - | else if ((dH == 5)) | |
910 | - | then 3 | |
911 | - | else if ((dH == 10)) | |
912 | - | then 4 | |
913 | - | else throw("Only bonuses of 3%, 5% or 10% are supported") | |
914 | - | let dJ = (dG - (dH * b)) | |
915 | - | if ((0 > dJ)) | |
916 | - | then throw((("You need to attach " + toString(dH)) + " USDT as fee")) | |
917 | - | else { | |
918 | - | let dK = if ((dJ > 0)) | |
919 | - | then [ScriptTransfer(bf.caller, dJ, k)] | |
920 | - | else nil | |
921 | - | let dL = bq(bo, bf.caller) | |
922 | - | let dM = dL._1 | |
923 | - | let bs = dL._2 | |
924 | - | let dN = size(dI) | |
925 | - | let dO = if ((dN == 0)) | |
926 | - | then nil | |
927 | - | else [IntegerEntry(aw, (valueOrElse(getInteger(aw), 0) + dN))] | |
928 | - | $Tuple2(((((dM ++ dI) ++ dO) ++ cD) ++ dK), bs) | |
929 | - | } | |
930 | - | } | |
931 | - | } | |
937 | + | @Callable(bf) | |
938 | + | func openNftChest () = if ((bf.caller != this)) | |
939 | + | then throw("Permission denied") | |
940 | + | else $Tuple2(nil, 0) | |
932 | 941 | ||
933 | 942 |
github/deemru/w8io/026f985 86.52 ms ◑