tx · EjqUTei8XRGPqNvE9NdyW8cJHyeABCJ3rZd89j11hKes 3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC: -0.01400000 Waves 2021.04.09 12:40 [1474743] smart account 3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC > SELF 0.00000000 Waves
{ "type": 13, "id": "EjqUTei8XRGPqNvE9NdyW8cJHyeABCJ3rZd89j11hKes", "fee": 1400000, "feeAssetId": null, "timestamp": 1617961232044, "version": 2, "chainId": 84, "sender": "3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC", "senderPublicKey": "FQ5JNhUjFS3Ty3nSykXrGWHDt4NvXJDCv4JQiJ3dXmKa", "proofs": [ "27iRVVSYn7PrqcfRcm4TWYZduQsn54xcGsQ9jzgjaMog5zH3Y8KeJSSZqqGMnpiCbTg6MGoDEdMtqYCQsdbYwVXd" ], "script": "base64:AAIEAAAAAAAAABwIAhIDCgEIEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAIQAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUa2V5U2hhcmVUb2tlbnNMb2NrZWQCAAAAGl90b3RhbF9zaGFyZV90b2tlbnNfbG9ja2VkAAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5VG90YWxSZXdhcmRQZXJCbG9ja0N1cnJlbnQCAAAAHnRvdGFsX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AAgkAASwAAAACBQAAAARwb29sAgAAAAFfCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAAQa2V5QXZhaWxhYmxlU1dPUAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAGGtleVVzZXJTV09QQ2xhaW1lZEFtb3VudAUAAAAUdXNlckNsYWltZWRBbW91bnROZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABxrZXlVc2VyU1dPUExhc3RDbGFpbWVkQW1vdW50BQAAAAtjbGFpbUFtb3VudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADWF2YWlsYWJsZUZ1bmQFAAAABFNXT1AFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleb9nBJQ=", "height": 1474743, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D64mUsQG7v4CNkdtcbqJm5f8rVZT719iW5XcVAf2NmFp Next: 5z4ZiCbxVUiZtLbvXna1v2rEs4JeACHKqgPfSJwZfgjc Diff:
Old | New | Differences | |
---|---|---|---|
37 | 37 | ||
38 | 38 | let r = "farming_start_height" | |
39 | 39 | ||
40 | - | let s = Address(base58' | |
40 | + | let s = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS') | |
41 | 41 | ||
42 | 42 | let t = 10106 | |
43 | 43 | ||
256 | 256 | let aJ = (aI + ap) | |
257 | 257 | if ((aQ == 0)) | |
258 | 258 | then throw("You have 0 available SWOP") | |
259 | - | else [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((((x + "_") + toString(av.caller)) + q), 0), | |
259 | + | else [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((((x + "_") + toString(av.caller)) + q), 0), IntegerEntry((((x + "_") + toString(av.caller)) + o), aJ), IntegerEntry((((x + "_") + toString(av.caller)) + p), ap), ScriptTransfer(av.caller, aQ, v)] | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Verifier(aR) | |
264 | - | func aS () = sigVerify(aR.bodyBytes, aR.proofs[0], aR.senderPublicKey) | |
264 | + | func aS () = { | |
265 | + | let X = aR | |
266 | + | sigVerify(aR.bodyBytes, aR.proofs[0], aR.senderPublicKey) | |
267 | + | } | |
265 | 268 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | 5 | ||
6 | 6 | let b = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | 7 | ||
8 | 8 | let c = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | 9 | ||
10 | 10 | let d = "_total_share_tokens_locked" | |
11 | 11 | ||
12 | 12 | let e = "_current_pool_fraction_reward" | |
13 | 13 | ||
14 | 14 | let f = "_previous_pool_fraction_reward" | |
15 | 15 | ||
16 | 16 | let g = "total_reward_per_block_current" | |
17 | 17 | ||
18 | 18 | let h = "total_reward_per_block_previous" | |
19 | 19 | ||
20 | 20 | let i = "reward_update_height" | |
21 | 21 | ||
22 | 22 | let j = "_last_interest" | |
23 | 23 | ||
24 | 24 | let k = "_last_interest_height" | |
25 | 25 | ||
26 | 26 | let l = "_share_tokens_locked" | |
27 | 27 | ||
28 | 28 | let m = "_last_interest" | |
29 | 29 | ||
30 | 30 | let n = "SWOP_id" | |
31 | 31 | ||
32 | 32 | let o = "_SWOP_claimed_amount" | |
33 | 33 | ||
34 | 34 | let p = "_SWOP_last_claimed_amount" | |
35 | 35 | ||
36 | 36 | let q = "_available_SWOP" | |
37 | 37 | ||
38 | 38 | let r = "farming_start_height" | |
39 | 39 | ||
40 | - | let s = Address(base58' | |
40 | + | let s = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS') | |
41 | 41 | ||
42 | 42 | let t = 10106 | |
43 | 43 | ||
44 | 44 | let u = 10000000000 | |
45 | 45 | ||
46 | 46 | let v = fromBase58String(getStringValue(this, n)) | |
47 | 47 | ||
48 | 48 | func w (x) = valueOrErrorMessage(getInteger(this, (x + d)), (("No data on the key: " + x) + d)) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func y (x) = fromBase58String(getStringValue(value(addressFromString(x)), "share_asset_id")) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func z (A,B) = { | |
55 | 55 | let C = value(assetInfo(A)).decimals | |
56 | 56 | let D = value(assetInfo(B)).decimals | |
57 | 57 | let E = ((D - C) + 8) | |
58 | 58 | pow(10, 0, E, 0, 0, HALFDOWN) | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func F (x,G) = valueOrElse(getInteger(this, (((x + "_") + toString(G)) + q)), 0) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func H (x) = { | |
66 | 66 | let I = valueOrErrorMessage(getInteger(s, g), ((("No data on the key: " + g) + " at address ") + toString(s))) | |
67 | 67 | let J = valueOrErrorMessage(getInteger(s, h), ((("No data on the key: " + h) + " at address ") + toString(s))) | |
68 | 68 | let K = valueOrErrorMessage(getInteger(s, (x + e)), (((("No data on the key: " + x) + e) + " at address ") + toString(s))) | |
69 | 69 | let L = valueOrErrorMessage(getInteger(s, i), ((("No data on the key: " + i) + " at address ") + toString(s))) | |
70 | 70 | let M = valueOrErrorMessage(getInteger(s, (x + f)), (((("No data on the key: " + x) + f) + " at address ") + toString(s))) | |
71 | 71 | let N = fraction(I, K, u) | |
72 | 72 | let O = fraction(J, M, u) | |
73 | 73 | if (if ((N > I)) | |
74 | 74 | then true | |
75 | 75 | else (O > J)) | |
76 | 76 | then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious") | |
77 | 77 | else $Tuple3(N, L, O) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func P (x) = { | |
82 | 82 | let Q = valueOrErrorMessage(getInteger(this, (x + j)), (("No data on the key: " + x) + j)) | |
83 | 83 | let R = valueOrElse(getInteger(this, (x + k)), height) | |
84 | 84 | $Tuple2(R, Q) | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func S (x,T) = { | |
89 | 89 | let U = getInteger(this, (((x + "_") + toString(T)) + m)) | |
90 | 90 | let V = getInteger(this, (((x + "_") + toString(T)) + l)) | |
91 | 91 | let Q = valueOrErrorMessage(getInteger(this, (x + j)), (("No data on the key: " + x) + j)) | |
92 | 92 | let W = { | |
93 | 93 | let X = U | |
94 | 94 | if ($isInstanceOf(X, "Int")) | |
95 | 95 | then { | |
96 | 96 | let U = X | |
97 | 97 | U | |
98 | 98 | } | |
99 | 99 | else Q | |
100 | 100 | } | |
101 | 101 | let Y = { | |
102 | 102 | let X = V | |
103 | 103 | if ($isInstanceOf(X, "Int")) | |
104 | 104 | then { | |
105 | 105 | let V = X | |
106 | 106 | V | |
107 | 107 | } | |
108 | 108 | else 0 | |
109 | 109 | } | |
110 | 110 | $Tuple2(W, Y) | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func Z (R,L,Q,aa,ab,ac,ad,ae,af) = if ((ab == 0)) | |
115 | 115 | then 0 | |
116 | 116 | else if ((L > height)) | |
117 | 117 | then { | |
118 | 118 | let ag = (ac * (height - R)) | |
119 | 119 | (Q + fraction(ag, ae, ab)) | |
120 | 120 | } | |
121 | 121 | else if ((R > L)) | |
122 | 122 | then { | |
123 | 123 | let ag = (aa * (height - R)) | |
124 | 124 | (Q + fraction(ag, ae, ab)) | |
125 | 125 | } | |
126 | 126 | else { | |
127 | 127 | let ah = (ac * (L - R)) | |
128 | 128 | let ai = (Q + fraction(ah, ae, ab)) | |
129 | 129 | let ag = (aa * (height - L)) | |
130 | 130 | (ai + fraction(ag, ae, ab)) | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func aj (x,ak,af) = { | |
135 | 135 | let ad = y(x) | |
136 | 136 | let ae = z(v, ad) | |
137 | 137 | let ab = w(x) | |
138 | 138 | let al = P(x) | |
139 | 139 | let R = al._1 | |
140 | 140 | let Q = al._2 | |
141 | 141 | let am = H(x) | |
142 | 142 | let aa = am._1 | |
143 | 143 | let L = am._2 | |
144 | 144 | let ac = am._3 | |
145 | 145 | let an = S(x, ak) | |
146 | 146 | let U = an._1 | |
147 | 147 | let Y = an._2 | |
148 | 148 | let ao = Z(R, L, Q, aa, ab, ac, ad, ae, af) | |
149 | 149 | let ap = fraction(Y, (ao - U), ae) | |
150 | 150 | let aq = ao | |
151 | 151 | $Tuple4(aq, ao, ap, Y) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func ar (x,as) = { | |
156 | 156 | let at = fromBase58String(getStringValue(value(addressFromString(x)), "share_asset_id")) | |
157 | 157 | if ((as == at)) | |
158 | 158 | then true | |
159 | 159 | else false | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func au (x,G) = valueOrElse(getInteger(this, (((x + "_") + toString(G)) + o)), 0) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | @Callable(av) | |
167 | 167 | func init (aw) = if (isDefined(getString(this, "keySWOPid"))) | |
168 | 168 | then throw("SWOP already initialized") | |
169 | 169 | else { | |
170 | 170 | let ax = 100000000000000 | |
171 | 171 | let ay = Issue("SWOP", "SWOP protocol token", ax, 8, true) | |
172 | 172 | let az = calculateAssetId(ay) | |
173 | 173 | [Issue("SWOP", "SWOP protocol token", ax, 8, true), StringEntry(n, toBase58String(az))] | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | ||
178 | 178 | @Callable(av) | |
179 | 179 | func initPoolShareFarming (x) = if ((av.caller != this)) | |
180 | 180 | then throw("Only the DApp itself can call this function") | |
181 | 181 | else { | |
182 | 182 | let aA = H(x) | |
183 | 183 | let aB = aA._1 | |
184 | 184 | let L = aA._2 | |
185 | 185 | let ac = aA._3 | |
186 | 186 | [IntegerEntry((x + d), 0), IntegerEntry((x + j), 0)] | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | ||
191 | 191 | @Callable(av) | |
192 | 192 | func lockShareTokens (x) = { | |
193 | 193 | let aC = $Tuple2(av.payments[0].amount, av.payments[0].assetId) | |
194 | 194 | let af = aC._1 | |
195 | 195 | let as = aC._2 | |
196 | 196 | if (!(ar(x, as))) | |
197 | 197 | then throw("Incorrect pmtAssetId") | |
198 | 198 | else { | |
199 | 199 | let aD = aj(x, av.caller, af) | |
200 | 200 | let aq = aD._1 | |
201 | 201 | let ao = aD._2 | |
202 | 202 | let ap = aD._3 | |
203 | 203 | let Y = aD._4 | |
204 | 204 | let aE = (Y + af) | |
205 | 205 | let aF = (F(x, av.caller) + ap) | |
206 | 206 | let aG = w(x) | |
207 | 207 | let aH = (aG + af) | |
208 | 208 | let aI = au(x, av.caller) | |
209 | 209 | let aJ = (aI + ap) | |
210 | 210 | [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((((x + "_") + toString(av.caller)) + l), aE), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((x + d), aH), IntegerEntry((((x + "_") + toString(av.caller)) + o), aJ), IntegerEntry((((x + "_") + toString(av.caller)) + p), ap), IntegerEntry((((x + "_") + toString(av.caller)) + q), aF)] | |
211 | 211 | } | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(av) | |
217 | 217 | func withdrawShareTokens (x,aK) = { | |
218 | 218 | let aL = fromBase58String(getStringValue(value(addressFromString(x)), "share_asset_id")) | |
219 | 219 | let aM = aj(x, av.caller, 1) | |
220 | 220 | let aq = aM._1 | |
221 | 221 | let ao = aM._2 | |
222 | 222 | let ap = aM._3 | |
223 | 223 | let Y = aM._4 | |
224 | 224 | if ((aK > Y)) | |
225 | 225 | then throw("Withdraw amount more then user locked amount") | |
226 | 226 | else { | |
227 | 227 | let aE = (Y - aK) | |
228 | 228 | let aF = (F(x, av.caller) + ap) | |
229 | 229 | let aG = w(x) | |
230 | 230 | let aH = (aG - aK) | |
231 | 231 | let aI = au(x, av.caller) | |
232 | 232 | let aJ = (aI + ap) | |
233 | 233 | [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((((x + "_") + toString(av.caller)) + l), aE), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((x + d), aH), IntegerEntry((((x + "_") + toString(av.caller)) + q), aF), IntegerEntry((((x + "_") + toString(av.caller)) + o), aJ), IntegerEntry((((x + "_") + toString(av.caller)) + p), ap), ScriptTransfer(av.caller, aK, aL)] | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | ||
239 | 239 | @Callable(av) | |
240 | 240 | func claim (x) = { | |
241 | 241 | let ab = w(x) | |
242 | 242 | let aN = P(x) | |
243 | 243 | let R = aN._1 | |
244 | 244 | let Q = aN._2 | |
245 | 245 | let aO = H(x) | |
246 | 246 | let aa = aO._1 | |
247 | 247 | let L = aO._2 | |
248 | 248 | let ac = aO._3 | |
249 | 249 | let aP = aj(x, av.caller, 1) | |
250 | 250 | let aq = aP._1 | |
251 | 251 | let ao = aP._2 | |
252 | 252 | let ap = aP._3 | |
253 | 253 | let Y = aP._4 | |
254 | 254 | let aQ = (F(x, av.caller) + ap) | |
255 | 255 | let aI = au(x, av.caller) | |
256 | 256 | let aJ = (aI + ap) | |
257 | 257 | if ((aQ == 0)) | |
258 | 258 | then throw("You have 0 available SWOP") | |
259 | - | else [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((((x + "_") + toString(av.caller)) + q), 0), | |
259 | + | else [IntegerEntry((((x + "_") + toString(av.caller)) + m), aq), IntegerEntry((x + j), ao), IntegerEntry((x + k), height), IntegerEntry((((x + "_") + toString(av.caller)) + q), 0), IntegerEntry((((x + "_") + toString(av.caller)) + o), aJ), IntegerEntry((((x + "_") + toString(av.caller)) + p), ap), ScriptTransfer(av.caller, aQ, v)] | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Verifier(aR) | |
264 | - | func aS () = sigVerify(aR.bodyBytes, aR.proofs[0], aR.senderPublicKey) | |
264 | + | func aS () = { | |
265 | + | let X = aR | |
266 | + | sigVerify(aR.bodyBytes, aR.proofs[0], aR.senderPublicKey) | |
267 | + | } | |
265 | 268 |
github/deemru/w8io/026f985 56.26 ms ◑