tx · 88EquZF1GkECXMKDD4MwdfiyqnYaxWHSRGr3xxXuUVEV 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T: -0.01400000 Waves 2022.05.12 15:53 [2048485] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves
{ "type": 13, "id": "88EquZF1GkECXMKDD4MwdfiyqnYaxWHSRGr3xxXuUVEV", "fee": 1400000, "feeAssetId": null, "timestamp": 1652360075386, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "4cyUEDN72U9XU1qtGSzodvkc9RZMEhkYQVWk2q5iAxqGfucKBjQw6vvsJ2rJnzVXaFf8PaAhuaXi8CU5yZkj4Lq7" ], "script": "base64:AAIFAAAAAAAAADQIAhILCgkICAgIAQgBCAESBAoCCAgSBQoDCAgEEgQKAggIEgMKAQESBAoCCAgSAwoBCBIAAAAAHAAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAADmtleUVwb2NoTGVuZ3RoCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V3hBc3NldElkCQAEu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AFaGFzUE0EAAAAB2NoZWNrUE0DCQAAAAAAAAIIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkBAAAABXZhbHVlAAAAAQUAAAACcG0GCQAAAgAAAAECAAAAG3lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAAAAAAAAgUAAAAHY2hlY2tQTQUAAAAHY2hlY2tQTQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACcG0JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5e00L3w==", "chainId": 84, "height": 2048485, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D8Yesbym422sSaDqDcLKDeQ2VPqyJ8CHppVS456y4cPP Next: GpnKgyEdHQSXFUmQtwwH4EJcmjxjubkkwQm7TvFPjVKs Diff:
Old | New | Differences | |
---|---|---|---|
27 | 27 | func m (n,o) = makeString(["%s%s%s", "inList", n, o], a) | |
28 | 28 | ||
29 | 29 | ||
30 | - | func p (n,o | |
30 | + | func p (n,o) = makeString(["%s%s%s", "suggestIndex", n, o], a) | |
31 | 31 | ||
32 | 32 | ||
33 | - | func | |
33 | + | func q (n,o,r) = makeString(["%s%s%s%d", "startHeight", n, o, toString(r)], a) | |
34 | 34 | ||
35 | 35 | ||
36 | - | func s ( | |
36 | + | func s (n,o,r) = makeString(["%s%s%s%d", "votingResult", n, o, toString(r)], a) | |
37 | 37 | ||
38 | 38 | ||
39 | - | func | |
39 | + | func t (u,v) = makeString(["%d%d", u, v], a) | |
40 | 40 | ||
41 | 41 | ||
42 | - | func x (y,z) = { | |
43 | - | let l = if (z) | |
44 | - | then makeString(["%d%s", y, "yes"], a) | |
45 | - | else makeString(["%d%s", y, "no"], a) | |
42 | + | func w (n,o,r,x) = makeString(["%s%s%d%s", "vote", n, o, toString(r), x], a) | |
43 | + | ||
44 | + | ||
45 | + | func y (z,A) = { | |
46 | + | let l = if (A) | |
47 | + | then makeString(["%d%s", z, "yes"], a) | |
48 | + | else makeString(["%d%s", z, "no"], a) | |
46 | 49 | l | |
47 | 50 | } | |
48 | 51 | ||
49 | 52 | ||
50 | - | func | |
53 | + | func B () = "%s__managerPublicKey" | |
51 | 54 | ||
52 | 55 | ||
53 | - | func | |
56 | + | func C () = "%s__pendingManagerPublicKey" | |
54 | 57 | ||
55 | 58 | ||
56 | - | let | |
59 | + | let D = addressFromStringValue(k(i)) | |
57 | 60 | ||
58 | - | let | |
61 | + | let E = addressFromStringValue(k(h)) | |
59 | 62 | ||
60 | - | let | |
63 | + | let F = addressFromStringValue(k(j)) | |
61 | 64 | ||
62 | - | let | |
65 | + | let G = addressFromStringValue(k(g)) | |
63 | 66 | ||
64 | - | func | |
65 | - | let | |
66 | - | if ($isInstanceOf( | |
67 | + | func H () = { | |
68 | + | let I = getString(B()) | |
69 | + | if ($isInstanceOf(I, "String")) | |
67 | 70 | then { | |
68 | - | let | |
69 | - | fromBase58String( | |
71 | + | let J = I | |
72 | + | fromBase58String(J) | |
70 | 73 | } | |
71 | - | else if ($isInstanceOf( | |
74 | + | else if ($isInstanceOf(I, "Unit")) | |
72 | 75 | then unit | |
73 | 76 | else throw("Match error") | |
74 | 77 | } | |
75 | 78 | ||
76 | 79 | ||
77 | - | func | |
78 | - | let | |
79 | - | if ($isInstanceOf( | |
80 | + | func K () = { | |
81 | + | let I = getString(C()) | |
82 | + | if ($isInstanceOf(I, "String")) | |
80 | 83 | then { | |
81 | - | let | |
82 | - | fromBase58String( | |
84 | + | let J = I | |
85 | + | fromBase58String(J) | |
83 | 86 | } | |
84 | - | else if ($isInstanceOf( | |
87 | + | else if ($isInstanceOf(I, "Unit")) | |
85 | 88 | then unit | |
86 | 89 | else throw("Match error") | |
87 | 90 | } | |
88 | 91 | ||
89 | 92 | ||
90 | - | func | |
91 | - | let | |
92 | - | let | |
93 | - | if ($isInstanceOf( | |
93 | + | func L (M) = { | |
94 | + | let N = throw("permission denied") | |
95 | + | let I = H() | |
96 | + | if ($isInstanceOf(I, "ByteVector")) | |
94 | 97 | then { | |
95 | - | let | |
96 | - | if (( | |
98 | + | let O = I | |
99 | + | if ((M.callerPublicKey == O)) | |
97 | 100 | then true | |
98 | - | else | |
101 | + | else N | |
99 | 102 | } | |
100 | - | else if ($isInstanceOf( | |
101 | - | then if (( | |
103 | + | else if ($isInstanceOf(I, "Unit")) | |
104 | + | then if ((M.caller == this)) | |
102 | 105 | then true | |
103 | - | else | |
106 | + | else N | |
104 | 107 | else throw("Match error") | |
105 | 108 | } | |
106 | 109 | ||
107 | 110 | ||
108 | - | func | |
109 | - | let | |
110 | - | if ($isInstanceOf( | |
111 | + | func P (Q) = { | |
112 | + | let I = Q | |
113 | + | if ($isInstanceOf(I, "Int")) | |
111 | 114 | then { | |
112 | - | let | |
113 | - | | |
115 | + | let R = I | |
116 | + | R | |
114 | 117 | } | |
115 | 118 | else throw("failed to cast into Integer") | |
116 | 119 | } | |
117 | 120 | ||
118 | 121 | ||
119 | - | @Callable( | |
120 | - | func constructor ( | |
121 | - | let | |
122 | + | @Callable(M) | |
123 | + | func constructor (S,T,U,V,W,X,Y,Z,aa) = { | |
124 | + | let ab = [L(M), if (isDefined(addressFromString(S))) | |
122 | 125 | then true | |
123 | - | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString( | |
126 | + | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(U))) | |
124 | 127 | then true | |
125 | - | else throw("Invalid boosting contract address"), if (isDefined(addressFromString( | |
128 | + | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(T))) | |
126 | 129 | then true | |
127 | - | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString( | |
130 | + | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(V))) | |
128 | 131 | then true | |
129 | - | else throw("Invalid emission contract address"), if (( | |
132 | + | else throw("Invalid emission contract address"), if ((W >= 0)) | |
130 | 133 | then true | |
131 | - | else throw("Invalid fee amount"), if (( | |
134 | + | else throw("Invalid fee amount"), if ((Y > 0)) | |
132 | 135 | then true | |
133 | - | else throw("Invalid voting duration"), if (( | |
136 | + | else throw("Invalid voting duration"), if ((aa > 0)) | |
134 | 137 | then true | |
135 | - | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String( | |
138 | + | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(X)))) | |
136 | 139 | then true | |
137 | - | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String( | |
140 | + | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(Z)))) | |
138 | 141 | then true | |
139 | 142 | else throw("Invalid USDN asset ID")] | |
140 | - | if (( | |
141 | - | then $Tuple2([StringEntry(g, | |
143 | + | if ((ab == ab)) | |
144 | + | then $Tuple2([StringEntry(g, S), StringEntry(h, T), StringEntry(i, V), IntegerEntry(b, W), IntegerEntry(d, Y), IntegerEntry(e, aa), StringEntry(f, X), StringEntry(c, Z), StringEntry(j, U)], unit) | |
142 | 145 | else throw("Strict value is not equal to itself.") | |
143 | 146 | } | |
144 | 147 | ||
145 | 148 | ||
146 | 149 | ||
147 | - | @Callable( | |
150 | + | @Callable(M) | |
148 | 151 | func suggest (n,o) = { | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | + | let ac = value(M.payments[0]) | |
153 | + | let ad = valueOrErrorMessage(assetInfo(fromBase58String(n)), "invalid amountAssetId ID") | |
154 | + | let ab = [if ((ad.issuer == M.caller)) | |
152 | 155 | then true | |
153 | - | else throw("asset can only be suggested by its issuer"), if (( | |
156 | + | else throw("asset can only be suggested by its issuer"), if ((ad.scripted == false)) | |
154 | 157 | then true | |
155 | - | else throw("asset is smart"), if ((toBase58String(value( | |
158 | + | else throw("asset is smart"), if ((toBase58String(value(ac.assetId)) == value(getString(f)))) | |
156 | 159 | then true | |
157 | - | else throw("invalid fee asset"), if (( | |
160 | + | else throw("invalid fee asset"), if ((ac.amount == value(getInteger(b)))) | |
158 | 161 | then true | |
159 | 162 | else throw("invalid fee amount"), if ((o == value(getString(c)))) | |
160 | 163 | then true | |
161 | 164 | else throw("priceAssetId is not USDN"), if ((getInteger(m(n, o)) == unit)) | |
162 | 165 | then true | |
163 | 166 | else throw("already in voting list")] | |
164 | - | if (( | |
167 | + | if ((ab == ab)) | |
165 | 168 | then { | |
166 | - | let | |
167 | - | let | |
168 | - | if ($isInstanceOf( | |
169 | + | let ae = { | |
170 | + | let I = invoke(E, "statusREADONLY", [n, o], nil) | |
171 | + | if ($isInstanceOf(I, "String")) | |
169 | 172 | then { | |
170 | - | let | |
171 | - | if (( | |
173 | + | let J = I | |
174 | + | if ((J == "active")) | |
172 | 175 | then true | |
173 | 176 | else throw("user pool is not active") | |
174 | 177 | } | |
175 | 178 | else throw("user pool is not active") | |
176 | 179 | } | |
177 | - | if (( | |
180 | + | if ((ae == ae)) | |
178 | 181 | then { | |
179 | - | let | |
180 | - | let | |
181 | - | if ($isInstanceOf( | |
182 | + | let af = { | |
183 | + | let I = invoke(G, "isVerifiedREADONLY", [n], nil) | |
184 | + | if ($isInstanceOf(I, "Boolean")) | |
182 | 185 | then { | |
183 | - | let | |
184 | - | | |
186 | + | let ag = I | |
187 | + | ag | |
185 | 188 | } | |
186 | 189 | else throw("asset is not verified") | |
187 | 190 | } | |
188 | - | if (( | |
191 | + | if ((af == af)) | |
189 | 192 | then { | |
190 | - | let | |
191 | - | if (( | |
193 | + | let ah = invoke(D, "burn", nil, [AttachedPayment(ac.assetId, ac.amount)]) | |
194 | + | if ((ah == ah)) | |
192 | 195 | then { | |
193 | - | let | |
194 | - | let | |
195 | - | if ($isInstanceOf( | |
196 | + | let ai = { | |
197 | + | let I = getInteger(p(n, o)) | |
198 | + | if ($isInstanceOf(I, "Int")) | |
196 | 199 | then { | |
197 | - | let | |
198 | - | ( | |
200 | + | let aj = I | |
201 | + | (aj + 1) | |
199 | 202 | } | |
200 | 203 | else 0 | |
201 | 204 | } | |
202 | - | if ((ah == ah)) | |
203 | - | then $Tuple2([IntegerEntry(m(n, o), ah), IntegerEntry(p(n, o, ah), height), StringEntry(r(n, o, ah), s("0", "0"))], unit) | |
204 | - | else throw("Strict value is not equal to itself.") | |
205 | + | $Tuple2([IntegerEntry(m(n, o), ai), IntegerEntry(q(n, o, ai), height), StringEntry(s(n, o, ai), t("0", "0")), IntegerEntry(p(n, o), ai)], unit) | |
205 | 206 | } | |
206 | 207 | else throw("Strict value is not equal to itself.") | |
207 | 208 | } | |
214 | 215 | ||
215 | 216 | ||
216 | 217 | ||
217 | - | @Callable( | |
218 | - | func vote (n,o, | |
219 | - | let | |
220 | - | let | |
221 | - | let | |
218 | + | @Callable(M) | |
219 | + | func vote (n,o,ak) = { | |
220 | + | let r = value(getInteger(m(n, o))) | |
221 | + | let al = (value(getInteger(q(n, o, r))) + value(getInteger(d))) | |
222 | + | let ab = [if ((getString(w(n, o, r, toString(M.caller))) == unit)) | |
222 | 223 | then true | |
223 | 224 | else throw("you already voted"), if (isDefined(getInteger(m(n, o)))) | |
224 | 225 | then true | |
225 | - | else throw("the token isn't on the voting list"), if (( | |
226 | + | else throw("the token isn't on the voting list"), if ((al > height)) | |
226 | 227 | then true | |
227 | 228 | else throw("too late to vote")] | |
228 | - | if (( | |
229 | + | if ((ab == ab)) | |
229 | 230 | then { | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
231 | + | let am = split(value(getString(s(n, o, r))), a) | |
232 | + | let an = am[1] | |
233 | + | let ao = am[2] | |
234 | + | let z = invoke(F, "getUserGwxAmountAtHeightREADONLY", [toString(M.caller), al], nil) | |
235 | + | let ap = if ((P(z) > 0)) | |
235 | 236 | then true | |
236 | 237 | else throw("you don't have gwx") | |
237 | - | if (( | |
238 | + | if ((ap == ap)) | |
238 | 239 | then { | |
239 | - | let | |
240 | + | let aq = if (ak) | |
240 | 241 | then { | |
241 | - | let | |
242 | - | let | |
243 | - | let | |
244 | - | $Tuple2([StringEntry( | |
242 | + | let ar = (parseIntValue(an) + P(z)) | |
243 | + | let as = w(n, o, r, toString(M.caller)) | |
244 | + | let at = y(toString(P(z)), ak) | |
245 | + | $Tuple2([StringEntry(s(n, o, r), t(toString(ar), ao)), StringEntry(as, at)], unit) | |
245 | 246 | } | |
246 | 247 | else { | |
247 | - | let | |
248 | - | let | |
249 | - | let | |
250 | - | $Tuple2([StringEntry( | |
248 | + | let au = (parseIntValue(ao) + P(z)) | |
249 | + | let av = w(n, o, r, toString(M.caller)) | |
250 | + | let aw = y(toString(P(z)), ak) | |
251 | + | $Tuple2([StringEntry(s(n, o, r), t(an, toString(au))), StringEntry(av, aw)], unit) | |
251 | 252 | } | |
252 | - | | |
253 | + | aq | |
253 | 254 | } | |
254 | 255 | else throw("Strict value is not equal to itself.") | |
255 | 256 | } | |
258 | 259 | ||
259 | 260 | ||
260 | 261 | ||
261 | - | @Callable( | |
262 | + | @Callable(M) | |
262 | 263 | func cancelVote (n,o) = { | |
263 | - | let | |
264 | - | let | |
264 | + | let r = value(getInteger(m(n, o))) | |
265 | + | let ab = [if (isDefined(getString(s(n, o, r)))) | |
265 | 266 | then true | |
266 | 267 | else throw("no vote for assets pair")] | |
267 | - | if (( | |
268 | + | if ((ab == ab)) | |
268 | 269 | then { | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
270 | + | let A = split(value(getString(w(n, o, r, toString(M.caller)))), a) | |
271 | + | let ax = A[1] | |
272 | + | let ay = A[2] | |
273 | + | let am = split(value(getString(s(n, o, r))), a) | |
274 | + | let an = am[1] | |
275 | + | let ao = am[2] | |
276 | + | let az = if ((ay == "yes")) | |
276 | 277 | then { | |
277 | - | let | |
278 | - | $Tuple2([StringEntry( | |
278 | + | let ar = (parseIntValue(an) - parseIntValue(ax)) | |
279 | + | $Tuple2([StringEntry(s(n, o, r), t(toString(ar), ao)), DeleteEntry(w(n, o, r, toString(M.caller)))], unit) | |
279 | 280 | } | |
280 | 281 | else { | |
281 | - | let | |
282 | - | $Tuple2([StringEntry( | |
282 | + | let au = (parseIntValue(ao) - parseIntValue(ax)) | |
283 | + | $Tuple2([StringEntry(s(n, o, r), t(an, toString(au))), DeleteEntry(w(n, o, r, toString(M.caller)))], unit) | |
283 | 284 | } | |
284 | - | | |
285 | + | az | |
285 | 286 | } | |
286 | 287 | else throw("Strict value is not equal to itself.") | |
287 | 288 | } | |
288 | 289 | ||
289 | 290 | ||
290 | 291 | ||
291 | - | @Callable( | |
292 | - | func setFee ( | |
293 | - | let | |
294 | - | if (( | |
295 | - | then [IntegerEntry(b, | |
292 | + | @Callable(M) | |
293 | + | func setFee (aA) = { | |
294 | + | let ab = [L(M)] | |
295 | + | if ((ab == ab)) | |
296 | + | then [IntegerEntry(b, aA)] | |
296 | 297 | else throw("Strict value is not equal to itself.") | |
297 | 298 | } | |
298 | 299 | ||
299 | 300 | ||
300 | 301 | ||
301 | - | @Callable( | |
302 | + | @Callable(M) | |
302 | 303 | func finalize (n,o) = { | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
304 | + | let r = value(getInteger(m(n, o))) | |
305 | + | let al = (value(getInteger(q(n, o, r))) + value(getInteger(d))) | |
306 | + | let ab = [if (isDefined(getInteger(m(n, o)))) | |
306 | 307 | then true | |
307 | - | else throw("no assets pair"), if ((height >= | |
308 | + | else throw("no assets pair"), if ((height >= al)) | |
308 | 309 | then true | |
309 | 310 | else throw("insufficient height for completion")] | |
310 | - | if (( | |
311 | + | if ((ab == ab)) | |
311 | 312 | then { | |
312 | - | let | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
313 | + | let am = split(value(getString(s(n, o, r))), a) | |
314 | + | let an = parseIntValue(am[1]) | |
315 | + | let ao = parseIntValue(am[2]) | |
316 | + | let az = if ((an > ao)) | |
316 | 317 | then { | |
317 | - | let | |
318 | - | if (( | |
318 | + | let aB = invoke(G, "setPoolLabels", [n, o, "WX_EMISSION"], nil) | |
319 | + | if ((aB == aB)) | |
319 | 320 | then $Tuple2([DeleteEntry(m(n, o))], unit) | |
320 | 321 | else throw("Strict value is not equal to itself.") | |
321 | 322 | } | |
322 | 323 | else $Tuple2([DeleteEntry(m(n, o))], unit) | |
323 | - | | |
324 | + | az | |
324 | 325 | } | |
325 | 326 | else throw("Strict value is not equal to itself.") | |
326 | 327 | } | |
327 | 328 | ||
328 | 329 | ||
329 | 330 | ||
330 | - | @Callable( | |
331 | - | func setManager ( | |
332 | - | let | |
333 | - | if (( | |
331 | + | @Callable(M) | |
332 | + | func setManager (aC) = { | |
333 | + | let aD = L(M) | |
334 | + | if ((aD == aD)) | |
334 | 335 | then { | |
335 | - | let | |
336 | - | if (( | |
337 | - | then [StringEntry( | |
336 | + | let aE = fromBase58String(aC) | |
337 | + | if ((aE == aE)) | |
338 | + | then [StringEntry(C(), aC)] | |
338 | 339 | else throw("Strict value is not equal to itself.") | |
339 | 340 | } | |
340 | 341 | else throw("Strict value is not equal to itself.") | |
342 | 343 | ||
343 | 344 | ||
344 | 345 | ||
345 | - | @Callable( | |
346 | + | @Callable(M) | |
346 | 347 | func confirmManager () = { | |
347 | - | let | |
348 | - | let | |
348 | + | let aF = K() | |
349 | + | let aG = if (isDefined(aF)) | |
349 | 350 | then true | |
350 | 351 | else throw("no pending manager") | |
351 | - | if (( | |
352 | + | if ((aG == aG)) | |
352 | 353 | then { | |
353 | - | let | |
354 | + | let aH = if ((M.callerPublicKey == value(aF))) | |
354 | 355 | then true | |
355 | 356 | else throw("you are not pending manager") | |
356 | - | if (( | |
357 | - | then [StringEntry( | |
357 | + | if ((aH == aH)) | |
358 | + | then [StringEntry(B(), toBase58String(value(aF))), DeleteEntry(C())] | |
358 | 359 | else throw("Strict value is not equal to itself.") | |
359 | 360 | } | |
360 | 361 | else throw("Strict value is not equal to itself.") | |
361 | 362 | } | |
362 | 363 | ||
363 | 364 | ||
364 | - | @Verifier( | |
365 | - | func | |
366 | - | let | |
367 | - | let | |
368 | - | if ($isInstanceOf( | |
365 | + | @Verifier(aI) | |
366 | + | func aJ () = { | |
367 | + | let aK = { | |
368 | + | let I = H() | |
369 | + | if ($isInstanceOf(I, "ByteVector")) | |
369 | 370 | then { | |
370 | - | let | |
371 | - | | |
371 | + | let O = I | |
372 | + | O | |
372 | 373 | } | |
373 | - | else if ($isInstanceOf( | |
374 | - | then | |
374 | + | else if ($isInstanceOf(I, "Unit")) | |
375 | + | then aI.senderPublicKey | |
375 | 376 | else throw("Match error") | |
376 | 377 | } | |
377 | - | sigVerify( | |
378 | + | sigVerify(aI.bodyBytes, aI.proofs[0], aK) | |
378 | 379 | } | |
379 | 380 |
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 | func k (l) = valueOrErrorMessage(getString(this, l), (l + " is not defined")) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func m (n,o) = makeString(["%s%s%s", "inList", n, o], a) | |
28 | 28 | ||
29 | 29 | ||
30 | - | func p (n,o | |
30 | + | func p (n,o) = makeString(["%s%s%s", "suggestIndex", n, o], a) | |
31 | 31 | ||
32 | 32 | ||
33 | - | func | |
33 | + | func q (n,o,r) = makeString(["%s%s%s%d", "startHeight", n, o, toString(r)], a) | |
34 | 34 | ||
35 | 35 | ||
36 | - | func s ( | |
36 | + | func s (n,o,r) = makeString(["%s%s%s%d", "votingResult", n, o, toString(r)], a) | |
37 | 37 | ||
38 | 38 | ||
39 | - | func | |
39 | + | func t (u,v) = makeString(["%d%d", u, v], a) | |
40 | 40 | ||
41 | 41 | ||
42 | - | func x (y,z) = { | |
43 | - | let l = if (z) | |
44 | - | then makeString(["%d%s", y, "yes"], a) | |
45 | - | else makeString(["%d%s", y, "no"], a) | |
42 | + | func w (n,o,r,x) = makeString(["%s%s%d%s", "vote", n, o, toString(r), x], a) | |
43 | + | ||
44 | + | ||
45 | + | func y (z,A) = { | |
46 | + | let l = if (A) | |
47 | + | then makeString(["%d%s", z, "yes"], a) | |
48 | + | else makeString(["%d%s", z, "no"], a) | |
46 | 49 | l | |
47 | 50 | } | |
48 | 51 | ||
49 | 52 | ||
50 | - | func | |
53 | + | func B () = "%s__managerPublicKey" | |
51 | 54 | ||
52 | 55 | ||
53 | - | func | |
56 | + | func C () = "%s__pendingManagerPublicKey" | |
54 | 57 | ||
55 | 58 | ||
56 | - | let | |
59 | + | let D = addressFromStringValue(k(i)) | |
57 | 60 | ||
58 | - | let | |
61 | + | let E = addressFromStringValue(k(h)) | |
59 | 62 | ||
60 | - | let | |
63 | + | let F = addressFromStringValue(k(j)) | |
61 | 64 | ||
62 | - | let | |
65 | + | let G = addressFromStringValue(k(g)) | |
63 | 66 | ||
64 | - | func | |
65 | - | let | |
66 | - | if ($isInstanceOf( | |
67 | + | func H () = { | |
68 | + | let I = getString(B()) | |
69 | + | if ($isInstanceOf(I, "String")) | |
67 | 70 | then { | |
68 | - | let | |
69 | - | fromBase58String( | |
71 | + | let J = I | |
72 | + | fromBase58String(J) | |
70 | 73 | } | |
71 | - | else if ($isInstanceOf( | |
74 | + | else if ($isInstanceOf(I, "Unit")) | |
72 | 75 | then unit | |
73 | 76 | else throw("Match error") | |
74 | 77 | } | |
75 | 78 | ||
76 | 79 | ||
77 | - | func | |
78 | - | let | |
79 | - | if ($isInstanceOf( | |
80 | + | func K () = { | |
81 | + | let I = getString(C()) | |
82 | + | if ($isInstanceOf(I, "String")) | |
80 | 83 | then { | |
81 | - | let | |
82 | - | fromBase58String( | |
84 | + | let J = I | |
85 | + | fromBase58String(J) | |
83 | 86 | } | |
84 | - | else if ($isInstanceOf( | |
87 | + | else if ($isInstanceOf(I, "Unit")) | |
85 | 88 | then unit | |
86 | 89 | else throw("Match error") | |
87 | 90 | } | |
88 | 91 | ||
89 | 92 | ||
90 | - | func | |
91 | - | let | |
92 | - | let | |
93 | - | if ($isInstanceOf( | |
93 | + | func L (M) = { | |
94 | + | let N = throw("permission denied") | |
95 | + | let I = H() | |
96 | + | if ($isInstanceOf(I, "ByteVector")) | |
94 | 97 | then { | |
95 | - | let | |
96 | - | if (( | |
98 | + | let O = I | |
99 | + | if ((M.callerPublicKey == O)) | |
97 | 100 | then true | |
98 | - | else | |
101 | + | else N | |
99 | 102 | } | |
100 | - | else if ($isInstanceOf( | |
101 | - | then if (( | |
103 | + | else if ($isInstanceOf(I, "Unit")) | |
104 | + | then if ((M.caller == this)) | |
102 | 105 | then true | |
103 | - | else | |
106 | + | else N | |
104 | 107 | else throw("Match error") | |
105 | 108 | } | |
106 | 109 | ||
107 | 110 | ||
108 | - | func | |
109 | - | let | |
110 | - | if ($isInstanceOf( | |
111 | + | func P (Q) = { | |
112 | + | let I = Q | |
113 | + | if ($isInstanceOf(I, "Int")) | |
111 | 114 | then { | |
112 | - | let | |
113 | - | | |
115 | + | let R = I | |
116 | + | R | |
114 | 117 | } | |
115 | 118 | else throw("failed to cast into Integer") | |
116 | 119 | } | |
117 | 120 | ||
118 | 121 | ||
119 | - | @Callable( | |
120 | - | func constructor ( | |
121 | - | let | |
122 | + | @Callable(M) | |
123 | + | func constructor (S,T,U,V,W,X,Y,Z,aa) = { | |
124 | + | let ab = [L(M), if (isDefined(addressFromString(S))) | |
122 | 125 | then true | |
123 | - | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString( | |
126 | + | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(U))) | |
124 | 127 | then true | |
125 | - | else throw("Invalid boosting contract address"), if (isDefined(addressFromString( | |
128 | + | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(T))) | |
126 | 129 | then true | |
127 | - | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString( | |
130 | + | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(V))) | |
128 | 131 | then true | |
129 | - | else throw("Invalid emission contract address"), if (( | |
132 | + | else throw("Invalid emission contract address"), if ((W >= 0)) | |
130 | 133 | then true | |
131 | - | else throw("Invalid fee amount"), if (( | |
134 | + | else throw("Invalid fee amount"), if ((Y > 0)) | |
132 | 135 | then true | |
133 | - | else throw("Invalid voting duration"), if (( | |
136 | + | else throw("Invalid voting duration"), if ((aa > 0)) | |
134 | 137 | then true | |
135 | - | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String( | |
138 | + | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(X)))) | |
136 | 139 | then true | |
137 | - | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String( | |
140 | + | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(Z)))) | |
138 | 141 | then true | |
139 | 142 | else throw("Invalid USDN asset ID")] | |
140 | - | if (( | |
141 | - | then $Tuple2([StringEntry(g, | |
143 | + | if ((ab == ab)) | |
144 | + | then $Tuple2([StringEntry(g, S), StringEntry(h, T), StringEntry(i, V), IntegerEntry(b, W), IntegerEntry(d, Y), IntegerEntry(e, aa), StringEntry(f, X), StringEntry(c, Z), StringEntry(j, U)], unit) | |
142 | 145 | else throw("Strict value is not equal to itself.") | |
143 | 146 | } | |
144 | 147 | ||
145 | 148 | ||
146 | 149 | ||
147 | - | @Callable( | |
150 | + | @Callable(M) | |
148 | 151 | func suggest (n,o) = { | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | + | let ac = value(M.payments[0]) | |
153 | + | let ad = valueOrErrorMessage(assetInfo(fromBase58String(n)), "invalid amountAssetId ID") | |
154 | + | let ab = [if ((ad.issuer == M.caller)) | |
152 | 155 | then true | |
153 | - | else throw("asset can only be suggested by its issuer"), if (( | |
156 | + | else throw("asset can only be suggested by its issuer"), if ((ad.scripted == false)) | |
154 | 157 | then true | |
155 | - | else throw("asset is smart"), if ((toBase58String(value( | |
158 | + | else throw("asset is smart"), if ((toBase58String(value(ac.assetId)) == value(getString(f)))) | |
156 | 159 | then true | |
157 | - | else throw("invalid fee asset"), if (( | |
160 | + | else throw("invalid fee asset"), if ((ac.amount == value(getInteger(b)))) | |
158 | 161 | then true | |
159 | 162 | else throw("invalid fee amount"), if ((o == value(getString(c)))) | |
160 | 163 | then true | |
161 | 164 | else throw("priceAssetId is not USDN"), if ((getInteger(m(n, o)) == unit)) | |
162 | 165 | then true | |
163 | 166 | else throw("already in voting list")] | |
164 | - | if (( | |
167 | + | if ((ab == ab)) | |
165 | 168 | then { | |
166 | - | let | |
167 | - | let | |
168 | - | if ($isInstanceOf( | |
169 | + | let ae = { | |
170 | + | let I = invoke(E, "statusREADONLY", [n, o], nil) | |
171 | + | if ($isInstanceOf(I, "String")) | |
169 | 172 | then { | |
170 | - | let | |
171 | - | if (( | |
173 | + | let J = I | |
174 | + | if ((J == "active")) | |
172 | 175 | then true | |
173 | 176 | else throw("user pool is not active") | |
174 | 177 | } | |
175 | 178 | else throw("user pool is not active") | |
176 | 179 | } | |
177 | - | if (( | |
180 | + | if ((ae == ae)) | |
178 | 181 | then { | |
179 | - | let | |
180 | - | let | |
181 | - | if ($isInstanceOf( | |
182 | + | let af = { | |
183 | + | let I = invoke(G, "isVerifiedREADONLY", [n], nil) | |
184 | + | if ($isInstanceOf(I, "Boolean")) | |
182 | 185 | then { | |
183 | - | let | |
184 | - | | |
186 | + | let ag = I | |
187 | + | ag | |
185 | 188 | } | |
186 | 189 | else throw("asset is not verified") | |
187 | 190 | } | |
188 | - | if (( | |
191 | + | if ((af == af)) | |
189 | 192 | then { | |
190 | - | let | |
191 | - | if (( | |
193 | + | let ah = invoke(D, "burn", nil, [AttachedPayment(ac.assetId, ac.amount)]) | |
194 | + | if ((ah == ah)) | |
192 | 195 | then { | |
193 | - | let | |
194 | - | let | |
195 | - | if ($isInstanceOf( | |
196 | + | let ai = { | |
197 | + | let I = getInteger(p(n, o)) | |
198 | + | if ($isInstanceOf(I, "Int")) | |
196 | 199 | then { | |
197 | - | let | |
198 | - | ( | |
200 | + | let aj = I | |
201 | + | (aj + 1) | |
199 | 202 | } | |
200 | 203 | else 0 | |
201 | 204 | } | |
202 | - | if ((ah == ah)) | |
203 | - | then $Tuple2([IntegerEntry(m(n, o), ah), IntegerEntry(p(n, o, ah), height), StringEntry(r(n, o, ah), s("0", "0"))], unit) | |
204 | - | else throw("Strict value is not equal to itself.") | |
205 | + | $Tuple2([IntegerEntry(m(n, o), ai), IntegerEntry(q(n, o, ai), height), StringEntry(s(n, o, ai), t("0", "0")), IntegerEntry(p(n, o), ai)], unit) | |
205 | 206 | } | |
206 | 207 | else throw("Strict value is not equal to itself.") | |
207 | 208 | } | |
208 | 209 | else throw("Strict value is not equal to itself.") | |
209 | 210 | } | |
210 | 211 | else throw("Strict value is not equal to itself.") | |
211 | 212 | } | |
212 | 213 | else throw("Strict value is not equal to itself.") | |
213 | 214 | } | |
214 | 215 | ||
215 | 216 | ||
216 | 217 | ||
217 | - | @Callable( | |
218 | - | func vote (n,o, | |
219 | - | let | |
220 | - | let | |
221 | - | let | |
218 | + | @Callable(M) | |
219 | + | func vote (n,o,ak) = { | |
220 | + | let r = value(getInteger(m(n, o))) | |
221 | + | let al = (value(getInteger(q(n, o, r))) + value(getInteger(d))) | |
222 | + | let ab = [if ((getString(w(n, o, r, toString(M.caller))) == unit)) | |
222 | 223 | then true | |
223 | 224 | else throw("you already voted"), if (isDefined(getInteger(m(n, o)))) | |
224 | 225 | then true | |
225 | - | else throw("the token isn't on the voting list"), if (( | |
226 | + | else throw("the token isn't on the voting list"), if ((al > height)) | |
226 | 227 | then true | |
227 | 228 | else throw("too late to vote")] | |
228 | - | if (( | |
229 | + | if ((ab == ab)) | |
229 | 230 | then { | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
231 | + | let am = split(value(getString(s(n, o, r))), a) | |
232 | + | let an = am[1] | |
233 | + | let ao = am[2] | |
234 | + | let z = invoke(F, "getUserGwxAmountAtHeightREADONLY", [toString(M.caller), al], nil) | |
235 | + | let ap = if ((P(z) > 0)) | |
235 | 236 | then true | |
236 | 237 | else throw("you don't have gwx") | |
237 | - | if (( | |
238 | + | if ((ap == ap)) | |
238 | 239 | then { | |
239 | - | let | |
240 | + | let aq = if (ak) | |
240 | 241 | then { | |
241 | - | let | |
242 | - | let | |
243 | - | let | |
244 | - | $Tuple2([StringEntry( | |
242 | + | let ar = (parseIntValue(an) + P(z)) | |
243 | + | let as = w(n, o, r, toString(M.caller)) | |
244 | + | let at = y(toString(P(z)), ak) | |
245 | + | $Tuple2([StringEntry(s(n, o, r), t(toString(ar), ao)), StringEntry(as, at)], unit) | |
245 | 246 | } | |
246 | 247 | else { | |
247 | - | let | |
248 | - | let | |
249 | - | let | |
250 | - | $Tuple2([StringEntry( | |
248 | + | let au = (parseIntValue(ao) + P(z)) | |
249 | + | let av = w(n, o, r, toString(M.caller)) | |
250 | + | let aw = y(toString(P(z)), ak) | |
251 | + | $Tuple2([StringEntry(s(n, o, r), t(an, toString(au))), StringEntry(av, aw)], unit) | |
251 | 252 | } | |
252 | - | | |
253 | + | aq | |
253 | 254 | } | |
254 | 255 | else throw("Strict value is not equal to itself.") | |
255 | 256 | } | |
256 | 257 | else throw("Strict value is not equal to itself.") | |
257 | 258 | } | |
258 | 259 | ||
259 | 260 | ||
260 | 261 | ||
261 | - | @Callable( | |
262 | + | @Callable(M) | |
262 | 263 | func cancelVote (n,o) = { | |
263 | - | let | |
264 | - | let | |
264 | + | let r = value(getInteger(m(n, o))) | |
265 | + | let ab = [if (isDefined(getString(s(n, o, r)))) | |
265 | 266 | then true | |
266 | 267 | else throw("no vote for assets pair")] | |
267 | - | if (( | |
268 | + | if ((ab == ab)) | |
268 | 269 | then { | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
270 | + | let A = split(value(getString(w(n, o, r, toString(M.caller)))), a) | |
271 | + | let ax = A[1] | |
272 | + | let ay = A[2] | |
273 | + | let am = split(value(getString(s(n, o, r))), a) | |
274 | + | let an = am[1] | |
275 | + | let ao = am[2] | |
276 | + | let az = if ((ay == "yes")) | |
276 | 277 | then { | |
277 | - | let | |
278 | - | $Tuple2([StringEntry( | |
278 | + | let ar = (parseIntValue(an) - parseIntValue(ax)) | |
279 | + | $Tuple2([StringEntry(s(n, o, r), t(toString(ar), ao)), DeleteEntry(w(n, o, r, toString(M.caller)))], unit) | |
279 | 280 | } | |
280 | 281 | else { | |
281 | - | let | |
282 | - | $Tuple2([StringEntry( | |
282 | + | let au = (parseIntValue(ao) - parseIntValue(ax)) | |
283 | + | $Tuple2([StringEntry(s(n, o, r), t(an, toString(au))), DeleteEntry(w(n, o, r, toString(M.caller)))], unit) | |
283 | 284 | } | |
284 | - | | |
285 | + | az | |
285 | 286 | } | |
286 | 287 | else throw("Strict value is not equal to itself.") | |
287 | 288 | } | |
288 | 289 | ||
289 | 290 | ||
290 | 291 | ||
291 | - | @Callable( | |
292 | - | func setFee ( | |
293 | - | let | |
294 | - | if (( | |
295 | - | then [IntegerEntry(b, | |
292 | + | @Callable(M) | |
293 | + | func setFee (aA) = { | |
294 | + | let ab = [L(M)] | |
295 | + | if ((ab == ab)) | |
296 | + | then [IntegerEntry(b, aA)] | |
296 | 297 | else throw("Strict value is not equal to itself.") | |
297 | 298 | } | |
298 | 299 | ||
299 | 300 | ||
300 | 301 | ||
301 | - | @Callable( | |
302 | + | @Callable(M) | |
302 | 303 | func finalize (n,o) = { | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
304 | + | let r = value(getInteger(m(n, o))) | |
305 | + | let al = (value(getInteger(q(n, o, r))) + value(getInteger(d))) | |
306 | + | let ab = [if (isDefined(getInteger(m(n, o)))) | |
306 | 307 | then true | |
307 | - | else throw("no assets pair"), if ((height >= | |
308 | + | else throw("no assets pair"), if ((height >= al)) | |
308 | 309 | then true | |
309 | 310 | else throw("insufficient height for completion")] | |
310 | - | if (( | |
311 | + | if ((ab == ab)) | |
311 | 312 | then { | |
312 | - | let | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
313 | + | let am = split(value(getString(s(n, o, r))), a) | |
314 | + | let an = parseIntValue(am[1]) | |
315 | + | let ao = parseIntValue(am[2]) | |
316 | + | let az = if ((an > ao)) | |
316 | 317 | then { | |
317 | - | let | |
318 | - | if (( | |
318 | + | let aB = invoke(G, "setPoolLabels", [n, o, "WX_EMISSION"], nil) | |
319 | + | if ((aB == aB)) | |
319 | 320 | then $Tuple2([DeleteEntry(m(n, o))], unit) | |
320 | 321 | else throw("Strict value is not equal to itself.") | |
321 | 322 | } | |
322 | 323 | else $Tuple2([DeleteEntry(m(n, o))], unit) | |
323 | - | | |
324 | + | az | |
324 | 325 | } | |
325 | 326 | else throw("Strict value is not equal to itself.") | |
326 | 327 | } | |
327 | 328 | ||
328 | 329 | ||
329 | 330 | ||
330 | - | @Callable( | |
331 | - | func setManager ( | |
332 | - | let | |
333 | - | if (( | |
331 | + | @Callable(M) | |
332 | + | func setManager (aC) = { | |
333 | + | let aD = L(M) | |
334 | + | if ((aD == aD)) | |
334 | 335 | then { | |
335 | - | let | |
336 | - | if (( | |
337 | - | then [StringEntry( | |
336 | + | let aE = fromBase58String(aC) | |
337 | + | if ((aE == aE)) | |
338 | + | then [StringEntry(C(), aC)] | |
338 | 339 | else throw("Strict value is not equal to itself.") | |
339 | 340 | } | |
340 | 341 | else throw("Strict value is not equal to itself.") | |
341 | 342 | } | |
342 | 343 | ||
343 | 344 | ||
344 | 345 | ||
345 | - | @Callable( | |
346 | + | @Callable(M) | |
346 | 347 | func confirmManager () = { | |
347 | - | let | |
348 | - | let | |
348 | + | let aF = K() | |
349 | + | let aG = if (isDefined(aF)) | |
349 | 350 | then true | |
350 | 351 | else throw("no pending manager") | |
351 | - | if (( | |
352 | + | if ((aG == aG)) | |
352 | 353 | then { | |
353 | - | let | |
354 | + | let aH = if ((M.callerPublicKey == value(aF))) | |
354 | 355 | then true | |
355 | 356 | else throw("you are not pending manager") | |
356 | - | if (( | |
357 | - | then [StringEntry( | |
357 | + | if ((aH == aH)) | |
358 | + | then [StringEntry(B(), toBase58String(value(aF))), DeleteEntry(C())] | |
358 | 359 | else throw("Strict value is not equal to itself.") | |
359 | 360 | } | |
360 | 361 | else throw("Strict value is not equal to itself.") | |
361 | 362 | } | |
362 | 363 | ||
363 | 364 | ||
364 | - | @Verifier( | |
365 | - | func | |
366 | - | let | |
367 | - | let | |
368 | - | if ($isInstanceOf( | |
365 | + | @Verifier(aI) | |
366 | + | func aJ () = { | |
367 | + | let aK = { | |
368 | + | let I = H() | |
369 | + | if ($isInstanceOf(I, "ByteVector")) | |
369 | 370 | then { | |
370 | - | let | |
371 | - | | |
371 | + | let O = I | |
372 | + | O | |
372 | 373 | } | |
373 | - | else if ($isInstanceOf( | |
374 | - | then | |
374 | + | else if ($isInstanceOf(I, "Unit")) | |
375 | + | then aI.senderPublicKey | |
375 | 376 | else throw("Match error") | |
376 | 377 | } | |
377 | - | sigVerify( | |
378 | + | sigVerify(aI.bodyBytes, aI.proofs[0], aK) | |
378 | 379 | } | |
379 | 380 |
github/deemru/w8io/169f3d6 184.53 ms ◑