tx · HQp5zXSxM92vp2PZgLjPRo32ehQMtVWHLofqe16pz1ih 3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg: -0.01000000 Waves 2022.04.08 16:41 [1999665] smart account 3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg > SELF 0.00000000 Waves
{ "type": 13, "id": "HQp5zXSxM92vp2PZgLjPRo32ehQMtVWHLofqe16pz1ih", "fee": 1000000, "feeAssetId": null, "timestamp": 1649425314518, "version": 2, "chainId": 84, "sender": "3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg", "senderPublicKey": "C2aAS9D6FqfbrkCuCQCtPWAiopjyagvitFLjRuLcRPYt", "proofs": [ "5ukrE7aaCJCwEqVET9VEokFEu6CLiu8LJ9sJih7eiJtboaKnartYHLyTnjeCRaV9njQqipVZg5yMBJJR3HCR1PmY" ], "script": "base64:AAIFAAAAAAAAAE8IAhIMCgoICAgBCAEBAQEBEgQKAggIEgQKAggEEgMKAQgSBAoCCAESBQoDCAgIEgASAwoBARIAEgASAwoBARIAEgMKAQESAwoBARIDCgEIAAAAPwAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAPbWF4RGVwdGhEZWZhdWx0AAAAAAAAAAAKAQAAAAVhc0ludAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAAGdmFsSW50BQAAAAckbWF0Y2gwBQAAAAZ2YWxJbnQJAAACAAAAAQIAAAAbRmFpbGVkIHRvIGNhc3QgaW50byBJbnRlZ2VyAQAAAAZhc0Jvb2wAAAABAAAAA3ZhbAQAAAAHJG1hdGNoMAUAAAADdmFsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAd2YWxCb29sBQAAAAckbWF0Y2gwBQAAAAd2YWxCb29sCQAAAgAAAAECAAAAG0ZhaWxlZCB0byBjYXN0IGludG8gQm9vbGVhbgAAAAAMa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Mgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAGc2V0RmVlAAAAAQAAAAZuZXdGZWUEAAAAC2NoZWNrQ2FsbGVyCQEAAAAIdGhpc09ubHkAAAABBQAAAAFpAwkAAAAAAAACBQAAAAtjaGVja0NhbGxlcgUAAAALY2hlY2tDYWxsZXIJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAMa2V5RmVlQW1vdW50BQAAAAZuZXdGZWUFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAbZ3d4QXZhaWxhYmxlRm9yVm90ZVJFQURPTkxZAAAAAQAAAAt1c2VyQWRkcmVzcwQAAAAOZ3d4QW1vdW50QXRFbmQJAQAAABhnZXRVc2VyR3d4QW1vdW50QXRIZWlnaHQAAAACBQAAAAt1c2VyQWRkcmVzcwUAAAAJZW5kSGVpZ2h0CQAFFAAAAAIFAAAAA25pbAUAAAAOZ3d4QW1vdW50QXRFbmQAAAAAsbQOPQ==", "height": 1999665, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EAJt3EKZzx4oTr6F37o8xzStbqBViEGpFopUBHoPktU7 Next: 6s9MnprM9DZ6PBmvegTgSg3hM7P3zrUHwDaMM8kTj5NJ Diff:
Old | New | Differences | |
---|---|---|---|
51 | 51 | ||
52 | 52 | let t = makeString(["%s", "latestProcessedUser"], a) | |
53 | 53 | ||
54 | - | let u = makeString(["%s", " | |
54 | + | let u = makeString(["%s", "latestProcessedUserRemove"], a) | |
55 | 55 | ||
56 | - | let v = makeString(["%s", " | |
56 | + | let v = makeString(["%s", "latestProcessedAssetTransfer"], a) | |
57 | 57 | ||
58 | - | let w = makeString(["%s", " | |
58 | + | let w = makeString(["%s", "latestProcessedUserTransfer"], a) | |
59 | 59 | ||
60 | - | func x (y) = makeString(["%s", "votesTransferFinished", toString(y)], a) | |
60 | + | let x = makeString(["%s", "latestProcessedUserRemoveTransfer"], a) | |
61 | + | ||
62 | + | let y = makeString(["%s", "maxDepth"], a) | |
63 | + | ||
64 | + | func z (A) = makeString(["%s", "votesTransferFinished", toString(A)], a) | |
61 | 65 | ||
62 | 66 | ||
63 | - | let | |
67 | + | let B = "__assets" | |
64 | 68 | ||
65 | - | func | |
69 | + | func C (D) = ("%s__votes__" + D) | |
66 | 70 | ||
67 | 71 | ||
68 | - | func | |
72 | + | func E (F) = makeString([("%s%s" + F), "head"], a) | |
69 | 73 | ||
70 | 74 | ||
71 | - | func | |
75 | + | func G (F) = makeString([("%s%s" + F), "size"], a) | |
72 | 76 | ||
73 | 77 | ||
74 | - | func | |
78 | + | func H (F,I) = makeString([("%s%s%s" + F), I, "prev"], a) | |
75 | 79 | ||
76 | 80 | ||
77 | - | func | |
81 | + | func J (F,I) = makeString([("%s%s%s" + F), I, "next"], a) | |
78 | 82 | ||
79 | 83 | ||
80 | - | func | |
84 | + | func K (D,A) = makeString(["%s%d%s", "verifiedAt", toString(A), D], a) | |
81 | 85 | ||
82 | 86 | ||
83 | - | func | |
87 | + | func L (D) = makeString(["%s%s", "verified", D], a) | |
84 | 88 | ||
85 | 89 | ||
86 | - | func | |
90 | + | func M (D,A) = makeString(["%s%s%d", "eliminated", D, toString(A)], a) | |
87 | 91 | ||
88 | 92 | ||
89 | - | func | |
93 | + | func N (D,A) = makeString(["%s%d%s", "votingResultAtAsset", toString(A), D], a) | |
90 | 94 | ||
91 | 95 | ||
92 | - | func | |
96 | + | func O (P,Q,R) = makeString(["%d%d%s", toString(P), toString(Q), toString(R)], a) | |
93 | 97 | ||
94 | 98 | ||
95 | - | func | |
96 | - | let | |
97 | - | let | |
98 | - | let | |
99 | - | let | |
100 | - | let | |
101 | - | let | |
102 | - | let | |
103 | - | then ( | |
99 | + | func S (T) = { | |
100 | + | let U = split(T, a) | |
101 | + | let V = 1 | |
102 | + | let W = 2 | |
103 | + | let X = 3 | |
104 | + | let P = parseIntValue(U[V]) | |
105 | + | let Q = parseIntValue(U[W]) | |
106 | + | let R = if ((size(U) == 4)) | |
107 | + | then (U[X] == "true") | |
104 | 108 | else false | |
105 | - | $Tuple3( | |
109 | + | $Tuple3(P, Q, R) | |
106 | 110 | } | |
107 | 111 | ||
108 | 112 | ||
109 | - | func | |
113 | + | func Y (Z,D,A) = makeString(["%s%d%s%s", "vru", toString(A), D, Z], a) | |
110 | 114 | ||
111 | 115 | ||
112 | - | func | |
113 | - | let | |
114 | - | then | |
116 | + | func aa (ab,ac) = { | |
117 | + | let P = if (ac) | |
118 | + | then ab | |
115 | 119 | else 0 | |
116 | - | let | |
120 | + | let Q = if (ac) | |
117 | 121 | then 0 | |
118 | - | else | |
119 | - | makeString(["%d%d", toString( | |
122 | + | else ab | |
123 | + | makeString(["%d%d", toString(P), toString(Q)], a) | |
120 | 124 | } | |
121 | 125 | ||
122 | 126 | ||
123 | - | func | |
124 | - | let | |
125 | - | let | |
126 | - | let | |
127 | - | let | |
128 | - | let | |
129 | - | let | |
130 | - | then ( | |
127 | + | func ad (T) = { | |
128 | + | let U = split(T, a) | |
129 | + | let V = 1 | |
130 | + | let W = 2 | |
131 | + | let P = parseIntValue(U[V]) | |
132 | + | let Q = parseIntValue(U[W]) | |
133 | + | let ac = if ((P > 0)) | |
134 | + | then (Q == 0) | |
131 | 135 | else false | |
132 | - | let | |
133 | - | then ( | |
136 | + | let ae = if ((P == 0)) | |
137 | + | then (Q > 0) | |
134 | 138 | else false | |
135 | - | let | |
139 | + | let af = if (if (ac) | |
136 | 140 | then true | |
137 | - | else | |
141 | + | else ae) | |
138 | 142 | then true | |
139 | 143 | else throw("Invalid user vote value") | |
140 | - | if (( | |
144 | + | if ((af == af)) | |
141 | 145 | then { | |
142 | - | let | |
143 | - | then | |
144 | - | else | |
145 | - | $Tuple2( | |
146 | + | let ab = if (ac) | |
147 | + | then P | |
148 | + | else Q | |
149 | + | $Tuple2(ab, ac) | |
146 | 150 | } | |
147 | 151 | else throw("Strict value is not equal to itself.") | |
148 | 152 | } | |
149 | 153 | ||
150 | 154 | ||
151 | - | func | |
155 | + | func ag (ah,Z,D,ai,A) = makeString(["%s%s%s%s%s%d", "history", ah, D, Z, ai, toString(A)], a) | |
152 | 156 | ||
153 | 157 | ||
154 | - | func | |
158 | + | func aj (ak) = if ((ak.caller == this)) | |
155 | 159 | then true | |
156 | 160 | else throw("Permission denied") | |
157 | 161 | ||
158 | 162 | ||
159 | - | func | |
163 | + | func al (am) = valueOrElse(getInteger(this, am), 0) | |
160 | 164 | ||
161 | 165 | ||
162 | - | func | |
166 | + | func an (am) = valueOrErrorMessage(getInteger(this, am), (am + " is not defined")) | |
163 | 167 | ||
164 | 168 | ||
165 | - | func | |
169 | + | func ao (am) = valueOrElse(getString(this, am), "") | |
166 | 170 | ||
167 | 171 | ||
168 | - | func | |
172 | + | func ap (am) = valueOrErrorMessage(getString(this, am), (am + " is not defined")) | |
169 | 173 | ||
170 | 174 | ||
171 | - | let | |
175 | + | let aq = an(i) | |
172 | 176 | ||
173 | - | let | |
177 | + | let ar = fromBase58String(ap(j)) | |
174 | 178 | ||
175 | - | let | |
179 | + | let as = an(k) | |
176 | 180 | ||
177 | - | let | |
181 | + | let at = an(l) | |
178 | 182 | ||
179 | - | let | |
183 | + | let au = an(m) | |
180 | 184 | ||
181 | - | let | |
185 | + | let av = an(n) | |
182 | 186 | ||
183 | - | let | |
187 | + | let aw = an(o) | |
184 | 188 | ||
185 | - | let | |
189 | + | let ax = addressFromStringValue(ap(p)) | |
186 | 190 | ||
187 | - | let | |
191 | + | let ay = addressFromStringValue(ap(q)) | |
188 | 192 | ||
189 | - | let | |
193 | + | let az = addressFromStringValue(ap(r)) | |
190 | 194 | ||
191 | - | let | |
195 | + | let aA = valueOrElse(getInteger(y), b) | |
192 | 196 | ||
193 | - | let | |
197 | + | let aB = (av + at) | |
194 | 198 | ||
195 | - | func | |
196 | - | let | |
197 | - | c( | |
199 | + | func aC (Z,aD) = { | |
200 | + | let aE = invoke(ax, "getUserGwxAmountAtHeightREADONLY", [Z, aD], nil) | |
201 | + | c(aE) | |
198 | 202 | } | |
199 | 203 | ||
200 | 204 | ||
201 | - | func | |
202 | - | let | |
203 | - | let | |
204 | - | let e = getString( | |
205 | + | func aF (D,ab,ac,A,R) = { | |
206 | + | let aG = N(D, A) | |
207 | + | let aH = { | |
208 | + | let e = getString(aG) | |
205 | 209 | if ($isInstanceOf(e, "String")) | |
206 | 210 | then { | |
207 | - | let | |
208 | - | | |
211 | + | let aI = e | |
212 | + | S(aI) | |
209 | 213 | } | |
210 | 214 | else if ($isInstanceOf(e, "Unit")) | |
211 | 215 | then { | |
212 | - | let | |
213 | - | if ($isInstanceOf( | |
216 | + | let aJ = getString(N(D, (A - 1))) | |
217 | + | if ($isInstanceOf(aJ, "String")) | |
214 | 218 | then { | |
215 | - | let | |
216 | - | $Tuple3(0, 0, | |
219 | + | let aI = aJ | |
220 | + | $Tuple3(0, 0, S(aI)._3) | |
217 | 221 | } | |
218 | - | else if ($isInstanceOf( | |
222 | + | else if ($isInstanceOf(aJ, "Unit")) | |
219 | 223 | then $Tuple3(0, 0, false) | |
220 | 224 | else throw("Match error") | |
221 | 225 | } | |
222 | 226 | else throw("Match error") | |
223 | 227 | } | |
224 | - | let | |
225 | - | let | |
226 | - | let | |
227 | - | StringEntry( | |
228 | - | then | |
229 | - | else 0)), ( | |
228 | + | let aK = aH._1 | |
229 | + | let aL = aH._2 | |
230 | + | let aM = aH._3 | |
231 | + | StringEntry(aG, O((aK + (if (ac) | |
232 | + | then ab | |
233 | + | else 0)), (aL + (if (ac) | |
230 | 234 | then 0 | |
231 | - | else | |
232 | - | then | |
233 | - | else value( | |
235 | + | else ab)), if ((R == unit)) | |
236 | + | then aM | |
237 | + | else value(R))) | |
234 | 238 | } | |
235 | 239 | ||
236 | 240 | ||
237 | - | func | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
241 | - | if (if (( | |
241 | + | func aN (F,I) = { | |
242 | + | let aO = getString(this, E(F)) | |
243 | + | let aP = getString(this, H(F, I)) | |
244 | + | let aQ = getString(this, J(F, I)) | |
245 | + | if (if ((I == aO)) | |
242 | 246 | then true | |
243 | - | else ( | |
247 | + | else (aP != unit)) | |
244 | 248 | then true | |
245 | - | else ( | |
249 | + | else (aQ != unit) | |
246 | 250 | } | |
247 | 251 | ||
248 | 252 | ||
249 | - | func | |
250 | - | let | |
251 | - | let | |
252 | - | let | |
253 | + | func aR (F,I) = { | |
254 | + | let aO = getString(this, E(F)) | |
255 | + | let aS = valueOrElse(getInteger(this, G(F)), 0) | |
256 | + | let aT = if (!(aN(F, I))) | |
253 | 257 | then true | |
254 | 258 | else throw("Node exists") | |
255 | - | if (( | |
256 | - | then (([IntegerEntry( | |
257 | - | then [StringEntry( | |
258 | - | else nil)) ++ [StringEntry( | |
259 | + | if ((aT == aT)) | |
260 | + | then (([IntegerEntry(G(F), (aS + 1))] ++ (if (isDefined(aO)) | |
261 | + | then [StringEntry(J(F, I), value(aO)), StringEntry(H(F, value(aO)), I)] | |
262 | + | else nil)) ++ [StringEntry(E(F), I)]) | |
259 | 263 | else throw("Strict value is not equal to itself.") | |
260 | 264 | } | |
261 | 265 | ||
262 | 266 | ||
263 | - | func | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let | |
268 | - | ([IntegerEntry( | |
269 | - | then isDefined( | |
267 | + | func aU (F,I) = { | |
268 | + | let aO = getString(this, E(F)) | |
269 | + | let aS = valueOrElse(getInteger(this, G(F)), 0) | |
270 | + | let aP = getString(this, H(F, I)) | |
271 | + | let aQ = getString(this, J(F, I)) | |
272 | + | ([IntegerEntry(G(F), (aS - 1))] ++ (if (if (isDefined(aP)) | |
273 | + | then isDefined(aQ) | |
270 | 274 | else false) | |
271 | - | then [StringEntry( | |
272 | - | else if (isDefined( | |
273 | - | then [StringEntry( | |
274 | - | else if (isDefined( | |
275 | - | then [DeleteEntry(F | |
276 | - | else if (( | |
277 | - | then [DeleteEntry( | |
275 | + | then [StringEntry(J(F, value(aP)), value(aQ)), StringEntry(H(F, value(aQ)), value(aP)), DeleteEntry(H(F, I)), DeleteEntry(J(F, I))] | |
276 | + | else if (isDefined(aQ)) | |
277 | + | then [StringEntry(E(F), value(aQ)), DeleteEntry(J(F, I)), DeleteEntry(H(F, value(aQ)))] | |
278 | + | else if (isDefined(aP)) | |
279 | + | then [DeleteEntry(H(F, I)), DeleteEntry(J(F, value(aP)))] | |
280 | + | else if ((I == aO)) | |
281 | + | then [DeleteEntry(E(F))] | |
278 | 282 | else throw("Invalid node"))) | |
279 | 283 | } | |
280 | 284 | ||
281 | 285 | ||
282 | - | func | |
283 | - | let | |
284 | - | let | |
285 | - | if (( | |
286 | - | then [ | |
286 | + | func aV (D,aW,aX,aY,aZ) = { | |
287 | + | let ba = StringEntry(aX, D) | |
288 | + | let bb = DeleteEntry(aY) | |
289 | + | if ((aW == unit)) | |
290 | + | then [ba, bb] | |
287 | 291 | else { | |
288 | - | let X = value(aU) | |
289 | - | let aZ = StringEntry(aW, X) | |
290 | - | let ba = W(X, B, au) | |
291 | - | let bb = getString(ba) | |
292 | - | let bc = aA(X, az) | |
293 | - | let bd = if ((bc == 0)) | |
292 | + | let Z = value(aW) | |
293 | + | let bc = StringEntry(aY, Z) | |
294 | + | let bd = Y(Z, D, aw) | |
295 | + | let be = getString(bd) | |
296 | + | let bf = if ((be == unit)) | |
294 | 297 | then { | |
295 | - | let be = A(B) | |
296 | - | aS(be, X) | |
298 | + | let bg = aC(Z, aB) | |
299 | + | if ((bg == 0)) | |
300 | + | then [BooleanEntry(aZ, true)] | |
301 | + | else { | |
302 | + | let bh = (aw - 1) | |
303 | + | let bi = valueOrElse(getBoolean(M(D, bh)), false) | |
304 | + | let bj = if (bi) | |
305 | + | then unit | |
306 | + | else getString(Y(Z, D, bh)) | |
307 | + | if ((bj == unit)) | |
308 | + | then nil | |
309 | + | else { | |
310 | + | let bk = ad(value(bj)) | |
311 | + | let bl = bk._1 | |
312 | + | let ac = bk._2 | |
313 | + | let ab = min([bl, bg]) | |
314 | + | [StringEntry(bd, aa(ab, ac)), aF(D, ab, ac, aw, unit)] | |
315 | + | } | |
316 | + | } | |
297 | 317 | } | |
298 | - | else if ((bb == unit)) | |
299 | - | then { | |
300 | - | let bf = (au - 1) | |
301 | - | let bg = valueOrElse(getBoolean(K(B, bf)), false) | |
302 | - | let bh = if (bg) | |
303 | - | then unit | |
304 | - | else getString(W(X, B, bf)) | |
305 | - | if ((bh == unit)) | |
306 | - | then nil | |
307 | - | else { | |
308 | - | let bi = ab(value(bh)) | |
309 | - | let bj = bi._1 | |
310 | - | let aa = bi._2 | |
311 | - | let Z = min([bj, bc]) | |
312 | - | [StringEntry(ba, Y(Z, aa)), aD(B, Z, aa, au, unit)] | |
313 | - | } | |
314 | - | } | |
315 | - | else nil | |
316 | - | ((bd :+ aX) :+ aZ) | |
318 | + | else nil | |
319 | + | ((bf :+ ba) :+ bc) | |
317 | 320 | } | |
318 | 321 | } | |
319 | 322 | ||
320 | 323 | ||
321 | - | func | |
324 | + | func bm (D,A) = !(valueOrElse(getBoolean(K(D, A)), true)) | |
322 | 325 | ||
323 | 326 | ||
324 | - | func | |
325 | - | then | |
327 | + | func bn (D) = if (if (bm(D, (aw - 1))) | |
328 | + | then bm(D, (aw - 2)) | |
326 | 329 | else false) | |
327 | - | then | |
330 | + | then bm(D, (aw - 3)) | |
328 | 331 | else false | |
329 | 332 | ||
330 | 333 | ||
331 | - | @Callable( | |
332 | - | func constructor ( | |
333 | - | let | |
334 | + | @Callable(ak) | |
335 | + | func constructor (bo,bp,bq,br,bs,bt,bu,bv,bw,bx) = { | |
336 | + | let by = [aj(ak), if (isDefined(addressFromString(bo))) | |
334 | 337 | then true | |
335 | - | else throw("Invalid boosting contract address"), if (isDefined(addressFromString( | |
338 | + | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(bp))) | |
336 | 339 | then true | |
337 | - | else throw("Invalid emission contract address"), if (isDefined(addressFromString( | |
340 | + | else throw("Invalid emission contract address"), if (isDefined(addressFromString(bq))) | |
338 | 341 | then true | |
339 | - | else throw("Invalid asset_store contract address"), if (( | |
342 | + | else throw("Invalid asset_store contract address"), if ((br >= 0)) | |
340 | 343 | then true | |
341 | - | else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String( | |
344 | + | else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String(bs)))) | |
342 | 345 | then true | |
343 | - | else throw("Invalid WX asset ID"), if (( | |
346 | + | else throw("Invalid WX asset ID"), if ((bt >= 0)) | |
344 | 347 | then true | |
345 | - | else throw("Invalid voting threshold"), if (( | |
348 | + | else throw("Invalid voting threshold"), if ((bu > 0)) | |
346 | 349 | then true | |
347 | - | else throw("Invalid voting duration"), if ((( | |
350 | + | else throw("Invalid voting duration"), if (((bw + bu) > height)) | |
348 | 351 | then true | |
349 | 352 | else throw("Invalid start height")] | |
350 | - | if (( | |
351 | - | then $Tuple2([StringEntry(p, | |
353 | + | if ((by == by)) | |
354 | + | then $Tuple2([StringEntry(p, bo), StringEntry(q, bp), StringEntry(r, bq), IntegerEntry(i, br), StringEntry(j, bs), IntegerEntry(k, bt), IntegerEntry(l, bu), IntegerEntry(m, bv), IntegerEntry(n, bw), IntegerEntry(o, 0), IntegerEntry(y, bx)], unit) | |
352 | 355 | else throw("Strict value is not equal to itself.") | |
353 | 356 | } | |
354 | 357 | ||
355 | 358 | ||
356 | 359 | ||
357 | - | @Callable( | |
358 | - | func suggest ( | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
360 | + | @Callable(ak) | |
361 | + | func suggest (D,bz) = { | |
362 | + | let bA = valueOrErrorMessage(assetInfo(fromBase58String(D)), "Invalid asset ID") | |
363 | + | let bB = value(ak.payments[0]) | |
364 | + | let by = [if ((bA.issuer == ak.caller)) | |
362 | 365 | then true | |
363 | - | else throw("Asset can only be suggested by its issuer"), if ((value( | |
366 | + | else throw("Asset can only be suggested by its issuer"), if ((value(bB.assetId) == ar)) | |
364 | 367 | then true | |
365 | - | else throw("Invalid fee asset"), if (( | |
368 | + | else throw("Invalid fee asset"), if ((bB.amount == aq)) | |
366 | 369 | then true | |
367 | 370 | else throw("Invalid fee amount")] | |
368 | - | if (( | |
371 | + | if ((by == by)) | |
369 | 372 | then { | |
370 | - | let | |
371 | - | if (( | |
373 | + | let bC = invoke(az, "createOrUpdate", [D, "", bz, false], nil) | |
374 | + | if ((bC == bC)) | |
372 | 375 | then { | |
373 | - | let | |
374 | - | if (( | |
376 | + | let bD = invoke(ay, "burn", nil, [AttachedPayment(bB.assetId, bB.amount)]) | |
377 | + | if ((bD == bD)) | |
375 | 378 | then { | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | then | |
380 | - | else | |
381 | - | $Tuple2(( | |
379 | + | let bE = aR(B, D) | |
380 | + | let bF = (aw + 1) | |
381 | + | let bG = if ((aB > height)) | |
382 | + | then aw | |
383 | + | else bF | |
384 | + | $Tuple2((bE :+ aF(D, 0, true, bG, false)), unit) | |
382 | 385 | } | |
383 | 386 | else throw("Strict value is not equal to itself.") | |
384 | 387 | } | |
389 | 392 | ||
390 | 393 | ||
391 | 394 | ||
392 | - | @Callable( | |
393 | - | func vote ( | |
394 | - | let | |
395 | + | @Callable(ak) | |
396 | + | func vote (D,ac) = { | |
397 | + | let bH = if (aN(B, D)) | |
395 | 398 | then true | |
396 | 399 | else throw("Invalid asset") | |
397 | - | if (( | |
400 | + | if ((bH == bH)) | |
398 | 401 | then { | |
399 | - | let | |
402 | + | let bI = if ((aB > height)) | |
400 | 403 | then true | |
401 | 404 | else throw("Current voting is over but results are not finalized") | |
402 | - | if (( | |
405 | + | if ((bI == bI)) | |
403 | 406 | then { | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | + | let Z = toString(ak.caller) | |
408 | + | let bJ = aC(Z, aB) | |
409 | + | let bK = if ((bJ > 0)) | |
407 | 410 | then true | |
408 | 411 | else throw("You'll not have gWX at the end of voting") | |
409 | - | if (( | |
412 | + | if ((bK == bK)) | |
410 | 413 | then { | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
414 | + | let bL = C(D) | |
415 | + | let bd = Y(Z, D, aw) | |
416 | + | let be = getString(bd) | |
417 | + | let bM = if ((be == unit)) | |
415 | 418 | then unit | |
416 | - | else invoke(this, "cancelVote", [ | |
417 | - | if (( | |
419 | + | else invoke(this, "cancelVote", [D], nil) | |
420 | + | if ((bM == bM)) | |
418 | 421 | then { | |
419 | - | let | |
420 | - | let | |
422 | + | let bN = [StringEntry(bd, aa(bJ, ac)), StringEntry(ag("vote", Z, D, toBase58String(ak.transactionId), aw), aa(bJ, ac)), aF(D, bJ, ac, aw, unit)] | |
423 | + | let bO = if (aN(bL, Z)) | |
421 | 424 | then nil | |
422 | - | else | |
423 | - | $Tuple2(( | |
425 | + | else aR(bL, Z) | |
426 | + | $Tuple2((bO ++ bN), unit) | |
424 | 427 | } | |
425 | 428 | else throw("Strict value is not equal to itself.") | |
426 | 429 | } | |
433 | 436 | ||
434 | 437 | ||
435 | 438 | ||
436 | - | @Callable( | |
437 | - | func cancelVote ( | |
438 | - | let | |
439 | - | then toString( | |
440 | - | else toString( | |
441 | - | let | |
442 | - | let | |
443 | - | let | |
444 | - | let | |
445 | - | if (( | |
439 | + | @Callable(ak) | |
440 | + | func cancelVote (D) = { | |
441 | + | let Z = if ((ak.caller == this)) | |
442 | + | then toString(ak.originCaller) | |
443 | + | else toString(ak.caller) | |
444 | + | let bL = C(D) | |
445 | + | let bd = Y(Z, D, aw) | |
446 | + | let be = getString(bd) | |
447 | + | let bP = valueOrElse(getString(bd), "Nothing to cancel") | |
448 | + | if ((bP == bP)) | |
446 | 449 | then { | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | let | |
452 | - | $Tuple2(( | |
450 | + | let bQ = ad(value(be)) | |
451 | + | let ab = bQ._1 | |
452 | + | let ac = bQ._2 | |
453 | + | let bO = aU(bL, Z) | |
454 | + | let bN = [DeleteEntry(bd), StringEntry(ag("cancelVote", Z, D, toBase58String(ak.transactionId), aw), aa(0, true)), aF(D, -(ab), ac, aw, unit)] | |
455 | + | $Tuple2((bO ++ bN), unit) | |
453 | 456 | } | |
454 | 457 | else throw("Strict value is not equal to itself.") | |
455 | 458 | } | |
456 | 459 | ||
457 | 460 | ||
458 | 461 | ||
459 | - | @Callable( | |
460 | - | func finalizeAssetINTERNAL ( | |
461 | - | let | |
462 | - | if (( | |
462 | + | @Callable(ak) | |
463 | + | func finalizeAssetINTERNAL (D,A) = { | |
464 | + | let bR = aj(ak) | |
465 | + | if ((bR == bR)) | |
463 | 466 | then { | |
464 | - | let | |
465 | - | let | |
466 | - | let e = getString( | |
467 | + | let aG = N(D, A) | |
468 | + | let bS = { | |
469 | + | let e = getString(aG) | |
467 | 470 | if ($isInstanceOf(e, "String")) | |
468 | 471 | then { | |
469 | - | let | |
470 | - | let | |
471 | - | $Tuple2( | |
472 | + | let aI = e | |
473 | + | let bT = S(aI) | |
474 | + | $Tuple2(bT._1, bT._2) | |
472 | 475 | } | |
473 | 476 | else if ($isInstanceOf(e, "Unit")) | |
474 | 477 | then $Tuple2(0, 0) | |
475 | 478 | else throw("Match error") | |
476 | 479 | } | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | then ( | |
480 | + | let P = bS._1 | |
481 | + | let Q = bS._2 | |
482 | + | let ab = (P + Q) | |
483 | + | let R = if ((ab >= as)) | |
484 | + | then (P > Q) | |
482 | 485 | else false | |
483 | - | let | |
484 | - | then BooleanEntry( | |
485 | - | else DeleteEntry( | |
486 | - | let | |
487 | - | if (( | |
486 | + | let bU = [BooleanEntry(K(D, A), R), if (R) | |
487 | + | then BooleanEntry(L(D), true) | |
488 | + | else DeleteEntry(L(D))] | |
489 | + | let bV = invoke(az, "setVerified", [D, R], nil) | |
490 | + | if ((bV == bV)) | |
488 | 491 | then { | |
489 | - | let | |
492 | + | let bW = if (R) | |
490 | 493 | then false | |
491 | - | else | |
492 | - | let | |
493 | - | then [BooleanEntry( | |
494 | + | else bn(D) | |
495 | + | let bX = if (bW) | |
496 | + | then [BooleanEntry(M(D, aw), true)] | |
494 | 497 | else nil | |
495 | - | let | |
498 | + | let bY = if (bW) | |
496 | 499 | then nil | |
497 | - | else [ | |
498 | - | let | |
499 | - | then | |
500 | + | else [aF(D, 0, true, (aw + 1), R)] | |
501 | + | let bO = if (bW) | |
502 | + | then aU(B, D) | |
500 | 503 | else nil | |
501 | - | $Tuple2((( | |
504 | + | $Tuple2(((bO ++ bY) ++ bU), unit) | |
502 | 505 | } | |
503 | 506 | else throw("Strict value is not equal to itself.") | |
504 | 507 | } | |
507 | 510 | ||
508 | 511 | ||
509 | 512 | ||
510 | - | @Callable(ai) | |
511 | - | func finalizeVotingHelper () = if ((az > height)) | |
513 | + | @Callable(ak) | |
514 | + | func deleteUserNodeINTERNAL (D,Z,aZ) = { | |
515 | + | let bR = aj(ak) | |
516 | + | if ((bR == bR)) | |
517 | + | then $Tuple2((aU(C(D), Z) :+ DeleteEntry(aZ)), unit) | |
518 | + | else throw("Strict value is not equal to itself.") | |
519 | + | } | |
520 | + | ||
521 | + | ||
522 | + | ||
523 | + | @Callable(ak) | |
524 | + | func finalizeVotingHelper () = if ((aB > height)) | |
512 | 525 | then $Tuple2(nil, false) | |
513 | 526 | else { | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | if (( | |
527 | + | let bZ = getString(s) | |
528 | + | let ca = getString(t) | |
529 | + | let cb = 0 | |
530 | + | let cc = $Tuple2([IntegerEntry(n, (height + cb)), IntegerEntry(o, (aw + 1)), DeleteEntry(s), DeleteEntry(t), DeleteEntry(v), DeleteEntry(w)], true) | |
531 | + | if ((bZ == unit)) | |
519 | 532 | then { | |
520 | - | let | |
521 | - | if (( | |
522 | - | then | |
533 | + | let cd = getString(E(B)) | |
534 | + | if ((cd == unit)) | |
535 | + | then cc | |
523 | 536 | else { | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | $Tuple2( | |
537 | + | let ce = value(cd) | |
538 | + | let aW = getString(E(C(ce))) | |
539 | + | let cf = aV(ce, aW, s, t, u) | |
540 | + | $Tuple2(cf, true) | |
528 | 541 | } | |
529 | 542 | } | |
530 | 543 | else { | |
531 | - | let | |
532 | - | if (( | |
544 | + | let cg = value(bZ) | |
545 | + | if ((ca == unit)) | |
533 | 546 | then { | |
534 | - | let | |
535 | - | if (( | |
547 | + | let ch = getString(J(B, cg)) | |
548 | + | if ((ch == ch)) | |
536 | 549 | then { | |
537 | - | let | |
538 | - | if (( | |
539 | - | then if (( | |
540 | - | then | |
550 | + | let ci = invoke(this, "finalizeAssetINTERNAL", [cg, aw], nil) | |
551 | + | if ((ci == ci)) | |
552 | + | then if ((ch == unit)) | |
553 | + | then cc | |
541 | 554 | else { | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | $Tuple2( | |
555 | + | let ce = value(ch) | |
556 | + | let aW = getString(E(C(ce))) | |
557 | + | let cf = aV(ce, aW, s, t, u) | |
558 | + | $Tuple2(cf, true) | |
546 | 559 | } | |
547 | 560 | else throw("Strict value is not equal to itself.") | |
548 | 561 | } | |
549 | 562 | else throw("Strict value is not equal to itself.") | |
550 | 563 | } | |
551 | 564 | else { | |
552 | - | let cg = value(bX) | |
553 | - | let aU = getString(H(A(cd), cg)) | |
554 | - | let cc = aT(cd, aU, s, t) | |
555 | - | $Tuple2(cc, true) | |
565 | + | let cj = value(ca) | |
566 | + | let aW = getString(J(C(cg), cj)) | |
567 | + | if ((aW == aW)) | |
568 | + | then { | |
569 | + | let ck = valueOrElse(getBoolean(u), false) | |
570 | + | let cl = if (ck) | |
571 | + | then invoke(this, "deleteUserNodeINTERNAL", [cg, cj, u], nil) | |
572 | + | else unit | |
573 | + | if ((cl == cl)) | |
574 | + | then { | |
575 | + | let cf = aV(cg, aW, s, t, u) | |
576 | + | $Tuple2(cf, true) | |
577 | + | } | |
578 | + | else throw("Strict value is not equal to itself.") | |
579 | + | } | |
580 | + | else throw("Strict value is not equal to itself.") | |
556 | 581 | } | |
557 | 582 | } | |
558 | 583 | } | |
559 | 584 | ||
560 | 585 | ||
561 | 586 | ||
562 | - | @Callable( | |
563 | - | func finalizeVotingWrapper ( | |
564 | - | let | |
565 | - | if (( | |
566 | - | then if (!( | |
567 | - | then if (( | |
587 | + | @Callable(ak) | |
588 | + | func finalizeVotingWrapper (cm) = { | |
589 | + | let cn = g(invoke(this, "finalizeVotingHelper", nil, nil)) | |
590 | + | if ((cn == cn)) | |
591 | + | then if (!(cn)) | |
592 | + | then if ((cm == 0)) | |
568 | 593 | then throw("Current voting is not over yet") | |
569 | 594 | else $Tuple2(nil, unit) | |
570 | - | else if (( | |
595 | + | else if ((aA > cm)) | |
571 | 596 | then { | |
572 | - | let | |
573 | - | if (( | |
597 | + | let co = invoke(this, "finalizeVotingWrapper", [(cm + 1)], nil) | |
598 | + | if ((co == co)) | |
574 | 599 | then $Tuple2(nil, unit) | |
575 | 600 | else throw("Strict value is not equal to itself.") | |
576 | 601 | } | |
580 | 605 | ||
581 | 606 | ||
582 | 607 | ||
583 | - | @Callable( | |
608 | + | @Callable(ak) | |
584 | 609 | func finalizeVoting () = { | |
585 | - | let | |
586 | - | if (( | |
610 | + | let co = invoke(this, "finalizeVotingWrapper", [0], nil) | |
611 | + | if ((co == co)) | |
587 | 612 | then $Tuple2(nil, unit) | |
588 | 613 | else throw("Strict value is not equal to itself.") | |
589 | 614 | } | |
590 | 615 | ||
591 | 616 | ||
592 | 617 | ||
593 | - | @Callable( | |
618 | + | @Callable(ak) | |
594 | 619 | func transferVotesHelper () = { | |
595 | - | let | |
596 | - | let | |
597 | - | if (if (if (( | |
620 | + | let cp = z(aw) | |
621 | + | let cq = valueOrElse(getBoolean(cp), false) | |
622 | + | if (if (if ((av > height)) | |
598 | 623 | then true | |
599 | - | else (height >= | |
624 | + | else (height >= aB)) | |
600 | 625 | then true | |
601 | - | else | |
626 | + | else cq) | |
602 | 627 | then $Tuple2(nil, false) | |
603 | 628 | else { | |
604 | - | let | |
605 | - | let | |
606 | - | let | |
607 | - | if (( | |
629 | + | let bZ = getString(v) | |
630 | + | let ca = getString(w) | |
631 | + | let cc = $Tuple2([BooleanEntry(cp, true), DeleteEntry(v), DeleteEntry(w)], true) | |
632 | + | if ((bZ == unit)) | |
608 | 633 | then { | |
609 | - | let | |
610 | - | if (( | |
611 | - | then | |
634 | + | let cd = getString(E(B)) | |
635 | + | if ((cd == unit)) | |
636 | + | then cc | |
612 | 637 | else { | |
613 | - | let | |
614 | - | let | |
615 | - | let | |
616 | - | $Tuple2( | |
638 | + | let ce = value(cd) | |
639 | + | let aW = getString(E(C(ce))) | |
640 | + | let cf = aV(ce, aW, v, w, x) | |
641 | + | $Tuple2(cf, true) | |
617 | 642 | } | |
618 | 643 | } | |
619 | 644 | else { | |
620 | - | let | |
621 | - | if (( | |
645 | + | let cg = value(bZ) | |
646 | + | if ((ca == unit)) | |
622 | 647 | then { | |
623 | - | let | |
624 | - | if (( | |
625 | - | then | |
648 | + | let ch = getString(J(B, cg)) | |
649 | + | if ((ch == unit)) | |
650 | + | then cc | |
626 | 651 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | $Tuple2( | |
652 | + | let ce = value(ch) | |
653 | + | let aW = getString(E(C(ce))) | |
654 | + | let cf = aV(ce, aW, v, w, x) | |
655 | + | $Tuple2(cf, true) | |
631 | 656 | } | |
632 | 657 | } | |
633 | 658 | else { | |
634 | - | let cg = value(bX) | |
635 | - | let aU = getString(H(A(cd), cg)) | |
636 | - | let cc = aT(cd, aU, u, v) | |
637 | - | $Tuple2(cc, true) | |
659 | + | let cj = value(ca) | |
660 | + | let aW = getString(J(C(cg), cj)) | |
661 | + | if ((aW == aW)) | |
662 | + | then { | |
663 | + | let ck = valueOrElse(getBoolean(x), false) | |
664 | + | let cl = if (ck) | |
665 | + | then invoke(this, "deleteUserNodeINTERNAL", [cg, cj, x], nil) | |
666 | + | else unit | |
667 | + | if ((cl == cl)) | |
668 | + | then { | |
669 | + | let cf = aV(cg, aW, v, w, x) | |
670 | + | $Tuple2(cf, true) | |
671 | + | } | |
672 | + | else throw("Strict value is not equal to itself.") | |
673 | + | } | |
674 | + | else throw("Strict value is not equal to itself.") | |
638 | 675 | } | |
639 | 676 | } | |
640 | 677 | } | |
642 | 679 | ||
643 | 680 | ||
644 | 681 | ||
645 | - | @Callable( | |
646 | - | func transferVotesWrapper ( | |
647 | - | let | |
648 | - | if (( | |
649 | - | then if (!( | |
650 | - | then if (( | |
682 | + | @Callable(ak) | |
683 | + | func transferVotesWrapper (cm) = { | |
684 | + | let cn = g(invoke(this, "transferVotesHelper", nil, nil)) | |
685 | + | if ((cn == cn)) | |
686 | + | then if (!(cn)) | |
687 | + | then if ((cm == 0)) | |
651 | 688 | then throw("Voting is not started yet") | |
652 | 689 | else $Tuple2(nil, unit) | |
653 | - | else if (( | |
690 | + | else if ((aA > cm)) | |
654 | 691 | then { | |
655 | - | let | |
656 | - | if (( | |
692 | + | let co = invoke(this, "transferVotesWrapper", [(cm + 1)], nil) | |
693 | + | if ((co == co)) | |
657 | 694 | then $Tuple2(nil, unit) | |
658 | 695 | else throw("Strict value is not equal to itself.") | |
659 | 696 | } | |
663 | 700 | ||
664 | 701 | ||
665 | 702 | ||
666 | - | @Callable( | |
703 | + | @Callable(ak) | |
667 | 704 | func transferVotes () = { | |
668 | - | let | |
669 | - | if (( | |
705 | + | let co = invoke(this, "transferVotesWrapper", [0], nil) | |
706 | + | if ((co == co)) | |
670 | 707 | then $Tuple2(nil, unit) | |
671 | 708 | else throw("Strict value is not equal to itself.") | |
672 | 709 | } | |
673 | 710 | ||
674 | 711 | ||
675 | 712 | ||
676 | - | @Callable( | |
677 | - | func setVotingThreshold ( | |
678 | - | let | |
679 | - | if (( | |
680 | - | then $Tuple2([IntegerEntry(k, | |
713 | + | @Callable(ak) | |
714 | + | func setVotingThreshold (cr) = { | |
715 | + | let bR = aj(ak) | |
716 | + | if ((bR == bR)) | |
717 | + | then $Tuple2([IntegerEntry(k, cr)], unit) | |
681 | 718 | else throw("Strict value is not equal to itself.") | |
682 | 719 | } | |
683 | 720 | ||
684 | 721 | ||
685 | 722 | ||
686 | - | @Callable( | |
687 | - | func setFee ( | |
688 | - | let | |
689 | - | if (( | |
690 | - | then $Tuple2([IntegerEntry(i, | |
723 | + | @Callable(ak) | |
724 | + | func setFee (cs) = { | |
725 | + | let bR = aj(ak) | |
726 | + | if ((bR == bR)) | |
727 | + | then $Tuple2([IntegerEntry(i, cs)], unit) | |
691 | 728 | else throw("Strict value is not equal to itself.") | |
692 | 729 | } | |
693 | 730 | ||
694 | 731 | ||
695 | 732 | ||
696 | - | @Callable( | |
697 | - | func gwxAvailableForVoteREADONLY ( | |
698 | - | let | |
699 | - | $Tuple2(nil, | |
733 | + | @Callable(ak) | |
734 | + | func gwxAvailableForVoteREADONLY (Z) = { | |
735 | + | let bJ = aC(Z, aB) | |
736 | + | $Tuple2(nil, bJ) | |
700 | 737 | } | |
701 | 738 | ||
702 | 739 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 10 | |
7 | 7 | ||
8 | 8 | func c (d) = { | |
9 | 9 | let e = d | |
10 | 10 | if ($isInstanceOf(e, "Int")) | |
11 | 11 | then { | |
12 | 12 | let f = e | |
13 | 13 | f | |
14 | 14 | } | |
15 | 15 | else throw("Failed to cast into Integer") | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func g (d) = { | |
20 | 20 | let e = d | |
21 | 21 | if ($isInstanceOf(e, "Boolean")) | |
22 | 22 | then { | |
23 | 23 | let h = e | |
24 | 24 | h | |
25 | 25 | } | |
26 | 26 | else throw("Failed to cast into Boolean") | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | let i = makeString(["%s", "fee"], a) | |
31 | 31 | ||
32 | 32 | let j = makeString(["%s", "wxAssetId"], a) | |
33 | 33 | ||
34 | 34 | let k = makeString(["%s", "votingThreshold"], a) | |
35 | 35 | ||
36 | 36 | let l = makeString(["%s", "epochLength"], a) | |
37 | 37 | ||
38 | 38 | let m = makeString(["%s", "voteBeforeElimination"], a) | |
39 | 39 | ||
40 | 40 | let n = makeString(["%s", "currentVotingHeightStart"], a) | |
41 | 41 | ||
42 | 42 | let o = makeString(["%s", "currentEpoch"], a) | |
43 | 43 | ||
44 | 44 | let p = makeString(["%s", "boostingContract"], a) | |
45 | 45 | ||
46 | 46 | let q = makeString(["%s", "emissionContract"], a) | |
47 | 47 | ||
48 | 48 | let r = makeString(["%s", "assetsStoreContract"], a) | |
49 | 49 | ||
50 | 50 | let s = makeString(["%s", "latestProcessedAsset"], a) | |
51 | 51 | ||
52 | 52 | let t = makeString(["%s", "latestProcessedUser"], a) | |
53 | 53 | ||
54 | - | let u = makeString(["%s", " | |
54 | + | let u = makeString(["%s", "latestProcessedUserRemove"], a) | |
55 | 55 | ||
56 | - | let v = makeString(["%s", " | |
56 | + | let v = makeString(["%s", "latestProcessedAssetTransfer"], a) | |
57 | 57 | ||
58 | - | let w = makeString(["%s", " | |
58 | + | let w = makeString(["%s", "latestProcessedUserTransfer"], a) | |
59 | 59 | ||
60 | - | func x (y) = makeString(["%s", "votesTransferFinished", toString(y)], a) | |
60 | + | let x = makeString(["%s", "latestProcessedUserRemoveTransfer"], a) | |
61 | + | ||
62 | + | let y = makeString(["%s", "maxDepth"], a) | |
63 | + | ||
64 | + | func z (A) = makeString(["%s", "votesTransferFinished", toString(A)], a) | |
61 | 65 | ||
62 | 66 | ||
63 | - | let | |
67 | + | let B = "__assets" | |
64 | 68 | ||
65 | - | func | |
69 | + | func C (D) = ("%s__votes__" + D) | |
66 | 70 | ||
67 | 71 | ||
68 | - | func | |
72 | + | func E (F) = makeString([("%s%s" + F), "head"], a) | |
69 | 73 | ||
70 | 74 | ||
71 | - | func | |
75 | + | func G (F) = makeString([("%s%s" + F), "size"], a) | |
72 | 76 | ||
73 | 77 | ||
74 | - | func | |
78 | + | func H (F,I) = makeString([("%s%s%s" + F), I, "prev"], a) | |
75 | 79 | ||
76 | 80 | ||
77 | - | func | |
81 | + | func J (F,I) = makeString([("%s%s%s" + F), I, "next"], a) | |
78 | 82 | ||
79 | 83 | ||
80 | - | func | |
84 | + | func K (D,A) = makeString(["%s%d%s", "verifiedAt", toString(A), D], a) | |
81 | 85 | ||
82 | 86 | ||
83 | - | func | |
87 | + | func L (D) = makeString(["%s%s", "verified", D], a) | |
84 | 88 | ||
85 | 89 | ||
86 | - | func | |
90 | + | func M (D,A) = makeString(["%s%s%d", "eliminated", D, toString(A)], a) | |
87 | 91 | ||
88 | 92 | ||
89 | - | func | |
93 | + | func N (D,A) = makeString(["%s%d%s", "votingResultAtAsset", toString(A), D], a) | |
90 | 94 | ||
91 | 95 | ||
92 | - | func | |
96 | + | func O (P,Q,R) = makeString(["%d%d%s", toString(P), toString(Q), toString(R)], a) | |
93 | 97 | ||
94 | 98 | ||
95 | - | func | |
96 | - | let | |
97 | - | let | |
98 | - | let | |
99 | - | let | |
100 | - | let | |
101 | - | let | |
102 | - | let | |
103 | - | then ( | |
99 | + | func S (T) = { | |
100 | + | let U = split(T, a) | |
101 | + | let V = 1 | |
102 | + | let W = 2 | |
103 | + | let X = 3 | |
104 | + | let P = parseIntValue(U[V]) | |
105 | + | let Q = parseIntValue(U[W]) | |
106 | + | let R = if ((size(U) == 4)) | |
107 | + | then (U[X] == "true") | |
104 | 108 | else false | |
105 | - | $Tuple3( | |
109 | + | $Tuple3(P, Q, R) | |
106 | 110 | } | |
107 | 111 | ||
108 | 112 | ||
109 | - | func | |
113 | + | func Y (Z,D,A) = makeString(["%s%d%s%s", "vru", toString(A), D, Z], a) | |
110 | 114 | ||
111 | 115 | ||
112 | - | func | |
113 | - | let | |
114 | - | then | |
116 | + | func aa (ab,ac) = { | |
117 | + | let P = if (ac) | |
118 | + | then ab | |
115 | 119 | else 0 | |
116 | - | let | |
120 | + | let Q = if (ac) | |
117 | 121 | then 0 | |
118 | - | else | |
119 | - | makeString(["%d%d", toString( | |
122 | + | else ab | |
123 | + | makeString(["%d%d", toString(P), toString(Q)], a) | |
120 | 124 | } | |
121 | 125 | ||
122 | 126 | ||
123 | - | func | |
124 | - | let | |
125 | - | let | |
126 | - | let | |
127 | - | let | |
128 | - | let | |
129 | - | let | |
130 | - | then ( | |
127 | + | func ad (T) = { | |
128 | + | let U = split(T, a) | |
129 | + | let V = 1 | |
130 | + | let W = 2 | |
131 | + | let P = parseIntValue(U[V]) | |
132 | + | let Q = parseIntValue(U[W]) | |
133 | + | let ac = if ((P > 0)) | |
134 | + | then (Q == 0) | |
131 | 135 | else false | |
132 | - | let | |
133 | - | then ( | |
136 | + | let ae = if ((P == 0)) | |
137 | + | then (Q > 0) | |
134 | 138 | else false | |
135 | - | let | |
139 | + | let af = if (if (ac) | |
136 | 140 | then true | |
137 | - | else | |
141 | + | else ae) | |
138 | 142 | then true | |
139 | 143 | else throw("Invalid user vote value") | |
140 | - | if (( | |
144 | + | if ((af == af)) | |
141 | 145 | then { | |
142 | - | let | |
143 | - | then | |
144 | - | else | |
145 | - | $Tuple2( | |
146 | + | let ab = if (ac) | |
147 | + | then P | |
148 | + | else Q | |
149 | + | $Tuple2(ab, ac) | |
146 | 150 | } | |
147 | 151 | else throw("Strict value is not equal to itself.") | |
148 | 152 | } | |
149 | 153 | ||
150 | 154 | ||
151 | - | func | |
155 | + | func ag (ah,Z,D,ai,A) = makeString(["%s%s%s%s%s%d", "history", ah, D, Z, ai, toString(A)], a) | |
152 | 156 | ||
153 | 157 | ||
154 | - | func | |
158 | + | func aj (ak) = if ((ak.caller == this)) | |
155 | 159 | then true | |
156 | 160 | else throw("Permission denied") | |
157 | 161 | ||
158 | 162 | ||
159 | - | func | |
163 | + | func al (am) = valueOrElse(getInteger(this, am), 0) | |
160 | 164 | ||
161 | 165 | ||
162 | - | func | |
166 | + | func an (am) = valueOrErrorMessage(getInteger(this, am), (am + " is not defined")) | |
163 | 167 | ||
164 | 168 | ||
165 | - | func | |
169 | + | func ao (am) = valueOrElse(getString(this, am), "") | |
166 | 170 | ||
167 | 171 | ||
168 | - | func | |
172 | + | func ap (am) = valueOrErrorMessage(getString(this, am), (am + " is not defined")) | |
169 | 173 | ||
170 | 174 | ||
171 | - | let | |
175 | + | let aq = an(i) | |
172 | 176 | ||
173 | - | let | |
177 | + | let ar = fromBase58String(ap(j)) | |
174 | 178 | ||
175 | - | let | |
179 | + | let as = an(k) | |
176 | 180 | ||
177 | - | let | |
181 | + | let at = an(l) | |
178 | 182 | ||
179 | - | let | |
183 | + | let au = an(m) | |
180 | 184 | ||
181 | - | let | |
185 | + | let av = an(n) | |
182 | 186 | ||
183 | - | let | |
187 | + | let aw = an(o) | |
184 | 188 | ||
185 | - | let | |
189 | + | let ax = addressFromStringValue(ap(p)) | |
186 | 190 | ||
187 | - | let | |
191 | + | let ay = addressFromStringValue(ap(q)) | |
188 | 192 | ||
189 | - | let | |
193 | + | let az = addressFromStringValue(ap(r)) | |
190 | 194 | ||
191 | - | let | |
195 | + | let aA = valueOrElse(getInteger(y), b) | |
192 | 196 | ||
193 | - | let | |
197 | + | let aB = (av + at) | |
194 | 198 | ||
195 | - | func | |
196 | - | let | |
197 | - | c( | |
199 | + | func aC (Z,aD) = { | |
200 | + | let aE = invoke(ax, "getUserGwxAmountAtHeightREADONLY", [Z, aD], nil) | |
201 | + | c(aE) | |
198 | 202 | } | |
199 | 203 | ||
200 | 204 | ||
201 | - | func | |
202 | - | let | |
203 | - | let | |
204 | - | let e = getString( | |
205 | + | func aF (D,ab,ac,A,R) = { | |
206 | + | let aG = N(D, A) | |
207 | + | let aH = { | |
208 | + | let e = getString(aG) | |
205 | 209 | if ($isInstanceOf(e, "String")) | |
206 | 210 | then { | |
207 | - | let | |
208 | - | | |
211 | + | let aI = e | |
212 | + | S(aI) | |
209 | 213 | } | |
210 | 214 | else if ($isInstanceOf(e, "Unit")) | |
211 | 215 | then { | |
212 | - | let | |
213 | - | if ($isInstanceOf( | |
216 | + | let aJ = getString(N(D, (A - 1))) | |
217 | + | if ($isInstanceOf(aJ, "String")) | |
214 | 218 | then { | |
215 | - | let | |
216 | - | $Tuple3(0, 0, | |
219 | + | let aI = aJ | |
220 | + | $Tuple3(0, 0, S(aI)._3) | |
217 | 221 | } | |
218 | - | else if ($isInstanceOf( | |
222 | + | else if ($isInstanceOf(aJ, "Unit")) | |
219 | 223 | then $Tuple3(0, 0, false) | |
220 | 224 | else throw("Match error") | |
221 | 225 | } | |
222 | 226 | else throw("Match error") | |
223 | 227 | } | |
224 | - | let | |
225 | - | let | |
226 | - | let | |
227 | - | StringEntry( | |
228 | - | then | |
229 | - | else 0)), ( | |
228 | + | let aK = aH._1 | |
229 | + | let aL = aH._2 | |
230 | + | let aM = aH._3 | |
231 | + | StringEntry(aG, O((aK + (if (ac) | |
232 | + | then ab | |
233 | + | else 0)), (aL + (if (ac) | |
230 | 234 | then 0 | |
231 | - | else | |
232 | - | then | |
233 | - | else value( | |
235 | + | else ab)), if ((R == unit)) | |
236 | + | then aM | |
237 | + | else value(R))) | |
234 | 238 | } | |
235 | 239 | ||
236 | 240 | ||
237 | - | func | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
241 | - | if (if (( | |
241 | + | func aN (F,I) = { | |
242 | + | let aO = getString(this, E(F)) | |
243 | + | let aP = getString(this, H(F, I)) | |
244 | + | let aQ = getString(this, J(F, I)) | |
245 | + | if (if ((I == aO)) | |
242 | 246 | then true | |
243 | - | else ( | |
247 | + | else (aP != unit)) | |
244 | 248 | then true | |
245 | - | else ( | |
249 | + | else (aQ != unit) | |
246 | 250 | } | |
247 | 251 | ||
248 | 252 | ||
249 | - | func | |
250 | - | let | |
251 | - | let | |
252 | - | let | |
253 | + | func aR (F,I) = { | |
254 | + | let aO = getString(this, E(F)) | |
255 | + | let aS = valueOrElse(getInteger(this, G(F)), 0) | |
256 | + | let aT = if (!(aN(F, I))) | |
253 | 257 | then true | |
254 | 258 | else throw("Node exists") | |
255 | - | if (( | |
256 | - | then (([IntegerEntry( | |
257 | - | then [StringEntry( | |
258 | - | else nil)) ++ [StringEntry( | |
259 | + | if ((aT == aT)) | |
260 | + | then (([IntegerEntry(G(F), (aS + 1))] ++ (if (isDefined(aO)) | |
261 | + | then [StringEntry(J(F, I), value(aO)), StringEntry(H(F, value(aO)), I)] | |
262 | + | else nil)) ++ [StringEntry(E(F), I)]) | |
259 | 263 | else throw("Strict value is not equal to itself.") | |
260 | 264 | } | |
261 | 265 | ||
262 | 266 | ||
263 | - | func | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let | |
268 | - | ([IntegerEntry( | |
269 | - | then isDefined( | |
267 | + | func aU (F,I) = { | |
268 | + | let aO = getString(this, E(F)) | |
269 | + | let aS = valueOrElse(getInteger(this, G(F)), 0) | |
270 | + | let aP = getString(this, H(F, I)) | |
271 | + | let aQ = getString(this, J(F, I)) | |
272 | + | ([IntegerEntry(G(F), (aS - 1))] ++ (if (if (isDefined(aP)) | |
273 | + | then isDefined(aQ) | |
270 | 274 | else false) | |
271 | - | then [StringEntry( | |
272 | - | else if (isDefined( | |
273 | - | then [StringEntry( | |
274 | - | else if (isDefined( | |
275 | - | then [DeleteEntry(F | |
276 | - | else if (( | |
277 | - | then [DeleteEntry( | |
275 | + | then [StringEntry(J(F, value(aP)), value(aQ)), StringEntry(H(F, value(aQ)), value(aP)), DeleteEntry(H(F, I)), DeleteEntry(J(F, I))] | |
276 | + | else if (isDefined(aQ)) | |
277 | + | then [StringEntry(E(F), value(aQ)), DeleteEntry(J(F, I)), DeleteEntry(H(F, value(aQ)))] | |
278 | + | else if (isDefined(aP)) | |
279 | + | then [DeleteEntry(H(F, I)), DeleteEntry(J(F, value(aP)))] | |
280 | + | else if ((I == aO)) | |
281 | + | then [DeleteEntry(E(F))] | |
278 | 282 | else throw("Invalid node"))) | |
279 | 283 | } | |
280 | 284 | ||
281 | 285 | ||
282 | - | func | |
283 | - | let | |
284 | - | let | |
285 | - | if (( | |
286 | - | then [ | |
286 | + | func aV (D,aW,aX,aY,aZ) = { | |
287 | + | let ba = StringEntry(aX, D) | |
288 | + | let bb = DeleteEntry(aY) | |
289 | + | if ((aW == unit)) | |
290 | + | then [ba, bb] | |
287 | 291 | else { | |
288 | - | let X = value(aU) | |
289 | - | let aZ = StringEntry(aW, X) | |
290 | - | let ba = W(X, B, au) | |
291 | - | let bb = getString(ba) | |
292 | - | let bc = aA(X, az) | |
293 | - | let bd = if ((bc == 0)) | |
292 | + | let Z = value(aW) | |
293 | + | let bc = StringEntry(aY, Z) | |
294 | + | let bd = Y(Z, D, aw) | |
295 | + | let be = getString(bd) | |
296 | + | let bf = if ((be == unit)) | |
294 | 297 | then { | |
295 | - | let be = A(B) | |
296 | - | aS(be, X) | |
298 | + | let bg = aC(Z, aB) | |
299 | + | if ((bg == 0)) | |
300 | + | then [BooleanEntry(aZ, true)] | |
301 | + | else { | |
302 | + | let bh = (aw - 1) | |
303 | + | let bi = valueOrElse(getBoolean(M(D, bh)), false) | |
304 | + | let bj = if (bi) | |
305 | + | then unit | |
306 | + | else getString(Y(Z, D, bh)) | |
307 | + | if ((bj == unit)) | |
308 | + | then nil | |
309 | + | else { | |
310 | + | let bk = ad(value(bj)) | |
311 | + | let bl = bk._1 | |
312 | + | let ac = bk._2 | |
313 | + | let ab = min([bl, bg]) | |
314 | + | [StringEntry(bd, aa(ab, ac)), aF(D, ab, ac, aw, unit)] | |
315 | + | } | |
316 | + | } | |
297 | 317 | } | |
298 | - | else if ((bb == unit)) | |
299 | - | then { | |
300 | - | let bf = (au - 1) | |
301 | - | let bg = valueOrElse(getBoolean(K(B, bf)), false) | |
302 | - | let bh = if (bg) | |
303 | - | then unit | |
304 | - | else getString(W(X, B, bf)) | |
305 | - | if ((bh == unit)) | |
306 | - | then nil | |
307 | - | else { | |
308 | - | let bi = ab(value(bh)) | |
309 | - | let bj = bi._1 | |
310 | - | let aa = bi._2 | |
311 | - | let Z = min([bj, bc]) | |
312 | - | [StringEntry(ba, Y(Z, aa)), aD(B, Z, aa, au, unit)] | |
313 | - | } | |
314 | - | } | |
315 | - | else nil | |
316 | - | ((bd :+ aX) :+ aZ) | |
318 | + | else nil | |
319 | + | ((bf :+ ba) :+ bc) | |
317 | 320 | } | |
318 | 321 | } | |
319 | 322 | ||
320 | 323 | ||
321 | - | func | |
324 | + | func bm (D,A) = !(valueOrElse(getBoolean(K(D, A)), true)) | |
322 | 325 | ||
323 | 326 | ||
324 | - | func | |
325 | - | then | |
327 | + | func bn (D) = if (if (bm(D, (aw - 1))) | |
328 | + | then bm(D, (aw - 2)) | |
326 | 329 | else false) | |
327 | - | then | |
330 | + | then bm(D, (aw - 3)) | |
328 | 331 | else false | |
329 | 332 | ||
330 | 333 | ||
331 | - | @Callable( | |
332 | - | func constructor ( | |
333 | - | let | |
334 | + | @Callable(ak) | |
335 | + | func constructor (bo,bp,bq,br,bs,bt,bu,bv,bw,bx) = { | |
336 | + | let by = [aj(ak), if (isDefined(addressFromString(bo))) | |
334 | 337 | then true | |
335 | - | else throw("Invalid boosting contract address"), if (isDefined(addressFromString( | |
338 | + | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(bp))) | |
336 | 339 | then true | |
337 | - | else throw("Invalid emission contract address"), if (isDefined(addressFromString( | |
340 | + | else throw("Invalid emission contract address"), if (isDefined(addressFromString(bq))) | |
338 | 341 | then true | |
339 | - | else throw("Invalid asset_store contract address"), if (( | |
342 | + | else throw("Invalid asset_store contract address"), if ((br >= 0)) | |
340 | 343 | then true | |
341 | - | else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String( | |
344 | + | else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String(bs)))) | |
342 | 345 | then true | |
343 | - | else throw("Invalid WX asset ID"), if (( | |
346 | + | else throw("Invalid WX asset ID"), if ((bt >= 0)) | |
344 | 347 | then true | |
345 | - | else throw("Invalid voting threshold"), if (( | |
348 | + | else throw("Invalid voting threshold"), if ((bu > 0)) | |
346 | 349 | then true | |
347 | - | else throw("Invalid voting duration"), if ((( | |
350 | + | else throw("Invalid voting duration"), if (((bw + bu) > height)) | |
348 | 351 | then true | |
349 | 352 | else throw("Invalid start height")] | |
350 | - | if (( | |
351 | - | then $Tuple2([StringEntry(p, | |
353 | + | if ((by == by)) | |
354 | + | then $Tuple2([StringEntry(p, bo), StringEntry(q, bp), StringEntry(r, bq), IntegerEntry(i, br), StringEntry(j, bs), IntegerEntry(k, bt), IntegerEntry(l, bu), IntegerEntry(m, bv), IntegerEntry(n, bw), IntegerEntry(o, 0), IntegerEntry(y, bx)], unit) | |
352 | 355 | else throw("Strict value is not equal to itself.") | |
353 | 356 | } | |
354 | 357 | ||
355 | 358 | ||
356 | 359 | ||
357 | - | @Callable( | |
358 | - | func suggest ( | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
360 | + | @Callable(ak) | |
361 | + | func suggest (D,bz) = { | |
362 | + | let bA = valueOrErrorMessage(assetInfo(fromBase58String(D)), "Invalid asset ID") | |
363 | + | let bB = value(ak.payments[0]) | |
364 | + | let by = [if ((bA.issuer == ak.caller)) | |
362 | 365 | then true | |
363 | - | else throw("Asset can only be suggested by its issuer"), if ((value( | |
366 | + | else throw("Asset can only be suggested by its issuer"), if ((value(bB.assetId) == ar)) | |
364 | 367 | then true | |
365 | - | else throw("Invalid fee asset"), if (( | |
368 | + | else throw("Invalid fee asset"), if ((bB.amount == aq)) | |
366 | 369 | then true | |
367 | 370 | else throw("Invalid fee amount")] | |
368 | - | if (( | |
371 | + | if ((by == by)) | |
369 | 372 | then { | |
370 | - | let | |
371 | - | if (( | |
373 | + | let bC = invoke(az, "createOrUpdate", [D, "", bz, false], nil) | |
374 | + | if ((bC == bC)) | |
372 | 375 | then { | |
373 | - | let | |
374 | - | if (( | |
376 | + | let bD = invoke(ay, "burn", nil, [AttachedPayment(bB.assetId, bB.amount)]) | |
377 | + | if ((bD == bD)) | |
375 | 378 | then { | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | then | |
380 | - | else | |
381 | - | $Tuple2(( | |
379 | + | let bE = aR(B, D) | |
380 | + | let bF = (aw + 1) | |
381 | + | let bG = if ((aB > height)) | |
382 | + | then aw | |
383 | + | else bF | |
384 | + | $Tuple2((bE :+ aF(D, 0, true, bG, false)), unit) | |
382 | 385 | } | |
383 | 386 | else throw("Strict value is not equal to itself.") | |
384 | 387 | } | |
385 | 388 | else throw("Strict value is not equal to itself.") | |
386 | 389 | } | |
387 | 390 | else throw("Strict value is not equal to itself.") | |
388 | 391 | } | |
389 | 392 | ||
390 | 393 | ||
391 | 394 | ||
392 | - | @Callable( | |
393 | - | func vote ( | |
394 | - | let | |
395 | + | @Callable(ak) | |
396 | + | func vote (D,ac) = { | |
397 | + | let bH = if (aN(B, D)) | |
395 | 398 | then true | |
396 | 399 | else throw("Invalid asset") | |
397 | - | if (( | |
400 | + | if ((bH == bH)) | |
398 | 401 | then { | |
399 | - | let | |
402 | + | let bI = if ((aB > height)) | |
400 | 403 | then true | |
401 | 404 | else throw("Current voting is over but results are not finalized") | |
402 | - | if (( | |
405 | + | if ((bI == bI)) | |
403 | 406 | then { | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | + | let Z = toString(ak.caller) | |
408 | + | let bJ = aC(Z, aB) | |
409 | + | let bK = if ((bJ > 0)) | |
407 | 410 | then true | |
408 | 411 | else throw("You'll not have gWX at the end of voting") | |
409 | - | if (( | |
412 | + | if ((bK == bK)) | |
410 | 413 | then { | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
414 | + | let bL = C(D) | |
415 | + | let bd = Y(Z, D, aw) | |
416 | + | let be = getString(bd) | |
417 | + | let bM = if ((be == unit)) | |
415 | 418 | then unit | |
416 | - | else invoke(this, "cancelVote", [ | |
417 | - | if (( | |
419 | + | else invoke(this, "cancelVote", [D], nil) | |
420 | + | if ((bM == bM)) | |
418 | 421 | then { | |
419 | - | let | |
420 | - | let | |
422 | + | let bN = [StringEntry(bd, aa(bJ, ac)), StringEntry(ag("vote", Z, D, toBase58String(ak.transactionId), aw), aa(bJ, ac)), aF(D, bJ, ac, aw, unit)] | |
423 | + | let bO = if (aN(bL, Z)) | |
421 | 424 | then nil | |
422 | - | else | |
423 | - | $Tuple2(( | |
425 | + | else aR(bL, Z) | |
426 | + | $Tuple2((bO ++ bN), unit) | |
424 | 427 | } | |
425 | 428 | else throw("Strict value is not equal to itself.") | |
426 | 429 | } | |
427 | 430 | else throw("Strict value is not equal to itself.") | |
428 | 431 | } | |
429 | 432 | else throw("Strict value is not equal to itself.") | |
430 | 433 | } | |
431 | 434 | else throw("Strict value is not equal to itself.") | |
432 | 435 | } | |
433 | 436 | ||
434 | 437 | ||
435 | 438 | ||
436 | - | @Callable( | |
437 | - | func cancelVote ( | |
438 | - | let | |
439 | - | then toString( | |
440 | - | else toString( | |
441 | - | let | |
442 | - | let | |
443 | - | let | |
444 | - | let | |
445 | - | if (( | |
439 | + | @Callable(ak) | |
440 | + | func cancelVote (D) = { | |
441 | + | let Z = if ((ak.caller == this)) | |
442 | + | then toString(ak.originCaller) | |
443 | + | else toString(ak.caller) | |
444 | + | let bL = C(D) | |
445 | + | let bd = Y(Z, D, aw) | |
446 | + | let be = getString(bd) | |
447 | + | let bP = valueOrElse(getString(bd), "Nothing to cancel") | |
448 | + | if ((bP == bP)) | |
446 | 449 | then { | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | let | |
452 | - | $Tuple2(( | |
450 | + | let bQ = ad(value(be)) | |
451 | + | let ab = bQ._1 | |
452 | + | let ac = bQ._2 | |
453 | + | let bO = aU(bL, Z) | |
454 | + | let bN = [DeleteEntry(bd), StringEntry(ag("cancelVote", Z, D, toBase58String(ak.transactionId), aw), aa(0, true)), aF(D, -(ab), ac, aw, unit)] | |
455 | + | $Tuple2((bO ++ bN), unit) | |
453 | 456 | } | |
454 | 457 | else throw("Strict value is not equal to itself.") | |
455 | 458 | } | |
456 | 459 | ||
457 | 460 | ||
458 | 461 | ||
459 | - | @Callable( | |
460 | - | func finalizeAssetINTERNAL ( | |
461 | - | let | |
462 | - | if (( | |
462 | + | @Callable(ak) | |
463 | + | func finalizeAssetINTERNAL (D,A) = { | |
464 | + | let bR = aj(ak) | |
465 | + | if ((bR == bR)) | |
463 | 466 | then { | |
464 | - | let | |
465 | - | let | |
466 | - | let e = getString( | |
467 | + | let aG = N(D, A) | |
468 | + | let bS = { | |
469 | + | let e = getString(aG) | |
467 | 470 | if ($isInstanceOf(e, "String")) | |
468 | 471 | then { | |
469 | - | let | |
470 | - | let | |
471 | - | $Tuple2( | |
472 | + | let aI = e | |
473 | + | let bT = S(aI) | |
474 | + | $Tuple2(bT._1, bT._2) | |
472 | 475 | } | |
473 | 476 | else if ($isInstanceOf(e, "Unit")) | |
474 | 477 | then $Tuple2(0, 0) | |
475 | 478 | else throw("Match error") | |
476 | 479 | } | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | then ( | |
480 | + | let P = bS._1 | |
481 | + | let Q = bS._2 | |
482 | + | let ab = (P + Q) | |
483 | + | let R = if ((ab >= as)) | |
484 | + | then (P > Q) | |
482 | 485 | else false | |
483 | - | let | |
484 | - | then BooleanEntry( | |
485 | - | else DeleteEntry( | |
486 | - | let | |
487 | - | if (( | |
486 | + | let bU = [BooleanEntry(K(D, A), R), if (R) | |
487 | + | then BooleanEntry(L(D), true) | |
488 | + | else DeleteEntry(L(D))] | |
489 | + | let bV = invoke(az, "setVerified", [D, R], nil) | |
490 | + | if ((bV == bV)) | |
488 | 491 | then { | |
489 | - | let | |
492 | + | let bW = if (R) | |
490 | 493 | then false | |
491 | - | else | |
492 | - | let | |
493 | - | then [BooleanEntry( | |
494 | + | else bn(D) | |
495 | + | let bX = if (bW) | |
496 | + | then [BooleanEntry(M(D, aw), true)] | |
494 | 497 | else nil | |
495 | - | let | |
498 | + | let bY = if (bW) | |
496 | 499 | then nil | |
497 | - | else [ | |
498 | - | let | |
499 | - | then | |
500 | + | else [aF(D, 0, true, (aw + 1), R)] | |
501 | + | let bO = if (bW) | |
502 | + | then aU(B, D) | |
500 | 503 | else nil | |
501 | - | $Tuple2((( | |
504 | + | $Tuple2(((bO ++ bY) ++ bU), unit) | |
502 | 505 | } | |
503 | 506 | else throw("Strict value is not equal to itself.") | |
504 | 507 | } | |
505 | 508 | else throw("Strict value is not equal to itself.") | |
506 | 509 | } | |
507 | 510 | ||
508 | 511 | ||
509 | 512 | ||
510 | - | @Callable(ai) | |
511 | - | func finalizeVotingHelper () = if ((az > height)) | |
513 | + | @Callable(ak) | |
514 | + | func deleteUserNodeINTERNAL (D,Z,aZ) = { | |
515 | + | let bR = aj(ak) | |
516 | + | if ((bR == bR)) | |
517 | + | then $Tuple2((aU(C(D), Z) :+ DeleteEntry(aZ)), unit) | |
518 | + | else throw("Strict value is not equal to itself.") | |
519 | + | } | |
520 | + | ||
521 | + | ||
522 | + | ||
523 | + | @Callable(ak) | |
524 | + | func finalizeVotingHelper () = if ((aB > height)) | |
512 | 525 | then $Tuple2(nil, false) | |
513 | 526 | else { | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | if (( | |
527 | + | let bZ = getString(s) | |
528 | + | let ca = getString(t) | |
529 | + | let cb = 0 | |
530 | + | let cc = $Tuple2([IntegerEntry(n, (height + cb)), IntegerEntry(o, (aw + 1)), DeleteEntry(s), DeleteEntry(t), DeleteEntry(v), DeleteEntry(w)], true) | |
531 | + | if ((bZ == unit)) | |
519 | 532 | then { | |
520 | - | let | |
521 | - | if (( | |
522 | - | then | |
533 | + | let cd = getString(E(B)) | |
534 | + | if ((cd == unit)) | |
535 | + | then cc | |
523 | 536 | else { | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | $Tuple2( | |
537 | + | let ce = value(cd) | |
538 | + | let aW = getString(E(C(ce))) | |
539 | + | let cf = aV(ce, aW, s, t, u) | |
540 | + | $Tuple2(cf, true) | |
528 | 541 | } | |
529 | 542 | } | |
530 | 543 | else { | |
531 | - | let | |
532 | - | if (( | |
544 | + | let cg = value(bZ) | |
545 | + | if ((ca == unit)) | |
533 | 546 | then { | |
534 | - | let | |
535 | - | if (( | |
547 | + | let ch = getString(J(B, cg)) | |
548 | + | if ((ch == ch)) | |
536 | 549 | then { | |
537 | - | let | |
538 | - | if (( | |
539 | - | then if (( | |
540 | - | then | |
550 | + | let ci = invoke(this, "finalizeAssetINTERNAL", [cg, aw], nil) | |
551 | + | if ((ci == ci)) | |
552 | + | then if ((ch == unit)) | |
553 | + | then cc | |
541 | 554 | else { | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | $Tuple2( | |
555 | + | let ce = value(ch) | |
556 | + | let aW = getString(E(C(ce))) | |
557 | + | let cf = aV(ce, aW, s, t, u) | |
558 | + | $Tuple2(cf, true) | |
546 | 559 | } | |
547 | 560 | else throw("Strict value is not equal to itself.") | |
548 | 561 | } | |
549 | 562 | else throw("Strict value is not equal to itself.") | |
550 | 563 | } | |
551 | 564 | else { | |
552 | - | let cg = value(bX) | |
553 | - | let aU = getString(H(A(cd), cg)) | |
554 | - | let cc = aT(cd, aU, s, t) | |
555 | - | $Tuple2(cc, true) | |
565 | + | let cj = value(ca) | |
566 | + | let aW = getString(J(C(cg), cj)) | |
567 | + | if ((aW == aW)) | |
568 | + | then { | |
569 | + | let ck = valueOrElse(getBoolean(u), false) | |
570 | + | let cl = if (ck) | |
571 | + | then invoke(this, "deleteUserNodeINTERNAL", [cg, cj, u], nil) | |
572 | + | else unit | |
573 | + | if ((cl == cl)) | |
574 | + | then { | |
575 | + | let cf = aV(cg, aW, s, t, u) | |
576 | + | $Tuple2(cf, true) | |
577 | + | } | |
578 | + | else throw("Strict value is not equal to itself.") | |
579 | + | } | |
580 | + | else throw("Strict value is not equal to itself.") | |
556 | 581 | } | |
557 | 582 | } | |
558 | 583 | } | |
559 | 584 | ||
560 | 585 | ||
561 | 586 | ||
562 | - | @Callable( | |
563 | - | func finalizeVotingWrapper ( | |
564 | - | let | |
565 | - | if (( | |
566 | - | then if (!( | |
567 | - | then if (( | |
587 | + | @Callable(ak) | |
588 | + | func finalizeVotingWrapper (cm) = { | |
589 | + | let cn = g(invoke(this, "finalizeVotingHelper", nil, nil)) | |
590 | + | if ((cn == cn)) | |
591 | + | then if (!(cn)) | |
592 | + | then if ((cm == 0)) | |
568 | 593 | then throw("Current voting is not over yet") | |
569 | 594 | else $Tuple2(nil, unit) | |
570 | - | else if (( | |
595 | + | else if ((aA > cm)) | |
571 | 596 | then { | |
572 | - | let | |
573 | - | if (( | |
597 | + | let co = invoke(this, "finalizeVotingWrapper", [(cm + 1)], nil) | |
598 | + | if ((co == co)) | |
574 | 599 | then $Tuple2(nil, unit) | |
575 | 600 | else throw("Strict value is not equal to itself.") | |
576 | 601 | } | |
577 | 602 | else $Tuple2(nil, unit) | |
578 | 603 | else throw("Strict value is not equal to itself.") | |
579 | 604 | } | |
580 | 605 | ||
581 | 606 | ||
582 | 607 | ||
583 | - | @Callable( | |
608 | + | @Callable(ak) | |
584 | 609 | func finalizeVoting () = { | |
585 | - | let | |
586 | - | if (( | |
610 | + | let co = invoke(this, "finalizeVotingWrapper", [0], nil) | |
611 | + | if ((co == co)) | |
587 | 612 | then $Tuple2(nil, unit) | |
588 | 613 | else throw("Strict value is not equal to itself.") | |
589 | 614 | } | |
590 | 615 | ||
591 | 616 | ||
592 | 617 | ||
593 | - | @Callable( | |
618 | + | @Callable(ak) | |
594 | 619 | func transferVotesHelper () = { | |
595 | - | let | |
596 | - | let | |
597 | - | if (if (if (( | |
620 | + | let cp = z(aw) | |
621 | + | let cq = valueOrElse(getBoolean(cp), false) | |
622 | + | if (if (if ((av > height)) | |
598 | 623 | then true | |
599 | - | else (height >= | |
624 | + | else (height >= aB)) | |
600 | 625 | then true | |
601 | - | else | |
626 | + | else cq) | |
602 | 627 | then $Tuple2(nil, false) | |
603 | 628 | else { | |
604 | - | let | |
605 | - | let | |
606 | - | let | |
607 | - | if (( | |
629 | + | let bZ = getString(v) | |
630 | + | let ca = getString(w) | |
631 | + | let cc = $Tuple2([BooleanEntry(cp, true), DeleteEntry(v), DeleteEntry(w)], true) | |
632 | + | if ((bZ == unit)) | |
608 | 633 | then { | |
609 | - | let | |
610 | - | if (( | |
611 | - | then | |
634 | + | let cd = getString(E(B)) | |
635 | + | if ((cd == unit)) | |
636 | + | then cc | |
612 | 637 | else { | |
613 | - | let | |
614 | - | let | |
615 | - | let | |
616 | - | $Tuple2( | |
638 | + | let ce = value(cd) | |
639 | + | let aW = getString(E(C(ce))) | |
640 | + | let cf = aV(ce, aW, v, w, x) | |
641 | + | $Tuple2(cf, true) | |
617 | 642 | } | |
618 | 643 | } | |
619 | 644 | else { | |
620 | - | let | |
621 | - | if (( | |
645 | + | let cg = value(bZ) | |
646 | + | if ((ca == unit)) | |
622 | 647 | then { | |
623 | - | let | |
624 | - | if (( | |
625 | - | then | |
648 | + | let ch = getString(J(B, cg)) | |
649 | + | if ((ch == unit)) | |
650 | + | then cc | |
626 | 651 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | $Tuple2( | |
652 | + | let ce = value(ch) | |
653 | + | let aW = getString(E(C(ce))) | |
654 | + | let cf = aV(ce, aW, v, w, x) | |
655 | + | $Tuple2(cf, true) | |
631 | 656 | } | |
632 | 657 | } | |
633 | 658 | else { | |
634 | - | let cg = value(bX) | |
635 | - | let aU = getString(H(A(cd), cg)) | |
636 | - | let cc = aT(cd, aU, u, v) | |
637 | - | $Tuple2(cc, true) | |
659 | + | let cj = value(ca) | |
660 | + | let aW = getString(J(C(cg), cj)) | |
661 | + | if ((aW == aW)) | |
662 | + | then { | |
663 | + | let ck = valueOrElse(getBoolean(x), false) | |
664 | + | let cl = if (ck) | |
665 | + | then invoke(this, "deleteUserNodeINTERNAL", [cg, cj, x], nil) | |
666 | + | else unit | |
667 | + | if ((cl == cl)) | |
668 | + | then { | |
669 | + | let cf = aV(cg, aW, v, w, x) | |
670 | + | $Tuple2(cf, true) | |
671 | + | } | |
672 | + | else throw("Strict value is not equal to itself.") | |
673 | + | } | |
674 | + | else throw("Strict value is not equal to itself.") | |
638 | 675 | } | |
639 | 676 | } | |
640 | 677 | } | |
641 | 678 | } | |
642 | 679 | ||
643 | 680 | ||
644 | 681 | ||
645 | - | @Callable( | |
646 | - | func transferVotesWrapper ( | |
647 | - | let | |
648 | - | if (( | |
649 | - | then if (!( | |
650 | - | then if (( | |
682 | + | @Callable(ak) | |
683 | + | func transferVotesWrapper (cm) = { | |
684 | + | let cn = g(invoke(this, "transferVotesHelper", nil, nil)) | |
685 | + | if ((cn == cn)) | |
686 | + | then if (!(cn)) | |
687 | + | then if ((cm == 0)) | |
651 | 688 | then throw("Voting is not started yet") | |
652 | 689 | else $Tuple2(nil, unit) | |
653 | - | else if (( | |
690 | + | else if ((aA > cm)) | |
654 | 691 | then { | |
655 | - | let | |
656 | - | if (( | |
692 | + | let co = invoke(this, "transferVotesWrapper", [(cm + 1)], nil) | |
693 | + | if ((co == co)) | |
657 | 694 | then $Tuple2(nil, unit) | |
658 | 695 | else throw("Strict value is not equal to itself.") | |
659 | 696 | } | |
660 | 697 | else $Tuple2(nil, unit) | |
661 | 698 | else throw("Strict value is not equal to itself.") | |
662 | 699 | } | |
663 | 700 | ||
664 | 701 | ||
665 | 702 | ||
666 | - | @Callable( | |
703 | + | @Callable(ak) | |
667 | 704 | func transferVotes () = { | |
668 | - | let | |
669 | - | if (( | |
705 | + | let co = invoke(this, "transferVotesWrapper", [0], nil) | |
706 | + | if ((co == co)) | |
670 | 707 | then $Tuple2(nil, unit) | |
671 | 708 | else throw("Strict value is not equal to itself.") | |
672 | 709 | } | |
673 | 710 | ||
674 | 711 | ||
675 | 712 | ||
676 | - | @Callable( | |
677 | - | func setVotingThreshold ( | |
678 | - | let | |
679 | - | if (( | |
680 | - | then $Tuple2([IntegerEntry(k, | |
713 | + | @Callable(ak) | |
714 | + | func setVotingThreshold (cr) = { | |
715 | + | let bR = aj(ak) | |
716 | + | if ((bR == bR)) | |
717 | + | then $Tuple2([IntegerEntry(k, cr)], unit) | |
681 | 718 | else throw("Strict value is not equal to itself.") | |
682 | 719 | } | |
683 | 720 | ||
684 | 721 | ||
685 | 722 | ||
686 | - | @Callable( | |
687 | - | func setFee ( | |
688 | - | let | |
689 | - | if (( | |
690 | - | then $Tuple2([IntegerEntry(i, | |
723 | + | @Callable(ak) | |
724 | + | func setFee (cs) = { | |
725 | + | let bR = aj(ak) | |
726 | + | if ((bR == bR)) | |
727 | + | then $Tuple2([IntegerEntry(i, cs)], unit) | |
691 | 728 | else throw("Strict value is not equal to itself.") | |
692 | 729 | } | |
693 | 730 | ||
694 | 731 | ||
695 | 732 | ||
696 | - | @Callable( | |
697 | - | func gwxAvailableForVoteREADONLY ( | |
698 | - | let | |
699 | - | $Tuple2(nil, | |
733 | + | @Callable(ak) | |
734 | + | func gwxAvailableForVoteREADONLY (Z) = { | |
735 | + | let bJ = aC(Z, aB) | |
736 | + | $Tuple2(nil, bJ) | |
700 | 737 | } | |
701 | 738 | ||
702 | 739 |
github/deemru/w8io/169f3d6 226.76 ms ◑