tx · 3YVrBpMdeue8LMRXdrhZwr3vW45Q3Siw9ihamSgkfWw6
3Mu7VYYXCdKzYgHbTRTiR2GcmRjdKwpcXtx: -0.01400000 Waves
2019.11.15 14:46 [766153] smart account 3Mu7VYYXCdKzYgHbTRTiR2GcmRjdKwpcXtx > SELF 0.00000000 Waves
{
"type": 13,
"id": "3YVrBpMdeue8LMRXdrhZwr3vW45Q3Siw9ihamSgkfWw6",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1573818311080,
"version": 1,
"sender": "3Mu7VYYXCdKzYgHbTRTiR2GcmRjdKwpcXtx",
"senderPublicKey": "7hst8L8bJqbcGbPC9DbHZ5E83dQ3LXayYttNsUbgZt7r",
"proofs": [
"DD7rfKZJYPc2ExmJrxSE8nNfnLkH7cWwQoA9HWayEqFwgD438HkDGciUvZ9BP7LhJ2Lhcj22gZCjSeQuLrxYMA6"
],
"script": "base64:AAIDAAAAAAAAAA0IARIECgICARIDCgEIAAAAMgAAAAAFV0FWRVMAAAAAAAX14QAAAAAAA1VTRAAAAAAAAAAAZAAAAAAUcm9vdEFjY291bnRQdWJsaWNLZXkBAAAAIKtxg1qvacBtqcfHnm9nzu1j4fM2f8KAlLVKano9cMMVAAAAAA5saWdhQ29tbWlzc2lvbgAAAAAAAAAABgAAAAAVdG90YWxBc3NldHNQZXJPdXRjb21lAAAAAAAAACcQAAAAABpwcmVzYWxlTWF4QXNzZXRzUGVyT3V0Y29tZQAAAAAAAAALuAAAAAAPZXZlbnRDdXJyZW5jeUlkAQAAACCzq+2OuNxhJLJhVt602yIUBLswcJEXYkm4f70ULNMzNwAAAAAMcHJlc2FsZVByaWNlAAAAAAAAAAAyAAAAAAlsaXZlUHJpY2UAAAAAAAAAAGQAAAAADWxpdmVQcmljZVN0ZXAAAAAAAAAAABQAAAAAE2xpdmVQcmljZVN0ZXBQZXJpb2QAAAAAAAAAA+gAAAAACXN0YXR1c0tleQIAAAAGc3RhdHVzAAAAAAtwYXVzZVN0YXR1cwIAAAA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ABSV/fu",
"chainId": 84,
"height": 766153,
"spentComplexity": 0
}
View: original | compacted
Prev: Emfa2tfzvpTE3ndbcsTJBJ8qo5rcHgsWwj3v7NJkLzqj
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = 500000 |
---|
| 4 | + | let a = 100000000 |
---|
5 | 5 | | |
---|
6 | | - | let b = 100000000 |
---|
| 6 | + | let b = 100 |
---|
7 | 7 | | |
---|
8 | | - | let c = 100 |
---|
| 8 | + | let c = base58'CYF7FumpbZzyHMFuFQRQfo9XC9veJemd3XuBkusRCcAg' |
---|
9 | 9 | | |
---|
10 | | - | let d = base58'CYF7FumpbZzyHMFuFQRQfo9XC9veJemd3XuBkusRCcAg' |
---|
| 10 | + | let d = 6 |
---|
11 | 11 | | |
---|
12 | | - | let e = 0 |
---|
| 12 | + | let e = 10000 |
---|
13 | 13 | | |
---|
14 | | - | let f = 10000 |
---|
| 14 | + | let f = 3000 |
---|
15 | 15 | | |
---|
16 | | - | let g = 3000 |
---|
| 16 | + | let g = base58'D6N2rAqWN6ZCWnCeNFWLGqqjS6nJLeK4m19XiuhdDenr' |
---|
17 | 17 | | |
---|
18 | | - | let h = base58'D6N2rAqWN6ZCWnCeNFWLGqqjS6nJLeK4m19XiuhdDenr' |
---|
| 18 | + | let h = 50 |
---|
19 | 19 | | |
---|
20 | | - | let i = 1000 |
---|
| 20 | + | let i = 100 |
---|
21 | 21 | | |
---|
22 | | - | let j = 5000 |
---|
| 22 | + | let j = 20 |
---|
23 | 23 | | |
---|
24 | | - | let k = 500 |
---|
| 24 | + | let k = 1000 |
---|
25 | 25 | | |
---|
26 | | - | let l = 100 |
---|
| 26 | + | let l = "status" |
---|
27 | 27 | | |
---|
28 | | - | let m = "status" |
---|
| 28 | + | let m = "pause" |
---|
29 | 29 | | |
---|
30 | | - | let n = "pause" |
---|
| 30 | + | let n = "presale" |
---|
31 | 31 | | |
---|
32 | | - | let o = "presale" |
---|
| 32 | + | let o = "live" |
---|
33 | 33 | | |
---|
34 | | - | let p = "live" |
---|
| 34 | + | let p = "complete" |
---|
35 | 35 | | |
---|
36 | | - | let q = "complete" |
---|
| 36 | + | let q = "payout" |
---|
37 | 37 | | |
---|
38 | | - | let r = "payout" |
---|
39 | | - | |
---|
40 | | - | func s (t) = throw((("salesIsNotAvailableInStatusError" + ",") + t)) |
---|
| 38 | + | func r (s) = throw((("salesIsNotAvailableInStatusError" + ",") + s)) |
---|
41 | 39 | | |
---|
42 | 40 | | |
---|
43 | | - | func u (v) = throw(("nonexistentOutcomeAssetError," + toBase58String(v))) |
---|
| 41 | + | func t (u) = throw(("nonexistentOutcomeAssetError," + toBase58String(u))) |
---|
44 | 42 | | |
---|
45 | 43 | | |
---|
46 | | - | func w (x,y) = throw((((("notEnoughOutcomeAssetsInPresaleStockError" + ",") + toString(y)) + ",") + toString(x))) |
---|
| 44 | + | func v (w,x) = throw((((("notEnoughOutcomeAssetsInPresaleStockError" + ",") + toString(x)) + ",") + toString(w))) |
---|
47 | 45 | | |
---|
48 | 46 | | |
---|
49 | | - | func z (x,y) = throw((((("notEnoughOutcomeAssetsInSaleStockError" + ",") + toString(y)) + ",") + toString(x))) |
---|
| 47 | + | func y (w,x) = throw((((("notEnoughOutcomeAssetsInSaleStockError" + ",") + toString(x)) + ",") + toString(w))) |
---|
50 | 48 | | |
---|
51 | 49 | | |
---|
52 | | - | func A (B) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(h)) + ",") + toBase58String(B))) |
---|
| 50 | + | func z (A) = throw((((("unsupportedEventPaymentAssetError" + ",") + toBase58String(g)) + ",") + toBase58String(A))) |
---|
53 | 51 | | |
---|
54 | 52 | | |
---|
55 | | - | func C (D,E) = throw((((("insufficientPaymentError" + ",") + toString(E)) + ",") + toString(D))) |
---|
| 53 | + | func B (C,D) = throw((((("insufficientPaymentError" + ",") + toString(D)) + ",") + toString(C))) |
---|
56 | 54 | | |
---|
57 | 55 | | |
---|
58 | | - | func F () = throw("unsupportedEventStatusError") |
---|
| 56 | + | func E () = throw("unsupportedEventStatusError") |
---|
59 | 57 | | |
---|
60 | 58 | | |
---|
61 | | - | func G () = throw("isNotRootCallerError") |
---|
| 59 | + | func F () = throw("isNotRootCallerError") |
---|
62 | 60 | | |
---|
63 | 61 | | |
---|
64 | | - | let H = "noPaymentError" |
---|
| 62 | + | let G = "noPaymentError" |
---|
65 | 63 | | |
---|
66 | | - | func I () = throw("undefinedError") |
---|
| 64 | + | func H () = throw("undefinedError") |
---|
67 | 65 | | |
---|
68 | 66 | | |
---|
69 | | - | func J (K,L) = if (isDefined(getInteger(this, K))) |
---|
70 | | - | then getIntegerValue(this, K) |
---|
71 | | - | else L |
---|
| 67 | + | func I (J,K) = if (isDefined(getInteger(this, J))) |
---|
| 68 | + | then getIntegerValue(this, J) |
---|
| 69 | + | else K |
---|
72 | 70 | | |
---|
73 | 71 | | |
---|
74 | | - | func M (K,L) = if (isDefined(getInteger(this, K))) |
---|
75 | | - | then getStringValue(this, K) |
---|
76 | | - | else L |
---|
| 72 | + | func L (J,K) = if (isDefined(getInteger(this, J))) |
---|
| 73 | + | then getStringValue(this, J) |
---|
| 74 | + | else K |
---|
77 | 75 | | |
---|
78 | 76 | | |
---|
79 | | - | func N (K) = getIntegerValue(this, K) |
---|
| 77 | + | func M (J) = getIntegerValue(this, J) |
---|
80 | 78 | | |
---|
81 | 79 | | |
---|
82 | | - | func O (K,P) = DataEntry(K, P) |
---|
| 80 | + | func N (J,O) = DataEntry(J, O) |
---|
83 | 81 | | |
---|
84 | 82 | | |
---|
85 | | - | func Q (K) = getStringValue(this, K) |
---|
| 83 | + | func P (J) = getStringValue(this, J) |
---|
86 | 84 | | |
---|
87 | 85 | | |
---|
88 | | - | func R (K,P) = DataEntry(K, P) |
---|
| 86 | + | func Q (J,O) = DataEntry(J, O) |
---|
89 | 87 | | |
---|
90 | 88 | | |
---|
91 | | - | func S (K,P) = DataEntry(K, P) |
---|
| 89 | + | func R (J,O) = DataEntry(J, O) |
---|
92 | 90 | | |
---|
93 | 91 | | |
---|
94 | | - | func T (K) = getBinaryValue(this, K) |
---|
| 92 | + | func S (J) = getBinaryValue(this, J) |
---|
95 | 93 | | |
---|
96 | 94 | | |
---|
97 | | - | func U (t) = if (if (if (if ((t == n)) |
---|
| 95 | + | func T (s) = if (if (if (if ((s == m)) |
---|
98 | 96 | | then true |
---|
99 | | - | else (t == o)) |
---|
| 97 | + | else (s == n)) |
---|
100 | 98 | | then true |
---|
101 | | - | else (t == p)) |
---|
| 99 | + | else (s == o)) |
---|
102 | 100 | | then true |
---|
103 | | - | else (t == q)) |
---|
| 101 | + | else (s == p)) |
---|
104 | 102 | | then true |
---|
105 | | - | else (t == r) |
---|
| 103 | + | else (s == q) |
---|
106 | 104 | | |
---|
107 | 105 | | |
---|
108 | | - | func V () = Q(m) |
---|
| 106 | + | func U () = P(l) |
---|
109 | 107 | | |
---|
110 | 108 | | |
---|
111 | | - | func W (t) = R(m, t) |
---|
| 109 | + | func V (s) = Q(l, s) |
---|
112 | 110 | | |
---|
113 | 111 | | |
---|
114 | | - | func X (Y) = valueOrErrorMessage(Y.payment, H) |
---|
| 112 | + | func W (X) = valueOrErrorMessage(X.payment, G) |
---|
115 | 113 | | |
---|
116 | 114 | | |
---|
117 | | - | func Z (aa) = { |
---|
118 | | - | let ab = aa.assetId |
---|
119 | | - | if ($isInstanceOf(ab, "ByteVector")) |
---|
| 115 | + | func Y (Z) = { |
---|
| 116 | + | let aa = Z.assetId |
---|
| 117 | + | if ($isInstanceOf(aa, "ByteVector")) |
---|
120 | 118 | | then { |
---|
121 | | - | let ac = ab |
---|
122 | | - | ac |
---|
| 119 | + | let ab = aa |
---|
| 120 | + | ab |
---|
123 | 121 | | } |
---|
124 | | - | else if ($isInstanceOf(ab, "Unit")) |
---|
| 122 | + | else if ($isInstanceOf(aa, "Unit")) |
---|
125 | 123 | | then { |
---|
126 | | - | let ac = ab |
---|
| 124 | + | let ab = aa |
---|
127 | 125 | | fromBase58String("WAVES") |
---|
128 | 126 | | } |
---|
129 | 127 | | else throw() |
---|
130 | 128 | | } |
---|
131 | 129 | | |
---|
132 | 130 | | |
---|
133 | | - | func ad (ae,K) = { |
---|
134 | | - | let ab = getInteger(ae, K) |
---|
135 | | - | if ($isInstanceOf(ab, "Int")) |
---|
| 131 | + | func ac (ad,J) = { |
---|
| 132 | + | let aa = getInteger(ad, J) |
---|
| 133 | + | if ($isInstanceOf(aa, "Int")) |
---|
136 | 134 | | then { |
---|
137 | | - | let Y = ab |
---|
138 | | - | Y |
---|
| 135 | + | let X = aa |
---|
| 136 | + | X |
---|
139 | 137 | | } |
---|
140 | 138 | | else 0 |
---|
141 | 139 | | } |
---|
142 | 140 | | |
---|
143 | 141 | | |
---|
144 | | - | func af (ag,ah,ai) = ((ai * ((2 * ag) + ((ai - 1) * ah))) / 2) |
---|
| 142 | + | func ae (af,ag,ah) = ((ah * ((2 * af) + ((ah - 1) * ag))) / 2) |
---|
145 | 143 | | |
---|
146 | 144 | | |
---|
147 | | - | func aj (v) = ("presaleOutcomeAmountSales_" + toBase58String(v)) |
---|
| 145 | + | func ai (u) = ("presaleOutcomeAmountSales_" + toBase58String(u)) |
---|
148 | 146 | | |
---|
149 | 147 | | |
---|
150 | | - | func ak (v) = { |
---|
151 | | - | let al = aj(v) |
---|
152 | | - | ad(this, al) |
---|
| 148 | + | func aj (u) = { |
---|
| 149 | + | let ak = ai(u) |
---|
| 150 | + | ac(this, ak) |
---|
153 | 151 | | } |
---|
154 | 152 | | |
---|
155 | 153 | | |
---|
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))) |
---|
| 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))) |
---|
166 | 158 | | } |
---|
167 | 159 | | |
---|
168 | 160 | | |
---|
169 | | - | func ar (Y) = { |
---|
170 | | - | let as = toBase58String(Y.callerPublicKey) |
---|
171 | | - | let at = toBase58String(d) |
---|
172 | | - | if ((as == at)) |
---|
| 161 | + | func ao (X) = { |
---|
| 162 | + | let ap = toBase58String(X.callerPublicKey) |
---|
| 163 | + | let aq = toBase58String(c) |
---|
| 164 | + | if ((ap == aq)) |
---|
173 | 165 | | then true |
---|
174 | 166 | | else false |
---|
175 | 167 | | } |
---|
176 | 168 | | |
---|
177 | 169 | | |
---|
178 | | - | func au (Y) = { |
---|
179 | | - | let as = toBase58String(Y.callerPublicKey) |
---|
180 | | - | let at = toBase58String(d) |
---|
181 | | - | if ((as == at)) |
---|
| 170 | + | func ar (X) = { |
---|
| 171 | + | let ap = toBase58String(X.callerPublicKey) |
---|
| 172 | + | let aq = toBase58String(c) |
---|
| 173 | + | if ((ap == aq)) |
---|
182 | 174 | | then true |
---|
183 | 175 | | else false |
---|
184 | 176 | | } |
---|
185 | 177 | | |
---|
186 | 178 | | |
---|
187 | | - | func av (aw,x) = (ao((aw + x)) - ao(aw)) |
---|
| 179 | + | func as (at,w) = (al((at + w)) - al(at)) |
---|
188 | 180 | | |
---|
189 | 181 | | |
---|
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) |
---|
| 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) |
---|
198 | 190 | | 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) |
---|
| 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) |
---|
205 | 197 | | } |
---|
206 | 198 | | } |
---|
207 | 199 | | |
---|
208 | 200 | | |
---|
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)]) |
---|
| 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)]) |
---|
218 | 210 | | } |
---|
219 | 211 | | |
---|
220 | 212 | | |
---|
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) |
---|
| 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) |
---|
234 | 225 | | 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() |
---|
| 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() |
---|
247 | 238 | | } |
---|
248 | 239 | | |
---|
249 | 240 | | |
---|
250 | 241 | | |
---|
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)]) |
---|
| 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)]) |
---|
257 | 248 | | |
---|
258 | 249 | | |
---|