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