tx · BPuXPPbwKY25ygtVHUECy3c3MpvVYZsAy2BcUvzL5eyy 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.02300000 Waves 2022.11.04 14:20 [2302302] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "BPuXPPbwKY25ygtVHUECy3c3MpvVYZsAy2BcUvzL5eyy", "fee": 2300000, "feeAssetId": null, "timestamp": 1667560823693, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "5jzXfhodQGK71cpRKjor8G8BA8bxoTSjNV7suGsdscFLwKF3N4c8KVrYhWFqX4wgQkVEixkT9gkuAUvr6XNAFDsd" ], "script": "base64:BgKOIggCEgMKAQgSAwoBCBIECgIICBIJCgcBERERGAgYEgcKBRERERgIEgcKBQEBAQgIEgASAwoBCBIECgIIARIECgIIARIECgIIARIDCgEIEgYKBAgBCAESBQoDARgYEgMKARgSAwoBCBIAIgZTQ0FMRTgiBU1VTFQ4IgdTQ0FMRTE4IgZNVUxUMTgiA1NFUCIOUE9PTFdFSUdIVE1VTFQiCnplcm9CaWdJbnQiDmlkeFBvb2xBZGRyZXNzIg1pZHhQb29sU3RhdHVzIhBpZHhQb29sTFBBc3NldElkIg1pZHhBbXRBc3NldElkIg9pZHhQcmljZUFzc2V0SWQiDmlkeEFtdEFzc2V0RGNtIhBpZHhQcmljZUFzc2V0RGNtIg5pZHhJQW10QXNzZXRJZCIQaWR4SVByaWNlQXNzZXRJZCINaWR4TFBBc3NldERjbSIPZ2V0U3RyaW5nT3JGYWlsIgNrZXkiGGdldFN0cmluZ0J5QWRkcmVzc09yRmFpbCIHYWRkcmVzcyIMZ2V0SW50T3JaZXJvIgxnZXRJbnRPckZhaWwiCWFzQW55TGlzdCIDdmFsIgckbWF0Y2gwIgp2YWxBbnlMeXN0I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UcACQDYBAEJAQV2YWx1ZQEFAmRaCQDMCAIJAQtEZWxldGVFbnRyeQEJAQFIAAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJlYwECZWQABAJlZQQBegkBAmJ4AAMJAAECBQF6AgpCeXRlVmVjdG9yBAJiRAUBegUCYkQDCQABAgUBegIEVW5pdAgFAmVjD3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJlYwlib2R5Qnl0ZXMJAJEDAggFAmVjBnByb29mcwAABQJlZX74iNY=", "chainId": 84, "height": 2302302, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: byMgEgVgA9fYon6j6k1Ng6jpKzxHiZaWwApyQj4pgFv Next: DQqwwZr61yWN1U9y8noZSczCh5jN5hfH84asf14E5JEv Diff:
Old | New | Differences | |
---|---|---|---|
238 | 238 | ||
239 | 239 | ||
240 | 240 | func aT (aU) = { | |
241 | - | let aV = fraction( | |
241 | + | let aV = fraction(50, b, 10000) | |
242 | 242 | let aW = "%s__fee" | |
243 | 243 | valueOrElse(getInteger(aU, aW), aV) | |
244 | 244 | } | |
696 | 696 | ||
697 | 697 | ||
698 | 698 | @Callable(bB) | |
699 | - | func getKeysBulkInternal (bN,dT,bT) = if ((bN == size(dT))) | |
699 | + | func unstakeAndGetOneTknV2 (aU,dT,dU,dV) = { | |
700 | + | let cb = invoke(addressFromStringValue(aU), "unstakeAndGetOneTknV2", [dT, dU, dV], nil) | |
701 | + | if ((cb == cb)) | |
702 | + | then $Tuple2(nil, unit) | |
703 | + | else throw("Strict value is not equal to itself.") | |
704 | + | } | |
705 | + | ||
706 | + | ||
707 | + | ||
708 | + | @Callable(bB) | |
709 | + | func getKeysBulkInternal (bN,dW,bT) = if ((bN == size(dW))) | |
700 | 710 | then $Tuple2(nil, bT) | |
701 | 711 | else { | |
702 | - | let cq = split( | |
712 | + | let cq = split(dW[bN], "++") | |
703 | 713 | let bv = addressFromStringValue(cq[0]) | |
704 | 714 | let s = cq[1] | |
705 | 715 | let bw = cq[2] | |
706 | 716 | let y = bu(bv, s, bw) | |
707 | 717 | let ca = (bT :+ y) | |
708 | - | let cb = invoke(this, "getKeysBulkInternal", [(bN + 1), | |
718 | + | let cb = invoke(this, "getKeysBulkInternal", [(bN + 1), dW, ca], nil) | |
709 | 719 | if ((cb == cb)) | |
710 | 720 | then $Tuple2(nil, cb) | |
711 | 721 | else throw("Strict value is not equal to itself.") | |
714 | 724 | ||
715 | 725 | ||
716 | 726 | @Callable(bB) | |
717 | - | func getKeysBulk ( | |
718 | - | let ca = invoke(this, "getKeysBulkInternal", [0, | |
727 | + | func getKeysBulk (dW) = { | |
728 | + | let ca = invoke(this, "getKeysBulkInternal", [0, dW, nil], nil) | |
719 | 729 | $Tuple2(nil, ca) | |
720 | 730 | } | |
721 | 731 | ||
722 | 732 | ||
723 | 733 | ||
724 | 734 | @Callable(bB) | |
725 | - | func setManager ( | |
735 | + | func setManager (dX) = { | |
726 | 736 | let bF = bA(bB) | |
727 | 737 | if ((bF == bF)) | |
728 | 738 | then { | |
729 | - | let | |
730 | - | if (( | |
731 | - | then [StringEntry(H(), | |
739 | + | let dY = fromBase58String(dX) | |
740 | + | if ((dY == dY)) | |
741 | + | then [StringEntry(H(), dX)] | |
732 | 742 | else throw("Strict value is not equal to itself.") | |
733 | 743 | } | |
734 | 744 | else throw("Strict value is not equal to itself.") | |
738 | 748 | ||
739 | 749 | @Callable(bB) | |
740 | 750 | func confirmManager () = { | |
741 | - | let | |
742 | - | let | |
751 | + | let dZ = bz() | |
752 | + | let ea = if (isDefined(dZ)) | |
743 | 753 | then true | |
744 | 754 | else throw("No pending manager") | |
745 | - | if (( | |
755 | + | if ((ea == ea)) | |
746 | 756 | then { | |
747 | - | let | |
757 | + | let eb = if ((bB.callerPublicKey == value(dZ))) | |
748 | 758 | then true | |
749 | 759 | else throw("You are not pending manager") | |
750 | - | if (( | |
751 | - | then [StringEntry(G(), toBase58String(value( | |
760 | + | if ((eb == eb)) | |
761 | + | then [StringEntry(G(), toBase58String(value(dZ))), DeleteEntry(H())] | |
752 | 762 | else throw("Strict value is not equal to itself.") | |
753 | 763 | } | |
754 | 764 | else throw("Strict value is not equal to itself.") | |
755 | 765 | } | |
756 | 766 | ||
757 | 767 | ||
758 | - | @Verifier( | |
759 | - | func | |
760 | - | let | |
768 | + | @Verifier(ec) | |
769 | + | func ed () = { | |
770 | + | let ee = { | |
761 | 771 | let z = bx() | |
762 | 772 | if ($isInstanceOf(z, "ByteVector")) | |
763 | 773 | then { | |
765 | 775 | bD | |
766 | 776 | } | |
767 | 777 | else if ($isInstanceOf(z, "Unit")) | |
768 | - | then | |
778 | + | then ec.senderPublicKey | |
769 | 779 | else throw("Match error") | |
770 | 780 | } | |
771 | - | sigVerify( | |
781 | + | sigVerify(ec.bodyBytes, ec.proofs[0], ee) | |
772 | 782 | } | |
773 | 783 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | let m = 6 | |
29 | 29 | ||
30 | 30 | let n = 7 | |
31 | 31 | ||
32 | 32 | let o = 8 | |
33 | 33 | ||
34 | 34 | let p = 9 | |
35 | 35 | ||
36 | 36 | let q = 10 | |
37 | 37 | ||
38 | 38 | func r (s) = valueOrErrorMessage(getString(s), (("mandatory this." + s) + " is not defined")) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func t (u,s) = valueOrErrorMessage(getString(u, s), (((("mandatory " + toString(u)) + ".") + s) + " is not defined")) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func v (u,s) = valueOrElse(getInteger(u, s), 0) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (u,s) = valueOrErrorMessage(getInteger(u, s), (("mandatory this." + s) + " is not defined")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func x (y) = { | |
51 | 51 | let z = y | |
52 | 52 | if ($isInstanceOf(z, "List[Any]")) | |
53 | 53 | then { | |
54 | 54 | let A = z | |
55 | 55 | A | |
56 | 56 | } | |
57 | 57 | else throw("fail to cast into List[Any]") | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func B (y) = { | |
62 | 62 | let z = y | |
63 | 63 | if ($isInstanceOf(z, "Int")) | |
64 | 64 | then { | |
65 | 65 | let C = z | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | else throw("fail to cast into Int") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func D (y) = { | |
73 | 73 | let z = y | |
74 | 74 | if ($isInstanceOf(z, "String")) | |
75 | 75 | then { | |
76 | 76 | let E = z | |
77 | 77 | E | |
78 | 78 | } | |
79 | 79 | else throw("fail to cast into String") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F () = "%s%s__config__factoryAddress" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G () = "%s__managerPublicKey" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H () = "%s__pendingManagerPublicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | let I = 1 | |
93 | 93 | ||
94 | 94 | let J = 2 | |
95 | 95 | ||
96 | 96 | let K = 3 | |
97 | 97 | ||
98 | 98 | let L = 4 | |
99 | 99 | ||
100 | 100 | let M = 5 | |
101 | 101 | ||
102 | 102 | let N = 6 | |
103 | 103 | ||
104 | 104 | let O = 7 | |
105 | 105 | ||
106 | 106 | let P = 8 | |
107 | 107 | ||
108 | 108 | func Q () = "%s__factoryConfig" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func R (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func T () = "%s__lpTokensList" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func U (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func V (W) = makeString(["%s%s", "poolWeight", W], e) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func X () = addressFromStringValue(r(F())) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y () = split(valueOrElse(getString(X(), T()), ""), e) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (aa) = split(t(aa, Q()), e) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ab (ac) = addressFromStringValue(ac[J]) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ad (ac) = addressFromStringValue(ac[M]) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ae (ac) = addressFromStringValue(ac[I]) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func af (ac) = addressFromStringValue(ac[P]) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ag () = "%s__config" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ah () = "%s%s__stats__activeTotalLocked" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ai () = "%s%s__stats__locksDurationSumInBlocks" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aj () = "%s%s__stats__locksCount" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ak () = "%s%s__stats__activeUsersCount" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func al (am) = makeString(["%s%s%s__mapping__user2num", am], e) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func an (ao) = makeString(["%s%s%s__mapping__num2user", ao], e) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ap (aq) = makeString(["%s%d%s__paramByUserNum", aq, "amount"], e) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ar (aq) = makeString(["%s%d%s__paramByUserNum", aq, "start"], e) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func as (aq) = makeString(["%s%d%s__paramByUserNum", aq, "duration"], e) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func at (aq) = makeString(["%s%d%s__paramByUserNum", aq, "k"], e) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func au (aq) = makeString(["%s%d%s__paramByUserNum", aq, "b"], e) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func av (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "k", aw], e) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ax (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "b", aw], e) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ay (aq) = makeString(["%s%d__userBoostEmissionLastInt", aq], e) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func az (aq) = makeString(["%s%d__maxBoostInt", aq], e) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aA () = "%s%s__maxBoostInt__total" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aB (aq) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aq], e) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aC (aq) = makeString(["%s%d__userBoostClaimed", aq], e) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aD () = "%s%s__gwxCached__total" | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aE (aF,aG) = makeString(["%s%s%s__staked", aF, aG], e) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aH (aG) = ("%s%s%s__staked__total__" + aG) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aI (aG,aF) = makeString(["%s%s%s__claimed", aF, aG], e) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aJ (aG,aF) = makeString(["%s%s%s__claimedMinReward", aF, aG], e) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aK (aG,aF) = makeString(["%s%s%s__claimedBoostReward", aF, aG], e) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aL (aM,s) = valueOrElse(getInteger(aM, s), 0) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aN () = "%s%s__ratePerBlock__current" | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aO () = "%s%s__ratePerBlockMax__current" | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aP () = "%s%s__emission__startBlock" | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aQ () = "%s%s__emission__duration" | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aR () = "%s%s__emission__endBlock" | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aS () = "%s__addonAddr" | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func aT (aU) = { | |
241 | - | let aV = fraction( | |
241 | + | let aV = fraction(50, b, 10000) | |
242 | 242 | let aW = "%s__fee" | |
243 | 243 | valueOrElse(getInteger(aU, aW), aV) | |
244 | 244 | } | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | let aX = X() | |
248 | 248 | ||
249 | 249 | let aY = Z(aX) | |
250 | 250 | ||
251 | 251 | let aZ = ad(aY) | |
252 | 252 | ||
253 | 253 | let aM = ae(aY) | |
254 | 254 | ||
255 | 255 | let ba = af(aY) | |
256 | 256 | ||
257 | 257 | let bb = ab(aY) | |
258 | 258 | ||
259 | 259 | func bc (bd) = { | |
260 | 260 | let be = t(aX, U(bd)) | |
261 | 261 | let bf = b | |
262 | 262 | let bg = getIntegerValue(aX, V(be)) | |
263 | 263 | let bh = w(aZ, aN()) | |
264 | 264 | let bi = w(aZ, aO()) | |
265 | 265 | let bj = 3 | |
266 | 266 | let bk = (fraction(bh, bg, bf) / bj) | |
267 | 267 | let bl = fraction(bi, bg, bf) | |
268 | 268 | let bm = (bj * b) | |
269 | 269 | let bn = v(aM, aH(bd)) | |
270 | 270 | [bk, bm, bn] | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bo (bp,bq,br) = { | |
275 | 275 | let bs = fraction(bq, b, br) | |
276 | 276 | let bt = fraction(bp, bs, b) | |
277 | 277 | [bt] | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bu (bv,s,bw) = if ((bw == "string")) | |
282 | 282 | then getStringValue(bv, s) | |
283 | 283 | else if ((bw == "integer")) | |
284 | 284 | then toString(getIntegerValue(bv, s)) | |
285 | 285 | else if ((bw == "boolean")) | |
286 | 286 | then toString(getBooleanValue(bv, s)) | |
287 | 287 | else throw("unknown type. expected string/integer/boolean") | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bx () = { | |
291 | 291 | let z = getString(G()) | |
292 | 292 | if ($isInstanceOf(z, "String")) | |
293 | 293 | then { | |
294 | 294 | let by = z | |
295 | 295 | fromBase58String(by) | |
296 | 296 | } | |
297 | 297 | else if ($isInstanceOf(z, "Unit")) | |
298 | 298 | then unit | |
299 | 299 | else throw("Match error") | |
300 | 300 | } | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func bz () = { | |
304 | 304 | let z = getString(H()) | |
305 | 305 | if ($isInstanceOf(z, "String")) | |
306 | 306 | then { | |
307 | 307 | let by = z | |
308 | 308 | fromBase58String(by) | |
309 | 309 | } | |
310 | 310 | else if ($isInstanceOf(z, "Unit")) | |
311 | 311 | then unit | |
312 | 312 | else throw("Match error") | |
313 | 313 | } | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func bA (bB) = { | |
317 | 317 | let bC = throw("Permission denied") | |
318 | 318 | let z = bx() | |
319 | 319 | if ($isInstanceOf(z, "ByteVector")) | |
320 | 320 | then { | |
321 | 321 | let bD = z | |
322 | 322 | if ((bB.callerPublicKey == bD)) | |
323 | 323 | then true | |
324 | 324 | else bC | |
325 | 325 | } | |
326 | 326 | else if ($isInstanceOf(z, "Unit")) | |
327 | 327 | then if ((bB.caller == this)) | |
328 | 328 | then true | |
329 | 329 | else bC | |
330 | 330 | else throw("Match error") | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(bB) | |
335 | 335 | func constructor (bE) = { | |
336 | 336 | let bF = bA(bB) | |
337 | 337 | if ((bF == bF)) | |
338 | 338 | then [StringEntry(F(), bE)] | |
339 | 339 | else throw("Strict value is not equal to itself.") | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | ||
344 | 344 | @Callable(bB) | |
345 | 345 | func currentRewardRateREADONLY (bd) = { | |
346 | 346 | let bG = bc(bd) | |
347 | 347 | let bh = bG[0] | |
348 | 348 | let bm = bG[1] | |
349 | 349 | let bn = bG[2] | |
350 | 350 | $Tuple2(nil, makeString(["%d%d%d", toString(bh), toString(bm), toString(bn)], e)) | |
351 | 351 | } | |
352 | 352 | ||
353 | 353 | ||
354 | 354 | ||
355 | 355 | @Callable(bB) | |
356 | 356 | func currentUserRewardRateREADONLY (bd,am) = { | |
357 | 357 | let bG = bc(bd) | |
358 | 358 | let bh = bG[0] | |
359 | 359 | let bm = bG[1] | |
360 | 360 | let bn = bG[2] | |
361 | 361 | let bH = v(aM, aE(am, bd)) | |
362 | 362 | let bI = split(D(invoke(aM, "claimWxREADONLY", [bd, am], nil)), e) | |
363 | 363 | let bJ = valueOrErrorMessage(parseInt(bI[5]), "couldn't parse minRewardPart") | |
364 | 364 | let bK = valueOrErrorMessage(parseInt(bI[6]), "couldn't parse boostRewardPart") | |
365 | 365 | let bL = bI[7] | |
366 | 366 | let bM = if ((bK == 0)) | |
367 | 367 | then (1 * b) | |
368 | 368 | else fraction((bJ + bK), b, bJ) | |
369 | 369 | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bh), toString(bm), toString(bn), toString(bH), toString(bM), bL], e)) | |
370 | 370 | } | |
371 | 371 | ||
372 | 372 | ||
373 | 373 | ||
374 | 374 | @Callable(bB) | |
375 | 375 | func calcBoostBulkInternalREADONLY (bN,bO,bP,bQ,bR,bS,bT) = if ((bN == size(bO))) | |
376 | 376 | then $Tuple2(nil, bT) | |
377 | 377 | else { | |
378 | 378 | let bU = bO[bN] | |
379 | 379 | let bV = bP[bN] | |
380 | 380 | let bW = bQ[bN] | |
381 | 381 | let bX = bR[bN] | |
382 | 382 | let bY = { | |
383 | 383 | let bZ = invoke(this, "calcBoostREADONLY", [bU, bV, bW, bX, bS], nil) | |
384 | 384 | if ($isInstanceOf(bZ, "String")) | |
385 | 385 | then bZ | |
386 | 386 | else throw(($getType(bZ) + " couldn't be cast to String")) | |
387 | 387 | } | |
388 | 388 | let ca = (bT :+ bY) | |
389 | 389 | let cb = { | |
390 | 390 | let bZ = invoke(this, "calcBoostBulkInternalREADONLY", [(bN + 1), bO, bP, bQ, bR, bS, ca], nil) | |
391 | 391 | if ($isInstanceOf(bZ, "List[Any]")) | |
392 | 392 | then bZ | |
393 | 393 | else throw(($getType(bZ) + " couldn't be cast to List[Any]")) | |
394 | 394 | } | |
395 | 395 | if ((cb == cb)) | |
396 | 396 | then $Tuple2(nil, cb) | |
397 | 397 | else throw("Strict value is not equal to itself.") | |
398 | 398 | } | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | ||
402 | 402 | @Callable(bB) | |
403 | 403 | func calcBoostBulkREADONLY (bU,bV,bW,bX,bS) = { | |
404 | 404 | let ca = invoke(this, "calcBoostBulkInternalREADONLY", [0, bU, bV, bW, bX, bS, nil], nil) | |
405 | 405 | $Tuple2(nil, ca) | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(bB) | |
411 | 411 | func calcBoostREADONLY (bU,bV,bW,bX,bS) = { | |
412 | 412 | let cc = ba | |
413 | 413 | let cd = "empty" | |
414 | 414 | let ce = parseIntValue(split(t(bb, ag()), e)[4]) | |
415 | 415 | let aG = if ((bX == "")) | |
416 | 416 | then cd | |
417 | 417 | else bX | |
418 | 418 | let aF = if ((bS == "")) | |
419 | 419 | then cd | |
420 | 420 | else bS | |
421 | 421 | let cf = valueOrElse(getString(bb, al(bS)), cd) | |
422 | 422 | let cg = valueOrElse(getInteger(bb, ap(cf)), 0) | |
423 | 423 | let ch = valueOrElse(getInteger(bb, ar(cf)), height) | |
424 | 424 | let bq = valueOrElse(getInteger(bb, as(cf)), 0) | |
425 | 425 | let ci = (ch + bq) | |
426 | 426 | let cj = max([(ci - height), 0]) | |
427 | 427 | let ck = (cg + bU) | |
428 | 428 | let cl = min([(cj + bV), ce]) | |
429 | 429 | let cm = B(x(invoke(bb, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
430 | 430 | let cn = bo(ck, cl, ce)[0] | |
431 | 431 | let co = x(invoke(cc, "calcGwxParamsREADONLY", [cn, height, cl], nil)) | |
432 | 432 | let cp = (cn - cm) | |
433 | 433 | let cq = B(co[0]) | |
434 | 434 | let cr = B(co[1]) | |
435 | 435 | let aw = toString(B(co[2])) | |
436 | 436 | let cs = aA() | |
437 | 437 | let ct = aD() | |
438 | 438 | let cu = ((cn * cl) / 2) | |
439 | 439 | let cv = v(bb, cs) | |
440 | 440 | let cw = valueOrElse(getInteger(bb, ct), 0) | |
441 | 441 | let cx = 1000 | |
442 | 442 | let cy = (w(aZ, aN()) * cx) | |
443 | 443 | let cz = aE(aF, aG) | |
444 | 444 | let cA = aH(aG) | |
445 | 445 | let cB = aL(aM, cz) | |
446 | 446 | let cC = aL(aM, cA) | |
447 | 447 | let cD = (cB + bW) | |
448 | 448 | let cE = (cC + bW) | |
449 | 449 | let bg = if ((aG != cd)) | |
450 | 450 | then { | |
451 | 451 | let be = valueOrErrorMessage(getString(aX, R(aG)), ("unsupported lp asset " + aG)) | |
452 | 452 | getIntegerValue(aX, V(be)) | |
453 | 453 | } | |
454 | 454 | else 0 | |
455 | 455 | let cF = fraction(cy, bg, (f * 3)) | |
456 | 456 | let cG = if ((cE != 0)) | |
457 | 457 | then fraction(cF, b, cE) | |
458 | 458 | else 0 | |
459 | 459 | let cH = fraction(cG, cD, b) | |
460 | 460 | let cI = (cF * 2) | |
461 | 461 | let cJ = fraction(cn, cI, (cw + cp)) | |
462 | 462 | let cK = min([cJ, (cH * 2)]) | |
463 | 463 | let cL = if ((cH == 0)) | |
464 | 464 | then (1 * b) | |
465 | 465 | else fraction((cK + cH), b, cH) | |
466 | 466 | $Tuple2(nil, makeString(["%d%d%s", toString(cn), toString(cL), "d"], e)) | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(bB) | |
472 | 472 | func wxEmissionStatsREADONLY () = { | |
473 | 473 | let cM = toString(b) | |
474 | 474 | let cN = "1" | |
475 | 475 | let bh = w(aZ, aN()) | |
476 | 476 | let cO = w(aZ, aP()) | |
477 | 477 | let cP = if ((cO > height)) | |
478 | 478 | then 0 | |
479 | 479 | else (height - cO) | |
480 | 480 | let cQ = (1440 * 365) | |
481 | 481 | let cR = (201000000 * b) | |
482 | 482 | let cS = if ((cP > cQ)) | |
483 | 483 | then cR | |
484 | 484 | else fraction(cR, cP, cQ) | |
485 | 485 | let cT = ((bh * cP) + cS) | |
486 | 486 | let cU = v(bb, ah()) | |
487 | 487 | let cV = v(bb, ai()) | |
488 | 488 | let cW = v(bb, aj()) | |
489 | 489 | $Tuple2(nil, makeString(["%d%d%d%d", toString(cT), toString(cU), toString(cV), toString(cW)], e)) | |
490 | 490 | } | |
491 | 491 | ||
492 | 492 | ||
493 | 493 | ||
494 | 494 | @Callable(bB) | |
495 | 495 | func poolStatsREADONLY (cX) = { | |
496 | 496 | let aU = addressFromStringValue(t(aX, U(cX))) | |
497 | 497 | let cY = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
498 | 498 | let bd = fromBase58String(D(cY[j])) | |
499 | 499 | let cZ = D(cY[k]) | |
500 | 500 | let da = D(cY[l]) | |
501 | 501 | let db = D(cY[o]) | |
502 | 502 | let dc = D(cY[p]) | |
503 | 503 | let dd = parseIntValue(D(cY[m])) | |
504 | 504 | let de = parseIntValue(D(cY[n])) | |
505 | 505 | let df = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
506 | 506 | let dg = B(invoke(aU, "getAccBalanceWrapperREADONLY", [cZ], nil)) | |
507 | 507 | let dh = B(invoke(aU, "getAccBalanceWrapperREADONLY", [da], nil)) | |
508 | 508 | let di = if ((df == 0)) | |
509 | 509 | then [toString(g), toString(g), toString(g)] | |
510 | 510 | else x(invoke(aU, "calcPricesWrapperREADONLY", [dg, dh, df], nil)) | |
511 | 511 | let dj = 0 | |
512 | 512 | let dk = B(invoke(aU, "fromX18WrapperREADONLY", [di[1], b], nil)) | |
513 | 513 | let dl = B(invoke(aU, "fromX18WrapperREADONLY", [di[2], b], nil)) | |
514 | 514 | let bg = getIntegerValue(aX, V(toString(aU))) | |
515 | 515 | let dm = aT(aU) | |
516 | 516 | let dn = { | |
517 | 517 | let bZ = invoke(aX, "isPoolOneTokenOperationsDisabledREADONLY", [toString(aU)], nil) | |
518 | 518 | if ($isInstanceOf(bZ, "Boolean")) | |
519 | 519 | then bZ | |
520 | 520 | else throw(($getType(bZ) + " couldn't be cast to Boolean")) | |
521 | 521 | } | |
522 | 522 | let do = !(dn) | |
523 | 523 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s", toString(dg), toString(dh), toString(df), toString(dj), toString(dk), toString(dl), toString(bg), toString(dm), toString(do)], e)) | |
524 | 524 | } | |
525 | 525 | ||
526 | 526 | ||
527 | 527 | ||
528 | 528 | @Callable(bB) | |
529 | 529 | func poolEvaluatePutByAmountAssetREADONLY (cX,dp) = { | |
530 | 530 | let aU = addressFromStringValue(t(aX, U(cX))) | |
531 | 531 | let cY = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
532 | 532 | let bd = fromBase58String(D(cY[j])) | |
533 | 533 | let dq = D(cY[k]) | |
534 | 534 | let dr = fromBase58String(dq) | |
535 | 535 | let ds = D(cY[l]) | |
536 | 536 | let dt = fromBase58String(ds) | |
537 | 537 | let dd = parseIntValue(D(cY[m])) | |
538 | 538 | let de = parseIntValue(D(cY[n])) | |
539 | 539 | let du = D(cY[i]) | |
540 | 540 | let df = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
541 | 541 | let dg = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dq], nil)) | |
542 | 542 | let dh = B(invoke(aU, "getAccBalanceWrapperREADONLY", [ds], nil)) | |
543 | 543 | let dv = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dg, dd], nil))) | |
544 | 544 | let dw = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dh, de], nil))) | |
545 | 545 | let dx = if ((df == 0)) | |
546 | 546 | then g | |
547 | 547 | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dw), toString(dv)], nil))) | |
548 | 548 | let dj = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dx), b], nil)) | |
549 | 549 | let dy = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dp, dd], nil))) | |
550 | 550 | let dz = fraction(dy, dx, d) | |
551 | 551 | let dA = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dz), de], nil)) | |
552 | 552 | let ca = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dp, dr, dA, dt, "", true, false], nil) | |
553 | 553 | let dB = { | |
554 | 554 | let z = ca | |
555 | 555 | if (if (if ($isInstanceOf(z._1, "Int")) | |
556 | 556 | then if ($isInstanceOf(z._3, "Int")) | |
557 | 557 | then if ($isInstanceOf(z._4, "Int")) | |
558 | 558 | then if ($isInstanceOf(z._5, "Int")) | |
559 | 559 | then $isInstanceOf(z._6, "Int") | |
560 | 560 | else false | |
561 | 561 | else false | |
562 | 562 | else false | |
563 | 563 | else false) | |
564 | 564 | then (size(z) == 13) | |
565 | 565 | else false) | |
566 | 566 | then { | |
567 | 567 | let dC = z._1 | |
568 | 568 | let dD = z._3 | |
569 | 569 | let dE = z._4 | |
570 | 570 | let dF = z._5 | |
571 | 571 | let dG = z._6 | |
572 | 572 | $Tuple5(dC, dD, dE, dF, dG) | |
573 | 573 | } | |
574 | 574 | else throw("Couldn't cast types") | |
575 | 575 | } | |
576 | 576 | let dC = dB._1 | |
577 | 577 | let dD = dB._2 | |
578 | 578 | let dE = dB._3 | |
579 | 579 | let dF = dB._4 | |
580 | 580 | let dG = dB._5 | |
581 | 581 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dC), toString(dj), toString(dE), toString(dF), toString(dG), du, toString(dp), toString(dA)], e)) | |
582 | 582 | } | |
583 | 583 | ||
584 | 584 | ||
585 | 585 | ||
586 | 586 | @Callable(bB) | |
587 | 587 | func poolEvaluatePutByPriceAssetREADONLY (cX,dA) = { | |
588 | 588 | let aU = addressFromStringValue(t(aX, U(cX))) | |
589 | 589 | let cY = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
590 | 590 | let bd = fromBase58String(D(cY[j])) | |
591 | 591 | let dq = D(cY[k]) | |
592 | 592 | let dr = fromBase58String(dq) | |
593 | 593 | let ds = D(cY[l]) | |
594 | 594 | let dt = fromBase58String(ds) | |
595 | 595 | let dd = parseIntValue(D(cY[m])) | |
596 | 596 | let de = parseIntValue(D(cY[n])) | |
597 | 597 | let du = D(cY[i]) | |
598 | 598 | let df = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
599 | 599 | let dH = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dq], nil)) | |
600 | 600 | let dI = B(invoke(aU, "getAccBalanceWrapperREADONLY", [ds], nil)) | |
601 | 601 | let dJ = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dH, dd], nil))) | |
602 | 602 | let dK = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dI, de], nil))) | |
603 | 603 | let dx = if ((df == 0)) | |
604 | 604 | then g | |
605 | 605 | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dK), toString(dJ)], nil))) | |
606 | 606 | let dj = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dx), b], nil)) | |
607 | 607 | let dz = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dA, de], nil))) | |
608 | 608 | let dy = fraction(dz, d, dx) | |
609 | 609 | let dp = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dy), dd], nil)) | |
610 | 610 | let ca = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dp, dr, dA, dt, "", true, false], nil) | |
611 | 611 | let dL = { | |
612 | 612 | let z = ca | |
613 | 613 | if (if (if ($isInstanceOf(z._1, "Int")) | |
614 | 614 | then if ($isInstanceOf(z._3, "Int")) | |
615 | 615 | then if ($isInstanceOf(z._4, "Int")) | |
616 | 616 | then if ($isInstanceOf(z._5, "Int")) | |
617 | 617 | then $isInstanceOf(z._6, "Int") | |
618 | 618 | else false | |
619 | 619 | else false | |
620 | 620 | else false | |
621 | 621 | else false) | |
622 | 622 | then (size(z) == 13) | |
623 | 623 | else false) | |
624 | 624 | then { | |
625 | 625 | let dC = z._1 | |
626 | 626 | let dD = z._3 | |
627 | 627 | let dE = z._4 | |
628 | 628 | let dF = z._5 | |
629 | 629 | let dG = z._6 | |
630 | 630 | $Tuple5(dC, dD, dE, dF, dG) | |
631 | 631 | } | |
632 | 632 | else throw("Couldn't cast types") | |
633 | 633 | } | |
634 | 634 | let dC = dL._1 | |
635 | 635 | let dD = dL._2 | |
636 | 636 | let dE = dL._3 | |
637 | 637 | let dF = dL._4 | |
638 | 638 | let dG = dL._5 | |
639 | 639 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dC), toString(dj), toString(dE), toString(dF), toString(dG), du, toString(dp), toString(dA)], e)) | |
640 | 640 | } | |
641 | 641 | ||
642 | 642 | ||
643 | 643 | ||
644 | 644 | @Callable(bB) | |
645 | 645 | func poolEvaluateGetREADONLY (dM,dN) = { | |
646 | 646 | let aU = addressFromStringValue(t(aX, U(dM))) | |
647 | 647 | let ca = invoke(aU, "estimateGetOperationWrapperREADONLY", ["", dM, dN, toString(aU)], nil) | |
648 | 648 | let dO = { | |
649 | 649 | let z = ca | |
650 | 650 | if (if (if ($isInstanceOf(z._1, "Int")) | |
651 | 651 | then if ($isInstanceOf(z._2, "Int")) | |
652 | 652 | then if ($isInstanceOf(z._5, "Int")) | |
653 | 653 | then if ($isInstanceOf(z._6, "Int")) | |
654 | 654 | then if ($isInstanceOf(z._7, "Int")) | |
655 | 655 | then if ($isInstanceOf(z._8, "String")) | |
656 | 656 | then $isInstanceOf(z._9, "String") | |
657 | 657 | else false | |
658 | 658 | else false | |
659 | 659 | else false | |
660 | 660 | else false | |
661 | 661 | else false | |
662 | 662 | else false) | |
663 | 663 | then (size(z) == 10) | |
664 | 664 | else false) | |
665 | 665 | then { | |
666 | 666 | let dP = z._1 | |
667 | 667 | let dQ = z._2 | |
668 | 668 | let dE = z._5 | |
669 | 669 | let dF = z._6 | |
670 | 670 | let dG = z._7 | |
671 | 671 | let dj = z._8 | |
672 | 672 | let du = z._9 | |
673 | 673 | $Tuple7(dP, dQ, dE, dF, dG, dj, du) | |
674 | 674 | } | |
675 | 675 | else throw("Couldn't cast types") | |
676 | 676 | } | |
677 | 677 | let dP = dO._1 | |
678 | 678 | let dQ = dO._2 | |
679 | 679 | let dE = dO._3 | |
680 | 680 | let dF = dO._4 | |
681 | 681 | let dG = dO._5 | |
682 | 682 | let dj = dO._6 | |
683 | 683 | let du = dO._7 | |
684 | 684 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dP), toString(dQ), toString(dE), toString(dF), toString(dG), dj, du], e)) | |
685 | 685 | } | |
686 | 686 | ||
687 | 687 | ||
688 | 688 | ||
689 | 689 | @Callable(bB) | |
690 | 690 | func gwxUserInfoREADONLY (am) = { | |
691 | 691 | let dR = x(invoke(bb, "gwxUserInfoREADONLY", [am], nil)) | |
692 | 692 | let dS = B(dR[0]) | |
693 | 693 | $Tuple2(nil, makeString(["%d", toString(dS)], e)) | |
694 | 694 | } | |
695 | 695 | ||
696 | 696 | ||
697 | 697 | ||
698 | 698 | @Callable(bB) | |
699 | - | func getKeysBulkInternal (bN,dT,bT) = if ((bN == size(dT))) | |
699 | + | func unstakeAndGetOneTknV2 (aU,dT,dU,dV) = { | |
700 | + | let cb = invoke(addressFromStringValue(aU), "unstakeAndGetOneTknV2", [dT, dU, dV], nil) | |
701 | + | if ((cb == cb)) | |
702 | + | then $Tuple2(nil, unit) | |
703 | + | else throw("Strict value is not equal to itself.") | |
704 | + | } | |
705 | + | ||
706 | + | ||
707 | + | ||
708 | + | @Callable(bB) | |
709 | + | func getKeysBulkInternal (bN,dW,bT) = if ((bN == size(dW))) | |
700 | 710 | then $Tuple2(nil, bT) | |
701 | 711 | else { | |
702 | - | let cq = split( | |
712 | + | let cq = split(dW[bN], "++") | |
703 | 713 | let bv = addressFromStringValue(cq[0]) | |
704 | 714 | let s = cq[1] | |
705 | 715 | let bw = cq[2] | |
706 | 716 | let y = bu(bv, s, bw) | |
707 | 717 | let ca = (bT :+ y) | |
708 | - | let cb = invoke(this, "getKeysBulkInternal", [(bN + 1), | |
718 | + | let cb = invoke(this, "getKeysBulkInternal", [(bN + 1), dW, ca], nil) | |
709 | 719 | if ((cb == cb)) | |
710 | 720 | then $Tuple2(nil, cb) | |
711 | 721 | else throw("Strict value is not equal to itself.") | |
712 | 722 | } | |
713 | 723 | ||
714 | 724 | ||
715 | 725 | ||
716 | 726 | @Callable(bB) | |
717 | - | func getKeysBulk ( | |
718 | - | let ca = invoke(this, "getKeysBulkInternal", [0, | |
727 | + | func getKeysBulk (dW) = { | |
728 | + | let ca = invoke(this, "getKeysBulkInternal", [0, dW, nil], nil) | |
719 | 729 | $Tuple2(nil, ca) | |
720 | 730 | } | |
721 | 731 | ||
722 | 732 | ||
723 | 733 | ||
724 | 734 | @Callable(bB) | |
725 | - | func setManager ( | |
735 | + | func setManager (dX) = { | |
726 | 736 | let bF = bA(bB) | |
727 | 737 | if ((bF == bF)) | |
728 | 738 | then { | |
729 | - | let | |
730 | - | if (( | |
731 | - | then [StringEntry(H(), | |
739 | + | let dY = fromBase58String(dX) | |
740 | + | if ((dY == dY)) | |
741 | + | then [StringEntry(H(), dX)] | |
732 | 742 | else throw("Strict value is not equal to itself.") | |
733 | 743 | } | |
734 | 744 | else throw("Strict value is not equal to itself.") | |
735 | 745 | } | |
736 | 746 | ||
737 | 747 | ||
738 | 748 | ||
739 | 749 | @Callable(bB) | |
740 | 750 | func confirmManager () = { | |
741 | - | let | |
742 | - | let | |
751 | + | let dZ = bz() | |
752 | + | let ea = if (isDefined(dZ)) | |
743 | 753 | then true | |
744 | 754 | else throw("No pending manager") | |
745 | - | if (( | |
755 | + | if ((ea == ea)) | |
746 | 756 | then { | |
747 | - | let | |
757 | + | let eb = if ((bB.callerPublicKey == value(dZ))) | |
748 | 758 | then true | |
749 | 759 | else throw("You are not pending manager") | |
750 | - | if (( | |
751 | - | then [StringEntry(G(), toBase58String(value( | |
760 | + | if ((eb == eb)) | |
761 | + | then [StringEntry(G(), toBase58String(value(dZ))), DeleteEntry(H())] | |
752 | 762 | else throw("Strict value is not equal to itself.") | |
753 | 763 | } | |
754 | 764 | else throw("Strict value is not equal to itself.") | |
755 | 765 | } | |
756 | 766 | ||
757 | 767 | ||
758 | - | @Verifier( | |
759 | - | func | |
760 | - | let | |
768 | + | @Verifier(ec) | |
769 | + | func ed () = { | |
770 | + | let ee = { | |
761 | 771 | let z = bx() | |
762 | 772 | if ($isInstanceOf(z, "ByteVector")) | |
763 | 773 | then { | |
764 | 774 | let bD = z | |
765 | 775 | bD | |
766 | 776 | } | |
767 | 777 | else if ($isInstanceOf(z, "Unit")) | |
768 | - | then | |
778 | + | then ec.senderPublicKey | |
769 | 779 | else throw("Match error") | |
770 | 780 | } | |
771 | - | sigVerify( | |
781 | + | sigVerify(ec.bodyBytes, ec.proofs[0], ee) | |
772 | 782 | } | |
773 | 783 |
github/deemru/w8io/026f985 103.97 ms ◑