tx · 5JNxa3P3Qid93zpmT9SMGDWcGFH15iNgG2b6UB4fhYWF

3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6:  -0.01400000 Waves

2021.05.12 11:03 [1522190] smart account 3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6 > SELF 0.00000000 Waves

{ "type": 13, "id": "5JNxa3P3Qid93zpmT9SMGDWcGFH15iNgG2b6UB4fhYWF", "fee": 1400000, "feeAssetId": null, "timestamp": 1620806679159, "version": 2, "chainId": 84, "sender": "3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6", "senderPublicKey": "75SuvmjmHX6J7smVGHvWY6acr5mqyRQCYpFxeFQh8Cy3", "proofs": [ "4qPDg8LnB9UJDPjy7X8XPQVZ898vNam2RauBXLq78Rz7f8J9mVTdA1BdTKjnSg2C2Q3Hrq3VwpyNS4rQBUHbaGiW" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAAvAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAABRrZXlNYXhBbW91bnRPZlZvdGluZwIAAAARbWF4X2Ftb3VudF92b3RpbmcAAAAAEWtleU1heERheU9mVm90aW5nAgAAAA5tYXhfZGF5X3ZvdGluZwAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVy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AAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAQAAAAdzdXNwZW5kAAAAAQIAAAAPUGF1c2VkIGJ5IGFkbWluAAAAAWkBAAAACGFjdGl2YXRlAAAAAAMFAAAACGlzQWN0aXZlCQAAAgAAAAECAAAAFkRBcHAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5e9rc7g==", "height": 1522190, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2sfZxvRTEYGgeAe6W1GCtu8wCYiixRvSResCSXefX5et Next: C5Kk6NeDVXRP8jmkE4rxZpSfZLWJKhFnKRrqvgEcYqAb Diff:
OldNewDifferences
7575
7676 let K = 5
7777
78-let L = 5
78+let L = (8 * 60)
7979
8080 func M (N) = if ((N == "WAVES"))
8181 then unit
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 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4343
4444 let u = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4545
4646 let v = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4747
4848 let w = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4949
5050 let x = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
5151
5252 let y = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
5353
5454 let z = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
5555
5656 let A = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
5757
5858 let B = getBooleanValue(this, c)
5959
6060 let C = getIntegerValue(this, d)
6161
6262 let D = getIntegerValue(this, i)
6363
6464 let E = 1000000000
6565
6666 let F = 1000
6767
6868 let G = 100000000
6969
7070 let H = 1000
7171
7272 let I = 8
7373
7474 let J = 5
7575
7676 let K = 5
7777
78-let L = 5
78+let L = (8 * 60)
7979
8080 func M (N) = if ((N == "WAVES"))
8181 then unit
8282 else fromBase58String(N)
8383
8484
8585 func O (P) = {
8686 let Q = P
8787 if ($isInstanceOf(Q, "ByteVector"))
8888 then {
8989 let R = Q
9090 if (isDefined(assetInfo(R)))
9191 then {
9292 let S = toBase58String(R)
9393 let T = valueOrErrorMessage(assetInfo(R), (("Asset " + S) + " doesn't exist"))
9494 $Tuple3(S, T.name, T.decimals)
9595 }
9696 else throw("Asset is not define")
9797 }
9898 else if ($isInstanceOf(Q, "Unit"))
9999 then {
100100 let U = Q
101101 $Tuple3("WAVES", "WAVES", 8)
102102 }
103103 else throw("Match error")
104104 }
105105
106106
107107 func V (W) = isDefined(getInteger(this, W))
108108
109109
110110 func X (D,Y,Z) = if (if (if (if (V((((((Y + "_") + Z) + "_") + toString((D - 1))) + r)))
111111 then true
112112 else V((((((Y + "_") + Z) + "_") + toString((D - 2))) + r)))
113113 then true
114114 else V((((((Y + "_") + Z) + "_") + toString((D - 3))) + r)))
115115 then true
116116 else V((((((Y + "_") + Z) + "_") + toString((D - 4))) + r)))
117117 then true
118118 else V((((((Y + "_") + Z) + "_") + toString((D - 5))) + r))
119119
120120
121121 func aa (ab) = if ((valueOrElse(getInteger(y, (toString(ab) + p)), 0) > 0))
122122 then true
123123 else false
124124
125125
126126 func ac (ad) = {
127127 let ae = valueOrElse(getInteger(this, (toString(ad) + e)), 0)
128128 let af = valueOrElse(getBoolean(this, (toString(ad) + h)), true)
129129 let ag = height
130130 if ((0 > ad))
131131 then 0
132132 else if (!(af))
133133 then 0
134134 else if ((ae > ag))
135135 then 1
136136 else 0
137137 }
138138
139139
140140 func ah (ad) = ((((ac((ad - 1)) + ac((ad - 2))) + ac((ad - 3))) + ac((ad - 4))) + ac((ad - 5)))
141141
142142
143143 func ai (aj) = [BooleanEntry(c, false), StringEntry(n, aj)]
144144
145145
146146 func ak (al,am) = throw(((((("Insufficient DApp balance to pay " + toString(al)) + " ") + am) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
147147
148148
149149 @Callable(an)
150150 func init () = if ((an.caller != this))
151151 then throw("Only the DApp itself can call this function")
152152 else if (isDefined(getBoolean(this, c)))
153153 then throw("DApp is already active")
154154 else {
155155 let ao = 0
156156 let ap = 0
157157 let aq = true
158158 [StringEntry(b, a), BooleanEntry(c, aq), IntegerEntry(d, ao), IntegerEntry(i, ap), IntegerEntry(j, J), IntegerEntry(k, K)]
159159 }
160160
161161
162162
163163 @Callable(an)
164164 func initVotingForNewPool (Y,Z) = {
165165 let ar = $Tuple2(an.payments[0].amount, an.payments[0].assetId)
166166 let as = ar._1
167167 let at = ar._2
168168 let au = $Tuple2(M(Y), M(Z))
169169 let av = au._1
170170 let aw = au._2
171171 let ax = ah(D)
172172 let ay = X(D, Y, Z)
173173 let az = O(av)
174174 let aA = az._1
175175 let aB = az._2
176176 let aC = az._3
177177 let aD = O(aw)
178178 let aE = aD._1
179179 let aF = aD._2
180180 let aG = aD._3
181181 if (!(B))
182182 then throw("DApp is inactive at this moment")
183183 else if ((av == aw))
184184 then throw("Assets must be different")
185185 else if (((ax + 1) >= J))
186186 then throw(("Too many votes. Maximum quantity: " + toString(J)))
187187 else if ((size(an.payments) != 1))
188188 then throw("One attached assets expected")
189189 else if (ay)
190190 then throw("This pool already exists")
191191 else if ((at != A))
192192 then throw("You must use a SWOP token")
193193 else if (if ((Y == ""))
194194 then true
195195 else (Z == ""))
196196 then throw("Assets can't be empty")
197197 else if ((as != E))
198198 then throw("You need to attach 10 SWOP tokens")
199199 else if (!(if (if ((aw == z))
200200 then true
201201 else (aw == unit))
202202 then true
203203 else (aw == A)))
204204 then throw("One of the assets must be USDN, WAVES, SWOP")
205205 else [IntegerEntry((((((Y + "_") + Z) + "_") + toString(D)) + r), D), IntegerEntry((toString(D) + e), (height + L)), BooleanEntry((toString(D) + h), true), IntegerEntry(i, (D + 1)), IntegerEntry(d, (ax + 1)), StringEntry((Y + q), aB), StringEntry((Z + q), aF), ScriptTransfer(x, as, at)]
206206 }
207207
208208
209209
210210 @Callable(an)
211211 func voteForPool (ad,aH,aI) = {
212212 let ag = height
213213 let aJ = valueOrErrorMessage(getIntegerValue(this, (toString(ad) + e)), "Empty pool height")
214214 let aK = valueOrElse(getInteger(y, (toString(an.caller) + p)), 0)
215215 let aL = ((valueOrElse(getInteger(this, (((toString(an.caller) + "_") + toString(ad)) + g)), 0) + valueOrElse(getInteger(this, (((toString(an.caller) + "_") + toString(ad)) + f)), 0)) + aI)
216216 if (!(aa(an.caller)))
217217 then throw("This address has 0 SWOP in Governance dApp")
218218 else if ((ag > aJ))
219219 then [IntegerEntry(d, (C - 1))]
220220 else if ((0 > aI))
221221 then throw("The number of votes must be positive")
222222 else if ((aL > aK))
223223 then throw((((toString(this) + " has ") + toString(aK)) + " SWOP in governance."))
224224 else if (aH)
225225 then {
226226 let aM = valueOrElse(getInteger(this, (((toString(an.caller) + "_") + toString(ad)) + g)), 0)
227227 let aN = ((valueOrElse(getInteger(this, (toString(ad) + g)), 0) - aM) + aI)
228228 [IntegerEntry((toString(ad) + g), aN), IntegerEntry((((toString(an.caller) + "_") + toString(ad)) + g), aI)]
229229 }
230230 else {
231231 let aM = valueOrElse(getInteger(this, (((toString(an.caller) + "_") + toString(ad)) + f)), 0)
232232 let aN = ((valueOrElse(getInteger(this, (toString(ad) + f)), 0) - aM) + aI)
233233 [IntegerEntry((toString(ad) + f), aN), IntegerEntry((((toString(an.caller) + "_") + toString(ad)) + f), aI)]
234234 }
235235 }
236236
237237
238238
239239 @Callable(an)
240240 func cancellationVoting (ad,aj) = if (!(B))
241241 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified")))
242242 else if (!(containsElement([t, u, v, w], an.callerPublicKey)))
243243 then throw("Only admin can call this function")
244244 else [IntegerEntry(d, (C - 1)), BooleanEntry((toString(ad) + h), false), StringEntry((toString(ad) + o), aj)]
245245
246246
247247
248248 @Callable(an)
249249 func shutdown () = if (!(B))
250250 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified")))
251251 else if (!(containsElement([t, u, v, w], an.callerPublicKey)))
252252 then throw("Only admin can call this function")
253253 else ai("Paused by admin")
254254
255255
256256
257257 @Callable(an)
258258 func activate () = if (B)
259259 then throw("DApp is already active")
260260 else if (!(containsElement([t, u, v, w], an.callerPublicKey)))
261261 then throw("Only admin can call this function")
262262 else [BooleanEntry(c, true), DeleteEntry(n)]
263263
264264
265265 @Verifier(aO)
266266 func aP () = sigVerify(aO.bodyBytes, aO.proofs[0], aO.senderPublicKey)
267267

github/deemru/w8io/026f985 
38.70 ms