tx · Ci8kBLs5NUwRpqvZ4FggSLmr82aYAM2xAmju4ayHTVyn 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq: -0.01000000 Waves 2023.09.01 03:49 [2735600] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves
{ "type": 13, "id": "Ci8kBLs5NUwRpqvZ4FggSLmr82aYAM2xAmju4ayHTVyn", "fee": 1000000, "feeAssetId": null, "timestamp": 1693529366306, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "2YBQuheLHW4q6aJisiM97cMN8FBWYAaG2EDXU18KjuijP9VRtJdJTHHhLNGksuXyghKuHFYM38XXT7dv4rdzSk8i" ], "script": "base64:BgIOCAISABIAEgASABIAEgAPAAl3YXZlczFMSWQJAQdBZGRyZXNzAQEgsfXkVqM/0+6J9kArnDxMgAk2oJh4WqfkxR9uWw/pRoUACXdhdmVzM0xJZAkBB0FkZHJlc3MBASB3Vww16jaU307TFdx6AQCZu00QR9cMiqtX4etxi+C4ZAAJd2F2ZXM1TElkCQEHQWRkcmVzcwEBIBtGaJJlOVgU0G5tRCLl1N4g5dbuu+aJfhfESzP16GakAAZ1c2RuSWQBIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0AANhcnIJAMwIAgABCQDMCAIAAgkAzAgCAAMJAMwIAgAECQDMCAIABQUDbmlsAARhcnIyCQDMCAIAAQkAzAgCAAIFA25pbAAEYXJyMwkAzAgCAAEJAMwIAgACCQDMCAIAAwUDbmlsAQNzdW0CAWEBYgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIGYm9ycm93CQDMCAICLDI1RkVxRWpSa3FLNnlDa2lUN0x6NlNBWXo3Z1VGQ3R4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ECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDQJAQUkZjFfMgIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIFBSRhY2MwAAAAAQACAAMABAkAzAgCCQEMSW50ZWdlckVudHJ5AgIWUmV0dXJuZWRfU3dhcHBlZEFtb3VudAUBcgkAzAgCCQEMSW50ZWdlckVudHJ5AgIMRmlyc3RfQm9ycm93CQBpAgkAaAIFDWZpcnN0QW1vdW50SW4ARgBkCQDMCAIJAQtTdHJpbmdFbnRyeQIJANgEAQgIBQFpBmNhbGxlcgVieXRlcwkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkApAMBCQCRAwIFBnJlc3VsdAAAAgFfCQCkAwEJAJEDAgUGcmVzdWx0AAECAV8JAKQDAQkAkQMCBQZyZXN1bHQAAgIBXwkApAMBCQCRAwIFBnJlc3VsdAADBQNuaWwJAAIBAhdJbmNvcnJlY3QgaW52b2tlIHJlc3VsdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmEsWGx", "height": 2735600, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: iy9A1epAXLRjtY9nUaiv9GLopmJefEe2eWRns45txmG Next: CVyduhG8LxJz36Ngg2uooBTLFTgofvWVLz68TfShCzzx Diff:
Old | New | Differences | |
---|---|---|---|
239 | 239 | if ($isInstanceOf(u, "Int")) | |
240 | 240 | then { | |
241 | 241 | let U = u | |
242 | - | let Y = [U, 1, 1, 1] | |
243 | - | func A (B,C) = { | |
244 | - | let Z = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(v.caller)], [AttachedPayment(d, C)]) | |
245 | - | if ((Z == Z)) | |
246 | - | then ((Y :+ Z) :+ (B + C)) | |
247 | - | else throw("Strict value is not equal to itself.") | |
248 | - | } | |
242 | + | let Y = [U, 1000000, 1000000, 1000000] | |
243 | + | func A (B,C) = B | |
249 | 244 | ||
250 | - | let E = [1, 1, 1, 1] | |
251 | 245 | let F = { | |
252 | 246 | let G = Y | |
253 | 247 | let H = size(G) | |
262 | 256 | ||
263 | 257 | M(J(J(J(J(I, 0), 1), 2), 3), 4) | |
264 | 258 | } | |
265 | - | [IntegerEntry("Returned_SwappedAmount", U), IntegerEntry("First_Borrow", ((S * 70) / 100)), StringEntry(toBase58String(v.caller.bytes), ((((((toString(Y[0]) + "_") + toString(Y[1])) + "_") + toString(Y[2])) + "_") + toString(Y[3])))] | |
259 | + | func Z (B,C) = if ((C != 1000000)) | |
260 | + | then (B :+ C) | |
261 | + | else { | |
262 | + | let aa = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(v.caller)], [AttachedPayment(d, C)]) | |
263 | + | if ((aa == aa)) | |
264 | + | then (B :+ aa) | |
265 | + | else throw("Strict value is not equal to itself.") | |
266 | + | } | |
267 | + | ||
268 | + | let ab = { | |
269 | + | let G = Y | |
270 | + | let H = size(G) | |
271 | + | let I = nil | |
272 | + | func ac (K,L) = if ((L >= H)) | |
273 | + | then K | |
274 | + | else Z(K, G[L]) | |
275 | + | ||
276 | + | func ad (K,L) = if ((L >= H)) | |
277 | + | then K | |
278 | + | else throw("List size exceeds 4") | |
279 | + | ||
280 | + | ad(ac(ac(ac(ac(I, 0), 1), 2), 3), 4) | |
281 | + | } | |
282 | + | [IntegerEntry("Returned_SwappedAmount", U), IntegerEntry("First_Borrow", ((S * 70) / 100)), StringEntry(toBase58String(v.caller.bytes), ((((((toString(ab[0]) + "_") + toString(ab[1])) + "_") + toString(ab[2])) + "_") + toString(ab[3])))] | |
266 | 283 | } | |
267 | 284 | else throw("Incorrect invoke result") | |
268 | 285 | } | |
270 | 287 | } | |
271 | 288 | ||
272 | 289 | ||
273 | - | @Verifier( | |
274 | - | func | |
290 | + | @Verifier(ae) | |
291 | + | func af () = sigVerify(ae.bodyBytes, ae.proofs[0], ae.senderPublicKey) | |
275 | 292 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'CygdaJKZfxRrHyYMwkNdz9ZgSD5FpJLtk5s5B4q1DKV6') | |
5 | 5 | ||
6 | 6 | let b = Address(base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM') | |
7 | 7 | ||
8 | 8 | let c = Address(base58'2qUH6Nh6cgC8dxj8fwH3bTJi261PNr5nMQKRbBXBuwmM') | |
9 | 9 | ||
10 | 10 | let d = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
11 | 11 | ||
12 | 12 | let e = [1, 2, 3, 4, 5] | |
13 | 13 | ||
14 | 14 | let f = [1, 2] | |
15 | 15 | ||
16 | 16 | let g = [1, 2, 3] | |
17 | 17 | ||
18 | 18 | func h (i,j) = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", 1000000], nil) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func k (l,m) = if ((l == "WAVES")) | |
22 | 22 | then wavesBalance(m).available | |
23 | 23 | else assetBalance(m, fromBase58String(l)) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func n (l) = if ((l == "WAVES")) | |
27 | 27 | then 2 | |
28 | 28 | else throw("Error") | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o () = 2000000 | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func p () = 3000000 | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func q () = 1200000 | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func r () = 2000000 | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func s (t) = { | |
44 | 44 | let u = getInteger(this, t) | |
45 | 45 | if ($isInstanceOf(u, "Int")) | |
46 | 46 | then { | |
47 | 47 | let j = u | |
48 | 48 | j | |
49 | 49 | } | |
50 | 50 | else 0 | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | @Callable(v) | |
55 | 55 | func mintWaves3L_v1 () = if (if ((size(v.payments) != 1)) | |
56 | 56 | then true | |
57 | 57 | else (v.payments[0].amount == 0)) | |
58 | 58 | then throw("1 payment has to be attached") | |
59 | 59 | else { | |
60 | 60 | let m = toString(v.caller) | |
61 | 61 | let w = v.payments[0].amount | |
62 | 62 | let x = ((w / o()) * 100000000) | |
63 | 63 | let y = k("WAVES", v.caller) | |
64 | 64 | if ((y > x)) | |
65 | 65 | then { | |
66 | 66 | let z = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, x)]) | |
67 | 67 | if ((z == z)) | |
68 | 68 | then { | |
69 | 69 | func A (B,C) = { | |
70 | 70 | let D = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", w], nil) | |
71 | 71 | if ((D == D)) | |
72 | 72 | then (B + C) | |
73 | 73 | else throw("Strict value is not equal to itself.") | |
74 | 74 | } | |
75 | 75 | ||
76 | 76 | let E = [w, w, w] | |
77 | 77 | let F = { | |
78 | 78 | let G = E | |
79 | 79 | let H = size(G) | |
80 | 80 | let I = 0 | |
81 | 81 | func J (K,L) = if ((L >= H)) | |
82 | 82 | then K | |
83 | 83 | else A(K, G[L]) | |
84 | 84 | ||
85 | 85 | func M (K,L) = if ((L >= H)) | |
86 | 86 | then K | |
87 | 87 | else throw("List size exceeds 3") | |
88 | 88 | ||
89 | 89 | M(J(J(J(I, 0), 1), 2), 3) | |
90 | 90 | } | |
91 | 91 | let N = ((F / q()) * 1000000) | |
92 | 92 | [IntegerEntry((m + "_gave_USDN"), w), IntegerEntry((m + "_deposited_WAVES"), x), IntegerEntry(((m + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), F), IntegerEntry((m + "_received_WAVES3L"), N), ScriptTransfer(v.caller, N, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')] | |
93 | 93 | } | |
94 | 94 | else throw("Strict value is not equal to itself.") | |
95 | 95 | } | |
96 | 96 | else throw("Not enough WAVES to deposit!") | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | ||
101 | 101 | @Callable(v) | |
102 | 102 | func redeemWaves3L_v1 () = if (if ((size(v.payments) != 1)) | |
103 | 103 | then true | |
104 | 104 | else (v.payments[0].amount == 0)) | |
105 | 105 | then throw("1 payment has to be attached") | |
106 | 106 | else { | |
107 | 107 | let m = toString(v.caller) | |
108 | 108 | let O = v.payments[0].amount | |
109 | 109 | let P = (O * (r() / 1000000)) | |
110 | 110 | [IntegerEntry((m + "_redeemed_WAVES3L"), O), IntegerEntry((m + "_received_USDN"), P), ScriptTransfer(v.caller, P, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')] | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | ||
115 | 115 | @Callable(v) | |
116 | 116 | func mintWaves3L_v2 () = if (if ((size(v.payments) != 1)) | |
117 | 117 | then true | |
118 | 118 | else (v.payments[0].amount == 0)) | |
119 | 119 | then throw("1 payment has to be attached") | |
120 | 120 | else { | |
121 | 121 | let m = toString(v.caller) | |
122 | 122 | let w = v.payments[0].amount | |
123 | 123 | let x = ((w / 2000000) * 100000000) | |
124 | 124 | let y = k("WAVES", v.caller) | |
125 | 125 | let Q = ((3 - 1) * o()) | |
126 | 126 | if ((w >= Q)) | |
127 | 127 | then { | |
128 | 128 | let z = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, x)]) | |
129 | 129 | if ((z == z)) | |
130 | 130 | then { | |
131 | 131 | func A (B,C) = { | |
132 | 132 | let D = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", w], nil) | |
133 | 133 | if ((D == D)) | |
134 | 134 | then (B + C) | |
135 | 135 | else throw("Strict value is not equal to itself.") | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | let E = [w, w, w] | |
139 | 139 | let F = { | |
140 | 140 | let G = E | |
141 | 141 | let H = size(G) | |
142 | 142 | let I = 0 | |
143 | 143 | func J (K,L) = if ((L >= H)) | |
144 | 144 | then K | |
145 | 145 | else A(K, G[L]) | |
146 | 146 | ||
147 | 147 | func M (K,L) = if ((L >= H)) | |
148 | 148 | then K | |
149 | 149 | else throw("List size exceeds 3") | |
150 | 150 | ||
151 | 151 | M(J(J(J(I, 0), 1), 2), 3) | |
152 | 152 | } | |
153 | 153 | let R = ((F / o()) * 100000000) | |
154 | 154 | [IntegerEntry((m + "_gave_USDN"), w), IntegerEntry((m + "_deposited_WAVES"), x), IntegerEntry(((m + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), F), IntegerEntry((m + "_received_WAVES3L"), 1000000), ScriptTransfer(v.caller, 1000000, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')] | |
155 | 155 | } | |
156 | 156 | else throw("Strict value is not equal to itself.") | |
157 | 157 | } | |
158 | 158 | else throw("Not enough WAVES to deposit!") | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | ||
163 | 163 | @Callable(v) | |
164 | 164 | func redeemWaves3L_v2 () = if (if ((size(v.payments) != 1)) | |
165 | 165 | then true | |
166 | 166 | else (v.payments[0].amount == 0)) | |
167 | 167 | then throw("1 payment has to be attached") | |
168 | 168 | else { | |
169 | 169 | let m = toString(v.caller) | |
170 | 170 | let O = 6 | |
171 | 171 | let P = (((O * (p() / 1000000)) - 4) * 1000000) | |
172 | 172 | [IntegerEntry((m + "_redeemed_WAVES3L"), O), IntegerEntry((m + "_received_USDN"), P), ScriptTransfer(v.caller, P, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')] | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(v) | |
178 | 178 | func long2 () = if (if ((size(v.payments) != 1)) | |
179 | 179 | then true | |
180 | 180 | else (v.payments[0].amount == 0)) | |
181 | 181 | then throw("1 payment has to be attached") | |
182 | 182 | else { | |
183 | 183 | let S = v.payments[0].amount | |
184 | 184 | let T = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", nil, [AttachedPayment(d, S)]) | |
185 | 185 | if ((T == T)) | |
186 | 186 | then { | |
187 | 187 | let u = T | |
188 | 188 | if ($isInstanceOf(u, "Int")) | |
189 | 189 | then { | |
190 | 190 | let U = u | |
191 | 191 | let V = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, U)]) | |
192 | 192 | if ((V == V)) | |
193 | 193 | then { | |
194 | 194 | let W = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((S * 75) / 100)], nil) | |
195 | 195 | if ((W == W)) | |
196 | 196 | then { | |
197 | 197 | func A (B,C) = (B + C) | |
198 | 198 | ||
199 | 199 | let E = [1, 1, 1, 1] | |
200 | 200 | let F = { | |
201 | 201 | let G = E | |
202 | 202 | let H = size(G) | |
203 | 203 | let I = 0 | |
204 | 204 | func J (K,L) = if ((L >= H)) | |
205 | 205 | then K | |
206 | 206 | else A(K, G[L]) | |
207 | 207 | ||
208 | 208 | func M (K,L) = if ((L >= H)) | |
209 | 209 | then K | |
210 | 210 | else throw("List size exceeds 5") | |
211 | 211 | ||
212 | 212 | M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5) | |
213 | 213 | } | |
214 | 214 | nil | |
215 | 215 | } | |
216 | 216 | else throw("Strict value is not equal to itself.") | |
217 | 217 | } | |
218 | 218 | else throw("Strict value is not equal to itself.") | |
219 | 219 | } | |
220 | 220 | else throw("Incorrect invoke result") | |
221 | 221 | } | |
222 | 222 | else throw("Strict value is not equal to itself.") | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(v) | |
228 | 228 | func long2test () = if (if ((size(v.payments) != 1)) | |
229 | 229 | then true | |
230 | 230 | else (v.payments[0].amount == 0)) | |
231 | 231 | then throw("1 payment has to be attached") | |
232 | 232 | else { | |
233 | 233 | let S = v.payments[0].amount | |
234 | 234 | let X = toString(v.caller) | |
235 | 235 | let T = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(v.caller)], [AttachedPayment(d, S)]) | |
236 | 236 | if ((T == T)) | |
237 | 237 | then { | |
238 | 238 | let u = T | |
239 | 239 | if ($isInstanceOf(u, "Int")) | |
240 | 240 | then { | |
241 | 241 | let U = u | |
242 | - | let Y = [U, 1, 1, 1] | |
243 | - | func A (B,C) = { | |
244 | - | let Z = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(v.caller)], [AttachedPayment(d, C)]) | |
245 | - | if ((Z == Z)) | |
246 | - | then ((Y :+ Z) :+ (B + C)) | |
247 | - | else throw("Strict value is not equal to itself.") | |
248 | - | } | |
242 | + | let Y = [U, 1000000, 1000000, 1000000] | |
243 | + | func A (B,C) = B | |
249 | 244 | ||
250 | - | let E = [1, 1, 1, 1] | |
251 | 245 | let F = { | |
252 | 246 | let G = Y | |
253 | 247 | let H = size(G) | |
254 | 248 | let I = 0 | |
255 | 249 | func J (K,L) = if ((L >= H)) | |
256 | 250 | then K | |
257 | 251 | else A(K, G[L]) | |
258 | 252 | ||
259 | 253 | func M (K,L) = if ((L >= H)) | |
260 | 254 | then K | |
261 | 255 | else throw("List size exceeds 4") | |
262 | 256 | ||
263 | 257 | M(J(J(J(J(I, 0), 1), 2), 3), 4) | |
264 | 258 | } | |
265 | - | [IntegerEntry("Returned_SwappedAmount", U), IntegerEntry("First_Borrow", ((S * 70) / 100)), StringEntry(toBase58String(v.caller.bytes), ((((((toString(Y[0]) + "_") + toString(Y[1])) + "_") + toString(Y[2])) + "_") + toString(Y[3])))] | |
259 | + | func Z (B,C) = if ((C != 1000000)) | |
260 | + | then (B :+ C) | |
261 | + | else { | |
262 | + | let aa = invoke(addressFromStringValue("3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA"), "swapToWaves", [toString(v.caller)], [AttachedPayment(d, C)]) | |
263 | + | if ((aa == aa)) | |
264 | + | then (B :+ aa) | |
265 | + | else throw("Strict value is not equal to itself.") | |
266 | + | } | |
267 | + | ||
268 | + | let ab = { | |
269 | + | let G = Y | |
270 | + | let H = size(G) | |
271 | + | let I = nil | |
272 | + | func ac (K,L) = if ((L >= H)) | |
273 | + | then K | |
274 | + | else Z(K, G[L]) | |
275 | + | ||
276 | + | func ad (K,L) = if ((L >= H)) | |
277 | + | then K | |
278 | + | else throw("List size exceeds 4") | |
279 | + | ||
280 | + | ad(ac(ac(ac(ac(I, 0), 1), 2), 3), 4) | |
281 | + | } | |
282 | + | [IntegerEntry("Returned_SwappedAmount", U), IntegerEntry("First_Borrow", ((S * 70) / 100)), StringEntry(toBase58String(v.caller.bytes), ((((((toString(ab[0]) + "_") + toString(ab[1])) + "_") + toString(ab[2])) + "_") + toString(ab[3])))] | |
266 | 283 | } | |
267 | 284 | else throw("Incorrect invoke result") | |
268 | 285 | } | |
269 | 286 | else throw("Strict value is not equal to itself.") | |
270 | 287 | } | |
271 | 288 | ||
272 | 289 | ||
273 | - | @Verifier( | |
274 | - | func | |
290 | + | @Verifier(ae) | |
291 | + | func af () = sigVerify(ae.bodyBytes, ae.proofs[0], ae.senderPublicKey) | |
275 | 292 |
github/deemru/w8io/fabc49c 39.32 ms ◑