tx · EAadTDubwtGkXNciaVFt43ja3LbWCHmK1PX4N6Y4tibr

3MrBu5zP2cqF4FqwzCyArEwFR6C3dMNuQFP:  -0.01000000 Waves

2019.11.08 19:12 [756211] smart account 3MrBu5zP2cqF4FqwzCyArEwFR6C3dMNuQFP > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
17.44 ms