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:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABTAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAA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AAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5OzNb9w==", "height": 1565650, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 44vT9SyrcuFfQUUHo3TkBrzgAYQUssDvQXAdZaRLc9b1 Next: N7BbLWWFdE6kT7kJj2CEwNBHcJrRSGiSVad7FcVZEr3 Diff:
OldNewDifferences
1515
1616 let g = "_previous_pool_fraction_reward"
1717
18-let h = "_pool_reward_update_height"
18+let h = "total_reward_per_block_current"
1919
20-let i = "total_reward_per_block_current"
20+let i = "total_reward_per_block_previous"
2121
22-let j = "total_reward_per_block_previous"
22+let j = "reward_update_height"
2323
24-let k = "reward_update_height"
24+let k = "_last_interest"
2525
26-let l = "_last_interest"
26+let l = "_last_interest_height"
2727
28-let m = "_last_interest_height"
28+let m = "_share_tokens_locked"
2929
30-let n = "_share_tokens_locked"
30+let n = "_last_interest"
3131
32-let o = "_last_interest"
32+let o = "SWOP_id"
3333
34-let p = "SWOP_id"
34+let p = "_SWOP_claimed_amount"
3535
36-let q = "_SWOP_claimed_amount"
36+let q = "_SWOP_last_claimed_amount"
3737
38-let r = "_SWOP_last_claimed_amount"
38+let r = "_available_SWOP"
3939
40-let s = "_available_SWOP"
40+let s = "farming_start_height"
4141
42-let t = "farming_start_height"
42+let t = "apy"
4343
44-let u = "apy"
44+let u = "previous_total_vote_SWOP"
4545
46-let v = "previous_total_vote_SWOP"
46+let v = "swop_year_emission"
4747
48-let w = "swop_year_emission"
48+let w = "A_asset_balance"
4949
50-let x = "A_asset_balance"
50+let x = "B_asset_balance"
5151
52-let y = "B_asset_balance"
52+let y = "_harvest_pool_activeVote_struc"
5353
54-let z = "_harvest_pool_activeVote_struc"
54+let z = "_harvest_user_pool_activeVote_struc"
5555
56-let A = "_harvest_user_pool_activeVote_struc"
56+let A = "share_limit_on_first_harvest"
5757
58-let B = "share_limit_on_first_harvest"
58+let B = "A_asset_id"
5959
60-let C = "A_asset_id"
60+let C = "B_asset_id"
6161
62-let D = "B_asset_id"
62+let D = "first_harvest_height"
6363
64-let E = "first_harvest_height"
64+let E = "first_harvest"
6565
66-let F = "first_harvest"
66+let F = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
6767
68-let G = "sum_reward_previous"
68+let G = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
6969
70-let H = "sum_reward_current"
70+let H = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7171
72-let I = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
72+let I = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7373
74-let J = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
74+let J = 10106
7575
76-let K = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
76+let K = 10000000000
7777
78-let L = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
78+let L = 10
7979
80-let M = 10106
80+let M = 1000
8181
82-let N = 10000000000
82+let N = 100000
8383
84-let O = 10
84+let O = 1000000
8585
86-let P = 1000
86+let P = 100000000
8787
88-let Q = 100000
88+let Q = 100000000000
8989
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)
9791
9892
99-func W (V) = getStringValue(V, D)
93+func T (S) = getStringValue(S, C)
10094
10195
102-func X (V) = if ((U(V) == "WAVES"))
96+func U (S) = if ((R(S) == "WAVES"))
10397 then unit
104- else fromBase58String(U(V))
98+ else fromBase58String(R(S))
10599
106100
107-func Y (V) = if ((W(V) == "WAVES"))
101+func V (S) = if ((T(S) == "WAVES"))
108102 then unit
109- else fromBase58String(W(V))
103+ else fromBase58String(T(S))
110104
111105
112-let Z = "base_period"
106+let W = "base_period"
113107
114-let aa = "period_length"
108+let X = "period_length"
115109
116-let ab = "start_height"
110+let Y = "start_height"
117111
118-let ac = "first_harvest_height"
112+let Z = "first_harvest_height"
119113
120-let ad = "duration_full_vote_power"
114+let aa = "duration_full_vote_power"
121115
122-let ae = "min_vote_power"
116+let ab = "min_vote_power"
123117
124-let af = valueOrErrorMessage(getInteger(K, Z), "Empty kBasePeriod")
118+let ac = valueOrErrorMessage(getInteger(H, W), "Empty kBasePeriod")
125119
126-let ag = valueOrErrorMessage(getInteger(K, ab), "Empty kStartHeight")
120+let ad = valueOrErrorMessage(getInteger(H, Y), "Empty kStartHeight")
127121
128-let ah = valueOrErrorMessage(getInteger(K, aa), "Empty kPeriodLength")
122+let ae = valueOrErrorMessage(getInteger(H, X), "Empty kPeriodLength")
129123
130-let ai = valueOrErrorMessage(getInteger(K, ad), "Empty kDurationFullVotePower")
124+let af = valueOrErrorMessage(getInteger(H, aa), "Empty kDurationFullVotePower")
131125
132-let aj = valueOrErrorMessage(getInteger(K, ae), "Empty kMinVotePower")
126+let ag = valueOrErrorMessage(getInteger(H, ab), "Empty kMinVotePower")
133127
134-let ak = (af + ((height - ag) / ah))
128+let ah = (ac + ((height - ad) / ae))
135129
136-func al (V) = valueOrElse(getIntegerValue(V, B), 0)
130+func ai (S) = valueOrElse(getIntegerValue(S, A), 0)
137131
138132
139-let am = getIntegerValue(this, u)
133+let aj = getIntegerValue(this, t)
140134
141-let an = getIntegerValue(this, w)
135+let ak = getIntegerValue(this, v)
142136
143-func ao (V) = {
144- let ap = X(V)
145- if ($isInstanceOf(ap, "ByteVector"))
137+func al (S) = {
138+ let am = U(S)
139+ if ($isInstanceOf(am, "ByteVector"))
146140 then {
147- let aq = ap
148- value(assetInfo(aq)).name
141+ let an = am
142+ value(assetInfo(an)).name
149143 }
150- else if ($isInstanceOf(ap, "Unit"))
144+ else if ($isInstanceOf(am, "Unit"))
151145 then {
152- let ar = ap
146+ let ao = am
153147 "WAVES"
154148 }
155149 else throw("Match error")
156150 }
157151
158152
159-func as (V) = {
160- let ap = Y(V)
161- if ($isInstanceOf(ap, "ByteVector"))
153+func ap (S) = {
154+ let am = V(S)
155+ if ($isInstanceOf(am, "ByteVector"))
162156 then {
163- let aq = ap
164- value(assetInfo(aq)).name
157+ let an = am
158+ value(assetInfo(an)).name
165159 }
166- else if ($isInstanceOf(ap, "Unit"))
160+ else if ($isInstanceOf(am, "Unit"))
167161 then {
168- let ar = ap
162+ let ao = am
169163 "WAVES"
170164 }
171165 else throw("Match error")
172166 }
173167
174168
175-let at = fromBase58String(getStringValue(this, p))
169+let aq = fromBase58String(getStringValue(this, o))
176170
177-func au (V) = valueOrElse(getBoolean(V, F), false)
171+func ar (S) = valueOrElse(getBoolean(S, E), false)
178172
179173
180-func av (V) = valueOrElse(getInteger(V, E), 0)
174+func as (S) = valueOrElse(getInteger(S, D), 0)
181175
182176
183-func aw (V) = valueOrErrorMessage(getInteger(V, x), ("No data on the key: " + x))
177+func at (S) = valueOrErrorMessage(getInteger(S, w), ("No data on the key: " + w))
184178
185179
186-func ax (V) = valueOrErrorMessage(getInteger(V, y), ("No data on the key: " + y))
180+func au (S) = valueOrErrorMessage(getInteger(S, x), ("No data on the key: " + x))
187181
188182
189-func ay (V) = valueOrErrorMessage(getInteger(V, e), ("No data on the key: " + e))
183+func av (S) = valueOrErrorMessage(getInteger(S, e), ("No data on the key: " + e))
190184
191185
192-func az (V) = valueOrErrorMessage(getInteger(this, (V + d)), (("No data on the key: " + V) + d))
186+func aw (S) = valueOrErrorMessage(getInteger(this, (S + d)), (("No data on the key: " + S) + d))
193187
194188
195-func aA (V) = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
189+func ax (S) = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id"))
196190
197191
198-func aB (aC) = {
199- let ap = aC
200- if ($isInstanceOf(ap, "ByteVector"))
192+func ay (az) = {
193+ let am = az
194+ if ($isInstanceOf(am, "ByteVector"))
201195 then {
202- let aq = ap
203- let aD = toBase58String(aq)
204- let aE = valueOrErrorMessage(assetInfo(aq), (("Asset " + aD) + " doesn't exist"))
205- $Tuple3(aD, aE.name, aE.decimals)
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)
206200 }
207- else if ($isInstanceOf(ap, "Unit"))
201+ else if ($isInstanceOf(am, "Unit"))
208202 then {
209- let ar = ap
203+ let ao = am
210204 $Tuple3("WAVES", "WAVES", 8)
211205 }
212206 else throw("Match error")
213207 }
214208
215209
216-func aF (aG,aH) = {
217- let aI = value(assetInfo(aG)).decimals
218- let aJ = value(assetInfo(aH)).decimals
219- let aK = ((aJ - aI) + 8)
220- pow(10, 0, aK, 0, 0, HALFDOWN)
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)
221215 }
222216
223217
224-func aL (V,aM) = valueOrElse(getInteger(this, (((V + "_") + toString(aM)) + s)), 0)
218+func aI (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + r)), 0)
225219
226220
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))
237230 then true
238- else (aV > aP))
231+ else (aR > aM))
239232 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
240- else $Tuple4(aU, aR, aV, aS)
233+ else $Tuple3(aQ, aO, aR)
241234 }
242235
243236
244-func aW (V) = {
245- let aX = valueOrErrorMessage(getInteger(this, (V + l)), (("No data on the key: " + V) + l))
246- let aY = valueOrElse(getInteger(this, (V + m)), height)
247- $Tuple2(aY, aX)
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)
248241 }
249242
250243
251-func aZ (V,ba) = {
252- let bb = getInteger(this, (((V + "_") + toString(ba)) + o))
253- let bc = getInteger(this, (((V + "_") + toString(ba)) + n))
254- let aX = valueOrErrorMessage(getInteger(this, (V + l)), (("No data on the key: " + V) + l))
255- let bd = {
256- let ap = bb
257- if ($isInstanceOf(ap, "Int"))
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"))
258251 then {
259- let bb = ap
260- bb
252+ let aX = am
253+ aX
261254 }
262- else aX
255+ else aT
263256 }
264- let be = {
265- let ap = bc
266- if ($isInstanceOf(ap, "Int"))
257+ let ba = {
258+ let am = aY
259+ if ($isInstanceOf(am, "Int"))
267260 then {
268- let bc = ap
269- bc
261+ let aY = am
262+ aY
270263 }
271264 else 0
272265 }
273- $Tuple2(bd, be)
266+ $Tuple2(aZ, ba)
274267 }
275268
276269
277-func bf (aY,aR,aS,aX,bg,bh,bi,bj,bk,bl) = if ((bh == 0))
270+func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0))
278271 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))
283278 then {
284- let bm = (bi * (height - aY))
285- (aX + fraction(bm, bk, bh))
279+ let bi = (bc * (height - aU))
280+ (aT + fraction(bi, bg, bd))
286281 }
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))
313287 }
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- }
325288
326289
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)
346308 }
347309
348310
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))
363322 then {
364- let bm = (bi * (height - aY))
365- bm
323+ let bi = (be * (height - aU))
324+ bi
366325 }
367- else if ((aY > aR))
326+ else if ((aU > aO))
368327 then {
369- let bm = (bg * (height - aY))
370- bm
328+ let bi = (bc * (height - aU))
329+ bi
371330 }
372331 else {
373- let bn = (bi * (aR - aY))
374- let bm = (bg * (height - aR))
375- (bm + bn)
332+ let bj = (be * (aO - aU))
333+ let bi = (bc * (height - aO))
334+ (bi + bj)
376335 }
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
409337 }
410338
411339
412-func bA (V,bB) = {
413- let bC = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
414- if ((bB == bC))
340+func bw (S,bx) = {
341+ let by = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id"))
342+ if ((bx == by))
415343 then true
416344 else false
417345 }
418346
419347
420-func bD (V,aM) = valueOrElse(getInteger(this, (((V + "_") + toString(aM)) + q)), 0)
348+func bz (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + p)), 0)
421349
422350
423-@Callable(bE)
424-func init (bF) = if (isDefined(getString(this, p)))
351+@Callable(bA)
352+func init (bB) = if (isDefined(getString(this, o)))
425353 then throw("SWOP already initialized")
426354 else {
427- let bG = 100000000000000
428- let bH = Issue("SWOP", "SWOP protocol token", bG, 8, true)
429- let bI = calculateAssetId(bH)
430-[Issue("SWOP", "SWOP protocol token", bG, 8, true), StringEntry(p, toBase58String(bI))]
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))]
431359 }
432360
433361
434362
435-@Callable(bE)
436-func initPoolShareFarming (V) = if ((bE.caller != this))
363+@Callable(bA)
364+func initPoolShareFarming (S) = if ((bA.caller != this))
437365 then throw("Only the DApp itself can call this function")
438366 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)]
445372 }
446373
447374
448375
449-@Callable(bE)
450-func updatePoolInterest (V) = if ((bE.caller != J))
376+@Callable(bA)
377+func updatePoolInterest (S) = if ((bA.caller != G))
451378 then throw("Only the Admin itself can call this function")
452379 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)]
464390 }
465391
466392
467393
468-@Callable(bE)
469-func lockShareTokens (V) = {
470- let bN = $Tuple2(bE.payments[0].amount, bE.payments[0].assetId)
471- let bl = bN._1
472- let bB = bN._2
473- let bO = aB(bB)
474- let bP = bO._1
475- let bQ = bO._2
476- let bR = bO._3
477- let bS = bp(V, bE.caller, bl)
478- let bw = bS._1
479- let bu = bS._2
480- let bv = bS._3
481- let be = bS._4
482- let bT = (be + bl)
483- let bU = (aL(V, bE.caller) + bv)
484- let bV = az(V)
485- let bW = (bV + bl)
486- let bX = bD(V, bE.caller)
487- let bY = (bX + bv)
488- let bZ = [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((((V + "_") + toString(bE.caller)) + n), bT), IntegerEntry((V + d), bW), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), IntegerEntry((((V + "_") + toString(bE.caller)) + s), bU)]
489- if ((0 >= bl))
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))
490416 then throw("You can't lock token")
491- else if (!(bA(V, bB)))
417+ else if (!(bw(S, bx)))
492418 then throw("Incorrect pmtAssetId")
493- else if (if (au(Address(fromBase58String(V))))
494- then (av(Address(fromBase58String(V))) > height)
419+ else if (if (ar(Address(fromBase58String(S))))
420+ then (as(Address(fromBase58String(S))) > height)
495421 else false)
496422 then {
497- let ca = ((((av(Address(fromBase58String(V))) - ag) + 1) / ah) - 1)
498- let cb = split(getStringValue(K, (((toString(bE.caller) + "_") + V) + "_user_pool_struc")), "_")
499- let cc = split(getStringValue(K, (V + "_pool_struc")), "_")
500- let cd = split(valueOrElse(getString(K, (((toString(bE.caller) + "_") + V) + A)), ""), "_")
501- let ce = split(valueOrElse(getString(K, (V + z)), ""), "_")
502- let cf = be
503- let cg = if ((toString(ak) == cb[2]))
504- then valueOrElse(parseInt(cd[0]), 0)
505- else valueOrElse(parseInt(cb[1]), 0)
506- let ch = if ((toString(ak) == cc[2]))
507- then valueOrElse(parseInt(ce[0]), 0)
508- else valueOrElse(parseInt(cc[1]), 0)
509- let ci = bx(V)
510- if ((cg != 0))
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))
511437 then {
512- let cj = ay(addressFromStringValue(V))
513- let ck = (fraction(cj, cg, ch) - cf)
514- if (if ((size(cd) > 1))
515- then (valueOrElse(parseInt(cd[1]), 0) >= ca)
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)
516442 else false)
517443 then throw("You can't share token")
518- else if ((bl > cj))
519- then throw(("You can't share token more than " + toString(cj)))
520- else if ((ck > 0))
521- then if ((bV == 0))
522- then (bZ ++ [Reissue(at, ci, true), ScriptTransfer(J, ci, at)])
523- else if ((ck >= bl))
524- then bZ
525- else throw(("Your maximum share token is " + toString(ck)))
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)))
526452 else throw("You can't share token")
527453 }
528454 else throw("Your amount of token less than 0")
529455 }
530- else bZ
456+ else bV
531457 }
532458
533459
534460
535-@Callable(bE)
536-func withdrawShareTokens (V,cl) = {
537- let cm = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
538- let cn = bp(V, bE.caller, 1)
539- let bw = cn._1
540- let bu = cn._2
541- let bv = cn._3
542- let be = cn._4
543- let bT = (be - cl)
544- let bU = (aL(V, bE.caller) + bv)
545- let bV = az(V)
546- let bW = (bV - cl)
547- let bX = bD(V, bE.caller)
548- let bY = (bX + bv)
549- if ((cl > be))
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))
550476 then throw("Withdraw amount more then user locked amount")
551- else [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((((V + "_") + toString(bE.caller)) + n), bT), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((V + d), bW), IntegerEntry((((V + "_") + toString(bE.caller)) + s), bU), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), ScriptTransfer(bE.caller, cl, cm)]
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)]
552478 }
553479
554480
555481
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))
576501 then throw("You have 0 available SWOP")
577- else [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((((V + "_") + toString(bE.caller)) + s), 0), Reissue(at, cr, true), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), ScriptTransfer(bE.caller, cr, at)]
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)]
578503 }
579504
580505
581-@Verifier(cs)
582-func ct () = {
583- let ap = cs
584- sigVerify(cs.bodyBytes, cs.proofs[0], cs.senderPublicKey)
506+@Verifier(co)
507+func cp () = {
508+ let am = co
509+ sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey)
585510 }
586511
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
1212 let e = "share_limit_on_first_harvest"
1313
1414 let f = "_current_pool_fraction_reward"
1515
1616 let g = "_previous_pool_fraction_reward"
1717
18-let h = "_pool_reward_update_height"
18+let h = "total_reward_per_block_current"
1919
20-let i = "total_reward_per_block_current"
20+let i = "total_reward_per_block_previous"
2121
22-let j = "total_reward_per_block_previous"
22+let j = "reward_update_height"
2323
24-let k = "reward_update_height"
24+let k = "_last_interest"
2525
26-let l = "_last_interest"
26+let l = "_last_interest_height"
2727
28-let m = "_last_interest_height"
28+let m = "_share_tokens_locked"
2929
30-let n = "_share_tokens_locked"
30+let n = "_last_interest"
3131
32-let o = "_last_interest"
32+let o = "SWOP_id"
3333
34-let p = "SWOP_id"
34+let p = "_SWOP_claimed_amount"
3535
36-let q = "_SWOP_claimed_amount"
36+let q = "_SWOP_last_claimed_amount"
3737
38-let r = "_SWOP_last_claimed_amount"
38+let r = "_available_SWOP"
3939
40-let s = "_available_SWOP"
40+let s = "farming_start_height"
4141
42-let t = "farming_start_height"
42+let t = "apy"
4343
44-let u = "apy"
44+let u = "previous_total_vote_SWOP"
4545
46-let v = "previous_total_vote_SWOP"
46+let v = "swop_year_emission"
4747
48-let w = "swop_year_emission"
48+let w = "A_asset_balance"
4949
50-let x = "A_asset_balance"
50+let x = "B_asset_balance"
5151
52-let y = "B_asset_balance"
52+let y = "_harvest_pool_activeVote_struc"
5353
54-let z = "_harvest_pool_activeVote_struc"
54+let z = "_harvest_user_pool_activeVote_struc"
5555
56-let A = "_harvest_user_pool_activeVote_struc"
56+let A = "share_limit_on_first_harvest"
5757
58-let B = "share_limit_on_first_harvest"
58+let B = "A_asset_id"
5959
60-let C = "A_asset_id"
60+let C = "B_asset_id"
6161
62-let D = "B_asset_id"
62+let D = "first_harvest_height"
6363
64-let E = "first_harvest_height"
64+let E = "first_harvest"
6565
66-let F = "first_harvest"
66+let F = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
6767
68-let G = "sum_reward_previous"
68+let G = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
6969
70-let H = "sum_reward_current"
70+let H = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7171
72-let I = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
72+let I = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7373
74-let J = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
74+let J = 10106
7575
76-let K = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
76+let K = 10000000000
7777
78-let L = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
78+let L = 10
7979
80-let M = 10106
80+let M = 1000
8181
82-let N = 10000000000
82+let N = 100000
8383
84-let O = 10
84+let O = 1000000
8585
86-let P = 1000
86+let P = 100000000
8787
88-let Q = 100000
88+let Q = 100000000000
8989
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)
9791
9892
99-func W (V) = getStringValue(V, D)
93+func T (S) = getStringValue(S, C)
10094
10195
102-func X (V) = if ((U(V) == "WAVES"))
96+func U (S) = if ((R(S) == "WAVES"))
10397 then unit
104- else fromBase58String(U(V))
98+ else fromBase58String(R(S))
10599
106100
107-func Y (V) = if ((W(V) == "WAVES"))
101+func V (S) = if ((T(S) == "WAVES"))
108102 then unit
109- else fromBase58String(W(V))
103+ else fromBase58String(T(S))
110104
111105
112-let Z = "base_period"
106+let W = "base_period"
113107
114-let aa = "period_length"
108+let X = "period_length"
115109
116-let ab = "start_height"
110+let Y = "start_height"
117111
118-let ac = "first_harvest_height"
112+let Z = "first_harvest_height"
119113
120-let ad = "duration_full_vote_power"
114+let aa = "duration_full_vote_power"
121115
122-let ae = "min_vote_power"
116+let ab = "min_vote_power"
123117
124-let af = valueOrErrorMessage(getInteger(K, Z), "Empty kBasePeriod")
118+let ac = valueOrErrorMessage(getInteger(H, W), "Empty kBasePeriod")
125119
126-let ag = valueOrErrorMessage(getInteger(K, ab), "Empty kStartHeight")
120+let ad = valueOrErrorMessage(getInteger(H, Y), "Empty kStartHeight")
127121
128-let ah = valueOrErrorMessage(getInteger(K, aa), "Empty kPeriodLength")
122+let ae = valueOrErrorMessage(getInteger(H, X), "Empty kPeriodLength")
129123
130-let ai = valueOrErrorMessage(getInteger(K, ad), "Empty kDurationFullVotePower")
124+let af = valueOrErrorMessage(getInteger(H, aa), "Empty kDurationFullVotePower")
131125
132-let aj = valueOrErrorMessage(getInteger(K, ae), "Empty kMinVotePower")
126+let ag = valueOrErrorMessage(getInteger(H, ab), "Empty kMinVotePower")
133127
134-let ak = (af + ((height - ag) / ah))
128+let ah = (ac + ((height - ad) / ae))
135129
136-func al (V) = valueOrElse(getIntegerValue(V, B), 0)
130+func ai (S) = valueOrElse(getIntegerValue(S, A), 0)
137131
138132
139-let am = getIntegerValue(this, u)
133+let aj = getIntegerValue(this, t)
140134
141-let an = getIntegerValue(this, w)
135+let ak = getIntegerValue(this, v)
142136
143-func ao (V) = {
144- let ap = X(V)
145- if ($isInstanceOf(ap, "ByteVector"))
137+func al (S) = {
138+ let am = U(S)
139+ if ($isInstanceOf(am, "ByteVector"))
146140 then {
147- let aq = ap
148- value(assetInfo(aq)).name
141+ let an = am
142+ value(assetInfo(an)).name
149143 }
150- else if ($isInstanceOf(ap, "Unit"))
144+ else if ($isInstanceOf(am, "Unit"))
151145 then {
152- let ar = ap
146+ let ao = am
153147 "WAVES"
154148 }
155149 else throw("Match error")
156150 }
157151
158152
159-func as (V) = {
160- let ap = Y(V)
161- if ($isInstanceOf(ap, "ByteVector"))
153+func ap (S) = {
154+ let am = V(S)
155+ if ($isInstanceOf(am, "ByteVector"))
162156 then {
163- let aq = ap
164- value(assetInfo(aq)).name
157+ let an = am
158+ value(assetInfo(an)).name
165159 }
166- else if ($isInstanceOf(ap, "Unit"))
160+ else if ($isInstanceOf(am, "Unit"))
167161 then {
168- let ar = ap
162+ let ao = am
169163 "WAVES"
170164 }
171165 else throw("Match error")
172166 }
173167
174168
175-let at = fromBase58String(getStringValue(this, p))
169+let aq = fromBase58String(getStringValue(this, o))
176170
177-func au (V) = valueOrElse(getBoolean(V, F), false)
171+func ar (S) = valueOrElse(getBoolean(S, E), false)
178172
179173
180-func av (V) = valueOrElse(getInteger(V, E), 0)
174+func as (S) = valueOrElse(getInteger(S, D), 0)
181175
182176
183-func aw (V) = valueOrErrorMessage(getInteger(V, x), ("No data on the key: " + x))
177+func at (S) = valueOrErrorMessage(getInteger(S, w), ("No data on the key: " + w))
184178
185179
186-func ax (V) = valueOrErrorMessage(getInteger(V, y), ("No data on the key: " + y))
180+func au (S) = valueOrErrorMessage(getInteger(S, x), ("No data on the key: " + x))
187181
188182
189-func ay (V) = valueOrErrorMessage(getInteger(V, e), ("No data on the key: " + e))
183+func av (S) = valueOrErrorMessage(getInteger(S, e), ("No data on the key: " + e))
190184
191185
192-func az (V) = valueOrErrorMessage(getInteger(this, (V + d)), (("No data on the key: " + V) + d))
186+func aw (S) = valueOrErrorMessage(getInteger(this, (S + d)), (("No data on the key: " + S) + d))
193187
194188
195-func aA (V) = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
189+func ax (S) = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id"))
196190
197191
198-func aB (aC) = {
199- let ap = aC
200- if ($isInstanceOf(ap, "ByteVector"))
192+func ay (az) = {
193+ let am = az
194+ if ($isInstanceOf(am, "ByteVector"))
201195 then {
202- let aq = ap
203- let aD = toBase58String(aq)
204- let aE = valueOrErrorMessage(assetInfo(aq), (("Asset " + aD) + " doesn't exist"))
205- $Tuple3(aD, aE.name, aE.decimals)
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)
206200 }
207- else if ($isInstanceOf(ap, "Unit"))
201+ else if ($isInstanceOf(am, "Unit"))
208202 then {
209- let ar = ap
203+ let ao = am
210204 $Tuple3("WAVES", "WAVES", 8)
211205 }
212206 else throw("Match error")
213207 }
214208
215209
216-func aF (aG,aH) = {
217- let aI = value(assetInfo(aG)).decimals
218- let aJ = value(assetInfo(aH)).decimals
219- let aK = ((aJ - aI) + 8)
220- pow(10, 0, aK, 0, 0, HALFDOWN)
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)
221215 }
222216
223217
224-func aL (V,aM) = valueOrElse(getInteger(this, (((V + "_") + toString(aM)) + s)), 0)
218+func aI (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + r)), 0)
225219
226220
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))
237230 then true
238- else (aV > aP))
231+ else (aR > aM))
239232 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
240- else $Tuple4(aU, aR, aV, aS)
233+ else $Tuple3(aQ, aO, aR)
241234 }
242235
243236
244-func aW (V) = {
245- let aX = valueOrErrorMessage(getInteger(this, (V + l)), (("No data on the key: " + V) + l))
246- let aY = valueOrElse(getInteger(this, (V + m)), height)
247- $Tuple2(aY, aX)
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)
248241 }
249242
250243
251-func aZ (V,ba) = {
252- let bb = getInteger(this, (((V + "_") + toString(ba)) + o))
253- let bc = getInteger(this, (((V + "_") + toString(ba)) + n))
254- let aX = valueOrErrorMessage(getInteger(this, (V + l)), (("No data on the key: " + V) + l))
255- let bd = {
256- let ap = bb
257- if ($isInstanceOf(ap, "Int"))
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"))
258251 then {
259- let bb = ap
260- bb
252+ let aX = am
253+ aX
261254 }
262- else aX
255+ else aT
263256 }
264- let be = {
265- let ap = bc
266- if ($isInstanceOf(ap, "Int"))
257+ let ba = {
258+ let am = aY
259+ if ($isInstanceOf(am, "Int"))
267260 then {
268- let bc = ap
269- bc
261+ let aY = am
262+ aY
270263 }
271264 else 0
272265 }
273- $Tuple2(bd, be)
266+ $Tuple2(aZ, ba)
274267 }
275268
276269
277-func bf (aY,aR,aS,aX,bg,bh,bi,bj,bk,bl) = if ((bh == 0))
270+func bb (aU,aO,aT,bc,bd,be,bf,bg,bh) = if ((bd == 0))
278271 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))
283278 then {
284- let bm = (bi * (height - aY))
285- (aX + fraction(bm, bk, bh))
279+ let bi = (bc * (height - aU))
280+ (aT + fraction(bi, bg, bd))
286281 }
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))
313287 }
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- }
325288
326289
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)
346308 }
347309
348310
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))
363322 then {
364- let bm = (bi * (height - aY))
365- bm
323+ let bi = (be * (height - aU))
324+ bi
366325 }
367- else if ((aY > aR))
326+ else if ((aU > aO))
368327 then {
369- let bm = (bg * (height - aY))
370- bm
328+ let bi = (bc * (height - aU))
329+ bi
371330 }
372331 else {
373- let bn = (bi * (aR - aY))
374- let bm = (bg * (height - aR))
375- (bm + bn)
332+ let bj = (be * (aO - aU))
333+ let bi = (bc * (height - aO))
334+ (bi + bj)
376335 }
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
409337 }
410338
411339
412-func bA (V,bB) = {
413- let bC = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
414- if ((bB == bC))
340+func bw (S,bx) = {
341+ let by = fromBase58String(getStringValue(value(addressFromString(S)), "share_asset_id"))
342+ if ((bx == by))
415343 then true
416344 else false
417345 }
418346
419347
420-func bD (V,aM) = valueOrElse(getInteger(this, (((V + "_") + toString(aM)) + q)), 0)
348+func bz (S,aJ) = valueOrElse(getInteger(this, (((S + "_") + toString(aJ)) + p)), 0)
421349
422350
423-@Callable(bE)
424-func init (bF) = if (isDefined(getString(this, p)))
351+@Callable(bA)
352+func init (bB) = if (isDefined(getString(this, o)))
425353 then throw("SWOP already initialized")
426354 else {
427- let bG = 100000000000000
428- let bH = Issue("SWOP", "SWOP protocol token", bG, 8, true)
429- let bI = calculateAssetId(bH)
430-[Issue("SWOP", "SWOP protocol token", bG, 8, true), StringEntry(p, toBase58String(bI))]
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))]
431359 }
432360
433361
434362
435-@Callable(bE)
436-func initPoolShareFarming (V) = if ((bE.caller != this))
363+@Callable(bA)
364+func initPoolShareFarming (S) = if ((bA.caller != this))
437365 then throw("Only the DApp itself can call this function")
438366 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)]
445372 }
446373
447374
448375
449-@Callable(bE)
450-func updatePoolInterest (V) = if ((bE.caller != J))
376+@Callable(bA)
377+func updatePoolInterest (S) = if ((bA.caller != G))
451378 then throw("Only the Admin itself can call this function")
452379 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)]
464390 }
465391
466392
467393
468-@Callable(bE)
469-func lockShareTokens (V) = {
470- let bN = $Tuple2(bE.payments[0].amount, bE.payments[0].assetId)
471- let bl = bN._1
472- let bB = bN._2
473- let bO = aB(bB)
474- let bP = bO._1
475- let bQ = bO._2
476- let bR = bO._3
477- let bS = bp(V, bE.caller, bl)
478- let bw = bS._1
479- let bu = bS._2
480- let bv = bS._3
481- let be = bS._4
482- let bT = (be + bl)
483- let bU = (aL(V, bE.caller) + bv)
484- let bV = az(V)
485- let bW = (bV + bl)
486- let bX = bD(V, bE.caller)
487- let bY = (bX + bv)
488- let bZ = [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((((V + "_") + toString(bE.caller)) + n), bT), IntegerEntry((V + d), bW), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), IntegerEntry((((V + "_") + toString(bE.caller)) + s), bU)]
489- if ((0 >= bl))
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))
490416 then throw("You can't lock token")
491- else if (!(bA(V, bB)))
417+ else if (!(bw(S, bx)))
492418 then throw("Incorrect pmtAssetId")
493- else if (if (au(Address(fromBase58String(V))))
494- then (av(Address(fromBase58String(V))) > height)
419+ else if (if (ar(Address(fromBase58String(S))))
420+ then (as(Address(fromBase58String(S))) > height)
495421 else false)
496422 then {
497- let ca = ((((av(Address(fromBase58String(V))) - ag) + 1) / ah) - 1)
498- let cb = split(getStringValue(K, (((toString(bE.caller) + "_") + V) + "_user_pool_struc")), "_")
499- let cc = split(getStringValue(K, (V + "_pool_struc")), "_")
500- let cd = split(valueOrElse(getString(K, (((toString(bE.caller) + "_") + V) + A)), ""), "_")
501- let ce = split(valueOrElse(getString(K, (V + z)), ""), "_")
502- let cf = be
503- let cg = if ((toString(ak) == cb[2]))
504- then valueOrElse(parseInt(cd[0]), 0)
505- else valueOrElse(parseInt(cb[1]), 0)
506- let ch = if ((toString(ak) == cc[2]))
507- then valueOrElse(parseInt(ce[0]), 0)
508- else valueOrElse(parseInt(cc[1]), 0)
509- let ci = bx(V)
510- if ((cg != 0))
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))
511437 then {
512- let cj = ay(addressFromStringValue(V))
513- let ck = (fraction(cj, cg, ch) - cf)
514- if (if ((size(cd) > 1))
515- then (valueOrElse(parseInt(cd[1]), 0) >= ca)
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)
516442 else false)
517443 then throw("You can't share token")
518- else if ((bl > cj))
519- then throw(("You can't share token more than " + toString(cj)))
520- else if ((ck > 0))
521- then if ((bV == 0))
522- then (bZ ++ [Reissue(at, ci, true), ScriptTransfer(J, ci, at)])
523- else if ((ck >= bl))
524- then bZ
525- else throw(("Your maximum share token is " + toString(ck)))
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)))
526452 else throw("You can't share token")
527453 }
528454 else throw("Your amount of token less than 0")
529455 }
530- else bZ
456+ else bV
531457 }
532458
533459
534460
535-@Callable(bE)
536-func withdrawShareTokens (V,cl) = {
537- let cm = fromBase58String(getStringValue(value(addressFromString(V)), "share_asset_id"))
538- let cn = bp(V, bE.caller, 1)
539- let bw = cn._1
540- let bu = cn._2
541- let bv = cn._3
542- let be = cn._4
543- let bT = (be - cl)
544- let bU = (aL(V, bE.caller) + bv)
545- let bV = az(V)
546- let bW = (bV - cl)
547- let bX = bD(V, bE.caller)
548- let bY = (bX + bv)
549- if ((cl > be))
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))
550476 then throw("Withdraw amount more then user locked amount")
551- else [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((((V + "_") + toString(bE.caller)) + n), bT), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((V + d), bW), IntegerEntry((((V + "_") + toString(bE.caller)) + s), bU), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), ScriptTransfer(bE.caller, cl, cm)]
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)]
552478 }
553479
554480
555481
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))
576501 then throw("You have 0 available SWOP")
577- else [IntegerEntry((((V + "_") + toString(bE.caller)) + o), bw), IntegerEntry((V + l), bu), IntegerEntry((V + m), height), IntegerEntry((((V + "_") + toString(bE.caller)) + s), 0), Reissue(at, cr, true), IntegerEntry((((V + "_") + toString(bE.caller)) + q), bY), IntegerEntry((((V + "_") + toString(bE.caller)) + r), bv), ScriptTransfer(bE.caller, cr, at)]
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)]
578503 }
579504
580505
581-@Verifier(cs)
582-func ct () = {
583- let ap = cs
584- sigVerify(cs.bodyBytes, cs.proofs[0], cs.senderPublicKey)
506+@Verifier(co)
507+func cp () = {
508+ let am = co
509+ sigVerify(co.bodyBytes, co.proofs[0], co.senderPublicKey)
585510 }
586511

github/deemru/w8io/169f3d6 
197.91 ms