tx · 4KCq3DJDXS3JC2Yjw5ygS9nK9YtTP3eJouE1x76vHZaM

3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP:  -0.01500000 Waves

2023.06.09 18:03 [2615284] smart account 3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP > SELF 0.00000000 Waves

{ "type": 13, "id": "4KCq3DJDXS3JC2Yjw5ygS9nK9YtTP3eJouE1x76vHZaM", "fee": 1500000, "feeAssetId": null, "timestamp": 1686323049875, "version": 2, "chainId": 84, "sender": "3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP", "senderPublicKey": "AoKo4segKHU4DeJnxXQYJj2u7J6XJeux6r8KLW52cd2Q", "proofs": [ "3qFzMVU3k14RsxnoeowY7MkVYTRfdz4f9z9QFQCBkYpqPpnxoRNqjist7VN9TC2xMQe8DpVGDmXUardkqaUWVQzN" ], "script": "base64:BwIqCAISAwoBAhIGCgQBAQEBEgMKAQISAwoBAhIECgICAhIECgICAhIDCgECHwADU0VQAgJfXwANQ09OVFJBQ1RfTkFNRQIPY2FsY3VsYXRvci5yaWRlAAZTQ0FMRTgAgMLXLwAHUEVORElORwIHUEVORElORwAIRklOSVNIRUQCCEZJTklTSEVEAQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUNQ09OVFJBQ1RfTkFNRQICOiAFAXMBCHRocm93RXJyAQFzCQACAQkBB3dyYXBFcnIBBQFzARFrZXlGYWN0b3J5QWRkcmVzcwAJALkJAgkAzAgCAgIlcwkAzAgCAgdmYWN0b3J5BQNuaWwFA1NFUAEMa2V5THBBc3NldElkAAkAuQkCCQDMCAICAiVzCQDMCAICCWxwQXNzZXRJZAUDbmlsBQNTRVABEmtleVRyZWFzdXJ5QWRkcmVzcwAJALkJAgkAzAgCAgIlcwkAzAgCAgh0cmVhc3VyeQUDbmlsBQNTRVABDGtleUF2YWlsYWJsZQELdXNlckFkZHJlc3MJALkJAgkAzAgCAgQlcyVzCQDMCAICCWF2YWlsYWJsZQkAzAgCCQCl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lc3NPckZhaWwCDXRyYW5zZmVyV2F2ZXMJAMwIAgUQdXNlckFkZHJlc3NCeXRlcwkAzAgCBQxjYWxsZXJSZXdhcmQFA25pbAUDbmlsCQDMCAIJAPwHBAUUZmFjdG9yeUFkZHJlc3NPckZhaWwCDGludGVnZXJFbnRyeQkAzAgCCQEVa2V5TmV4dEJsb2NrVG9Qcm9jZXNzAAkAzAgCCQBkAgUSbmV4dEJsb2NrVG9Qcm9jZXNzBRlibG9ja3NQcm9jZXNzaW5nQmF0Y2hTaXplBQNuaWwFA25pbAUDbmlsAwkAAAIFB2FjdGlvbnMFB2FjdGlvbnMJAJQKAgUDbmlsBQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tledfjCME=", "height": 2615284, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G3AFXw36cGdNo4g61Ds1njQrrZrhGSA1VScd5uaThvJF Next: CvnY1vTbUp4gwZNxTZg7RLxp17EYtPb2AtY7DxKzepZz Diff:
OldNewDifferences
350350 let av = valueOrErrorMessage(getInteger(K, p(ar)), f("invalid price"))
351351 let aF = valueOrErrorMessage(getInteger(K, u()), f("invalid next block to process"))
352352 let aG = ((aE + aD) - 1)
353- let aH = 5
353+ let aH = 50
354354 let aI = if (if (if ((height >= aF))
355355 then if ((aF >= aE))
356356 then true
374374 let B = if ((av > 0))
375375 then fraction((aR - aK), c, av)
376376 else 0
377- let aT = [invoke(K, "integerEntry", [v(aP), B], nil), invoke(K, "integerEntry", [l(aS), (aj + B)], nil)]
378- if ((aT == aT))
379- then {
380- let aU = if ((aO == (aI - 1)))
381- then (aK + aL)
382- else aK
383- (aN + aU)
384- }
377+ let aT = if ((aO == (aI - 1)))
378+ then (aK + aL)
379+ else aK
380+ let aU = [invoke(K, "integerEntry", [v(aP), makeString([toBase58String(S.transactionId), toBase58String(ah), toString(aR), toString(aT), toString(B)], a)], nil), invoke(K, "integerEntry", [l(aS), (aj + B)], nil)]
381+ if ((aU == aU))
382+ then (aN + aT)
385383 else throw("Strict value is not equal to itself.")
386384 }
387385
388- let aU = {
389- let aV = [0, 1, 2, 3, 4]
390- let aW = size(aV)
391- let aX = 0
392- func aY (aZ,ba) = if ((ba >= aW))
393- then aZ
394- else aM(aZ, aV[ba])
386+ let aV = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]
387+ let aT = {
388+ let aW = aV
389+ let aX = size(aW)
390+ let aY = 0
391+ func aZ (ba,bb) = if ((bb >= aX))
392+ then ba
393+ else aM(ba, aW[bb])
395394
396- func bb (aZ,ba) = if ((ba >= aW))
397- then aZ
398- else throw("List size exceeds 5")
395+ func bc (ba,bb) = if ((bb >= aX))
396+ then ba
397+ else throw("List size exceeds 50")
399398
400- bb(aY(aY(aY(aY(aY(aX, 0), 1), 2), 3), 4), 5)
399+ bc(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aY, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
401400 }
402- if ((aU == aU))
401+ if ((aT == aT))
403402 then {
404- let bc = [invoke(K, "transferWaves", [ah, aU], nil), invoke(K, "integerEntry", [u(), (aF + aI)], nil)]
405- if ((bc == bc))
403+ let bd = [invoke(K, "transferWaves", [ah, aT], nil), invoke(K, "integerEntry", [u(), (aF + aI)], nil)]
404+ if ((bd == bd))
406405 then $Tuple2(nil, unit)
407406 else throw("Strict value is not equal to itself.")
408407 }
412411 }
413412
414413
415-@Verifier(bd)
416-func be () = sigVerify(bd.bodyBytes, bd.proofs[0], bd.senderPublicKey)
414+@Verifier(be)
415+func bf () = sigVerify(be.bodyBytes, be.proofs[0], be.senderPublicKey)
417416
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "calculator.ride"
77
88 let c = 100000000
99
1010 let d = "PENDING"
1111
1212 let e = "FINISHED"
1313
1414 func f (g) = ((b + ": ") + g)
1515
1616
1717 func h (g) = throw(f(g))
1818
1919
2020 func i () = makeString(["%s", "factory"], a)
2121
2222
2323 func j () = makeString(["%s", "lpAssetId"], a)
2424
2525
2626 func k () = makeString(["%s", "treasury"], a)
2727
2828
2929 func l (m) = makeString(["%s%s", "available", toString(m)], a)
3030
3131
3232 func n (m) = makeString(["%s%s", "claimed", toString(m)], a)
3333
3434
3535 func o () = makeString(["%s", "currentPeriod"], a)
3636
3737
3838 func p (q) = makeString(["%s%d", "price", toString(q)], a)
3939
4040
4141 func r (q) = makeString(["%s%d", "startHeight", toString(q)], a)
4242
4343
4444 func s () = "%s__periodLength"
4545
4646
4747 func t () = "%s__blockProcessingReward"
4848
4949
5050 func u () = "%s__nextBlockToProcess"
5151
5252
5353 func v (w) = makeString(["%s%d", "blockProcessed", toString(w)], a)
5454
5555
5656 func x (m,y) = makeString(["%s%s%s", "withdrawal", toString(m), toBase58String(y)], a)
5757
5858
5959 func z (A,B,C,D) = {
6060 let E = {
6161 let F = D
6262 if ($isInstanceOf(F, "ByteVector"))
6363 then {
6464 let G = F
6565 toBase58String(G)
6666 }
6767 else if ($isInstanceOf(F, "Unit"))
6868 then "SOON"
6969 else throw("Match error")
7070 }
7171 makeString(["%s%d%d%s", A, toString(B), toString(C), E], a)
7272 }
7373
7474
7575 func H (g) = {
7676 let I = split(g, a)
7777 if ((size(I) == 5))
7878 then {
7979 let A = I[1]
8080 let B = valueOrErrorMessage(parseInt(I[2]), f("invalid lpAssetAmount"))
8181 let C = valueOrErrorMessage(parseInt(I[3]), f("invalid targetPeriod"))
8282 let D = I[4]
8383 $Tuple4(A, B, C, D)
8484 }
8585 else h("invalid withdrawal request value")
8686 }
8787
8888
8989 let J = {
9090 let F = getString(this, i())
9191 if ($isInstanceOf(F, "String"))
9292 then {
9393 let g = F
9494 addressFromString(g)
9595 }
9696 else if ($isInstanceOf(F, "Unit"))
9797 then unit
9898 else throw("Match error")
9999 }
100100
101101 let K = valueOrErrorMessage(J, f("invalid factory address"))
102102
103103 let L = {
104104 let F = J
105105 if ($isInstanceOf(F, "Address"))
106106 then {
107107 let M = F
108108 let N = getString(M, j())
109109 if ($isInstanceOf(N, "String"))
110110 then {
111111 let g = N
112112 fromBase58String(g)
113113 }
114114 else if ($isInstanceOf(N, "Unit"))
115115 then unit
116116 else throw("Match error")
117117 }
118118 else if ($isInstanceOf(F, "Unit"))
119119 then unit
120120 else throw("Match error")
121121 }
122122
123123 let O = valueOrErrorMessage(L, f("invalid lpAssetId"))
124124
125125 let P = {
126126 let F = J
127127 if ($isInstanceOf(F, "Address"))
128128 then {
129129 let M = F
130130 let N = getString(M, k())
131131 if ($isInstanceOf(N, "String"))
132132 then {
133133 let g = N
134134 addressFromString(g)
135135 }
136136 else if ($isInstanceOf(N, "Unit"))
137137 then unit
138138 else throw("Match error")
139139 }
140140 else if ($isInstanceOf(F, "Unit"))
141141 then unit
142142 else throw("Match error")
143143 }
144144
145145 let Q = valueOrErrorMessage(P, f("invalid treasury address"))
146146
147147 func R (S,T) = if ((S.caller == T))
148148 then true
149149 else h("permission denied")
150150
151151
152152 func U (S) = R(S, K)
153153
154154
155155 func V (W,X) = {
156156 let g = size(W)
157157 let Y = W[0]
158158 let Z = Y._1
159159 let aa = Y._2
160160 let ab = W[1]
161161 let ac = ab._1
162162 let ad = ab._2
163163 let ae = W[2]
164164 let af = ae._1
165165 let ag = ae._2
166166 if (if ((g > 0))
167167 then (Z == X)
168168 else false)
169169 then aa
170170 else if (if ((g > 1))
171171 then (ac == X)
172172 else false)
173173 then ad
174174 else if (if ((g > 2))
175175 then (af == X)
176176 else false)
177177 then ag
178178 else unit
179179 }
180180
181181
182182 @Callable(S)
183183 func claimLP (ah) = {
184184 let ai = U(S)
185185 if ((ai == ai))
186186 then {
187187 let m = Address(ah)
188188 let aj = valueOrElse(getInteger(K, l(m)), 0)
189189 let ak = valueOrElse(getInteger(K, n(m)), 0)
190190 let al = if ((aj > 0))
191191 then [invoke(K, "transferAsset", [ah, aj, O], nil), invoke(K, "integerEntry", [l(m), 0], nil), invoke(K, "stringEntry", [n(m), (ak + aj)], nil)]
192192 else h("nothing to claim")
193193 $Tuple2(nil, al)
194194 }
195195 else throw("Strict value is not equal to itself.")
196196 }
197197
198198
199199
200200 @Callable(S)
201201 func finalize (am,an,ao,ap) = {
202202 let aq = [if ((S.originCaller == K))
203203 then true
204204 else h("permission denied"), if ((am >= 0))
205205 then true
206206 else h("invalid new treasury volume"), if ((an >= 0))
207207 then true
208208 else h("invalid XTN price"), if (if ((ao >= 0))
209209 then (c >= ao)
210210 else false)
211211 then true
212212 else h("invalid PWR managers bonus"), if (if ((ap >= -(c)))
213213 then (c >= ap)
214214 else false)
215215 then true
216216 else h("invalid treasury volume diff allocation coefficient")]
217217 if ((aq == aq))
218218 then {
219219 let ar = valueOrErrorMessage(getInteger(K, o()), f("invalid period"))
220220 let as = (ar + 1)
221221 let at = c
222222 let au = 0
223223 let al = [invoke(K, "integerEntry", [o(), as], nil), invoke(K, "integerEntry", [p(as), at], nil), invoke(K, "burn", [au], nil)]
224224 $Tuple2(nil, al)
225225 }
226226 else throw("Strict value is not equal to itself.")
227227 }
228228
229229
230230
231231 @Callable(S)
232232 func invest (ah) = {
233233 let ai = U(S)
234234 if ((ai == ai))
235235 then {
236236 let m = Address(ah)
237237 let ar = valueOrErrorMessage(getInteger(K, o()), f("invalid period"))
238238 let av = valueOrErrorMessage(getInteger(K, p(ar)), f("invalid price"))
239239 let aw = if ((size(S.payments) == 1))
240240 then S.payments[0]
241241 else h("invalid payments")
242242 let ax = if (if ((aw.assetId == unit))
243243 then (aw.amount > 0)
244244 else false)
245245 then aw.amount
246246 else h("invalid payment amount")
247247 let B = if ((av > 0))
248248 then fraction(ax, c, av)
249249 else 0
250250 let al = [invoke(K, "integerEntry", ["invested__WAVES", 0], nil), invoke(K, "reissue", [B], nil), invoke(K, "transferAsset", [ah, B, O], nil), invoke(K, "transferWaves", [Q.bytes, ax], [AttachedPayment(unit, ax)])]
251251 $Tuple2(nil, al)
252252 }
253253 else throw("Strict value is not equal to itself.")
254254 }
255255
256256
257257
258258 @Callable(S)
259259 func withdraw (ah) = {
260260 let ai = U(S)
261261 if ((ai == ai))
262262 then {
263263 let m = Address(ah)
264264 let ar = valueOrErrorMessage(getInteger(K, o()), f("invalid period"))
265265 let aw = if ((size(S.payments) == 1))
266266 then S.payments[0]
267267 else h(f("invalid payments"))
268268 let ay = if ((aw.assetId == O))
269269 then O
270270 else h("invalid payment asset")
271271 let ax = if ((aw.amount > 0))
272272 then aw.amount
273273 else h("invalid payment amount")
274274 let al = [invoke(K, "stringEntry", [x(m, S.transactionId), z(d, ax, (ar + 1), unit)], nil)]
275275 if ((al == al))
276276 then $Tuple2([ScriptTransfer(K, ax, ay)], al)
277277 else throw("Strict value is not equal to itself.")
278278 }
279279 else throw("Strict value is not equal to itself.")
280280 }
281281
282282
283283
284284 @Callable(S)
285285 func cancelWithdraw (ah,y) = {
286286 let ai = U(S)
287287 if ((ai == ai))
288288 then {
289289 let m = Address(ah)
290290 let az = valueOrErrorMessage(getString(K, x(m, y)), f("invalid withdrawal request"))
291291 let aA = H(az)
292292 let A = aA._1
293293 let B = aA._2
294294 let C = aA._3
295295 let D = aA._4
296296 if ((A == d))
297297 then {
298298 let al = [invoke(K, "deleteEntry", [x(m, y)], nil), invoke(K, "transferAsset", [ah, B, O], nil)]
299299 if ((al == al))
300300 then $Tuple2(nil, al)
301301 else throw("Strict value is not equal to itself.")
302302 }
303303 else h("invalid withdrawal request status")
304304 }
305305 else throw("Strict value is not equal to itself.")
306306 }
307307
308308
309309
310310 @Callable(S)
311311 func claimWaves (ah,y) = {
312312 let ai = U(S)
313313 if ((ai == ai))
314314 then {
315315 let m = Address(ah)
316316 let ar = valueOrErrorMessage(getInteger(K, o()), f("invalid period"))
317317 let az = valueOrErrorMessage(getString(K, x(m, y)), f("invalid withdrawal request"))
318318 let aB = H(az)
319319 let A = aB._1
320320 let B = aB._2
321321 let C = aB._3
322322 let D = aB._4
323323 if ((A == e))
324324 then h("invalid withdrawal request status")
325325 else if ((C > ar))
326326 then h("invalid withdrawal request period")
327327 else {
328328 let av = valueOrErrorMessage(getInteger(K, p(ar)), f("invalid price"))
329329 let aC = if ((av > 0))
330330 then fraction(B, av, c)
331331 else 0
332332 let al = [invoke(K, "stringEntry", [x(m, y), z(e, B, C, S.transactionId)], nil), invoke(K, "burn", [B], nil), invoke(K, "transferWaves", [ah, aC], nil)]
333333 $Tuple2(nil, al)
334334 }
335335 }
336336 else throw("Strict value is not equal to itself.")
337337 }
338338
339339
340340
341341 @Callable(S)
342342 func processBlocks (ah) = {
343343 let ai = U(S)
344344 if ((ai == ai))
345345 then {
346346 let m = Address(ah)
347347 let ar = valueOrErrorMessage(getInteger(K, o()), f("invalid period"))
348348 let aD = valueOrErrorMessage(getInteger(K, s()), f("invalid period length"))
349349 let aE = valueOrErrorMessage(getInteger(K, r(ar)), f("invalid start height"))
350350 let av = valueOrErrorMessage(getInteger(K, p(ar)), f("invalid price"))
351351 let aF = valueOrErrorMessage(getInteger(K, u()), f("invalid next block to process"))
352352 let aG = ((aE + aD) - 1)
353- let aH = 5
353+ let aH = 50
354354 let aI = if (if (if ((height >= aF))
355355 then if ((aF >= aE))
356356 then true
357357 else (ar == 0)
358358 else false)
359359 then (aG >= aF)
360360 else false)
361361 then min([((aG - aF) + 1), aH])
362362 else h(f("invalid target block"))
363363 let aJ = valueOrErrorMessage(getInteger(K, t()), f("invalid block processing reward"))
364364 let aK = (aJ / aI)
365365 let aL = (aJ - (aK * aI))
366366 func aM (aN,aO) = if ((aO >= aI))
367367 then aN
368368 else {
369369 let aP = (aF + aO)
370370 let aQ = valueOrErrorMessage(blockInfoByHeight(aP), f("invalid block info"))
371371 let aR = valueOrErrorMessage(V(aQ.rewards, Q), f(("invalid treasury reward for height " + toString(aP))))
372372 let aS = aQ.generator
373373 let aj = valueOrElse(getInteger(K, l(aS)), 0)
374374 let B = if ((av > 0))
375375 then fraction((aR - aK), c, av)
376376 else 0
377- let aT = [invoke(K, "integerEntry", [v(aP), B], nil), invoke(K, "integerEntry", [l(aS), (aj + B)], nil)]
378- if ((aT == aT))
379- then {
380- let aU = if ((aO == (aI - 1)))
381- then (aK + aL)
382- else aK
383- (aN + aU)
384- }
377+ let aT = if ((aO == (aI - 1)))
378+ then (aK + aL)
379+ else aK
380+ let aU = [invoke(K, "integerEntry", [v(aP), makeString([toBase58String(S.transactionId), toBase58String(ah), toString(aR), toString(aT), toString(B)], a)], nil), invoke(K, "integerEntry", [l(aS), (aj + B)], nil)]
381+ if ((aU == aU))
382+ then (aN + aT)
385383 else throw("Strict value is not equal to itself.")
386384 }
387385
388- let aU = {
389- let aV = [0, 1, 2, 3, 4]
390- let aW = size(aV)
391- let aX = 0
392- func aY (aZ,ba) = if ((ba >= aW))
393- then aZ
394- else aM(aZ, aV[ba])
386+ let aV = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]
387+ let aT = {
388+ let aW = aV
389+ let aX = size(aW)
390+ let aY = 0
391+ func aZ (ba,bb) = if ((bb >= aX))
392+ then ba
393+ else aM(ba, aW[bb])
395394
396- func bb (aZ,ba) = if ((ba >= aW))
397- then aZ
398- else throw("List size exceeds 5")
395+ func bc (ba,bb) = if ((bb >= aX))
396+ then ba
397+ else throw("List size exceeds 50")
399398
400- bb(aY(aY(aY(aY(aY(aX, 0), 1), 2), 3), 4), 5)
399+ bc(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aZ(aY, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
401400 }
402- if ((aU == aU))
401+ if ((aT == aT))
403402 then {
404- let bc = [invoke(K, "transferWaves", [ah, aU], nil), invoke(K, "integerEntry", [u(), (aF + aI)], nil)]
405- if ((bc == bc))
403+ let bd = [invoke(K, "transferWaves", [ah, aT], nil), invoke(K, "integerEntry", [u(), (aF + aI)], nil)]
404+ if ((bd == bd))
406405 then $Tuple2(nil, unit)
407406 else throw("Strict value is not equal to itself.")
408407 }
409408 else throw("Strict value is not equal to itself.")
410409 }
411410 else throw("Strict value is not equal to itself.")
412411 }
413412
414413
415-@Verifier(bd)
416-func be () = sigVerify(bd.bodyBytes, bd.proofs[0], bd.senderPublicKey)
414+@Verifier(be)
415+func bf () = sigVerify(be.bodyBytes, be.proofs[0], be.senderPublicKey)
417416

github/deemru/w8io/169f3d6 
59.73 ms