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