tx · 3Rjhexgm1NwkDMDrDi2xFGfs6CJhzN7SLSjneLnG1onL 3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6: -0.01400000 Waves 2021.05.12 14:09 [1522377] smart account 3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6 > SELF 0.00000000 Waves
{ "type": 13, "id": "3Rjhexgm1NwkDMDrDi2xFGfs6CJhzN7SLSjneLnG1onL", "fee": 1400000, "feeAssetId": null, "timestamp": 1620817740692, "version": 2, "chainId": 84, "sender": "3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6", "senderPublicKey": "75SuvmjmHX6J7smVGHvWY6acr5mqyRQCYpFxeFQh8Cy3", "proofs": [ "3jYMqfHQN3whZ7Qzo2z3UpzZJ1zAyubimz29iDBKRrATyTQ57AfcsBjgZNPNbF6Y8Lvwc2AUReKbXgk8nq1WJQry" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAA7AAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAABRrZXlNYXhBbW91bnRPZlZvdGluZwIAAAARbWF4X2Ftb3VudF92b3RpbmcAAAAAEWtleU1heERheU9mVm90aW5nAgAAAA5tYXhfZGF5X3ZvdGluZwAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyAg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AAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5pMdNWQ==", "height": 1522377, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HKnrX5DE1iPcn7idEPm7dE1NPKUWvhaNtqEL1T75qzBN Next: Dox8HpadeCRzmZhVpFTTiXe35b4AVJKVmPA6jTWNVF54 Diff:
Old | New | Differences | |
---|---|---|---|
263 | 263 | else if (if (((aP + 1) > T)) | |
264 | 264 | then true | |
265 | 265 | else (aO == "")) | |
266 | - | then throw(("Too many votes. Maximum quantity | |
266 | + | then throw(("Too many votes. Maximum quantity -" + toString(T))) | |
267 | 267 | else if ((size(aD.payments) != 1)) | |
268 | 268 | then throw("One attached assets expected") | |
269 | 269 | else if ((aK != F)) |
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'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
53 | 53 | ||
54 | 54 | let z = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
55 | 55 | ||
56 | 56 | let A = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
57 | 57 | ||
58 | 58 | let B = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
59 | 59 | ||
60 | 60 | let C = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
61 | 61 | ||
62 | 62 | let D = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS') | |
63 | 63 | ||
64 | 64 | let E = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
65 | 65 | ||
66 | 66 | let F = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ' | |
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 | 98 | let V = (1440 * U) | |
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 = isDefined(getInteger(this, ae)) | |
124 | 124 | if (if (ah) | |
125 | 125 | then (ae != "") | |
126 | 126 | else false) | |
127 | 127 | then { | |
128 | 128 | let ai = split(ae, "_") | |
129 | 129 | let aj = ai[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 (ae) = { | |
147 | 147 | let ah = isDefined(getInteger(this, ae)) | |
148 | 148 | if (if (ah) | |
149 | 149 | then (ae != "") | |
150 | 150 | else false) | |
151 | 151 | then { | |
152 | 152 | let ai = split(ae, "_") | |
153 | 153 | let aj = ai[2] | |
154 | 154 | let am = valueOrElse(getInteger(this, (aj + e)), 0) | |
155 | 155 | let an = valueOrElse(getBoolean(this, (aj + h)), true) | |
156 | 156 | if ((am > height)) | |
157 | 157 | then if (an) | |
158 | 158 | then "" | |
159 | 159 | else ae | |
160 | 160 | else ae | |
161 | 161 | } | |
162 | 162 | else ae | |
163 | 163 | } | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func ap (af,ag) = if (if (if (if (ad(J, af, ag)) | |
167 | 167 | then true | |
168 | 168 | else ad(K, af, ag)) | |
169 | 169 | then true | |
170 | 170 | else ad(L, af, ag)) | |
171 | 171 | then true | |
172 | 172 | else ad(M, af, ag)) | |
173 | 173 | then true | |
174 | 174 | else ad(N, af, ag) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aq (aj) = { | |
178 | 178 | let am = valueOrElse(getInteger(this, (toString(aj) + e)), 0) | |
179 | 179 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
180 | 180 | let ar = height | |
181 | 181 | if ((0 > aj)) | |
182 | 182 | then 0 | |
183 | 183 | else if (!(an)) | |
184 | 184 | then 0 | |
185 | 185 | else if ((am > ar)) | |
186 | 186 | then 1 | |
187 | 187 | else 0 | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func as () = ((((aq(valueOrElse(getInteger(this, J), -1)) + aq(valueOrElse(getInteger(this, K), -1))) + aq(valueOrElse(getInteger(this, L), -1))) + aq(valueOrElse(getInteger(this, M), -1))) + aq(valueOrElse(getInteger(this, N), -1))) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func at () = if ((ao(J) != "")) | |
195 | 195 | then J | |
196 | 196 | else if ((ao(K) != "")) | |
197 | 197 | then K | |
198 | 198 | else if ((ao(L) != "")) | |
199 | 199 | then L | |
200 | 200 | else if ((ao(M) != "")) | |
201 | 201 | then M | |
202 | 202 | else if ((ao(N) != "")) | |
203 | 203 | then N | |
204 | 204 | else "" | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func au (av) = if ((av == "WAVES")) | |
208 | 208 | then unit | |
209 | 209 | else fromBase58String(av) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aw (ax) = if ((valueOrElse(getInteger(D, (toString(ax) + p)), 0) > 0)) | |
213 | 213 | then true | |
214 | 214 | else false | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func ay (az) = [BooleanEntry(c, false), StringEntry(n, az)] | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aA (aB,aC) = throw(((((("Insufficient DApp balance to pay " + toString(aB)) + " ") + aC) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | @Callable(aD) | |
224 | 224 | func init () = if ((aD.caller != this)) | |
225 | 225 | then throw("Only the DApp itself can call this function") | |
226 | 226 | else if (isDefined(getBoolean(this, c))) | |
227 | 227 | then throw("DApp is already active") | |
228 | 228 | else { | |
229 | 229 | let aE = 0 | |
230 | 230 | let aF = 0 | |
231 | 231 | let aG = true | |
232 | 232 | let aH = "" | |
233 | 233 | [StringEntry(b, a), BooleanEntry(c, aG), IntegerEntry(d, aE), IntegerEntry(i, aF), IntegerEntry(j, T), IntegerEntry(k, U), StringEntry(t, aH), StringEntry(u, aH), StringEntry(v, aH), StringEntry(w, aH), StringEntry(x, aH)] | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | ||
238 | 238 | @Callable(aD) | |
239 | 239 | func initVotingForNewPool (af,ag) = { | |
240 | 240 | let aI = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId) | |
241 | 241 | let aJ = aI._1 | |
242 | 242 | let aK = aI._2 | |
243 | 243 | let aL = $Tuple2(au(af), au(ag)) | |
244 | 244 | let aM = aL._1 | |
245 | 245 | let aN = aL._2 | |
246 | 246 | let aO = at() | |
247 | 247 | let aP = as() | |
248 | 248 | let aQ = ap(af, ag) | |
249 | 249 | let aR = W(aM) | |
250 | 250 | let aS = aR._1 | |
251 | 251 | let aT = aR._2 | |
252 | 252 | let aU = aR._3 | |
253 | 253 | let aV = W(aN) | |
254 | 254 | let aW = aV._1 | |
255 | 255 | let aX = aV._2 | |
256 | 256 | let aY = aV._3 | |
257 | 257 | if (!(G)) | |
258 | 258 | then throw("DApp is inactive at this moment") | |
259 | 259 | else if ((aM == aN)) | |
260 | 260 | then throw("Assets must be different") | |
261 | 261 | else if (aQ) | |
262 | 262 | then throw("This pool already exists") | |
263 | 263 | else if (if (((aP + 1) > T)) | |
264 | 264 | then true | |
265 | 265 | else (aO == "")) | |
266 | - | then throw(("Too many votes. Maximum quantity | |
266 | + | then throw(("Too many votes. Maximum quantity -" + toString(T))) | |
267 | 267 | else if ((size(aD.payments) != 1)) | |
268 | 268 | then throw("One attached assets expected") | |
269 | 269 | else if ((aK != F)) | |
270 | 270 | then throw("You must use a SWOP token") | |
271 | 271 | else if (if ((af == "")) | |
272 | 272 | then true | |
273 | 273 | else (ag == "")) | |
274 | 274 | then throw("Assets can't be empty") | |
275 | 275 | else if ((aJ != O)) | |
276 | 276 | then throw("You need to attach 10 SWOP tokens") | |
277 | 277 | else if (!(if (if ((aN == E)) | |
278 | 278 | then true | |
279 | 279 | else (aN == unit)) | |
280 | 280 | then true | |
281 | 281 | else (aN == F))) | |
282 | 282 | then throw("One of the assets must be USDN, WAVES, SWOP") | |
283 | 283 | 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, (aP + 1)), StringEntry((af + q), aT), StringEntry((ag + q), aX), StringEntry(aO, (((((af + "_") + ag) + "_") + toString(I)) + r)), ScriptTransfer(C, aJ, aK)] | |
284 | 284 | } | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | ||
288 | 288 | @Callable(aD) | |
289 | 289 | func voteForPool (aj,aZ,ba) = { | |
290 | 290 | let ar = height | |
291 | 291 | let bb = valueOrErrorMessage(getIntegerValue(this, (toString(aj) + e)), "Empty pool height") | |
292 | 292 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
293 | 293 | let bc = valueOrElse(getInteger(D, (toString(aD.caller) + p)), 0) | |
294 | 294 | let bd = ((valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + g)), 0) + valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + f)), 0)) + ba) | |
295 | 295 | if (!(aw(aD.caller))) | |
296 | 296 | then throw("This address has 0 SWOP in Governance dApp") | |
297 | 297 | else if (!(an)) | |
298 | 298 | then throw("This voting was canceled") | |
299 | 299 | else if ((ar > bb)) | |
300 | 300 | then throw("This voting was expired") | |
301 | 301 | else if ((0 > ba)) | |
302 | 302 | then throw("The number of votes must be positive") | |
303 | 303 | else if ((bd > bc)) | |
304 | 304 | then throw((((toString(this) + " has ") + toString(bc)) + " SWOP in governance.")) | |
305 | 305 | else if (aZ) | |
306 | 306 | then { | |
307 | 307 | let be = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + g)), 0) | |
308 | 308 | let bf = ((valueOrElse(getInteger(this, (toString(aj) + g)), 0) - be) + ba) | |
309 | 309 | [IntegerEntry((toString(aj) + g), bf), IntegerEntry((((toString(aD.caller) + "_") + toString(aj)) + g), ba)] | |
310 | 310 | } | |
311 | 311 | else { | |
312 | 312 | let be = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + f)), 0) | |
313 | 313 | let bf = ((valueOrElse(getInteger(this, (toString(aj) + f)), 0) - be) + ba) | |
314 | 314 | [IntegerEntry((toString(aj) + f), bf), IntegerEntry((((toString(aD.caller) + "_") + toString(aj)) + f), ba)] | |
315 | 315 | } | |
316 | 316 | } | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | ||
320 | 320 | @Callable(aD) | |
321 | 321 | func cancellationVoting (aj,az) = { | |
322 | 322 | let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true) | |
323 | 323 | 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], aD.callerPublicKey))) | |
326 | 326 | then throw("Only admin can call this function") | |
327 | 327 | else if (!(an)) | |
328 | 328 | then throw((("Voting " + toString(aj)) + " has already been stopped")) | |
329 | 329 | else [IntegerEntry(d, (H - 1)), BooleanEntry((toString(aj) + h), false), StringEntry((toString(aj) + o), az)] | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(aD) | |
335 | 335 | func shutdown () = if (!(G)) | |
336 | 336 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
337 | 337 | else if (!(containsElement([y, z, A, B], aD.callerPublicKey))) | |
338 | 338 | then throw("Only admin can call this function") | |
339 | 339 | else ay("Paused by admin") | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(aD) | |
344 | 344 | func activate () = if (G) | |
345 | 345 | then throw("DApp is already active") | |
346 | 346 | else if (!(containsElement([y, z, A, B], aD.callerPublicKey))) | |
347 | 347 | then throw("Only admin can call this function") | |
348 | 348 | else [BooleanEntry(c, true), DeleteEntry(n)] | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | @Verifier(bg) | |
352 | 352 | func bh () = sigVerify(bg.bodyBytes, bg.proofs[0], bg.senderPublicKey) | |
353 | 353 |
github/deemru/w8io/026f985 101.23 ms ◑