tx · C4q33uiTApAhMjWQLAUjuL7PHaNAoLTicZRrde4T49TL

3MzJKnwaPGXK6y6HpQi2VM4GWPRAT1p8jgd:  -0.01000000 Waves

2020.01.22 19:46 [865719] smart account 3MzJKnwaPGXK6y6HpQi2VM4GWPRAT1p8jgd > SELF 0.00000000 Waves

{ "type": 13, "id": "C4q33uiTApAhMjWQLAUjuL7PHaNAoLTicZRrde4T49TL", "fee": 1000000, "feeAssetId": null, "timestamp": 1579711668055, "version": 1, "sender": "3MzJKnwaPGXK6y6HpQi2VM4GWPRAT1p8jgd", "senderPublicKey": "CcNzya2xkkFZqeuZA2ZBuz8AVwi3xEpxYxkNvvdiNdcK", "proofs": [ "NPwwTPCVNApjsMqwn1CCQAku6sVjXAr26yqyR9A98DMUjtyYdCR5EmD7KsEJwzBQAx2mPvQPQHTbjgauXnkMW9q" ], "script": "base64:AAIDAAAAAAAAAAgIARIAEgASAAAAADQAAAAADWlzc3VlckFzc2V0SWQBAAAAIO6dQnKOFXg99+L5H4Wo5jEDIpeqPvmUPQmf/d+t7ROBAAAAABFpbnZlc3RtZW50QXNzZXRJZAEAAAAEE6vZMwAAAAAYaW52ZXN0bWVudEFzc2V0SWRJc1dhdmVzBgAAAAAOb3duZXJQdWJsaWNLZXkBAAAAIFW5iBVeieGtpgt/ff0ReLKl3TNxb+qvDV5+yS7vyUQDAAAAAAxvd25lckFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAADm93bmVyUHVibGljS2V5AAAAABJvd25lckFkZHJlc3NTdHJpbmcCAAAAIzNNeWdYd2dTRWd4elljREpvYnlNckFodmlkUFNuelFDVGFEAAAAABNhc3NldERlY2ltYWxzT2Zmc2V0AAAAAAAAAAABAAAAAA90b2tlbnNhbGVBbW91bnQAAAAAAAAAAGQAAAAACXN0YXJ0VGltZQAAAAAAXig4UAAAAAAHZW5kVGltZQAAAAAAXi17CAAAAAAFcHJpY2UAAAAAAAX14QAAAAAADXNvZnRDYXBB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V5M1NpZ25lZAUAAAALcEtleTRTaWduZWQFAAAAC3BLZXk1U2lnbmVkAAAAAAAAAAADB4xxz2Q=", "chainId": 84, "height": 865719, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = base58'H4T7ZsWtzhyUnR7mYhnRoomZqF1pojRDF47RGFmxdi1n'
5+
6+let b = base58'WAVES'
7+
8+let c = true
9+
10+let d = base58'6mdjtG9pDarp6zRWvPDVgFasxSKrVLqVAxb6LpnoqZbG'
11+
12+let e = addressFromPublicKey(d)
13+
14+let f = "3MygXwgSEgxzYcDJobyMrAhvidPSnzQCTaD"
15+
16+let g = 1
17+
18+let h = 100
19+
20+let i = 1579694160
21+
22+let j = 1580038920
23+
24+let k = 100000000
25+
26+let l = 1000000000
27+
28+let m = 100000000
29+
30+let n = base58'G7sJQse5JnS7BB2TTppRnEtjpoTnQKX6jpTPrnY2f8nn'
31+
32+let o = 10
33+
34+let p = 100000000
35+
36+let q = 2
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/169f3d6 
31.06 ms