tx · 7Dr8Ck7VDDrF6xdVvFT6qVBLwV3Tg7xdbuB4oeJStfzt 3MyVvNfXht9piazyf1e5BVFsqv1R7z5cWJL: -0.02800000 Waves 2022.07.04 11:19 [2124681] smart account 3MyVvNfXht9piazyf1e5BVFsqv1R7z5cWJL > SELF 0.00000000 Waves
{ "type": 13, "id": "7Dr8Ck7VDDrF6xdVvFT6qVBLwV3Tg7xdbuB4oeJStfzt", "fee": 2800000, "feeAssetId": null, "timestamp": 1656922777101, "version": 1, "sender": "3MyVvNfXht9piazyf1e5BVFsqv1R7z5cWJL", "senderPublicKey": "DnPyGWCgpQChvoQrnXQRcC9FtN32mPGrcog2wcKHdkVn", "proofs": [ "3WNTqM7M3VFjiGrQD3ew5qJogPjz53g7cFdkjrCKJ3Rg24DUhYFbDy4Zuz38FeEhJShyzxVfjhptHZvZup3K5AVo" ], "script": "base64:BgJbCAISAwoBCBIAEgQKAggBEgcKBQgICAgBEgQKAggIEgUKAwgIARIECgIICBIDCgEBEgMKAQESBAoCCAgSAwoBCBIAEgMKAQESABIECgIICBIECgIICBIECgIICDEACXNlcGFyYXRvcgICX18ADnBvb2xXZWlnaHRNdWx0AIDC1y8AD21heERlcHRoRGVmYXVsdAAKABZmaW5hbGl6YXRpb25TdGFnZVRvdGFsAAAAF2ZpbmFsaXphdGlvblN0YWdlU2hhcmVzAAEADmtleUVwb2NoTGVuZ3RoCQC5CQIJAMwIAgICJXMJAMwIAgILZXBvY2hMZW5ndGgFA25pbAUJc2VwYXJhdG9yAA9rZXlDdXJyZW50RXBvY2gJALkJAgkAzAgCAgIlcwkAzAgCAgxjdXJyZW50RXBvY2gFA25pbAUJc2VwYXJhdG9yAAtrZXlNYXhEZXB0aAkAuQkCCQDMCAICAiVzCQDMCAICCG1heERlcHRoBQNuaWwFCXNlcGFyYXRvcgAia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdAkAuQkCCQDMCAICAiVzCQDMCAICH3ZvdGluZ0VtaXNzaW9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lcgkAlAoCCQERZGVsZXRlTm9kZUFjdGlvbnMCBQhsaXN0TmFtZQUCaWQFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXk0Lpet", "chainId": 84, "height": 2124681, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 88gk9CrcrDWinEbNpe3PU2bq87xEaf6bjRATJsVpDUcG Next: HefxRuuAFptsa5sCHkyb9uo9cWABFkbxR3Vouy2R7DKx Diff:
Old | New | Differences | |
---|---|---|---|
497 | 497 | if ((checkTargetEpoch == checkTargetEpoch)) | |
498 | 498 | then { | |
499 | 499 | let pool = stringToPool(poolStr) | |
500 | - | let $ | |
501 | - | let amountAssetId = $ | |
502 | - | let priceAssetId = $ | |
500 | + | let $t01716217202 = pool | |
501 | + | let amountAssetId = $t01716217202._1 | |
502 | + | let priceAssetId = $t01716217202._2 | |
503 | 503 | let wxEmission = checkWxEmissionPoolLabel(pool) | |
504 | 504 | let gwxAmountAtEndTotal = { | |
505 | 505 | let @ = invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeight], nil) | |
544 | 544 | if ((checkTargetEpoch == checkTargetEpoch)) | |
545 | 545 | then { | |
546 | 546 | let pool = stringToPool(poolStr) | |
547 | - | let $ | |
548 | - | let amountAssetId = $ | |
549 | - | let priceAssetId = $ | |
547 | + | let $t01871918759 = pool | |
548 | + | let amountAssetId = $t01871918759._1 | |
549 | + | let priceAssetId = $t01871918759._2 | |
550 | 550 | let stakingContract = addressFromStringValue(getStrOrFail(this, keyStakingContract)) | |
551 | 551 | let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract)) | |
552 | 552 | let lpAssetId = getLpAssetByPoolAssets(amountAssetId, priceAssetId) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let separator = "__" | |
5 | 5 | ||
6 | 6 | let poolWeightMult = 100000000 | |
7 | 7 | ||
8 | 8 | let maxDepthDefault = 10 | |
9 | 9 | ||
10 | 10 | let finalizationStageTotal = 0 | |
11 | 11 | ||
12 | 12 | let finalizationStageShares = 1 | |
13 | 13 | ||
14 | 14 | let keyEpochLength = makeString(["%s", "epochLength"], separator) | |
15 | 15 | ||
16 | 16 | let keyCurrentEpoch = makeString(["%s", "currentEpoch"], separator) | |
17 | 17 | ||
18 | 18 | let keyMaxDepth = makeString(["%s", "maxDepth"], separator) | |
19 | 19 | ||
20 | 20 | let keyVotingEmissionCandidateContract = makeString(["%s", "votingEmissionCandidateContract"], separator) | |
21 | 21 | ||
22 | 22 | let keyFactoryContract = makeString(["%s", "factoryContract"], separator) | |
23 | 23 | ||
24 | 24 | let keyBoostingContract = makeString(["%s", "boostingContract"], separator) | |
25 | 25 | ||
26 | 26 | let keyStakingContract = makeString(["%s", "stakingContract"], separator) | |
27 | 27 | ||
28 | 28 | let keyFinalizationStage = makeString(["%s", "finalizationStage"], separator) | |
29 | 29 | ||
30 | 30 | let keyNextPool = makeString(["%s", "nextPool"], separator) | |
31 | 31 | ||
32 | 32 | let keyNextUser = makeString(["%s", "nextUser"], separator) | |
33 | 33 | ||
34 | 34 | let keyStartHeight = makeString(["%s", "startHeight"], separator) | |
35 | 35 | ||
36 | 36 | let keyCurrentEpochUi = makeString(["%s", "currentEpochUi"], separator) | |
37 | 37 | ||
38 | 38 | let keyStartHeightUi = makeString(["%s", "startHeightUi"], separator) | |
39 | 39 | ||
40 | 40 | func keyStartHeightByEpoch (epoch) = makeString(["%s%d", "startHeight", toString(epoch)], separator) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func keyFinalized (epoch) = makeString(["%s%d", "finalized", toString(epoch)], separator) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func keyInList (pool) = { | |
47 | 47 | let $t014361476 = pool | |
48 | 48 | let amountAssetId = $t014361476._1 | |
49 | 49 | let priceAssetId = $t014361476._2 | |
50 | 50 | makeString(["%s%s%s", "inList", amountAssetId, priceAssetId], separator) | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func keyUsed (address,epoch) = makeString(["%s%s%d", "used", toString(address), toString(epoch)], separator) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func keyVote (pool,address,epoch) = { | |
58 | 58 | let $t017501790 = pool | |
59 | 59 | let amountAssetId = $t017501790._1 | |
60 | 60 | let priceAssetId = $t017501790._2 | |
61 | 61 | makeString(["%s%s%s%s%d", "vote", amountAssetId, priceAssetId, toString(address), toString(epoch)], separator) | |
62 | 62 | } | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func keyVotingResult (pool,epoch) = { | |
66 | 66 | let $t019722012 = pool | |
67 | 67 | let amountAssetId = $t019722012._1 | |
68 | 68 | let priceAssetId = $t019722012._2 | |
69 | 69 | makeString(["%s%s%s%d", "votingResult", amountAssetId, priceAssetId, toString(epoch)], separator) | |
70 | 70 | } | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func keyPoolShare (pool,epoch) = { | |
74 | 74 | let $t021772217 = pool | |
75 | 75 | let amountAssetId = $t021772217._1 | |
76 | 76 | let priceAssetId = $t021772217._2 | |
77 | 77 | makeString(["%s%s%s%d", "poolShare", amountAssetId, priceAssetId, toString(epoch)], separator) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func keyTotalVotes (epoch) = makeString(["%s%d", "totalVotes", toString(epoch)], separator) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func getValueOrFail (address,key,type) = { | |
85 | 85 | let error = makeString(["mandatory ", toString(address), ".", key, " is not defined"], "") | |
86 | 86 | valueOrErrorMessage( match type { | |
87 | 87 | case str: String => | |
88 | 88 | getString(address, key) | |
89 | 89 | case int: Int => | |
90 | 90 | getInteger(address, key) | |
91 | 91 | case _ => | |
92 | 92 | throw("invalid entry type") | |
93 | 93 | }, error) | |
94 | 94 | } | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func getStrOrFail (address,key) = { | |
98 | 98 | let @ = getValueOrFail(address, key, "") | |
99 | 99 | if ($isInstanceOf(@, "String")) | |
100 | 100 | then @ | |
101 | 101 | else throw(($getType(getValueOrFail(address, key, "")) + " couldn't be cast to String")) | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func getIntOrFail (address,key) = { | |
106 | 106 | let @ = getValueOrFail(address, key, 0) | |
107 | 107 | if ($isInstanceOf(@, "Int")) | |
108 | 108 | then @ | |
109 | 109 | else throw(($getType(getValueOrFail(address, key, 0)) + " couldn't be cast to Int")) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func poolToString (pool) = ((pool._1 + separator) + pool._2) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func stringToPool (str) = { | |
117 | 117 | let parts = split(str, separator) | |
118 | 118 | if ((size(parts) == 2)) | |
119 | 119 | then $Tuple2(parts[0], parts[1]) | |
120 | 120 | else throw("invalid pool string") | |
121 | 121 | } | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getLpAssetByPoolAssets (amountAssetId,priceAssetId) = { | |
125 | 125 | func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr) | |
126 | 126 | ||
127 | 127 | func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract") | |
128 | 128 | ||
129 | 129 | func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset") | |
130 | 130 | ||
131 | 131 | let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract)) | |
132 | 132 | let amountAssetInternalId = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amountAssetId)) | |
133 | 133 | let priceAssetInternalId = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAssetId)) | |
134 | 134 | let poolContractAddress = getStrOrFail(factoryContract, keyMappingPoolAssetsToPoolContractAddress(amountAssetInternalId, priceAssetInternalId)) | |
135 | 135 | let lpAssetId = getStrOrFail(factoryContract, keyMappingPoolContractToLPAsset(poolContractAddress)) | |
136 | 136 | lpAssetId | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func checkWxEmissionPoolLabel (pool) = { | |
141 | 141 | let $t044594499 = pool | |
142 | 142 | let amountAssetId = $t044594499._1 | |
143 | 143 | let priceAssetId = $t044594499._2 | |
144 | 144 | let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract)) | |
145 | 145 | let @ = invoke(factoryContract, "checkWxEmissionPoolLabel", [amountAssetId, priceAssetId], nil) | |
146 | 146 | if ($isInstanceOf(@, "Boolean")) | |
147 | 147 | then @ | |
148 | 148 | else throw(($getType(invoke(factoryContract, "checkWxEmissionPoolLabel", [amountAssetId, priceAssetId], nil)) + " couldn't be cast to Boolean")) | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | let poolsListName = "pools" | |
153 | 153 | ||
154 | 154 | func getVotesListName (pool) = { | |
155 | 155 | let $t048004840 = pool | |
156 | 156 | let amountAssetId = $t048004840._1 | |
157 | 157 | let priceAssetId = $t048004840._2 | |
158 | 158 | makeString(["votes", amountAssetId, priceAssetId], separator) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func keyListHead (listName) = { | |
163 | 163 | let meta = if ((listName == poolsListName)) | |
164 | 164 | then "%s%s" | |
165 | 165 | else "%s%s%s%s" | |
166 | 166 | makeString([meta, listName, "head"], separator) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func keyListSize (listName) = { | |
171 | 171 | let meta = if ((listName == poolsListName)) | |
172 | 172 | then "%s%s" | |
173 | 173 | else "%s%s%s%s" | |
174 | 174 | makeString([meta, listName, "size"], separator) | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func keyListPrev (listName,id) = { | |
179 | 179 | let meta = if ((listName == poolsListName)) | |
180 | 180 | then "%s%s%s%s" | |
181 | 181 | else "%s%s%s%s%s" | |
182 | 182 | makeString([meta, listName, id, "prev"], separator) | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func keyListNext (listName,id) = { | |
187 | 187 | let meta = if ((listName == poolsListName)) | |
188 | 188 | then "%s%s%s%s" | |
189 | 189 | else "%s%s%s%s%s" | |
190 | 190 | makeString([meta, listName, id, "next"], separator) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func containsNode (listName,id) = { | |
195 | 195 | let headOrUnit = getString(this, keyListHead(listName)) | |
196 | 196 | let prevOrUnit = getString(this, keyListPrev(listName, id)) | |
197 | 197 | let nextOrUnit = getString(this, keyListNext(listName, id)) | |
198 | 198 | if (if ((id == valueOrElse(headOrUnit, ""))) | |
199 | 199 | then true | |
200 | 200 | else (prevOrUnit != unit)) | |
201 | 201 | then true | |
202 | 202 | else (nextOrUnit != unit) | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func insertNodeActions (listName,id) = { | |
207 | 207 | let headOrUnit = getString(this, keyListHead(listName)) | |
208 | 208 | let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0) | |
209 | 209 | let checkNode = if (!(containsNode(listName, id))) | |
210 | 210 | then true | |
211 | 211 | else throw("Node exists") | |
212 | 212 | if ((checkNode == checkNode)) | |
213 | 213 | then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if ((headOrUnit != unit)) | |
214 | 214 | then [StringEntry(keyListNext(listName, id), value(headOrUnit)), StringEntry(keyListPrev(listName, value(headOrUnit)), id)] | |
215 | 215 | else nil)) ++ [StringEntry(keyListHead(listName), id)]) | |
216 | 216 | else throw("Strict value is not equal to itself.") | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func deleteNodeActions (listName,id) = { | |
221 | 221 | let headOrUnit = getString(this, keyListHead(listName)) | |
222 | 222 | let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0) | |
223 | 223 | let prevOrUnit = getString(this, keyListPrev(listName, id)) | |
224 | 224 | let nextOrUnit = getString(this, keyListNext(listName, id)) | |
225 | 225 | ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if ((prevOrUnit != unit)) | |
226 | 226 | then (nextOrUnit != unit) | |
227 | 227 | else false) | |
228 | 228 | then [StringEntry(keyListNext(listName, value(prevOrUnit)), value(nextOrUnit)), StringEntry(keyListPrev(listName, value(nextOrUnit)), value(prevOrUnit)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))] | |
229 | 229 | else if ((nextOrUnit != unit)) | |
230 | 230 | then [StringEntry(keyListHead(listName), value(nextOrUnit)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(nextOrUnit)))] | |
231 | 231 | else if ((prevOrUnit != unit)) | |
232 | 232 | then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prevOrUnit)))] | |
233 | 233 | else if ((id == valueOrElse(headOrUnit, ""))) | |
234 | 234 | then [DeleteEntry(keyListHead(listName))] | |
235 | 235 | else throw(((("invalid node: " + listName) + ".") + id)))) | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func keyManagerPublicKey () = "%s__managerPublicKey" | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey" | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) { | |
246 | 246 | case s: String => | |
247 | 247 | fromBase58String(s) | |
248 | 248 | case _: Unit => | |
249 | 249 | unit | |
250 | 250 | case _ => | |
251 | 251 | throw("Match error") | |
252 | 252 | } | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) { | |
256 | 256 | case s: String => | |
257 | 257 | fromBase58String(s) | |
258 | 258 | case _: Unit => | |
259 | 259 | unit | |
260 | 260 | case _ => | |
261 | 261 | throw("Match error") | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | let permissionDeniedError = throw("Permission denied") | |
266 | 266 | ||
267 | 267 | func mustThis (i) = if ((i.caller == this)) | |
268 | 268 | then true | |
269 | 269 | else permissionDeniedError | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func mustManager (i) = match managerPublicKeyOrUnit() { | |
273 | 273 | case pk: ByteVector => | |
274 | 274 | if ((i.callerPublicKey == pk)) | |
275 | 275 | then true | |
276 | 276 | else permissionDeniedError | |
277 | 277 | case _: Unit => | |
278 | 278 | mustThis(i) | |
279 | 279 | case _ => | |
280 | 280 | throw("Match error") | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(i) | |
285 | 285 | func setManager (pendingManagerPublicKey) = { | |
286 | 286 | let checkCaller = mustManager(i) | |
287 | 287 | if ((checkCaller == checkCaller)) | |
288 | 288 | then { | |
289 | 289 | let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey) | |
290 | 290 | if ((checkManagerPublicKey == checkManagerPublicKey)) | |
291 | 291 | then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)] | |
292 | 292 | else throw("Strict value is not equal to itself.") | |
293 | 293 | } | |
294 | 294 | else throw("Strict value is not equal to itself.") | |
295 | 295 | } | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | ||
299 | 299 | @Callable(i) | |
300 | 300 | func confirmManager () = { | |
301 | 301 | let pm = pendingManagerPublicKeyOrUnit() | |
302 | 302 | let hasPM = if (isDefined(pm)) | |
303 | 303 | then true | |
304 | 304 | else throw("No pending manager") | |
305 | 305 | if ((hasPM == hasPM)) | |
306 | 306 | then { | |
307 | 307 | let checkPM = if ((i.callerPublicKey == value(pm))) | |
308 | 308 | then true | |
309 | 309 | else throw("You are not pending manager") | |
310 | 310 | if ((checkPM == checkPM)) | |
311 | 311 | then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())] | |
312 | 312 | else throw("Strict value is not equal to itself.") | |
313 | 313 | } | |
314 | 314 | else throw("Strict value is not equal to itself.") | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | ||
319 | 319 | @Callable(i) | |
320 | 320 | func getUserGwxAmountAtHeight (userAddress,targetHeight) = { | |
321 | 321 | let boostingContractAddress = valueOrErrorMessage(addressFromString(getStrOrFail(this, keyBoostingContract)), "invalid boosting contract address") | |
322 | 322 | $Tuple2(nil, { | |
323 | 323 | let @ = invoke(boostingContractAddress, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil) | |
324 | 324 | if ($isInstanceOf(@, "Int")) | |
325 | 325 | then @ | |
326 | 326 | else throw(($getType(invoke(boostingContractAddress, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)) + " couldn't be cast to Int")) | |
327 | 327 | }) | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | ||
332 | 332 | @Callable(i) | |
333 | 333 | func constructor (factoryContract,votingEmissionCandidateContract,boostingContract,stakingContract,epochLength) = { | |
334 | 334 | let checks = [mustManager(i), if ((addressFromString(factoryContract) != unit)) | |
335 | 335 | then true | |
336 | 336 | else "invalid factory contract address", if ((addressFromString(votingEmissionCandidateContract) != unit)) | |
337 | 337 | then true | |
338 | 338 | else "invalid voting emission candidate contract address", if ((addressFromString(boostingContract) != unit)) | |
339 | 339 | then true | |
340 | 340 | else "invalid boosting contract address", if ((addressFromString(stakingContract) != unit)) | |
341 | 341 | then true | |
342 | 342 | else "invalid staking contract address", if ((epochLength > 0)) | |
343 | 343 | then true | |
344 | 344 | else throw("invalid epoch length")] | |
345 | 345 | if ((checks == checks)) | |
346 | 346 | then $Tuple2([StringEntry(keyFactoryContract, factoryContract), StringEntry(keyVotingEmissionCandidateContract, votingEmissionCandidateContract), StringEntry(keyBoostingContract, boostingContract), StringEntry(keyStakingContract, stakingContract), IntegerEntry(keyEpochLength, epochLength)], unit) | |
347 | 347 | else throw("Strict value is not equal to itself.") | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | ||
352 | 352 | @Callable(i) | |
353 | 353 | func create (amountAssetId,priceAssetId) = { | |
354 | 354 | let checks = [if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionCandidateContract), ""))) | |
355 | 355 | then true | |
356 | 356 | else mustManager(i)] | |
357 | 357 | if ((checks == checks)) | |
358 | 358 | then { | |
359 | 359 | let pool = $Tuple2(amountAssetId, priceAssetId) | |
360 | 360 | let inListActions = ([BooleanEntry(keyInList(pool), true)] ++ insertNodeActions(poolsListName, poolToString(pool))) | |
361 | 361 | let currentEpochIsNotDefined = (getInteger(this, keyCurrentEpoch) == unit) | |
362 | 362 | let startHeightActions = if (currentEpochIsNotDefined) | |
363 | 363 | then { | |
364 | 364 | let epoch = 0 | |
365 | 365 | [IntegerEntry(keyCurrentEpoch, epoch), IntegerEntry(keyStartHeightByEpoch(epoch), height), IntegerEntry(keyStartHeight, height), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, height)] | |
366 | 366 | } | |
367 | 367 | else nil | |
368 | 368 | $Tuple2((inListActions ++ startHeightActions), unit) | |
369 | 369 | } | |
370 | 370 | else throw("Strict value is not equal to itself.") | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | ||
375 | 375 | @Callable(i) | |
376 | 376 | func vote (amountAssetId,priceAssetId,amount) = { | |
377 | 377 | let pool = $Tuple2(amountAssetId, priceAssetId) | |
378 | 378 | let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0) | |
379 | 379 | let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch)) | |
380 | 380 | let epochLength = getIntOrFail(this, keyEpochLength) | |
381 | 381 | let endHeight = (startHeight + epochLength) | |
382 | 382 | let finalizationStageOrUnit = getInteger(this, keyFinalizationStage) | |
383 | 383 | let used = valueOrElse(getInteger(this, keyUsed(i.caller, epoch)), 0) | |
384 | 384 | let vote = valueOrElse(getInteger(this, keyVote(pool, i.caller, epoch)), 0) | |
385 | 385 | let poolResult = valueOrElse(getInteger(this, keyVotingResult(pool, epoch)), 0) | |
386 | 386 | let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(epoch)), 0) | |
387 | 387 | let gwxAmountAtEndTotal = { | |
388 | 388 | let @ = invoke(this, "getUserGwxAmountAtHeight", [toBase58String(i.caller.bytes), endHeight], nil) | |
389 | 389 | if ($isInstanceOf(@, "Int")) | |
390 | 390 | then @ | |
391 | 391 | else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [toBase58String(i.caller.bytes), endHeight], nil)) + " couldn't be cast to Int")) | |
392 | 392 | } | |
393 | 393 | let available = (gwxAmountAtEndTotal - used) | |
394 | 394 | let newVote = (vote + amount) | |
395 | 395 | let wxEmission = checkWxEmissionPoolLabel(pool) | |
396 | 396 | let checks = [if ((getBoolean(keyInList(pool)) != unit)) | |
397 | 397 | then true | |
398 | 398 | else throw("invalid assets"), if ((endHeight > height)) | |
399 | 399 | then true | |
400 | 400 | else throw("invalid height"), if ((finalizationStageOrUnit == unit)) | |
401 | 401 | then true | |
402 | 402 | else throw("finalization in progress"), if ((gwxAmountAtEndTotal > 0)) | |
403 | 403 | then true | |
404 | 404 | else throw("you do not have gWX"), if (if ((amount > 0)) | |
405 | 405 | then (available >= amount) | |
406 | 406 | else false) | |
407 | 407 | then true | |
408 | 408 | else throw("invalid amount"), if (wxEmission) | |
409 | 409 | then true | |
410 | 410 | else throw("pool hasn't WX_EMISSION label")] | |
411 | 411 | if ((checks == checks)) | |
412 | 412 | then { | |
413 | 413 | let votesListName = getVotesListName(pool) | |
414 | 414 | let userAddressStr = toString(i.caller) | |
415 | 415 | let votesListActions = if (containsNode(votesListName, userAddressStr)) | |
416 | 416 | then nil | |
417 | 417 | else insertNodeActions(votesListName, userAddressStr) | |
418 | 418 | $Tuple2(([IntegerEntry(keyUsed(i.caller, epoch), (used + amount)), IntegerEntry(keyVote(pool, i.caller, epoch), newVote), IntegerEntry(keyVotingResult(pool, epoch), (poolResult + amount)), IntegerEntry(keyTotalVotes(epoch), (totalVotes + amount))] ++ votesListActions), unit) | |
419 | 419 | } | |
420 | 420 | else throw("Strict value is not equal to itself.") | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | ||
425 | 425 | @Callable(i) | |
426 | 426 | func cancelVote (amountAssetId,priceAssetId) = { | |
427 | 427 | let pool = $Tuple2(amountAssetId, priceAssetId) | |
428 | 428 | let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0) | |
429 | 429 | let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch)) | |
430 | 430 | let epochLength = getIntOrFail(this, keyEpochLength) | |
431 | 431 | let endHeight = (startHeight + epochLength) | |
432 | 432 | let finalizationStageOrUnit = getInteger(this, keyFinalizationStage) | |
433 | 433 | let used = valueOrElse(getInteger(this, keyUsed(i.caller, epoch)), 0) | |
434 | 434 | let vote = valueOrElse(getInteger(this, keyVote(pool, i.caller, epoch)), 0) | |
435 | 435 | let poolResult = valueOrElse(getInteger(this, keyVotingResult(pool, epoch)), 0) | |
436 | 436 | let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(epoch)), 0) | |
437 | 437 | let checks = [if ((getBoolean(keyInList(pool)) != unit)) | |
438 | 438 | then true | |
439 | 439 | else throw("invalid assets"), if ((endHeight > height)) | |
440 | 440 | then true | |
441 | 441 | else throw("invalid height"), if ((finalizationStageOrUnit == unit)) | |
442 | 442 | then true | |
443 | 443 | else throw("finalization in progress"), if ((vote > 0)) | |
444 | 444 | then true | |
445 | 445 | else throw("no vote")] | |
446 | 446 | if ((checks == checks)) | |
447 | 447 | then { | |
448 | 448 | let votesListName = getVotesListName(pool) | |
449 | 449 | let userAddressStr = toString(i.caller) | |
450 | 450 | $Tuple2(([IntegerEntry(keyUsed(i.caller, epoch), max([(used - vote), 0])), DeleteEntry(keyVote(pool, i.caller, epoch)), IntegerEntry(keyVotingResult(pool, epoch), (poolResult - vote)), IntegerEntry(keyTotalVotes(epoch), (totalVotes - vote))] ++ deleteNodeActions(votesListName, userAddressStr)), unit) | |
451 | 451 | } | |
452 | 452 | else throw("Strict value is not equal to itself.") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(i) | |
458 | 458 | func setEpochLength (newEpochLength) = { | |
459 | 459 | let checks = [mustManager(i), if ((newEpochLength > 0)) | |
460 | 460 | then true | |
461 | 461 | else throw("invalid epoch length")] | |
462 | 462 | if ((checks == checks)) | |
463 | 463 | then $Tuple2([IntegerEntry(keyEpochLength, newEpochLength)], unit) | |
464 | 464 | else throw("Strict value is not equal to itself.") | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | ||
469 | 469 | @Callable(i) | |
470 | 470 | func setMaxDepth (newMaxDepth) = { | |
471 | 471 | let checks = [mustManager(i), if ((newMaxDepth > 0)) | |
472 | 472 | then true | |
473 | 473 | else throw("invalid max depth")] | |
474 | 474 | if ((checks == checks)) | |
475 | 475 | then $Tuple2([IntegerEntry(keyMaxDepth, newMaxDepth)], unit) | |
476 | 476 | else throw("Strict value is not equal to itself.") | |
477 | 477 | } | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | ||
481 | 481 | @Callable(i) | |
482 | 482 | func processVoteINTERNAL (poolStr,userAddressStr) = { | |
483 | 483 | let checkCaller = mustThis(i) | |
484 | 484 | if ((checkCaller == checkCaller)) | |
485 | 485 | then { | |
486 | 486 | let userAddress = valueOrErrorMessage(addressFromString(userAddressStr), ("processVoteINTERNAL: invalid user address " + userAddressStr)) | |
487 | 487 | let epoch = getIntOrFail(this, keyCurrentEpoch) | |
488 | 488 | let epochPrevious = (epoch - 1) | |
489 | 489 | let epochLength = getIntOrFail(this, keyEpochLength) | |
490 | 490 | let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch)) | |
491 | 491 | let endHeight = (startHeight + epochLength) | |
492 | 492 | let startHeightPrevious = getIntOrFail(this, keyStartHeightByEpoch(epochPrevious)) | |
493 | 493 | let endHeightPrevious = (startHeightPrevious + epochLength) | |
494 | 494 | let checkTargetEpoch = if ((epochPrevious >= 0)) | |
495 | 495 | then true | |
496 | 496 | else throw("processVoteINTERNAL: invalid previous epoch") | |
497 | 497 | if ((checkTargetEpoch == checkTargetEpoch)) | |
498 | 498 | then { | |
499 | 499 | let pool = stringToPool(poolStr) | |
500 | - | let $ | |
501 | - | let amountAssetId = $ | |
502 | - | let priceAssetId = $ | |
500 | + | let $t01716217202 = pool | |
501 | + | let amountAssetId = $t01716217202._1 | |
502 | + | let priceAssetId = $t01716217202._2 | |
503 | 503 | let wxEmission = checkWxEmissionPoolLabel(pool) | |
504 | 504 | let gwxAmountAtEndTotal = { | |
505 | 505 | let @ = invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeight], nil) | |
506 | 506 | if ($isInstanceOf(@, "Int")) | |
507 | 507 | then @ | |
508 | 508 | else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeight], nil)) + " couldn't be cast to Int")) | |
509 | 509 | } | |
510 | 510 | let gwxAmountAtEndTotalPrevious = { | |
511 | 511 | let @ = invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeightPrevious], nil) | |
512 | 512 | if ($isInstanceOf(@, "Int")) | |
513 | 513 | then @ | |
514 | 514 | else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeightPrevious], nil)) + " couldn't be cast to Int")) | |
515 | 515 | } | |
516 | 516 | let totalVotes = valueOrElse(getInteger(keyTotalVotes(epoch)), 0) | |
517 | 517 | let votingResult = valueOrElse(getInteger(keyVotingResult(pool, epoch)), 0) | |
518 | 518 | let votePrevious = valueOrErrorMessage(getInteger(keyVote(pool, userAddress, epochPrevious)), (((("processVoteINTERNAL " + poolStr) + " ") + userAddressStr) + ": no previous vote")) | |
519 | 519 | let used = valueOrElse(getInteger(this, keyUsed(userAddress, epoch)), 0) | |
520 | 520 | let newVote = fraction(votePrevious, gwxAmountAtEndTotal, gwxAmountAtEndTotalPrevious) | |
521 | 521 | let actions = if (if ((newVote > 0)) | |
522 | 522 | then wxEmission | |
523 | 523 | else false) | |
524 | 524 | then [IntegerEntry(keyVote(pool, userAddress, epoch), newVote), IntegerEntry(keyTotalVotes(epoch), (totalVotes + newVote)), IntegerEntry(keyVotingResult(pool, epoch), (votingResult + newVote)), IntegerEntry(keyUsed(userAddress, epoch), (used + newVote))] | |
525 | 525 | else deleteNodeActions(getVotesListName(pool), userAddressStr) | |
526 | 526 | $Tuple2(actions, unit) | |
527 | 527 | } | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
530 | 530 | else throw("Strict value is not equal to itself.") | |
531 | 531 | } | |
532 | 532 | ||
533 | 533 | ||
534 | 534 | ||
535 | 535 | @Callable(i) | |
536 | 536 | func processPoolINTERNAL (poolStr) = { | |
537 | 537 | let checkCaller = mustThis(i) | |
538 | 538 | if ((checkCaller == checkCaller)) | |
539 | 539 | then { | |
540 | 540 | let targetEpoch = (getIntOrFail(this, keyCurrentEpoch) - 1) | |
541 | 541 | let checkTargetEpoch = if ((targetEpoch >= 0)) | |
542 | 542 | then true | |
543 | 543 | else throw("processPoolINTERNAL: invalid target epoch") | |
544 | 544 | if ((checkTargetEpoch == checkTargetEpoch)) | |
545 | 545 | then { | |
546 | 546 | let pool = stringToPool(poolStr) | |
547 | - | let $ | |
548 | - | let amountAssetId = $ | |
549 | - | let priceAssetId = $ | |
547 | + | let $t01871918759 = pool | |
548 | + | let amountAssetId = $t01871918759._1 | |
549 | + | let priceAssetId = $t01871918759._2 | |
550 | 550 | let stakingContract = addressFromStringValue(getStrOrFail(this, keyStakingContract)) | |
551 | 551 | let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract)) | |
552 | 552 | let lpAssetId = getLpAssetByPoolAssets(amountAssetId, priceAssetId) | |
553 | 553 | let r = { | |
554 | 554 | let @ = invoke(stakingContract, "usersListTraversal", [lpAssetId], nil) | |
555 | 555 | if ($isInstanceOf(@, "Boolean")) | |
556 | 556 | then @ | |
557 | 557 | else throw(($getType(invoke(stakingContract, "usersListTraversal", [lpAssetId], nil)) + " couldn't be cast to Boolean")) | |
558 | 558 | } | |
559 | 559 | if ((r == r)) | |
560 | 560 | then if (r) | |
561 | 561 | then $Tuple2(nil, true) | |
562 | 562 | else { | |
563 | 563 | let wxEmission = checkWxEmissionPoolLabel(pool) | |
564 | 564 | let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(targetEpoch)), 0) | |
565 | 565 | let votingResult = valueOrElse(getInteger(this, keyVotingResult(pool, targetEpoch)), 0) | |
566 | 566 | let share = if (if ((totalVotes == 0)) | |
567 | 567 | then true | |
568 | 568 | else !(wxEmission)) | |
569 | 569 | then 0 | |
570 | 570 | else fraction(votingResult, poolWeightMult, totalVotes) | |
571 | 571 | let modifyWeightInv = invoke(factoryContract, "modifyWeight", [lpAssetId, share], nil) | |
572 | 572 | if ((modifyWeightInv == modifyWeightInv)) | |
573 | 573 | then { | |
574 | 574 | let poolsListActions = if (wxEmission) | |
575 | 575 | then nil | |
576 | 576 | else ([DeleteEntry(keyInList(pool))] ++ deleteNodeActions(poolsListName, poolStr)) | |
577 | 577 | $Tuple2(([IntegerEntry(keyPoolShare(pool, targetEpoch), share)] ++ poolsListActions), false) | |
578 | 578 | } | |
579 | 579 | else throw("Strict value is not equal to itself.") | |
580 | 580 | } | |
581 | 581 | else throw("Strict value is not equal to itself.") | |
582 | 582 | } | |
583 | 583 | else throw("Strict value is not equal to itself.") | |
584 | 584 | } | |
585 | 585 | else throw("Strict value is not equal to itself.") | |
586 | 586 | } | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | ||
590 | 590 | @Callable(i) | |
591 | 591 | func finalizeHelper () = { | |
592 | 592 | let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0) | |
593 | 593 | let previousEpoch = (epoch - 1) | |
594 | 594 | let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch)) | |
595 | 595 | let epochLength = getIntOrFail(this, keyEpochLength) | |
596 | 596 | let endHeight = (startHeight + epochLength) | |
597 | 597 | let finalizationStageOrUnit = getInteger(this, keyFinalizationStage) | |
598 | 598 | if (if ((height >= endHeight)) | |
599 | 599 | then (finalizationStageOrUnit == unit) | |
600 | 600 | else false) | |
601 | 601 | then { | |
602 | 602 | let newEpoch = (epoch + 1) | |
603 | 603 | $Tuple2([IntegerEntry(keyStartHeightByEpoch(newEpoch), height), IntegerEntry(keyStartHeight, height), IntegerEntry(keyCurrentEpoch, newEpoch), IntegerEntry(keyFinalizationStage, finalizationStageTotal)], true) | |
604 | 604 | } | |
605 | 605 | else if ((finalizationStageOrUnit == unit)) | |
606 | 606 | then $Tuple2(nil, false) | |
607 | 607 | else if ((finalizationStageOrUnit == finalizationStageTotal)) | |
608 | 608 | then { | |
609 | 609 | let poolOrUnit = getString(keyNextPool) | |
610 | 610 | let userOrUnit = getString(keyNextUser) | |
611 | 611 | match poolOrUnit { | |
612 | 612 | case _: Unit => | |
613 | 613 | match getString(keyListHead(poolsListName)) { | |
614 | 614 | case _: Unit => | |
615 | 615 | $Tuple2([IntegerEntry(keyFinalizationStage, finalizationStageShares), DeleteEntry(keyNextPool), DeleteEntry(keyNextUser)], true) | |
616 | 616 | case poolsHeadStr: String => | |
617 | 617 | $Tuple2([StringEntry(keyNextPool, poolsHeadStr)], true) | |
618 | 618 | case _ => | |
619 | 619 | throw("Match error") | |
620 | 620 | } | |
621 | 621 | case poolStr: String => | |
622 | 622 | let pool = stringToPool(poolStr) | |
623 | 623 | let nextUserOrUnit = match userOrUnit { | |
624 | 624 | case _: Unit => | |
625 | 625 | getString(keyListHead(getVotesListName(pool))) | |
626 | 626 | case user: String => | |
627 | 627 | let processVoteInv = invoke(this, "processVoteINTERNAL", [poolStr, user], nil) | |
628 | 628 | if ((processVoteInv == processVoteInv)) | |
629 | 629 | then getString(keyListNext(getVotesListName(pool), user)) | |
630 | 630 | else throw("Strict value is not equal to itself.") | |
631 | 631 | case _ => | |
632 | 632 | throw("Match error") | |
633 | 633 | } | |
634 | 634 | match nextUserOrUnit { | |
635 | 635 | case _: Unit => | |
636 | 636 | let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr)) | |
637 | 637 | match nextPoolOrUnit { | |
638 | 638 | case _: Unit => | |
639 | 639 | $Tuple2([IntegerEntry(keyFinalizationStage, finalizationStageShares), DeleteEntry(keyNextPool), DeleteEntry(keyNextUser)], true) | |
640 | 640 | case s: String => | |
641 | 641 | $Tuple2([StringEntry(keyNextPool, s), DeleteEntry(keyNextUser)], true) | |
642 | 642 | case _ => | |
643 | 643 | throw("Match error") | |
644 | 644 | } | |
645 | 645 | case nextUser: String => | |
646 | 646 | $Tuple2([StringEntry(keyNextUser, nextUser)], true) | |
647 | 647 | case _ => | |
648 | 648 | throw("Match error") | |
649 | 649 | } | |
650 | 650 | case _ => | |
651 | 651 | throw("Match error") | |
652 | 652 | } | |
653 | 653 | } | |
654 | 654 | else if ((finalizationStageOrUnit == finalizationStageShares)) | |
655 | 655 | then { | |
656 | 656 | let poolOrUnit = getString(keyNextPool) | |
657 | 657 | match poolOrUnit { | |
658 | 658 | case _: Unit => | |
659 | 659 | match getString(keyListHead(poolsListName)) { | |
660 | 660 | case _: Unit => | |
661 | 661 | $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight)], true) | |
662 | 662 | case nextPoolStr: String => | |
663 | 663 | $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true) | |
664 | 664 | case _ => | |
665 | 665 | throw("Match error") | |
666 | 666 | } | |
667 | 667 | case poolStr: String => | |
668 | 668 | let r = { | |
669 | 669 | let @ = invoke(this, "processPoolINTERNAL", [poolStr], nil) | |
670 | 670 | if ($isInstanceOf(@, "Boolean")) | |
671 | 671 | then @ | |
672 | 672 | else throw(($getType(invoke(this, "processPoolINTERNAL", [poolStr], nil)) + " couldn't be cast to Boolean")) | |
673 | 673 | } | |
674 | 674 | if ((r == r)) | |
675 | 675 | then if (r) | |
676 | 676 | then $Tuple2(nil, true) | |
677 | 677 | else { | |
678 | 678 | let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr)) | |
679 | 679 | match nextPoolOrUnit { | |
680 | 680 | case _: Unit => | |
681 | 681 | $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight), DeleteEntry(keyNextPool)], true) | |
682 | 682 | case nextPoolStr: String => | |
683 | 683 | $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true) | |
684 | 684 | case _ => | |
685 | 685 | throw("Match error") | |
686 | 686 | } | |
687 | 687 | } | |
688 | 688 | else throw("Strict value is not equal to itself.") | |
689 | 689 | case _ => | |
690 | 690 | throw("Match error") | |
691 | 691 | } | |
692 | 692 | } | |
693 | 693 | else throw("finalization is broken") | |
694 | 694 | } | |
695 | 695 | ||
696 | 696 | ||
697 | 697 | ||
698 | 698 | @Callable(i) | |
699 | 699 | func finalizeWrapper (counter) = { | |
700 | 700 | let result = { | |
701 | 701 | let @ = invoke(this, "finalizeHelper", nil, nil) | |
702 | 702 | if ($isInstanceOf(@, "Boolean")) | |
703 | 703 | then @ | |
704 | 704 | else throw(($getType(invoke(this, "finalizeHelper", nil, nil)) + " couldn't be cast to Boolean")) | |
705 | 705 | } | |
706 | 706 | if ((result == result)) | |
707 | 707 | then if (!(result)) | |
708 | 708 | then if ((counter == 0)) | |
709 | 709 | then throw("Current voting is not over yet") | |
710 | 710 | else $Tuple2(nil, unit) | |
711 | 711 | else { | |
712 | 712 | let maxDepth = valueOrElse(getInteger(this, keyMaxDepth), maxDepthDefault) | |
713 | 713 | if ((maxDepth > counter)) | |
714 | 714 | then { | |
715 | 715 | let inv = invoke(this, "finalizeWrapper", [(counter + 1)], nil) | |
716 | 716 | if ((inv == inv)) | |
717 | 717 | then $Tuple2(nil, unit) | |
718 | 718 | else throw("Strict value is not equal to itself.") | |
719 | 719 | } | |
720 | 720 | else $Tuple2(nil, unit) | |
721 | 721 | } | |
722 | 722 | else throw("Strict value is not equal to itself.") | |
723 | 723 | } | |
724 | 724 | ||
725 | 725 | ||
726 | 726 | ||
727 | 727 | @Callable(i) | |
728 | 728 | func finalize () = { | |
729 | 729 | let inv = invoke(this, "finalizeWrapper", [0], nil) | |
730 | 730 | if ((inv == inv)) | |
731 | 731 | then $Tuple2(nil, unit) | |
732 | 732 | else throw("Strict value is not equal to itself.") | |
733 | 733 | } | |
734 | 734 | ||
735 | 735 | ||
736 | 736 | ||
737 | 737 | @Callable(i) | |
738 | 738 | func containsNodeREADONLY (listName,id) = $Tuple2(nil, containsNode(listName, id)) | |
739 | 739 | ||
740 | 740 | ||
741 | 741 | ||
742 | 742 | @Callable(i) | |
743 | 743 | func insertNode (listName,id) = { | |
744 | 744 | let checkCaller = mustManager(i) | |
745 | 745 | if ((checkCaller == checkCaller)) | |
746 | 746 | then $Tuple2(insertNodeActions(listName, id), unit) | |
747 | 747 | else throw("Strict value is not equal to itself.") | |
748 | 748 | } | |
749 | 749 | ||
750 | 750 | ||
751 | 751 | ||
752 | 752 | @Callable(i) | |
753 | 753 | func deleteNode (listName,id) = { | |
754 | 754 | let checkCaller = mustManager(i) | |
755 | 755 | if ((checkCaller == checkCaller)) | |
756 | 756 | then $Tuple2(deleteNodeActions(listName, id), unit) | |
757 | 757 | else throw("Strict value is not equal to itself.") | |
758 | 758 | } | |
759 | 759 | ||
760 | 760 | ||
761 | 761 | @Verifier(tx) | |
762 | 762 | func verify () = { | |
763 | 763 | let targetPublicKey = match managerPublicKeyOrUnit() { | |
764 | 764 | case pk: ByteVector => | |
765 | 765 | pk | |
766 | 766 | case _: Unit => | |
767 | 767 | tx.senderPublicKey | |
768 | 768 | case _ => | |
769 | 769 | throw("Match error") | |
770 | 770 | } | |
771 | 771 | sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey) | |
772 | 772 | } | |
773 | 773 |
github/deemru/w8io/169f3d6 79.67 ms ◑