tx · 9fr5wt6eawZXQ16rPP3xfzbr1ZDZYBUZnaPEyUPg1uHp

3MquwmjH5AJPoxZATHbopQKS2abWHtxwcbi:  -0.01000000 Waves

2019.11.19 19:43 [772287] smart account 3MquwmjH5AJPoxZATHbopQKS2abWHtxwcbi > SELF 0.00000000 Waves

{ "type": 13, "id": "9fr5wt6eawZXQ16rPP3xfzbr1ZDZYBUZnaPEyUPg1uHp", "fee": 1000000, "feeAssetId": null, "timestamp": 1574181775656, "version": 1, "sender": "3MquwmjH5AJPoxZATHbopQKS2abWHtxwcbi", "senderPublicKey": "CS63FG6Rx2X5oZ64kWfddj7eUM4vf8ZPxkMwkYDn2PGo", "proofs": [ "ftiveocwHdoRucawJzykXmzPdmzEYYNZZpqdcNBndBXPpf9DWrgbsPXvkyPsi7cbYajL2hbvJ2pSaCWgxkvVATE" ], "script": "base64:AAIDAAAAAAAAAA0IARIECgICARIDCgEIAAAAMgAAAAAFV0FWRVMAAAAAAAX14QAAAAAAA1VTRAAAAAAAAAAAZAAAAAAUcm9vdEFjY291bnRQdWJsaWNLZXkBAAAAIKtxg1qvacBtqcfHnm9nzu1j4fM2f8KAlLVKano9cMMVAAAAAA5saWdhQ29tbWlzc2lvbgAAAAAAAAAAAAAAAAAVdG90YWxBc3NldHNQZXJPdXRjb21lAAAAAAAAACcQAAAAABpwcmVzYWxlTWF4QXNzZXRzUGVyT3V0Y29tZQAAAAAAAAALuAAAAAAPZXZlbnRDdXJyZW5jeUlkAQAAACCzq+2OuNxhJLJhVt602yIUBLswcJEXYkm4f70ULNMzNwAAAAAMcHJlc2FsZVByaWNlAAAAAAAAAAAyAAAAAAlsaXZlUHJpY2UAAAAAAAAAAGQAAAAADWxpdmVQcmljZVN0ZXAAAAAAAAAAABQAAAAAE2xpdmVQcmljZVN0ZXBQZXJpb2QAAAAAAAAAA+gAAAAACXN0YXR1c0tleQIAAAAGc3RhdHVzAAAAAAtwYXVzZVN0YXR1cwIAAAAFcGF1c2UAAAAADXByZXNhbG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, "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 = 100000000
5+
6+let b = 100
7+
8+let c = base58'CYF7FumpbZzyHMFuFQRQfo9XC9veJemd3XuBkusRCcAg'
9+
10+let d = 0
11+
12+let e = 10000
13+
14+let f = 3000
15+
16+let g = base58'D6N2rAqWN6ZCWnCeNFWLGqqjS6nJLeK4m19XiuhdDenr'
17+
18+let h = 50
19+
20+let i = 100
21+
22+let j = 20
23+
24+let k = 1000
25+
26+let l = "status"
27+
28+let m = "pause"
29+
30+let n = "presale"
31+
32+let o = "live"
33+
34+let p = "complete"
35+
36+let q = "payout"
37+
38+func r (s) = throw((("salesIsNotAvailableInStatusError" + ",") + s))
39+
40+
41+func t (u) = throw(("nonexistentOutcomeAssetError," + toBase58String(u)))
42+
43+
44+func v (w,x) = throw((((("notEnoughOutcomeAssetsInPresaleStockError" + ",") + toString(x)) + ",") + toString(w)))
45+
46+
47+func y (w,x) = throw((((("notEnoughOutcomeAssetsInSaleStockError" + ",") + toString(x)) + ",") + toString(w)))
48+
49+
50+func z (A) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(g)) + ",") + toBase58String(A)))
51+
52+
53+func B (C,D) = throw((((("insufficientPaymentError" + ",") + toString(D)) + ",") + toString(C)))
54+
55+
56+func E () = throw("unsupportedEventStatusError")
57+
58+
59+func F () = throw("isNotRootCallerError")
60+
61+
62+let G = "noPaymentError"
63+
64+func H () = throw("undefinedError")
65+
66+
67+func I (J,K) = if (isDefined(getInteger(this, J)))
68+ then getIntegerValue(this, J)
69+ else K
70+
71+
72+func L (J,K) = if (isDefined(getInteger(this, J)))
73+ then getStringValue(this, J)
74+ else K
75+
76+
77+func M (J) = getIntegerValue(this, J)
78+
79+
80+func N (J,O) = DataEntry(J, O)
81+
82+
83+func P (J) = getStringValue(this, J)
84+
85+
86+func Q (J,O) = DataEntry(J, O)
87+
88+
89+func R (J,O) = DataEntry(J, O)
90+
91+
92+func S (J) = getBinaryValue(this, J)
93+
94+
95+func T (s) = if (if (if (if ((s == m))
96+ then true
97+ else (s == n))
98+ then true
99+ else (s == o))
100+ then true
101+ else (s == p))
102+ then true
103+ else (s == q)
104+
105+
106+func U () = P(l)
107+
108+
109+func V (s) = Q(l, s)
110+
111+
112+func W (X) = valueOrErrorMessage(X.payment, G)
113+
114+
115+func Y (Z) = {
116+ let aa = Z.assetId
117+ if ($isInstanceOf(aa, "ByteVector"))
118+ then {
119+ let ab = aa
120+ ab
121+ }
122+ else if ($isInstanceOf(aa, "Unit"))
123+ then {
124+ let ab = aa
125+ fromBase58String("WAVES")
126+ }
127+ else throw()
128+ }
129+
130+
131+func ac (ad,J) = {
132+ let aa = getInteger(ad, J)
133+ if ($isInstanceOf(aa, "Int"))
134+ then {
135+ let X = aa
136+ X
137+ }
138+ else 0
139+ }
140+
141+
142+func ae (af,ag,ah) = ((ah * ((2 * af) + ((ah - 1) * ag))) / 2)
143+
144+
145+func ai (u) = ("presaleOutcomeAmountSales_" + toBase58String(u))
146+
147+
148+func aj (u) = {
149+ let ak = ai(u)
150+ ac(this, ak)
151+ }
152+
153+
154+func al (ah) = {
155+ let am = (ah / k)
156+ let an = ae(i, j, am)
157+ ((an * k) + ((ae(i, j, (am + 1)) - an) * (ah % k)))
158+ }
159+
160+
161+func ao (X) = {
162+ let ap = toBase58String(X.callerPublicKey)
163+ let aq = toBase58String(c)
164+ if ((ap == aq))
165+ then true
166+ else false
167+ }
168+
169+
170+func ar (X) = {
171+ let ap = toBase58String(X.callerPublicKey)
172+ let aq = toBase58String(c)
173+ if ((ap == aq))
174+ then true
175+ else false
176+ }
177+
178+
179+func as (at,w) = (al((at + w)) - al(at))
180+
181+
182+func au (av,u,aw,ax,ay) = {
183+ let az = (e - ay)
184+ let aA = (f - az)
185+ let aB = (h * ax)
186+ if ((ax > aA))
187+ then v(ax, aA)
188+ else if ((aw != aB))
189+ then B(aw, aB)
190+ else {
191+ let ak = ai(u)
192+ let aC = aj(u)
193+ let aD = (aC + ax)
194+ let aE = WriteSet([DataEntry(ak, aD)])
195+ let aF = TransferSet([ScriptTransfer(av, ax, u)])
196+ ScriptResult(aE, aF)
197+ }
198+ }
199+
200+
201+func aG (av,u,aw,ax,ay) = {
202+ let aH = aj(u)
203+ let az = ((e - aH) - ay)
204+ let aB = as(az, ax)
205+ if ((ax > ay))
206+ then y(ax, ay)
207+ else if ((aw != aB))
208+ then B(aw, aB)
209+ else TransferSet([ScriptTransfer(av, ax, u)])
210+ }
211+
212+
213+@Callable(X)
214+func buyOutcomeToken (u,ax) = {
215+ let av = X.caller
216+ let ay = assetBalance(this, u)
217+ let s = U()
218+ let Z = W(X)
219+ let aw = Z.amount
220+ let aI = Y(Z)
221+ let aJ = (aI != g)
222+ let aK = (s == n)
223+ let aL = (s == o)
224+ let aM = if (aK)
225+ then true
226+ else aL
227+ if ((ay == 0))
228+ then t(u)
229+ else if (aJ)
230+ then z(aI)
231+ else if (!(aM))
232+ then r(s)
233+ else if (aK)
234+ then au(av, u, aw, ax, ay)
235+ else if (aL)
236+ then aG(av, u, aw, ax, ay)
237+ else H()
238+ }
239+
240+
241+
242+@Callable(X)
243+func changeStatus (aN) = if (!(T(aN)))
244+ then E()
245+ else if (!(ao(X)))
246+ then F()
247+ else WriteSet([V(aN)])
248+
249+

github/deemru/w8io/026f985 
202.63 ms