tx · 8pAMuZEVLJw8awpsD1jQD5YkPRXSs6ZY4zDUH2pP9hfU 3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb: -0.01400000 Waves 2021.06.01 13:29 [1551176] smart account 3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb > SELF 0.00000000 Waves
{ "type": 13, "id": "8pAMuZEVLJw8awpsD1jQD5YkPRXSs6ZY4zDUH2pP9hfU", "fee": 1400000, "feeAssetId": null, "timestamp": 1622543455998, "version": 2, "chainId": 84, "sender": "3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb", "senderPublicKey": "61fhePmC5L8iWserAMXoPAZbv24cAo6eyvnyYpoLpZJy", "proofs": [ "twWwPFemQogaMKctVBYDgF3RpviwRR97a5UXr7aDtk9rw3FXqTsjZYSy6WCVRR2mvZMEpSuhnV1s2WmgKxH25Bi" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAA5AAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAABR2b3RpbmdfYWN0aXZlX251bWJlcgAAAAAPa2V5SGVpZ2h0T2ZQb29sAgAAAA5fZmluaXNoX2hlaWdodAAAAAAFa2V5Tm8CAAAAD190b3RhbF92b3Rlc19ubwAAAAAGa2V5WWVzAgAAABBfdG90YWxfdm90ZXNfeWVzAAAAAAlrZXlOb1VzZXICAAAACF92b3RlX25vAAAAAAprZXlZZXNVc2VyAgAAAAlfdm90ZV95ZXMAAAAAEWtleVN0YXR1c09mVm90aW5nAgAAAAdfc3RhdHVzAAAAABFrZXlBbW91bnRPZlZvdGluZwIAAAAOdm90aW5nX2lkX2xhc3QAAAAAFGtleU1heEFtb3VudE9mVm90aW5nAgAAABFtYXhfYW1vdW50X3ZvdGluZwAAAAARa2V5TWF4R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kbWluAAAAAWkBAAAACGFjdGl2YXRlAAAAAAMFAAAACGlzQWN0aXZlCQAAAgAAAAECAAAAFkRBcHAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Ou+8Gg==", "height": 1551176, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3XQ2EUrpzggt3xL8cQr1ngfbP2j8iPjuyLC5WKTnbYH5 Next: FtBC8Mjj5Gj3gck3n4qZ2ddPqvKzSr2QKYB2RBrMtT8d Diff:
Old | New | Differences | |
---|---|---|---|
91 | 91 | ||
92 | 92 | let S = 7 | |
93 | 93 | ||
94 | - | let T = | |
94 | + | let T = 1443 | |
95 | 95 | ||
96 | 96 | func U (V) = { | |
97 | 97 | let W = V |
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'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'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU') | |
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, k) | |
73 | 73 | ||
74 | 74 | let J = valueOrElse(getString(this, v), "") | |
75 | 75 | ||
76 | 76 | let K = valueOrElse(getString(this, w), "") | |
77 | 77 | ||
78 | 78 | let L = valueOrElse(getString(this, x), "") | |
79 | 79 | ||
80 | 80 | let M = 1000000000 | |
81 | 81 | ||
82 | 82 | let N = 1000 | |
83 | 83 | ||
84 | 84 | let O = 100000000 | |
85 | 85 | ||
86 | 86 | let P = 1000 | |
87 | 87 | ||
88 | 88 | let Q = 8 | |
89 | 89 | ||
90 | 90 | let R = 3 | |
91 | 91 | ||
92 | 92 | let S = 7 | |
93 | 93 | ||
94 | - | let T = | |
94 | + | let T = 1443 | |
95 | 95 | ||
96 | 96 | func U (V) = { | |
97 | 97 | let W = V | |
98 | 98 | if ($isInstanceOf(W, "ByteVector")) | |
99 | 99 | then { | |
100 | 100 | let X = W | |
101 | 101 | if (isDefined(assetInfo(X))) | |
102 | 102 | then { | |
103 | 103 | let Y = toBase58String(X) | |
104 | 104 | let Z = valueOrErrorMessage(assetInfo(X), (("Asset " + Y) + " doesn't exist")) | |
105 | 105 | $Tuple3(Y, Z.name, Z.decimals) | |
106 | 106 | } | |
107 | 107 | else throw("Asset is not defined") | |
108 | 108 | } | |
109 | 109 | else if ($isInstanceOf(W, "Unit")) | |
110 | 110 | then { | |
111 | 111 | let aa = W | |
112 | 112 | $Tuple3("WAVES", "WAVES", 8) | |
113 | 113 | } | |
114 | 114 | else throw("Match error") | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func ab (ac,ad,ae) = { | |
119 | 119 | let af = split(ac, "_") | |
120 | 120 | let ag = isDefined(getInteger(this, ac)) | |
121 | 121 | if (if (ag) | |
122 | 122 | then (ac != "") | |
123 | 123 | else false) | |
124 | 124 | then { | |
125 | 125 | let ah = af[2] | |
126 | 126 | let ai = (((((ad + "_") + ae) + "_") + ah) + t) | |
127 | 127 | let aj = isDefined(getInteger(this, ai)) | |
128 | 128 | let ak = valueOrElse(getInteger(this, (ah + e)), 0) | |
129 | 129 | let al = valueOrElse(getBoolean(this, (ah + j)), true) | |
130 | 130 | if (aj) | |
131 | 131 | then if ((ak > height)) | |
132 | 132 | then if (al) | |
133 | 133 | then true | |
134 | 134 | else false | |
135 | 135 | else false | |
136 | 136 | else false | |
137 | 137 | } | |
138 | 138 | else false | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func am (an) = { | |
143 | 143 | let ac = valueOrElse(getString(this, an), "") | |
144 | 144 | let af = split(ac, "_") | |
145 | 145 | let ag = isDefined(getInteger(this, ac)) | |
146 | 146 | if (if (ag) | |
147 | 147 | then (ac != "") | |
148 | 148 | else false) | |
149 | 149 | then { | |
150 | 150 | let ah = af[2] | |
151 | 151 | let ak = valueOrElse(getInteger(this, (ah + e)), 0) | |
152 | 152 | let al = valueOrElse(getBoolean(this, (ah + j)), true) | |
153 | 153 | if ((ak > height)) | |
154 | 154 | then if (al) | |
155 | 155 | then "" | |
156 | 156 | else an | |
157 | 157 | else an | |
158 | 158 | } | |
159 | 159 | else an | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ao (ad,ae) = if (if (ab(J, ad, ae)) | |
164 | 164 | then true | |
165 | 165 | else ab(K, ad, ae)) | |
166 | 166 | then true | |
167 | 167 | else ab(L, ad, ae) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ap (ah) = { | |
171 | 171 | let ak = valueOrElse(getInteger(this, (toString(ah) + e)), 0) | |
172 | 172 | let al = valueOrElse(getBoolean(this, (toString(ah) + j)), true) | |
173 | 173 | let aq = height | |
174 | 174 | if ((0 > ah)) | |
175 | 175 | then 0 | |
176 | 176 | else if (!(al)) | |
177 | 177 | then 0 | |
178 | 178 | else if ((ak > aq)) | |
179 | 179 | then 1 | |
180 | 180 | else 0 | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func ar () = ((ap(valueOrElse(getInteger(this, J), -1)) + ap(valueOrElse(getInteger(this, K), -1))) + ap(valueOrElse(getInteger(this, L), -1))) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func as () = if ((am(v) != "")) | |
188 | 188 | then v | |
189 | 189 | else if ((am(w) != "")) | |
190 | 190 | then w | |
191 | 191 | else if ((am(x) != "")) | |
192 | 192 | then x | |
193 | 193 | else "" | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func at (au) = if ((au == "WAVES")) | |
197 | 197 | then unit | |
198 | 198 | else fromBase58String(au) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func av (aw) = if ((valueOrElse(getInteger(D, (toString(aw) + r)), 0) > 0)) | |
202 | 202 | then true | |
203 | 203 | else false | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func ax (ay) = [BooleanEntry(c, false), StringEntry(p, ay)] | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func az (aA,aB) = throw(((((("Insufficient DApp balance to pay " + toString(aA)) + " ") + aB) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | @Callable(aC) | |
213 | 213 | func init () = if ((aC.caller != this)) | |
214 | 214 | then throw("Only the DApp itself can call this function") | |
215 | 215 | else if (isDefined(getBoolean(this, c))) | |
216 | 216 | then throw("DApp is already active") | |
217 | 217 | else { | |
218 | 218 | let aD = 0 | |
219 | 219 | let aE = 0 | |
220 | 220 | let aF = true | |
221 | 221 | let aG = "" | |
222 | 222 | [StringEntry(b, a), BooleanEntry(c, aF), IntegerEntry(d, aD), IntegerEntry(k, aE), IntegerEntry(l, R), IntegerEntry(m, S), StringEntry(v, aG), StringEntry(w, aG), StringEntry(x, aG)] | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(aC) | |
228 | 228 | func initVotingForNewPool (ad,ae) = { | |
229 | 229 | let aH = $Tuple2(aC.payments[0].amount, aC.payments[0].assetId) | |
230 | 230 | let aI = aH._1 | |
231 | 231 | let aJ = aH._2 | |
232 | 232 | let aK = $Tuple2(at(ad), at(ae)) | |
233 | 233 | let aL = aK._1 | |
234 | 234 | let aM = aK._2 | |
235 | 235 | let aN = as() | |
236 | 236 | let aO = ar() | |
237 | 237 | let aP = ao(ad, ae) | |
238 | 238 | let aQ = U(aL) | |
239 | 239 | let aR = aQ._1 | |
240 | 240 | let aS = aQ._2 | |
241 | 241 | let aT = aQ._3 | |
242 | 242 | let aU = U(aM) | |
243 | 243 | let aV = aU._1 | |
244 | 244 | let aW = aU._2 | |
245 | 245 | let aX = aU._3 | |
246 | 246 | if (!(G)) | |
247 | 247 | then throw("DApp is inactive at this moment") | |
248 | 248 | else if ((aL == aM)) | |
249 | 249 | then throw("Assets must be different") | |
250 | 250 | else if (aP) | |
251 | 251 | then throw("This pool already exists") | |
252 | 252 | else if (if (((aO + 1) > R)) | |
253 | 253 | then true | |
254 | 254 | else (aN == "")) | |
255 | 255 | then throw(("Too many votings. Maximum quantity: " + toString(R))) | |
256 | 256 | else if ((size(aC.payments) != 1)) | |
257 | 257 | then throw("One attached asset expected") | |
258 | 258 | else if ((aJ != F)) | |
259 | 259 | then throw("You must use a SWOP token") | |
260 | 260 | else if (if ((ad == "")) | |
261 | 261 | then true | |
262 | 262 | else (ae == "")) | |
263 | 263 | then throw("Assets can't be empty") | |
264 | 264 | else if ((aI != M)) | |
265 | 265 | then throw("You need to attach 10 SWOP tokens") | |
266 | 266 | else if (!(if (if ((aM == E)) | |
267 | 267 | then true | |
268 | 268 | else (aM == unit)) | |
269 | 269 | then true | |
270 | 270 | else (aM == F))) | |
271 | 271 | then throw("assetB must be USDN, WAVES or SWOP") | |
272 | 272 | else [IntegerEntry((((((ad + "_") + ae) + "_") + toString(I)) + t), I), IntegerEntry((toString(I) + e), (height + T)), BooleanEntry((toString(I) + j), true), IntegerEntry(k, (I + 1)), IntegerEntry(d, (aO + 1)), StringEntry((ad + s), aS), StringEntry((ae + s), aW), StringEntry(aN, (((((ad + "_") + ae) + "_") + toString(I)) + t)), ScriptTransfer(C, aI, aJ)] | |
273 | 273 | } | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | ||
277 | 277 | @Callable(aC) | |
278 | 278 | func voteForPool (ah,aY,aZ) = { | |
279 | 279 | let aq = height | |
280 | 280 | let ba = valueOrErrorMessage(getIntegerValue(this, (toString(ah) + e)), "Empty pool height") | |
281 | 281 | let al = valueOrElse(getBoolean(this, (toString(ah) + j)), true) | |
282 | 282 | let bb = valueOrElse(getInteger(D, (toString(aC.caller) + r)), 0) | |
283 | 283 | let bc = if (aY) | |
284 | 284 | then (valueOrElse(getInteger(this, (((toString(aC.caller) + "_") + toString(ah)) + h)), 0) + aZ) | |
285 | 285 | else (valueOrElse(getInteger(this, (((toString(aC.caller) + "_") + toString(ah)) + i)), 0) + aZ) | |
286 | 286 | if (!(av(aC.caller))) | |
287 | 287 | then throw("This address has 0 SWOP in Governance dApp") | |
288 | 288 | else if (!(al)) | |
289 | 289 | then throw("This voting was canceled") | |
290 | 290 | else if ((aq > ba)) | |
291 | 291 | then throw("This voting was expired") | |
292 | 292 | else if ((0 > aZ)) | |
293 | 293 | then throw("The number of votes must be positive") | |
294 | 294 | else if ((bc > bb)) | |
295 | 295 | then throw((((toString(this) + " has ") + toString(bb)) + " SWOP in governance.")) | |
296 | 296 | else if (aY) | |
297 | 297 | then { | |
298 | 298 | let bd = valueOrElse(getInteger(this, (((toString(aC.caller) + "_") + toString(ah)) + i)), 0) | |
299 | 299 | let be = ((valueOrElse(getInteger(this, (toString(ah) + g)), 0) - bd) + aZ) | |
300 | 300 | [IntegerEntry((toString(ah) + g), be), IntegerEntry((((toString(aC.caller) + "_") + toString(ah)) + i), aZ)] | |
301 | 301 | } | |
302 | 302 | else { | |
303 | 303 | let bd = valueOrElse(getInteger(this, (((toString(aC.caller) + "_") + toString(ah)) + h)), 0) | |
304 | 304 | let be = ((valueOrElse(getInteger(this, (toString(ah) + f)), 0) - bd) + aZ) | |
305 | 305 | [IntegerEntry((toString(ah) + f), be), IntegerEntry((((toString(aC.caller) + "_") + toString(ah)) + h), aZ)] | |
306 | 306 | } | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | ||
311 | 311 | @Callable(aC) | |
312 | 312 | func cancelVoting (ah,ay) = { | |
313 | 313 | let al = valueOrElse(getBoolean(this, (toString(ah) + j)), true) | |
314 | 314 | if (!(G)) | |
315 | 315 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, p), "the cause wasn't specified"))) | |
316 | 316 | else if (!(containsElement([y, z, A, B], aC.callerPublicKey))) | |
317 | 317 | then throw("Only admin can call this function") | |
318 | 318 | else if (!(al)) | |
319 | 319 | then throw((("Voting " + toString(ah)) + " has already been stopped")) | |
320 | 320 | else [IntegerEntry(d, (H - 1)), BooleanEntry((toString(ah) + j), false), StringEntry((toString(ah) + q), ay)] | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(aC) | |
326 | 326 | func shutdown () = if (!(G)) | |
327 | 327 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, p), "the cause wasn't specified"))) | |
328 | 328 | else if (!(containsElement([y, z, A, B], aC.callerPublicKey))) | |
329 | 329 | then throw("Only admin can call this function") | |
330 | 330 | else ax("Paused by admin") | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(aC) | |
335 | 335 | func activate () = if (G) | |
336 | 336 | then throw("DApp is already active") | |
337 | 337 | else if (!(containsElement([y, z, A, B], aC.callerPublicKey))) | |
338 | 338 | then throw("Only admin can call this function") | |
339 | 339 | else [BooleanEntry(c, true), DeleteEntry(p)] | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | @Verifier(bf) | |
343 | 343 | func bg () = sigVerify(bf.bodyBytes, bf.proofs[0], bf.senderPublicKey) | |
344 | 344 |
github/deemru/w8io/169f3d6 41.49 ms ◑