tx · CAM9FCNoL4jp8tWdKqTy5U9ddzEnXAvHGaBA5o1dw6jg

3N6yX7137KopZ7A1Yf75nvWuS5gbuQAy2gA:  -0.01000000 Waves

2019.11.07 11:58 [754303] smart account 3N6yX7137KopZ7A1Yf75nvWuS5gbuQAy2gA > SELF 0.00000000 Waves

{ "type": 13, "id": "CAM9FCNoL4jp8tWdKqTy5U9ddzEnXAvHGaBA5o1dw6jg", "fee": 1000000, "feeAssetId": null, "timestamp": 1573117233414, "version": 1, "sender": "3N6yX7137KopZ7A1Yf75nvWuS5gbuQAy2gA", "senderPublicKey": "5VMu4TU43qaJyo1oVsXv3VhNuLDTiJHDrbBcnspcmk9a", "proofs": [ "3LLDPnpriEpumD9Cg84Qt5TiYaoC94uVotACcoQxUqGcKvjGLGmYP2cbj8JDY71g22fohjC87cqpn34xLa2qfwtS" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgICAQAAACcAAAAAFGJ1eU91dGNvbWVUb2tlblR4RmVlAAAAAAAAB6EgAAAAAAVXQVZFUwAAAAAABfXhAAAAAAADVVNEAAAAAAAAAABkAAAAAA5saWdhQ29tbWlzc2lvbgAAAAAAAAAAAAAAAAAdd2F2ZXNSYXRlc09yYWNsZUFkZHJlc3NTdHJpbmcBAAAAAAAAAAAVdG90YWxBc3NldHNQZXJPdXRjb21lAAAAAAAAACcQAAAAABpwcmVzYWxlTWF4QXNzZXRzUGVyT3V0Y29tZQAAAAAAAAALuAAAAAAPZXZlbnRDdXJyZW5jeUlkAQAAAAAAAAAAEGV2ZW50U3RhcnRIZWlnaHQAAAAAAAAAAAAAAAAADmV2ZW50RW5kSGVpZ2h0AAAAAAAAAAABAAAAAAxwcmVzYWxlUHJpY2UAAAAAAAAAA+gAAAAAEnByZXNhbGVTdGFydEhlaWdodAAAAAAAAAAAAAAAAAAQcHJlc2FsZUVuZEhlaWdodAAAAAAAAAAACgAAAAAJc2FsZVByaWNlAAAAAAAAABOIAAAAAA1zYWxlUHJpY2VTdGVwAAAAAA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50VG9CdXkFAAAAGW91dGNvbWVBbW91bnRFdmVudEJhbGFuY2UFAAAAA2ZlZQkBAAAAE3Rocm93VW5kZWZpbmVkRXJyb3IAAAAAAAAAANFCSBg=", "chainId": 84, "height": 754303, "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 = 0
11+
12+let e = base58''
13+
14+let f = 10000
15+
16+let g = 3000
17+
18+let h = base58''
19+
20+let i = 0
21+
22+let j = 1
23+
24+let k = 1000
25+
26+let l = 0
27+
28+let m = 10
29+
30+let n = 5000
31+
32+let o = 500
33+
34+let p = 100
35+
36+let q = 0
37+
38+let r = 10
39+
40+func s () = throw((((("buyBeforePresalePeriodError" + ",") + toString(l)) + ",") + toString(height)))
41+
42+
43+func t () = throw((((("buyAfterSalePeriodError" + ",") + toString(r)) + ",") + toString(height)))
44+
45+
46+func u (v) = throw(("nonexistentOutcomeAssetError," + toBase58String(v)))
47+
48+
49+func w (x,y) = throw((((("notEnoughOutcomeAssetsInPresaleStockError" + ",") + toString(y)) + ",") + toString(x)))
50+
51+
52+func z (x,y) = throw((((("notEnoughOutcomeAssetsInSaleStockError" + ",") + toString(y)) + ",") + toString(x)))
53+
54+
55+func A (B) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(h)) + ",") + toBase58String(B)))
56+
57+
58+func C (D,E) = throw((((("insufficientPaymentError" + ",") + toString(E)) + ",") + toString(D)))
59+
60+
61+let F = "noPaymentError"
62+
63+func G () = throw("undefinedError")
64+
65+
66+func H (I) = valueOrErrorMessage(I.payment, F)
67+
68+
69+func J (K) = {
70+ let L = K.assetId
71+ if ($isInstanceOf(L, "ByteVector"))
72+ then {
73+ let M = L
74+ M
75+ }
76+ else if ($isInstanceOf(L, "Unit"))
77+ then {
78+ let M = L
79+ fromBase58String("WAVES")
80+ }
81+ else throw()
82+ }
83+
84+
85+func N (O,P) = {
86+ let L = getInteger(O, P)
87+ if ($isInstanceOf(L, "Int"))
88+ then {
89+ let I = L
90+ I
91+ }
92+ else 0
93+ }
94+
95+
96+func Q (R,S,T) = ((T * ((2 * R) + ((T - 1) * S))) / 2)
97+
98+
99+func U (v) = ("presaleOutcomeAmountSales_" + toBase58String(v))
100+
101+
102+func V (v) = {
103+ let W = U(v)
104+ N(this, W)
105+ }
106+
107+
108+func X () = {
109+ let Y = addressFromString(toBase58String(e))
110+ let Z = 50
111+ let L = Y
112+ if ($isInstanceOf(L, "Address"))
113+ then {
114+ let aa = L
115+ N(aa, "waves_usd_2")
116+ }
117+ else if ($isInstanceOf(L, "Unit"))
118+ then {
119+ let aa = L
120+ Z
121+ }
122+ else throw()
123+ }
124+
125+
126+func ab () = ((a * X()) / c)
127+
128+
129+func ac (T) = {
130+ let ad = (T / p)
131+ let ae = Q(n, o, ad)
132+ ((ae * p) + ((Q(n, o, (ad + 1)) - ae) * (T % p)))
133+ }
134+
135+
136+func af (ag,x) = (ac((ag + x)) - ac(ag))
137+
138+
139+func ah (ai,v,aj,ak,al,am) = {
140+ let an = (f - al)
141+ let ao = (g - an)
142+ let ap = ((k * ak) + am)
143+ if ((ak > ao))
144+ then w(ak, ao)
145+ else if ((aj != ap))
146+ then C(aj, ap)
147+ else {
148+ let W = U(v)
149+ let aq = V(v)
150+ let ar = (aq + ak)
151+ let as = WriteSet([DataEntry(W, ar)])
152+ let at = TransferSet([ScriptTransfer(ai, a, unit), ScriptTransfer(ai, ak, v)])
153+ ScriptResult(as, at)
154+ }
155+ }
156+
157+
158+func au (ai,v,aj,ak,al,am) = {
159+ let av = V(v)
160+ let an = ((f - av) - al)
161+ let ap = (af(an, ak) + am)
162+ if ((ak > al))
163+ then z(ak, al)
164+ else if ((aj != ap))
165+ then C(aj, ap)
166+ else TransferSet([ScriptTransfer(ai, a, unit), ScriptTransfer(ai, ak, v)])
167+ }
168+
169+
170+@Callable(I)
171+func buyOutcomeToken (v,ak) = {
172+ let am = ab()
173+ let ai = I.caller
174+ let al = assetBalance(this, v)
175+ let K = H(I)
176+ let aj = K.amount
177+ let aw = J(K)
178+ let ax = (aw != h)
179+ let ay = if ((height >= l))
180+ then (m >= height)
181+ else false
182+ let az = if ((height >= q))
183+ then (r >= height)
184+ else false
185+ if ((al == 0))
186+ then u(v)
187+ else if (ax)
188+ then A(aw)
189+ else if ((l > height))
190+ then s()
191+ else if ((height > r))
192+ then t()
193+ else if (ay)
194+ then ah(ai, v, aj, ak, al, am)
195+ else if (az)
196+ then au(ai, v, aj, ak, al, am)
197+ else G()
198+ }
199+
200+

github/deemru/w8io/026f985 
51.77 ms