tx · BXNy3a59NxEvPSVqyp4sUTfRKCGuMMTZHvBdHTRGT1HA

3MvTUWHCYg83VUUmJALNj5E8xbzdPfttcgL:  -0.01000000 Waves

2019.11.12 14:17 [761750] smart account 3MvTUWHCYg83VUUmJALNj5E8xbzdPfttcgL > SELF 0.00000000 Waves

{ "type": 13, "id": "BXNy3a59NxEvPSVqyp4sUTfRKCGuMMTZHvBdHTRGT1HA", "fee": 1000000, "feeAssetId": null, "timestamp": 1573557463673, "version": 1, "sender": "3MvTUWHCYg83VUUmJALNj5E8xbzdPfttcgL", "senderPublicKey": "GwYrhnfhmJdfA4f6XAkd8kri8G8ZfyPgdxzYNFceBkMC", "proofs": [ "2UwjcrPLThJ933ZY3wSbwDZfdWWtA4zCEqEzvLPNYbPYHVcGeY5nHzbJCMYnGvNENbVoaPzRSwrBBmkrqau9Bzjk" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAoAAAAAA1pc3N1ZXJBc3NldElkAQAAACC4hlz5dnD8kJukF24XNdsiZ8xCjC3VxQ8J1Nrq64UnkgAAAAARaW52ZXN0bWVudEFzc2V0SWQBAAAABBOr2TMAAAAAGGludmVzdG1lbnRBc3NldElkSXNXYXZlcwYAAAAADm93bmVyUHVibGljS2V5AQAAACC7nBvkh2Gag8lrJsKVhPwG7L82s+CkQQ+R7HmzJF95IwAAAAAMb3duZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAA5vd25lclB1YmxpY0tleQAAAAASb3duZXJBZGRyZXNzU3RyaW5nAgAAACMzTkJxM2hDb3ZUVXRLdjl6SjViR1BTVk1uQkNhaWFOVkp6NAAAAAATYXNzZXREZWNpbWFsc09mZnNldAAAAAAAAAAAAQAAAAAQc3VtQWNjb3VudEFzc2V0cwAAAAAAAAAAZAAAAAAMaXNzdWVyQXNzZXRzAAAAAAAAAAAAAAAAAAlzdGFydFRpbWUAAAAAAF3KllAAAAAAEWluY3JlYXNlUHJpY2VUaW1l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AAAAEIBQAAAAJ0eAAAAAJpZAAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC3BLZXkxU2lnbmVkBQAAAAtwS2V5MlNpZ25lZAUAAAALcEtleTNTaWduZWQFAAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAAAAAAAAAAAAwcp0EdJ", "chainId": 84, "height": 761750, "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'DRJrBE1fLzeXD4qdd7MfJmq1891EUDmtU7ew1g5xj9F7'
5+
6+let b = base58'WAVES'
7+
8+let c = true
9+
10+let d = base58'DdMJaQRfYcGPY9CUsi5eYPrQfBMthd2CBJUpu5VneCsk'
11+
12+let e = addressFromPublicKey(d)
13+
14+let f = "3NBq3hCovTUtKv9zJ5bGPSVMnBCaiaNVJz4"
15+
16+let g = 1
17+
18+let h = 100
19+
20+let i = 0
21+
22+let j = 1573557840
23+
24+let k = 1573817100
25+
26+let l = 1573817100
27+
28+let m = 100000000
29+
30+let n = 100000000
31+
32+let o = 10000000000
33+
34+let p = 10000000000
35+
36+let q = 100000000
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("The issuer is not allowed to withdraw funds until they pass 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/026f985 
25.52 ms