tx · HwScAxodjVzBWRDacSH53kuJ1AbtsjDq4919kVVc94uP

3MsgfSgZrrPu9ptXX4bEuQr1wnnqKLCR6rR:  -0.01000000 Waves

2020.01.29 12:07 [875410] smart account 3MsgfSgZrrPu9ptXX4bEuQr1wnnqKLCR6rR > SELF 0.00000000 Waves

{ "type": 13, "id": "HwScAxodjVzBWRDacSH53kuJ1AbtsjDq4919kVVc94uP", "fee": 1000000, "feeAssetId": null, "timestamp": 1580288850730, "version": 1, "sender": "3MsgfSgZrrPu9ptXX4bEuQr1wnnqKLCR6rR", "senderPublicKey": "BiG423CChfqGpRWb7VKqh6TZthHGctb7g9iUVowtQk9x", "proofs": [ "2eZLoHVr4vCxNrrQ2F3YGPLYFUMNrFufx58CPi7CiVJEfzsM9Y6yZHL2Nqhji1bNZujPu6yM1mDhtHdMnQu7aGYX" ], "script": "base64:AAIDAAAAAAAAAA0IARIAEgMKAQgSABIAAAAAOAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAABhnZXRTdHJpbmdCeUFkZHJlc3NBbmRLZXkAAAACAAAAB2FkZHJlc3MAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAAGGdldE51bWJlckJ5QWRkcm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QWRtaW5zTGlzdAAAAAAAAAAAAgAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAwAAAAAAAAAAAgAAAAAAAAAAAAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAA4RSJW8=", "chainId": 84, "height": 875410, "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 = "price"
67+
68+let s = "bond_asset_id"
69+
70+let t = "neutrino_asset_id"
71+
72+let u = "control_contract"
73+
74+let v = "balance_lock_"
75+
76+let w = (v + "waves")
77+
78+let x = (v + "neutrino")
79+
80+let y = "order_first"
81+
82+let z = "order_last"
83+
84+func A (B) = ("order_prev_" + B)
85+
86+
87+func C (B) = ("order_next_" + B)
88+
89+
90+func D (B) = ("order_total_" + B)
91+
92+
93+func E (B) = ("order_owner_" + B)
94+
95+
96+func F (B) = ("order_height_" + B)
97+
98+
99+func G (B) = ("order_status_" + B)
100+
101+
102+func H (B) = ("order_filled_total_" + B)
103+
104+
105+func I (J) = ("last_order_owner_" + J)
106+
107+
108+func K (L,M) = fraction(fraction(L, 100, M), i, k)
109+
110+
111+func N (L,M) = fraction(fraction(L, M, 100), k, i)
112+
113+
114+func O (L) = (L / k)
115+
116+
117+func P (L) = (L * k)
118+
119+
120+func Q (L,M) = O(N(L, M))
121+
122+
123+let R = addressFromStringValue(e(q))
124+
125+let S = addressFromStringValue(f(R, u))
126+
127+let T = this
128+
129+let U = fromBase58String(f(R, t))
130+
131+let V = fromBase58String(f(R, s))
132+
133+let W = e(y)
134+
135+let X = e(z)
136+
137+let Y = h(S, r)
138+
139+let Z = h(R, x)
140+
141+let aa = h(R, w)
142+
143+let ab = (wavesBalance(R) - aa)
144+
145+let ac = (((Z + extract(assetInfo(U)).quantity) - assetBalance(R, U)) - assetBalance(T, U))
146+
147+let ad = (N(ab, Y) - ac)
148+
149+func ae (af) = a(D(af))
150+
151+
152+func ag (af) = e(E(af))
153+
154+
155+func ah (af) = e(G(af))
156+
157+
158+func ai (af) = a(H(af))
159+
160+
161+func aj (af) = e(A(af))
162+
163+
164+func ak (af) = e(C(af))
165+
166+
167+func al (af) = a(F(af))
168+
169+
170+func am (J) = e(I(J))
171+
172+
173+@Callable(an)
174+func addLiquidationOrder () = {
175+ let ao = extract(an.payment)
176+ let ap = toBase58String(keccak256((((toBytes(ao.amount) + an.caller.bytes) + toBytes(height)) + an.transactionId)))
177+ let aq = ak(X)
178+ let ar = ah(X)
179+ let J = toString(an.caller)
180+ if ((ao.assetId != V))
181+ then throw("can use appropriate neutrino bonds tokens only")
182+ else if ((ag(ap) != ""))
183+ then throw("an order is already exists")
184+ else if ((aq != ""))
185+ then throw(("nextOrder is not last. Info:" + aq))
186+ else if (if ((W != ""))
187+ then (X == "")
188+ else false)
189+ then throw("invalid last order")
190+ else if (if ((W != ""))
191+ then (ar != o)
192+ else false)
193+ then throw("last order status is not new")
194+ else WriteSet([DataEntry(I(J), ap), DataEntry(A(ap), X), DataEntry(C(X), if ((X == ""))
195+ then ""
196+ else ap), DataEntry(y, if ((W == ""))
197+ then ap
198+ else W), DataEntry(z, ap), DataEntry(D(ap), ao.amount), DataEntry(E(ap), J), DataEntry(F(ap), height), DataEntry(G(ap), o)])
199+ }
200+
201+
202+
203+@Callable(an)
204+func cancelOrder (B) = {
205+ let J = ag(B)
206+ let L = (ae(B) - ai(B))
207+ let aq = ak(B)
208+ let as = aj(B)
209+ if ((J != toString(an.caller)))
210+ then throw("permission denied")
211+ else if ((ah(B) != o))
212+ then throw("invalid order status")
213+ else ScriptResult(WriteSet([DataEntry(y, if ((W == B))
214+ then aq
215+ else W), DataEntry(z, if ((X == B))
216+ then as
217+ else X), DataEntry(C(as), aq), DataEntry(A(aq), as), DataEntry(G(B), n)]), TransferSet([ScriptTransfer(an.caller, L, V)]))
218+ }
219+
220+
221+
222+@Callable(an)
223+func liquidateBond () = {
224+ let at = if ((0 >= ad))
225+ then 0
226+ else ad
227+ let au = assetBalance(this, U)
228+ let av = if ((at >= au))
229+ then 0
230+ else (au - at)
231+ let aw = O(at)
232+ if (if ((av == 0))
233+ then (au == 0)
234+ else false)
235+ then throw("cannot liquidate order without neutrino on the smart contract")
236+ else if ((av > 0))
237+ then TransferSet([ScriptTransfer(R, av, U)])
238+ else if ((0 >= aw))
239+ then throw("there is no proficit on the smart contract now")
240+ else if ((W == ""))
241+ then throw("empty orderbook")
242+ else {
243+ let aq = ak(W)
244+ let ax = ae(W)
245+ let ay = ag(W)
246+ let az = ai(W)
247+ let L = (ax - az)
248+ let aA = if ((aw >= L))
249+ then p
250+ else o
251+ let aB = if ((aw >= L))
252+ then L
253+ else aw
254+ ScriptResult(WriteSet([DataEntry(A(aq), if ((aA == p))
255+ then ""
256+ else W), DataEntry(y, if ((aA == p))
257+ then aq
258+ else W), DataEntry(z, if (if ((aA == p))
259+ then (W == X)
260+ else false)
261+ then ""
262+ else X), DataEntry(H(W), (az + aB)), DataEntry(G(W), aA)]), TransferSet([ScriptTransfer(addressFromStringValue(ay), P(aB), U)]))
263+ }
264+ }
265+
266+
267+
268+@Callable(an)
269+func updateReservesAndNeutrinoSupply () = {
270+ let aC = a("updateReservesAndNeutrinoSupplyIdx")
271+ let aD = (aC + 1)
272+ WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", aD), DataEntry("reserve", ab), DataEntry("neutrinoSupply", ac), DataEntry("surplus", ad)])
273+ }
274+
275+
276+@Verifier(aE)
277+func aF () = {
278+ let aG = ["HydhDj945553HyDV4ZvXRAkaQjtKygXkW7rNfZXio2kG", "6nuw9iVJqJkE3RkF9LDn884rA2AM5hgTjXMfHJFJxkLe", "ApBdKGqQP4CRG2XhumYtCzkGpvd4xdXtR5Hc3XkKw4Cv", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"]
279+ let aH = ((((if (sigVerify(aE.bodyBytes, aE.proofs[0], fromBase58String(aG[0])))
280+ then 1
281+ else 0) + (if (sigVerify(aE.bodyBytes, aE.proofs[1], fromBase58String(aG[1])))
282+ then 1
283+ else 0)) + (if (sigVerify(aE.bodyBytes, aE.proofs[2], fromBase58String(aG[2])))
284+ then 1
285+ else 0)) + (if (sigVerify(aE.bodyBytes, aE.proofs[3], fromBase58String(aG[3])))
286+ then 2
287+ else 0))
288+ (aH >= 3)
289+ }
290+

github/deemru/w8io/026f985 
36.67 ms