tx · 3fxi5Nv7sMhcuhmMnSAe1cc4iDUCScttGhYkV8CD5E1v 3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb: -0.01400000 Waves 2021.11.16 12:22 [1793411] smart account 3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb > SELF 0.00000000 Waves
{ "type": 13, "id": "3fxi5Nv7sMhcuhmMnSAe1cc4iDUCScttGhYkV8CD5E1v", "fee": 1400000, "feeAssetId": null, "timestamp": 1637054626423, "version": 2, "chainId": 84, "sender": "3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb", "senderPublicKey": "61fhePmC5L8iWserAMXoPAZbv24cAo6eyvnyYpoLpZJy", "proofs": [ "5fhtJ4c6oNRoT7GkvSKDLR3pGZwheWqNz4aEdLbvbGmuN97ytqNfYTUSEpiC8C2V26HNnKaoPCRh8NwpAKPh2Rb9", "h8YBbxpaE9DZeBsBFqL9EmwkLWXNffqLRFfhRBxSo9P646Qp5qmjauVPqv3ba1cg5XR8HzhnCefC4WqCN4fbaEU" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAA6AAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAABR2b3RpbmdfYWN0aXZlX251bWJlcgAAAAAPa2V5SGVpZ2h0T2ZQb29sAgAAAA5fZmluaXNoX2hlaWdodAAAAAAFa2V5Tm8CAAAAD190b3RhbF92b3Rlc19ubwAAAAAGa2V5WWVzAgAAABBfdG90YWxfdm90ZXNfeWVzAAAAAAlrZXlOb1VzZXICAAAACF92b3RlX25vAAAAAAprZXlZZXNVc2VyAgAAAAlfdm90ZV95ZXMAAAAAEWtleVN0YXR1c09mVm90aW5nAgAAAAdfc3RhdHVzAAAAABFrZXlBbW91bnRPZlZvdGluZwIAAAAO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AABAAAAAAAAAAAABAAAABJhZG1pblB1YktleTNTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAMYWRtaW5QdWJLZXkzAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAABJhZG1pblB1YktleTFTaWduZWQFAAAAEmFkbWluUHViS2V5MlNpZ25lZAUAAAASYWRtaW5QdWJLZXkzU2lnbmVkAAAAAAAAAAACIBJSdw==", "height": 1793411, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6d6hWBfWCJWFmL8QiVcs8yZXhoggCRMRWxaRf7ScFQ4g Next: BfKn8B4KMUtL3SC4vrDqCu58c7uPjZfwZVbcp1V5WNLW Full:
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'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
61 | 61 | ||
62 | 62 | let D = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
63 | 63 | ||
64 | 64 | let E = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
65 | 65 | ||
66 | 66 | let F = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ' | |
67 | 67 | ||
68 | 68 | let G = base58'EaRsdnbj2HsZJWK49fkEPungYvK93wZfsJy54Nrii96x' | |
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/169f3d6 48.28 ms ◑