tx · EumLVKas9QG71rPCzGfrhWTXfRq5rwtUAzxcbnNfwNps

3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ:  -0.01400000 Waves

2022.02.11 13:10 [1918814] smart account 3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ > SELF 0.00000000 Waves

{ "type": 13, "id": "EumLVKas9QG71rPCzGfrhWTXfRq5rwtUAzxcbnNfwNps", "fee": 1400000, "feeAssetId": null, "timestamp": 1644574267072, "version": 2, "chainId": 84, "sender": "3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ", "senderPublicKey": "Dkwrk2dDeUwNM8gVg17qj6fCpJ2e7Qb2myPi1FE9Y6is", "proofs": [ "2GDk9Ckn8mDevPEuvPHAscYxLAqz8c4ZrzeJ4AknQiFCor9cWVJ1aPGd29xuUqsFzGfbVNoNzGm24BUriBbnjGyY", "3d3PQH39Pv2L1XQobubbYgHRj5ywM1NmAsaAsfs85mic22fvRXpTAZ5hcfQj4L4w4V635VHPrAzrmJygdmS7skYc" ], "script": "base64:AAIFAAAAAAAAAAwIAhIECgIYERIAEgAAAAApAAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAABFrVXNlclBvb2xWb3RlU1dPUAIAAAAFX3ZvdGUAAAAADmtVc2VyUG9vbFN0cnVjAgAAABBfdXNlcl9wb29sX3N0cnVjAAAAABJrVXNlclRvdGFsVm90ZVNXT1ACAAAAFV91c2VyX3RvdGFsX1NXT1Bfdm90ZQAAAAAPa1VzZXJUb3RhbFN0cnVjAgAAABFfdXNlcl90b3RhbF9zdHJ1YwAAAAANa1Bvb2xWb3RlU1dPUAIAAAAKX3ZvdGVfU1dPUAAAAAAKa1Bvb2xTdHJ1YwIAAAALX3Bvb2xfc3RydWMAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAC2tUb3RhbFN0cnVjAgAAAAt0b3RhbF9zdHJ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5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MQAAAAAAAAAAAQAAAAAAAAAAAAQAAAASYWRtaW5QdWJLZXkyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGFkbWluUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAQAAAASYWRtaW5QdWJLZXkzU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGFkbWluUHViS2V5MwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAASYWRtaW5QdWJLZXkxU2lnbmVkBQAAABJhZG1pblB1YktleTJTaWduZWQFAAAAEmFkbWluUHViS2V5M1NpZ25lZAAAAAAAAAAAAj4ggv8=", "height": 1918814, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3uDkLGQFyX2mExcgwPrvsqDDkFfLtxBZstcrRAGGepvC Next: Eu1ChVC12GdX16k15FyhJrsGaqkEyWnFWjeofAFPhAFx Diff:
OldNewDifferences
4343
4444 let scale8 = 100000000
4545
46-let active = getBooleanValue(this, keyActive)
46+let active = valueOrElse(getBooleanValue(this, keyActive), false)
4747
4848 let basePeriod = valueOrErrorMessage(getInteger(this, kBasePeriod), "Empty kBasePeriod")
4949
130130 then throw("This pool has no _current_pool_fraction_reward in Governance dApp")
131131 else {
132132 let userSWOPinGovernance = valueOrErrorMessage(getInteger(govAddr, (toString(i.caller) + "_SWOP_amount")), "Empty _SWOP_amount at gov. address")
133- let $t042054836 = if (isDefined(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc))))
133+ let $t042244855 = if (isDefined(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc))))
134134 then {
135135 let data = split(valueOrErrorMessage(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc)), "Empty kUserPoolStruc"), "_")
136136 $Tuple4(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]), parseIntValue(data[3]))
139139 let uPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 0)
140140 $Tuple4(uPoolVoteSWOP, uPoolVoteSWOP, 0, 0)
141141 }
142- let userPoolVoteSWOP = $t042054836._1
143- let userPoolActiveVoteSWOP = $t042054836._2
144- let userPoolVotePeriod = $t042054836._3
145- let userPoolFreezeSWOP = $t042054836._4
146- let $t048425348 = if (isDefined(getString(this, (toString(i.caller) + kUserTotalStruc))))
142+ let userPoolVoteSWOP = $t042244855._1
143+ let userPoolActiveVoteSWOP = $t042244855._2
144+ let userPoolVotePeriod = $t042244855._3
145+ let userPoolFreezeSWOP = $t042244855._4
146+ let $t048615367 = if (isDefined(getString(this, (toString(i.caller) + kUserTotalStruc))))
147147 then {
148148 let data = split(valueOrErrorMessage(getString(this, (toString(i.caller) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
149149 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
152152 let uPoolTotalSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0)
153153 $Tuple3(uPoolTotalSWOP, 0, 0)
154154 }
155- let userTotalVoteSWOP = $t048425348._1
156- let userUnvoted = $t048425348._2
157- let userUnvotedPeriod = $t048425348._3
158- let $t053535819 = if (isDefined(getString(this, (poolAddress + kPoolStruc))))
155+ let userTotalVoteSWOP = $t048615367._1
156+ let userUnvoted = $t048615367._2
157+ let userUnvotedPeriod = $t048615367._3
158+ let $t053725838 = if (isDefined(getString(this, (poolAddress + kPoolStruc))))
159159 then {
160160 let data = split(valueOrErrorMessage(getString(this, (poolAddress + kPoolStruc)), "Empty kPoolStruc"), "_")
161161 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
164164 let uPoolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0)
165165 $Tuple4(uPoolVoteSWOP, uPoolVoteSWOP, 0, 0)
166166 }
167- let poolVoteSWOP = $t053535819._1
168- let poolActiveSWOP = $t053535819._2
169- let poolPeriod = $t053535819._3
170- let $t058256259 = if (isDefined(getString(this, kTotalStruc)))
167+ let poolVoteSWOP = $t053725838._1
168+ let poolActiveSWOP = $t053725838._2
169+ let poolPeriod = $t053725838._3
170+ let $t058446278 = if (isDefined(getString(this, kTotalStruc)))
171171 then {
172172 let data = split(valueOrErrorMessage(getString(this, kTotalStruc), "Empty kTotalStruc"), "_")
173173 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
176176 let uTotalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0)
177177 $Tuple4(uTotalVoteSWOP, uTotalVoteSWOP, 0, 0)
178178 }
179- let totalVoteSWOP = $t058256259._1
180- let totalActiveSWOP = $t058256259._2
181- let totalPeriod = $t058256259._3
179+ let totalVoteSWOP = $t058446278._1
180+ let totalActiveSWOP = $t058446278._2
181+ let totalPeriod = $t058446278._3
182182 let poolVoteDiffSWOP = (userPoolVoteSWOPnew - userPoolVoteSWOP)
183183 let userTotalVoteSWOPnew = (userTotalVoteSWOP + poolVoteDiffSWOP)
184184 if (!(isCallerInGovernance(i.caller)))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let keyActive = "active"
55
66 let keyCause = "shutdown_cause"
77
88 let kUserPoolVoteSWOP = "_vote"
99
1010 let kUserPoolStruc = "_user_pool_struc"
1111
1212 let kUserTotalVoteSWOP = "_user_total_SWOP_vote"
1313
1414 let kUserTotalStruc = "_user_total_struc"
1515
1616 let kPoolVoteSWOP = "_vote_SWOP"
1717
1818 let kPoolStruc = "_pool_struc"
1919
2020 let kTotalVoteSWOP = "total_vote_SWOP"
2121
2222 let kTotalStruc = "total_struc"
2323
2424 let keyAdminPubKey1 = "admin_pub_1"
2525
2626 let keyAdminPubKey2 = "admin_pub_2"
2727
2828 let keyAdminPubKey3 = "admin_pub_3"
2929
3030 let kHarvestPoolActiveVoteStruc = "_harvest_pool_activeVote_struc"
3131
3232 let kHarvestUserPoolActiveVoteStruc = "_harvest_user_pool_activeVote_struc"
3333
3434 let kStartHeight = "start_height"
3535
3636 let kBasePeriod = "base_period"
3737
3838 let kPeriodLength = "period_length"
3939
4040 let kDurationFullVotePower = "duration_full_vote_power"
4141
4242 let kMinVotePower = "min_vote_power"
4343
4444 let scale8 = 100000000
4545
46-let active = getBooleanValue(this, keyActive)
46+let active = valueOrElse(getBooleanValue(this, keyActive), false)
4747
4848 let basePeriod = valueOrErrorMessage(getInteger(this, kBasePeriod), "Empty kBasePeriod")
4949
5050 let startHeight = valueOrErrorMessage(getInteger(this, kStartHeight), "Empty kStartHeight")
5151
5252 let periodLength = valueOrErrorMessage(getInteger(this, kPeriodLength), "Empty kPeriodLength")
5353
5454 let durationFullVotePower = valueOrErrorMessage(getInteger(this, kDurationFullVotePower), "Empty kDurationFullVotePower")
5555
5656 let minVotePower = valueOrErrorMessage(getInteger(this, kMinVotePower), "Empty kMinVotePower")
5757
5858 let govAddr = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
5959
6060 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
6161
6262 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
6363 case string: String =>
6464 fromBase58String(string)
6565 case nothing =>
6666 throw("Admin public key is empty")
6767 }
6868
6969
7070 let adminPubKey1 = getAdminPub(keyAdminPubKey1)
7171
7272 let adminPubKey2 = getAdminPub(keyAdminPubKey2)
7373
7474 let adminPubKey3 = getAdminPub(keyAdminPubKey3)
7575
7676 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
7777
7878 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
7979
8080 func isActive () = if (active)
8181 then unit
8282 else throw("DApp is inactive at this moment")
8383
8484
8585 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
8686
8787
8888 func isCallerInGovernance (user) = if ((valueOrElse(getInteger(govAddr, (toString(user) + "_SWOP_amount")), 0) > 0))
8989 then true
9090 else false
9191
9292
9393 func isPoolInGovernance (poolAddress) = isDefined(getInteger(govAddr, (poolAddress + "_current_pool_fraction_reward")))
9494
9595
9696 func votingCoef () = {
9797 let votingDuration = (height - (startHeight + (currPeriod * periodLength)))
9898 if ((durationFullVotePower > votingDuration))
9999 then scale8
100100 else {
101101 let x1 = durationFullVotePower
102102 let y1 = scale8
103103 let x2 = periodLength
104104 let y2 = minVotePower
105105 let k = (((y2 - y1) * scale8) / (x2 - x1))
106106 let b = ((y1 * scale8) - (k * x1))
107107 (((votingDuration * k) / scale8) + (b / scale8))
108108 }
109109 }
110110
111111
112112 func calcDeleteEntry (caller,poolAddress,userPoolVoteSWOPnew) = {
113113 func deleteIfExists (list,key) = if (isDefined(getInteger(this, key)))
114114 then (list :+ DeleteEntry(key))
115115 else list
116116
117117 deleteIfExists(deleteIfExists(deleteIfExists(deleteIfExists(nil, (((caller + "_") + poolAddress) + kUserPoolVoteSWOP)), (caller + kUserTotalVoteSWOP)), (poolAddress + kPoolVoteSWOP)), kTotalVoteSWOP)
118118 }
119119
120120
121121 @Callable(i)
122122 func votePoolWeight (poolAddressesL,poolsVoteSWOPNewL) = valueOrElse(isActive(), if (if ((size(poolAddressesL) > 1))
123123 then true
124124 else (size(poolsVoteSWOPNewL) > 1))
125125 then throw("poolAddressesL.size > 1 or poolsVoteSWOPNewL.size > 1")
126126 else {
127127 let poolAddress = poolAddressesL[0]
128128 let userPoolVoteSWOPnew = poolsVoteSWOPNewL[0]
129129 if (!(isPoolInGovernance(poolAddress)))
130130 then throw("This pool has no _current_pool_fraction_reward in Governance dApp")
131131 else {
132132 let userSWOPinGovernance = valueOrErrorMessage(getInteger(govAddr, (toString(i.caller) + "_SWOP_amount")), "Empty _SWOP_amount at gov. address")
133- let $t042054836 = if (isDefined(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc))))
133+ let $t042244855 = if (isDefined(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc))))
134134 then {
135135 let data = split(valueOrErrorMessage(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc)), "Empty kUserPoolStruc"), "_")
136136 $Tuple4(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]), parseIntValue(data[3]))
137137 }
138138 else {
139139 let uPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 0)
140140 $Tuple4(uPoolVoteSWOP, uPoolVoteSWOP, 0, 0)
141141 }
142- let userPoolVoteSWOP = $t042054836._1
143- let userPoolActiveVoteSWOP = $t042054836._2
144- let userPoolVotePeriod = $t042054836._3
145- let userPoolFreezeSWOP = $t042054836._4
146- let $t048425348 = if (isDefined(getString(this, (toString(i.caller) + kUserTotalStruc))))
142+ let userPoolVoteSWOP = $t042244855._1
143+ let userPoolActiveVoteSWOP = $t042244855._2
144+ let userPoolVotePeriod = $t042244855._3
145+ let userPoolFreezeSWOP = $t042244855._4
146+ let $t048615367 = if (isDefined(getString(this, (toString(i.caller) + kUserTotalStruc))))
147147 then {
148148 let data = split(valueOrErrorMessage(getString(this, (toString(i.caller) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
149149 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
150150 }
151151 else {
152152 let uPoolTotalSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0)
153153 $Tuple3(uPoolTotalSWOP, 0, 0)
154154 }
155- let userTotalVoteSWOP = $t048425348._1
156- let userUnvoted = $t048425348._2
157- let userUnvotedPeriod = $t048425348._3
158- let $t053535819 = if (isDefined(getString(this, (poolAddress + kPoolStruc))))
155+ let userTotalVoteSWOP = $t048615367._1
156+ let userUnvoted = $t048615367._2
157+ let userUnvotedPeriod = $t048615367._3
158+ let $t053725838 = if (isDefined(getString(this, (poolAddress + kPoolStruc))))
159159 then {
160160 let data = split(valueOrErrorMessage(getString(this, (poolAddress + kPoolStruc)), "Empty kPoolStruc"), "_")
161161 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
162162 }
163163 else {
164164 let uPoolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0)
165165 $Tuple4(uPoolVoteSWOP, uPoolVoteSWOP, 0, 0)
166166 }
167- let poolVoteSWOP = $t053535819._1
168- let poolActiveSWOP = $t053535819._2
169- let poolPeriod = $t053535819._3
170- let $t058256259 = if (isDefined(getString(this, kTotalStruc)))
167+ let poolVoteSWOP = $t053725838._1
168+ let poolActiveSWOP = $t053725838._2
169+ let poolPeriod = $t053725838._3
170+ let $t058446278 = if (isDefined(getString(this, kTotalStruc)))
171171 then {
172172 let data = split(valueOrErrorMessage(getString(this, kTotalStruc), "Empty kTotalStruc"), "_")
173173 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
174174 }
175175 else {
176176 let uTotalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0)
177177 $Tuple4(uTotalVoteSWOP, uTotalVoteSWOP, 0, 0)
178178 }
179- let totalVoteSWOP = $t058256259._1
180- let totalActiveSWOP = $t058256259._2
181- let totalPeriod = $t058256259._3
179+ let totalVoteSWOP = $t058446278._1
180+ let totalActiveSWOP = $t058446278._2
181+ let totalPeriod = $t058446278._3
182182 let poolVoteDiffSWOP = (userPoolVoteSWOPnew - userPoolVoteSWOP)
183183 let userTotalVoteSWOPnew = (userTotalVoteSWOP + poolVoteDiffSWOP)
184184 if (!(isCallerInGovernance(i.caller)))
185185 then throw("This address has 0 SWOP in Governance dApp")
186186 else if ((userTotalVoteSWOPnew > userSWOPinGovernance))
187187 then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + " SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPnew)))
188188 else if ((0 > userTotalVoteSWOPnew))
189189 then throw("New userTotalVoteSWOPnew < 0")
190190 else if ((0 > userPoolVoteSWOPnew))
191191 then throw("New userPoolVoteSWOPnew < 0")
192192 else {
193193 let amountOfVoting = split(valueOrElse(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc)), ""), "_")
194194 let amountPoolStract = split(valueOrElse(getString(this, (poolAddress + kPoolStruc)), ""), "_")
195195 let harvestPoolActiveVoteStrucEntry = if (if ((valueOrElse(getString(this, (poolAddress + kPoolStruc)), "") != ""))
196196 then (currPeriod != valueOrElse(parseInt(amountPoolStract[2]), 0))
197197 else false)
198198 then {
199199 let harvestPoolActiveVoteStruc = ((amountPoolStract[1] + "_") + amountPoolStract[2])
200200 [StringEntry((poolAddress + kHarvestPoolActiveVoteStruc), harvestPoolActiveVoteStruc)]
201201 }
202202 else nil
203203 let harvestUserPoolActiveVoteStrucEntry = if (if ((valueOrElse(getString(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc)), "") != ""))
204204 then (currPeriod != valueOrElse(parseInt(amountOfVoting[2]), 0))
205205 else false)
206206 then {
207207 let harvestUserPoolActiveVoteStruc = ((amountOfVoting[1] + "_") + amountOfVoting[2])
208208 [StringEntry((((toString(i.caller) + "_") + poolAddress) + kHarvestUserPoolActiveVoteStruc), harvestUserPoolActiveVoteStruc)]
209209 }
210210 else nil
211211 if ((userPoolVoteSWOPnew >= userPoolVoteSWOP))
212212 then {
213213 let coef = votingCoef()
214214 let userPoolActiveVoteSWOPnew = if ((userPoolVotePeriod == currPeriod))
215215 then (userPoolActiveVoteSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
216216 else (userPoolVoteSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
217217 let userPoolFreezeSWOPnew = if ((userPoolVotePeriod == currPeriod))
218218 then userPoolFreezeSWOP
219219 else userPoolVoteSWOP
220220 let userUnvotedNew = if ((userUnvotedPeriod == currPeriod))
221221 then max([0, (userUnvoted - poolVoteDiffSWOP)])
222222 else 0
223223 let userUnvotedPeriodNew = currPeriod
224224 let userPoolStrucNew = ((((((toString(userPoolVoteSWOPnew) + "_") + toString(userPoolActiveVoteSWOPnew)) + "_") + toString(currPeriod)) + "_") + toString(userPoolFreezeSWOPnew))
225225 let userPoolEntry = [StringEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc), userPoolStrucNew)]
226226 let userTotalStrucNew = ((((toString(userTotalVoteSWOPnew) + "_") + toString(userUnvotedNew)) + "_") + toString(userUnvotedPeriodNew))
227227 let userTotalEntry = [StringEntry((toString(i.caller) + kUserTotalStruc), userTotalStrucNew)]
228228 let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP)
229229 let poolActiveSWOPnew = if ((poolPeriod == currPeriod))
230230 then (poolActiveSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
231231 else (poolVoteSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
232232 let poolStrucNew = ((((toString(poolVoteSWOPnew) + "_") + toString(poolActiveSWOPnew)) + "_") + toString(currPeriod))
233233 let poolEntry = [StringEntry((poolAddress + kPoolStruc), poolStrucNew)]
234234 let totalVoteSWOPnew = (totalVoteSWOP + poolVoteDiffSWOP)
235235 let totalActiveSWOPnew = if ((totalPeriod == currPeriod))
236236 then (totalActiveSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
237237 else (totalVoteSWOP + fraction(poolVoteDiffSWOP, coef, scale8))
238238 let totalStrucNew = ((((toString(totalVoteSWOPnew) + "_") + toString(totalActiveSWOPnew)) + "_") + toString(currPeriod))
239239 let totalEntry = [StringEntry(kTotalStruc, totalStrucNew)]
240240 ((((((userPoolEntry ++ userTotalEntry) ++ poolEntry) ++ totalEntry) ++ calcDeleteEntry(toString(i.caller), poolAddress, userPoolVoteSWOPnew)) ++ harvestPoolActiveVoteStrucEntry) ++ harvestUserPoolActiveVoteStrucEntry)
241241 }
242242 else {
243243 let removePoolVote = -(poolVoteDiffSWOP)
244244 let userPoolFreezeSWOPnew = if ((userPoolVotePeriod == currPeriod))
245245 then userPoolFreezeSWOP
246246 else userPoolVoteSWOP
247247 let userPoolFreezeSWOP2 = min([userPoolFreezeSWOP, userPoolVoteSWOP])
248248 let userPoolFreezeSWOPnew2 = min([userPoolFreezeSWOPnew, userPoolVoteSWOPnew])
249249 let userPoolActiveVoteSWOPnew = (userPoolFreezeSWOPnew2 + (if (((userPoolVoteSWOP - userPoolFreezeSWOP) == 0))
250250 then 0
251251 else fraction((userPoolActiveVoteSWOP - userPoolFreezeSWOP), (userPoolVoteSWOPnew - userPoolFreezeSWOPnew2), (userPoolVoteSWOP - userPoolFreezeSWOP))))
252252 let userPoolActiveVoteDiff = (userPoolActiveVoteSWOPnew - (if ((userPoolVotePeriod == currPeriod))
253253 then userPoolActiveVoteSWOP
254254 else userPoolVoteSWOP))
255255 let newUnvoted = max([0, (removePoolVote - (if ((userPoolVotePeriod == currPeriod))
256256 then (userPoolVoteSWOP - userPoolFreezeSWOP2)
257257 else 0))])
258258 let userUnvotedNew = (newUnvoted + (if ((userUnvotedPeriod == currPeriod))
259259 then userUnvoted
260260 else 0))
261261 let userUnvotedPeriodNew = if ((newUnvoted > 0))
262262 then currPeriod
263263 else userUnvotedPeriod
264264 let userPoolStrucNew = ((((((toString(userPoolVoteSWOPnew) + "_") + toString(userPoolActiveVoteSWOPnew)) + "_") + toString(currPeriod)) + "_") + toString(userPoolFreezeSWOPnew))
265265 let userPoolEntry = [StringEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolStruc), userPoolStrucNew)]
266266 let userTotalStrucNew = ((((toString(userTotalVoteSWOPnew) + "_") + toString(userUnvotedNew)) + "_") + toString(userUnvotedPeriodNew))
267267 let userTotalEntry = [StringEntry((toString(i.caller) + kUserTotalStruc), userTotalStrucNew)]
268268 let poolVoteSWOPnew = (poolVoteSWOP - removePoolVote)
269269 let poolActiveSWOPnew = if ((poolPeriod == currPeriod))
270270 then (poolActiveSWOP + userPoolActiveVoteDiff)
271271 else (poolVoteSWOP + userPoolActiveVoteDiff)
272272 let poolStrucNew = ((((toString(poolVoteSWOPnew) + "_") + toString(poolActiveSWOPnew)) + "_") + toString(currPeriod))
273273 let poolEntry = [StringEntry((poolAddress + kPoolStruc), poolStrucNew)]
274274 let totalVoteSWOPnew = (totalVoteSWOP - removePoolVote)
275275 let totalActiveSWOPnew = if ((totalPeriod == currPeriod))
276276 then (totalActiveSWOP + userPoolActiveVoteDiff)
277277 else (totalVoteSWOP + userPoolActiveVoteDiff)
278278 let totalStrucNew = ((((toString(totalVoteSWOPnew) + "_") + toString(totalActiveSWOPnew)) + "_") + toString(currPeriod))
279279 let totalEntry = [StringEntry(kTotalStruc, totalStrucNew)]
280280 let allNewValues = [currPeriod, userPoolFreezeSWOPnew, userPoolActiveVoteSWOPnew, userPoolFreezeSWOPnew, userUnvotedNew, userUnvotedPeriodNew, poolVoteSWOPnew, poolActiveSWOPnew, totalVoteSWOPnew, totalActiveSWOPnew]
281281 if ((0 > min(allNewValues)))
282282 then throw("One or more values are negative")
283283 else ((((((userPoolEntry ++ userTotalEntry) ++ poolEntry) ++ totalEntry) ++ calcDeleteEntry(toString(i.caller), poolAddress, userPoolVoteSWOPnew)) ++ harvestPoolActiveVoteStrucEntry) ++ harvestUserPoolActiveVoteStrucEntry)
284284 }
285285 }
286286 }
287287 })
288288
289289
290290
291291 @Callable(i)
292292 func shutdown () = if (!(active))
293293 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
294294 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
295295 then throw("Only admin can call this function")
296296 else suspend("Paused by admin")
297297
298298
299299
300300 @Callable(i)
301301 func activate () = if (active)
302302 then throw("DApp is already active")
303303 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
304304 then throw("Only admin can call this function")
305305 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
306306
307307
308308 @Verifier(tx)
309309 func verify () = {
310310 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
311311 then 1
312312 else 0
313313 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
314314 then 1
315315 else 0
316316 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
317317 then 1
318318 else 0
319319 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
320320 }
321321

github/deemru/w8io/026f985 
54.09 ms