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

github/deemru/w8io/169f3d6 
48.28 ms