tx · 7QoC1hiV52ZP4cNmGRURc8xASNFewmF68ghT4gEpo8cr 3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr: -0.02200000 Waves 2022.10.20 11:14 [2280469] smart account 3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr > SELF 0.00000000 Waves
{ "type": 13, "id": "7QoC1hiV52ZP4cNmGRURc8xASNFewmF68ghT4gEpo8cr", "fee": 2200000, "feeAssetId": null, "timestamp": 1666253777391, "version": 1, "sender": "3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr", "senderPublicKey": "4j5ighurrUZ2WcdBTRGqBfXs5fz9YDA76D4gtpZ9basj", "proofs": [ "4xeUkhp8t8LTXE1EJJaj72MVLAdvz9nWpfeKtKjHe7b3L3DkSJ7xYThiM23sNwXsa8cp3hkjJGhM5ACT3M81d5oJ" ], "script": "base64:AAIFAAAAAAAACawIAhIDCgEIEgkKBwgICAgBCAgSAwoBARIAEgASBQoDCAgIEgQKAggBEgMKAQgSAwoBCBIAIgNTRVAiBUVNUFRZIg9nZXRTdHJpbmdPckZhaWwiA2tleSIQZ2V0Qm9vbGVhbk9yRmFpbCITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiDmZhaWxFeGVjdXRlR2V0IgNtc2ciDGJhc2VBc3NldFN0ciIOdXNlckFkZHJlc3NTdHIiCmdldFR4SWRTdHIiFmtleUFzc2V0c1N0b3JlQ29udHJhY3QiC2tleUFzc2V0Q2ZnIg9rZXlQcm94eUFkZHJlc3MiB2Fzc2V0SWQiCmtleUJhbGFuY2UiFmtleU5leHRJbnRlcm5hbEFzc2V0SWQiDGtleVByaWNlTGFzdCIVaW50ZXJuYWxCYXNldEFzc2V0U3RyIhJrZXlUb3BVcExhc3RIZWlnaHQiBnNlbmRlciIPa2V5UHJpY2VIaXN0b3J5IgFoIgl0aW1lc3RhbXAiDmtleVRvdGFsTG9ja2VkIhRrZXlUb3RhbExvY2tlZEJ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280469, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Wt6wCQ28g8S5P4PkoQ3oDv2EZiFqcSc8DtEVDBBAoj3 Next: HJNhZQNg5ezL4soXxMnfjduCJKqV4KbDVkNp9WXyG9Tw Full:
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 | func c (d) = valueOrErrorMessage(getString(this, d), ("No data for this.key=" + d)) | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | func e (d) = valueOrErrorMessage(getBoolean(this, d), ("No data for this.key=" + d)) | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | func f () = makeString(["%s", "managerPublicKey"], a) | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func g () = makeString(["%s", "pendingManagerPublicKey"], a) | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func h (i,j,k,l) = throw(((((((i + ": baseAssetStr=") + j) + " userAddressStr=") + k) + " getTxIdStr=") + l)) | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func m () = makeString(["%s", "assetsStoreContract"], a) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func n (j) = ("%s%s%s__config__asset__" + j) | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func o (p) = makeString(["%s%s", "proxyAddress", p], a) | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func q (p) = makeString(["%s%s", "balance", p], a) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func r () = "%s__nextInternalAssetId" | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func s (t) = ("%s%s%d__price__last__" + t) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func u (t,v) = makeString(["%s%s%s%d%s__topup__last__height", t, v], a) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func w (t,x,y) = makeString(["%s%s%d%d%d__price__history", t, toString(x), toString(y)], a) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func z (t) = ("%s%s%d__total__locked__" + t) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func A (B,k) = makeString(["%s%s%d%s__total__locked", B, k], a) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func C (D) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(D)) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func E (j) = ("%s%s%s__mappings__baseAsset2internalId__" + j) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func F (G) = ("%s%s%s__mappings__share2baseAssetId__" + G) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func H (j) = ("%s%s%s__mappings__baseAsset2shareId__" + j) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func I (B) = ("%s%s%d__shutdown__put__" + B) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func J (B) = ("%s%s%d__shutdown__manager__" + B) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func K () = addressFromStringValue(value(getString(m()))) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | let L = 1 | |
75 | 75 | ||
76 | 76 | let M = 2 | |
77 | 77 | ||
78 | 78 | let N = 3 | |
79 | 79 | ||
80 | 80 | let O = 4 | |
81 | 81 | ||
82 | 82 | let P = 5 | |
83 | 83 | ||
84 | 84 | func Q (G,B,R,S,T) = makeString(["%s%d%d%d%d", G, B, toString(R), toString(S), toString(T)], a) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | let U = 1 | |
88 | 88 | ||
89 | 89 | let V = 2 | |
90 | 90 | ||
91 | 91 | func W (X,Y) = makeString(["%d%d", toString(X), toString(Y)], a) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func Z (d) = { | |
95 | 95 | let aa = split(valueOrElse(getString(this, d), W(0, 0)), a) | |
96 | 96 | [-1, parseIntValue(aa[U]), parseIntValue(aa[V])] | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func ab (ac,B,ad,ae) = makeString(["%s%d%s%s", ac, B, ad, ae], a) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | let af = 1 | |
104 | 104 | ||
105 | 105 | let ag = 2 | |
106 | 106 | ||
107 | 107 | let ah = 3 | |
108 | 108 | ||
109 | 109 | let ai = 4 | |
110 | 110 | ||
111 | 111 | let aj = 5 | |
112 | 112 | ||
113 | 113 | let ak = 6 | |
114 | 114 | ||
115 | 115 | let al = 7 | |
116 | 116 | ||
117 | 117 | let am = 8 | |
118 | 118 | ||
119 | 119 | func an (ao,ap,aq,ar,as,at,au,av) = makeString(["%s%d%d%d%d%d%d%d", ao, ap, aq, ar, as, at, au, av], a) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func aw (ao,ap,aq,ar,as,at,au,av) = an(ao, toString(ap), toString(aq), toString(ar), toString(as), toString(at), toString(au), toString(av)) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ax (ay,az,aA) = an(az, ay[ag], ay[ah], ay[ai], ay[aj], ay[ak], ay[al], toString(aA)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func aB (j) = { | |
129 | 129 | let d = n(j) | |
130 | 130 | split(c(d), a) | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func aC (d,X,Y) = { | |
135 | 135 | let aD = Z(d) | |
136 | 136 | StringEntry(d, W((aD[U] + X), (aD[V] + Y))) | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func aE (d,X,Y) = { | |
141 | 141 | let aD = Z(d) | |
142 | 142 | StringEntry(d, W((aD[U] - X), (aD[V] - Y))) | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func aF () = { | |
147 | 147 | let aG = getString(f()) | |
148 | 148 | if ($isInstanceOf(aG, "String")) | |
149 | 149 | then { | |
150 | 150 | let aH = aG | |
151 | 151 | fromBase58String(aH) | |
152 | 152 | } | |
153 | 153 | else if ($isInstanceOf(aG, "Unit")) | |
154 | 154 | then unit | |
155 | 155 | else throw("Match error") | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func aI () = { | |
160 | 160 | let aG = getString(g()) | |
161 | 161 | if ($isInstanceOf(aG, "String")) | |
162 | 162 | then { | |
163 | 163 | let aH = aG | |
164 | 164 | fromBase58String(aH) | |
165 | 165 | } | |
166 | 166 | else if ($isInstanceOf(aG, "Unit")) | |
167 | 167 | then unit | |
168 | 168 | else throw("Match error") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aJ (p) = valueOrElse(getInteger(q(p)), 0) | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func aK (B,aL,aM,aN,R,S) = { | |
176 | 176 | let aa = Z(z(B)) | |
177 | 177 | let aO = aa[V] | |
178 | 178 | let aP = aJ(toBase58String(aL)) | |
179 | 179 | let aQ = (aP + aM) | |
180 | 180 | if ((0 > aQ)) | |
181 | 181 | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aP)) + " baseAssetBalanceConsideringLock=") + toString(aQ))) | |
182 | 182 | else { | |
183 | 183 | let aR = value(assetInfo(aN)).quantity | |
184 | 184 | let aq = if ((aR == 0)) | |
185 | 185 | then (1 * S) | |
186 | 186 | else fraction(aQ, S, aR) | |
187 | 187 | $Tuple5(aq, aP, aO, aQ, aR) | |
188 | 188 | } | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aS (B,aL,aN,R,S) = { | |
193 | 193 | let aa = Z(z(B)) | |
194 | 194 | let aO = aa[V] | |
195 | 195 | let aP = aJ(toBase58String(aL)) | |
196 | 196 | let aQ = aP | |
197 | 197 | let aR = value(assetInfo(aN)).quantity | |
198 | 198 | let aq = value(getInteger(s(B))) | |
199 | 199 | $Tuple5(aq, aP, aO, aQ, aR) | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aT (j) = { | |
204 | 204 | let aL = fromBase58String(j) | |
205 | 205 | let aU = aB(j) | |
206 | 206 | let G = aU[L] | |
207 | 207 | let aN = fromBase58String(G) | |
208 | 208 | let R = parseIntValue(aU[N]) | |
209 | 209 | let S = parseIntValue(aU[O]) | |
210 | 210 | let B = aU[M] | |
211 | 211 | let aV = aS(B, aL, aN, R, S) | |
212 | 212 | let aW = { | |
213 | 213 | let aG = getInteger(u(B, getStringValue(o(j)))) | |
214 | 214 | if ($isInstanceOf(aG, "Int")) | |
215 | 215 | then { | |
216 | 216 | let x = aG | |
217 | 217 | value(x) | |
218 | 218 | } | |
219 | 219 | else if ($isInstanceOf(aG, "Unit")) | |
220 | 220 | then getIntegerValue(u(B, toString(addressFromPublicKey(fromBase58String(getStringValue(f())))))) | |
221 | 221 | else throw("undefined behaviour in privateCurrentSysParamsREST match") | |
222 | 222 | } | |
223 | 223 | $Tuple8(IntegerEntry("price", aV._1), IntegerEntry("decimalsMultPrice", S), IntegerEntry("baseAssetBalance", aV._2), IntegerEntry("totalLockedBaseAmount", aV._3), IntegerEntry("baseAssetBalanceConsideringLock", aV._4), IntegerEntry("shareEmission", aV._5), IntegerEntry("baseAssetDecimals", value(assetInfo(aL)).decimals), IntegerEntry("lastTopUpTimestamp", value(blockInfoByHeight(aW)).timestamp)) | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aX (aY) = { | |
228 | 228 | let aZ = throw("permission denied") | |
229 | 229 | let aG = aF() | |
230 | 230 | if ($isInstanceOf(aG, "ByteVector")) | |
231 | 231 | then { | |
232 | 232 | let ba = aG | |
233 | 233 | if ((aY.callerPublicKey == ba)) | |
234 | 234 | then true | |
235 | 235 | else aZ | |
236 | 236 | } | |
237 | 237 | else if ($isInstanceOf(aG, "Unit")) | |
238 | 238 | then if ((aY.caller == this)) | |
239 | 239 | then true | |
240 | 240 | else aZ | |
241 | 241 | else throw("Match error") | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func bb (aY,p) = { | |
246 | 246 | let bc = (toString(aY.caller) == valueOrElse(getString(o(p)), b)) | |
247 | 247 | if (bc) | |
248 | 248 | then true | |
249 | 249 | else { | |
250 | 250 | let bd = aX(aY) | |
251 | 251 | if ((bd == bd)) | |
252 | 252 | then true | |
253 | 253 | else throw("Strict value is not equal to itself.") | |
254 | 254 | } | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | @Callable(aY) | |
259 | 259 | func constructor (K) = { | |
260 | 260 | let bd = aX(aY) | |
261 | 261 | if ((bd == bd)) | |
262 | 262 | then [StringEntry(m(), K)] | |
263 | 263 | else throw("Strict value is not equal to itself.") | |
264 | 264 | } | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | ||
268 | 268 | @Callable(aY) | |
269 | 269 | func adminRegisterAsset (j,be,bf,bg,bh,bi,bj) = { | |
270 | 270 | let aL = fromBase58String(j) | |
271 | 271 | let bk = value(assetInfo(aL)).decimals | |
272 | 272 | let bl = aX(aY) | |
273 | 273 | if ((bl == bl)) | |
274 | 274 | then if ((toString(addressFromStringValue(bi)) != bi)) | |
275 | 275 | then throw("invalid shutdownManagerAddress") | |
276 | 276 | else if ((0 > bh)) | |
277 | 277 | then throw(("invalid getDelayinBlocks=" + toString(bh))) | |
278 | 278 | else { | |
279 | 279 | let bm = Issue(be, bf, 1, bk, true) | |
280 | 280 | let aN = calculateAssetId(bm) | |
281 | 281 | let G = toBase58String(aN) | |
282 | 282 | let S = ((100 * 1000) * 1000) | |
283 | 283 | let R = pow(10, 0, bk, 0, 0, DOWN) | |
284 | 284 | let bn = (1 * S) | |
285 | 285 | let bo = valueOrElse(getInteger(this, r()), 0) | |
286 | 286 | let B = toString(bo) | |
287 | 287 | let bp = invoke(K(), "createOrUpdate", [G, bg, false], nil) | |
288 | 288 | if ((bp == bp)) | |
289 | 289 | then { | |
290 | 290 | let bq = invoke(K(), "addLabel", [G, "STAKING_LP"], nil) | |
291 | 291 | if ((bq == bq)) | |
292 | 292 | then [StringEntry(n(j), Q(G, B, R, S, bh)), StringEntry(C(bo), j), StringEntry(E(j), B), StringEntry(F(G), j), StringEntry(H(j), G), BooleanEntry(I(B), false), StringEntry(J(B), bi), IntegerEntry(r(), (bo + 1)), IntegerEntry(s(B), bn), IntegerEntry(w(B, height, lastBlock.timestamp), bn), bm, Burn(aN, 1), StringEntry(o(j), bj)] | |
293 | 293 | else throw("Strict value is not equal to itself.") | |
294 | 294 | } | |
295 | 295 | else throw("Strict value is not equal to itself.") | |
296 | 296 | } | |
297 | 297 | else throw("Strict value is not equal to itself.") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | ||
302 | 302 | @Callable(aY) | |
303 | 303 | func shutdownPut (br) = { | |
304 | 304 | let bs = toString(br) | |
305 | 305 | let bt = c(C(br)) | |
306 | 306 | let bi = c(J(bs)) | |
307 | 307 | if ((1 > size(bt))) | |
308 | 308 | then throw("invalid internalBaseAssetId") | |
309 | 309 | else if ((toString(aY.caller) != bi)) | |
310 | 310 | then throw("access denied") | |
311 | 311 | else [BooleanEntry(I(toString(br)), true)] | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | ||
316 | 316 | @Callable(aY) | |
317 | 317 | func put () = { | |
318 | 318 | let bu = value(aY.payments[0]) | |
319 | 319 | let aL = value(bu.assetId) | |
320 | 320 | let j = toBase58String(aL) | |
321 | 321 | let k = toString(aY.caller) | |
322 | 322 | let aU = aB(j) | |
323 | 323 | let G = aU[L] | |
324 | 324 | let aN = fromBase58String(G) | |
325 | 325 | let R = parseIntValue(aU[N]) | |
326 | 326 | let S = parseIntValue(aU[O]) | |
327 | 327 | let B = aU[M] | |
328 | 328 | let bv = e(I(B)) | |
329 | 329 | if (bv) | |
330 | 330 | then throw("put operation is blocked") | |
331 | 331 | else { | |
332 | 332 | let bw = (aJ(j) + bu.amount) | |
333 | 333 | let aq = aS(B, aL, aN, R, S)._1 | |
334 | 334 | let X = fraction(bu.amount, S, aq, CEILING) | |
335 | 335 | [Reissue(aN, X, true), ScriptTransfer(aY.caller, X, aN), StringEntry(ab("P", B, k, toBase58String(aY.transactionId)), aw("FINISHED", bu.amount, aq, X, height, lastBlock.timestamp, height, lastBlock.timestamp)), ScriptTransfer(addressFromStringValue(value(getString(o(j)))), bu.amount, aL), IntegerEntry(q(j), bw)] | |
336 | 336 | } | |
337 | 337 | } | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | ||
341 | 341 | @Callable(aY) | |
342 | 342 | func submitGetRequest () = { | |
343 | 343 | let bu = value(aY.payments[0]) | |
344 | 344 | let aN = value(bu.assetId) | |
345 | 345 | let G = toBase58String(aN) | |
346 | 346 | let bx = toBase58String(aY.callerPublicKey) | |
347 | 347 | let ad = aY.caller | |
348 | 348 | let k = toString(ad) | |
349 | 349 | let X = bu.amount | |
350 | 350 | let j = c(F(G)) | |
351 | 351 | let aL = fromBase58String(j) | |
352 | 352 | let aU = aB(j) | |
353 | 353 | let R = parseIntValue(aU[N]) | |
354 | 354 | let S = parseIntValue(aU[O]) | |
355 | 355 | let by = parseIntValue(aU[P]) | |
356 | 356 | let B = aU[M] | |
357 | 357 | let aq = aS(B, aL, aN, R, S)._1 | |
358 | 358 | let Y = fraction(X, aq, S) | |
359 | 359 | let bz = ab("G", B, k, toBase58String(aY.transactionId)) | |
360 | 360 | let bA = aw("PENDING", X, aq, Y, height, lastBlock.timestamp, (height + by), 0) | |
361 | 361 | [Burn(aN, X), StringEntry(bz, bA), aC(z(B), X, Y), aC(A(B, k), X, Y), IntegerEntry(q(j), (aJ(j) - Y))] | |
362 | 362 | } | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | ||
366 | 366 | @Callable(aY) | |
367 | 367 | func executeGetRequest (j,k,l) = { | |
368 | 368 | let ad = addressFromStringValue(k) | |
369 | 369 | let bB = aB(j) | |
370 | 370 | let aN = fromBase58String(bB[L]) | |
371 | 371 | let aL = fromBase58String(j) | |
372 | 372 | let B = bB[M] | |
373 | 373 | let bz = ab("G", B, k, l) | |
374 | 374 | let bC = split(c(bz), a) | |
375 | 375 | let ao = bC[af] | |
376 | 376 | let au = parseIntValue(bC[al]) | |
377 | 377 | let bD = parseIntValue(bC[ag]) | |
378 | 378 | let bE = parseIntValue(bC[ai]) | |
379 | 379 | if ((ao != "PENDING")) | |
380 | 380 | then h("Status is not PENDING", j, k, l) | |
381 | 381 | else if ((au > height)) | |
382 | 382 | then h(((("EndHeight[" + toString(au)) + "] > ") + toString(height)), j, k, l) | |
383 | 383 | else [ScriptTransfer(ad, bE, aL), StringEntry(bz, ax(bC, "FINISHED", lastBlock.timestamp)), aE(z(B), bD, bE), aE(A(B, k), bD, bE)] | |
384 | 384 | } | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | ||
388 | 388 | @Callable(aY) | |
389 | 389 | func topUpBalance (j,bF) = { | |
390 | 390 | let bB = aB(j) | |
391 | 391 | let bu = value(aY.payments[0]) | |
392 | 392 | let bG = value(bu.assetId) | |
393 | 393 | let bH = toBase58String(bG) | |
394 | 394 | let aN = fromBase58String(bB[L]) | |
395 | 395 | let R = parseIntValue(bB[N]) | |
396 | 396 | let S = parseIntValue(bB[O]) | |
397 | 397 | let B = bB[M] | |
398 | 398 | let bI = u(B, toString(aY.caller)) | |
399 | 399 | let aW = valueOrElse(getInteger(this, bI), 0) | |
400 | 400 | let bJ = [bb(aY, j), if ((aW != height)) | |
401 | 401 | then true | |
402 | 402 | else throw("only one topUp per block is allowed"), if ((bF > 0)) | |
403 | 403 | then true | |
404 | 404 | else throw("only positive delta is allowed")] | |
405 | 405 | if ((bJ == bJ)) | |
406 | 406 | then if ((j != bH)) | |
407 | 407 | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
408 | 408 | else if ((size(aY.payments) > 1)) | |
409 | 409 | then throw("only one payment can be attached") | |
410 | 410 | else { | |
411 | 411 | let aq = aK(B, bG, bF, aN, R, S)._1 | |
412 | 412 | [IntegerEntry(s(B), aq), IntegerEntry(w(B, height, lastBlock.timestamp), aq), IntegerEntry(bI, height), IntegerEntry(q(bH), (aJ(bH) + bF))] | |
413 | 413 | } | |
414 | 414 | else throw("Strict value is not equal to itself.") | |
415 | 415 | } | |
416 | 416 | ||
417 | 417 | ||
418 | 418 | ||
419 | 419 | @Callable(aY) | |
420 | 420 | func currentSysParamsREST (j) = { | |
421 | 421 | let bK = aT(j) | |
422 | 422 | let aq = bK._1.value | |
423 | 423 | let S = bK._2.value | |
424 | 424 | let aP = bK._3.value | |
425 | 425 | let aO = bK._4.value | |
426 | 426 | let aQ = bK._5.value | |
427 | 427 | let aR = bK._6.value | |
428 | 428 | let bL = makeString(["startCurrentSysParamsREST", toString(aq), toString(S), toString(aP), toString(aO), toString(aQ), toString(aR), "endCurrentSysParamsREST"], a) | |
429 | 429 | throw(bL) | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | ||
434 | 434 | @Callable(aY) | |
435 | 435 | func setManager (bM) = { | |
436 | 436 | let bd = aX(aY) | |
437 | 437 | if ((bd == bd)) | |
438 | 438 | then { | |
439 | 439 | let bN = fromBase58String(bM) | |
440 | 440 | if ((bN == bN)) | |
441 | 441 | then [StringEntry(g(), bM)] | |
442 | 442 | else throw("Strict value is not equal to itself.") | |
443 | 443 | } | |
444 | 444 | else throw("Strict value is not equal to itself.") | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(aY) | |
450 | 450 | func confirmManager () = { | |
451 | 451 | let bO = aI() | |
452 | 452 | let bP = if (isDefined(bO)) | |
453 | 453 | then true | |
454 | 454 | else throw("no pending manager") | |
455 | 455 | if ((bP == bP)) | |
456 | 456 | then { | |
457 | 457 | let bQ = if ((aY.callerPublicKey == value(bO))) | |
458 | 458 | then true | |
459 | 459 | else throw("you are not pending manager") | |
460 | 460 | if ((bQ == bQ)) | |
461 | 461 | then [StringEntry(f(), toBase58String(value(bO))), DeleteEntry(g())] | |
462 | 462 | else throw("Strict value is not equal to itself.") | |
463 | 463 | } | |
464 | 464 | else throw("Strict value is not equal to itself.") | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | @Verifier(bR) | |
469 | 469 | func bS () = { | |
470 | 470 | let bT = { | |
471 | 471 | let aG = aF() | |
472 | 472 | if ($isInstanceOf(aG, "ByteVector")) | |
473 | 473 | then { | |
474 | 474 | let ba = aG | |
475 | 475 | ba | |
476 | 476 | } | |
477 | 477 | else if ($isInstanceOf(aG, "Unit")) | |
478 | 478 | then bR.senderPublicKey | |
479 | 479 | else throw("Match error") | |
480 | 480 | } | |
481 | 481 | sigVerify(bR.bodyBytes, bR.proofs[0], bT) | |
482 | 482 | } | |
483 | 483 |
github/deemru/w8io/169f3d6 50.47 ms ◑