tx · 6bMxtvRWPE9DYo4aes5TeqTnCzp8Jbqwjsiks1H5QedJ 3N6e2EUSSo927UNDRtMzbYocniNpXRVCZ51: -0.01000000 Waves 2020.01.29 11:55 [875398] smart account 3N6e2EUSSo927UNDRtMzbYocniNpXRVCZ51 > SELF 0.00000000 Waves
{ "type": 13, "id": "6bMxtvRWPE9DYo4aes5TeqTnCzp8Jbqwjsiks1H5QedJ", "fee": 1000000, "feeAssetId": null, "timestamp": 1580288185036, "version": 1, "sender": "3N6e2EUSSo927UNDRtMzbYocniNpXRVCZ51", "senderPublicKey": "37k36s8prVcPFTGgMn6ePS3a5p5xdp5YYARQgnLBfm9v", "proofs": [ "TjNoKXn1fp14Evj5obMEVkXVgDoQ3eTpPg3BFtg6Q5WjAESv5uNXsuys1AvACFAq4G7k7GvXwUkvSEfhvQCbyVo" ], "script": "base64:AAIDAAAAAAAAAAgIARIAEgASAAAAADQAAAAADWlzc3VlckFzc2V0SWQBAAAAID/Bu7dCYq9MICzI7o/J9xQsbolWoVVxwOFFGkkotrTCAAAAABFpbnZlc3RtZW50QXNzZXRJZAEAAAAEE6vZMwAAAAAYaW52ZXN0bWVudEFzc2V0SWRJc1dhdmVzBgAAAAAOb3duZXJQdWJsaWNLZXkBAAAAIB7Sy2Byhta5/2HkLfQ+O2UVSD6cE6LCDCeItcyM0Z58AAAAAAxvd25lckFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAADm93bmVyUHVibGljS2V5AAAAABJvd25lckFkZHJlc3NTdHJpbmcCAAAAIzNNck1CeWNqcm01a1JuRmE2aU02eHRLQ1hhQmV4a05LMlg2AAAAABNhc3NldERlY2ltYWxzT2Zmc2V0AAAAAAAAAAABAAAAAA90b2tlbnNhbGVBbW91bnQAAAAAAAAAAGQAAAAACXN0YXJ0VGltZQAAAAAAXjFJkAAAAAAHZW5kVGltZQAAAAAAXj53ZAAAAAAFcHJpY2UAAAAAAACYloAAAAAADXNvZnRDYXBBbW91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AAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAAAAAAAAAAAAwfu7V9G", "chainId": 84, "height": 875398, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'5Ht2NXamovKSa8MkD5Yv6hUissyBdMV5QD72rmLNbsD3' | |
5 | + | ||
6 | + | let b = base58'WAVES' | |
7 | + | ||
8 | + | let c = true | |
9 | + | ||
10 | + | let d = base58'35KfCYefcZkmQ1yeCAamySzeBWrM7bDW2bNAA8fhC91d' | |
11 | + | ||
12 | + | let e = addressFromPublicKey(d) | |
13 | + | ||
14 | + | let f = "3MrMBycjrm5kRnFa6iM6xtKCXaBexkNK2X6" | |
15 | + | ||
16 | + | let g = 1 | |
17 | + | ||
18 | + | let h = 100 | |
19 | + | ||
20 | + | let i = 1580288400 | |
21 | + | ||
22 | + | let j = 1581152100 | |
23 | + | ||
24 | + | let k = 10000000 | |
25 | + | ||
26 | + | let l = 500000000 | |
27 | + | ||
28 | + | let m = 10000000 | |
29 | + | ||
30 | + | let n = base58'' | |
31 | + | ||
32 | + | let o = 0 | |
33 | + | ||
34 | + | let p = 0 | |
35 | + | ||
36 | + | let q = 0 | |
37 | + | ||
38 | + | let r = 0 | |
39 | + | ||
40 | + | let s = 1 | |
41 | + | ||
42 | + | let t = 2 | |
43 | + | ||
44 | + | let u = "swapSumAmount " | |
45 | + | ||
46 | + | let v = "swapSumAssets " | |
47 | + | ||
48 | + | let w = "swapAssets" | |
49 | + | ||
50 | + | let x = "swapAmount" | |
51 | + | ||
52 | + | let y = "sumAmount " | |
53 | + | ||
54 | + | let z = "paidAmount " | |
55 | + | ||
56 | + | let A = "sumAssets " | |
57 | + | ||
58 | + | let B = "allow " | |
59 | + | ||
60 | + | let C = "assets" | |
61 | + | ||
62 | + | let D = "amount" | |
63 | + | ||
64 | + | let E = "issuer" | |
65 | + | ||
66 | + | let F = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ') | |
67 | + | ||
68 | + | let G = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR') | |
69 | + | ||
70 | + | let H = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1") | |
71 | + | ||
72 | + | let I = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ") | |
73 | + | ||
74 | + | let J = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe") | |
75 | + | ||
76 | + | let K = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC") | |
77 | + | ||
78 | + | let L = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg") | |
79 | + | ||
80 | + | let M = "4.0.0-testnet" | |
81 | + | ||
82 | + | let N = 1000 | |
83 | + | ||
84 | + | func O () = if ((q == r)) | |
85 | + | then true | |
86 | + | else (q == t) | |
87 | + | ||
88 | + | ||
89 | + | func P () = if ((q == s)) | |
90 | + | then true | |
91 | + | else (q == t) | |
92 | + | ||
93 | + | ||
94 | + | func Q () = { | |
95 | + | let R = value(blockInfoByHeight(height)) | |
96 | + | (R.timestamp / 1000) | |
97 | + | } | |
98 | + | ||
99 | + | ||
100 | + | func S (T,U) = if ((T == false)) | |
101 | + | then U | |
102 | + | else unit | |
103 | + | ||
104 | + | ||
105 | + | func V () = k | |
106 | + | ||
107 | + | ||
108 | + | func W (X) = { | |
109 | + | let Y = getInteger(this, X) | |
110 | + | if ($isInstanceOf(Y, "Int")) | |
111 | + | then { | |
112 | + | let Z = Y | |
113 | + | Z | |
114 | + | } | |
115 | + | else 0 | |
116 | + | } | |
117 | + | ||
118 | + | ||
119 | + | func aa () = (Q() >= i) | |
120 | + | ||
121 | + | ||
122 | + | func ab () = { | |
123 | + | let ac = { | |
124 | + | let Y = getInteger(this, C) | |
125 | + | if ($isInstanceOf(Y, "Int")) | |
126 | + | then { | |
127 | + | let Z = Y | |
128 | + | Z | |
129 | + | } | |
130 | + | else h | |
131 | + | } | |
132 | + | if ((Q() > j)) | |
133 | + | then true | |
134 | + | else (ac == 0) | |
135 | + | } | |
136 | + | ||
137 | + | ||
138 | + | func ad () = { | |
139 | + | let ac = { | |
140 | + | let Y = getInteger(this, w) | |
141 | + | if ($isInstanceOf(Y, "Int")) | |
142 | + | then { | |
143 | + | let Z = Y | |
144 | + | Z | |
145 | + | } | |
146 | + | else o | |
147 | + | } | |
148 | + | if ((Q() > j)) | |
149 | + | then true | |
150 | + | else (ac == 0) | |
151 | + | } | |
152 | + | ||
153 | + | ||
154 | + | func ae () = if (if (P()) | |
155 | + | then O() | |
156 | + | else false) | |
157 | + | then if (ab()) | |
158 | + | then ad() | |
159 | + | else false | |
160 | + | else if (O()) | |
161 | + | then ab() | |
162 | + | else if (P()) | |
163 | + | then ad() | |
164 | + | else false | |
165 | + | ||
166 | + | ||
167 | + | func af (ag) = { | |
168 | + | let Y = ag.payment | |
169 | + | if ($isInstanceOf(Y, "AttachedPayment")) | |
170 | + | then { | |
171 | + | let ah = Y | |
172 | + | let ai = { | |
173 | + | let aj = ah.assetId | |
174 | + | if ($isInstanceOf(aj, "ByteVector")) | |
175 | + | then { | |
176 | + | let U = aj | |
177 | + | if (!(c)) | |
178 | + | then (U == b) | |
179 | + | else false | |
180 | + | } | |
181 | + | else (c == true) | |
182 | + | } | |
183 | + | if (ai) | |
184 | + | then if ((g == 1)) | |
185 | + | then if (((ah.amount % k) == 0)) | |
186 | + | then ah.amount | |
187 | + | else throw("payment amount must be a multiple of token price") | |
188 | + | else ah.amount | |
189 | + | else throw("Invalid asset ID of investment") | |
190 | + | } | |
191 | + | else throw("Payment must be attached") | |
192 | + | } | |
193 | + | ||
194 | + | ||
195 | + | func ak (ag) = { | |
196 | + | let Y = ag.payment | |
197 | + | if ($isInstanceOf(Y, "AttachedPayment")) | |
198 | + | then { | |
199 | + | let ah = Y | |
200 | + | let ai = { | |
201 | + | let aj = ah.assetId | |
202 | + | if ($isInstanceOf(aj, "ByteVector")) | |
203 | + | then { | |
204 | + | let U = aj | |
205 | + | (U == n) | |
206 | + | } | |
207 | + | else false | |
208 | + | } | |
209 | + | if (ai) | |
210 | + | then if ((g == 1)) | |
211 | + | then if (((ah.amount % p) == 0)) | |
212 | + | then ah.amount | |
213 | + | else throw("payment amount must be a multiple of token price") | |
214 | + | else ah.amount | |
215 | + | else throw("Invalid asset ID of investment") | |
216 | + | } | |
217 | + | else throw("Payment must be attached") | |
218 | + | } | |
219 | + | ||
220 | + | ||
221 | + | @Callable(ag) | |
222 | + | func deposit () = { | |
223 | + | let al = V() | |
224 | + | let am = W(D) | |
225 | + | if (!(O())) | |
226 | + | then throw("This deposit method is unsopperted for this company") | |
227 | + | else if (!(aa())) | |
228 | + | then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j))) | |
229 | + | else if (ab()) | |
230 | + | then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
231 | + | else { | |
232 | + | let an = af(ag) | |
233 | + | let ao = toBase58String(ag.caller.bytes) | |
234 | + | let ap = { | |
235 | + | let Y = getInteger(F, ao) | |
236 | + | if ($isInstanceOf(Y, "Int")) | |
237 | + | then { | |
238 | + | let Z = Y | |
239 | + | Z | |
240 | + | } | |
241 | + | else -255 | |
242 | + | } | |
243 | + | if ((N > ap)) | |
244 | + | then throw("Your account has no right to send funds.") | |
245 | + | else { | |
246 | + | let aq = { | |
247 | + | let Y = getInteger(this, C) | |
248 | + | if ($isInstanceOf(Y, "Int")) | |
249 | + | then { | |
250 | + | let Z = Y | |
251 | + | Z | |
252 | + | } | |
253 | + | else h | |
254 | + | } | |
255 | + | let ar = ((an * g) / al) | |
256 | + | let as = ((m * g) / al) | |
257 | + | if (if (if ((0 > (aq - ar))) | |
258 | + | then true | |
259 | + | else (as > ar)) | |
260 | + | then true | |
261 | + | else if ((ar != aq)) | |
262 | + | then (ar > (aq - as)) | |
263 | + | else false) | |
264 | + | then throw("Incorrect payment amount.") | |
265 | + | else { | |
266 | + | let at = (W((y + ao)) + an) | |
267 | + | let au = (W((A + ao)) + ar) | |
268 | + | let av = (aq - ar) | |
269 | + | let aw = (am + an) | |
270 | + | WriteSet([DataEntry((y + ao), at), DataEntry((A + ao), au), DataEntry(C, av), DataEntry(D, aw)]) | |
271 | + | } | |
272 | + | } | |
273 | + | } | |
274 | + | } | |
275 | + | ||
276 | + | ||
277 | + | ||
278 | + | @Callable(ag) | |
279 | + | func swapDeposit () = { | |
280 | + | let al = p | |
281 | + | let am = W(x) | |
282 | + | if (!(P())) | |
283 | + | then throw("This swap-deposit method is unsopperted for this company") | |
284 | + | else if (!(aa())) | |
285 | + | then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j))) | |
286 | + | else if (ad()) | |
287 | + | then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
288 | + | else { | |
289 | + | let an = ak(ag) | |
290 | + | let ao = toBase58String(ag.caller.bytes) | |
291 | + | let ap = { | |
292 | + | let Y = getInteger(F, ao) | |
293 | + | if ($isInstanceOf(Y, "Int")) | |
294 | + | then { | |
295 | + | let Z = Y | |
296 | + | Z | |
297 | + | } | |
298 | + | else -255 | |
299 | + | } | |
300 | + | if ((N > ap)) | |
301 | + | then throw("Your account has no right to send funds.") | |
302 | + | else { | |
303 | + | let aq = { | |
304 | + | let Y = getInteger(this, w) | |
305 | + | if ($isInstanceOf(Y, "Int")) | |
306 | + | then { | |
307 | + | let Z = Y | |
308 | + | Z | |
309 | + | } | |
310 | + | else o | |
311 | + | } | |
312 | + | let ar = ((an * g) / al) | |
313 | + | if ((0 > (aq - ar))) | |
314 | + | then throw("Incorrect payment amount.") | |
315 | + | else { | |
316 | + | let at = (W((u + ao)) + an) | |
317 | + | let au = (W((v + ao)) + ar) | |
318 | + | let av = (aq - ar) | |
319 | + | let aw = (am + an) | |
320 | + | WriteSet([DataEntry((u + ao), at), DataEntry((v + ao), au), DataEntry(w, av), DataEntry(x, aw)]) | |
321 | + | } | |
322 | + | } | |
323 | + | } | |
324 | + | } | |
325 | + | ||
326 | + | ||
327 | + | ||
328 | + | @Callable(ag) | |
329 | + | func withdrawal () = { | |
330 | + | let ax = { | |
331 | + | let Y = getInteger(G, toString(this)) | |
332 | + | if ($isInstanceOf(Y, "Int")) | |
333 | + | then { | |
334 | + | let Z = Y | |
335 | + | Z | |
336 | + | } | |
337 | + | else 0 | |
338 | + | } | |
339 | + | if ((ax == 0)) | |
340 | + | then throw("Withdrawals are not available until the issuer passes verification") | |
341 | + | else { | |
342 | + | let ao = toBase58String(ag.caller.bytes) | |
343 | + | let ay = W((A + ao)) | |
344 | + | let az = W((y + ao)) | |
345 | + | let aA = W((v + ao)) | |
346 | + | let aB = W((u + ao)) | |
347 | + | let aC = W(x) | |
348 | + | let aD = W(w) | |
349 | + | let am = W(D) | |
350 | + | let aq = W(C) | |
351 | + | let aE = S(c, b) | |
352 | + | if (!(ae())) | |
353 | + | then throw("The Company is still active") | |
354 | + | else if (if (if ((ao == f)) | |
355 | + | then if ((am >= l)) | |
356 | + | then true | |
357 | + | else (aC != 0) | |
358 | + | else false) | |
359 | + | then (ax == 1) | |
360 | + | else false) | |
361 | + | then { | |
362 | + | let aF = W(E) | |
363 | + | if ((aF == 0)) | |
364 | + | then if (if (O()) | |
365 | + | then P() | |
366 | + | else false) | |
367 | + | then ScriptResult(WriteSet([DataEntry(E, 1)]), TransferSet([ScriptTransfer(e, am, aE), ScriptTransfer(e, aC, n)])) | |
368 | + | else if (O()) | |
369 | + | then ScriptResult(WriteSet([DataEntry(E, 1)]), TransferSet([ScriptTransfer(e, am, aE)])) | |
370 | + | else ScriptResult(WriteSet([DataEntry(E, 1)]), TransferSet([ScriptTransfer(e, aC, n)])) | |
371 | + | else throw("The issuer has already taken its share!") | |
372 | + | } | |
373 | + | else if (if ((az == 0)) | |
374 | + | then (aB == 0) | |
375 | + | else false) | |
376 | + | then throw("Don't have money") | |
377 | + | else if (if (O()) | |
378 | + | then P() | |
379 | + | else false) | |
380 | + | then if ((ax == 1)) | |
381 | + | then ScriptResult(WriteSet([DataEntry((y + ao), 0), DataEntry((A + ao), 0), DataEntry((u + ao), 0), DataEntry((v + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, ay, a), ScriptTransfer(ag.caller, aA, a)])) | |
382 | + | else ScriptResult(WriteSet([DataEntry((y + ao), 0), DataEntry((A + ao), 0), DataEntry((u + ao), 0), DataEntry((v + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, az, aE), ScriptTransfer(ag.caller, aB, n)])) | |
383 | + | else if (O()) | |
384 | + | then if (if ((am >= l)) | |
385 | + | then (ax == 1) | |
386 | + | else false) | |
387 | + | then ScriptResult(WriteSet([DataEntry((y + ao), 0), DataEntry((A + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, ay, a)])) | |
388 | + | else ScriptResult(WriteSet([DataEntry((y + ao), 0), DataEntry((A + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, az, aE)])) | |
389 | + | else if ((ax == 1)) | |
390 | + | then ScriptResult(WriteSet([DataEntry((u + ao), 0), DataEntry((v + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, aA, a)])) | |
391 | + | else ScriptResult(WriteSet([DataEntry((u + ao), 0), DataEntry((v + ao), 0)]), TransferSet([ScriptTransfer(ag.caller, aB, n)])) | |
392 | + | } | |
393 | + | } | |
394 | + | ||
395 | + | ||
396 | + | @Verifier(aG) | |
397 | + | func aH () = { | |
398 | + | let Y = aG | |
399 | + | if (if ($isInstanceOf(Y, "SetAssetScriptTransaction")) | |
400 | + | then true | |
401 | + | else $isInstanceOf(Y, "SetScriptTransaction")) | |
402 | + | then { | |
403 | + | let aG = Y | |
404 | + | let aI = if (isDefined(getInteger(extract(H), toBase58String(aG.id)))) | |
405 | + | then 1 | |
406 | + | else 0 | |
407 | + | let aJ = if (isDefined(getInteger(extract(I), toBase58String(aG.id)))) | |
408 | + | then 1 | |
409 | + | else 0 | |
410 | + | let aK = if (isDefined(getInteger(extract(J), toBase58String(aG.id)))) | |
411 | + | then 1 | |
412 | + | else 0 | |
413 | + | let aL = if (isDefined(getInteger(extract(K), toBase58String(aG.id)))) | |
414 | + | then 1 | |
415 | + | else 0 | |
416 | + | let aM = if (isDefined(getInteger(extract(L), toBase58String(aG.id)))) | |
417 | + | then 1 | |
418 | + | else 0 | |
419 | + | (((((aI + aJ) + aK) + aL) + aM) >= 3) | |
420 | + | } | |
421 | + | else false | |
422 | + | } | |
423 | + |
github/deemru/w8io/026f985 31.28 ms ◑