tx · Hhh4DexhgZ78x1JiCff84mNqvPr1bUpQ6Pp336a32XzN

3N7QoceSjVJfUw21BGtLD4ZKYJ7TeT8ikx4:  -0.01000000 Waves

2020.01.17 23:38 [858656] smart account 3N7QoceSjVJfUw21BGtLD4ZKYJ7TeT8ikx4 > SELF 0.00000000 Waves

{ "type": 13, "id": "Hhh4DexhgZ78x1JiCff84mNqvPr1bUpQ6Pp336a32XzN", "fee": 1000000, "feeAssetId": null, "timestamp": 1579293506371, "version": 1, "sender": "3N7QoceSjVJfUw21BGtLD4ZKYJ7TeT8ikx4", "senderPublicKey": "6H1B1TVZjUT4JEsi6NgBokYogTXJN1AxNhj4yFRNko9y", "proofs": [ "2uVbq8o3swU7zKyZRnN8YqiVsYqqsBvCE48qJxH1FeABMX8C57nYR3JERkjHHBsTmZ3JgP3VvhcCDTnXoe1K7SYt" ], "script": "base64:AAIDAAAAAAAAAAsIARIAEgMKAQgSAAAAADMBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAABhnZXROdW1iZXJCeUFkZ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FAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAEAAAAAAAAAAAEAAAAAAAAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAIAAAAAAAAAAAEAAAAAAAAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAMAAAAAAAAAAAIAAAAAAAAAAAAJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAP9Ccwu", "chainId": 84, "height": 858656, "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+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 = "_"
51+
52+let k = 1000000
53+
54+let l = 1000
55+
56+let m = 50
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+func z (A) = ("order_total_" + A)
83+
84+
85+func B (A) = ("order_owner_" + A)
86+
87+
88+func C (A) = ("order_height_" + A)
89+
90+
91+func D (A) = ("order_status_" + A)
92+
93+
94+func E (A) = ("order_filled_total_" + A)
95+
96+
97+func F (G,H) = fraction(fraction(G, 100, H), i, k)
98+
99+
100+func I (G,H) = fraction(fraction(G, H, 100), k, i)
101+
102+
103+func J (G) = (G / k)
104+
105+
106+func K (G) = (G * k)
107+
108+
109+func L (G,H) = J(I(G, H))
110+
111+
112+func M (N) = split(N, ",")
113+
114+
115+let O = e(r)
116+
117+let P = addressFromStringValue(e(q))
118+
119+let Q = addressFromStringValue(f(P, v))
120+
121+let R = h(Q, s)
122+
123+let S = h(P, y)
124+
125+let T = h(P, x)
126+
127+let U = fromBase58String(f(P, u))
128+
129+let V = fromBase58String(f(P, t))
130+
131+let W = (wavesBalance(P) - T)
132+
133+let X = (((extract(assetInfo(U)).quantity - assetBalance(P, U)) + S) - assetBalance(this, U))
134+
135+let Y = (I(W, R) - X)
136+
137+func Z (aa) = a(z(aa))
138+
139+
140+func ab (aa) = e(B(aa))
141+
142+
143+func ac (aa) = e(D(aa))
144+
145+
146+func ad (aa) = a(E(aa))
147+
148+
149+func ae (aa) = (aa + j)
150+
151+
152+func af (A,ag) = {
153+ let ah = split(O, j)
154+ let ai = ae(A)
155+ if ((ag == 0))
156+ then (ai + O)
157+ else if ((ag >= (size(ah) - 1)))
158+ then (O + ai)
159+ else {
160+ let aj = split(O, ae(ah[ag]))
161+ (((aj[0] + ai) + ae(ah[ag])) + aj[1])
162+ }
163+ }
164+
165+
166+func ak (A) = {
167+ let aj = split(O, ae(A))
168+ (aj[0] + aj[1])
169+ }
170+
171+
172+func al (O) = split(O, j)
173+
174+
175+@Callable(am)
176+func addLiquidationOrder () = {
177+ let an = extract(am.payment)
178+ let ao = toBase58String(keccak256(((toBytes(an.amount) + am.caller.bytes) + toBytes(height))))
179+ if ((an.assetId != V))
180+ then throw("can use appropriate neutrino bonds tokens only")
181+ else if ((ab(ao) != ""))
182+ then throw("an order is already exists")
183+ else WriteSet([DataEntry(r, af(ao, size(al(O)))), DataEntry(z(ao), an.amount), DataEntry(B(ao), toString(am.caller)), DataEntry(C(ao), height), DataEntry(D(ao), o)])
184+ }
185+
186+
187+
188+@Callable(am)
189+func cancelOrder (A) = {
190+ let ap = ab(A)
191+ let G = (Z(A) - ad(A))
192+ if ((ap != toString(am.caller)))
193+ then throw("permission denied")
194+ else if ((ac(A) != o))
195+ then throw("invalid order status")
196+ else ScriptResult(WriteSet([DataEntry(r, ak(A)), DataEntry(D(A), n)]), TransferSet([ScriptTransfer(am.caller, G, V)]))
197+ }
198+
199+
200+
201+@Callable(am)
202+func liquidateBond () = {
203+ let aq = J(Y)
204+ let ar = assetBalance(this, U)
205+ let as = if ((0 >= Y))
206+ then 0
207+ else Y
208+ let at = if ((as >= ar))
209+ then ar
210+ else as
211+ let au = if ((as >= ar))
212+ then 0
213+ else (ar - as)
214+ if (if ((au == 0))
215+ then (ar == 0)
216+ else false)
217+ then throw("without surplus")
218+ else if (if ((0 >= aq))
219+ then (au > 0)
220+ else false)
221+ then TransferSet([ScriptTransfer(P, au, U)])
222+ else if ((0 >= aq))
223+ then throw("there is no proficit on the smart contract now")
224+ else if ((O == ""))
225+ then throw("empty orderbook")
226+ else {
227+ let A = al(O)[0]
228+ let av = Z(A)
229+ let aw = ab(A)
230+ let ax = ad(A)
231+ let G = (av - ax)
232+ let ay = if ((aq >= G))
233+ then p
234+ else o
235+ let az = if ((aq >= G))
236+ then G
237+ else aq
238+ ScriptResult(WriteSet([DataEntry(r, if ((ay == p))
239+ then ak(A)
240+ else O), DataEntry(E(A), (ax + az)), DataEntry(D(A), ay)]), TransferSet([ScriptTransfer(addressFromStringValue(aw), K(az), U), ScriptTransfer(P, au, U)]))
241+ }
242+ }
243+
244+
245+@Verifier(aA)
246+func aB () = {
247+ let aC = ["BLEoguzPVKVTfXxxT3W7Rqf8aUm2ggC9Vemd2MQawM2G", "FWVffYr2ALmHMejZm3WqeLz6Sdym3gLFGtJn4KTwyU5x", "3Wh2LaWcb5gg7K2pPcW3Ep6EAuRBzYkAgrdpt43jTDFa", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
248+ let aD = ((((if (sigVerify(aA.bodyBytes, aA.proofs[0], fromBase58String(aC[0])))
249+ then 1
250+ else 0) + (if (sigVerify(aA.bodyBytes, aA.proofs[1], fromBase58String(aC[1])))
251+ then 1
252+ else 0)) + (if (sigVerify(aA.bodyBytes, aA.proofs[2], fromBase58String(aC[2])))
253+ then 1
254+ else 0)) + (if (sigVerify(aA.bodyBytes, aA.proofs[3], fromBase58String(aC[3])))
255+ then 2
256+ else 0))
257+ (aD >= 3)
258+ }
259+

github/deemru/w8io/026f985 
27.83 ms