tx · 91wxnR2j1udT2P2tpetEHp3VB6YsvaTB5HqZdKicDx2h

3NBc28Y88HAw8eWb8dzfBwRMexm2SSXMAdt:  -0.01000000 Waves

2019.11.27 13:37 [783566] smart account 3NBc28Y88HAw8eWb8dzfBwRMexm2SSXMAdt > SELF 0.00000000 Waves

{ "type": 13, "id": "91wxnR2j1udT2P2tpetEHp3VB6YsvaTB5HqZdKicDx2h", "fee": 1000000, "feeAssetId": null, "timestamp": 1574851131746, "version": 1, "sender": "3NBc28Y88HAw8eWb8dzfBwRMexm2SSXMAdt", "senderPublicKey": "2hJsY6pPLaBLuupYCsbxTGhKHPPPFPyHwt3UsGG6BVvm", "proofs": [ "7Tjmq4ww3DzSEPVsyc1RcAK3G23CKKAxwahnoVpBgTZ2jgybqVsxxuSxW1Mn6QbzCoqAq3368hVhEcx5dwhJNWQ" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAoAAAAAA1pc3N1ZXJBc3NldElkAQAAACBYrwj3jy6zHTxlU/E7XDlaf0lvMifn8D+xyg3J/Fmz4gAAAAARaW52ZXN0bWVudEFzc2V0SWQBAAAAIMyghA9N/H6PKJXRf4vv09OPc6rJgvZXIaRGMYd/LPwxAAAAABhpbnZlc3RtZW50QXNzZXRJZElzV2F2ZXMHAAAAAA5vd25lclB1YmxpY0tleQEAAAAgb3Tt2jXQRzlhhPz4FAwfa4BuG31G2PxTXaI1aW/NCS4AAAAADG93bmVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAOb3duZXJQdWJsaWNLZXkAAAAAEm93bmVyQWRkcmVzc1N0cmluZwIAAAAjM011ekRLWkV6Zmhad01raGVnR2JlVlV4c3c0cm5RWGRoZzgAAAAAE2Fzc2V0RGVjaW1hbHNPZmZzZXQAAAAAAAAAAAEAAAAAEHN1bUFjY291bnRBc3NldHMAAAAAAAAAAGQAAAAADGlzc3VlckFzc2V0cwAAAAAAAAAAZAAAAAAJc3RhcnRUaW1lA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VkAAAAAQkABBoAAAACCQEAAAAHZXh0cmFjdAAAAAEFAAAACXBBZGRyZXNzNQkAAlgAAAABCAUAAAACdHgAAAACaWQAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACBQAAAAtwS2V5MVNpZ25lZAUAAAALcEtleTJTaWduZWQFAAAAC3BLZXkzU2lnbmVkBQAAAAtwS2V5NFNpZ25lZAUAAAALcEtleTVTaWduZWQAAAAAAAAAAAMHd3m+TQ==", "chainId": 84, "height": 783566, "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'6yBgQ4THXxa2s9Lgwj44uJ2EXiqyZAQ8MBDG1hDMTrUH'
5+
6+let b = base58'Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn'
7+
8+let c = false
9+
10+let d = base58'8W5fhHxKofd9GVFyGYvVgNfndz2qxNwaAKzCTnpo4rUu'
11+
12+let e = addressFromPublicKey(d)
13+
14+let f = "3MuzDKZEzfhZwMkhegGbeVUxsw4rnQXdhg8"
15+
16+let g = 1
17+
18+let h = 100
19+
20+let i = 100
21+
22+let j = 1574850960
23+
24+let k = 1575633600
25+
26+let l = 1575633600
27+
28+let m = 100000
29+
30+let n = 100000
31+
32+let o = 10000000
33+
34+let p = 10000000
35+
36+let q = 100000
37+
38+let r = "sumAmount "
39+
40+let s = "paidAmount "
41+
42+let t = "sumAssets "
43+
44+let u = "allow "
45+
46+let v = "assets"
47+
48+let w = "amount"
49+
50+let x = "issuer"
51+
52+let y = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ')
53+
54+let z = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR')
55+
56+let A = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
57+
58+let B = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
59+
60+let C = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
61+
62+let D = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
63+
64+let E = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
65+
66+let F = "3.0.0-testnet"
67+
68+let G = 1000
69+
70+func H () = {
71+ let I = value(blockInfoByHeight(height))
72+ (I.timestamp / 1000)
73+ }
74+
75+
76+func J (K,L) = if ((K == false))
77+ then L
78+ else unit
79+
80+
81+func M () = if ((k > H()))
82+ then m
83+ else n
84+
85+
86+func N (O) = {
87+ let P = getInteger(this, O)
88+ if ($isInstanceOf(P, "Int"))
89+ then {
90+ let Q = P
91+ Q
92+ }
93+ else 0
94+ }
95+
96+
97+func R () = (j > H())
98+
99+
100+func S (T) = if ((H() > l))
101+ then true
102+ else (T >= p)
103+
104+
105+func U (V) = {
106+ let P = V.payment
107+ if ($isInstanceOf(P, "AttachedPayment"))
108+ then {
109+ let W = P
110+ let X = {
111+ let Y = W.assetId
112+ if ($isInstanceOf(Y, "ByteVector"))
113+ then {
114+ let L = Y
115+ if (!(c))
116+ then (L == b)
117+ else false
118+ }
119+ else (c == true)
120+ }
121+ if (X)
122+ then if ((g == 1))
123+ then if (((W.amount % m) == 0))
124+ then W.amount
125+ else throw("payment amount must be a multiple of token price")
126+ else W.amount
127+ else throw("Invalid asset ID of investment")
128+ }
129+ else throw("Payment must be attached")
130+ }
131+
132+
133+@Callable(V)
134+func deposit () = {
135+ let Z = M()
136+ let aa = N(w)
137+ if (R())
138+ then throw(((("The Tokensale works between " + toString(j)) + " and ") + toString(l)))
139+ else if (S(aa))
140+ then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.")
141+ else {
142+ let ab = U(V)
143+ let ac = toBase58String(V.caller.bytes)
144+ let ad = {
145+ let P = getInteger(y, ac)
146+ if ($isInstanceOf(P, "Int"))
147+ then {
148+ let Q = P
149+ Q
150+ }
151+ else -255
152+ }
153+ if ((G > ad))
154+ then throw("Your account has no right to send funds.")
155+ else {
156+ let ae = {
157+ let P = getInteger(this, v)
158+ if ($isInstanceOf(P, "Int"))
159+ then {
160+ let Q = P
161+ Q
162+ }
163+ else h
164+ }
165+ let af = ((ab * g) / Z)
166+ let ag = ((q * g) / Z)
167+ if (if (if ((0 > (ae - af)))
168+ then true
169+ else (ag > af))
170+ then true
171+ else if ((af != ae))
172+ then (af > (ae - ag))
173+ else false)
174+ then throw("Incorrect payment amount.")
175+ else {
176+ let ah = (N((r + ac)) + ab)
177+ let ai = (N((t + ac)) + af)
178+ let aj = (ae - af)
179+ let ak = (aa + ab)
180+ WriteSet([DataEntry((r + ac), ah), DataEntry((t + ac), ai), DataEntry(v, aj), DataEntry(w, ak)])
181+ }
182+ }
183+ }
184+ }
185+
186+
187+
188+@Callable(V)
189+func withdrawal () = {
190+ let al = {
191+ let P = getInteger(z, toString(this))
192+ if ($isInstanceOf(P, "Int"))
193+ then {
194+ let Q = P
195+ Q
196+ }
197+ else 0
198+ }
199+ if ((al == 0))
200+ then throw("Withdrawals are not available until the issuer passes verification")
201+ else {
202+ let ac = toBase58String(V.caller.bytes)
203+ let am = N((t + ac))
204+ let an = N((r + ac))
205+ let aa = N(w)
206+ let ae = N(v)
207+ let ao = J(c, b)
208+ if (!(S(aa)))
209+ then throw(("The Tokensale ends " + toString(l)))
210+ else if (if (if ((ac == f))
211+ then (aa >= o)
212+ else false)
213+ then (al == 1)
214+ else false)
215+ then {
216+ let ap = N(x)
217+ if ((ap == 0))
218+ then ScriptResult(WriteSet([DataEntry(x, (ae + i))]), TransferSet([ScriptTransfer(e, (ae + i), a), ScriptTransfer(e, aa, ao)]))
219+ else throw("The issuer has already taken its share!")
220+ }
221+ else if ((an == 0))
222+ then throw("Don't have money")
223+ else if (if ((aa >= o))
224+ then (al == 1)
225+ else false)
226+ then ScriptResult(WriteSet([DataEntry((r + ac), 0), DataEntry((t + ac), 0)]), TransferSet([ScriptTransfer(V.caller, am, a)]))
227+ else ScriptResult(WriteSet([DataEntry((r + ac), 0), DataEntry((t + ac), 0)]), TransferSet([ScriptTransfer(V.caller, an, ao)]))
228+ }
229+ }
230+
231+
232+@Verifier(aq)
233+func ar () = {
234+ let P = aq
235+ if (if ($isInstanceOf(P, "SetAssetScriptTransaction"))
236+ then true
237+ else $isInstanceOf(P, "SetScriptTransaction"))
238+ then {
239+ let aq = P
240+ let as = if (isDefined(getInteger(extract(A), toBase58String(aq.id))))
241+ then 1
242+ else 0
243+ let at = if (isDefined(getInteger(extract(B), toBase58String(aq.id))))
244+ then 1
245+ else 0
246+ let au = if (isDefined(getInteger(extract(C), toBase58String(aq.id))))
247+ then 1
248+ else 0
249+ let av = if (isDefined(getInteger(extract(D), toBase58String(aq.id))))
250+ then 1
251+ else 0
252+ let aw = if (isDefined(getInteger(extract(E), toBase58String(aq.id))))
253+ then 1
254+ else 0
255+ (((((as + at) + au) + av) + aw) >= 3)
256+ }
257+ else false
258+ }
259+

github/deemru/w8io/169f3d6 
29.28 ms