tx · GbYkXYezuXXMXxVximBHbDC9QNYqi4EFPcpA79hPBVAt 3MusZXviN6YoxrUhmZYskzWysdYzLvDHmoo: -0.01000000 Waves 2020.03.20 13:01 [917505] smart account 3MusZXviN6YoxrUhmZYskzWysdYzLvDHmoo > SELF 0.00000000 Waves
{ "type": 13, "id": "GbYkXYezuXXMXxVximBHbDC9QNYqi4EFPcpA79hPBVAt", "fee": 1000000, "feeAssetId": null, "timestamp": 1584698560544, "version": 1, "sender": "3MusZXviN6YoxrUhmZYskzWysdYzLvDHmoo", "senderPublicKey": "2EdJxDCj83ryyp1Wzk8zuRhHzGeTN27z5PXvhUeemNY8", "proofs": [ "5tPEyBCvMYx6Htw6iuVfWZpv8jZLqJzgQrk3j1W1NQ1AHUbXSZMSNrRn5AkptnpK54CE3Ybh6vVgbUq1p4MmBsE5" ], "script": "base64:AAIDAAAAAAAAABQIARIECgICARIDCgEIEgMKAQISAAAAADQAAAAABVdBVkVTAAAAAAAF9eEAAAAAAANVU0QAAAAAAAAAAGQAAAAAFHJvb3RBY2NvdW50UHVibGljS2V5AQAAACCrcYNar2nAbanHx55vZ87tY+HzNn/CgJS1Smp6PXDDFQAAAAAKY29tbWlzc2lvbgAAAAAAAAAAAAAAAAAMb3V0Y29tZUxpbWl0AAAAAAAAACcQAAAAABNwcmVzYWxlT3V0Y29tZUxpbWl0AAAAAAAAAAu4AAAAAApjdXJyZW5jeUlkAQAAACAiZD8evmBG6RFqExPcpjP+Fn4H+Xfps/IV/JlJKjAKNwAAAAAMcHJlc2FsZVByaWNlAAAAAAAAB6EgAAAAAAVwcmljZQAAAAAAAA9CQAAAAAAJcHJpY2VTdGVwAAAAAAAAAw1AAAAAAA9wcmljZVN0ZXBQZXJpb2QAAAAAAAAAJxAAAAAACXN0YXR1c0tleQIAAAAGc3RhdHVzAAAAAAl3aW5uZXJLZXkCAAAABndpbm5lcgAAAAALcGF1c2VTdGF0dXMCAAAABXBhdXNlAAAAAA1wcmVzYWxlU3RhdHVzAgA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b21wbGV0ZVN0YXR1cwkAAAAAAAACBQAAAAZzdGF0dXMFAAAADmNvbXBsZXRlU3RhdHVzAwUAAAAQaXNDb21wbGV0ZVN0YXR1cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJc2V0V2lubmVyAAAAAQUAAAAJbmV3V2lubmVyBQAAAANuaWwJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACXNldFdpbm5lcgAAAAEFAAAACW5ld1dpbm5lcgkABEwAAAACCQEAAAAJc2V0U3RhdHVzAAAAAQUAAAAOY29tcGxldGVTdGF0dXMFAAAAA25pbAAAAAFpAQAAABFjb2xsZWN0Q29tbWlzc2lvbgAAAAADCQEAAAABIQAAAAEJAQAAAAxpc1Jvb3RDYWxsZXIAAAABBQAAAAFpCQEAAAAZdGhyb3dJc05vdFJvb3RDYWxsZXJFcnJvcgAAAAAEAAAABnN0YXR1cwkBAAAACWdldFN0YXR1cwAAAAAEAAAAD2lzUGFpZG91dFN0YXR1cwkAAAAAAAACBQAAAAZzdGF0dXMFAAAADXBhaWRvdXRTdGF0dXMEAAAAEnJvb3RBY2NvdW50QWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAUcm9vdEFjY291bnRQdWJsaWNLZXkDCQEAAAABIQAAAAEFAAAAD2lzUGFpZG91dFN0YXR1cwkBAAAAIHRocm93VW5zdXBwb3J0ZWRFdmVudFN0YXR1c0Vycm9yAAAAAAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAABJyb290QWNjb3VudEFkZHJlc3MJAAPrAAAAAgUAAAAEdGhpcwUAAAAKY3VycmVuY3lJZAUAAAAKY3VycmVuY3lJZAUAAAADbmlsAAAAACysiA4=", "chainId": 84, "height": 917505, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
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'3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC' | |
17 | + | ||
18 | + | let h = 500000 | |
19 | + | ||
20 | + | let i = 1000000 | |
21 | + | ||
22 | + | let j = 200000 | |
23 | + | ||
24 | + | let k = 10000 | |
25 | + | ||
26 | + | let l = "status" | |
27 | + | ||
28 | + | let m = "winner" | |
29 | + | ||
30 | + | let n = "pause" | |
31 | + | ||
32 | + | let o = "presale" | |
33 | + | ||
34 | + | let p = "live" | |
35 | + | ||
36 | + | let q = "complete" | |
37 | + | ||
38 | + | let r = "paidout" | |
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(g)) + ",") + 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(l) | |
109 | + | ||
110 | + | ||
111 | + | func W (t) = R(l, t) | |
112 | + | ||
113 | + | ||
114 | + | func X () = T(m) | |
115 | + | ||
116 | + | ||
117 | + | func Y (Z) = S(m, Z) | |
118 | + | ||
119 | + | ||
120 | + | func aa (ab) = valueOrErrorMessage(ab.payment, H) | |
121 | + | ||
122 | + | ||
123 | + | func ac (ad) = { | |
124 | + | let ae = ad.assetId | |
125 | + | if ($isInstanceOf(ae, "ByteVector")) | |
126 | + | then { | |
127 | + | let af = ae | |
128 | + | af | |
129 | + | } | |
130 | + | else if ($isInstanceOf(ae, "Unit")) | |
131 | + | then { | |
132 | + | let af = ae | |
133 | + | fromBase58String("WAVES") | |
134 | + | } | |
135 | + | else throw() | |
136 | + | } | |
137 | + | ||
138 | + | ||
139 | + | func ag (ah,K) = { | |
140 | + | let ae = getInteger(ah, K) | |
141 | + | if ($isInstanceOf(ae, "Int")) | |
142 | + | then { | |
143 | + | let ab = ae | |
144 | + | ab | |
145 | + | } | |
146 | + | else 0 | |
147 | + | } | |
148 | + | ||
149 | + | ||
150 | + | func ai (aj,ak,al) = ((al * ((2 * aj) + ((al - 1) * ak))) / 2) | |
151 | + | ||
152 | + | ||
153 | + | func am (v) = ("presaleOutcomeAmountSales_" + toBase58String(v)) | |
154 | + | ||
155 | + | ||
156 | + | func an (v) = { | |
157 | + | let ao = am(v) | |
158 | + | ag(this, ao) | |
159 | + | } | |
160 | + | ||
161 | + | ||
162 | + | func ap (al) = { | |
163 | + | let aq = (al / k) | |
164 | + | let ar = ai(i, j, aq) | |
165 | + | ((ar * k) + ((ai(i, j, (aq + 1)) - ar) * (al % k))) | |
166 | + | } | |
167 | + | ||
168 | + | ||
169 | + | func as (ab) = { | |
170 | + | let at = toBase58String(ab.callerPublicKey) | |
171 | + | let au = toBase58String(c) | |
172 | + | if ((at == au)) | |
173 | + | then true | |
174 | + | else false | |
175 | + | } | |
176 | + | ||
177 | + | ||
178 | + | func av (aw,x) = (ap((aw + x)) - ap(aw)) | |
179 | + | ||
180 | + | ||
181 | + | func ax (ay,v,az,aA,aB) = { | |
182 | + | let aC = (e - aB) | |
183 | + | let aD = (f - aC) | |
184 | + | let aE = (h * aA) | |
185 | + | if ((aA > aD)) | |
186 | + | then w(aA, aD) | |
187 | + | else if ((az != aE)) | |
188 | + | then C(az, aE) | |
189 | + | else { | |
190 | + | let ao = am(v) | |
191 | + | let aF = an(v) | |
192 | + | let aG = (aF + aA) | |
193 | + | let aH = WriteSet([DataEntry(ao, aG)]) | |
194 | + | let aI = TransferSet([ScriptTransfer(ay, aA, v)]) | |
195 | + | ScriptResult(aH, aI) | |
196 | + | } | |
197 | + | } | |
198 | + | ||
199 | + | ||
200 | + | func aJ (ay,v,az,aA,aB) = { | |
201 | + | let aK = an(v) | |
202 | + | let aC = ((e - aK) - aB) | |
203 | + | let aE = av(aC, aA) | |
204 | + | if ((aA > aB)) | |
205 | + | then z(aA, aB) | |
206 | + | else if ((az != aE)) | |
207 | + | then C(az, aE) | |
208 | + | else TransferSet([ScriptTransfer(ay, aA, v)]) | |
209 | + | } | |
210 | + | ||
211 | + | ||
212 | + | @Callable(ab) | |
213 | + | func buyOutcomeToken (v,aA) = { | |
214 | + | let ay = ab.caller | |
215 | + | let aB = assetBalance(this, v) | |
216 | + | let t = V() | |
217 | + | let ad = aa(ab) | |
218 | + | let az = ad.amount | |
219 | + | let aL = ac(ad) | |
220 | + | let aM = (aL != g) | |
221 | + | let aN = (t == o) | |
222 | + | let aO = (t == p) | |
223 | + | let aP = if (aN) | |
224 | + | then true | |
225 | + | else aO | |
226 | + | if ((aB == 0)) | |
227 | + | then u(v) | |
228 | + | else if (aM) | |
229 | + | then A(aL) | |
230 | + | else if (!(aP)) | |
231 | + | then s(t) | |
232 | + | else if (aN) | |
233 | + | then ax(ay, v, az, aA, aB) | |
234 | + | else if (aO) | |
235 | + | then aJ(ay, v, az, aA, aB) | |
236 | + | else I() | |
237 | + | } | |
238 | + | ||
239 | + | ||
240 | + | ||
241 | + | @Callable(ab) | |
242 | + | func changeStatus (aQ) = if (!(U(aQ))) | |
243 | + | then F() | |
244 | + | else if (!(as(ab))) | |
245 | + | then G() | |
246 | + | else WriteSet([W(aQ)]) | |
247 | + | ||
248 | + | ||
249 | + | ||
250 | + | @Callable(ab) | |
251 | + | func changeWinner (aR) = if (!(as(ab))) | |
252 | + | then G() | |
253 | + | else { | |
254 | + | let t = V() | |
255 | + | let aS = (t == q) | |
256 | + | if (aS) | |
257 | + | then WriteSet([Y(aR)]) | |
258 | + | else WriteSet([Y(aR), W(q)]) | |
259 | + | } | |
260 | + | ||
261 | + | ||
262 | + | ||
263 | + | @Callable(ab) | |
264 | + | func collectCommission () = if (!(as(ab))) | |
265 | + | then G() | |
266 | + | else { | |
267 | + | let t = V() | |
268 | + | let aT = (t == r) | |
269 | + | let aU = addressFromPublicKey(c) | |
270 | + | if (!(aT)) | |
271 | + | then F() | |
272 | + | else TransferSet([ScriptTransfer(aU, assetBalance(this, g), g)]) | |
273 | + | } | |
274 | + | ||
275 | + |
github/deemru/w8io/169f3d6 30.63 ms ◑