tx · CHgYFmgf7FyQfZSVTYNKVTAN6q3ey6uUCAUWGipqP3mx 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh: -0.01600000 Waves 2024.11.11 01:54 [3365978] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves
{ "type": 13, "id": "CHgYFmgf7FyQfZSVTYNKVTAN6q3ey6uUCAUWGipqP3mx", "fee": 1600000, "feeAssetId": null, "timestamp": 1731279306145, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "4QLKWZGr55XT2GmsTWmJMdwhr4gqhaKc6eSnFX8BtytPY672wErBPJ1qJF63xZ3J2TAj4R9cpRCvHRLnyS6eMWEk" ], "script": "base64:BgI3CAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIATgAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAKREFZX01JTExJUwCAuJkpABVVU0RUMkFDUkVTX01VTFRJUExJRVIACgATT05FX1BFUkNFTlRfRElWSVNPUgBkAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFByRtYXRjaDABIFWx2J9yh4Lv5eNbjawFq2XemkOhLxa7BfMat4el8cUYCQACAQINVW5rbm93biBjaGFpbgAWZGVmYXVsdFJlc3QyQWRkcmVzc1N0cgQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAIjM1BGd1l0YThiaUV6MzF6cGVGZTVESks4d0U1dHJTcFFWRjgDCQAAAgEBVAU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lckJ5VXNlcgEFB2FkZHJlc3MEBW9sZEZwCQELdmFsdWVPckVsc2UCCQCfCAEFCXVzZXJGcEtleQAABAVuZXdGcAkBFmdldEZhcm1pbmdQb3dlckJ5QWNyZXMBBQ5uZXdBY3Jlc0Ftb3VudAQKb2xkVG90YWxGcAkBC3ZhbHVlT3JFbHNlAgkAnwgBBRR0b3RhbEZhcm1pbmdQb3dlcktleQAABApuZXdUb3RhbEZwCQBkAgkAZQIFCm9sZFRvdGFsRnAFBW9sZEZwBQVuZXdGcAkAlAoCBQNuaWwJAMwIAgUFb2xkRnAJAMwIAgUFbmV3RnAJAMwIAgUKb2xkVG90YWxGcAkAzAgCBQpuZXdUb3RhbEZwBQNuaWwAemZCHQ==", "height": 3365978, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HB2x49k7A9oWjG78FcVY4GPQte9cVqLnqDcVYPZ1Xu58 Next: 2xcrEprGkH6o3eoKGURZMJMmLxiW8yKd3rG3CRWyvBe8 Diff:
Old | New | Differences | |
---|---|---|---|
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(az) | |
422 | - | func convertOldStakes () = { | |
423 | - | let n = toString(az.caller) | |
424 | - | if ((size(az.payments) != 0)) | |
425 | - | then throw("No payments required") | |
426 | - | else { | |
427 | - | let bt = addressFromStringValue(getStringValue(D)) | |
428 | - | let bj = valueOrElse(getInteger(bt, af(n)), 0) | |
429 | - | let bB = if ((bj > 0)) | |
430 | - | then W(invoke(bt, "unstakeAcresCallback", [bj, n], nil)) | |
431 | - | else $Tuple2(0, 0) | |
432 | - | let bC = addressFromStringValue(l) | |
433 | - | let bD = getString(bC, L(n)) | |
434 | - | let bE = if (isDefined(bD)) | |
435 | - | then { | |
436 | - | let bF = split_51C(value(bD), "_") | |
437 | - | func bG (ao,bH) = if ((bH == "")) | |
438 | - | then throw("landAssetId is required") | |
439 | - | else { | |
440 | - | let bI = R(invoke(bC, "unstakeLandCallback", [bH, n], nil)) | |
441 | - | $Tuple4((ao._1 + bI._1), (ao._2 + bI._2), (ao._3 + bI._3), (ao._4 + bI._4)) | |
422 | + | func convertOldStakes () = if ((az.caller != this)) | |
423 | + | then throw("Temporarily disabled") | |
424 | + | else { | |
425 | + | let n = toString(az.caller) | |
426 | + | if ((size(az.payments) != 0)) | |
427 | + | then throw("No payments required") | |
428 | + | else { | |
429 | + | let bt = addressFromStringValue(getStringValue(D)) | |
430 | + | let bj = valueOrElse(getInteger(bt, af(n)), 0) | |
431 | + | let bB = if ((bj > 0)) | |
432 | + | then W(invoke(bt, "unstakeAcresCallback", [bj, n], nil)) | |
433 | + | else $Tuple2(0, 0) | |
434 | + | let bC = addressFromStringValue(l) | |
435 | + | let bD = getString(bC, L(n)) | |
436 | + | let bE = if (isDefined(bD)) | |
437 | + | then { | |
438 | + | let bF = split_51C(value(bD), "_") | |
439 | + | func bG (ao,bH) = if ((bH == "")) | |
440 | + | then throw("landAssetId is required") | |
441 | + | else { | |
442 | + | let bI = R(invoke(bC, "unstakeLandCallback", [bH, n], nil)) | |
443 | + | $Tuple4((ao._1 + bI._1), (ao._2 + bI._2), (ao._3 + bI._3), (ao._4 + bI._4)) | |
444 | + | } | |
445 | + | ||
446 | + | let bJ = { | |
447 | + | let aq = bF | |
448 | + | let ar = size(aq) | |
449 | + | let as = $Tuple4(0, 0, 0, 0) | |
450 | + | func at (au,av) = if ((av >= ar)) | |
451 | + | then au | |
452 | + | else bG(au, aq[av]) | |
453 | + | ||
454 | + | func aw (au,av) = if ((av >= ar)) | |
455 | + | then au | |
456 | + | else throw("List size exceeds 100") | |
457 | + | ||
458 | + | aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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) | |
442 | 459 | } | |
443 | - | ||
444 | - | let bJ = { | |
445 | - | let aq = bF | |
446 | - | let ar = size(aq) | |
447 | - | let as = $Tuple4(0, 0, 0, 0) | |
448 | - | func at (au,av) = if ((av >= ar)) | |
449 | - | then au | |
450 | - | else bG(au, aq[av]) | |
451 | - | ||
452 | - | func aw (au,av) = if ((av >= ar)) | |
453 | - | then au | |
454 | - | else throw("List size exceeds 100") | |
455 | - | ||
456 | - | aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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) | |
460 | + | let bK = invoke(bC, "unstakeLandsFinalizeCallback", [n], nil) | |
461 | + | if ((bK == bK)) | |
462 | + | then { | |
463 | + | let bu = invoke(bt, "requestAcresCallback", [(((bJ._1 + bJ._2) + bJ._3) + bJ._4)], nil) | |
464 | + | if ((bu == bu)) | |
465 | + | then { | |
466 | + | let bL = Issue("FPOWER10", "FarmingPower +10% NFT for WavesLands game", 1, 0, false) | |
467 | + | $Tuple5(bJ._1, bJ._2, bJ._3, bJ._4, [bL, ScriptTransfer(az.caller, 1, calculateAssetId(bL))]) | |
468 | + | } | |
469 | + | else throw("Strict value is not equal to itself.") | |
470 | + | } | |
471 | + | else throw("Strict value is not equal to itself.") | |
457 | 472 | } | |
458 | - | let bK = invoke(bC, "unstakeLandsFinalizeCallback", [n], nil) | |
459 | - | if ((bK == bK)) | |
460 | - | then { | |
461 | - | let bu = invoke(bt, "requestAcresCallback", [(((bJ._1 + bJ._2) + bJ._3) + bJ._4)], nil) | |
462 | - | if ((bu == bu)) | |
463 | - | then { | |
464 | - | let bL = Issue("FPOWER10", "FarmingPower +10% NFT for WavesLands game", 1, 0, false) | |
465 | - | $Tuple5(bJ._1, bJ._2, bJ._3, bJ._4, [bL, ScriptTransfer(az.caller, 1, calculateAssetId(bL))]) | |
466 | - | } | |
467 | - | else throw("Strict value is not equal to itself.") | |
468 | - | } | |
469 | - | else throw("Strict value is not equal to itself.") | |
470 | - | } | |
471 | - | else $Tuple5(0, 0, 0, 0, nil) | |
472 | - | let bM = valueOrElse(getString(bC, N(n)), "") | |
473 | - | let bN = if ((bM != "")) | |
474 | - | then V(invoke(bC, "unstakeDuckCallback", [bM, n], nil)) | |
475 | - | else $Tuple3(0, 0, 0) | |
476 | - | let bO = aA((((((((bB._1 + bE._1) + bE._2) + bE._3) + bE._4) + bN._1) + bN._2) + bN._3), n) | |
477 | - | $Tuple2((bE._5 ++ bO._1), bO._2) | |
478 | - | } | |
479 | - | } | |
473 | + | else $Tuple5(0, 0, 0, 0, nil) | |
474 | + | let bM = valueOrElse(getString(bC, N(n)), "") | |
475 | + | let bN = if ((bM != "")) | |
476 | + | then V(invoke(bC, "unstakeDuckCallback", [bM, n], nil)) | |
477 | + | else $Tuple3(0, 0, 0) | |
478 | + | let bO = aA((((((((bB._1 + bE._1) + bE._2) + bE._3) + bE._4) + bN._1) + bN._2) + bN._3), n) | |
479 | + | $Tuple2((bE._5 ++ bO._1), bO._2) | |
480 | + | } | |
481 | + | } | |
480 | 482 | ||
481 | 483 | ||
482 | 484 |
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 base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
24 | 24 | else if ((base58'2T' == j)) | |
25 | 25 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
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 "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
33 | 33 | else if ((base58'2T' == j)) | |
34 | 34 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
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 "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
42 | 42 | else if ((base58'2T' == j)) | |
43 | 43 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
44 | 44 | else throw("Unknown chain") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | func m (n,o) = valueOrErrorMessage(getString(n, o), makeString(["mandatory ", toString(n), ".", o, " is not defined"], "")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | let p = 1 | |
51 | 51 | ||
52 | 52 | let q = 2 | |
53 | 53 | ||
54 | 54 | let r = 5 | |
55 | 55 | ||
56 | 56 | func s () = "%s__restConfig" | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func t () = "%s__rest2Addr" | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func u (v) = split_4C(m(v, s()), a) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func w (x,y) = valueOrErrorMessage(addressFromString(x[y]), ("Rest cfg doesn't contain address at index " + toString(y))) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | let z = addressFromStringValue(valueOrElse(getString(this, t()), k)) | |
69 | 69 | ||
70 | 70 | let x = u(z) | |
71 | 71 | ||
72 | 72 | let A = w(x, p) | |
73 | 73 | ||
74 | 74 | let B = w(x, q) | |
75 | 75 | ||
76 | 76 | let C = w(x, r) | |
77 | 77 | ||
78 | 78 | let D = "oldAcresContract" | |
79 | 79 | ||
80 | 80 | func E () = "contractsBlocked" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F (G) = ("lastTxIdByUser_" + G) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | let H = "acresIssuedAmount" | |
87 | 87 | ||
88 | 88 | let I = "acresAssetId" | |
89 | 89 | ||
90 | 90 | let J = valueOrErrorMessage(getBinary(A, I), "ACRES is not issued yet") | |
91 | 91 | ||
92 | 92 | func K (G) = ("acresStakedTimeByUser_" + G) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func L (M) = ("stakedLandsByOwner_" + M) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func N (M) = ("stakedDuckByOwner_" + M) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func O (P) = { | |
102 | 102 | let j = P | |
103 | 103 | if ($isInstanceOf(j, "Int")) | |
104 | 104 | then { | |
105 | 105 | let Q = j | |
106 | 106 | Q | |
107 | 107 | } | |
108 | 108 | else throw("fail to cast into Int") | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func R (S) = { | |
113 | 113 | let j = S | |
114 | 114 | if ($isInstanceOf(j, "(Int, Int, Int, Int, Int)")) | |
115 | 115 | then { | |
116 | 116 | let T = j | |
117 | 117 | T | |
118 | 118 | } | |
119 | 119 | else throw("fail to cast into (Int, Int, Int, Int, Int)") | |
120 | 120 | } | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func U (S) = { | |
124 | 124 | let j = S | |
125 | 125 | if ($isInstanceOf(j, "(Int, Int, Int, Int)")) | |
126 | 126 | then { | |
127 | 127 | let T = j | |
128 | 128 | T | |
129 | 129 | } | |
130 | 130 | else throw("fail to cast into (Int, Int, Int, Int)") | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func V (S) = { | |
135 | 135 | let j = S | |
136 | 136 | if ($isInstanceOf(j, "(Int, Int, Int)")) | |
137 | 137 | then { | |
138 | 138 | let T = j | |
139 | 139 | T | |
140 | 140 | } | |
141 | 141 | else throw("fail to cast into (Int, Int, Int)") | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func W (S) = { | |
146 | 146 | let j = S | |
147 | 147 | if ($isInstanceOf(j, "(Int, Int)")) | |
148 | 148 | then { | |
149 | 149 | let T = j | |
150 | 150 | T | |
151 | 151 | } | |
152 | 152 | else throw("fail to cast into (Int, Int)") | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func X (S,Y) = { | |
157 | 157 | let Z = pow(10, 0, Y, 0, 0, DOWN) | |
158 | 158 | let aa = toString((S % Z)) | |
159 | 159 | let ab = drop(toString(Z), (1 + size(aa))) | |
160 | 160 | (((toString((S / Z)) + ".") + ab) + aa) | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | let ac = 100000000 | |
165 | 165 | ||
166 | 166 | let ad = "wlg_issuedAmount" | |
167 | 167 | ||
168 | 168 | let ae = "zbill_issuedAmount" | |
169 | 169 | ||
170 | 170 | func af (G) = ("acresStakedAmountByUser_" + G) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func ag (G) = ("farmingPowerByUser_" + G) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | let ah = "acresStakedAmountTotal" | |
177 | 177 | ||
178 | 178 | let ai = "totalFarmingPower" | |
179 | 179 | ||
180 | 180 | let aj = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
181 | 181 | ||
182 | 182 | func ak (al) = { | |
183 | 183 | let am = ((al + 99999999) / ac) | |
184 | 184 | func an (ao,ap) = if ((ap >= am)) | |
185 | 185 | then ao | |
186 | 186 | else (ao + 1) | |
187 | 187 | ||
188 | 188 | let aq = aj | |
189 | 189 | let ar = size(aq) | |
190 | 190 | let as = 0 | |
191 | 191 | func at (au,av) = if ((av >= ar)) | |
192 | 192 | then au | |
193 | 193 | else an(au, aq[av]) | |
194 | 194 | ||
195 | 195 | func aw (au,av) = if ((av >= ar)) | |
196 | 196 | then au | |
197 | 197 | else throw("List size exceeds 10") | |
198 | 198 | ||
199 | 199 | aw(at(at(at(at(at(at(at(at(at(at(as, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func ax (al) = ((al * 20) * (ak(al) + 4)) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func ay (az) = if (if ((az.originCaller != z)) | |
207 | 207 | then valueOrElse(getBoolean(E()), false) | |
208 | 208 | else false) | |
209 | 209 | then throw("Contracts are under maintenance") | |
210 | 210 | else [StringEntry(F(toString(az.originCaller)), toBase58String(az.transactionId))] | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aA (aB,n) = { | |
214 | 214 | let aC = invoke(B, "onStakeUnstakeLand", [n], nil) | |
215 | 215 | if ((aC == aC)) | |
216 | 216 | then { | |
217 | 217 | let aD = lastBlock.timestamp | |
218 | 218 | let aE = K(n) | |
219 | 219 | let aF = af(n) | |
220 | 220 | let aG = valueOrElse(getInteger(aF), 0) | |
221 | 221 | if (if ((0 > aB)) | |
222 | 222 | then (0 > (aG + aB)) | |
223 | 223 | else false) | |
224 | 224 | then throw(((("You have only " + X(aG, 8)) + " ACRES staked, tried to unstake ") + X(-(aB), 8))) | |
225 | 225 | else { | |
226 | 226 | let aH = (aG + aB) | |
227 | 227 | let aI = valueOrElse(getInteger(ah), 0) | |
228 | 228 | let aJ = ag(n) | |
229 | 229 | let aK = valueOrElse(getInteger(aJ), 0) | |
230 | 230 | let aL = ax(aH) | |
231 | 231 | let aM = valueOrElse(getInteger(ai), 0) | |
232 | 232 | $Tuple2([IntegerEntry(aE, lastBlock.timestamp), IntegerEntry(aF, aH), IntegerEntry(ah, (aI + aB)), IntegerEntry(aJ, aL), IntegerEntry(ai, ((aM - aK) + aL))], aC) | |
233 | 233 | } | |
234 | 234 | } | |
235 | 235 | else throw("Strict value is not equal to itself.") | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func aN (aO) = { | |
240 | 240 | let aP = valueOrErrorMessage(getInteger(B, ad), "WLGOLD is not issued yet") | |
241 | 241 | let aQ = assetBalance(B, i) | |
242 | 242 | let aR = (assetBalance(A, i) - aO) | |
243 | 243 | let aS = (assetBalance(C, i) + valueOrElse(getInteger(C, ae), 0)) | |
244 | 244 | let aT = ((aR + aQ) + aS) | |
245 | 245 | fraction(aT, d, aP) | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | let aU = "lastAcresSellTime" | |
250 | 250 | ||
251 | 251 | let aV = "lastLimitLeft" | |
252 | 252 | ||
253 | 253 | let aW = "lastSavedTVL" | |
254 | 254 | ||
255 | 255 | func aX () = { | |
256 | 256 | let aQ = assetBalance(B, i) | |
257 | 257 | let aR = assetBalance(this, i) | |
258 | 258 | let aS = (assetBalance(C, i) + valueOrElse(getInteger(C, ae), 0)) | |
259 | 259 | let aY = ((aR + aQ) + aS) | |
260 | 260 | let aZ = (aY / g) | |
261 | 261 | let ba = valueOrElse(getInteger(aV), aZ) | |
262 | 262 | let bb = valueOrElse(getInteger(aW), aY) | |
263 | 263 | let bc = valueOrElse(getInteger(aU), 0) | |
264 | 264 | let aD = lastBlock.timestamp | |
265 | 265 | let bd = (ba + fraction(bb, (aD - bc), (e * g))) | |
266 | 266 | let be = min([bd, aZ]) | |
267 | 267 | $Tuple2([IntegerEntry(aV, be), IntegerEntry(aW, bb), IntegerEntry(aU, aD)], (be * f)) | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | @Callable(az) | |
272 | 272 | func saveLastTx () = if (!(containsElement([B], az.caller))) | |
273 | 273 | then throw("Access denied") | |
274 | 274 | else $Tuple2(ay(az), 42) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(az) | |
279 | 279 | func constructorV1 (bf,bg) = if ((az.caller != this)) | |
280 | 280 | then throw("Permission denied") | |
281 | 281 | else { | |
282 | 282 | let bh = addressFromStringValue(bg) | |
283 | 283 | [IntegerEntry(H, getIntegerValue(bh, H)), BinaryEntry(I, getBinaryValue(bh, I)), StringEntry(t(), bf), StringEntry(D, bg)] | |
284 | 284 | } | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | ||
288 | 288 | @Callable(az) | |
289 | 289 | func setBlocked (bi) = if ((az.caller != this)) | |
290 | 290 | then throw("permission denied") | |
291 | 291 | else [BooleanEntry(E(), bi)] | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | ||
295 | 295 | @Callable(az) | |
296 | 296 | func unstakeAcres (bj) = { | |
297 | 297 | let bk = ay(az) | |
298 | 298 | if ((0 >= bj)) | |
299 | 299 | then throw("Amount should be positive") | |
300 | 300 | else { | |
301 | 301 | let n = toString(az.caller) | |
302 | 302 | if ((size(az.payments) != 0)) | |
303 | 303 | then throw("No payments required") | |
304 | 304 | else { | |
305 | 305 | let bl = aA(-(bj), n) | |
306 | 306 | let bm = bl._1 | |
307 | 307 | let bn = bl._2 | |
308 | 308 | $Tuple2(((bm :+ ScriptTransfer(az.caller, bj, J)) ++ bk), bn) | |
309 | 309 | } | |
310 | 310 | } | |
311 | 311 | } | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(az) | |
316 | 316 | func stakeAcres () = { | |
317 | 317 | let bk = ay(az) | |
318 | 318 | let n = toString(az.caller) | |
319 | 319 | if ((size(az.payments) != 1)) | |
320 | 320 | then throw("exactly 1 payment must be attached") | |
321 | 321 | else { | |
322 | 322 | let bo = az.payments[0] | |
323 | 323 | let aB = bo.amount | |
324 | 324 | if (if (!(isDefined(bo.assetId))) | |
325 | 325 | then true | |
326 | 326 | else (value(bo.assetId) != J)) | |
327 | 327 | then throw("ACRES payments only!") | |
328 | 328 | else { | |
329 | 329 | let bp = aA(aB, n) | |
330 | 330 | let bm = bp._1 | |
331 | 331 | let bn = bp._2 | |
332 | 332 | $Tuple2((bm ++ bk), bn) | |
333 | 333 | } | |
334 | 334 | } | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | ||
339 | 339 | @Callable(az) | |
340 | 340 | func buyAcres () = { | |
341 | 341 | let bk = ay(az) | |
342 | 342 | if ((size(az.payments) != 1)) | |
343 | 343 | then throw("exactly 1 payment must be attached") | |
344 | 344 | else { | |
345 | 345 | let bo = az.payments[0] | |
346 | 346 | let bq = bo.amount | |
347 | 347 | if (if (!(isDefined(bo.assetId))) | |
348 | 348 | then true | |
349 | 349 | else (value(bo.assetId) != i)) | |
350 | 350 | then throw("USDT payments only!") | |
351 | 351 | else if ((b > bq)) | |
352 | 352 | then throw((("Min payment should be " + X(b, 6)) + " USDT")) | |
353 | 353 | else { | |
354 | 354 | let br = (bq * f) | |
355 | 355 | let bs = fraction(bq, d, aN(bq)) | |
356 | 356 | let bt = addressFromStringValue(getStringValue(D)) | |
357 | 357 | let bu = invoke(bt, "requestAcresCallback", [br], nil) | |
358 | 358 | if ((bu == bu)) | |
359 | 359 | then { | |
360 | 360 | let bv = O(invoke(B, "burnWlgold", [bs], nil)) | |
361 | 361 | $Tuple2(([ScriptTransfer(az.caller, br, J)] ++ bk), bv) | |
362 | 362 | } | |
363 | 363 | else throw("Strict value is not equal to itself.") | |
364 | 364 | } | |
365 | 365 | } | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | ||
370 | 370 | @Callable(az) | |
371 | 371 | func buyAcresREADONLY (bq) = { | |
372 | 372 | let br = (bq * f) | |
373 | 373 | let bw = fraction(bq, d, aN(bq)) | |
374 | 374 | $Tuple2(nil, [br, b, br, bw]) | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(az) | |
380 | 380 | func sellAcres () = { | |
381 | 381 | let bk = ay(az) | |
382 | 382 | if ((size(az.payments) != 1)) | |
383 | 383 | then throw("exactly 1 payment must be attached") | |
384 | 384 | else { | |
385 | 385 | let bo = az.payments[0] | |
386 | 386 | let br = bo.amount | |
387 | 387 | if (if (!(isDefined(bo.assetId))) | |
388 | 388 | then true | |
389 | 389 | else (value(bo.assetId) != J)) | |
390 | 390 | then throw("ACRES payments only!") | |
391 | 391 | else if ((c > br)) | |
392 | 392 | then throw((("Min payment should be " + X(c, 8)) + " ACRES")) | |
393 | 393 | else { | |
394 | 394 | let G = toString(az.caller) | |
395 | 395 | let bx = aX() | |
396 | 396 | let by = bx._1 | |
397 | 397 | let bz = bx._2 | |
398 | 398 | if ((br > bz)) | |
399 | 399 | then throw((("You can sell max " + X(bz, 8)) + " ACRES")) | |
400 | 400 | else { | |
401 | 401 | let bq = ((br / f) / 2) | |
402 | 402 | $Tuple2(((by :+ ScriptTransfer(az.caller, bq, i)) ++ bk), bq) | |
403 | 403 | } | |
404 | 404 | } | |
405 | 405 | } | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(az) | |
411 | 411 | func sellAcresREADONLY (n,br) = { | |
412 | 412 | let bA = aX() | |
413 | 413 | let by = bA._1 | |
414 | 414 | let bz = bA._2 | |
415 | 415 | let bq = ((br / f) / 2) | |
416 | 416 | $Tuple2(nil, [bq, c, bz, 0]) | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(az) | |
422 | - | func convertOldStakes () = { | |
423 | - | let n = toString(az.caller) | |
424 | - | if ((size(az.payments) != 0)) | |
425 | - | then throw("No payments required") | |
426 | - | else { | |
427 | - | let bt = addressFromStringValue(getStringValue(D)) | |
428 | - | let bj = valueOrElse(getInteger(bt, af(n)), 0) | |
429 | - | let bB = if ((bj > 0)) | |
430 | - | then W(invoke(bt, "unstakeAcresCallback", [bj, n], nil)) | |
431 | - | else $Tuple2(0, 0) | |
432 | - | let bC = addressFromStringValue(l) | |
433 | - | let bD = getString(bC, L(n)) | |
434 | - | let bE = if (isDefined(bD)) | |
435 | - | then { | |
436 | - | let bF = split_51C(value(bD), "_") | |
437 | - | func bG (ao,bH) = if ((bH == "")) | |
438 | - | then throw("landAssetId is required") | |
439 | - | else { | |
440 | - | let bI = R(invoke(bC, "unstakeLandCallback", [bH, n], nil)) | |
441 | - | $Tuple4((ao._1 + bI._1), (ao._2 + bI._2), (ao._3 + bI._3), (ao._4 + bI._4)) | |
422 | + | func convertOldStakes () = if ((az.caller != this)) | |
423 | + | then throw("Temporarily disabled") | |
424 | + | else { | |
425 | + | let n = toString(az.caller) | |
426 | + | if ((size(az.payments) != 0)) | |
427 | + | then throw("No payments required") | |
428 | + | else { | |
429 | + | let bt = addressFromStringValue(getStringValue(D)) | |
430 | + | let bj = valueOrElse(getInteger(bt, af(n)), 0) | |
431 | + | let bB = if ((bj > 0)) | |
432 | + | then W(invoke(bt, "unstakeAcresCallback", [bj, n], nil)) | |
433 | + | else $Tuple2(0, 0) | |
434 | + | let bC = addressFromStringValue(l) | |
435 | + | let bD = getString(bC, L(n)) | |
436 | + | let bE = if (isDefined(bD)) | |
437 | + | then { | |
438 | + | let bF = split_51C(value(bD), "_") | |
439 | + | func bG (ao,bH) = if ((bH == "")) | |
440 | + | then throw("landAssetId is required") | |
441 | + | else { | |
442 | + | let bI = R(invoke(bC, "unstakeLandCallback", [bH, n], nil)) | |
443 | + | $Tuple4((ao._1 + bI._1), (ao._2 + bI._2), (ao._3 + bI._3), (ao._4 + bI._4)) | |
444 | + | } | |
445 | + | ||
446 | + | let bJ = { | |
447 | + | let aq = bF | |
448 | + | let ar = size(aq) | |
449 | + | let as = $Tuple4(0, 0, 0, 0) | |
450 | + | func at (au,av) = if ((av >= ar)) | |
451 | + | then au | |
452 | + | else bG(au, aq[av]) | |
453 | + | ||
454 | + | func aw (au,av) = if ((av >= ar)) | |
455 | + | then au | |
456 | + | else throw("List size exceeds 100") | |
457 | + | ||
458 | + | aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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) | |
442 | 459 | } | |
443 | - | ||
444 | - | let bJ = { | |
445 | - | let aq = bF | |
446 | - | let ar = size(aq) | |
447 | - | let as = $Tuple4(0, 0, 0, 0) | |
448 | - | func at (au,av) = if ((av >= ar)) | |
449 | - | then au | |
450 | - | else bG(au, aq[av]) | |
451 | - | ||
452 | - | func aw (au,av) = if ((av >= ar)) | |
453 | - | then au | |
454 | - | else throw("List size exceeds 100") | |
455 | - | ||
456 | - | aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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) | |
460 | + | let bK = invoke(bC, "unstakeLandsFinalizeCallback", [n], nil) | |
461 | + | if ((bK == bK)) | |
462 | + | then { | |
463 | + | let bu = invoke(bt, "requestAcresCallback", [(((bJ._1 + bJ._2) + bJ._3) + bJ._4)], nil) | |
464 | + | if ((bu == bu)) | |
465 | + | then { | |
466 | + | let bL = Issue("FPOWER10", "FarmingPower +10% NFT for WavesLands game", 1, 0, false) | |
467 | + | $Tuple5(bJ._1, bJ._2, bJ._3, bJ._4, [bL, ScriptTransfer(az.caller, 1, calculateAssetId(bL))]) | |
468 | + | } | |
469 | + | else throw("Strict value is not equal to itself.") | |
470 | + | } | |
471 | + | else throw("Strict value is not equal to itself.") | |
457 | 472 | } | |
458 | - | let bK = invoke(bC, "unstakeLandsFinalizeCallback", [n], nil) | |
459 | - | if ((bK == bK)) | |
460 | - | then { | |
461 | - | let bu = invoke(bt, "requestAcresCallback", [(((bJ._1 + bJ._2) + bJ._3) + bJ._4)], nil) | |
462 | - | if ((bu == bu)) | |
463 | - | then { | |
464 | - | let bL = Issue("FPOWER10", "FarmingPower +10% NFT for WavesLands game", 1, 0, false) | |
465 | - | $Tuple5(bJ._1, bJ._2, bJ._3, bJ._4, [bL, ScriptTransfer(az.caller, 1, calculateAssetId(bL))]) | |
466 | - | } | |
467 | - | else throw("Strict value is not equal to itself.") | |
468 | - | } | |
469 | - | else throw("Strict value is not equal to itself.") | |
470 | - | } | |
471 | - | else $Tuple5(0, 0, 0, 0, nil) | |
472 | - | let bM = valueOrElse(getString(bC, N(n)), "") | |
473 | - | let bN = if ((bM != "")) | |
474 | - | then V(invoke(bC, "unstakeDuckCallback", [bM, n], nil)) | |
475 | - | else $Tuple3(0, 0, 0) | |
476 | - | let bO = aA((((((((bB._1 + bE._1) + bE._2) + bE._3) + bE._4) + bN._1) + bN._2) + bN._3), n) | |
477 | - | $Tuple2((bE._5 ++ bO._1), bO._2) | |
478 | - | } | |
479 | - | } | |
473 | + | else $Tuple5(0, 0, 0, 0, nil) | |
474 | + | let bM = valueOrElse(getString(bC, N(n)), "") | |
475 | + | let bN = if ((bM != "")) | |
476 | + | then V(invoke(bC, "unstakeDuckCallback", [bM, n], nil)) | |
477 | + | else $Tuple3(0, 0, 0) | |
478 | + | let bO = aA((((((((bB._1 + bE._1) + bE._2) + bE._3) + bE._4) + bN._1) + bN._2) + bN._3), n) | |
479 | + | $Tuple2((bE._5 ++ bO._1), bO._2) | |
480 | + | } | |
481 | + | } | |
480 | 482 | ||
481 | 483 | ||
482 | 484 | ||
483 | 485 | @Callable(az) | |
484 | 486 | func unstakeLandsREADONLY (n) = { | |
485 | 487 | let bC = addressFromStringValue(l) | |
486 | 488 | let bD = getString(bC, L(n)) | |
487 | 489 | let bE = if (isDefined(bD)) | |
488 | 490 | then { | |
489 | 491 | let bF = split_51C(value(bD), "_") | |
490 | 492 | func bG (ao,bH) = if ((bH == "")) | |
491 | 493 | then throw("landAssetId is required") | |
492 | 494 | else { | |
493 | 495 | let bI = U(invoke(bC, "unstakeLandREADONLY", [bH, n], nil)) | |
494 | 496 | $Tuple4((ao._1 + bI._1), (ao._2 + bI._2), (ao._3 + bI._3), (ao._4 + bI._4)) | |
495 | 497 | } | |
496 | 498 | ||
497 | 499 | let aq = bF | |
498 | 500 | let ar = size(aq) | |
499 | 501 | let as = $Tuple4(0, 0, 0, 0) | |
500 | 502 | func at (au,av) = if ((av >= ar)) | |
501 | 503 | then au | |
502 | 504 | else bG(au, aq[av]) | |
503 | 505 | ||
504 | 506 | func aw (au,av) = if ((av >= ar)) | |
505 | 507 | then au | |
506 | 508 | else throw("List size exceeds 100") | |
507 | 509 | ||
508 | 510 | aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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) | |
509 | 511 | } | |
510 | 512 | else $Tuple4(0, 0, 0, 0) | |
511 | 513 | $Tuple2(nil, bE) | |
512 | 514 | } | |
513 | 515 | ||
514 | 516 | ||
515 | 517 | ||
516 | 518 | @Callable(az) | |
517 | 519 | func stakeAcresCallback (G) = if ((az.caller != addressFromStringValue(l))) | |
518 | 520 | then throw("Permission denied") | |
519 | 521 | else aA(az.payments[0].amount, G) | |
520 | 522 | ||
521 | 523 | ||
522 | 524 | ||
523 | 525 | @Callable(az) | |
524 | 526 | func simulateStakeAcresREADONLY (n,bP) = { | |
525 | 527 | let aF = af(n) | |
526 | 528 | let aH = (valueOrElse(getInteger(aF), 0) + bP) | |
527 | 529 | let aI = valueOrElse(getInteger(ah), 0) | |
528 | 530 | let aJ = ag(n) | |
529 | 531 | let aK = valueOrElse(getInteger(aJ), 0) | |
530 | 532 | let aL = ax(aH) | |
531 | 533 | let aM = valueOrElse(getInteger(ai), 0) | |
532 | 534 | let bQ = ((aM - aK) + aL) | |
533 | 535 | $Tuple2(nil, [aK, aL, aM, bQ]) | |
534 | 536 | } | |
535 | 537 | ||
536 | 538 |
github/deemru/w8io/026f985 49.18 ms ◑