tx · hi7ChRYMwnJXxPhmvyeU58prNqLe6gbc3x4bHrAyFTb 3N63NoZoyyKJNUah7rUPRqDKgWT17QsWTr2: -0.01400000 Waves 2021.06.11 14:39 [1565650] smart account 3N63NoZoyyKJNUah7rUPRqDKgWT17QsWTr2 > SELF 0.00000000 Waves
{ "type": 13, "id": "hi7ChRYMwnJXxPhmvyeU58prNqLe6gbc3x4bHrAyFTb", "fee": 1400000, "feeAssetId": null, "timestamp": 1623411672110, "version": 2, "chainId": 84, "sender": "3N63NoZoyyKJNUah7rUPRqDKgWT17QsWTr2", "senderPublicKey": "96iNAhirmCimToEQLtYjUm3MNf4TmkD9rBBTYsrRmqoK", "proofs": [ "mmj7XS2RgDLpGEa5AMEJiwfCERbMt86qoBeBkTKNSUCr3NaGe1H8pRX2voCdseVQJweJTj1PAzEzKF1x15zTQvb" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABTAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda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AACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5OzNb9w==", "height": 1565650, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 44vT9SyrcuFfQUUHo3TkBrzgAYQUssDvQXAdZaRLc9b1 Next: N7BbLWWFdE6kT7kJj2CEwNBHcJrRSGiSVad7FcVZEr3 Diff:
Old | New | Differences | |
---|---|---|---|
15 | 15 | ||
16 | 16 | let g = "_previous_pool_fraction_reward" | |
17 | 17 | ||
18 | - | let h = " | |
18 | + | let h = "total_reward_per_block_current" | |
19 | 19 | ||
20 | - | let i = "total_reward_per_block_ | |
20 | + | let i = "total_reward_per_block_previous" | |
21 | 21 | ||
22 | - | let j = " | |
22 | + | let j = "reward_update_height" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "_last_interest" | |
25 | 25 | ||
26 | - | let l = "_last_interest" | |
26 | + | let l = "_last_interest_height" | |
27 | 27 | ||
28 | - | let m = "_ | |
28 | + | let m = "_share_tokens_locked" | |
29 | 29 | ||
30 | - | let n = "_ | |
30 | + | let n = "_last_interest" | |
31 | 31 | ||
32 | - | let o = "_ | |
32 | + | let o = "SWOP_id" | |
33 | 33 | ||
34 | - | let p = "SWOP_ | |
34 | + | let p = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | - | let q = "_SWOP_claimed_amount" | |
36 | + | let q = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | - | let r = "_SWOP | |
38 | + | let r = "_available_SWOP" | |
39 | 39 | ||
40 | - | let s = "_ | |
40 | + | let s = "farming_start_height" | |
41 | 41 | ||
42 | - | let t = " | |
42 | + | let t = "apy" | |
43 | 43 | ||
44 | - | let u = " | |
44 | + | let u = "previous_total_vote_SWOP" | |
45 | 45 | ||
46 | - | let v = " | |
46 | + | let v = "swop_year_emission" | |
47 | 47 | ||
48 | - | let w = " | |
48 | + | let w = "A_asset_balance" | |
49 | 49 | ||
50 | - | let x = " | |
50 | + | let x = "B_asset_balance" | |
51 | 51 | ||
52 | - | let y = " | |
52 | + | let y = "_harvest_pool_activeVote_struc" | |
53 | 53 | ||
54 | - | let z = "_harvest_pool_activeVote_struc" | |
54 | + | let z = "_harvest_user_pool_activeVote_struc" | |
55 | 55 | ||
56 | - | let A = "_harvest | |
56 | + | let A = "share_limit_on_first_harvest" | |
57 | 57 | ||
58 | - | let B = " | |
58 | + | let B = "A_asset_id" | |
59 | 59 | ||
60 | - | let C = " | |
60 | + | let C = "B_asset_id" | |
61 | 61 | ||
62 | - | let D = " | |
62 | + | let D = "first_harvest_height" | |
63 | 63 | ||
64 | - | let E = "first_harvest | |
64 | + | let E = "first_harvest" | |
65 | 65 | ||
66 | - | let F = | |
66 | + | let F = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
67 | 67 | ||
68 | - | let G = | |
68 | + | let G = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
69 | 69 | ||
70 | - | let H = | |
70 | + | let H = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ') | |
71 | 71 | ||
72 | - | let I = Address(base58' | |
72 | + | let I = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
73 | 73 | ||
74 | - | let J = | |
74 | + | let J = 10106 | |
75 | 75 | ||
76 | - | let K = | |
76 | + | let K = 10000000000 | |
77 | 77 | ||
78 | - | let L = | |
78 | + | let L = 10 | |
79 | 79 | ||
80 | - | let M = | |
80 | + | let M = 1000 | |
81 | 81 | ||
82 | - | let N = | |
82 | + | let N = 100000 | |
83 | 83 | ||
84 | - | let O = | |
84 | + | let O = 1000000 | |
85 | 85 | ||
86 | - | let P = | |
86 | + | let P = 100000000 | |
87 | 87 | ||
88 | - | let Q = | |
88 | + | let Q = 100000000000 | |
89 | 89 | ||
90 | - | let R = 1000000 | |
91 | - | ||
92 | - | let S = 100000000 | |
93 | - | ||
94 | - | let T = 100000000000 | |
95 | - | ||
96 | - | func U (V) = getStringValue(V, C) | |
90 | + | func R (S) = getStringValue(S, B) | |
97 | 91 | ||
98 | 92 | ||
99 | - | func | |
93 | + | func T (S) = getStringValue(S, C) | |
100 | 94 | ||
101 | 95 | ||
102 | - | func | |
96 | + | func U (S) = if ((R(S) == "WAVES")) | |
103 | 97 | then unit | |
104 | - | else fromBase58String( | |
98 | + | else fromBase58String(R(S)) | |
105 | 99 | ||
106 | 100 | ||
107 | - | func | |
101 | + | func V (S) = if ((T(S) == "WAVES")) | |
108 | 102 | then unit | |
109 | - | else fromBase58String( | |
103 | + | else fromBase58String(T(S)) | |
110 | 104 | ||
111 | 105 | ||
112 | - | let | |
106 | + | let W = "base_period" | |
113 | 107 | ||
114 | - | let | |
108 | + | let X = "period_length" | |
115 | 109 | ||
116 | - | let | |
110 | + | let Y = "start_height" | |
117 | 111 | ||
118 | - | let | |
112 | + | let Z = "first_harvest_height" | |
119 | 113 | ||
120 | - | let | |
114 | + | let aa = "duration_full_vote_power" | |
121 | 115 | ||
122 | - | let | |
116 | + | let ab = "min_vote_power" | |
123 | 117 | ||
124 | - | let | |
118 | + | let ac = valueOrErrorMessage(getInteger(H, W), "Empty kBasePeriod") | |
125 | 119 | ||
126 | - | let | |
120 | + | let ad = valueOrErrorMessage(getInteger(H, Y), "Empty kStartHeight") | |
127 | 121 | ||
128 | - | let | |
122 | + | let ae = valueOrErrorMessage(getInteger(H, X), "Empty kPeriodLength") | |
129 | 123 | ||
130 | - | let | |
124 | + | let af = valueOrErrorMessage(getInteger(H, aa), "Empty kDurationFullVotePower") | |
131 | 125 | ||
132 | - | let | |
126 | + | let ag = valueOrErrorMessage(getInteger(H, ab), "Empty kMinVotePower") | |
133 | 127 | ||
134 | - | let | |
128 | + | let ah = (ac + ((height - ad) / ae)) | |
135 | 129 | ||
136 | - | func | |
130 | + | func ai (S) = valueOrElse(getIntegerValue(S, A), 0) | |
137 | 131 | ||
138 | 132 | ||
139 | - | let | |
133 | + | let aj = getIntegerValue(this, t) | |
140 | 134 | ||
141 | - | let | |
135 | + | let ak = getIntegerValue(this, v) | |
142 | 136 | ||
143 | - | func | |
144 | - | let | |
145 | - | if ($isInstanceOf( | |
137 | + | func al (S) = { | |
138 | + | let am = U(S) | |
139 | + | if ($isInstanceOf(am, "ByteVector")) | |
146 | 140 | then { | |
147 | - | let | |
148 | - | value(assetInfo( | |
141 | + | let an = am | |
142 | + | value(assetInfo(an)).name | |
149 | 143 | } | |
150 | - | else if ($isInstanceOf( | |
144 | + | else if ($isInstanceOf(am, "Unit")) | |
151 | 145 | then { | |
152 | - | let | |
146 | + | let ao = am | |
153 | 147 | "WAVES" | |
154 | 148 | } | |
155 | 149 | else throw("Match error") | |
156 | 150 | } | |
157 | 151 | ||
158 | 152 | ||
159 | - | func | |
160 | - | let | |
161 | - | if ($isInstanceOf( | |
153 | + | func ap (S) = { | |
154 | + | let am = V(S) | |
155 | + | if ($isInstanceOf(am, "ByteVector")) | |
162 | 156 | then { | |
163 | - | let | |
164 | - | value(assetInfo( | |
157 | + | let an = am | |
158 | + | value(assetInfo(an)).name | |
165 | 159 | } | |
166 | - | else if ($isInstanceOf( | |
160 | + | else if ($isInstanceOf(am, "Unit")) | |
167 | 161 | then { | |
168 | - | let | |
162 | + | let ao = am | |
169 | 163 | "WAVES" | |
170 | 164 | } | |
171 | 165 | else throw("Match error") | |
172 | 166 | } | |
173 | 167 | ||
174 | 168 | ||
175 | - | let | |
169 | + | let aq = fromBase58String(getStringValue(this, o)) | |
176 | 170 | ||
177 | - | func | |
171 | + | func ar (S) = valueOrElse(getBoolean(S, E), false) | |
178 | 172 | ||
179 | 173 | ||
180 | - | func | |
174 | + | func as (S) = valueOrElse(getInteger(S, D), 0) | |
181 | 175 | ||
182 | 176 | ||
183 | - | func | |
177 | + | func at (S) = valueOrErrorMessage(getInteger(S, w), ("No data on the key: " + w)) | |
184 | 178 | ||
185 | 179 | ||
186 | - | func | |
180 | + | func au (S) = valueOrErrorMessage(getInteger(S, x), ("No data on the key: " + x)) | |
187 | 181 | ||
188 | 182 | ||
189 | - | func | |
183 | + | func av (S) = valueOrErrorMessage(getInteger(S, e), ("No data on the key: " + e)) | |
190 | 184 | ||
191 | 185 | ||
192 | - | func | |
186 | + | func aw (S) = valueOrErrorMessage(getInteger(this, (S + d)), (("No data on the key: " + S) + d)) | |
193 | 187 | ||
194 | 188 | ||
195 | - | func | |
189 | + | func ax (S) = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
196 | 190 | ||
197 | 191 | ||
198 | - | func | |
199 | - | let | |
200 | - | if ($isInstanceOf( | |
192 | + | func ay (az) = { | |
193 | + | let am = az | |
194 | + | if ($isInstanceOf(am, "ByteVector")) | |
201 | 195 | then { | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | $Tuple3( | |
196 | + | let an = am | |
197 | + | let aA = toBase58String(an) | |
198 | + | let aB = valueOrErrorMessage(assetInfo(an), (("Asset " + aA) + " doesn't exist")) | |
199 | + | $Tuple3(aA, aB.name, aB.decimals) | |
206 | 200 | } | |
207 | - | else if ($isInstanceOf( | |
201 | + | else if ($isInstanceOf(am, "Unit")) | |
208 | 202 | then { | |
209 | - | let | |
203 | + | let ao = am | |
210 | 204 | $Tuple3("WAVES", "WAVES", 8) | |
211 | 205 | } | |
212 | 206 | else throw("Match error") | |
213 | 207 | } | |
214 | 208 | ||
215 | 209 | ||
216 | - | func | |
217 | - | let | |
218 | - | let | |
219 | - | let | |
220 | - | pow(10, 0, | |
210 | + | func aC (aD,aE) = { | |
211 | + | let aF = value(assetInfo(aD)).decimals | |
212 | + | let aG = value(assetInfo(aE)).decimals | |
213 | + | let aH = ((aG - aF) + 8) | |
214 | + | pow(10, 0, aH, 0, 0, HALFDOWN) | |
221 | 215 | } | |
222 | 216 | ||
223 | 217 | ||
224 | - | func | |
218 | + | func aI (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + r)), 0) | |
225 | 219 | ||
226 | 220 | ||
227 | - | func aN (V) = { | |
228 | - | let aO = valueOrErrorMessage(getInteger(I, i), ((("No data on the key: " + i) + " at address ") + toString(I))) | |
229 | - | let aP = valueOrErrorMessage(getInteger(I, j), ((("No data on the key: " + j) + " at address ") + toString(I))) | |
230 | - | let aQ = valueOrErrorMessage(getInteger(I, (V + f)), (((("No data on the key: " + V) + f) + " at address ") + toString(I))) | |
231 | - | let aR = valueOrErrorMessage(getInteger(I, k), ((("No data on the key: " + k) + " at address ") + toString(I))) | |
232 | - | let aS = valueOrElse(getInteger(I, (V + h)), 0) | |
233 | - | let aT = valueOrErrorMessage(getInteger(I, (V + g)), (((("No data on the key: " + V) + g) + " at address ") + toString(I))) | |
234 | - | let aU = fraction(aO, aQ, N) | |
235 | - | let aV = fraction(aP, aT, N) | |
236 | - | if (if ((aU > aO)) | |
221 | + | func aK (S) = { | |
222 | + | let aL = valueOrErrorMessage(getInteger(F, h), ((("No data on the key: " + h) + " at address ") + toString(F))) | |
223 | + | let aM = valueOrErrorMessage(getInteger(F, i), ((("No data on the key: " + i) + " at address ") + toString(F))) | |
224 | + | let aN = valueOrErrorMessage(getInteger(F, (S + f)), (((("No data on the key: " + S) + f) + " at address ") + toString(F))) | |
225 | + | let aO = valueOrErrorMessage(getInteger(F, j), ((("No data on the key: " + j) + " at address ") + toString(F))) | |
226 | + | let aP = valueOrErrorMessage(getInteger(F, (S + g)), (((("No data on the key: " + S) + g) + " at address ") + toString(F))) | |
227 | + | let aQ = fraction(aL, aN, K) | |
228 | + | let aR = fraction(aM, aP, K) | |
229 | + | if (if ((aQ > aL)) | |
237 | 230 | then true | |
238 | - | else ( | |
231 | + | else (aR > aM)) | |
239 | 232 | then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious") | |
240 | - | else $ | |
233 | + | else $Tuple3(aQ, aO, aR) | |
241 | 234 | } | |
242 | 235 | ||
243 | 236 | ||
244 | - | func | |
245 | - | let | |
246 | - | let | |
247 | - | $Tuple2( | |
237 | + | func aS (S) = { | |
238 | + | let aT = valueOrErrorMessage(getInteger(this, (S + k)), (("No data on the key: " + S) + k)) | |
239 | + | let aU = valueOrElse(getInteger(this, (S + l)), height) | |
240 | + | $Tuple2(aU, aT) | |
248 | 241 | } | |
249 | 242 | ||
250 | 243 | ||
251 | - | func | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | if ($isInstanceOf( | |
244 | + | func aV (S,aW) = { | |
245 | + | let aX = getInteger(this, (((S + "_") + toString(aW)) + n)) | |
246 | + | let aY = getInteger(this, (((S + "_") + toString(aW)) + m)) | |
247 | + | let aT = valueOrErrorMessage(getInteger(this, (S + k)), (("No data on the key: " + S) + k)) | |
248 | + | let aZ = { | |
249 | + | let am = aX | |
250 | + | if ($isInstanceOf(am, "Int")) | |
258 | 251 | then { | |
259 | - | let | |
260 | - | | |
252 | + | let aX = am | |
253 | + | aX | |
261 | 254 | } | |
262 | - | else | |
255 | + | else aT | |
263 | 256 | } | |
264 | - | let | |
265 | - | let | |
266 | - | if ($isInstanceOf( | |
257 | + | let ba = { | |
258 | + | let am = aY | |
259 | + | if ($isInstanceOf(am, "Int")) | |
267 | 260 | then { | |
268 | - | let | |
269 | - | | |
261 | + | let aY = am | |
262 | + | aY | |
270 | 263 | } | |
271 | 264 | else 0 | |
272 | 265 | } | |
273 | - | $Tuple2( | |
266 | + | $Tuple2(aZ, ba) | |
274 | 267 | } | |
275 | 268 | ||
276 | 269 | ||
277 | - | func | |
270 | + | func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0)) | |
278 | 271 | then 0 | |
279 | - | else if ((aS != 0)) | |
280 | - | then if (if ((aR > height)) | |
281 | - | then (aR == aS) | |
282 | - | else false) | |
272 | + | else if ((aO > height)) | |
273 | + | then { | |
274 | + | let bi = (be * (height - aU)) | |
275 | + | (aT + fraction(bi, bg, bd)) | |
276 | + | } | |
277 | + | else if ((aU > aO)) | |
283 | 278 | then { | |
284 | - | let | |
285 | - | ( | |
279 | + | let bi = (bc * (height - aU)) | |
280 | + | (aT + fraction(bi, bg, bd)) | |
286 | 281 | } | |
287 | - | else if (if ((height > aR)) | |
288 | - | then (aR != aS) | |
289 | - | else false) | |
290 | - | then { | |
291 | - | let bm = (bi * (height - aY)) | |
292 | - | (aX + fraction(bm, bk, bh)) | |
293 | - | } | |
294 | - | else if (if (if ((height > aR)) | |
295 | - | then (aR == aS) | |
296 | - | else false) | |
297 | - | then (aY > aR) | |
298 | - | else false) | |
299 | - | then { | |
300 | - | let bm = (bg * (height - aY)) | |
301 | - | (aX + fraction(bm, bk, bh)) | |
302 | - | } | |
303 | - | else { | |
304 | - | let bn = (bi * (aR - aY)) | |
305 | - | let bo = (aX + fraction(bn, bk, bh)) | |
306 | - | let bm = (bg * (height - aR)) | |
307 | - | (bo + fraction(bm, bk, bh)) | |
308 | - | } | |
309 | - | else if ((aR > height)) | |
310 | - | then { | |
311 | - | let bm = (bi * (height - aY)) | |
312 | - | (aX + fraction(bm, bk, bh)) | |
282 | + | else { | |
283 | + | let bj = (be * (aO - aU)) | |
284 | + | let bk = (aT + fraction(bj, bg, bd)) | |
285 | + | let bi = (bc * (height - aO)) | |
286 | + | (bk + fraction(bi, bg, bd)) | |
313 | 287 | } | |
314 | - | else if ((aY > aR)) | |
315 | - | then { | |
316 | - | let bm = (bg * (height - aY)) | |
317 | - | (aX + fraction(bm, bk, bh)) | |
318 | - | } | |
319 | - | else { | |
320 | - | let bn = (bi * (aR - aY)) | |
321 | - | let bo = (aX + fraction(bn, bk, bh)) | |
322 | - | let bm = (bg * (height - aR)) | |
323 | - | (bo + fraction(bm, bk, bh)) | |
324 | - | } | |
325 | 288 | ||
326 | 289 | ||
327 | - | func bp (V,bq,bl) = { | |
328 | - | let bj = aA(V) | |
329 | - | let bk = aF(at, bj) | |
330 | - | let bh = az(V) | |
331 | - | let br = aW(V) | |
332 | - | let aY = br._1 | |
333 | - | let aX = br._2 | |
334 | - | let bs = aN(V) | |
335 | - | let bg = bs._1 | |
336 | - | let aR = bs._2 | |
337 | - | let bi = bs._3 | |
338 | - | let aS = bs._4 | |
339 | - | let bt = aZ(V, bq) | |
340 | - | let bb = bt._1 | |
341 | - | let be = bt._2 | |
342 | - | let bu = bf(aY, aR, aS, aX, bg, bh, bi, bj, bk, bl) | |
343 | - | let bv = fraction(be, (bu - bb), bk) | |
344 | - | let bw = bu | |
345 | - | $Tuple4(bw, bu, bv, be) | |
290 | + | func bl (S,bm,bh) = { | |
291 | + | let bf = ax(S) | |
292 | + | let bg = aC(aq, bf) | |
293 | + | let bd = aw(S) | |
294 | + | let bn = aS(S) | |
295 | + | let aU = bn._1 | |
296 | + | let aT = bn._2 | |
297 | + | let bo = aK(S) | |
298 | + | let bc = bo._1 | |
299 | + | let aO = bo._2 | |
300 | + | let be = bo._3 | |
301 | + | let bp = aV(S, bm) | |
302 | + | let aX = bp._1 | |
303 | + | let ba = bp._2 | |
304 | + | let bq = bb(aU, aO, aT, bc, bd, be, bf, bg, bh) | |
305 | + | let br = fraction(ba, (bq - aX), bg) | |
306 | + | let bs = bq | |
307 | + | $Tuple4(bs, bq, br, ba) | |
346 | 308 | } | |
347 | 309 | ||
348 | 310 | ||
349 | - | func bx (V) = { | |
350 | - | let by = aW(V) | |
351 | - | let aY = by._1 | |
352 | - | let aX = by._2 | |
353 | - | let bz = aN(V) | |
354 | - | let bg = bz._1 | |
355 | - | let aR = bz._2 | |
356 | - | let bi = bz._3 | |
357 | - | let aS = bz._4 | |
358 | - | let bh = az(V) | |
359 | - | if (if ((bh == 0)) | |
360 | - | then (aS == 0) | |
361 | - | else false) | |
362 | - | then if ((aR > height)) | |
311 | + | func bt (S) = { | |
312 | + | let bu = aS(S) | |
313 | + | let aU = bu._1 | |
314 | + | let aT = bu._2 | |
315 | + | let bv = aK(S) | |
316 | + | let bc = bv._1 | |
317 | + | let aO = bv._2 | |
318 | + | let be = bv._3 | |
319 | + | let bd = aw(S) | |
320 | + | if ((bd == 0)) | |
321 | + | then if ((aO > height)) | |
363 | 322 | then { | |
364 | - | let | |
365 | - | | |
323 | + | let bi = (be * (height - aU)) | |
324 | + | bi | |
366 | 325 | } | |
367 | - | else if (( | |
326 | + | else if ((aU > aO)) | |
368 | 327 | then { | |
369 | - | let | |
370 | - | | |
328 | + | let bi = (bc * (height - aU)) | |
329 | + | bi | |
371 | 330 | } | |
372 | 331 | else { | |
373 | - | let | |
374 | - | let | |
375 | - | ( | |
332 | + | let bj = (be * (aO - aU)) | |
333 | + | let bi = (bc * (height - aO)) | |
334 | + | (bi + bj) | |
376 | 335 | } | |
377 | - | else if (if ((bh == 0)) | |
378 | - | then (aS != 0) | |
379 | - | else false) | |
380 | - | then if (if ((aR > height)) | |
381 | - | then (aR == aS) | |
382 | - | else false) | |
383 | - | then { | |
384 | - | let bm = (bi * (height - aY)) | |
385 | - | bm | |
386 | - | } | |
387 | - | else if (if ((height > aR)) | |
388 | - | then (aR != aS) | |
389 | - | else false) | |
390 | - | then { | |
391 | - | let bm = (bi * (height - aY)) | |
392 | - | bm | |
393 | - | } | |
394 | - | else if (if (if ((height > aR)) | |
395 | - | then (aR == aS) | |
396 | - | else false) | |
397 | - | then (aY > aR) | |
398 | - | else false) | |
399 | - | then { | |
400 | - | let bm = (bg * (height - aY)) | |
401 | - | bm | |
402 | - | } | |
403 | - | else { | |
404 | - | let bn = (bi * (aR - aY)) | |
405 | - | let bm = (bg * (height - aR)) | |
406 | - | (bm + bn) | |
407 | - | } | |
408 | - | else 0 | |
336 | + | else 0 | |
409 | 337 | } | |
410 | 338 | ||
411 | 339 | ||
412 | - | func | |
413 | - | let | |
414 | - | if (( | |
340 | + | func bw (S,bx) = { | |
341 | + | let by = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
342 | + | if ((bx == by)) | |
415 | 343 | then true | |
416 | 344 | else false | |
417 | 345 | } | |
418 | 346 | ||
419 | 347 | ||
420 | - | func | |
348 | + | func bz (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + p)), 0) | |
421 | 349 | ||
422 | 350 | ||
423 | - | @Callable( | |
424 | - | func init ( | |
351 | + | @Callable(bA) | |
352 | + | func init (bB) = if (isDefined(getString(this, o))) | |
425 | 353 | then throw("SWOP already initialized") | |
426 | 354 | else { | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | [Issue("SWOP", "SWOP protocol token", | |
355 | + | let bC = 100000000000000 | |
356 | + | let bD = Issue("SWOP", "SWOP protocol token", bC, 8, true) | |
357 | + | let bE = calculateAssetId(bD) | |
358 | + | [Issue("SWOP", "SWOP protocol token", bC, 8, true), StringEntry(o, toBase58String(bE))] | |
431 | 359 | } | |
432 | 360 | ||
433 | 361 | ||
434 | 362 | ||
435 | - | @Callable( | |
436 | - | func initPoolShareFarming ( | |
363 | + | @Callable(bA) | |
364 | + | func initPoolShareFarming (S) = if ((bA.caller != this)) | |
437 | 365 | then throw("Only the DApp itself can call this function") | |
438 | 366 | else { | |
439 | - | let bJ = aN(V) | |
440 | - | let bK = bJ._1 | |
441 | - | let aR = bJ._2 | |
442 | - | let bi = bJ._3 | |
443 | - | let aS = bJ._4 | |
444 | - | [IntegerEntry((V + d), 0), IntegerEntry((V + l), 0), IntegerEntry((V + m), height)] | |
367 | + | let bF = aK(S) | |
368 | + | let bG = bF._1 | |
369 | + | let aO = bF._2 | |
370 | + | let be = bF._3 | |
371 | + | [IntegerEntry((S + d), 0), IntegerEntry((S + k), 0), IntegerEntry((S + l), height)] | |
445 | 372 | } | |
446 | 373 | ||
447 | 374 | ||
448 | 375 | ||
449 | - | @Callable( | |
450 | - | func updatePoolInterest ( | |
376 | + | @Callable(bA) | |
377 | + | func updatePoolInterest (S) = if ((bA.caller != G)) | |
451 | 378 | then throw("Only the Admin itself can call this function") | |
452 | 379 | else { | |
453 | - | let bL = bp(V, L, 0) | |
454 | - | let bw = bL._1 | |
455 | - | let bu = bL._2 | |
456 | - | let bv = bL._3 | |
457 | - | let be = bL._4 | |
458 | - | let bM = aN(V) | |
459 | - | let bK = bM._1 | |
460 | - | let aR = bM._2 | |
461 | - | let bi = bM._3 | |
462 | - | let aS = bM._4 | |
463 | - | [IntegerEntry((V + l), bw), IntegerEntry((V + m), height)] | |
380 | + | let bH = bl(S, I, 0) | |
381 | + | let bs = bH._1 | |
382 | + | let bq = bH._2 | |
383 | + | let br = bH._3 | |
384 | + | let ba = bH._4 | |
385 | + | let bI = aK(S) | |
386 | + | let bG = bI._1 | |
387 | + | let aO = bI._2 | |
388 | + | let be = bI._3 | |
389 | + | [IntegerEntry((S + d), 0), IntegerEntry((S + k), bs), IntegerEntry((S + l), height)] | |
464 | 390 | } | |
465 | 391 | ||
466 | 392 | ||
467 | 393 | ||
468 | - | @Callable( | |
469 | - | func lockShareTokens ( | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | if ((0 >= | |
394 | + | @Callable(bA) | |
395 | + | func lockShareTokens (S) = { | |
396 | + | let bJ = $Tuple2(bA.payments[0].amount, bA.payments[0].assetId) | |
397 | + | let bh = bJ._1 | |
398 | + | let bx = bJ._2 | |
399 | + | let bK = ay(bx) | |
400 | + | let bL = bK._1 | |
401 | + | let bM = bK._2 | |
402 | + | let bN = bK._3 | |
403 | + | let bO = bl(S, bA.caller, bh) | |
404 | + | let bs = bO._1 | |
405 | + | let bq = bO._2 | |
406 | + | let br = bO._3 | |
407 | + | let ba = bO._4 | |
408 | + | let bP = (ba + bh) | |
409 | + | let bQ = (aI(S, bA.caller) + br) | |
410 | + | let bR = aw(S) | |
411 | + | let bS = (bR + bh) | |
412 | + | let bT = bz(S, bA.caller) | |
413 | + | let bU = (bT + br) | |
414 | + | let bV = [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((((S + "_") + toString(bA.caller)) + m), bP), IntegerEntry((S + d), bS), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), IntegerEntry((((S + "_") + toString(bA.caller)) + r), bQ)] | |
415 | + | if ((0 >= bh)) | |
490 | 416 | then throw("You can't lock token") | |
491 | - | else if (!( | |
417 | + | else if (!(bw(S, bx))) | |
492 | 418 | then throw("Incorrect pmtAssetId") | |
493 | - | else if (if ( | |
494 | - | then ( | |
419 | + | else if (if (ar(Address(fromBase58String(S)))) | |
420 | + | then (as(Address(fromBase58String(S))) > height) | |
495 | 421 | else false) | |
496 | 422 | then { | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | let | |
504 | - | then valueOrElse(parseInt( | |
505 | - | else valueOrElse(parseInt( | |
506 | - | let | |
507 | - | then valueOrElse(parseInt( | |
508 | - | else valueOrElse(parseInt( | |
509 | - | let | |
510 | - | if (( | |
423 | + | let bW = ((((as(Address(fromBase58String(S))) - ad) + 1) / ae) - 1) | |
424 | + | let bX = split(getStringValue(H, (((toString(bA.caller) + "_") + S) + "_user_pool_struc")), "_") | |
425 | + | let bY = split(getStringValue(H, (S + "_pool_struc")), "_") | |
426 | + | let bZ = split(valueOrElse(getString(H, (((toString(bA.caller) + "_") + S) + z)), ""), "_") | |
427 | + | let ca = split(valueOrElse(getString(H, (S + y)), ""), "_") | |
428 | + | let cb = ba | |
429 | + | let cc = if ((toString(ah) == bX[2])) | |
430 | + | then valueOrElse(parseInt(bZ[0]), 0) | |
431 | + | else valueOrElse(parseInt(bX[1]), 0) | |
432 | + | let cd = if ((toString(ah) == bY[2])) | |
433 | + | then valueOrElse(parseInt(ca[0]), 0) | |
434 | + | else valueOrElse(parseInt(bY[1]), 0) | |
435 | + | let ce = bt(S) | |
436 | + | if ((cc != 0)) | |
511 | 437 | then { | |
512 | - | let | |
513 | - | let | |
514 | - | if (if ((size( | |
515 | - | then (valueOrElse(parseInt( | |
438 | + | let cf = av(addressFromStringValue(S)) | |
439 | + | let cg = (fraction(cf, cc, cd) - cb) | |
440 | + | if (if ((size(bZ) > 1)) | |
441 | + | then (valueOrElse(parseInt(bZ[1]), 0) >= bW) | |
516 | 442 | else false) | |
517 | 443 | then throw("You can't share token") | |
518 | - | else if (( | |
519 | - | then throw(("You can't share token more than " + toString( | |
520 | - | else if (( | |
521 | - | then if (( | |
522 | - | then ( | |
523 | - | else if (( | |
524 | - | then | |
525 | - | else throw(("Your maximum share token is " + toString( | |
444 | + | else if ((bh > cf)) | |
445 | + | then throw(("You can't share token more than " + toString(cf))) | |
446 | + | else if ((cg > 0)) | |
447 | + | then if ((bR == 0)) | |
448 | + | then (bV ++ [Reissue(aq, ce, true), ScriptTransfer(G, ce, aq)]) | |
449 | + | else if ((cg >= bh)) | |
450 | + | then bV | |
451 | + | else throw(("Your maximum share token is " + toString(cg))) | |
526 | 452 | else throw("You can't share token") | |
527 | 453 | } | |
528 | 454 | else throw("Your amount of token less than 0") | |
529 | 455 | } | |
530 | - | else | |
456 | + | else bV | |
531 | 457 | } | |
532 | 458 | ||
533 | 459 | ||
534 | 460 | ||
535 | - | @Callable( | |
536 | - | func withdrawShareTokens ( | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | let | |
541 | - | let | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | if (( | |
461 | + | @Callable(bA) | |
462 | + | func withdrawShareTokens (S,ch) = { | |
463 | + | let ci = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
464 | + | let cj = bl(S, bA.caller, 1) | |
465 | + | let bs = cj._1 | |
466 | + | let bq = cj._2 | |
467 | + | let br = cj._3 | |
468 | + | let ba = cj._4 | |
469 | + | let bP = (ba - ch) | |
470 | + | let bQ = (aI(S, bA.caller) + br) | |
471 | + | let bR = aw(S) | |
472 | + | let bS = (bR - ch) | |
473 | + | let bT = bz(S, bA.caller) | |
474 | + | let bU = (bT + br) | |
475 | + | if ((ch > ba)) | |
550 | 476 | then throw("Withdraw amount more then user locked amount") | |
551 | - | else [IntegerEntry(((( | |
477 | + | else [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((((S + "_") + toString(bA.caller)) + m), bP), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((S + d), bS), IntegerEntry((((S + "_") + toString(bA.caller)) + r), bQ), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), ScriptTransfer(bA.caller, ch, ci)] | |
552 | 478 | } | |
553 | 479 | ||
554 | 480 | ||
555 | 481 | ||
556 | - | @Callable(bE) | |
557 | - | func claim (V) = { | |
558 | - | let bh = az(V) | |
559 | - | let co = aW(V) | |
560 | - | let aY = co._1 | |
561 | - | let aX = co._2 | |
562 | - | let cp = aN(V) | |
563 | - | let bg = cp._1 | |
564 | - | let aR = cp._2 | |
565 | - | let bi = cp._3 | |
566 | - | let aS = cp._4 | |
567 | - | let cq = bp(V, bE.caller, 1) | |
568 | - | let bw = cq._1 | |
569 | - | let bu = cq._2 | |
570 | - | let bv = cq._3 | |
571 | - | let be = cq._4 | |
572 | - | let cr = (aL(V, bE.caller) + bv) | |
573 | - | let bX = bD(V, bE.caller) | |
574 | - | let bY = (bX + bv) | |
575 | - | if ((cr == 0)) | |
482 | + | @Callable(bA) | |
483 | + | func claim (S) = { | |
484 | + | let bd = aw(S) | |
485 | + | let ck = aS(S) | |
486 | + | let aU = ck._1 | |
487 | + | let aT = ck._2 | |
488 | + | let cl = aK(S) | |
489 | + | let bc = cl._1 | |
490 | + | let aO = cl._2 | |
491 | + | let be = cl._3 | |
492 | + | let cm = bl(S, bA.caller, 1) | |
493 | + | let bs = cm._1 | |
494 | + | let bq = cm._2 | |
495 | + | let br = cm._3 | |
496 | + | let ba = cm._4 | |
497 | + | let cn = (aI(S, bA.caller) + br) | |
498 | + | let bT = bz(S, bA.caller) | |
499 | + | let bU = (bT + br) | |
500 | + | if ((cn == 0)) | |
576 | 501 | then throw("You have 0 available SWOP") | |
577 | - | else [IntegerEntry(((( | |
502 | + | else [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((((S + "_") + toString(bA.caller)) + r), 0), Reissue(aq, cn, true), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), ScriptTransfer(bA.caller, cn, aq)] | |
578 | 503 | } | |
579 | 504 | ||
580 | 505 | ||
581 | - | @Verifier( | |
582 | - | func | |
583 | - | let | |
584 | - | sigVerify( | |
506 | + | @Verifier(co) | |
507 | + | func cp () = { | |
508 | + | let am = co | |
509 | + | sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey) | |
585 | 510 | } | |
586 | 511 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let b = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let c = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let d = "_total_share_tokens_locked" | |
11 | 11 | ||
12 | 12 | let e = "share_limit_on_first_harvest" | |
13 | 13 | ||
14 | 14 | let f = "_current_pool_fraction_reward" | |
15 | 15 | ||
16 | 16 | let g = "_previous_pool_fraction_reward" | |
17 | 17 | ||
18 | - | let h = " | |
18 | + | let h = "total_reward_per_block_current" | |
19 | 19 | ||
20 | - | let i = "total_reward_per_block_ | |
20 | + | let i = "total_reward_per_block_previous" | |
21 | 21 | ||
22 | - | let j = " | |
22 | + | let j = "reward_update_height" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "_last_interest" | |
25 | 25 | ||
26 | - | let l = "_last_interest" | |
26 | + | let l = "_last_interest_height" | |
27 | 27 | ||
28 | - | let m = "_ | |
28 | + | let m = "_share_tokens_locked" | |
29 | 29 | ||
30 | - | let n = "_ | |
30 | + | let n = "_last_interest" | |
31 | 31 | ||
32 | - | let o = "_ | |
32 | + | let o = "SWOP_id" | |
33 | 33 | ||
34 | - | let p = "SWOP_ | |
34 | + | let p = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | - | let q = "_SWOP_claimed_amount" | |
36 | + | let q = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | - | let r = "_SWOP | |
38 | + | let r = "_available_SWOP" | |
39 | 39 | ||
40 | - | let s = "_ | |
40 | + | let s = "farming_start_height" | |
41 | 41 | ||
42 | - | let t = " | |
42 | + | let t = "apy" | |
43 | 43 | ||
44 | - | let u = " | |
44 | + | let u = "previous_total_vote_SWOP" | |
45 | 45 | ||
46 | - | let v = " | |
46 | + | let v = "swop_year_emission" | |
47 | 47 | ||
48 | - | let w = " | |
48 | + | let w = "A_asset_balance" | |
49 | 49 | ||
50 | - | let x = " | |
50 | + | let x = "B_asset_balance" | |
51 | 51 | ||
52 | - | let y = " | |
52 | + | let y = "_harvest_pool_activeVote_struc" | |
53 | 53 | ||
54 | - | let z = "_harvest_pool_activeVote_struc" | |
54 | + | let z = "_harvest_user_pool_activeVote_struc" | |
55 | 55 | ||
56 | - | let A = "_harvest | |
56 | + | let A = "share_limit_on_first_harvest" | |
57 | 57 | ||
58 | - | let B = " | |
58 | + | let B = "A_asset_id" | |
59 | 59 | ||
60 | - | let C = " | |
60 | + | let C = "B_asset_id" | |
61 | 61 | ||
62 | - | let D = " | |
62 | + | let D = "first_harvest_height" | |
63 | 63 | ||
64 | - | let E = "first_harvest | |
64 | + | let E = "first_harvest" | |
65 | 65 | ||
66 | - | let F = | |
66 | + | let F = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
67 | 67 | ||
68 | - | let G = | |
68 | + | let G = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
69 | 69 | ||
70 | - | let H = | |
70 | + | let H = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ') | |
71 | 71 | ||
72 | - | let I = Address(base58' | |
72 | + | let I = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
73 | 73 | ||
74 | - | let J = | |
74 | + | let J = 10106 | |
75 | 75 | ||
76 | - | let K = | |
76 | + | let K = 10000000000 | |
77 | 77 | ||
78 | - | let L = | |
78 | + | let L = 10 | |
79 | 79 | ||
80 | - | let M = | |
80 | + | let M = 1000 | |
81 | 81 | ||
82 | - | let N = | |
82 | + | let N = 100000 | |
83 | 83 | ||
84 | - | let O = | |
84 | + | let O = 1000000 | |
85 | 85 | ||
86 | - | let P = | |
86 | + | let P = 100000000 | |
87 | 87 | ||
88 | - | let Q = | |
88 | + | let Q = 100000000000 | |
89 | 89 | ||
90 | - | let R = 1000000 | |
91 | - | ||
92 | - | let S = 100000000 | |
93 | - | ||
94 | - | let T = 100000000000 | |
95 | - | ||
96 | - | func U (V) = getStringValue(V, C) | |
90 | + | func R (S) = getStringValue(S, B) | |
97 | 91 | ||
98 | 92 | ||
99 | - | func | |
93 | + | func T (S) = getStringValue(S, C) | |
100 | 94 | ||
101 | 95 | ||
102 | - | func | |
96 | + | func U (S) = if ((R(S) == "WAVES")) | |
103 | 97 | then unit | |
104 | - | else fromBase58String( | |
98 | + | else fromBase58String(R(S)) | |
105 | 99 | ||
106 | 100 | ||
107 | - | func | |
101 | + | func V (S) = if ((T(S) == "WAVES")) | |
108 | 102 | then unit | |
109 | - | else fromBase58String( | |
103 | + | else fromBase58String(T(S)) | |
110 | 104 | ||
111 | 105 | ||
112 | - | let | |
106 | + | let W = "base_period" | |
113 | 107 | ||
114 | - | let | |
108 | + | let X = "period_length" | |
115 | 109 | ||
116 | - | let | |
110 | + | let Y = "start_height" | |
117 | 111 | ||
118 | - | let | |
112 | + | let Z = "first_harvest_height" | |
119 | 113 | ||
120 | - | let | |
114 | + | let aa = "duration_full_vote_power" | |
121 | 115 | ||
122 | - | let | |
116 | + | let ab = "min_vote_power" | |
123 | 117 | ||
124 | - | let | |
118 | + | let ac = valueOrErrorMessage(getInteger(H, W), "Empty kBasePeriod") | |
125 | 119 | ||
126 | - | let | |
120 | + | let ad = valueOrErrorMessage(getInteger(H, Y), "Empty kStartHeight") | |
127 | 121 | ||
128 | - | let | |
122 | + | let ae = valueOrErrorMessage(getInteger(H, X), "Empty kPeriodLength") | |
129 | 123 | ||
130 | - | let | |
124 | + | let af = valueOrErrorMessage(getInteger(H, aa), "Empty kDurationFullVotePower") | |
131 | 125 | ||
132 | - | let | |
126 | + | let ag = valueOrErrorMessage(getInteger(H, ab), "Empty kMinVotePower") | |
133 | 127 | ||
134 | - | let | |
128 | + | let ah = (ac + ((height - ad) / ae)) | |
135 | 129 | ||
136 | - | func | |
130 | + | func ai (S) = valueOrElse(getIntegerValue(S, A), 0) | |
137 | 131 | ||
138 | 132 | ||
139 | - | let | |
133 | + | let aj = getIntegerValue(this, t) | |
140 | 134 | ||
141 | - | let | |
135 | + | let ak = getIntegerValue(this, v) | |
142 | 136 | ||
143 | - | func | |
144 | - | let | |
145 | - | if ($isInstanceOf( | |
137 | + | func al (S) = { | |
138 | + | let am = U(S) | |
139 | + | if ($isInstanceOf(am, "ByteVector")) | |
146 | 140 | then { | |
147 | - | let | |
148 | - | value(assetInfo( | |
141 | + | let an = am | |
142 | + | value(assetInfo(an)).name | |
149 | 143 | } | |
150 | - | else if ($isInstanceOf( | |
144 | + | else if ($isInstanceOf(am, "Unit")) | |
151 | 145 | then { | |
152 | - | let | |
146 | + | let ao = am | |
153 | 147 | "WAVES" | |
154 | 148 | } | |
155 | 149 | else throw("Match error") | |
156 | 150 | } | |
157 | 151 | ||
158 | 152 | ||
159 | - | func | |
160 | - | let | |
161 | - | if ($isInstanceOf( | |
153 | + | func ap (S) = { | |
154 | + | let am = V(S) | |
155 | + | if ($isInstanceOf(am, "ByteVector")) | |
162 | 156 | then { | |
163 | - | let | |
164 | - | value(assetInfo( | |
157 | + | let an = am | |
158 | + | value(assetInfo(an)).name | |
165 | 159 | } | |
166 | - | else if ($isInstanceOf( | |
160 | + | else if ($isInstanceOf(am, "Unit")) | |
167 | 161 | then { | |
168 | - | let | |
162 | + | let ao = am | |
169 | 163 | "WAVES" | |
170 | 164 | } | |
171 | 165 | else throw("Match error") | |
172 | 166 | } | |
173 | 167 | ||
174 | 168 | ||
175 | - | let | |
169 | + | let aq = fromBase58String(getStringValue(this, o)) | |
176 | 170 | ||
177 | - | func | |
171 | + | func ar (S) = valueOrElse(getBoolean(S, E), false) | |
178 | 172 | ||
179 | 173 | ||
180 | - | func | |
174 | + | func as (S) = valueOrElse(getInteger(S, D), 0) | |
181 | 175 | ||
182 | 176 | ||
183 | - | func | |
177 | + | func at (S) = valueOrErrorMessage(getInteger(S, w), ("No data on the key: " + w)) | |
184 | 178 | ||
185 | 179 | ||
186 | - | func | |
180 | + | func au (S) = valueOrErrorMessage(getInteger(S, x), ("No data on the key: " + x)) | |
187 | 181 | ||
188 | 182 | ||
189 | - | func | |
183 | + | func av (S) = valueOrErrorMessage(getInteger(S, e), ("No data on the key: " + e)) | |
190 | 184 | ||
191 | 185 | ||
192 | - | func | |
186 | + | func aw (S) = valueOrErrorMessage(getInteger(this, (S + d)), (("No data on the key: " + S) + d)) | |
193 | 187 | ||
194 | 188 | ||
195 | - | func | |
189 | + | func ax (S) = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
196 | 190 | ||
197 | 191 | ||
198 | - | func | |
199 | - | let | |
200 | - | if ($isInstanceOf( | |
192 | + | func ay (az) = { | |
193 | + | let am = az | |
194 | + | if ($isInstanceOf(am, "ByteVector")) | |
201 | 195 | then { | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | $Tuple3( | |
196 | + | let an = am | |
197 | + | let aA = toBase58String(an) | |
198 | + | let aB = valueOrErrorMessage(assetInfo(an), (("Asset " + aA) + " doesn't exist")) | |
199 | + | $Tuple3(aA, aB.name, aB.decimals) | |
206 | 200 | } | |
207 | - | else if ($isInstanceOf( | |
201 | + | else if ($isInstanceOf(am, "Unit")) | |
208 | 202 | then { | |
209 | - | let | |
203 | + | let ao = am | |
210 | 204 | $Tuple3("WAVES", "WAVES", 8) | |
211 | 205 | } | |
212 | 206 | else throw("Match error") | |
213 | 207 | } | |
214 | 208 | ||
215 | 209 | ||
216 | - | func | |
217 | - | let | |
218 | - | let | |
219 | - | let | |
220 | - | pow(10, 0, | |
210 | + | func aC (aD,aE) = { | |
211 | + | let aF = value(assetInfo(aD)).decimals | |
212 | + | let aG = value(assetInfo(aE)).decimals | |
213 | + | let aH = ((aG - aF) + 8) | |
214 | + | pow(10, 0, aH, 0, 0, HALFDOWN) | |
221 | 215 | } | |
222 | 216 | ||
223 | 217 | ||
224 | - | func | |
218 | + | func aI (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + r)), 0) | |
225 | 219 | ||
226 | 220 | ||
227 | - | func aN (V) = { | |
228 | - | let aO = valueOrErrorMessage(getInteger(I, i), ((("No data on the key: " + i) + " at address ") + toString(I))) | |
229 | - | let aP = valueOrErrorMessage(getInteger(I, j), ((("No data on the key: " + j) + " at address ") + toString(I))) | |
230 | - | let aQ = valueOrErrorMessage(getInteger(I, (V + f)), (((("No data on the key: " + V) + f) + " at address ") + toString(I))) | |
231 | - | let aR = valueOrErrorMessage(getInteger(I, k), ((("No data on the key: " + k) + " at address ") + toString(I))) | |
232 | - | let aS = valueOrElse(getInteger(I, (V + h)), 0) | |
233 | - | let aT = valueOrErrorMessage(getInteger(I, (V + g)), (((("No data on the key: " + V) + g) + " at address ") + toString(I))) | |
234 | - | let aU = fraction(aO, aQ, N) | |
235 | - | let aV = fraction(aP, aT, N) | |
236 | - | if (if ((aU > aO)) | |
221 | + | func aK (S) = { | |
222 | + | let aL = valueOrErrorMessage(getInteger(F, h), ((("No data on the key: " + h) + " at address ") + toString(F))) | |
223 | + | let aM = valueOrErrorMessage(getInteger(F, i), ((("No data on the key: " + i) + " at address ") + toString(F))) | |
224 | + | let aN = valueOrErrorMessage(getInteger(F, (S + f)), (((("No data on the key: " + S) + f) + " at address ") + toString(F))) | |
225 | + | let aO = valueOrErrorMessage(getInteger(F, j), ((("No data on the key: " + j) + " at address ") + toString(F))) | |
226 | + | let aP = valueOrErrorMessage(getInteger(F, (S + g)), (((("No data on the key: " + S) + g) + " at address ") + toString(F))) | |
227 | + | let aQ = fraction(aL, aN, K) | |
228 | + | let aR = fraction(aM, aP, K) | |
229 | + | if (if ((aQ > aL)) | |
237 | 230 | then true | |
238 | - | else ( | |
231 | + | else (aR > aM)) | |
239 | 232 | then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious") | |
240 | - | else $ | |
233 | + | else $Tuple3(aQ, aO, aR) | |
241 | 234 | } | |
242 | 235 | ||
243 | 236 | ||
244 | - | func | |
245 | - | let | |
246 | - | let | |
247 | - | $Tuple2( | |
237 | + | func aS (S) = { | |
238 | + | let aT = valueOrErrorMessage(getInteger(this, (S + k)), (("No data on the key: " + S) + k)) | |
239 | + | let aU = valueOrElse(getInteger(this, (S + l)), height) | |
240 | + | $Tuple2(aU, aT) | |
248 | 241 | } | |
249 | 242 | ||
250 | 243 | ||
251 | - | func | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | if ($isInstanceOf( | |
244 | + | func aV (S,aW) = { | |
245 | + | let aX = getInteger(this, (((S + "_") + toString(aW)) + n)) | |
246 | + | let aY = getInteger(this, (((S + "_") + toString(aW)) + m)) | |
247 | + | let aT = valueOrErrorMessage(getInteger(this, (S + k)), (("No data on the key: " + S) + k)) | |
248 | + | let aZ = { | |
249 | + | let am = aX | |
250 | + | if ($isInstanceOf(am, "Int")) | |
258 | 251 | then { | |
259 | - | let | |
260 | - | | |
252 | + | let aX = am | |
253 | + | aX | |
261 | 254 | } | |
262 | - | else | |
255 | + | else aT | |
263 | 256 | } | |
264 | - | let | |
265 | - | let | |
266 | - | if ($isInstanceOf( | |
257 | + | let ba = { | |
258 | + | let am = aY | |
259 | + | if ($isInstanceOf(am, "Int")) | |
267 | 260 | then { | |
268 | - | let | |
269 | - | | |
261 | + | let aY = am | |
262 | + | aY | |
270 | 263 | } | |
271 | 264 | else 0 | |
272 | 265 | } | |
273 | - | $Tuple2( | |
266 | + | $Tuple2(aZ, ba) | |
274 | 267 | } | |
275 | 268 | ||
276 | 269 | ||
277 | - | func | |
270 | + | func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0)) | |
278 | 271 | then 0 | |
279 | - | else if ((aS != 0)) | |
280 | - | then if (if ((aR > height)) | |
281 | - | then (aR == aS) | |
282 | - | else false) | |
272 | + | else if ((aO > height)) | |
273 | + | then { | |
274 | + | let bi = (be * (height - aU)) | |
275 | + | (aT + fraction(bi, bg, bd)) | |
276 | + | } | |
277 | + | else if ((aU > aO)) | |
283 | 278 | then { | |
284 | - | let | |
285 | - | ( | |
279 | + | let bi = (bc * (height - aU)) | |
280 | + | (aT + fraction(bi, bg, bd)) | |
286 | 281 | } | |
287 | - | else if (if ((height > aR)) | |
288 | - | then (aR != aS) | |
289 | - | else false) | |
290 | - | then { | |
291 | - | let bm = (bi * (height - aY)) | |
292 | - | (aX + fraction(bm, bk, bh)) | |
293 | - | } | |
294 | - | else if (if (if ((height > aR)) | |
295 | - | then (aR == aS) | |
296 | - | else false) | |
297 | - | then (aY > aR) | |
298 | - | else false) | |
299 | - | then { | |
300 | - | let bm = (bg * (height - aY)) | |
301 | - | (aX + fraction(bm, bk, bh)) | |
302 | - | } | |
303 | - | else { | |
304 | - | let bn = (bi * (aR - aY)) | |
305 | - | let bo = (aX + fraction(bn, bk, bh)) | |
306 | - | let bm = (bg * (height - aR)) | |
307 | - | (bo + fraction(bm, bk, bh)) | |
308 | - | } | |
309 | - | else if ((aR > height)) | |
310 | - | then { | |
311 | - | let bm = (bi * (height - aY)) | |
312 | - | (aX + fraction(bm, bk, bh)) | |
282 | + | else { | |
283 | + | let bj = (be * (aO - aU)) | |
284 | + | let bk = (aT + fraction(bj, bg, bd)) | |
285 | + | let bi = (bc * (height - aO)) | |
286 | + | (bk + fraction(bi, bg, bd)) | |
313 | 287 | } | |
314 | - | else if ((aY > aR)) | |
315 | - | then { | |
316 | - | let bm = (bg * (height - aY)) | |
317 | - | (aX + fraction(bm, bk, bh)) | |
318 | - | } | |
319 | - | else { | |
320 | - | let bn = (bi * (aR - aY)) | |
321 | - | let bo = (aX + fraction(bn, bk, bh)) | |
322 | - | let bm = (bg * (height - aR)) | |
323 | - | (bo + fraction(bm, bk, bh)) | |
324 | - | } | |
325 | 288 | ||
326 | 289 | ||
327 | - | func bp (V,bq,bl) = { | |
328 | - | let bj = aA(V) | |
329 | - | let bk = aF(at, bj) | |
330 | - | let bh = az(V) | |
331 | - | let br = aW(V) | |
332 | - | let aY = br._1 | |
333 | - | let aX = br._2 | |
334 | - | let bs = aN(V) | |
335 | - | let bg = bs._1 | |
336 | - | let aR = bs._2 | |
337 | - | let bi = bs._3 | |
338 | - | let aS = bs._4 | |
339 | - | let bt = aZ(V, bq) | |
340 | - | let bb = bt._1 | |
341 | - | let be = bt._2 | |
342 | - | let bu = bf(aY, aR, aS, aX, bg, bh, bi, bj, bk, bl) | |
343 | - | let bv = fraction(be, (bu - bb), bk) | |
344 | - | let bw = bu | |
345 | - | $Tuple4(bw, bu, bv, be) | |
290 | + | func bl (S,bm,bh) = { | |
291 | + | let bf = ax(S) | |
292 | + | let bg = aC(aq, bf) | |
293 | + | let bd = aw(S) | |
294 | + | let bn = aS(S) | |
295 | + | let aU = bn._1 | |
296 | + | let aT = bn._2 | |
297 | + | let bo = aK(S) | |
298 | + | let bc = bo._1 | |
299 | + | let aO = bo._2 | |
300 | + | let be = bo._3 | |
301 | + | let bp = aV(S, bm) | |
302 | + | let aX = bp._1 | |
303 | + | let ba = bp._2 | |
304 | + | let bq = bb(aU, aO, aT, bc, bd, be, bf, bg, bh) | |
305 | + | let br = fraction(ba, (bq - aX), bg) | |
306 | + | let bs = bq | |
307 | + | $Tuple4(bs, bq, br, ba) | |
346 | 308 | } | |
347 | 309 | ||
348 | 310 | ||
349 | - | func bx (V) = { | |
350 | - | let by = aW(V) | |
351 | - | let aY = by._1 | |
352 | - | let aX = by._2 | |
353 | - | let bz = aN(V) | |
354 | - | let bg = bz._1 | |
355 | - | let aR = bz._2 | |
356 | - | let bi = bz._3 | |
357 | - | let aS = bz._4 | |
358 | - | let bh = az(V) | |
359 | - | if (if ((bh == 0)) | |
360 | - | then (aS == 0) | |
361 | - | else false) | |
362 | - | then if ((aR > height)) | |
311 | + | func bt (S) = { | |
312 | + | let bu = aS(S) | |
313 | + | let aU = bu._1 | |
314 | + | let aT = bu._2 | |
315 | + | let bv = aK(S) | |
316 | + | let bc = bv._1 | |
317 | + | let aO = bv._2 | |
318 | + | let be = bv._3 | |
319 | + | let bd = aw(S) | |
320 | + | if ((bd == 0)) | |
321 | + | then if ((aO > height)) | |
363 | 322 | then { | |
364 | - | let | |
365 | - | | |
323 | + | let bi = (be * (height - aU)) | |
324 | + | bi | |
366 | 325 | } | |
367 | - | else if (( | |
326 | + | else if ((aU > aO)) | |
368 | 327 | then { | |
369 | - | let | |
370 | - | | |
328 | + | let bi = (bc * (height - aU)) | |
329 | + | bi | |
371 | 330 | } | |
372 | 331 | else { | |
373 | - | let | |
374 | - | let | |
375 | - | ( | |
332 | + | let bj = (be * (aO - aU)) | |
333 | + | let bi = (bc * (height - aO)) | |
334 | + | (bi + bj) | |
376 | 335 | } | |
377 | - | else if (if ((bh == 0)) | |
378 | - | then (aS != 0) | |
379 | - | else false) | |
380 | - | then if (if ((aR > height)) | |
381 | - | then (aR == aS) | |
382 | - | else false) | |
383 | - | then { | |
384 | - | let bm = (bi * (height - aY)) | |
385 | - | bm | |
386 | - | } | |
387 | - | else if (if ((height > aR)) | |
388 | - | then (aR != aS) | |
389 | - | else false) | |
390 | - | then { | |
391 | - | let bm = (bi * (height - aY)) | |
392 | - | bm | |
393 | - | } | |
394 | - | else if (if (if ((height > aR)) | |
395 | - | then (aR == aS) | |
396 | - | else false) | |
397 | - | then (aY > aR) | |
398 | - | else false) | |
399 | - | then { | |
400 | - | let bm = (bg * (height - aY)) | |
401 | - | bm | |
402 | - | } | |
403 | - | else { | |
404 | - | let bn = (bi * (aR - aY)) | |
405 | - | let bm = (bg * (height - aR)) | |
406 | - | (bm + bn) | |
407 | - | } | |
408 | - | else 0 | |
336 | + | else 0 | |
409 | 337 | } | |
410 | 338 | ||
411 | 339 | ||
412 | - | func | |
413 | - | let | |
414 | - | if (( | |
340 | + | func bw (S,bx) = { | |
341 | + | let by = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
342 | + | if ((bx == by)) | |
415 | 343 | then true | |
416 | 344 | else false | |
417 | 345 | } | |
418 | 346 | ||
419 | 347 | ||
420 | - | func | |
348 | + | func bz (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + p)), 0) | |
421 | 349 | ||
422 | 350 | ||
423 | - | @Callable( | |
424 | - | func init ( | |
351 | + | @Callable(bA) | |
352 | + | func init (bB) = if (isDefined(getString(this, o))) | |
425 | 353 | then throw("SWOP already initialized") | |
426 | 354 | else { | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | [Issue("SWOP", "SWOP protocol token", | |
355 | + | let bC = 100000000000000 | |
356 | + | let bD = Issue("SWOP", "SWOP protocol token", bC, 8, true) | |
357 | + | let bE = calculateAssetId(bD) | |
358 | + | [Issue("SWOP", "SWOP protocol token", bC, 8, true), StringEntry(o, toBase58String(bE))] | |
431 | 359 | } | |
432 | 360 | ||
433 | 361 | ||
434 | 362 | ||
435 | - | @Callable( | |
436 | - | func initPoolShareFarming ( | |
363 | + | @Callable(bA) | |
364 | + | func initPoolShareFarming (S) = if ((bA.caller != this)) | |
437 | 365 | then throw("Only the DApp itself can call this function") | |
438 | 366 | else { | |
439 | - | let bJ = aN(V) | |
440 | - | let bK = bJ._1 | |
441 | - | let aR = bJ._2 | |
442 | - | let bi = bJ._3 | |
443 | - | let aS = bJ._4 | |
444 | - | [IntegerEntry((V + d), 0), IntegerEntry((V + l), 0), IntegerEntry((V + m), height)] | |
367 | + | let bF = aK(S) | |
368 | + | let bG = bF._1 | |
369 | + | let aO = bF._2 | |
370 | + | let be = bF._3 | |
371 | + | [IntegerEntry((S + d), 0), IntegerEntry((S + k), 0), IntegerEntry((S + l), height)] | |
445 | 372 | } | |
446 | 373 | ||
447 | 374 | ||
448 | 375 | ||
449 | - | @Callable( | |
450 | - | func updatePoolInterest ( | |
376 | + | @Callable(bA) | |
377 | + | func updatePoolInterest (S) = if ((bA.caller != G)) | |
451 | 378 | then throw("Only the Admin itself can call this function") | |
452 | 379 | else { | |
453 | - | let bL = bp(V, L, 0) | |
454 | - | let bw = bL._1 | |
455 | - | let bu = bL._2 | |
456 | - | let bv = bL._3 | |
457 | - | let be = bL._4 | |
458 | - | let bM = aN(V) | |
459 | - | let bK = bM._1 | |
460 | - | let aR = bM._2 | |
461 | - | let bi = bM._3 | |
462 | - | let aS = bM._4 | |
463 | - | [IntegerEntry((V + l), bw), IntegerEntry((V + m), height)] | |
380 | + | let bH = bl(S, I, 0) | |
381 | + | let bs = bH._1 | |
382 | + | let bq = bH._2 | |
383 | + | let br = bH._3 | |
384 | + | let ba = bH._4 | |
385 | + | let bI = aK(S) | |
386 | + | let bG = bI._1 | |
387 | + | let aO = bI._2 | |
388 | + | let be = bI._3 | |
389 | + | [IntegerEntry((S + d), 0), IntegerEntry((S + k), bs), IntegerEntry((S + l), height)] | |
464 | 390 | } | |
465 | 391 | ||
466 | 392 | ||
467 | 393 | ||
468 | - | @Callable( | |
469 | - | func lockShareTokens ( | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | if ((0 >= | |
394 | + | @Callable(bA) | |
395 | + | func lockShareTokens (S) = { | |
396 | + | let bJ = $Tuple2(bA.payments[0].amount, bA.payments[0].assetId) | |
397 | + | let bh = bJ._1 | |
398 | + | let bx = bJ._2 | |
399 | + | let bK = ay(bx) | |
400 | + | let bL = bK._1 | |
401 | + | let bM = bK._2 | |
402 | + | let bN = bK._3 | |
403 | + | let bO = bl(S, bA.caller, bh) | |
404 | + | let bs = bO._1 | |
405 | + | let bq = bO._2 | |
406 | + | let br = bO._3 | |
407 | + | let ba = bO._4 | |
408 | + | let bP = (ba + bh) | |
409 | + | let bQ = (aI(S, bA.caller) + br) | |
410 | + | let bR = aw(S) | |
411 | + | let bS = (bR + bh) | |
412 | + | let bT = bz(S, bA.caller) | |
413 | + | let bU = (bT + br) | |
414 | + | let bV = [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((((S + "_") + toString(bA.caller)) + m), bP), IntegerEntry((S + d), bS), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), IntegerEntry((((S + "_") + toString(bA.caller)) + r), bQ)] | |
415 | + | if ((0 >= bh)) | |
490 | 416 | then throw("You can't lock token") | |
491 | - | else if (!( | |
417 | + | else if (!(bw(S, bx))) | |
492 | 418 | then throw("Incorrect pmtAssetId") | |
493 | - | else if (if ( | |
494 | - | then ( | |
419 | + | else if (if (ar(Address(fromBase58String(S)))) | |
420 | + | then (as(Address(fromBase58String(S))) > height) | |
495 | 421 | else false) | |
496 | 422 | then { | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | let | |
504 | - | then valueOrElse(parseInt( | |
505 | - | else valueOrElse(parseInt( | |
506 | - | let | |
507 | - | then valueOrElse(parseInt( | |
508 | - | else valueOrElse(parseInt( | |
509 | - | let | |
510 | - | if (( | |
423 | + | let bW = ((((as(Address(fromBase58String(S))) - ad) + 1) / ae) - 1) | |
424 | + | let bX = split(getStringValue(H, (((toString(bA.caller) + "_") + S) + "_user_pool_struc")), "_") | |
425 | + | let bY = split(getStringValue(H, (S + "_pool_struc")), "_") | |
426 | + | let bZ = split(valueOrElse(getString(H, (((toString(bA.caller) + "_") + S) + z)), ""), "_") | |
427 | + | let ca = split(valueOrElse(getString(H, (S + y)), ""), "_") | |
428 | + | let cb = ba | |
429 | + | let cc = if ((toString(ah) == bX[2])) | |
430 | + | then valueOrElse(parseInt(bZ[0]), 0) | |
431 | + | else valueOrElse(parseInt(bX[1]), 0) | |
432 | + | let cd = if ((toString(ah) == bY[2])) | |
433 | + | then valueOrElse(parseInt(ca[0]), 0) | |
434 | + | else valueOrElse(parseInt(bY[1]), 0) | |
435 | + | let ce = bt(S) | |
436 | + | if ((cc != 0)) | |
511 | 437 | then { | |
512 | - | let | |
513 | - | let | |
514 | - | if (if ((size( | |
515 | - | then (valueOrElse(parseInt( | |
438 | + | let cf = av(addressFromStringValue(S)) | |
439 | + | let cg = (fraction(cf, cc, cd) - cb) | |
440 | + | if (if ((size(bZ) > 1)) | |
441 | + | then (valueOrElse(parseInt(bZ[1]), 0) >= bW) | |
516 | 442 | else false) | |
517 | 443 | then throw("You can't share token") | |
518 | - | else if (( | |
519 | - | then throw(("You can't share token more than " + toString( | |
520 | - | else if (( | |
521 | - | then if (( | |
522 | - | then ( | |
523 | - | else if (( | |
524 | - | then | |
525 | - | else throw(("Your maximum share token is " + toString( | |
444 | + | else if ((bh > cf)) | |
445 | + | then throw(("You can't share token more than " + toString(cf))) | |
446 | + | else if ((cg > 0)) | |
447 | + | then if ((bR == 0)) | |
448 | + | then (bV ++ [Reissue(aq, ce, true), ScriptTransfer(G, ce, aq)]) | |
449 | + | else if ((cg >= bh)) | |
450 | + | then bV | |
451 | + | else throw(("Your maximum share token is " + toString(cg))) | |
526 | 452 | else throw("You can't share token") | |
527 | 453 | } | |
528 | 454 | else throw("Your amount of token less than 0") | |
529 | 455 | } | |
530 | - | else | |
456 | + | else bV | |
531 | 457 | } | |
532 | 458 | ||
533 | 459 | ||
534 | 460 | ||
535 | - | @Callable( | |
536 | - | func withdrawShareTokens ( | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | let | |
541 | - | let | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | if (( | |
461 | + | @Callable(bA) | |
462 | + | func withdrawShareTokens (S,ch) = { | |
463 | + | let ci = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id")) | |
464 | + | let cj = bl(S, bA.caller, 1) | |
465 | + | let bs = cj._1 | |
466 | + | let bq = cj._2 | |
467 | + | let br = cj._3 | |
468 | + | let ba = cj._4 | |
469 | + | let bP = (ba - ch) | |
470 | + | let bQ = (aI(S, bA.caller) + br) | |
471 | + | let bR = aw(S) | |
472 | + | let bS = (bR - ch) | |
473 | + | let bT = bz(S, bA.caller) | |
474 | + | let bU = (bT + br) | |
475 | + | if ((ch > ba)) | |
550 | 476 | then throw("Withdraw amount more then user locked amount") | |
551 | - | else [IntegerEntry(((( | |
477 | + | else [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((((S + "_") + toString(bA.caller)) + m), bP), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((S + d), bS), IntegerEntry((((S + "_") + toString(bA.caller)) + r), bQ), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), ScriptTransfer(bA.caller, ch, ci)] | |
552 | 478 | } | |
553 | 479 | ||
554 | 480 | ||
555 | 481 | ||
556 | - | @Callable(bE) | |
557 | - | func claim (V) = { | |
558 | - | let bh = az(V) | |
559 | - | let co = aW(V) | |
560 | - | let aY = co._1 | |
561 | - | let aX = co._2 | |
562 | - | let cp = aN(V) | |
563 | - | let bg = cp._1 | |
564 | - | let aR = cp._2 | |
565 | - | let bi = cp._3 | |
566 | - | let aS = cp._4 | |
567 | - | let cq = bp(V, bE.caller, 1) | |
568 | - | let bw = cq._1 | |
569 | - | let bu = cq._2 | |
570 | - | let bv = cq._3 | |
571 | - | let be = cq._4 | |
572 | - | let cr = (aL(V, bE.caller) + bv) | |
573 | - | let bX = bD(V, bE.caller) | |
574 | - | let bY = (bX + bv) | |
575 | - | if ((cr == 0)) | |
482 | + | @Callable(bA) | |
483 | + | func claim (S) = { | |
484 | + | let bd = aw(S) | |
485 | + | let ck = aS(S) | |
486 | + | let aU = ck._1 | |
487 | + | let aT = ck._2 | |
488 | + | let cl = aK(S) | |
489 | + | let bc = cl._1 | |
490 | + | let aO = cl._2 | |
491 | + | let be = cl._3 | |
492 | + | let cm = bl(S, bA.caller, 1) | |
493 | + | let bs = cm._1 | |
494 | + | let bq = cm._2 | |
495 | + | let br = cm._3 | |
496 | + | let ba = cm._4 | |
497 | + | let cn = (aI(S, bA.caller) + br) | |
498 | + | let bT = bz(S, bA.caller) | |
499 | + | let bU = (bT + br) | |
500 | + | if ((cn == 0)) | |
576 | 501 | then throw("You have 0 available SWOP") | |
577 | - | else [IntegerEntry(((( | |
502 | + | else [IntegerEntry((((S + "_") + toString(bA.caller)) + n), bs), IntegerEntry((S + k), bq), IntegerEntry((S + l), height), IntegerEntry((((S + "_") + toString(bA.caller)) + r), 0), Reissue(aq, cn, true), IntegerEntry((((S + "_") + toString(bA.caller)) + p), bU), IntegerEntry((((S + "_") + toString(bA.caller)) + q), br), ScriptTransfer(bA.caller, cn, aq)] | |
578 | 503 | } | |
579 | 504 | ||
580 | 505 | ||
581 | - | @Verifier( | |
582 | - | func | |
583 | - | let | |
584 | - | sigVerify( | |
506 | + | @Verifier(co) | |
507 | + | func cp () = { | |
508 | + | let am = co | |
509 | + | sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey) | |
585 | 510 | } | |
586 | 511 |
github/deemru/w8io/169f3d6 197.91 ms ◑