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