tx · EmQNd2UuRkFdWCTDonyEjEBuAE2FfqHnDqXUEi5PozD9

3MpitqrscgkhBrgvUuc1DQ3QbSuwqGUfW6A:  -0.01000000 Waves

2019.10.01 16:55 [700733] smart account 3MpitqrscgkhBrgvUuc1DQ3QbSuwqGUfW6A > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
19.88 ms