tx · EddHPbXKK2L1HToo9UprgBzmfqLGrPEwEgVZfN37qKGp 3MxEwg4HhLZHqktZMLPU83N1qXsxymncbqm: -0.01000000 Waves 2020.01.29 13:10 [875475] smart account 3MxEwg4HhLZHqktZMLPU83N1qXsxymncbqm > SELF 0.00000000 Waves
{ "type": 13, "id": "EddHPbXKK2L1HToo9UprgBzmfqLGrPEwEgVZfN37qKGp", "fee": 1000000, "feeAssetId": null, "timestamp": 1580292680371, "version": 1, "sender": "3MxEwg4HhLZHqktZMLPU83N1qXsxymncbqm", "senderPublicKey": "AJu1X5Stq3W4a5zRfTejLK5HWjwjRi4SkePdLnLWgWia", "proofs": [ "5hBbFExWbPE2i2NfSsuQpM9ECZFitZTq58n5aetgemxGso3zfkXjMojqSTXnKX4TK8XnE8KffDFT6QzjBbbTM2Di" ], "script": "base64:AAIDAAAAAAAAABEIARIECgIBARIDCgEIEgASAAAAADUBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAABhnZXROdW1iZXJCeUFkZHJlc3NBbmRLZXkAA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Zc1NWSlV0TXZNcVpqNWhINE5jBQAAAANuaWwEAAAABWNvdW50CQAAZAAAAAIJAABkAAAAAgkAAGQAAAACAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAACAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAACQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADn2NudA==", "chainId": 84, "height": 875475, "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 | + | func a (b) = { | |
5 | + | let c = getInteger(this, b) | |
6 | + | if ($isInstanceOf(c, "Int")) | |
7 | + | then { | |
8 | + | let d = c | |
9 | + | d | |
10 | + | } | |
11 | + | else 0 | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | func e (b) = { | |
16 | + | let c = getString(this, b) | |
17 | + | if ($isInstanceOf(c, "String")) | |
18 | + | then { | |
19 | + | let d = c | |
20 | + | d | |
21 | + | } | |
22 | + | else "" | |
23 | + | } | |
24 | + | ||
25 | + | ||
26 | + | func f (g,b) = { | |
27 | + | let c = getString(g, b) | |
28 | + | if ($isInstanceOf(c, "String")) | |
29 | + | then { | |
30 | + | let d = c | |
31 | + | d | |
32 | + | } | |
33 | + | else "" | |
34 | + | } | |
35 | + | ||
36 | + | ||
37 | + | func h (g,b) = { | |
38 | + | let c = getInteger(g, b) | |
39 | + | if ($isInstanceOf(c, "Int")) | |
40 | + | then { | |
41 | + | let d = c | |
42 | + | d | |
43 | + | } | |
44 | + | else 0 | |
45 | + | } | |
46 | + | ||
47 | + | ||
48 | + | let i = 100000000 | |
49 | + | ||
50 | + | let j = 1000000 | |
51 | + | ||
52 | + | let k = 1000 | |
53 | + | ||
54 | + | let l = (10 * i) | |
55 | + | ||
56 | + | let m = 100 | |
57 | + | ||
58 | + | let n = "canceled" | |
59 | + | ||
60 | + | let o = "new" | |
61 | + | ||
62 | + | let p = "filled" | |
63 | + | ||
64 | + | let q = "neutrino_contract" | |
65 | + | ||
66 | + | let r = "orderbook" | |
67 | + | ||
68 | + | let s = "price" | |
69 | + | ||
70 | + | let t = "bond_asset_id" | |
71 | + | ||
72 | + | let u = "neutrino_asset_id" | |
73 | + | ||
74 | + | let v = "control_contract" | |
75 | + | ||
76 | + | let w = "balance_lock_" | |
77 | + | ||
78 | + | let x = (w + "waves") | |
79 | + | ||
80 | + | let y = (w + "neutrino") | |
81 | + | ||
82 | + | let z = "liquidation_contract" | |
83 | + | ||
84 | + | func A (B) = ("order_price_" + B) | |
85 | + | ||
86 | + | ||
87 | + | func C (B) = ("order_total_" + B) | |
88 | + | ||
89 | + | ||
90 | + | func D (B) = ("order_owner_" + B) | |
91 | + | ||
92 | + | ||
93 | + | func E (B) = ("order_height_" + B) | |
94 | + | ||
95 | + | ||
96 | + | func F (B) = ("order_status_" + B) | |
97 | + | ||
98 | + | ||
99 | + | func G (B) = ("order_filled_total_" + B) | |
100 | + | ||
101 | + | ||
102 | + | func H (I,J) = fraction(fraction(I, 100, J), i, j) | |
103 | + | ||
104 | + | ||
105 | + | func K (I,J) = fraction(fraction(I, J, 100), j, i) | |
106 | + | ||
107 | + | ||
108 | + | func L (I) = (I / j) | |
109 | + | ||
110 | + | ||
111 | + | func M (I) = (I * j) | |
112 | + | ||
113 | + | ||
114 | + | func N (I,J) = L(K(I, J)) | |
115 | + | ||
116 | + | ||
117 | + | func O (I,J) = H(M(I), J) | |
118 | + | ||
119 | + | ||
120 | + | let P = e(r) | |
121 | + | ||
122 | + | let Q = addressFromStringValue(e(q)) | |
123 | + | ||
124 | + | let R = addressFromStringValue(f(Q, v)) | |
125 | + | ||
126 | + | let S = addressFromStringValue(f(Q, z)) | |
127 | + | ||
128 | + | let T = fromBase58String(f(Q, u)) | |
129 | + | ||
130 | + | let U = fromBase58String(f(Q, t)) | |
131 | + | ||
132 | + | let V = h(R, s) | |
133 | + | ||
134 | + | let W = h(Q, y) | |
135 | + | ||
136 | + | let X = (wavesBalance(Q) - h(Q, x)) | |
137 | + | ||
138 | + | let Y = (((W + extract(assetInfo(T)).quantity) - assetBalance(Q, T)) - assetBalance(S, T)) | |
139 | + | ||
140 | + | let Z = (Y - K(X, V)) | |
141 | + | ||
142 | + | func aa (ab) = a(A(ab)) | |
143 | + | ||
144 | + | ||
145 | + | func ac (ab) = a(C(ab)) | |
146 | + | ||
147 | + | ||
148 | + | func ad (ab) = e(D(ab)) | |
149 | + | ||
150 | + | ||
151 | + | func ae (ab) = e(F(ab)) | |
152 | + | ||
153 | + | ||
154 | + | func af (ab) = a(G(ab)) | |
155 | + | ||
156 | + | ||
157 | + | func ag (ab) = (ab + "_") | |
158 | + | ||
159 | + | ||
160 | + | func ah (B,ai) = { | |
161 | + | let aj = split(P, "_") | |
162 | + | let ak = ag(B) | |
163 | + | if ((ai == 0)) | |
164 | + | then (ak + P) | |
165 | + | else if ((ai >= (size(aj) - 1))) | |
166 | + | then (P + ak) | |
167 | + | else { | |
168 | + | let al = split(P, ag(aj[ai])) | |
169 | + | (((al[0] + ak) + ag(aj[ai])) + al[1]) | |
170 | + | } | |
171 | + | } | |
172 | + | ||
173 | + | ||
174 | + | func am (B) = { | |
175 | + | let al = split(P, ag(B)) | |
176 | + | (al[0] + al[1]) | |
177 | + | } | |
178 | + | ||
179 | + | ||
180 | + | @Callable(an) | |
181 | + | func addBuyBondOrder (J,ai) = { | |
182 | + | let ao = extract(an.payment) | |
183 | + | let ap = toBase58String(keccak256((((toBytes(J) + toBytes(ao.amount)) + an.caller.bytes) + toBytes(height)))) | |
184 | + | let aq = fraction(100, 100, J) | |
185 | + | let ar = fraction((aq - V), 100, V) | |
186 | + | if ((l > ao.amount)) | |
187 | + | then throw(("min order total equals " + toString(l))) | |
188 | + | else if ((ar > m)) | |
189 | + | then throw("max setOrder ROI is 100%") | |
190 | + | else if (isDefined(ao.assetId)) | |
191 | + | then throw("can use waves only") | |
192 | + | else if ((0 >= J)) | |
193 | + | then throw("price less zero") | |
194 | + | else if ((ad(ap) != "")) | |
195 | + | then throw("order exists") | |
196 | + | else { | |
197 | + | let aj = split(P, "_") | |
198 | + | let as = if ((ai == 0)) | |
199 | + | then "" | |
200 | + | else aj[(ai - 1)] | |
201 | + | let at = aa(as) | |
202 | + | let au = if (if ((as != "")) | |
203 | + | then (J > at) | |
204 | + | else false) | |
205 | + | then true | |
206 | + | else false | |
207 | + | let av = aj[ai] | |
208 | + | let aw = aa(av) | |
209 | + | let ax = if ((aw >= J)) | |
210 | + | then true | |
211 | + | else false | |
212 | + | if (if (au) | |
213 | + | then true | |
214 | + | else ax) | |
215 | + | then throw(((("invalid order isPrevOrderError:" + toString(ax)) + " isNextOrderError:") + toString(au))) | |
216 | + | else WriteSet([DataEntry(r, ah(ap, ai)), DataEntry(A(ap), J), DataEntry(C(ap), ao.amount), DataEntry(D(ap), toString(an.caller)), DataEntry(E(ap), height), DataEntry(F(ap), o), DataEntry(("debug_order_currentPrice_" + ap), V), DataEntry(("debug_order_roi_" + ap), ar)]) | |
217 | + | } | |
218 | + | } | |
219 | + | ||
220 | + | ||
221 | + | ||
222 | + | @Callable(an) | |
223 | + | func cancelOrder (B) = { | |
224 | + | let ay = ad(B) | |
225 | + | let I = (ac(B) - af(B)) | |
226 | + | if ((ay != toString(an.caller))) | |
227 | + | then throw("permission denied") | |
228 | + | else if ((ae(B) != o)) | |
229 | + | then throw("invalid order status") | |
230 | + | else ScriptResult(WriteSet([DataEntry(r, am(B)), DataEntry(F(B), n)]), TransferSet([ScriptTransfer(an.caller, I, unit)])) | |
231 | + | } | |
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | @Callable(an) | |
236 | + | func sellBond () = { | |
237 | + | let az = assetBalance(this, U) | |
238 | + | let aA = if ((0 >= Z)) | |
239 | + | then 0 | |
240 | + | else (Z / j) | |
241 | + | let aB = if ((aA >= az)) | |
242 | + | then az | |
243 | + | else aA | |
244 | + | let aC = if ((aA >= az)) | |
245 | + | then 0 | |
246 | + | else (az - aA) | |
247 | + | if (if ((aA == 0)) | |
248 | + | then (az == 0) | |
249 | + | else false) | |
250 | + | then throw("without deficit") | |
251 | + | else if ((az == 0)) | |
252 | + | then throw("without bonds to sell") | |
253 | + | else if ((aC > 0)) | |
254 | + | then TransferSet([ScriptTransfer(Q, aC, U)]) | |
255 | + | else if ((P == "")) | |
256 | + | then throw("empty orderbook") | |
257 | + | else { | |
258 | + | let B = take(P, valueOrErrorMessage(indexOf(P, "_"), "no orders found")) | |
259 | + | let aD = af(B) | |
260 | + | let aE = aa(B) | |
261 | + | let aq = fraction(100, 100, aE) | |
262 | + | let aF = (ac(B) - aD) | |
263 | + | let aG = N(aF, aq) | |
264 | + | let aH = (aB >= aG) | |
265 | + | let aI = if (aH) | |
266 | + | then aG | |
267 | + | else aB | |
268 | + | let aJ = O(aI, aq) | |
269 | + | if ((aG == 0)) | |
270 | + | then ScriptResult(WriteSet([DataEntry(r, am(B)), DataEntry(F(B), p)]), TransferSet([ScriptTransfer(addressFromStringValue(ad(B)), aF, unit)])) | |
271 | + | else if ((aJ == 0)) | |
272 | + | then throw("cannot fill order at the moment") | |
273 | + | else ScriptResult(WriteSet([DataEntry(r, if (if (aH) | |
274 | + | then (aF == 0) | |
275 | + | else false) | |
276 | + | then am(B) | |
277 | + | else P), DataEntry(G(B), (aD + aJ)), DataEntry(F(B), if (if (aH) | |
278 | + | then (aF == 0) | |
279 | + | else false) | |
280 | + | then p | |
281 | + | else o)]), TransferSet([ScriptTransfer(addressFromStringValue(ad(B)), aI, U), ScriptTransfer(Q, aJ, unit)])) | |
282 | + | } | |
283 | + | } | |
284 | + | ||
285 | + | ||
286 | + | ||
287 | + | @Callable(an) | |
288 | + | func updateReservesAndNeutrinoSupply () = { | |
289 | + | let aK = a("updateReservesAndNeutrinoSupplyIdx") | |
290 | + | let aL = (aK + 1) | |
291 | + | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", aL), DataEntry("reserve", X), DataEntry("neutrinoSupply", Y), DataEntry("deficit", Z)]) | |
292 | + | } | |
293 | + | ||
294 | + | ||
295 | + | @Verifier(aM) | |
296 | + | func aN () = { | |
297 | + | let aO = ["9pCyV2SRyNGPU4ykXnxhJARJ9eXCRYcE8GdLSZGbENUT", "HaeTPfUke2H5EPQ68EDpvniAXiX2pvtzA6VwsWxi5kZH", "EVRrdDVv4vHVWDVPRZdQxnvXXhanP1kG8HWzmt8PUWin", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
298 | + | let aP = ((((if (sigVerify(aM.bodyBytes, aM.proofs[0], fromBase58String(aO[0]))) | |
299 | + | then 1 | |
300 | + | else 0) + (if (sigVerify(aM.bodyBytes, aM.proofs[1], fromBase58String(aO[1]))) | |
301 | + | then 1 | |
302 | + | else 0)) + (if (sigVerify(aM.bodyBytes, aM.proofs[2], fromBase58String(aO[2]))) | |
303 | + | then 1 | |
304 | + | else 0)) + (if (sigVerify(aM.bodyBytes, aM.proofs[3], fromBase58String(aO[3]))) | |
305 | + | then 2 | |
306 | + | else 0)) | |
307 | + | (aP >= 3) | |
308 | + | } | |
309 | + |
github/deemru/w8io/fabc49c 38.80 ms ◑