tx · F2NWJ3rUpfZ8e61fpWa6UuKTRetnMCM6GJXcHcBwN6hq 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T: -0.02300000 Waves 2022.08.17 14:44 [2188420] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves
{ "type": 13, "id": "F2NWJ3rUpfZ8e61fpWa6UuKTRetnMCM6GJXcHcBwN6hq", "fee": 2300000, "feeAssetId": null, "timestamp": 1660736629859, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "mixKigNUFpEXG6HhWMrGmoEykvpmmJskQhC4V7Jv84LRGv2KijvH2J9GEDLdEWaDoVoJ1oMpob2XYsEsNmXUWtL" ], "script": "base64:AAIFAAAAAAAAAEAIAhINCgsICAgICAgBCAEIARIDCgEBEgQKAggIEgUKAwgIBBIECgIICBIDCgEBEgMKAQESBAoCCAgSAwoBCBIAAAAAJAAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAADmtleUVwb2NoTGVuZ3RoCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V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WdlcgMJAAAAAAAAAgUAAAAHY2hlY2tQTQUAAAAHY2hlY2tQTQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACcG0JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5jt8t7w==", "chainId": 84, "height": 2188420, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 41xiDfxuGjsorLPGMGuFqYT9eJiWvxte6FbNQEetHqMX Next: 8y85ZrncL4p65aih76BGhm1LVsVxLm514RftSrs6Q1rT Diff:
Old | New | Differences | |
---|---|---|---|
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (V) = { | |
115 | - | let W = throw("permission denied") | |
116 | 115 | let R = Q() | |
117 | 116 | if ($isInstanceOf(R, "ByteVector")) | |
118 | 117 | then { | |
119 | - | let X = R | |
120 | - | if ((V.callerPublicKey == X)) | |
121 | - | then true | |
122 | - | else W | |
118 | + | let W = R | |
119 | + | (V.callerPublicKey == W) | |
123 | 120 | } | |
124 | 121 | else if ($isInstanceOf(R, "Unit")) | |
125 | - | then if ((V.caller == this)) | |
126 | - | then true | |
127 | - | else W | |
122 | + | then (V.caller == this) | |
128 | 123 | else throw("Match error") | |
129 | 124 | } | |
125 | + | ||
126 | + | ||
127 | + | func X (V) = if (U(V)) | |
128 | + | then true | |
129 | + | else throw("permission denied") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Y (Z) = { | |
142 | 142 | ||
143 | 143 | @Callable(V) | |
144 | 144 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al) = { | |
145 | - | let am = [ | |
145 | + | let am = [X(V), if (isDefined(addressFromString(ab))) | |
146 | 146 | then true | |
147 | 147 | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(ac))) | |
148 | 148 | then true | |
172 | 172 | ||
173 | 173 | @Callable(V) | |
174 | 174 | func constructorV2 (an) = { | |
175 | - | let am = [ | |
175 | + | let am = [X(V), if ((an > 0)) | |
176 | 176 | then true | |
177 | 177 | else throw("invalid threshold")] | |
178 | 178 | if ((am == am)) | |
187 | 187 | let G = $Tuple2(r, s) | |
188 | 188 | let ao = value(V.payments[0]) | |
189 | 189 | let ap = valueOrErrorMessage(assetInfo(fromBase58String(r)), "invalid amountAssetId ID") | |
190 | - | let am = [if ((ap.issuer == V.caller)) | |
190 | + | let am = [if (if (U(V)) | |
191 | + | then true | |
192 | + | else (ap.issuer == V.caller)) | |
191 | 193 | then true | |
192 | 194 | else throw("asset can only be suggested by its issuer"), if ((ap.scripted == false)) | |
193 | 195 | then true | |
195 | 197 | then true | |
196 | 198 | else throw("invalid fee asset"), if ((ao.amount == value(getInteger(b)))) | |
197 | 199 | then true | |
198 | - | else throw("invalid fee amount"), if ((s == value(getString(c)))) | |
200 | + | else throw("invalid fee amount"), if (if (U(V)) | |
201 | + | then true | |
202 | + | else (s == value(getString(c)))) | |
199 | 203 | then true | |
200 | 204 | else throw("priceAssetId is not USDN"), if ((getInteger(q(r, s)) == unit)) | |
201 | 205 | then true | |
366 | 370 | ||
367 | 371 | @Callable(V) | |
368 | 372 | func setFee (aO) = { | |
369 | - | let am = [ | |
373 | + | let am = [X(V)] | |
370 | 374 | if ((am == am)) | |
371 | 375 | then [IntegerEntry(b, aO)] | |
372 | 376 | else throw("Strict value is not equal to itself.") | |
376 | 380 | ||
377 | 381 | @Callable(V) | |
378 | 382 | func setThreshold (aP) = { | |
379 | - | let am = [ | |
383 | + | let am = [X(V), if ((aP > 0)) | |
380 | 384 | then true | |
381 | 385 | else throw("invalid threshold")] | |
382 | 386 | if ((am == am)) | |
426 | 430 | ||
427 | 431 | @Callable(V) | |
428 | 432 | func setManager (aT) = { | |
429 | - | let aU = | |
433 | + | let aU = X(V) | |
430 | 434 | if ((aU == aU)) | |
431 | 435 | then { | |
432 | 436 | let aV = fromBase58String(aT) | |
464 | 468 | let R = Q() | |
465 | 469 | if ($isInstanceOf(R, "ByteVector")) | |
466 | 470 | then { | |
467 | - | let | |
468 | - | | |
471 | + | let W = R | |
472 | + | W | |
469 | 473 | } | |
470 | 474 | else if ($isInstanceOf(R, "Unit")) | |
471 | 475 | then aZ.senderPublicKey |
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 = makeString(["%s", "fee"], a) | |
7 | 7 | ||
8 | 8 | let c = makeString(["%s", "usdnAssetId"], a) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "epochLength"], a) | |
11 | 11 | ||
12 | 12 | let e = makeString(["%s", "finalizeReward"], a) | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "wxAssetId"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s", "assetsStoreContract"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s", "userPoolContract"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "emissionContract"], a) | |
21 | 21 | ||
22 | 22 | let j = makeString(["%s", "boostingContract"], a) | |
23 | 23 | ||
24 | 24 | let k = makeString(["%s", "factoryContract"], a) | |
25 | 25 | ||
26 | 26 | let l = makeString(["%s", "votingEmissionContract"], a) | |
27 | 27 | ||
28 | 28 | let m = makeString(["%s", "votingThreshold"], a) | |
29 | 29 | ||
30 | 30 | func n (o) = valueOrErrorMessage(getString(this, o), (o + " is not defined")) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func p (o) = valueOrErrorMessage(getInteger(this, o), (o + " is not defined")) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func q (r,s) = makeString(["%s%s%s", "inList", r, s], a) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func t (r,s) = makeString(["%s%s%s", "suggestIndex", r, s], a) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func u (r,s,v) = makeString(["%s%s%s%d", "startHeight", r, s, toString(v)], a) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func w (r,s,v) = makeString(["%s%s%s%d", "votingResult", r, s, toString(v)], a) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func x (y,z) = makeString(["%d%d", y, z], a) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func A (r,s,v,B) = makeString(["%s%s%s%d%s", "vote", r, s, toString(v), B], a) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func C (D,E) = { | |
55 | 55 | let o = if (E) | |
56 | 56 | then makeString(["%d%s", D, "yes"], a) | |
57 | 57 | else makeString(["%d%s", D, "no"], a) | |
58 | 58 | o | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func F (G) = { | |
63 | 63 | let H = G | |
64 | 64 | let r = H._1 | |
65 | 65 | let s = H._2 | |
66 | 66 | makeString(["%s%s%s", "inList", r, s], a) | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func I () = "%s__managerPublicKey" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func J () = "%s__pendingManagerPublicKey" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let K = addressFromStringValue(n(g)) | |
77 | 77 | ||
78 | 78 | let L = addressFromStringValue(n(j)) | |
79 | 79 | ||
80 | 80 | let M = addressFromStringValue(n(i)) | |
81 | 81 | ||
82 | 82 | let N = addressFromStringValue(n(k)) | |
83 | 83 | ||
84 | 84 | let O = addressFromStringValue(n(h)) | |
85 | 85 | ||
86 | 86 | let P = addressFromStringValue(n(l)) | |
87 | 87 | ||
88 | 88 | func Q () = { | |
89 | 89 | let R = getString(I()) | |
90 | 90 | if ($isInstanceOf(R, "String")) | |
91 | 91 | then { | |
92 | 92 | let S = R | |
93 | 93 | fromBase58String(S) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(R, "Unit")) | |
96 | 96 | then unit | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func T () = { | |
102 | 102 | let R = getString(J()) | |
103 | 103 | if ($isInstanceOf(R, "String")) | |
104 | 104 | then { | |
105 | 105 | let S = R | |
106 | 106 | fromBase58String(S) | |
107 | 107 | } | |
108 | 108 | else if ($isInstanceOf(R, "Unit")) | |
109 | 109 | then unit | |
110 | 110 | else throw("Match error") | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (V) = { | |
115 | - | let W = throw("permission denied") | |
116 | 115 | let R = Q() | |
117 | 116 | if ($isInstanceOf(R, "ByteVector")) | |
118 | 117 | then { | |
119 | - | let X = R | |
120 | - | if ((V.callerPublicKey == X)) | |
121 | - | then true | |
122 | - | else W | |
118 | + | let W = R | |
119 | + | (V.callerPublicKey == W) | |
123 | 120 | } | |
124 | 121 | else if ($isInstanceOf(R, "Unit")) | |
125 | - | then if ((V.caller == this)) | |
126 | - | then true | |
127 | - | else W | |
122 | + | then (V.caller == this) | |
128 | 123 | else throw("Match error") | |
129 | 124 | } | |
125 | + | ||
126 | + | ||
127 | + | func X (V) = if (U(V)) | |
128 | + | then true | |
129 | + | else throw("permission denied") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Y (Z) = { | |
133 | 133 | let R = Z | |
134 | 134 | if ($isInstanceOf(R, "Int")) | |
135 | 135 | then { | |
136 | 136 | let aa = R | |
137 | 137 | aa | |
138 | 138 | } | |
139 | 139 | else throw("failed to cast into Integer") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | @Callable(V) | |
144 | 144 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al) = { | |
145 | - | let am = [ | |
145 | + | let am = [X(V), if (isDefined(addressFromString(ab))) | |
146 | 146 | then true | |
147 | 147 | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(ac))) | |
148 | 148 | then true | |
149 | 149 | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(af))) | |
150 | 150 | then true | |
151 | 151 | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(ad))) | |
152 | 152 | then true | |
153 | 153 | else throw("Invalid emission contract address"), if (isDefined(addressFromString(ae))) | |
154 | 154 | then true | |
155 | 155 | else throw("Invalid factory contract address"), if ((ah >= 0)) | |
156 | 156 | then true | |
157 | 157 | else throw("Invalid fee amount"), if ((aj > 0)) | |
158 | 158 | then true | |
159 | 159 | else throw("Invalid voting duration"), if ((al >= 0)) | |
160 | 160 | then true | |
161 | 161 | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(ai)))) | |
162 | 162 | then true | |
163 | 163 | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(ak)))) | |
164 | 164 | then true | |
165 | 165 | else throw("Invalid USDN asset ID")] | |
166 | 166 | if ((am == am)) | |
167 | 167 | then $Tuple2([StringEntry(g, ab), StringEntry(j, ac), StringEntry(i, ad), StringEntry(k, ae), StringEntry(h, af), StringEntry(l, ag), IntegerEntry(b, ah), IntegerEntry(d, aj), IntegerEntry(e, al), StringEntry(f, ai), StringEntry(c, ak)], unit) | |
168 | 168 | else throw("Strict value is not equal to itself.") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(V) | |
174 | 174 | func constructorV2 (an) = { | |
175 | - | let am = [ | |
175 | + | let am = [X(V), if ((an > 0)) | |
176 | 176 | then true | |
177 | 177 | else throw("invalid threshold")] | |
178 | 178 | if ((am == am)) | |
179 | 179 | then $Tuple2([IntegerEntry(m, an)], unit) | |
180 | 180 | else throw("Strict value is not equal to itself.") | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | ||
185 | 185 | @Callable(V) | |
186 | 186 | func suggest (r,s) = { | |
187 | 187 | let G = $Tuple2(r, s) | |
188 | 188 | let ao = value(V.payments[0]) | |
189 | 189 | let ap = valueOrErrorMessage(assetInfo(fromBase58String(r)), "invalid amountAssetId ID") | |
190 | - | let am = [if ((ap.issuer == V.caller)) | |
190 | + | let am = [if (if (U(V)) | |
191 | + | then true | |
192 | + | else (ap.issuer == V.caller)) | |
191 | 193 | then true | |
192 | 194 | else throw("asset can only be suggested by its issuer"), if ((ap.scripted == false)) | |
193 | 195 | then true | |
194 | 196 | else throw("asset is smart"), if ((toBase58String(value(ao.assetId)) == value(getString(f)))) | |
195 | 197 | then true | |
196 | 198 | else throw("invalid fee asset"), if ((ao.amount == value(getInteger(b)))) | |
197 | 199 | then true | |
198 | - | else throw("invalid fee amount"), if ((s == value(getString(c)))) | |
200 | + | else throw("invalid fee amount"), if (if (U(V)) | |
201 | + | then true | |
202 | + | else (s == value(getString(c)))) | |
199 | 203 | then true | |
200 | 204 | else throw("priceAssetId is not USDN"), if ((getInteger(q(r, s)) == unit)) | |
201 | 205 | then true | |
202 | 206 | else throw("already in voting list"), if (!(valueOrElse(getBoolean(P, F(G)), false))) | |
203 | 207 | then true | |
204 | 208 | else throw("pool is in emission voting list")] | |
205 | 209 | if ((am == am)) | |
206 | 210 | then { | |
207 | 211 | let aq = { | |
208 | 212 | let R = invoke(O, "statusREADONLY", [r, s], nil) | |
209 | 213 | if ($isInstanceOf(R, "String")) | |
210 | 214 | then { | |
211 | 215 | let S = R | |
212 | 216 | if ((S == "active")) | |
213 | 217 | then true | |
214 | 218 | else throw("user pool is not active") | |
215 | 219 | } | |
216 | 220 | else throw("user pool is not active") | |
217 | 221 | } | |
218 | 222 | if ((aq == aq)) | |
219 | 223 | then { | |
220 | 224 | let ar = { | |
221 | 225 | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
222 | 226 | if ($isInstanceOf(R, "Boolean")) | |
223 | 227 | then { | |
224 | 228 | let as = R | |
225 | 229 | if (as) | |
226 | 230 | then true | |
227 | 231 | else throw("asset is not verified") | |
228 | 232 | } | |
229 | 233 | else throw("asset is not verified") | |
230 | 234 | } | |
231 | 235 | if ((ar == ar)) | |
232 | 236 | then { | |
233 | 237 | let at = invoke(M, "burn", nil, [AttachedPayment(ao.assetId, ao.amount)]) | |
234 | 238 | if ((at == at)) | |
235 | 239 | then { | |
236 | 240 | let au = { | |
237 | 241 | let R = getInteger(t(r, s)) | |
238 | 242 | if ($isInstanceOf(R, "Int")) | |
239 | 243 | then { | |
240 | 244 | let av = R | |
241 | 245 | (av + 1) | |
242 | 246 | } | |
243 | 247 | else 0 | |
244 | 248 | } | |
245 | 249 | $Tuple2([IntegerEntry(q(r, s), au), IntegerEntry(u(r, s, au), height), StringEntry(w(r, s, au), x("0", "0")), IntegerEntry(t(r, s), au)], unit) | |
246 | 250 | } | |
247 | 251 | else throw("Strict value is not equal to itself.") | |
248 | 252 | } | |
249 | 253 | else throw("Strict value is not equal to itself.") | |
250 | 254 | } | |
251 | 255 | else throw("Strict value is not equal to itself.") | |
252 | 256 | } | |
253 | 257 | else throw("Strict value is not equal to itself.") | |
254 | 258 | } | |
255 | 259 | ||
256 | 260 | ||
257 | 261 | ||
258 | 262 | @Callable(V) | |
259 | 263 | func vote (r,s,aw) = { | |
260 | 264 | let v = value(getInteger(q(r, s))) | |
261 | 265 | let ax = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
262 | 266 | let am = [if (isDefined(getInteger(q(r, s)))) | |
263 | 267 | then true | |
264 | 268 | else throw("the token isn't on the voting list"), if ((ax > height)) | |
265 | 269 | then true | |
266 | 270 | else throw("too late to vote")] | |
267 | 271 | if ((am == am)) | |
268 | 272 | then { | |
269 | 273 | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), ax], nil) | |
270 | 274 | let ay = if ((Y(D) > 0)) | |
271 | 275 | then true | |
272 | 276 | else throw("you don't have gwx") | |
273 | 277 | if ((ay == ay)) | |
274 | 278 | then { | |
275 | 279 | let E = { | |
276 | 280 | let R = getString(A(r, s, v, toString(V.caller))) | |
277 | 281 | if ($isInstanceOf(R, "String")) | |
278 | 282 | then { | |
279 | 283 | let S = R | |
280 | 284 | let E = split(S, a) | |
281 | 285 | let az = E[1] | |
282 | 286 | let aA = E[2] | |
283 | 287 | let aB = if (if ((aA == "yes")) | |
284 | 288 | then (aw == true) | |
285 | 289 | else false) | |
286 | 290 | then true | |
287 | 291 | else if ((aA == "no")) | |
288 | 292 | then (aw == false) | |
289 | 293 | else false | |
290 | 294 | let aC = if (aB) | |
291 | 295 | then (Y(D) == parseIntValue(az)) | |
292 | 296 | else false | |
293 | 297 | let aD = if (if (aB) | |
294 | 298 | then aC | |
295 | 299 | else false) | |
296 | 300 | then throw("you already voted") | |
297 | 301 | else invoke(this, "cancelVote", [r, s], nil) | |
298 | 302 | aD | |
299 | 303 | } | |
300 | 304 | else if ($isInstanceOf(R, "Unit")) | |
301 | 305 | then { | |
302 | 306 | let aE = R | |
303 | 307 | aE | |
304 | 308 | } | |
305 | 309 | else throw("Match error") | |
306 | 310 | } | |
307 | 311 | if ((E == E)) | |
308 | 312 | then { | |
309 | 313 | let aF = split(value(getString(w(r, s, v))), a) | |
310 | 314 | let aG = aF[1] | |
311 | 315 | let aH = aF[2] | |
312 | 316 | let aI = if (aw) | |
313 | 317 | then { | |
314 | 318 | let aJ = (parseIntValue(aG) + Y(D)) | |
315 | 319 | [toString(aJ), aH] | |
316 | 320 | } | |
317 | 321 | else { | |
318 | 322 | let aK = (parseIntValue(aH) + Y(D)) | |
319 | 323 | [aG, toString(aK)] | |
320 | 324 | } | |
321 | 325 | let aL = A(r, s, v, toString(V.caller)) | |
322 | 326 | let az = C(toString(Y(D)), aw) | |
323 | 327 | $Tuple2([StringEntry(w(r, s, v), x(aI[0], aI[1])), StringEntry(aL, az)], unit) | |
324 | 328 | } | |
325 | 329 | else throw("Strict value is not equal to itself.") | |
326 | 330 | } | |
327 | 331 | else throw("Strict value is not equal to itself.") | |
328 | 332 | } | |
329 | 333 | else throw("Strict value is not equal to itself.") | |
330 | 334 | } | |
331 | 335 | ||
332 | 336 | ||
333 | 337 | ||
334 | 338 | @Callable(V) | |
335 | 339 | func cancelVote (r,s) = { | |
336 | 340 | let aM = if ((V.caller == this)) | |
337 | 341 | then toString(V.originCaller) | |
338 | 342 | else toString(V.caller) | |
339 | 343 | let v = value(getInteger(q(r, s))) | |
340 | 344 | let am = [if (isDefined(getString(w(r, s, v)))) | |
341 | 345 | then true | |
342 | 346 | else throw("no vote for assets pair")] | |
343 | 347 | if ((am == am)) | |
344 | 348 | then { | |
345 | 349 | let E = split(value(getString(A(r, s, v, aM))), a) | |
346 | 350 | let az = E[1] | |
347 | 351 | let aA = E[2] | |
348 | 352 | let aF = split(value(getString(w(r, s, v))), a) | |
349 | 353 | let aG = aF[1] | |
350 | 354 | let aH = aF[2] | |
351 | 355 | let aN = if ((aA == "yes")) | |
352 | 356 | then { | |
353 | 357 | let aJ = (parseIntValue(aG) - parseIntValue(az)) | |
354 | 358 | $Tuple2([StringEntry(w(r, s, v), x(toString(aJ), aH)), DeleteEntry(A(r, s, v, aM))], unit) | |
355 | 359 | } | |
356 | 360 | else { | |
357 | 361 | let aK = (parseIntValue(aH) - parseIntValue(az)) | |
358 | 362 | $Tuple2([StringEntry(w(r, s, v), x(aG, toString(aK))), DeleteEntry(A(r, s, v, aM))], unit) | |
359 | 363 | } | |
360 | 364 | aN | |
361 | 365 | } | |
362 | 366 | else throw("Strict value is not equal to itself.") | |
363 | 367 | } | |
364 | 368 | ||
365 | 369 | ||
366 | 370 | ||
367 | 371 | @Callable(V) | |
368 | 372 | func setFee (aO) = { | |
369 | - | let am = [ | |
373 | + | let am = [X(V)] | |
370 | 374 | if ((am == am)) | |
371 | 375 | then [IntegerEntry(b, aO)] | |
372 | 376 | else throw("Strict value is not equal to itself.") | |
373 | 377 | } | |
374 | 378 | ||
375 | 379 | ||
376 | 380 | ||
377 | 381 | @Callable(V) | |
378 | 382 | func setThreshold (aP) = { | |
379 | - | let am = [ | |
383 | + | let am = [X(V), if ((aP > 0)) | |
380 | 384 | then true | |
381 | 385 | else throw("invalid threshold")] | |
382 | 386 | if ((am == am)) | |
383 | 387 | then $Tuple2([IntegerEntry(m, aP)], unit) | |
384 | 388 | else throw("Strict value is not equal to itself.") | |
385 | 389 | } | |
386 | 390 | ||
387 | 391 | ||
388 | 392 | ||
389 | 393 | @Callable(V) | |
390 | 394 | func finalize (r,s) = { | |
391 | 395 | let v = value(getInteger(q(r, s))) | |
392 | 396 | let ax = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
393 | 397 | let am = [if (isDefined(getInteger(q(r, s)))) | |
394 | 398 | then true | |
395 | 399 | else throw("no assets pair"), if ((height >= ax)) | |
396 | 400 | then true | |
397 | 401 | else throw("insufficient height for completion")] | |
398 | 402 | if ((am == am)) | |
399 | 403 | then { | |
400 | 404 | let aF = split(value(getString(w(r, s, v))), a) | |
401 | 405 | let aG = parseIntValue(aF[1]) | |
402 | 406 | let aH = parseIntValue(aF[2]) | |
403 | 407 | let aQ = (aG + aH) | |
404 | 408 | let an = p(m) | |
405 | 409 | let aN = if (if ((aQ >= an)) | |
406 | 410 | then (aG > aH) | |
407 | 411 | else false) | |
408 | 412 | then { | |
409 | 413 | let aR = invoke(N, "setWxEmissionPoolLabel", [r, s], nil) | |
410 | 414 | if ((aR == aR)) | |
411 | 415 | then { | |
412 | 416 | let aS = invoke(P, "create", [r, s], nil) | |
413 | 417 | if ((aS == aS)) | |
414 | 418 | then $Tuple2([DeleteEntry(q(r, s))], unit) | |
415 | 419 | else throw("Strict value is not equal to itself.") | |
416 | 420 | } | |
417 | 421 | else throw("Strict value is not equal to itself.") | |
418 | 422 | } | |
419 | 423 | else $Tuple2([DeleteEntry(q(r, s))], unit) | |
420 | 424 | aN | |
421 | 425 | } | |
422 | 426 | else throw("Strict value is not equal to itself.") | |
423 | 427 | } | |
424 | 428 | ||
425 | 429 | ||
426 | 430 | ||
427 | 431 | @Callable(V) | |
428 | 432 | func setManager (aT) = { | |
429 | - | let aU = | |
433 | + | let aU = X(V) | |
430 | 434 | if ((aU == aU)) | |
431 | 435 | then { | |
432 | 436 | let aV = fromBase58String(aT) | |
433 | 437 | if ((aV == aV)) | |
434 | 438 | then [StringEntry(J(), aT)] | |
435 | 439 | else throw("Strict value is not equal to itself.") | |
436 | 440 | } | |
437 | 441 | else throw("Strict value is not equal to itself.") | |
438 | 442 | } | |
439 | 443 | ||
440 | 444 | ||
441 | 445 | ||
442 | 446 | @Callable(V) | |
443 | 447 | func confirmManager () = { | |
444 | 448 | let aW = T() | |
445 | 449 | let aX = if (isDefined(aW)) | |
446 | 450 | then true | |
447 | 451 | else throw("no pending manager") | |
448 | 452 | if ((aX == aX)) | |
449 | 453 | then { | |
450 | 454 | let aY = if ((V.callerPublicKey == value(aW))) | |
451 | 455 | then true | |
452 | 456 | else throw("you are not pending manager") | |
453 | 457 | if ((aY == aY)) | |
454 | 458 | then [StringEntry(I(), toBase58String(value(aW))), DeleteEntry(J())] | |
455 | 459 | else throw("Strict value is not equal to itself.") | |
456 | 460 | } | |
457 | 461 | else throw("Strict value is not equal to itself.") | |
458 | 462 | } | |
459 | 463 | ||
460 | 464 | ||
461 | 465 | @Verifier(aZ) | |
462 | 466 | func ba () = { | |
463 | 467 | let bb = { | |
464 | 468 | let R = Q() | |
465 | 469 | if ($isInstanceOf(R, "ByteVector")) | |
466 | 470 | then { | |
467 | - | let | |
468 | - | | |
471 | + | let W = R | |
472 | + | W | |
469 | 473 | } | |
470 | 474 | else if ($isInstanceOf(R, "Unit")) | |
471 | 475 | then aZ.senderPublicKey | |
472 | 476 | else throw("Match error") | |
473 | 477 | } | |
474 | 478 | sigVerify(aZ.bodyBytes, aZ.proofs[0], bb) | |
475 | 479 | } | |
476 | 480 |
github/deemru/w8io/169f3d6 59.71 ms ◑