tx · CCjnF1JYxCAABtPanr2xN8GSxDp2v5RySq4gjcNybB32 3N9CAERb2sxP3KFqx3xiTTodWy89KhxBwHT: -0.01400000 Waves 2021.05.12 15:30 [1522456] smart account 3N9CAERb2sxP3KFqx3xiTTodWy89KhxBwHT > SELF 0.00000000 Waves
{ "type": 13, "id": "CCjnF1JYxCAABtPanr2xN8GSxDp2v5RySq4gjcNybB32", "fee": 1400000, "feeAssetId": null, "timestamp": 1620822606578, "version": 2, "chainId": 84, "sender": "3N9CAERb2sxP3KFqx3xiTTodWy89KhxBwHT", "senderPublicKey": "FifCKr6rD8KHGBknqMUXeR5BKrdSRfU7WzC1uoyibZZ8", "proofs": [ "5V5WCAWvAW1PUP6PeHMvBSzJgTaS41knFbMKennBskXVXd6CZYKcUttSZgRswgq9W6PsVzS7d4m1H3ZutcseNsSz" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAA7AAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAABRrZXlNYXhBbW91bnRPZlZvdGluZwIAAAARbWF4X2Ftb3VudF92b3RpbmcAAAAAEWtleU1heERheU9mVm90aW5nAgAAAA5tYXhfZGF5X3ZvdGluZwAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9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QkBAAAAD2NvbnRhaW5zRWxlbWVudAAAAAIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkxCQAETAAAAAIFAAAADGFkbWluUHViS2V5MgkABEwAAAACBQAAAAxhZG1pblB1YktleTMJAARMAAAAAgUAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3AFAAAAA25pbAgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5CQAAAgAAAAECAAAAIU9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbgkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgUAAAAJa2V5QWN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAZl1vRF", "height": 1522456, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DNGm7xTYe7wfPEPNdT6guJsqCg32WhksiB9zQNvo87ZZ Next: none Diff:
Old | New | Differences | |
---|---|---|---|
95 | 95 | ||
96 | 96 | let U = 5 | |
97 | 97 | ||
98 | - | let V = | |
98 | + | let V = 3 | |
99 | 99 | ||
100 | 100 | func W (X) = { | |
101 | 101 | let Y = X |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.0.0" | |
5 | 5 | ||
6 | 6 | let b = "version" | |
7 | 7 | ||
8 | 8 | let c = "active" | |
9 | 9 | ||
10 | 10 | let d = "number_voting" | |
11 | 11 | ||
12 | 12 | let e = "_height" | |
13 | 13 | ||
14 | 14 | let f = "_no" | |
15 | 15 | ||
16 | 16 | let g = "_yes" | |
17 | 17 | ||
18 | 18 | let h = "_status" | |
19 | 19 | ||
20 | 20 | let i = "amount_voting" | |
21 | 21 | ||
22 | 22 | let j = "max_amount_voting" | |
23 | 23 | ||
24 | 24 | let k = "max_day_voting" | |
25 | 25 | ||
26 | 26 | let l = "commission" | |
27 | 27 | ||
28 | 28 | let m = "commission_scale_delimiter" | |
29 | 29 | ||
30 | 30 | let n = "shutdown_cause" | |
31 | 31 | ||
32 | 32 | let o = "_cancel_cause" | |
33 | 33 | ||
34 | 34 | let p = "_SWOP_amount" | |
35 | 35 | ||
36 | 36 | let q = "_name" | |
37 | 37 | ||
38 | 38 | let r = "_votingId" | |
39 | 39 | ||
40 | 40 | let s = "period_voting" | |
41 | 41 | ||
42 | 42 | let t = "active_vote_first" | |
43 | 43 | ||
44 | 44 | let u = "active_vote_second" | |
45 | 45 | ||
46 | 46 | let v = "active_vote_third" | |
47 | 47 | ||
48 | 48 | let w = "active_vote_fourth" | |
49 | 49 | ||
50 | 50 | let x = "active_vote_fifth" | |
51 | 51 | ||
52 | 52 | let y = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
53 | 53 | ||
54 | 54 | let z = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
55 | 55 | ||
56 | 56 | let A = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
57 | 57 | ||
58 | 58 | let B = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
59 | 59 | ||
60 | 60 | let C = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
61 | 61 | ||
62 | 62 | let D = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS') | |
63 | 63 | ||
64 | 64 | let E = base58'EFDDxNUESzMWkpnw89JitaDNwBm57LSeRm1XKSiagHRJ' | |
65 | 65 | ||
66 | 66 | let F = base58'EFDDxNUESzMWkpnw89JitaDNwBm57LSeRm1XKSiagHRJ' | |
67 | 67 | ||
68 | 68 | let G = getBooleanValue(this, c) | |
69 | 69 | ||
70 | 70 | let H = getIntegerValue(this, d) | |
71 | 71 | ||
72 | 72 | let I = getIntegerValue(this, i) | |
73 | 73 | ||
74 | 74 | let J = valueOrElse(getString(this, t), "") | |
75 | 75 | ||
76 | 76 | let K = valueOrElse(getString(this, u), "") | |
77 | 77 | ||
78 | 78 | let L = valueOrElse(getString(this, v), "") | |
79 | 79 | ||
80 | 80 | let M = valueOrElse(getString(this, w), "") | |
81 | 81 | ||
82 | 82 | let N = valueOrElse(getString(this, x), "") | |
83 | 83 | ||
84 | 84 | let O = 1000000000 | |
85 | 85 | ||
86 | 86 | let P = 1000 | |
87 | 87 | ||
88 | 88 | let Q = 100000000 | |
89 | 89 | ||
90 | 90 | let R = 1000 | |
91 | 91 | ||
92 | 92 | let S = 8 | |
93 | 93 | ||
94 | 94 | let T = 5 | |
95 | 95 | ||
96 | 96 | let U = 5 | |
97 | 97 | ||
98 | - | let V = | |
98 | + | let V = 3 | |
99 | 99 | ||
100 | 100 | func W (X) = { | |
101 | 101 | let Y = X | |
102 | 102 | if ($isInstanceOf(Y, "ByteVector")) | |
103 | 103 | then { | |
104 | 104 | let Z = Y | |
105 | 105 | if (isDefined(assetInfo(Z))) | |
106 | 106 | then { | |
107 | 107 | let aa = toBase58String(Z) | |
108 | 108 | let ab = valueOrErrorMessage(assetInfo(Z), (("Asset " + aa) + " doesn't exist")) | |
109 | 109 | $Tuple3(aa, ab.name, ab.decimals) | |
110 | 110 | } | |
111 | 111 | else throw("Asset is not define") | |
112 | 112 | } | |
113 | 113 | else if ($isInstanceOf(Y, "Unit")) | |
114 | 114 | then { | |
115 | 115 | let ac = Y | |
116 | 116 | $Tuple3("WAVES", "WAVES", 8) | |
117 | 117 | } | |
118 | 118 | else throw("Match error") | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ad (ae,af,ag) = { | |
123 | 123 | let ah = split(ae, "_") | |
124 | 124 | let ai = isDefined(getInteger(this, ae)) | |
125 | 125 | if (if (ai) | |
126 | 126 | then (ae != "") | |
127 | 127 | else false) | |
128 | 128 | then { | |
129 | 129 | let aj = ah[2] | |
130 | 130 | let ak = (((((af + "_") + ag) + "_") + aj) + r) | |
131 | 131 | let al = isDefined(getInteger(this, ak)) | |
132 | 132 | let am = valueOrElse(getInteger(this, (aj + e)), 0) | |
133 | 133 | let an = valueOrElse(getBoolean(this, (aj + h)), true) | |
134 | 134 | if (al) | |
135 | 135 | then if ((am > height)) | |
136 | 136 | then if (an) | |
137 | 137 | then true | |
138 | 138 | else false | |
139 | 139 | else false | |
140 | 140 | else false | |
141 | 141 | } | |
142 | 142 | else false | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ao (ap) = { | |
147 | 147 | let ae = valueOrElse(getString(this, ap), "") | |
148 | 148 | let ah = split(ae, "_") | |
149 | 149 | let ai = isDefined(getInteger(this, ae)) | |
150 | 150 | if (if (ai) | |
151 | 151 | then (ae != "") | |
152 | 152 | else false) | |
153 | 153 | then { | |
154 | 154 | let aj = ah[2] | |
155 | 155 | let am = valueOrElse(getInteger(this, (aj + e)), 0) | |
156 | 156 | let an = valueOrElse(getBoolean(this, (aj + h)), true) | |
157 | 157 | if ((am > height)) | |
158 | 158 | then if (an) | |
159 | 159 | then "" | |
160 | 160 | else ap | |
161 | 161 | else ap | |
162 | 162 | } | |
163 | 163 | else ap | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func aq (af,ag) = if (if (if (if (ad(J, af, ag)) | |
168 | 168 | then true | |
169 | 169 | else ad(K, af, ag)) | |
170 | 170 | then true | |
171 | 171 | else ad(L, af, ag)) | |
172 | 172 | then true | |
173 | 173 | else ad(M, af, ag)) | |
174 | 174 | then true | |
175 | 175 | else ad(N, af, ag) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func ar (aj) = { | |
179 | 179 | let am = valueOrElse(getInteger(this, (toString(aj) + e)), 0) | |
180 | 180 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
181 | 181 | let as = height | |
182 | 182 | if ((0 > aj)) | |
183 | 183 | then 0 | |
184 | 184 | else if (!(an)) | |
185 | 185 | then 0 | |
186 | 186 | else if ((am > as)) | |
187 | 187 | then 1 | |
188 | 188 | else 0 | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func at () = ((((ar(valueOrElse(getInteger(this, J), -1)) + ar(valueOrElse(getInteger(this, K), -1))) + ar(valueOrElse(getInteger(this, L), -1))) + ar(valueOrElse(getInteger(this, M), -1))) + ar(valueOrElse(getInteger(this, N), -1))) | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func au () = if ((ao(t) != "")) | |
196 | 196 | then t | |
197 | 197 | else if ((ao(u) != "")) | |
198 | 198 | then u | |
199 | 199 | else if ((ao(v) != "")) | |
200 | 200 | then v | |
201 | 201 | else if ((ao(w) != "")) | |
202 | 202 | then w | |
203 | 203 | else if ((ao(x) != "")) | |
204 | 204 | then x | |
205 | 205 | else "" | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func av (aw) = if ((aw == "WAVES")) | |
209 | 209 | then unit | |
210 | 210 | else fromBase58String(aw) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func ax (ay) = if ((valueOrElse(getInteger(D, (toString(ay) + p)), 0) > 0)) | |
214 | 214 | then true | |
215 | 215 | else false | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func az (aA) = [BooleanEntry(c, false), StringEntry(n, aA)] | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aB (aC,aD) = throw(((((("Insufficient DApp balance to pay " + toString(aC)) + " ") + aD) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(aE) | |
225 | 225 | func init () = if (isDefined(getBoolean(this, c))) | |
226 | 226 | then throw("DApp is already active") | |
227 | 227 | else { | |
228 | 228 | let aF = 0 | |
229 | 229 | let aG = 0 | |
230 | 230 | let aH = true | |
231 | 231 | let aI = "" | |
232 | 232 | [StringEntry(b, a), BooleanEntry(c, aH), IntegerEntry(d, aF), IntegerEntry(i, aG), IntegerEntry(j, T), IntegerEntry(k, U), StringEntry(t, aI), StringEntry(u, aI), StringEntry(v, aI), StringEntry(w, aI), StringEntry(x, aI)] | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | ||
237 | 237 | @Callable(aE) | |
238 | 238 | func initVotingForNewPool (af,ag) = { | |
239 | 239 | let aJ = $Tuple2(av(af), av(ag)) | |
240 | 240 | let aK = aJ._1 | |
241 | 241 | let aL = aJ._2 | |
242 | 242 | let aM = au() | |
243 | 243 | let aN = at() | |
244 | 244 | let aO = aq(af, ag) | |
245 | 245 | let aP = W(aK) | |
246 | 246 | let aQ = aP._1 | |
247 | 247 | let aR = aP._2 | |
248 | 248 | let aS = aP._3 | |
249 | 249 | let aT = W(aL) | |
250 | 250 | let aU = aT._1 | |
251 | 251 | let aV = aT._2 | |
252 | 252 | let aW = aT._3 | |
253 | 253 | if (!(G)) | |
254 | 254 | then throw("DApp is inactive at this moment") | |
255 | 255 | else if ((aK == aL)) | |
256 | 256 | then throw("Assets must be different") | |
257 | 257 | else if (if (((aN + 1) > T)) | |
258 | 258 | then true | |
259 | 259 | else (aM == "")) | |
260 | 260 | then throw(((("Too many votes. Maximum quantity -" + toString(aN)) + " ") + aM)) | |
261 | 261 | else if (aO) | |
262 | 262 | then throw("This pool already exists") | |
263 | 263 | else if (if ((af == "")) | |
264 | 264 | then true | |
265 | 265 | else (ag == "")) | |
266 | 266 | then throw("Assets can't be empty") | |
267 | 267 | else if (!(if (if ((aL == E)) | |
268 | 268 | then true | |
269 | 269 | else (aK == unit)) | |
270 | 270 | then true | |
271 | 271 | else (aK == F))) | |
272 | 272 | then throw("One of the assets must be USDN, WAVES, SWOP") | |
273 | 273 | else [IntegerEntry((((((af + "_") + ag) + "_") + toString(I)) + r), I), IntegerEntry((toString(I) + e), (height + V)), BooleanEntry((toString(I) + h), true), IntegerEntry(i, (I + 1)), IntegerEntry(d, (aN + 1)), StringEntry((af + q), aR), StringEntry((ag + q), aV), StringEntry(aM, (((((af + "_") + ag) + "_") + toString(I)) + r))] | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | ||
278 | 278 | @Callable(aE) | |
279 | 279 | func voteForPool (aj,aX,aY) = { | |
280 | 280 | let as = height | |
281 | 281 | let aZ = valueOrErrorMessage(getIntegerValue(this, (toString(aj) + e)), "Empty pool height") | |
282 | 282 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
283 | 283 | let ba = valueOrElse(getInteger(D, (toString(aE.caller) + p)), 0) | |
284 | 284 | let bb = ((valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aj)) + g)), 0) + valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aj)) + f)), 0)) + aY) | |
285 | 285 | if (!(ax(aE.caller))) | |
286 | 286 | then throw("This address has 0 SWOP in Governance dApp") | |
287 | 287 | else if (!(an)) | |
288 | 288 | then throw("This voting was canceled") | |
289 | 289 | else if ((as > aZ)) | |
290 | 290 | then throw("This voting was expired") | |
291 | 291 | else if ((0 > aY)) | |
292 | 292 | then throw("The number of votes must be positive") | |
293 | 293 | else if ((bb > ba)) | |
294 | 294 | then throw((((toString(this) + " has ") + toString(ba)) + " SWOP in governance.")) | |
295 | 295 | else if (aX) | |
296 | 296 | then { | |
297 | 297 | let bc = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aj)) + g)), 0) | |
298 | 298 | let bd = ((valueOrElse(getInteger(this, (toString(aj) + g)), 0) - bc) + aY) | |
299 | 299 | [IntegerEntry((toString(aj) + g), bd), IntegerEntry((((toString(aE.caller) + "_") + toString(aj)) + g), aY)] | |
300 | 300 | } | |
301 | 301 | else { | |
302 | 302 | let bc = valueOrElse(getInteger(this, (((toString(aE.caller) + "_") + toString(aj)) + f)), 0) | |
303 | 303 | let bd = ((valueOrElse(getInteger(this, (toString(aj) + f)), 0) - bc) + aY) | |
304 | 304 | [IntegerEntry((toString(aj) + f), bd), IntegerEntry((((toString(aE.caller) + "_") + toString(aj)) + f), aY)] | |
305 | 305 | } | |
306 | 306 | } | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | ||
310 | 310 | @Callable(aE) | |
311 | 311 | func cancellationVoting (aj,aA) = { | |
312 | 312 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
313 | 313 | if (!(G)) | |
314 | 314 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
315 | 315 | else if (!(an)) | |
316 | 316 | then throw((("Voting " + toString(aj)) + " has already been stopped")) | |
317 | 317 | else [IntegerEntry(d, (H - 1)), BooleanEntry((toString(aj) + h), false), StringEntry((toString(aj) + o), aA)] | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | ||
322 | 322 | @Callable(aE) | |
323 | 323 | func shutdown () = if (!(G)) | |
324 | 324 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
325 | 325 | else if (!(containsElement([y, z, A, B], aE.callerPublicKey))) | |
326 | 326 | then throw("Only admin can call this function") | |
327 | 327 | else az("Paused by admin") | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | ||
331 | 331 | @Callable(aE) | |
332 | 332 | func activate () = if (G) | |
333 | 333 | then throw("DApp is already active") | |
334 | 334 | else if (!(containsElement([y, z, A, B], aE.callerPublicKey))) | |
335 | 335 | then throw("Only admin can call this function") | |
336 | 336 | else [BooleanEntry(c, true), DeleteEntry(n)] | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | @Verifier(be) | |
340 | 340 | func bf () = true | |
341 | 341 |
github/deemru/w8io/169f3d6 50.59 ms ◑