tx · 6g952GSssKSzbLGRs2ZBcD2pBDjE3bHZb6JnRpKpbc6h

3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC:  -0.01400000 Waves

2021.05.28 11:47 [1545295] smart account 3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC > SELF 0.00000000 Waves

{ "type": 13, "id": "6g952GSssKSzbLGRs2ZBcD2pBDjE3bHZb6JnRpKpbc6h", "fee": 1400000, "feeAssetId": null, "timestamp": 1622191705463, "version": 2, "chainId": 84, "sender": "3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC", "senderPublicKey": "FQ5JNhUjFS3Ty3nSykXrGWHDt4NvXJDCv4JQiJ3dXmKa", "proofs": [ "YewTCM91EQXKM4srf4jTt3pfJDB3J8qCRoxiXbFRQLfFxNYVEjpsHs2zAGS4mcGXmV1UkS8RJaKuD4kecwviT1h" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABVAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAca2V5UmV3YXJkUG9vbEZyYWN0aW9uQ3VycmVudAIAAAAdX2N1cnJlbnRfcG9vbF9mcmFjdGlvbl9yZXdhcmQAAAAAHWtleVJld2FyZFBvb2xGcmFjdGlvblByZXZpb3VzA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5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm10Q+x", "height": 1545295, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6uoscEBYE8drNmQMLX4JNScjHZTdct89nFPLHNfw7cab Next: F8J4gDDE1dNJMtToxzBBYsf3mFY2h29ai3qV5uuCnhFR Diff:
OldNewDifferences
99
1010 let d = "_total_share_tokens_locked"
1111
12-let e = "_current_pool_fraction_reward"
12+let e = "share_limit_on_first_harvest"
1313
14-let f = "_previous_pool_fraction_reward"
14+let f = "active"
1515
16-let g = "total_reward_per_block_current"
16+let g = "_current_pool_fraction_reward"
1717
18-let h = "total_reward_per_block_previous"
18+let h = "_previous_pool_fraction_reward"
1919
20-let i = "reward_update_height"
20+let i = "total_reward_per_block_current"
2121
22-let j = "_last_interest"
22+let j = "total_reward_per_block_previous"
2323
24-let k = "_last_interest_height"
24+let k = "reward_update_height"
2525
26-let l = "_share_tokens_locked"
26+let l = "_last_interest"
2727
28-let m = "_last_interest"
28+let m = "_last_interest_height"
2929
30-let n = "SWOP_id"
30+let n = "_share_tokens_locked"
3131
32-let o = "_SWOP_claimed_amount"
32+let o = "_last_interest"
3333
34-let p = "_SWOP_last_claimed_amount"
34+let p = "SWOP_id"
3535
36-let q = "_available_SWOP"
36+let q = "_SWOP_claimed_amount"
3737
38-let r = "farming_start_height"
38+let r = "_SWOP_last_claimed_amount"
3939
40-let s = "apy"
40+let s = "_available_SWOP"
4141
42-let t = "previous_total_vote_SWOP"
42+let t = "farming_start_height"
4343
44-let u = "swop_year_emission"
44+let u = "apy"
4545
46-let v = "A_asset_balance"
46+let v = "previous_total_vote_SWOP"
4747
48-let w = "B_asset_balance"
48+let w = "swop_year_emission"
4949
50-let x = "_harvest_pool_activeVote_struc"
50+let x = "A_asset_balance"
5151
52-let y = "_harvest_user_pool_ActiveVote_struc"
52+let y = "B_asset_balance"
5353
54-let z = "share_limit_on_first_harvest"
54+let z = "_harvest_pool_activeVote_struc"
5555
56-let A = "A_asset_id"
56+let A = "_harvest_user_pool_activeVote_struc"
5757
58-let B = "B_asset_id"
58+let B = "share_limit_on_first_harvest"
5959
60-let C = "first_harvest_height"
60+let C = "A_asset_id"
6161
62-let D = "first_harvest"
62+let D = "B_asset_id"
6363
64-let E = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
64+let E = "first_harvest_height"
6565
66-let F = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
66+let F = "first_harvest"
6767
68-let G = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
68+let G = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
6969
70-let H = Address(base58'3N4kooq5242vPtJzBDrmukK6ptrjRRjEBWi')
70+let H = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7171
72-let I = Address(base58'3MxtJmAsKsfof4X28MJPBtvRUyz1PbCnbhF')
72+let I = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
7373
7474 let J = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7575
8989
9090 let R = 100000000000
9191
92-func S (T) = getStringValue(T, A)
92+func S (T) = getStringValue(T, C)
9393
9494
95-func U (T) = getStringValue(T, B)
95+func U (T) = getStringValue(T, D)
9696
9797
9898 func V (T) = if ((S(T) == "WAVES"))
117117
118118 let ac = "min_vote_power"
119119
120-let ad = valueOrErrorMessage(getInteger(G, X), "Empty kBasePeriod")
120+let ad = valueOrErrorMessage(getInteger(I, X), "Empty kBasePeriod")
121121
122-let ae = valueOrErrorMessage(getInteger(G, Z), "Empty kStartHeight")
122+let ae = valueOrErrorMessage(getInteger(I, Z), "Empty kStartHeight")
123123
124-let af = valueOrErrorMessage(getInteger(G, Y), "Empty kPeriodLength")
124+let af = valueOrErrorMessage(getInteger(I, Y), "Empty kPeriodLength")
125125
126-let ag = valueOrErrorMessage(getInteger(G, ab), "Empty kDurationFullVotePower")
126+let ag = valueOrErrorMessage(getInteger(I, ab), "Empty kDurationFullVotePower")
127127
128-let ah = valueOrErrorMessage(getInteger(G, ac), "Empty kMinVotePower")
128+let ah = valueOrErrorMessage(getInteger(I, ac), "Empty kMinVotePower")
129129
130-let ai = (ad + ((height - ae) / af))
130+let ai = getBooleanValue(this, f)
131131
132-func aj (T) = valueOrElse(getIntegerValue(T, z), 0)
132+let aj = (ad + ((height - ae) / af))
133133
134+func ak (T) = valueOrElse(getIntegerValue(T, B), 0)
134135
135-let ak = getIntegerValue(this, s)
136136
137137 let al = getIntegerValue(this, u)
138138
139-func am (T) = {
140- let an = V(T)
141- if ($isInstanceOf(an, "ByteVector"))
139+let am = getIntegerValue(this, w)
140+
141+func an (T) = {
142+ let ao = V(T)
143+ if ($isInstanceOf(ao, "ByteVector"))
142144 then {
143- let ao = an
144- value(assetInfo(ao)).name
145+ let ap = ao
146+ value(assetInfo(ap)).name
145147 }
146- else if ($isInstanceOf(an, "Unit"))
148+ else if ($isInstanceOf(ao, "Unit"))
147149 then {
148- let ap = an
150+ let aq = ao
149151 "WAVES"
150152 }
151153 else throw("Match error")
152154 }
153155
154156
155-func aq (T) = {
156- let an = W(T)
157- if ($isInstanceOf(an, "ByteVector"))
157+func ar (T) = {
158+ let ao = W(T)
159+ if ($isInstanceOf(ao, "ByteVector"))
158160 then {
159- let ao = an
160- value(assetInfo(ao)).name
161+ let ap = ao
162+ value(assetInfo(ap)).name
161163 }
162- else if ($isInstanceOf(an, "Unit"))
164+ else if ($isInstanceOf(ao, "Unit"))
163165 then {
164- let ap = an
166+ let aq = ao
165167 "WAVES"
166168 }
167169 else throw("Match error")
168170 }
169171
170172
171-let ar = fromBase58String(getStringValue(this, n))
173+let as = fromBase58String(getStringValue(this, p))
172174
173-func as (T) = valueOrElse(getBoolean(T, D), false)
175+func at (T) = valueOrElse(getBoolean(T, F), false)
174176
175177
176-func at (T) = valueOrElse(getInteger(T, C), 0)
178+func au (T) = valueOrElse(getInteger(T, E), 0)
177179
178180
179-func au (T) = valueOrErrorMessage(getInteger(T, v), ("No data on the key: " + v))
181+func av (T) = valueOrErrorMessage(getInteger(T, x), ("No data on the key: " + x))
180182
181183
182-func av (T) = valueOrErrorMessage(getInteger(T, w), ("No data on the key: " + w))
184+func aw (T) = valueOrErrorMessage(getInteger(T, y), ("No data on the key: " + y))
183185
184186
185-func aw (T) = valueOrErrorMessage(getInteger(this, (T + d)), (("No data on the key: " + T) + d))
187+func ax (T) = valueOrErrorMessage(getInteger(T, e), ("No data on the key: " + e))
186188
187189
188-func ax (T) = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
190+func ay (T) = valueOrErrorMessage(getInteger(this, (T + d)), (("No data on the key: " + T) + d))
189191
190192
191-func ay (az) = {
192- let an = az
193- if ($isInstanceOf(an, "ByteVector"))
193+func az (T) = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
194+
195+
196+func aA (aB) = {
197+ let ao = aB
198+ if ($isInstanceOf(ao, "ByteVector"))
194199 then {
195- let ao = an
196- let aA = toBase58String(ao)
197- let aB = valueOrErrorMessage(assetInfo(ao), (("Asset " + aA) + " doesn't exist"))
198- $Tuple3(aA, aB.name, aB.decimals)
200+ let ap = ao
201+ let aC = toBase58String(ap)
202+ let aD = valueOrErrorMessage(assetInfo(ap), (("Asset " + aC) + " doesn't exist"))
203+ $Tuple3(aC, aD.name, aD.decimals)
199204 }
200- else if ($isInstanceOf(an, "Unit"))
205+ else if ($isInstanceOf(ao, "Unit"))
201206 then {
202- let ap = an
207+ let aq = ao
203208 $Tuple3("WAVES", "WAVES", 8)
204209 }
205210 else throw("Match error")
206211 }
207212
208213
209-func aC (aD,aE) = {
210- let aF = value(assetInfo(aD)).decimals
211- let aG = value(assetInfo(aE)).decimals
212- let aH = ((aG - aF) + 8)
213- pow(10, 0, aH, 0, 0, HALFDOWN)
214+func aE (aF,aG) = {
215+ let aH = value(assetInfo(aF)).decimals
216+ let aI = value(assetInfo(aG)).decimals
217+ let aJ = ((aI - aH) + 8)
218+ pow(10, 0, aJ, 0, 0, HALFDOWN)
214219 }
215220
216221
217-func aI (T,aJ) = valueOrElse(getInteger(this, (((T + "_") + toString(aJ)) + q)), 0)
222+func aK (T,aL) = valueOrElse(getInteger(this, (((T + "_") + toString(aL)) + s)), 0)
218223
219224
220-func aK (T) = {
221- let aL = valueOrErrorMessage(getInteger(E, g), ((("No data on the key: " + g) + " at address ") + toString(E)))
222- let aM = valueOrErrorMessage(getInteger(E, h), ((("No data on the key: " + h) + " at address ") + toString(E)))
223- let aN = valueOrErrorMessage(getInteger(E, (T + e)), (((("No data on the key: " + T) + e) + " at address ") + toString(E)))
224- let aO = valueOrErrorMessage(getInteger(E, i), ((("No data on the key: " + i) + " at address ") + toString(E)))
225- let aP = valueOrErrorMessage(getInteger(E, (T + f)), (((("No data on the key: " + T) + f) + " at address ") + toString(E)))
226- let aQ = fraction(aL, aN, L)
227- let aR = fraction(aM, aP, L)
228- if (if ((aQ > aL))
225+func aM (T) = {
226+ let aN = valueOrErrorMessage(getInteger(G, i), ((("No data on the key: " + i) + " at address ") + toString(G)))
227+ let aO = valueOrErrorMessage(getInteger(G, j), ((("No data on the key: " + j) + " at address ") + toString(G)))
228+ let aP = valueOrErrorMessage(getInteger(G, (T + g)), (((("No data on the key: " + T) + g) + " at address ") + toString(G)))
229+ let aQ = valueOrErrorMessage(getInteger(G, k), ((("No data on the key: " + k) + " at address ") + toString(G)))
230+ let aR = valueOrErrorMessage(getInteger(G, (T + h)), (((("No data on the key: " + T) + h) + " at address ") + toString(G)))
231+ let aS = fraction(aN, aP, L)
232+ let aT = fraction(aO, aR, L)
233+ if (if ((aS > aN))
229234 then true
230- else (aR > aM))
235+ else (aT > aO))
231236 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
232- else $Tuple3(aQ, aO, aR)
237+ else $Tuple3(aS, aQ, aT)
233238 }
234239
235240
236-func aS (T) = {
237- let aT = valueOrErrorMessage(getInteger(this, (T + j)), (("No data on the key: " + T) + j))
238- let aU = valueOrElse(getInteger(this, (T + k)), height)
239- $Tuple2(aU, aT)
241+func aU (T) = {
242+ let aV = valueOrErrorMessage(getInteger(this, (T + l)), (("No data on the key: " + T) + l))
243+ let aW = valueOrElse(getInteger(this, (T + m)), height)
244+ $Tuple2(aW, aV)
240245 }
241246
242247
243-func aV (T,aW) = {
244- let aX = getInteger(this, (((T + "_") + toString(aW)) + m))
245- let aY = getInteger(this, (((T + "_") + toString(aW)) + l))
246- let aT = valueOrErrorMessage(getInteger(this, (T + j)), (("No data on the key: " + T) + j))
247- let aZ = {
248- let an = aX
249- if ($isInstanceOf(an, "Int"))
248+func aX (T,aY) = {
249+ let aZ = getInteger(this, (((T + "_") + toString(aY)) + o))
250+ let ba = getInteger(this, (((T + "_") + toString(aY)) + n))
251+ let aV = valueOrErrorMessage(getInteger(this, (T + l)), (("No data on the key: " + T) + l))
252+ let bb = {
253+ let ao = aZ
254+ if ($isInstanceOf(ao, "Int"))
250255 then {
251- let aX = an
252- aX
256+ let aZ = ao
257+ aZ
253258 }
254- else aT
259+ else aV
255260 }
256- let ba = {
257- let an = aY
258- if ($isInstanceOf(an, "Int"))
261+ let bc = {
262+ let ao = ba
263+ if ($isInstanceOf(ao, "Int"))
259264 then {
260- let aY = an
261- aY
265+ let ba = ao
266+ ba
262267 }
263268 else 0
264269 }
265- $Tuple2(aZ, ba)
270+ $Tuple2(bb, bc)
266271 }
267272
268273
269-func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0))
274+func bd (aW,aQ,aV,be,bf,bg,bh,bi,bj) = if ((bf == 0))
270275 then 0
271- else if ((aO > height))
276+ else if ((aQ > height))
272277 then {
273- let bi = (be * (height - aU))
274- (aT + fraction(bi, bg, bd))
278+ let bk = (bg * (height - aW))
279+ (aV + fraction(bk, bi, bf))
275280 }
276- else if ((aU > aO))
281+ else if ((aW > aQ))
277282 then {
278- let bi = (bc * (height - aU))
279- (aT + fraction(bi, bg, bd))
283+ let bk = (be * (height - aW))
284+ (aV + fraction(bk, bi, bf))
280285 }
281286 else {
282- let bj = (be * (aO - aU))
283- let bk = (aT + fraction(bj, bg, bd))
284- let bi = (bc * (height - aO))
285- (bk + fraction(bi, bg, bd))
287+ let bl = (bg * (aQ - aW))
288+ let bm = (aV + fraction(bl, bi, bf))
289+ let bk = (be * (height - aQ))
290+ (bm + fraction(bk, bi, bf))
286291 }
287292
288293
289-func bl (T,bm,bh) = {
290- let bf = ax(T)
291- let bg = aC(ar, bf)
292- let bd = aw(T)
293- let bn = aS(T)
294- let aU = bn._1
295- let aT = bn._2
296- let bo = aK(T)
297- let bc = bo._1
298- let aO = bo._2
299- let be = bo._3
300- let bp = aV(T, bm)
301- let aX = bp._1
302- let ba = bp._2
303- let bq = bb(aU, aO, aT, bc, bd, be, bf, bg, bh)
304- let br = fraction(ba, (bq - aX), bg)
305- let bs = bq
306- $Tuple4(bs, bq, br, ba)
294+func bn (T,bo,bj) = {
295+ let bh = az(T)
296+ let bi = aE(as, bh)
297+ let bf = ay(T)
298+ let bp = aU(T)
299+ let aW = bp._1
300+ let aV = bp._2
301+ let bq = aM(T)
302+ let be = bq._1
303+ let aQ = bq._2
304+ let bg = bq._3
305+ let br = aX(T, bo)
306+ let aZ = br._1
307+ let bc = br._2
308+ let bs = bd(aW, aQ, aV, be, bf, bg, bh, bi, bj)
309+ let bt = fraction(bc, (bs - aZ), bi)
310+ let bu = bs
311+ $Tuple4(bu, bs, bt, bc)
307312 }
308313
309314
310-func bt (T) = {
311- let bu = aS(T)
312- let aU = bu._1
313- let aT = bu._2
314- let bv = aK(T)
315- let bc = bv._1
316- let aO = bv._2
317- let be = bv._3
318- let bd = aw(T)
319- if ((bd == 0))
315+func bv (T) = {
316+ let bw = aU(T)
317+ let aW = bw._1
318+ let aV = bw._2
319+ let bx = aM(T)
320+ let be = bx._1
321+ let aQ = bx._2
322+ let bg = bx._3
323+ let bf = ay(T)
324+ if ((bf == 0))
320325 then 0
321- else if ((aO > height))
326+ else if ((aQ > height))
322327 then {
323- let bi = (be * (height - aU))
324- bi
328+ let bk = (bg * (height - aW))
329+ bk
325330 }
326- else if ((aU > aO))
331+ else if ((aW > aQ))
327332 then {
328- let bi = (bc * (height - aU))
329- bi
333+ let bk = (be * (height - aW))
334+ bk
330335 }
331336 else {
332- let bj = (be * (aO - aU))
333- let bi = (bc * (height - aO))
334- (bi + bj)
337+ let bl = (bg * (aQ - aW))
338+ let bk = (be * (height - aQ))
339+ (bk + bl)
335340 }
336341 }
337342
338343
339-func bw (T,bx) = {
340- let by = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
341- if ((bx == by))
344+func by (T,bz) = {
345+ let bA = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
346+ if ((bz == bA))
342347 then true
343348 else false
344349 }
345350
346351
347-func bz (T,aJ) = valueOrElse(getInteger(this, (((T + "_") + toString(aJ)) + o)), 0)
352+func bB (T,aL) = valueOrElse(getInteger(this, (((T + "_") + toString(aL)) + q)), 0)
348353
349354
350-@Callable(bA)
351-func init (bB) = if (isDefined(getString(this, n)))
355+@Callable(bC)
356+func init (bD) = if (isDefined(getString(this, p)))
352357 then throw("SWOP already initialized")
353358 else {
354- let bC = 100000000000000
355- let bD = Issue("SWOP", "SWOP protocol token", bC, 8, true)
356- let bE = calculateAssetId(bD)
357-[Issue("SWOP", "SWOP protocol token", bC, 8, true), StringEntry(n, toBase58String(bE))]
359+ let bE = 100000000000000
360+ let bF = Issue("SWOP", "SWOP protocol token", bE, 8, true)
361+ let bG = calculateAssetId(bF)
362+ if (isDefined(getBoolean(this, f)))
363+ then throw("DApp is already active")
364+ else [BooleanEntry(f, true), Issue("SWOP", "SWOP protocol token", bE, 8, true), StringEntry(p, toBase58String(bG))]
358365 }
359366
360367
361368
362-@Callable(bA)
363-func initPoolShareFarming (T) = if ((bA.caller != this))
369+@Callable(bC)
370+func initPoolShareFarming (T) = if ((bC.caller != this))
364371 then throw("Only the DApp itself can call this function")
365- else {
366- let bF = aK(T)
367- let bG = bF._1
368- let aO = bF._2
369- let be = bF._3
370-[IntegerEntry((T + d), 0), IntegerEntry((T + j), 0), IntegerEntry((T + k), height)]
371- }
372+ else if (!(ai))
373+ then throw("DApp is inactive at this moment")
374+ else {
375+ let bH = aM(T)
376+ let bI = bH._1
377+ let aQ = bH._2
378+ let bg = bH._3
379+[IntegerEntry((T + d), 0), IntegerEntry((T + l), 0), IntegerEntry((T + m), height)]
380+ }
372381
373382
374383
375-@Callable(bA)
376-func updatePoolInterest (T) = if ((bA.caller != F))
384+@Callable(bC)
385+func updatePoolInterest (T) = if ((bC.caller != H))
377386 then throw("Only the Admin itself can call this function")
378- else {
379- let bH = bl(T, J, 0)
380- let bs = bH._1
381- let bq = bH._2
382- let br = bH._3
383- let ba = bH._4
384- let bI = aK(T)
385- let bG = bI._1
386- let aO = bI._2
387- let be = bI._3
388-[IntegerEntry((T + d), 0), IntegerEntry((T + j), bs), IntegerEntry((T + k), height)]
389- }
387+ else if (!(ai))
388+ then throw("DApp is inactive at this moment")
389+ else {
390+ let bJ = bn(T, J, 0)
391+ let bu = bJ._1
392+ let bs = bJ._2
393+ let bt = bJ._3
394+ let bc = bJ._4
395+ let bK = aM(T)
396+ let bI = bK._1
397+ let aQ = bK._2
398+ let bg = bK._3
399+[IntegerEntry((T + d), 0), IntegerEntry((T + l), bu), IntegerEntry((T + m), height)]
400+ }
390401
391402
392403
393-@Callable(bA)
404+@Callable(bC)
394405 func lockShareTokens (T) = {
395- let bJ = $Tuple2(bA.payments[0].amount, bA.payments[0].assetId)
396- let bh = bJ._1
397- let bx = bJ._2
398- let bK = ay(bx)
399- let bL = bK._1
400- let bM = bK._2
401- let bN = bK._3
402- let bO = bl(T, bA.caller, bh)
403- let bs = bO._1
404- let bq = bO._2
405- let br = bO._3
406- let ba = bO._4
407- let bP = (ba + bh)
408- let bQ = (aI(T, bA.caller) + br)
409- let bR = aw(T)
410- let bS = (bR + bh)
411- let bT = bz(T, bA.caller)
412- let bU = (bT + br)
413- let bV = [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((((T + "_") + toString(bA.caller)) + l), bP), IntegerEntry((T + d), bS), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), IntegerEntry((((T + "_") + toString(bA.caller)) + q), bQ)]
414- if ((0 >= bh))
406+ let bL = $Tuple2(bC.payments[0].amount, bC.payments[0].assetId)
407+ let bj = bL._1
408+ let bz = bL._2
409+ let bM = aA(bz)
410+ let bN = bM._1
411+ let bO = bM._2
412+ let bP = bM._3
413+ let bQ = bn(T, bC.caller, bj)
414+ let bu = bQ._1
415+ let bs = bQ._2
416+ let bt = bQ._3
417+ let bc = bQ._4
418+ let bR = (bc + bj)
419+ let bS = (aK(T, bC.caller) + bt)
420+ let bT = ay(T)
421+ let bU = (bT + bj)
422+ let bV = bB(T, bC.caller)
423+ let bW = (bV + bt)
424+ let bX = [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((((T + "_") + toString(bC.caller)) + n), bR), IntegerEntry((T + d), bU), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), IntegerEntry((((T + "_") + toString(bC.caller)) + s), bS)]
425+ if ((0 >= bj))
415426 then throw("You can't lock token")
416- else if (!(bw(T, bx)))
417- then throw("Incorrect pmtAssetId")
418- else if (if (as(Address(fromBase58String(T))))
419- then (height > (at(Address(fromBase58String(T))) * af))
420- else false)
421- then {
422- let bW = split(getStringValue(G, (((toString(this) + "_") + T) + "_user_pool_struc")), "_")
423- let bX = split(getStringValue(G, (((toString(this) + "_") + T) + "_pool_struc")), "_")
424- let bY = split(getStringValue(G, (((toString(this) + "_") + T) + y)), "_")
425- let bZ = split(getStringValue(G, (T + x)), "_")
426- let ca = ba
427- let cb = if ((toString(ai) == bW[2]))
428- then valueOrElse(parseInt(bY[0]), 0)
429- else valueOrElse(parseInt(bW[0]), 0)
430- let cc = if ((toString(ai) == bX[2]))
431- then valueOrElse(parseInt(bZ[0]), 0)
432- else valueOrElse(parseInt(bX[0]), 0)
433- let cd = bt(T)
434- if ((parseInt(bW[1]) != 0))
435- then {
436- let ce = (fraction(aw(T), cb, cc) - ca)
437- if ((ce > 0))
438- then if ((bS >= ce))
439- then bV
440- else throw(("You maximum share token is " + toString(ce)))
441- else throw("You can't share token")
442- }
443- else throw("Your amount of token less than 0")
444- }
445- else bV
427+ else if (!(ai))
428+ then throw("DApp is inactive at this moment")
429+ else if (!(by(T, bz)))
430+ then throw("Incorrect pmtAssetId")
431+ else if (if (at(Address(fromBase58String(T))))
432+ then (height > (au(Address(fromBase58String(T))) * af))
433+ else false)
434+ then {
435+ let bY = split(getStringValue(I, (((toString(bC.caller) + "_") + T) + "_user_pool_struc")), "_")
436+ let bZ = split(getStringValue(I, (T + "_pool_struc")), "_")
437+ let ca = split(getStringValue(I, (((toString(bC.caller) + "_") + T) + A)), "_")
438+ let cb = split(getStringValue(I, (T + z)), "_")
439+ let cc = bc
440+ let cd = if ((toString(aj) == bY[2]))
441+ then valueOrElse(parseInt(ca[0]), 0)
442+ else valueOrElse(parseInt(bY[0]), 0)
443+ let ce = if ((toString(aj) == bZ[2]))
444+ then valueOrElse(parseInt(cb[0]), 0)
445+ else valueOrElse(parseInt(bZ[0]), 0)
446+ let cf = bv(T)
447+ if ((parseInt(bY[1]) != 0))
448+ then {
449+ let cg = (fraction(ax(addressFromStringValue(T)), cd, ce) - cc)
450+ if ((cg > 0))
451+ then if ((bT == 0))
452+ then (bX ++ [ScriptTransfer(H, cf, as)])
453+ else if ((cg >= bj))
454+ then bX
455+ else throw(("You maximum share token is " + toString(cg)))
456+ else throw("You can't share token")
457+ }
458+ else throw("Your amount of token less than 0")
459+ }
460+ else bX
446461 }
447462
448463
449464
450-@Callable(bA)
451-func withdrawShareTokens (T,cf) = {
452- let cg = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
453- let ch = bl(T, bA.caller, 1)
454- let bs = ch._1
455- let bq = ch._2
456- let br = ch._3
457- let ba = ch._4
458- let bP = (ba - cf)
459- let bQ = (aI(T, bA.caller) + br)
460- let bR = aw(T)
461- let bS = (bR - cf)
462- let bT = bz(T, bA.caller)
463- let bU = (bT + br)
464- if ((cf > ba))
465+@Callable(bC)
466+func withdrawShareTokens (T,ch) = {
467+ let ci = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
468+ let cj = bn(T, bC.caller, 1)
469+ let bu = cj._1
470+ let bs = cj._2
471+ let bt = cj._3
472+ let bc = cj._4
473+ let bR = (bc - ch)
474+ let bS = (aK(T, bC.caller) + bt)
475+ let bT = ay(T)
476+ let bU = (bT - ch)
477+ let bV = bB(T, bC.caller)
478+ let bW = (bV + bt)
479+ if ((ch > bc))
465480 then throw("Withdraw amount more then user locked amount")
466- else [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((((T + "_") + toString(bA.caller)) + l), bP), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((T + d), bS), IntegerEntry((((T + "_") + toString(bA.caller)) + q), bQ), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), ScriptTransfer(bA.caller, cf, cg)]
481+ else if (!(ai))
482+ then throw("DApp is inactive at this moment")
483+ else [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((((T + "_") + toString(bC.caller)) + n), bR), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((T + d), bU), IntegerEntry((((T + "_") + toString(bC.caller)) + s), bS), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), ScriptTransfer(bC.caller, ch, ci)]
467484 }
468485
469486
470487
471-@Callable(bA)
488+@Callable(bC)
472489 func claim (T) = {
473- let bd = aw(T)
474- let ci = aS(T)
475- let aU = ci._1
476- let aT = ci._2
477- let cj = aK(T)
478- let bc = cj._1
479- let aO = cj._2
480- let be = cj._3
481- let ck = bl(T, bA.caller, 1)
482- let bs = ck._1
483- let bq = ck._2
484- let br = ck._3
485- let ba = ck._4
486- let cl = (aI(T, bA.caller) + br)
487- let bT = bz(T, bA.caller)
488- let bU = (bT + br)
489- if ((cl == 0))
490+ let bf = ay(T)
491+ let ck = aU(T)
492+ let aW = ck._1
493+ let aV = ck._2
494+ let cl = aM(T)
495+ let be = cl._1
496+ let aQ = cl._2
497+ let bg = cl._3
498+ let cm = bn(T, bC.caller, 1)
499+ let bu = cm._1
500+ let bs = cm._2
501+ let bt = cm._3
502+ let bc = cm._4
503+ let cn = (aK(T, bC.caller) + bt)
504+ let bV = bB(T, bC.caller)
505+ let bW = (bV + bt)
506+ if ((cn == 0))
490507 then throw("You have 0 available SWOP")
491- else [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((((T + "_") + toString(bA.caller)) + q), 0), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), ScriptTransfer(bA.caller, cl, ar)]
508+ else if (!(ai))
509+ then throw("DApp is inactive at this moment")
510+ else [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((((T + "_") + toString(bC.caller)) + s), 0), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), ScriptTransfer(bC.caller, cn, as)]
492511 }
493512
494513
495-@Verifier(cm)
496-func cn () = {
497- let an = cm
498- sigVerify(cm.bodyBytes, cm.proofs[0], cm.senderPublicKey)
514+@Verifier(co)
515+func cp () = {
516+ let ao = co
517+ sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey)
499518 }
500519
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let b = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let c = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let d = "_total_share_tokens_locked"
1111
12-let e = "_current_pool_fraction_reward"
12+let e = "share_limit_on_first_harvest"
1313
14-let f = "_previous_pool_fraction_reward"
14+let f = "active"
1515
16-let g = "total_reward_per_block_current"
16+let g = "_current_pool_fraction_reward"
1717
18-let h = "total_reward_per_block_previous"
18+let h = "_previous_pool_fraction_reward"
1919
20-let i = "reward_update_height"
20+let i = "total_reward_per_block_current"
2121
22-let j = "_last_interest"
22+let j = "total_reward_per_block_previous"
2323
24-let k = "_last_interest_height"
24+let k = "reward_update_height"
2525
26-let l = "_share_tokens_locked"
26+let l = "_last_interest"
2727
28-let m = "_last_interest"
28+let m = "_last_interest_height"
2929
30-let n = "SWOP_id"
30+let n = "_share_tokens_locked"
3131
32-let o = "_SWOP_claimed_amount"
32+let o = "_last_interest"
3333
34-let p = "_SWOP_last_claimed_amount"
34+let p = "SWOP_id"
3535
36-let q = "_available_SWOP"
36+let q = "_SWOP_claimed_amount"
3737
38-let r = "farming_start_height"
38+let r = "_SWOP_last_claimed_amount"
3939
40-let s = "apy"
40+let s = "_available_SWOP"
4141
42-let t = "previous_total_vote_SWOP"
42+let t = "farming_start_height"
4343
44-let u = "swop_year_emission"
44+let u = "apy"
4545
46-let v = "A_asset_balance"
46+let v = "previous_total_vote_SWOP"
4747
48-let w = "B_asset_balance"
48+let w = "swop_year_emission"
4949
50-let x = "_harvest_pool_activeVote_struc"
50+let x = "A_asset_balance"
5151
52-let y = "_harvest_user_pool_ActiveVote_struc"
52+let y = "B_asset_balance"
5353
54-let z = "share_limit_on_first_harvest"
54+let z = "_harvest_pool_activeVote_struc"
5555
56-let A = "A_asset_id"
56+let A = "_harvest_user_pool_activeVote_struc"
5757
58-let B = "B_asset_id"
58+let B = "share_limit_on_first_harvest"
5959
60-let C = "first_harvest_height"
60+let C = "A_asset_id"
6161
62-let D = "first_harvest"
62+let D = "B_asset_id"
6363
64-let E = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
64+let E = "first_harvest_height"
6565
66-let F = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
66+let F = "first_harvest"
6767
68-let G = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
68+let G = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
6969
70-let H = Address(base58'3N4kooq5242vPtJzBDrmukK6ptrjRRjEBWi')
70+let H = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7171
72-let I = Address(base58'3MxtJmAsKsfof4X28MJPBtvRUyz1PbCnbhF')
72+let I = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
7373
7474 let J = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7575
7676 let K = 10106
7777
7878 let L = 10000000000
7979
8080 let M = 10
8181
8282 let N = 1000
8383
8484 let O = 100000
8585
8686 let P = 1000000
8787
8888 let Q = 100000000
8989
9090 let R = 100000000000
9191
92-func S (T) = getStringValue(T, A)
92+func S (T) = getStringValue(T, C)
9393
9494
95-func U (T) = getStringValue(T, B)
95+func U (T) = getStringValue(T, D)
9696
9797
9898 func V (T) = if ((S(T) == "WAVES"))
9999 then unit
100100 else fromBase58String(S(T))
101101
102102
103103 func W (T) = if ((U(T) == "WAVES"))
104104 then unit
105105 else fromBase58String(U(T))
106106
107107
108108 let X = "base_period"
109109
110110 let Y = "period_length"
111111
112112 let Z = "start_height"
113113
114114 let aa = "first_harvest_height"
115115
116116 let ab = "duration_full_vote_power"
117117
118118 let ac = "min_vote_power"
119119
120-let ad = valueOrErrorMessage(getInteger(G, X), "Empty kBasePeriod")
120+let ad = valueOrErrorMessage(getInteger(I, X), "Empty kBasePeriod")
121121
122-let ae = valueOrErrorMessage(getInteger(G, Z), "Empty kStartHeight")
122+let ae = valueOrErrorMessage(getInteger(I, Z), "Empty kStartHeight")
123123
124-let af = valueOrErrorMessage(getInteger(G, Y), "Empty kPeriodLength")
124+let af = valueOrErrorMessage(getInteger(I, Y), "Empty kPeriodLength")
125125
126-let ag = valueOrErrorMessage(getInteger(G, ab), "Empty kDurationFullVotePower")
126+let ag = valueOrErrorMessage(getInteger(I, ab), "Empty kDurationFullVotePower")
127127
128-let ah = valueOrErrorMessage(getInteger(G, ac), "Empty kMinVotePower")
128+let ah = valueOrErrorMessage(getInteger(I, ac), "Empty kMinVotePower")
129129
130-let ai = (ad + ((height - ae) / af))
130+let ai = getBooleanValue(this, f)
131131
132-func aj (T) = valueOrElse(getIntegerValue(T, z), 0)
132+let aj = (ad + ((height - ae) / af))
133133
134+func ak (T) = valueOrElse(getIntegerValue(T, B), 0)
134135
135-let ak = getIntegerValue(this, s)
136136
137137 let al = getIntegerValue(this, u)
138138
139-func am (T) = {
140- let an = V(T)
141- if ($isInstanceOf(an, "ByteVector"))
139+let am = getIntegerValue(this, w)
140+
141+func an (T) = {
142+ let ao = V(T)
143+ if ($isInstanceOf(ao, "ByteVector"))
142144 then {
143- let ao = an
144- value(assetInfo(ao)).name
145+ let ap = ao
146+ value(assetInfo(ap)).name
145147 }
146- else if ($isInstanceOf(an, "Unit"))
148+ else if ($isInstanceOf(ao, "Unit"))
147149 then {
148- let ap = an
150+ let aq = ao
149151 "WAVES"
150152 }
151153 else throw("Match error")
152154 }
153155
154156
155-func aq (T) = {
156- let an = W(T)
157- if ($isInstanceOf(an, "ByteVector"))
157+func ar (T) = {
158+ let ao = W(T)
159+ if ($isInstanceOf(ao, "ByteVector"))
158160 then {
159- let ao = an
160- value(assetInfo(ao)).name
161+ let ap = ao
162+ value(assetInfo(ap)).name
161163 }
162- else if ($isInstanceOf(an, "Unit"))
164+ else if ($isInstanceOf(ao, "Unit"))
163165 then {
164- let ap = an
166+ let aq = ao
165167 "WAVES"
166168 }
167169 else throw("Match error")
168170 }
169171
170172
171-let ar = fromBase58String(getStringValue(this, n))
173+let as = fromBase58String(getStringValue(this, p))
172174
173-func as (T) = valueOrElse(getBoolean(T, D), false)
175+func at (T) = valueOrElse(getBoolean(T, F), false)
174176
175177
176-func at (T) = valueOrElse(getInteger(T, C), 0)
178+func au (T) = valueOrElse(getInteger(T, E), 0)
177179
178180
179-func au (T) = valueOrErrorMessage(getInteger(T, v), ("No data on the key: " + v))
181+func av (T) = valueOrErrorMessage(getInteger(T, x), ("No data on the key: " + x))
180182
181183
182-func av (T) = valueOrErrorMessage(getInteger(T, w), ("No data on the key: " + w))
184+func aw (T) = valueOrErrorMessage(getInteger(T, y), ("No data on the key: " + y))
183185
184186
185-func aw (T) = valueOrErrorMessage(getInteger(this, (T + d)), (("No data on the key: " + T) + d))
187+func ax (T) = valueOrErrorMessage(getInteger(T, e), ("No data on the key: " + e))
186188
187189
188-func ax (T) = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
190+func ay (T) = valueOrErrorMessage(getInteger(this, (T + d)), (("No data on the key: " + T) + d))
189191
190192
191-func ay (az) = {
192- let an = az
193- if ($isInstanceOf(an, "ByteVector"))
193+func az (T) = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
194+
195+
196+func aA (aB) = {
197+ let ao = aB
198+ if ($isInstanceOf(ao, "ByteVector"))
194199 then {
195- let ao = an
196- let aA = toBase58String(ao)
197- let aB = valueOrErrorMessage(assetInfo(ao), (("Asset " + aA) + " doesn't exist"))
198- $Tuple3(aA, aB.name, aB.decimals)
200+ let ap = ao
201+ let aC = toBase58String(ap)
202+ let aD = valueOrErrorMessage(assetInfo(ap), (("Asset " + aC) + " doesn't exist"))
203+ $Tuple3(aC, aD.name, aD.decimals)
199204 }
200- else if ($isInstanceOf(an, "Unit"))
205+ else if ($isInstanceOf(ao, "Unit"))
201206 then {
202- let ap = an
207+ let aq = ao
203208 $Tuple3("WAVES", "WAVES", 8)
204209 }
205210 else throw("Match error")
206211 }
207212
208213
209-func aC (aD,aE) = {
210- let aF = value(assetInfo(aD)).decimals
211- let aG = value(assetInfo(aE)).decimals
212- let aH = ((aG - aF) + 8)
213- pow(10, 0, aH, 0, 0, HALFDOWN)
214+func aE (aF,aG) = {
215+ let aH = value(assetInfo(aF)).decimals
216+ let aI = value(assetInfo(aG)).decimals
217+ let aJ = ((aI - aH) + 8)
218+ pow(10, 0, aJ, 0, 0, HALFDOWN)
214219 }
215220
216221
217-func aI (T,aJ) = valueOrElse(getInteger(this, (((T + "_") + toString(aJ)) + q)), 0)
222+func aK (T,aL) = valueOrElse(getInteger(this, (((T + "_") + toString(aL)) + s)), 0)
218223
219224
220-func aK (T) = {
221- let aL = valueOrErrorMessage(getInteger(E, g), ((("No data on the key: " + g) + " at address ") + toString(E)))
222- let aM = valueOrErrorMessage(getInteger(E, h), ((("No data on the key: " + h) + " at address ") + toString(E)))
223- let aN = valueOrErrorMessage(getInteger(E, (T + e)), (((("No data on the key: " + T) + e) + " at address ") + toString(E)))
224- let aO = valueOrErrorMessage(getInteger(E, i), ((("No data on the key: " + i) + " at address ") + toString(E)))
225- let aP = valueOrErrorMessage(getInteger(E, (T + f)), (((("No data on the key: " + T) + f) + " at address ") + toString(E)))
226- let aQ = fraction(aL, aN, L)
227- let aR = fraction(aM, aP, L)
228- if (if ((aQ > aL))
225+func aM (T) = {
226+ let aN = valueOrErrorMessage(getInteger(G, i), ((("No data on the key: " + i) + " at address ") + toString(G)))
227+ let aO = valueOrErrorMessage(getInteger(G, j), ((("No data on the key: " + j) + " at address ") + toString(G)))
228+ let aP = valueOrErrorMessage(getInteger(G, (T + g)), (((("No data on the key: " + T) + g) + " at address ") + toString(G)))
229+ let aQ = valueOrErrorMessage(getInteger(G, k), ((("No data on the key: " + k) + " at address ") + toString(G)))
230+ let aR = valueOrErrorMessage(getInteger(G, (T + h)), (((("No data on the key: " + T) + h) + " at address ") + toString(G)))
231+ let aS = fraction(aN, aP, L)
232+ let aT = fraction(aO, aR, L)
233+ if (if ((aS > aN))
229234 then true
230- else (aR > aM))
235+ else (aT > aO))
231236 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
232- else $Tuple3(aQ, aO, aR)
237+ else $Tuple3(aS, aQ, aT)
233238 }
234239
235240
236-func aS (T) = {
237- let aT = valueOrErrorMessage(getInteger(this, (T + j)), (("No data on the key: " + T) + j))
238- let aU = valueOrElse(getInteger(this, (T + k)), height)
239- $Tuple2(aU, aT)
241+func aU (T) = {
242+ let aV = valueOrErrorMessage(getInteger(this, (T + l)), (("No data on the key: " + T) + l))
243+ let aW = valueOrElse(getInteger(this, (T + m)), height)
244+ $Tuple2(aW, aV)
240245 }
241246
242247
243-func aV (T,aW) = {
244- let aX = getInteger(this, (((T + "_") + toString(aW)) + m))
245- let aY = getInteger(this, (((T + "_") + toString(aW)) + l))
246- let aT = valueOrErrorMessage(getInteger(this, (T + j)), (("No data on the key: " + T) + j))
247- let aZ = {
248- let an = aX
249- if ($isInstanceOf(an, "Int"))
248+func aX (T,aY) = {
249+ let aZ = getInteger(this, (((T + "_") + toString(aY)) + o))
250+ let ba = getInteger(this, (((T + "_") + toString(aY)) + n))
251+ let aV = valueOrErrorMessage(getInteger(this, (T + l)), (("No data on the key: " + T) + l))
252+ let bb = {
253+ let ao = aZ
254+ if ($isInstanceOf(ao, "Int"))
250255 then {
251- let aX = an
252- aX
256+ let aZ = ao
257+ aZ
253258 }
254- else aT
259+ else aV
255260 }
256- let ba = {
257- let an = aY
258- if ($isInstanceOf(an, "Int"))
261+ let bc = {
262+ let ao = ba
263+ if ($isInstanceOf(ao, "Int"))
259264 then {
260- let aY = an
261- aY
265+ let ba = ao
266+ ba
262267 }
263268 else 0
264269 }
265- $Tuple2(aZ, ba)
270+ $Tuple2(bb, bc)
266271 }
267272
268273
269-func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0))
274+func bd (aW,aQ,aV,be,bf,bg,bh,bi,bj) = if ((bf == 0))
270275 then 0
271- else if ((aO > height))
276+ else if ((aQ > height))
272277 then {
273- let bi = (be * (height - aU))
274- (aT + fraction(bi, bg, bd))
278+ let bk = (bg * (height - aW))
279+ (aV + fraction(bk, bi, bf))
275280 }
276- else if ((aU > aO))
281+ else if ((aW > aQ))
277282 then {
278- let bi = (bc * (height - aU))
279- (aT + fraction(bi, bg, bd))
283+ let bk = (be * (height - aW))
284+ (aV + fraction(bk, bi, bf))
280285 }
281286 else {
282- let bj = (be * (aO - aU))
283- let bk = (aT + fraction(bj, bg, bd))
284- let bi = (bc * (height - aO))
285- (bk + fraction(bi, bg, bd))
287+ let bl = (bg * (aQ - aW))
288+ let bm = (aV + fraction(bl, bi, bf))
289+ let bk = (be * (height - aQ))
290+ (bm + fraction(bk, bi, bf))
286291 }
287292
288293
289-func bl (T,bm,bh) = {
290- let bf = ax(T)
291- let bg = aC(ar, bf)
292- let bd = aw(T)
293- let bn = aS(T)
294- let aU = bn._1
295- let aT = bn._2
296- let bo = aK(T)
297- let bc = bo._1
298- let aO = bo._2
299- let be = bo._3
300- let bp = aV(T, bm)
301- let aX = bp._1
302- let ba = bp._2
303- let bq = bb(aU, aO, aT, bc, bd, be, bf, bg, bh)
304- let br = fraction(ba, (bq - aX), bg)
305- let bs = bq
306- $Tuple4(bs, bq, br, ba)
294+func bn (T,bo,bj) = {
295+ let bh = az(T)
296+ let bi = aE(as, bh)
297+ let bf = ay(T)
298+ let bp = aU(T)
299+ let aW = bp._1
300+ let aV = bp._2
301+ let bq = aM(T)
302+ let be = bq._1
303+ let aQ = bq._2
304+ let bg = bq._3
305+ let br = aX(T, bo)
306+ let aZ = br._1
307+ let bc = br._2
308+ let bs = bd(aW, aQ, aV, be, bf, bg, bh, bi, bj)
309+ let bt = fraction(bc, (bs - aZ), bi)
310+ let bu = bs
311+ $Tuple4(bu, bs, bt, bc)
307312 }
308313
309314
310-func bt (T) = {
311- let bu = aS(T)
312- let aU = bu._1
313- let aT = bu._2
314- let bv = aK(T)
315- let bc = bv._1
316- let aO = bv._2
317- let be = bv._3
318- let bd = aw(T)
319- if ((bd == 0))
315+func bv (T) = {
316+ let bw = aU(T)
317+ let aW = bw._1
318+ let aV = bw._2
319+ let bx = aM(T)
320+ let be = bx._1
321+ let aQ = bx._2
322+ let bg = bx._3
323+ let bf = ay(T)
324+ if ((bf == 0))
320325 then 0
321- else if ((aO > height))
326+ else if ((aQ > height))
322327 then {
323- let bi = (be * (height - aU))
324- bi
328+ let bk = (bg * (height - aW))
329+ bk
325330 }
326- else if ((aU > aO))
331+ else if ((aW > aQ))
327332 then {
328- let bi = (bc * (height - aU))
329- bi
333+ let bk = (be * (height - aW))
334+ bk
330335 }
331336 else {
332- let bj = (be * (aO - aU))
333- let bi = (bc * (height - aO))
334- (bi + bj)
337+ let bl = (bg * (aQ - aW))
338+ let bk = (be * (height - aQ))
339+ (bk + bl)
335340 }
336341 }
337342
338343
339-func bw (T,bx) = {
340- let by = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
341- if ((bx == by))
344+func by (T,bz) = {
345+ let bA = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
346+ if ((bz == bA))
342347 then true
343348 else false
344349 }
345350
346351
347-func bz (T,aJ) = valueOrElse(getInteger(this, (((T + "_") + toString(aJ)) + o)), 0)
352+func bB (T,aL) = valueOrElse(getInteger(this, (((T + "_") + toString(aL)) + q)), 0)
348353
349354
350-@Callable(bA)
351-func init (bB) = if (isDefined(getString(this, n)))
355+@Callable(bC)
356+func init (bD) = if (isDefined(getString(this, p)))
352357 then throw("SWOP already initialized")
353358 else {
354- let bC = 100000000000000
355- let bD = Issue("SWOP", "SWOP protocol token", bC, 8, true)
356- let bE = calculateAssetId(bD)
357-[Issue("SWOP", "SWOP protocol token", bC, 8, true), StringEntry(n, toBase58String(bE))]
359+ let bE = 100000000000000
360+ let bF = Issue("SWOP", "SWOP protocol token", bE, 8, true)
361+ let bG = calculateAssetId(bF)
362+ if (isDefined(getBoolean(this, f)))
363+ then throw("DApp is already active")
364+ else [BooleanEntry(f, true), Issue("SWOP", "SWOP protocol token", bE, 8, true), StringEntry(p, toBase58String(bG))]
358365 }
359366
360367
361368
362-@Callable(bA)
363-func initPoolShareFarming (T) = if ((bA.caller != this))
369+@Callable(bC)
370+func initPoolShareFarming (T) = if ((bC.caller != this))
364371 then throw("Only the DApp itself can call this function")
365- else {
366- let bF = aK(T)
367- let bG = bF._1
368- let aO = bF._2
369- let be = bF._3
370-[IntegerEntry((T + d), 0), IntegerEntry((T + j), 0), IntegerEntry((T + k), height)]
371- }
372+ else if (!(ai))
373+ then throw("DApp is inactive at this moment")
374+ else {
375+ let bH = aM(T)
376+ let bI = bH._1
377+ let aQ = bH._2
378+ let bg = bH._3
379+[IntegerEntry((T + d), 0), IntegerEntry((T + l), 0), IntegerEntry((T + m), height)]
380+ }
372381
373382
374383
375-@Callable(bA)
376-func updatePoolInterest (T) = if ((bA.caller != F))
384+@Callable(bC)
385+func updatePoolInterest (T) = if ((bC.caller != H))
377386 then throw("Only the Admin itself can call this function")
378- else {
379- let bH = bl(T, J, 0)
380- let bs = bH._1
381- let bq = bH._2
382- let br = bH._3
383- let ba = bH._4
384- let bI = aK(T)
385- let bG = bI._1
386- let aO = bI._2
387- let be = bI._3
388-[IntegerEntry((T + d), 0), IntegerEntry((T + j), bs), IntegerEntry((T + k), height)]
389- }
387+ else if (!(ai))
388+ then throw("DApp is inactive at this moment")
389+ else {
390+ let bJ = bn(T, J, 0)
391+ let bu = bJ._1
392+ let bs = bJ._2
393+ let bt = bJ._3
394+ let bc = bJ._4
395+ let bK = aM(T)
396+ let bI = bK._1
397+ let aQ = bK._2
398+ let bg = bK._3
399+[IntegerEntry((T + d), 0), IntegerEntry((T + l), bu), IntegerEntry((T + m), height)]
400+ }
390401
391402
392403
393-@Callable(bA)
404+@Callable(bC)
394405 func lockShareTokens (T) = {
395- let bJ = $Tuple2(bA.payments[0].amount, bA.payments[0].assetId)
396- let bh = bJ._1
397- let bx = bJ._2
398- let bK = ay(bx)
399- let bL = bK._1
400- let bM = bK._2
401- let bN = bK._3
402- let bO = bl(T, bA.caller, bh)
403- let bs = bO._1
404- let bq = bO._2
405- let br = bO._3
406- let ba = bO._4
407- let bP = (ba + bh)
408- let bQ = (aI(T, bA.caller) + br)
409- let bR = aw(T)
410- let bS = (bR + bh)
411- let bT = bz(T, bA.caller)
412- let bU = (bT + br)
413- let bV = [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((((T + "_") + toString(bA.caller)) + l), bP), IntegerEntry((T + d), bS), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), IntegerEntry((((T + "_") + toString(bA.caller)) + q), bQ)]
414- if ((0 >= bh))
406+ let bL = $Tuple2(bC.payments[0].amount, bC.payments[0].assetId)
407+ let bj = bL._1
408+ let bz = bL._2
409+ let bM = aA(bz)
410+ let bN = bM._1
411+ let bO = bM._2
412+ let bP = bM._3
413+ let bQ = bn(T, bC.caller, bj)
414+ let bu = bQ._1
415+ let bs = bQ._2
416+ let bt = bQ._3
417+ let bc = bQ._4
418+ let bR = (bc + bj)
419+ let bS = (aK(T, bC.caller) + bt)
420+ let bT = ay(T)
421+ let bU = (bT + bj)
422+ let bV = bB(T, bC.caller)
423+ let bW = (bV + bt)
424+ let bX = [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((((T + "_") + toString(bC.caller)) + n), bR), IntegerEntry((T + d), bU), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), IntegerEntry((((T + "_") + toString(bC.caller)) + s), bS)]
425+ if ((0 >= bj))
415426 then throw("You can't lock token")
416- else if (!(bw(T, bx)))
417- then throw("Incorrect pmtAssetId")
418- else if (if (as(Address(fromBase58String(T))))
419- then (height > (at(Address(fromBase58String(T))) * af))
420- else false)
421- then {
422- let bW = split(getStringValue(G, (((toString(this) + "_") + T) + "_user_pool_struc")), "_")
423- let bX = split(getStringValue(G, (((toString(this) + "_") + T) + "_pool_struc")), "_")
424- let bY = split(getStringValue(G, (((toString(this) + "_") + T) + y)), "_")
425- let bZ = split(getStringValue(G, (T + x)), "_")
426- let ca = ba
427- let cb = if ((toString(ai) == bW[2]))
428- then valueOrElse(parseInt(bY[0]), 0)
429- else valueOrElse(parseInt(bW[0]), 0)
430- let cc = if ((toString(ai) == bX[2]))
431- then valueOrElse(parseInt(bZ[0]), 0)
432- else valueOrElse(parseInt(bX[0]), 0)
433- let cd = bt(T)
434- if ((parseInt(bW[1]) != 0))
435- then {
436- let ce = (fraction(aw(T), cb, cc) - ca)
437- if ((ce > 0))
438- then if ((bS >= ce))
439- then bV
440- else throw(("You maximum share token is " + toString(ce)))
441- else throw("You can't share token")
442- }
443- else throw("Your amount of token less than 0")
444- }
445- else bV
427+ else if (!(ai))
428+ then throw("DApp is inactive at this moment")
429+ else if (!(by(T, bz)))
430+ then throw("Incorrect pmtAssetId")
431+ else if (if (at(Address(fromBase58String(T))))
432+ then (height > (au(Address(fromBase58String(T))) * af))
433+ else false)
434+ then {
435+ let bY = split(getStringValue(I, (((toString(bC.caller) + "_") + T) + "_user_pool_struc")), "_")
436+ let bZ = split(getStringValue(I, (T + "_pool_struc")), "_")
437+ let ca = split(getStringValue(I, (((toString(bC.caller) + "_") + T) + A)), "_")
438+ let cb = split(getStringValue(I, (T + z)), "_")
439+ let cc = bc
440+ let cd = if ((toString(aj) == bY[2]))
441+ then valueOrElse(parseInt(ca[0]), 0)
442+ else valueOrElse(parseInt(bY[0]), 0)
443+ let ce = if ((toString(aj) == bZ[2]))
444+ then valueOrElse(parseInt(cb[0]), 0)
445+ else valueOrElse(parseInt(bZ[0]), 0)
446+ let cf = bv(T)
447+ if ((parseInt(bY[1]) != 0))
448+ then {
449+ let cg = (fraction(ax(addressFromStringValue(T)), cd, ce) - cc)
450+ if ((cg > 0))
451+ then if ((bT == 0))
452+ then (bX ++ [ScriptTransfer(H, cf, as)])
453+ else if ((cg >= bj))
454+ then bX
455+ else throw(("You maximum share token is " + toString(cg)))
456+ else throw("You can't share token")
457+ }
458+ else throw("Your amount of token less than 0")
459+ }
460+ else bX
446461 }
447462
448463
449464
450-@Callable(bA)
451-func withdrawShareTokens (T,cf) = {
452- let cg = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
453- let ch = bl(T, bA.caller, 1)
454- let bs = ch._1
455- let bq = ch._2
456- let br = ch._3
457- let ba = ch._4
458- let bP = (ba - cf)
459- let bQ = (aI(T, bA.caller) + br)
460- let bR = aw(T)
461- let bS = (bR - cf)
462- let bT = bz(T, bA.caller)
463- let bU = (bT + br)
464- if ((cf > ba))
465+@Callable(bC)
466+func withdrawShareTokens (T,ch) = {
467+ let ci = fromBase58String(getStringValue(value(addressFromString(T)), "share_asset_id"))
468+ let cj = bn(T, bC.caller, 1)
469+ let bu = cj._1
470+ let bs = cj._2
471+ let bt = cj._3
472+ let bc = cj._4
473+ let bR = (bc - ch)
474+ let bS = (aK(T, bC.caller) + bt)
475+ let bT = ay(T)
476+ let bU = (bT - ch)
477+ let bV = bB(T, bC.caller)
478+ let bW = (bV + bt)
479+ if ((ch > bc))
465480 then throw("Withdraw amount more then user locked amount")
466- else [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((((T + "_") + toString(bA.caller)) + l), bP), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((T + d), bS), IntegerEntry((((T + "_") + toString(bA.caller)) + q), bQ), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), ScriptTransfer(bA.caller, cf, cg)]
481+ else if (!(ai))
482+ then throw("DApp is inactive at this moment")
483+ else [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((((T + "_") + toString(bC.caller)) + n), bR), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((T + d), bU), IntegerEntry((((T + "_") + toString(bC.caller)) + s), bS), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), ScriptTransfer(bC.caller, ch, ci)]
467484 }
468485
469486
470487
471-@Callable(bA)
488+@Callable(bC)
472489 func claim (T) = {
473- let bd = aw(T)
474- let ci = aS(T)
475- let aU = ci._1
476- let aT = ci._2
477- let cj = aK(T)
478- let bc = cj._1
479- let aO = cj._2
480- let be = cj._3
481- let ck = bl(T, bA.caller, 1)
482- let bs = ck._1
483- let bq = ck._2
484- let br = ck._3
485- let ba = ck._4
486- let cl = (aI(T, bA.caller) + br)
487- let bT = bz(T, bA.caller)
488- let bU = (bT + br)
489- if ((cl == 0))
490+ let bf = ay(T)
491+ let ck = aU(T)
492+ let aW = ck._1
493+ let aV = ck._2
494+ let cl = aM(T)
495+ let be = cl._1
496+ let aQ = cl._2
497+ let bg = cl._3
498+ let cm = bn(T, bC.caller, 1)
499+ let bu = cm._1
500+ let bs = cm._2
501+ let bt = cm._3
502+ let bc = cm._4
503+ let cn = (aK(T, bC.caller) + bt)
504+ let bV = bB(T, bC.caller)
505+ let bW = (bV + bt)
506+ if ((cn == 0))
490507 then throw("You have 0 available SWOP")
491- else [IntegerEntry((((T + "_") + toString(bA.caller)) + m), bs), IntegerEntry((T + j), bq), IntegerEntry((T + k), height), IntegerEntry((((T + "_") + toString(bA.caller)) + q), 0), IntegerEntry((((T + "_") + toString(bA.caller)) + o), bU), IntegerEntry((((T + "_") + toString(bA.caller)) + p), br), ScriptTransfer(bA.caller, cl, ar)]
508+ else if (!(ai))
509+ then throw("DApp is inactive at this moment")
510+ else [IntegerEntry((((T + "_") + toString(bC.caller)) + o), bu), IntegerEntry((T + l), bs), IntegerEntry((T + m), height), IntegerEntry((((T + "_") + toString(bC.caller)) + s), 0), IntegerEntry((((T + "_") + toString(bC.caller)) + q), bW), IntegerEntry((((T + "_") + toString(bC.caller)) + r), bt), ScriptTransfer(bC.caller, cn, as)]
492511 }
493512
494513
495-@Verifier(cm)
496-func cn () = {
497- let an = cm
498- sigVerify(cm.bodyBytes, cm.proofs[0], cm.senderPublicKey)
514+@Verifier(co)
515+func cp () = {
516+ let ao = co
517+ sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey)
499518 }
500519

github/deemru/w8io/026f985 
156.51 ms