tx · DRwt1DT1VHYy7967QPKo7Lu7MiNDJXm39PW5PzWBguVh 3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3: -0.01400000 Waves 2022.06.06 23:38 [2084982] smart account 3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3 > SELF 0.00000000 Waves
{ "type": 13, "id": "DRwt1DT1VHYy7967QPKo7Lu7MiNDJXm39PW5PzWBguVh", "fee": 1400000, "feeAssetId": null, "timestamp": 1654547977223, "version": 1, "sender": "3MvfyfQejgDK15c6B4uzPK4W9PdtdY5HPv3", "senderPublicKey": "BvVeg8smaC5URu5BzVQBgiAJGww7pTwsKHdiW14QEuAo", "proofs": [ "hXWdkP3JSuaJ1qdKTZ1MkdxLQM7NQVofqe6oh92d1vayHgugFyLMFMrddbqNXuPoPRa9NyxJRefzooCv5b8M3VU" ], "script": "base64:AAIFAAAAAAAAACcIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgAAAAiAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAAJaWR4TFBBc0lkAAAAAAAAAAADAAAAAAlpZHhBbUFzSWQAAAAAAAAAAAQAAAAACWlkeFByQXNJZAAAAAAAAAAABQAAAAAPaWR4RmFjdFN0YWtDbnRyAAAAAAAAAAABAAAAAAVkZWxheQIAAAAJJXNfX2RlbGF5AQAAAAtrZXlGYWN0Q250cgAAAAACAAAAEyVzX19mYWN0b3J5Q29udHJhY3QBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABQlc19fbWFuYWdlclB1YmxpY0tleQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABslc19fcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkBAAAAC2tleVBvb2xBZGRyAAAAAAIAAAAPJXNfX3Bvb2xBZGRyZXNzAQAAAAtrZXlBbXRBc3NldAAAAAAC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UgdG8gcGVyZm9ybSB0aGUgYWN0aW9uBQAAAANuaWwCAAAAASAGAwkAAAAAAAACBQAAAAxlbnN1cmVDYW5HZXQFAAAADGVuc3VyZUNhbkdldAQAAAAEc2V0SQkAA/wAAAAEBQAAAAxwb29sQ29udHJhY3QCAAAABHNldEkJAARMAAAAAgkBAAAAEWxhc3RQdXRPbmVUa25DYWxsAAAAAQUAAAAGY2FsbGVyCQAETAAAAAIFAAAABmhlaWdodAUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAABHNldEkFAAAABHNldEkFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5rY98ew==", "chainId": 84, "height": 2084982, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2xvq2kj9f56vjx5yhwbvJHYp7fUDynUpihfto617bFkA Next: 3Wf7MgTxWf2gGDSkEagdb4BRcUZ7ubCXXtc1gwqKe52y Diff:
Old | New | Differences | |
---|---|---|---|
235 | 235 | if ((Y == Y)) | |
236 | 236 | then { | |
237 | 237 | let at = invoke(F, "setS", [p(), as], nil) | |
238 | - | let au = invoke(F, "setS", [q( | |
238 | + | let au = invoke(F, "setS", [q(height), as], nil) | |
239 | 239 | $Tuple2(nil, $Tuple2(at, au)) | |
240 | 240 | } | |
241 | 241 | else throw("Strict value is not equal to itself.") | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(R) | |
247 | - | func | |
247 | + | func ensureCanGetOrPutOneTkn (t) = { | |
248 | 248 | let Y = W(R) | |
249 | 249 | if ((Y == Y)) | |
250 | 250 | then { | |
254 | 254 | then { | |
255 | 255 | let aw = N | |
256 | 256 | let ax = (aw + value(getInteger(F, h))) | |
257 | - | let ay = ( | |
258 | - | let az = (ax - | |
257 | + | let ay = (height >= ax) | |
258 | + | let az = (ax - height) | |
259 | 259 | if (ay) | |
260 | 260 | then true | |
261 | 261 | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
270 | 270 | then { | |
271 | 271 | let aw = N | |
272 | 272 | let ax = (aw + value(getInteger(F, h))) | |
273 | - | let aB = ( | |
274 | - | let az = (ax - | |
273 | + | let aB = (height >= ax) | |
274 | + | let az = (ax - height) | |
275 | 275 | if (aB) | |
276 | 276 | then true | |
277 | 277 | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
280 | 280 | } | |
281 | 281 | if ((aA == aA)) | |
282 | 282 | then { | |
283 | - | let aC = invoke(F, "setI", [u(t), r], nil) | |
284 | - | if ((aC == aC)) | |
285 | - | then nil | |
286 | - | else throw("Strict value is not equal to itself.") | |
287 | - | } | |
288 | - | else throw("Strict value is not equal to itself.") | |
289 | - | } | |
290 | - | else throw("Strict value is not equal to itself.") | |
291 | - | } | |
292 | - | else throw("Strict value is not equal to itself.") | |
293 | - | } | |
294 | - | ||
295 | - | ||
296 | - | ||
297 | - | @Callable(R) | |
298 | - | func ensureCanPutOneTkn (t) = { | |
299 | - | let Y = W(R) | |
300 | - | if ((Y == Y)) | |
301 | - | then { | |
302 | - | let av = { | |
303 | - | let N = getInteger(F, u(t)) | |
304 | - | if ($isInstanceOf(N, "Int")) | |
305 | - | then { | |
306 | - | let aw = N | |
307 | - | let ax = (aw + value(getInteger(F, h))) | |
308 | - | let ay = (r >= ax) | |
309 | - | let az = (ax - r) | |
310 | - | if (ay) | |
311 | - | then true | |
312 | - | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
313 | - | } | |
314 | - | else true | |
315 | - | } | |
316 | - | if ((av == av)) | |
317 | - | then { | |
318 | - | let aA = { | |
319 | - | let N = getInteger(F, s(t)) | |
320 | - | if ($isInstanceOf(N, "Int")) | |
321 | - | then { | |
322 | - | let aw = N | |
323 | - | let ax = (aw + value(getInteger(F, h))) | |
324 | - | let aB = (r >= ax) | |
325 | - | let az = (ax - r) | |
326 | - | if (aB) | |
327 | - | then true | |
328 | - | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
329 | - | } | |
330 | - | else true | |
331 | - | } | |
332 | - | if ((aA == aA)) | |
333 | - | then { | |
334 | - | let aC = invoke(F, "setI", [u(t), r], nil) | |
283 | + | let aC = invoke(F, "setI", [u(t), height], nil) | |
335 | 284 | if ((aC == aC)) | |
336 | 285 | then nil | |
337 | 286 | else throw("Strict value is not equal to itself.") |
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 = "" | |
7 | 7 | ||
8 | 8 | let c = 1 | |
9 | 9 | ||
10 | 10 | let d = 3 | |
11 | 11 | ||
12 | 12 | let e = 4 | |
13 | 13 | ||
14 | 14 | let f = 5 | |
15 | 15 | ||
16 | 16 | let g = 1 | |
17 | 17 | ||
18 | 18 | let h = "%s__delay" | |
19 | 19 | ||
20 | 20 | func i () = "%s__factoryContract" | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func j () = "%s__managerPublicKey" | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func k () = "%s__pendingManagerPublicKey" | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func l () = "%s__poolAddress" | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func m () = "%s__amountAsset" | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func n () = "%s__priceAsset" | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func o () = "%s__adminPubKeys" | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func p () = "%s__amp" | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func q (r) = ("%s%d__amp__" + toString(r)) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func s (t) = makeString(["%s%s__lastGetOneTknCall", t], a) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func v () = "%s__factoryConfig" | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config") | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], "")) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func E (C,D) = valueOrErrorMessage(getInteger(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], "")) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | let F = addressFromStringValue(B(this, l())) | |
69 | 69 | ||
70 | 70 | let G = addressFromStringValue(B(F, i())) | |
71 | 71 | ||
72 | 72 | func H () = { | |
73 | 73 | let I = B(F, m()) | |
74 | 74 | let J = B(F, n()) | |
75 | 75 | let K = E(G, z(J)) | |
76 | 76 | let x = E(G, z(I)) | |
77 | 77 | split(B(G, w(toString(x), toString(K))), a) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func L () = split(B(G, v()), a) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func M () = { | |
85 | 85 | let N = getString(j()) | |
86 | 86 | if ($isInstanceOf(N, "String")) | |
87 | 87 | then { | |
88 | 88 | let O = N | |
89 | 89 | fromBase58String(O) | |
90 | 90 | } | |
91 | 91 | else if ($isInstanceOf(N, "Unit")) | |
92 | 92 | then unit | |
93 | 93 | else throw("Match error") | |
94 | 94 | } | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func P () = { | |
98 | 98 | let N = getString(k()) | |
99 | 99 | if ($isInstanceOf(N, "String")) | |
100 | 100 | then { | |
101 | 101 | let O = N | |
102 | 102 | fromBase58String(O) | |
103 | 103 | } | |
104 | 104 | else if ($isInstanceOf(N, "Unit")) | |
105 | 105 | then unit | |
106 | 106 | else throw("Match error") | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Q (R) = { | |
111 | 111 | let S = throw("Permission denied") | |
112 | 112 | let N = M() | |
113 | 113 | if ($isInstanceOf(N, "ByteVector")) | |
114 | 114 | then { | |
115 | 115 | let T = N | |
116 | 116 | if ((R.callerPublicKey == T)) | |
117 | 117 | then true | |
118 | 118 | else S | |
119 | 119 | } | |
120 | 120 | else if ($isInstanceOf(N, "Unit")) | |
121 | 121 | then if ((R.caller == this)) | |
122 | 122 | then true | |
123 | 123 | else S | |
124 | 124 | else throw("Match error") | |
125 | 125 | } | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func U () = { | |
129 | 129 | let N = getString(o()) | |
130 | 130 | if ($isInstanceOf(N, "String")) | |
131 | 131 | then { | |
132 | 132 | let O = N | |
133 | 133 | if ((size(O) == 0)) | |
134 | 134 | then nil | |
135 | 135 | else split(O, a) | |
136 | 136 | } | |
137 | 137 | else nil | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func V (R) = if (containsElement(U(), toBase58String(R.callerPublicKey))) | |
142 | 142 | then true | |
143 | 143 | else Q(R) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func W (R) = if ((R.caller == F)) | |
147 | 147 | then true | |
148 | 148 | else throw("caller must be the pool") | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | @Callable(R) | |
152 | 152 | func constructor (X) = { | |
153 | 153 | let Y = Q(R) | |
154 | 154 | if ((Y == Y)) | |
155 | 155 | then [StringEntry(l(), X)] | |
156 | 156 | else throw("Strict value is not equal to itself.") | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | ||
161 | 161 | @Callable(R) | |
162 | 162 | func setManager (Z) = { | |
163 | 163 | let Y = Q(R) | |
164 | 164 | if ((Y == Y)) | |
165 | 165 | then { | |
166 | 166 | let aa = fromBase58String(Z) | |
167 | 167 | if ((aa == aa)) | |
168 | 168 | then [StringEntry(k(), Z)] | |
169 | 169 | else throw("Strict value is not equal to itself.") | |
170 | 170 | } | |
171 | 171 | else throw("Strict value is not equal to itself.") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | @Callable(R) | |
177 | 177 | func confirmManager () = { | |
178 | 178 | let ab = P() | |
179 | 179 | let ac = if (isDefined(ab)) | |
180 | 180 | then true | |
181 | 181 | else throw("No pending manager") | |
182 | 182 | if ((ac == ac)) | |
183 | 183 | then { | |
184 | 184 | let ad = if ((R.callerPublicKey == value(ab))) | |
185 | 185 | then true | |
186 | 186 | else throw("You are not pending manager") | |
187 | 187 | if ((ad == ad)) | |
188 | 188 | then [StringEntry(j(), toBase58String(value(ab))), DeleteEntry(k())] | |
189 | 189 | else throw("Strict value is not equal to itself.") | |
190 | 190 | } | |
191 | 191 | else throw("Strict value is not equal to itself.") | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | ||
196 | 196 | @Callable(R) | |
197 | 197 | func setAdmins (ae) = { | |
198 | 198 | let Y = Q(R) | |
199 | 199 | if ((Y == Y)) | |
200 | 200 | then [StringEntry(o(), makeString(ae, a))] | |
201 | 201 | else throw("Strict value is not equal to itself.") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(R) | |
207 | 207 | func unstakeAndGetOneTkn (af,ag,ah,ai,aj,ak) = { | |
208 | 208 | let al = if ((size(R.payments) != 0)) | |
209 | 209 | then throw("No pmnts expd") | |
210 | 210 | else true | |
211 | 211 | if ((al == al)) | |
212 | 212 | then { | |
213 | 213 | let am = H() | |
214 | 214 | let an = L() | |
215 | 215 | let ao = fromBase58String(am[d]) | |
216 | 216 | let ap = valueOrErrorMessage(addressFromString(an[g]), "Wr st addr") | |
217 | 217 | let aq = invoke(ap, "unstake", [toBase58String(ao), af], nil) | |
218 | 218 | if ((aq == aq)) | |
219 | 219 | then { | |
220 | 220 | let ar = invoke(F, "getOneTkn", [ag, ah, ai, aj, ak], [AttachedPayment(ao, af)]) | |
221 | 221 | if ((ar == ar)) | |
222 | 222 | then nil | |
223 | 223 | else throw("Strict value is not equal to itself.") | |
224 | 224 | } | |
225 | 225 | else throw("Strict value is not equal to itself.") | |
226 | 226 | } | |
227 | 227 | else throw("Strict value is not equal to itself.") | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | ||
232 | 232 | @Callable(R) | |
233 | 233 | func setAmp (as) = { | |
234 | 234 | let Y = V(R) | |
235 | 235 | if ((Y == Y)) | |
236 | 236 | then { | |
237 | 237 | let at = invoke(F, "setS", [p(), as], nil) | |
238 | - | let au = invoke(F, "setS", [q( | |
238 | + | let au = invoke(F, "setS", [q(height), as], nil) | |
239 | 239 | $Tuple2(nil, $Tuple2(at, au)) | |
240 | 240 | } | |
241 | 241 | else throw("Strict value is not equal to itself.") | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(R) | |
247 | - | func | |
247 | + | func ensureCanGetOrPutOneTkn (t) = { | |
248 | 248 | let Y = W(R) | |
249 | 249 | if ((Y == Y)) | |
250 | 250 | then { | |
251 | 251 | let av = { | |
252 | 252 | let N = getInteger(F, u(t)) | |
253 | 253 | if ($isInstanceOf(N, "Int")) | |
254 | 254 | then { | |
255 | 255 | let aw = N | |
256 | 256 | let ax = (aw + value(getInteger(F, h))) | |
257 | - | let ay = ( | |
258 | - | let az = (ax - | |
257 | + | let ay = (height >= ax) | |
258 | + | let az = (ax - height) | |
259 | 259 | if (ay) | |
260 | 260 | then true | |
261 | 261 | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
262 | 262 | } | |
263 | 263 | else true | |
264 | 264 | } | |
265 | 265 | if ((av == av)) | |
266 | 266 | then { | |
267 | 267 | let aA = { | |
268 | 268 | let N = getInteger(F, s(t)) | |
269 | 269 | if ($isInstanceOf(N, "Int")) | |
270 | 270 | then { | |
271 | 271 | let aw = N | |
272 | 272 | let ax = (aw + value(getInteger(F, h))) | |
273 | - | let aB = ( | |
274 | - | let az = (ax - | |
273 | + | let aB = (height >= ax) | |
274 | + | let az = (ax - height) | |
275 | 275 | if (aB) | |
276 | 276 | then true | |
277 | 277 | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
278 | 278 | } | |
279 | 279 | else true | |
280 | 280 | } | |
281 | 281 | if ((aA == aA)) | |
282 | 282 | then { | |
283 | - | let aC = invoke(F, "setI", [u(t), r], nil) | |
284 | - | if ((aC == aC)) | |
285 | - | then nil | |
286 | - | else throw("Strict value is not equal to itself.") | |
287 | - | } | |
288 | - | else throw("Strict value is not equal to itself.") | |
289 | - | } | |
290 | - | else throw("Strict value is not equal to itself.") | |
291 | - | } | |
292 | - | else throw("Strict value is not equal to itself.") | |
293 | - | } | |
294 | - | ||
295 | - | ||
296 | - | ||
297 | - | @Callable(R) | |
298 | - | func ensureCanPutOneTkn (t) = { | |
299 | - | let Y = W(R) | |
300 | - | if ((Y == Y)) | |
301 | - | then { | |
302 | - | let av = { | |
303 | - | let N = getInteger(F, u(t)) | |
304 | - | if ($isInstanceOf(N, "Int")) | |
305 | - | then { | |
306 | - | let aw = N | |
307 | - | let ax = (aw + value(getInteger(F, h))) | |
308 | - | let ay = (r >= ax) | |
309 | - | let az = (ax - r) | |
310 | - | if (ay) | |
311 | - | then true | |
312 | - | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
313 | - | } | |
314 | - | else true | |
315 | - | } | |
316 | - | if ((av == av)) | |
317 | - | then { | |
318 | - | let aA = { | |
319 | - | let N = getInteger(F, s(t)) | |
320 | - | if ($isInstanceOf(N, "Int")) | |
321 | - | then { | |
322 | - | let aw = N | |
323 | - | let ax = (aw + value(getInteger(F, h))) | |
324 | - | let aB = (r >= ax) | |
325 | - | let az = (ax - r) | |
326 | - | if (aB) | |
327 | - | then true | |
328 | - | else throw(makeString(["you should wait", toString(az), "blocks more to perform the action"], " ")) | |
329 | - | } | |
330 | - | else true | |
331 | - | } | |
332 | - | if ((aA == aA)) | |
333 | - | then { | |
334 | - | let aC = invoke(F, "setI", [u(t), r], nil) | |
283 | + | let aC = invoke(F, "setI", [u(t), height], nil) | |
335 | 284 | if ((aC == aC)) | |
336 | 285 | then nil | |
337 | 286 | else throw("Strict value is not equal to itself.") | |
338 | 287 | } | |
339 | 288 | else throw("Strict value is not equal to itself.") | |
340 | 289 | } | |
341 | 290 | else throw("Strict value is not equal to itself.") | |
342 | 291 | } | |
343 | 292 | else throw("Strict value is not equal to itself.") | |
344 | 293 | } | |
345 | 294 | ||
346 | 295 | ||
347 | 296 | @Verifier(aD) | |
348 | 297 | func aE () = { | |
349 | 298 | let aF = { | |
350 | 299 | let N = M() | |
351 | 300 | if ($isInstanceOf(N, "ByteVector")) | |
352 | 301 | then { | |
353 | 302 | let T = N | |
354 | 303 | T | |
355 | 304 | } | |
356 | 305 | else if ($isInstanceOf(N, "Unit")) | |
357 | 306 | then aD.senderPublicKey | |
358 | 307 | else throw("Match error") | |
359 | 308 | } | |
360 | 309 | sigVerify(aD.bodyBytes, aD.proofs[0], aF) | |
361 | 310 | } | |
362 | 311 |
github/deemru/w8io/169f3d6 68.78 ms ◑