tx · 4bAeou5bfvyqX1uAvWssALbnd3fv9789zGMyt5EBwzk5

3MrtHeXquGPcRd3YjJQHfY1Ss6oSDpfxGuL:  -0.01400000 Waves

2019.09.17 19:30 [680488] smart account 3MrtHeXquGPcRd3YjJQHfY1Ss6oSDpfxGuL > SELF 0.00000000 Waves

{ "type": 13, "id": "4bAeou5bfvyqX1uAvWssALbnd3fv9789zGMyt5EBwzk5", "fee": 1400000, "feeAssetId": null, "timestamp": 1568737834352, "version": 1, "sender": "3MrtHeXquGPcRd3YjJQHfY1Ss6oSDpfxGuL", "senderPublicKey": "3nmDHSgwcZ79tNbGjppGBY9MbYm4qLZEJcZ32D2WmxkG", "proofs": [ "4XP4BdiAWR1H2Vae8nCy6ng9WTzQkrc1WvtmmDvn1enYJ25JBPPiBkkkyRmQyaiyhaHyfJifwBAwW91KLwrJM2eq" ], "script": "base64:AAIDAAAAAAAAAAAAAABFAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcBAAAAGGdldE51bWJlckJ5S2V5QW5kQWRkcmVzcwAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByR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wkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEU9yZGVyYm9va1RvdGFsS2V5CQAAZQAAAAIFAAAADm9yZGVyYm9va1RvdGFsAwkAAGcAAAACBQAAAAdzdXJwbHVzBQAAAApvcmRlclRvdGFsBQAAAApvcmRlclRvdGFsBQAAAAdzdXJwbHVzCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAxPcmRlcmJvb2tLZXkJAAGRAAAAAgkABLUAAAACBQAAAAlvcmRlcmJvb2sJAAEsAAAAAgUAAAAHb3JkZXJJZAUAAAAPTGlzdFNwbGl0U3ltYm9sAAAAAAAAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAADU9yZGVyVG90YWxLZXkFAAAAB29yZGVySWQDCQAAZwAAAAIAAAAAAAAAAAAFAAAABmFtb3VudAAAAAAAAAAAAAUAAAAGYW1vdW50BQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAwkAAGcAAAACBQAAAAdzdXJwbHVzBQAAAApvcmRlclRvdGFsCQEAAAAVY29udmVydEJvbmRUb05ldXRyaW5vAAAAAQUAAAAKb3JkZXJUb3RhbAUAAAAHc3VycGx1cwUAAAAPbmV1dHJpbm9Bc3NldElkBQAAAANuaWwAAAAAONmqMA==", "chainId": 84, "height": 680488, "spentComplexity": 0 } View: original | compacted Prev: 2KWuYvG4V9xQimb77YjU5gGFxETjWPe7o3sCa78dpCXW Next: HPmzcftg1528BsG3TJBPHXbhcsCSiC9cSMNcbrQ9oaSj Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getInteger(this, b)
66 if ($isInstanceOf(c, "Int"))
77 then {
88 let d = c
99 d
1010 }
1111 else 0
1212 }
1313
1414
1515 func e (b) = {
1616 let c = getString(this, b)
1717 if ($isInstanceOf(c, "String"))
1818 then {
1919 let d = c
2020 d
2121 }
2222 else ""
2323 }
2424
2525
2626 func f (b) = {
2727 let c = getBoolean(this, b)
2828 if ($isInstanceOf(c, "Boolean"))
2929 then {
3030 let d = c
3131 d
3232 }
3333 else false
3434 }
3535
3636
3737 func g (h,b) = {
3838 let c = getInteger(addressFromStringValue(h), b)
3939 if ($isInstanceOf(c, "Int"))
4040 then {
4141 let d = c
4242 d
4343 }
4444 else 0
4545 }
4646
4747
4848 func i (h,b) = {
4949 let c = getString(addressFromStringValue(h), b)
5050 if ($isInstanceOf(c, "String"))
5151 then {
5252 let d = c
5353 d
5454 }
5555 else ""
5656 }
5757
5858
5959 func j (h,b) = {
6060 let c = getBoolean(addressFromStringValue(h), b)
6161 if ($isInstanceOf(c, "Boolean"))
6262 then {
6363 let d = c
6464 d
6565 }
6666 else false
6767 }
6868
6969
7070 let k = "_"
7171
7272 let l = 5
7373
7474 let m = 2
7575
7676 let n = "+"
7777
7878 let o = 100000000
7979
8080 let p = (10 * o)
8181
8282 let q = (10 * o)
8383
8484 let r = 10
8585
8686 let s = "lease_contract"
8787
8888 let t = "neutrino_asset_id"
8989
9090 let u = "bond_asset_id"
9191
9292 let v = "auction_contract"
9393
9494 let w = "price"
9595
9696 let x = "neutrino_"
9797
9898 let y = "waves_"
9999
100100 let z = "balance_block_"
101101
102102 let A = "orderbook"
103103
104104 let B = "order_total_"
105105
106106 let C = "order_owner_"
107107
108108 let D = "order_height_"
109109
110110 let E = "orderbook_total"
111111
112112 let F = "orderbook_total_snapshot"
113113
114114 let G = "snapshot_block"
115115
116116 let H = "orderbook_snapshot"
117117
118118 let I = "bond_generated_block"
119119
120120 let J = "account_snapshot_block_"
121121
122122 let K = "account_snapshot_owner_"
123123
124124 let L = "account_snapshot_amount_"
125125
126126 let M = "account_snapshot_node_"
127127
128128 let N = "snapshot_node_balance_"
129129
130130 let O = "node_balance_"
131131
132132 let P = "is_sent_node_balance_"
133133
134134 let Q = "node_status"
135135
136136 let R = fromBase58String(e(t))
137137
138138 let S = a(w)
139139
140140 let T = wavesBalance(this)
141141
142142 let U = {
143143 let V = extract(assetInfo(R))
144144 (V.quantity - assetBalance(this, R))
145145 }
146146
147147 let W = a(E)
148148
149149 let X = e(A)
150150
151151 let Y = a(G)
152152
153153 let Z = a(I)
154154
155155 let aa = e(H)
156156
157157 let ab = a(F)
158158
159159 let ac = fromBase58String(e(u))
160160
161161 let ad = e(v)
162162
163163 let ae = e(s)
164164
165165 let af = {
166166 let V = extract(assetInfo(ac))
167167 (V.quantity - assetBalance(this, ac))
168168 }
169169
170170 func ag (ah) = a((y + ah))
171171
172172
173173 func ai (ah) = a((x + ah))
174174
175175
176176 func aj (ah) = a((z + ah))
177177
178178
179179 func ak (al) = a((B + al))
180180
181181
182182 func am (al) = e((C + al))
183183
184184
185185 func an (al) = a((J + al))
186186
187187
188188 func ao (al) = e((K + al))
189189
190190
191191 func ap (al) = a((L + al))
192192
193193
194194 func aq (h,ar) = g(ae, (((O + h) + k) + toString(ar)))
195195
196196
197197 func as (h,ar) = f((((P + h) + k) + toString(ar)))
198198
199199
200200 func at (au) = ((au * 100) / S)
201201
202202
203203 func av (au) = ((au * S) / 100)
204204
205205
206206 func aw (au) = (au / o)
207207
208208
209209 func ax (au) = (au * o)
210210
211211
212212 func ay (au) = aw(av(au))
213213
214214
215215 let az = (av(T) - U)
216216
217217 @Callable(aA)
218218 func setCurrentPrice (S) = WriteSet([DataEntry(w, S), DataEntry(((w + k) + toString(height)), S)])
219219
220220
221221
222222 @Callable(aA)
223223 func swapWavesToNeutrino () = {
224224 let aB = extract(aA.payment)
225225 if (isDefined(aB.assetId))
226226 then throw("can use waves only")
227227 else {
228228 let aC = toBase58String(aA.caller.bytes)
229229 let au = av(aB.amount)
230230 WriteSet([DataEntry((x + toString(aA.caller)), (au + ai(aC))), DataEntry((z + toString(aA.caller)), height)])
231231 }
232232 }
233233
234234
235235
236236 @Callable(aA)
237237 func swapNeutrinoToWaves () = {
238238 let aB = extract(aA.payment)
239239 if ((aB.assetId != R))
240240 then throw("can use neutrino only")
241241 else {
242242 let aC = toBase58String(aA.caller.bytes)
243243 let au = at(aB.amount)
244244 WriteSet([DataEntry((y + toString(aA.caller)), (au + ag(aC))), DataEntry((z + toString(aA.caller)), height)])
245245 }
246246 }
247247
248248
249249
250250 @Callable(aA)
251251 func withdraw (aC) = if (((aj(aC) + m) > height))
252252 then throw("wait a couple of blocks for withdraw")
253253 else ScriptResult(WriteSet([DataEntry((y + aC), 0), DataEntry((x + aC), 0)]), TransferSet([ScriptTransfer(aA.caller, ai(aC), R), ScriptTransfer(aA.caller, ag(aC), unit)]))
254254
255255
256256
257257 @Callable(aA)
258258 func generateBond () = {
259259 let aD = (U - av(T))
260260 let aE = assetBalance(addressFromStringValue(ad), ac)
261261 let au = (aw(aD) - aE)
262262 if ((au > 0))
263263 then TransferSet([ScriptTransfer(addressFromStringValue(ad), au, ac)])
264264 else throw(("deficit did not reach the threshold. deficit =" + toString(aD)))
265265 }
266266
267267
268268
269269 @Callable(aA)
270270 func setOrder () = {
271271 let aB = extract(aA.payment)
272272 let aF = toBase58String(keccak256(((toBytes(aB.amount) + aA.caller.bytes) + toBytes(height))))
273273 if ((aB.assetId != ac))
274274 then throw("can use bond only")
275275 else if ((am(aF) != ""))
276276 then throw("order exists")
277277 else WriteSet([DataEntry(E, (W + aB.amount)), DataEntry(A, ((X + aF) + k)), DataEntry((B + aF), aB.amount), DataEntry((C + aF), toString(aA.caller)), DataEntry((D + aF), height)])
278278 }
279279
280280
281281
282282 @Callable(aA)
283283 func cancelOrder (aG) = {
284284 let ah = am(aG)
285285 let aH = ak(aG)
286286 if ((ah != toString(aA.caller)))
287287 then throw("permission denied")
288288 else {
289289 let aI = split(X, (aG + k))[0]
290290 let aJ = split(X, (aG + k))[1]
291291 ScriptResult(WriteSet([DataEntry(E, (W - aH)), DataEntry(A, (aI + aJ)), DataEntry((B + aG), 0)]), TransferSet([ScriptTransfer(aA.caller, aH, unit)]))
292292 }
293293 }
294294
295295
296296
297297 @Callable(aA)
298298 func executeOrder () = {
299299 let aG = split(X, k)[0]
300300 let aK = ak(aG)
301301 if ((0 >= az))
302302 then throw("surplus is less than zero")
303303 else {
304304 let au = ax((aK - aw(az)))
305305 ScriptResult(WriteSet([DataEntry(E, (W - (if ((az >= aK))
306306 then aK
307307 else az))), DataEntry(A, split(X, (aG + k))[1]), DataEntry((B + aG), if ((0 >= au))
308308 then 0
309309 else au)]), TransferSet([ScriptTransfer(aA.caller, if ((az >= aK))
310310 then ax(aK)
311311 else az, R)]))
312312 }
313313 }
314314
315315

github/deemru/w8io/169f3d6 
32.87 ms