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:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAA7AAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAABRrZXlNYXhBbW91bnRPZlZvdGluZwIAAAARbWF4X2Ftb3VudF92b3RpbmcAAAAAEWtleU1heERheU9mVm90aW5nAgAAAA5tYXhfZGF5X3ZvdGluZwAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyA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ETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5pMdNWQ==", "height": 1522377, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HKnrX5DE1iPcn7idEPm7dE1NPKUWvhaNtqEL1T75qzBN Next: Dox8HpadeCRzmZhVpFTTiXe35b4AVJKVmPA6jTWNVF54 Diff:
OldNewDifferences
263263 else if (if (((aP + 1) > T))
264264 then true
265265 else (aO == ""))
266- then throw(("Too many votes. Maximum quantity: " + toString(T)))
266+ then throw(("Too many votes. Maximum quantity -" + toString(T)))
267267 else if ((size(aD.payments) != 1))
268268 then throw("One attached assets expected")
269269 else if ((aK != F))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "1.0.0"
55
66 let b = "version"
77
88 let c = "active"
99
1010 let d = "number_voting"
1111
1212 let e = "_height"
1313
1414 let f = "_no"
1515
1616 let g = "_yes"
1717
1818 let h = "_status"
1919
2020 let i = "amount_voting"
2121
2222 let j = "max_amount_voting"
2323
2424 let k = "max_day_voting"
2525
2626 let l = "commission"
2727
2828 let m = "commission_scale_delimiter"
2929
3030 let n = "shutdown_cause"
3131
3232 let o = "_cancel_cause"
3333
3434 let p = "_SWOP_amount"
3535
3636 let q = "_name"
3737
3838 let r = "_votingId"
3939
4040 let s = "period_voting"
4141
4242 let t = "active_vote_first"
4343
4444 let u = "active_vote_second"
4545
4646 let v = "active_vote_third"
4747
4848 let w = "active_vote_fourth"
4949
5050 let x = "active_vote_fifth"
5151
5252 let y = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5353
5454 let z = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5555
5656 let A = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5757
5858 let B = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5959
6060 let C = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
6161
6262 let D = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
6363
6464 let E = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
6565
6666 let F = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
6767
6868 let G = getBooleanValue(this, c)
6969
7070 let H = getIntegerValue(this, d)
7171
7272 let I = getIntegerValue(this, i)
7373
7474 let J = valueOrElse(getString(this, t), "")
7575
7676 let K = valueOrElse(getString(this, u), "")
7777
7878 let L = valueOrElse(getString(this, v), "")
7979
8080 let M = valueOrElse(getString(this, w), "")
8181
8282 let N = valueOrElse(getString(this, x), "")
8383
8484 let O = 1000000000
8585
8686 let P = 1000
8787
8888 let Q = 100000000
8989
9090 let R = 1000
9191
9292 let S = 8
9393
9494 let T = 5
9595
9696 let U = 5
9797
9898 let V = (1440 * U)
9999
100100 func W (X) = {
101101 let Y = X
102102 if ($isInstanceOf(Y, "ByteVector"))
103103 then {
104104 let Z = Y
105105 if (isDefined(assetInfo(Z)))
106106 then {
107107 let aa = toBase58String(Z)
108108 let ab = valueOrErrorMessage(assetInfo(Z), (("Asset " + aa) + " doesn't exist"))
109109 $Tuple3(aa, ab.name, ab.decimals)
110110 }
111111 else throw("Asset is not define")
112112 }
113113 else if ($isInstanceOf(Y, "Unit"))
114114 then {
115115 let ac = Y
116116 $Tuple3("WAVES", "WAVES", 8)
117117 }
118118 else throw("Match error")
119119 }
120120
121121
122122 func ad (ae,af,ag) = {
123123 let ah = isDefined(getInteger(this, ae))
124124 if (if (ah)
125125 then (ae != "")
126126 else false)
127127 then {
128128 let ai = split(ae, "_")
129129 let aj = ai[2]
130130 let ak = (((((af + "_") + ag) + "_") + aj) + r)
131131 let al = isDefined(getInteger(this, ak))
132132 let am = valueOrElse(getInteger(this, (aj + e)), 0)
133133 let an = valueOrElse(getBoolean(this, (aj + h)), true)
134134 if (al)
135135 then if ((am > height))
136136 then if (an)
137137 then true
138138 else false
139139 else false
140140 else false
141141 }
142142 else false
143143 }
144144
145145
146146 func ao (ae) = {
147147 let ah = isDefined(getInteger(this, ae))
148148 if (if (ah)
149149 then (ae != "")
150150 else false)
151151 then {
152152 let ai = split(ae, "_")
153153 let aj = ai[2]
154154 let am = valueOrElse(getInteger(this, (aj + e)), 0)
155155 let an = valueOrElse(getBoolean(this, (aj + h)), true)
156156 if ((am > height))
157157 then if (an)
158158 then ""
159159 else ae
160160 else ae
161161 }
162162 else ae
163163 }
164164
165165
166166 func ap (af,ag) = if (if (if (if (ad(J, af, ag))
167167 then true
168168 else ad(K, af, ag))
169169 then true
170170 else ad(L, af, ag))
171171 then true
172172 else ad(M, af, ag))
173173 then true
174174 else ad(N, af, ag)
175175
176176
177177 func aq (aj) = {
178178 let am = valueOrElse(getInteger(this, (toString(aj) + e)), 0)
179179 let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true)
180180 let ar = height
181181 if ((0 > aj))
182182 then 0
183183 else if (!(an))
184184 then 0
185185 else if ((am > ar))
186186 then 1
187187 else 0
188188 }
189189
190190
191191 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)))
192192
193193
194194 func at () = if ((ao(J) != ""))
195195 then J
196196 else if ((ao(K) != ""))
197197 then K
198198 else if ((ao(L) != ""))
199199 then L
200200 else if ((ao(M) != ""))
201201 then M
202202 else if ((ao(N) != ""))
203203 then N
204204 else ""
205205
206206
207207 func au (av) = if ((av == "WAVES"))
208208 then unit
209209 else fromBase58String(av)
210210
211211
212212 func aw (ax) = if ((valueOrElse(getInteger(D, (toString(ax) + p)), 0) > 0))
213213 then true
214214 else false
215215
216216
217217 func ay (az) = [BooleanEntry(c, false), StringEntry(n, az)]
218218
219219
220220 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"))
221221
222222
223223 @Callable(aD)
224224 func init () = if ((aD.caller != this))
225225 then throw("Only the DApp itself can call this function")
226226 else if (isDefined(getBoolean(this, c)))
227227 then throw("DApp is already active")
228228 else {
229229 let aE = 0
230230 let aF = 0
231231 let aG = true
232232 let aH = ""
233233 [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)]
234234 }
235235
236236
237237
238238 @Callable(aD)
239239 func initVotingForNewPool (af,ag) = {
240240 let aI = $Tuple2(aD.payments[0].amount, aD.payments[0].assetId)
241241 let aJ = aI._1
242242 let aK = aI._2
243243 let aL = $Tuple2(au(af), au(ag))
244244 let aM = aL._1
245245 let aN = aL._2
246246 let aO = at()
247247 let aP = as()
248248 let aQ = ap(af, ag)
249249 let aR = W(aM)
250250 let aS = aR._1
251251 let aT = aR._2
252252 let aU = aR._3
253253 let aV = W(aN)
254254 let aW = aV._1
255255 let aX = aV._2
256256 let aY = aV._3
257257 if (!(G))
258258 then throw("DApp is inactive at this moment")
259259 else if ((aM == aN))
260260 then throw("Assets must be different")
261261 else if (aQ)
262262 then throw("This pool already exists")
263263 else if (if (((aP + 1) > T))
264264 then true
265265 else (aO == ""))
266- then throw(("Too many votes. Maximum quantity: " + toString(T)))
266+ then throw(("Too many votes. Maximum quantity -" + toString(T)))
267267 else if ((size(aD.payments) != 1))
268268 then throw("One attached assets expected")
269269 else if ((aK != F))
270270 then throw("You must use a SWOP token")
271271 else if (if ((af == ""))
272272 then true
273273 else (ag == ""))
274274 then throw("Assets can't be empty")
275275 else if ((aJ != O))
276276 then throw("You need to attach 10 SWOP tokens")
277277 else if (!(if (if ((aN == E))
278278 then true
279279 else (aN == unit))
280280 then true
281281 else (aN == F)))
282282 then throw("One of the assets must be USDN, WAVES, SWOP")
283283 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)]
284284 }
285285
286286
287287
288288 @Callable(aD)
289289 func voteForPool (aj,aZ,ba) = {
290290 let ar = height
291291 let bb = valueOrErrorMessage(getIntegerValue(this, (toString(aj) + e)), "Empty pool height")
292292 let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true)
293293 let bc = valueOrElse(getInteger(D, (toString(aD.caller) + p)), 0)
294294 let bd = ((valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + g)), 0) + valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + f)), 0)) + ba)
295295 if (!(aw(aD.caller)))
296296 then throw("This address has 0 SWOP in Governance dApp")
297297 else if (!(an))
298298 then throw("This voting was canceled")
299299 else if ((ar > bb))
300300 then throw("This voting was expired")
301301 else if ((0 > ba))
302302 then throw("The number of votes must be positive")
303303 else if ((bd > bc))
304304 then throw((((toString(this) + " has ") + toString(bc)) + " SWOP in governance."))
305305 else if (aZ)
306306 then {
307307 let be = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + g)), 0)
308308 let bf = ((valueOrElse(getInteger(this, (toString(aj) + g)), 0) - be) + ba)
309309 [IntegerEntry((toString(aj) + g), bf), IntegerEntry((((toString(aD.caller) + "_") + toString(aj)) + g), ba)]
310310 }
311311 else {
312312 let be = valueOrElse(getInteger(this, (((toString(aD.caller) + "_") + toString(aj)) + f)), 0)
313313 let bf = ((valueOrElse(getInteger(this, (toString(aj) + f)), 0) - be) + ba)
314314 [IntegerEntry((toString(aj) + f), bf), IntegerEntry((((toString(aD.caller) + "_") + toString(aj)) + f), ba)]
315315 }
316316 }
317317
318318
319319
320320 @Callable(aD)
321321 func cancellationVoting (aj,az) = {
322322 let an = valueOrElse(getBoolean(this, (toString(aj) + h)), true)
323323 if (!(G))
324324 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified")))
325325 else if (!(containsElement([y, z, A, B], aD.callerPublicKey)))
326326 then throw("Only admin can call this function")
327327 else if (!(an))
328328 then throw((("Voting " + toString(aj)) + " has already been stopped"))
329329 else [IntegerEntry(d, (H - 1)), BooleanEntry((toString(aj) + h), false), StringEntry((toString(aj) + o), az)]
330330 }
331331
332332
333333
334334 @Callable(aD)
335335 func shutdown () = if (!(G))
336336 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified")))
337337 else if (!(containsElement([y, z, A, B], aD.callerPublicKey)))
338338 then throw("Only admin can call this function")
339339 else ay("Paused by admin")
340340
341341
342342
343343 @Callable(aD)
344344 func activate () = if (G)
345345 then throw("DApp is already active")
346346 else if (!(containsElement([y, z, A, B], aD.callerPublicKey)))
347347 then throw("Only admin can call this function")
348348 else [BooleanEntry(c, true), DeleteEntry(n)]
349349
350350
351351 @Verifier(bg)
352352 func bh () = sigVerify(bg.bodyBytes, bg.proofs[0], bg.senderPublicKey)
353353

github/deemru/w8io/026f985 
101.23 ms