tx · 5WdRpAruCrvGsG8f4usC1W29JMVC9fTpWN1y3L4LxHny 3MyiJb9yZnpyXJADhdEoNk3MT3FHKmbYRJX: -0.10000000 Waves 2020.04.01 05:35 [934481] smart account 3MyiJb9yZnpyXJADhdEoNk3MT3FHKmbYRJX > SELF 0.00000000 Waves
{ "type": 13, "id": "5WdRpAruCrvGsG8f4usC1W29JMVC9fTpWN1y3L4LxHny", "fee": 10000000, "feeAssetId": null, "timestamp": 1585708509613, "version": 1, "sender": "3MyiJb9yZnpyXJADhdEoNk3MT3FHKmbYRJX", "senderPublicKey": "HDqeggkNi96GMzyGv4AQMQms43nwSrvgMjTDznyivt8R", "proofs": [ "2bsZBqEJAFxPRmzGM5BrHE1HvwXGhrgR7yMXofUs5Ns8GvKHU46Muuohqu6AC7wUpVQHWhi3UzfiHjW4MDefdFA" ], "script": "base64:AAIDAAAAAAAAAA0IARIAEgASAwoBCBIAAAAAOAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAABZnZXRCb29sQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHAQAAABhnZXRTdHJpbmdCeUFkZHJlc3NBbmRLZ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AAADbmlsAAAAAHQNonA=", "chainId": 84, "height": 934481, "spentComplexity": 0 } View: original | compacted Prev: 4VSTT8eRL6S9jKtBHf13B3wWr3bdyohT4nRGrziftbNb Next: 2eRMakZAiTVoQTjgwM4DZZy2tdVZ6gmu1Yic1DngK2Pb Diff:
Old | New | Differences | |
---|---|---|---|
203 | 203 | let owner = toString(i.caller) | |
204 | 204 | let nextOrder = getOrderNext(lastOrder) | |
205 | 205 | let orderStatus = getOrderStatus(lastOrder) | |
206 | - | if (((1 + 1) > 1)) | |
207 | - | then throw("running here!") | |
208 | - | else WriteSet([DataEntry(getLastOrderOwnerKey(owner), newOrderId)]) | |
206 | + | if (isBlocked) | |
207 | + | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
208 | + | else if (((1 + 1) > 1)) | |
209 | + | then throw("running here!") | |
210 | + | else WriteSet([DataEntry(getLastOrderOwnerKey(owner), newOrderId)]) | |
209 | 211 | } | |
210 | 212 | ||
211 | 213 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func getNumberByKey (key) = match getInteger(this, key) { | |
5 | 5 | case a: Int => | |
6 | 6 | a | |
7 | 7 | case _ => | |
8 | 8 | 0 | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func getStringByKey (key) = match getString(this, key) { | |
13 | 13 | case a: String => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | "" | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func getBoolByAddressAndKey (address,key) = match getBoolean(address, key) { | |
21 | 21 | case a: Boolean => | |
22 | 22 | a | |
23 | 23 | case _ => | |
24 | 24 | false | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getStringByAddressAndKey (address,key) = match getString(address, key) { | |
29 | 29 | case a: String => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | "" | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func getNumberByAddressAndKey (address,key) = match getInteger(address, key) { | |
37 | 37 | case a: Int => | |
38 | 38 | a | |
39 | 39 | case _ => | |
40 | 40 | 0 | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | let WAVELET = 100000000 | |
45 | 45 | ||
46 | 46 | let ORDERSPLITSYMBOL = "_" | |
47 | 47 | ||
48 | 48 | let PAULI = 1000000 | |
49 | 49 | ||
50 | 50 | let PERCENTACCURACY = 1000 | |
51 | 51 | ||
52 | 52 | let MAXDISCOUNT = 50 | |
53 | 53 | ||
54 | 54 | let CANCELED = "canceled" | |
55 | 55 | ||
56 | 56 | let NEW = "new" | |
57 | 57 | ||
58 | 58 | let FILLED = "filled" | |
59 | 59 | ||
60 | 60 | let NeutrinoContractKey = "neutrino_contract" | |
61 | 61 | ||
62 | 62 | let PriceKey = "price" | |
63 | 63 | ||
64 | 64 | let BondAssetIdKey = "bond_asset_id" | |
65 | 65 | ||
66 | 66 | let NeutrinoAssetIdKey = "neutrino_asset_id" | |
67 | 67 | ||
68 | 68 | let ControlContractKey = "control_contract" | |
69 | 69 | ||
70 | 70 | let BalanceLockedkKey = "balance_lock_" | |
71 | 71 | ||
72 | 72 | let WavesLockedBalanceKey = (BalanceLockedkKey + "waves") | |
73 | 73 | ||
74 | 74 | let NeutrinoLockedBalanceKey = (BalanceLockedkKey + "neutrino") | |
75 | 75 | ||
76 | 76 | let FirstOrderKey = "order_first" | |
77 | 77 | ||
78 | 78 | let LastOrderKey = "order_last" | |
79 | 79 | ||
80 | 80 | func getOrderPrevKey (orderId) = ("order_prev_" + orderId) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getOrderNextKey (orderId) = ("order_next_" + orderId) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getOrderTotalKey (orderId) = ("order_total_" + orderId) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func getOrderOwnerKey (orderId) = ("order_owner_" + orderId) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getOrderHeightKey (orderId) = ("order_height_" + orderId) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getOrderStatusKey (orderId) = ("order_status_" + orderId) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getOrderFilledTotalKey (orderId) = ("order_filled_total_" + orderId) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getLastOrderOwnerKey (owner) = ("last_order_owner_" + owner) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, 100, price), WAVELET, PAULI) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, 100), PAULI, WAVELET) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func convertWavesToBond (amount,price) = convertWavesToNeutrino(amount, price) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | let neutrinoContract = addressFromStringValue(getStringByKey(NeutrinoContractKey)) | |
114 | 114 | ||
115 | 115 | let controlContract = addressFromStringValue(getStringByAddressAndKey(neutrinoContract, ControlContractKey)) | |
116 | 116 | ||
117 | 117 | let liquidationContract = this | |
118 | 118 | ||
119 | 119 | let neutrinoAssetId = fromBase58String(getStringByAddressAndKey(neutrinoContract, NeutrinoAssetIdKey)) | |
120 | 120 | ||
121 | 121 | let bondAssetId = fromBase58String("Qh28HvUAcFboD1GsAcyURQjNW6mdpuGvXVgFS9e3CzC") | |
122 | 122 | ||
123 | 123 | let firstOrder = getStringByKey(FirstOrderKey) | |
124 | 124 | ||
125 | 125 | let lastOrder = getStringByKey(LastOrderKey) | |
126 | 126 | ||
127 | 127 | let isBlocked = getBoolByAddressAndKey(controlContract, "is_blocked") | |
128 | 128 | ||
129 | 129 | let currentPrice = getNumberByAddressAndKey(controlContract, PriceKey) | |
130 | 130 | ||
131 | 131 | let neutrinoLockedBalance = getNumberByAddressAndKey(neutrinoContract, NeutrinoLockedBalanceKey) | |
132 | 132 | ||
133 | 133 | let wavesLockedBalance = getNumberByAddressAndKey(neutrinoContract, WavesLockedBalanceKey) | |
134 | 134 | ||
135 | 135 | let reserve = (wavesBalance(neutrinoContract) - wavesLockedBalance) | |
136 | 136 | ||
137 | 137 | let neutrinoSupply = (((neutrinoLockedBalance + extract(assetInfo(neutrinoAssetId)).quantity) - assetBalance(neutrinoContract, neutrinoAssetId)) - assetBalance(liquidationContract, neutrinoAssetId)) | |
138 | 138 | ||
139 | 139 | let surplus = (convertWavesToNeutrino(reserve, currentPrice) - neutrinoSupply) | |
140 | 140 | ||
141 | 141 | func getOrderTotal (id) = getNumberByKey(getOrderTotalKey(id)) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func getOrderOwner (id) = getStringByKey(getOrderOwnerKey(id)) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func getOrderStatus (id) = getStringByKey(getOrderStatusKey(id)) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func getOrderFilledTotal (id) = getNumberByKey(getOrderFilledTotalKey(id)) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func getOrderPrev (id) = getStringByKey(getOrderPrevKey(id)) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func getOrderNext (id) = getStringByKey(getOrderNextKey(id)) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func getOrderHeight (id) = getNumberByKey(getOrderHeightKey(id)) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func getLastOrderOwner (owner) = getStringByKey(getLastOrderOwnerKey(owner)) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | @Callable(i) | |
166 | 166 | func addLiquidationOrder () = { | |
167 | 167 | let pmt = extract(i.payment) | |
168 | 168 | let newOrderId = toBase58String(keccak256((((toBytes(pmt.amount) + i.caller.bytes) + toBytes(height)) + i.transactionId))) | |
169 | 169 | let nextOrder = getOrderNext(lastOrder) | |
170 | 170 | let orderStatus = getOrderStatus(lastOrder) | |
171 | 171 | let owner = toString(i.caller) | |
172 | 172 | if (isBlocked) | |
173 | 173 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
174 | 174 | else if ((pmt.assetId != bondAssetId)) | |
175 | 175 | then throw("can use appropriate neutrino bonds tokens only") | |
176 | 176 | else if ((getOrderOwner(newOrderId) != "")) | |
177 | 177 | then throw("an order is already exists") | |
178 | 178 | else if ((nextOrder != "")) | |
179 | 179 | then throw(("nextOrder is not last. Info:" + nextOrder)) | |
180 | 180 | else if (if ((firstOrder != "")) | |
181 | 181 | then (lastOrder == "") | |
182 | 182 | else false) | |
183 | 183 | then throw("invalid last order") | |
184 | 184 | else if (if ((firstOrder != "")) | |
185 | 185 | then (orderStatus != NEW) | |
186 | 186 | else false) | |
187 | 187 | then throw("last order status is not new") | |
188 | 188 | else if ((PAULI > pmt.amount)) | |
189 | 189 | then throw("order amount must be higher than 1 NSBT") | |
190 | 190 | else WriteSet([DataEntry(getLastOrderOwnerKey(owner), newOrderId), DataEntry(getOrderPrevKey(newOrderId), lastOrder), DataEntry(getOrderNextKey(lastOrder), if ((lastOrder == "")) | |
191 | 191 | then "" | |
192 | 192 | else newOrderId), DataEntry(FirstOrderKey, if ((firstOrder == "")) | |
193 | 193 | then newOrderId | |
194 | 194 | else firstOrder), DataEntry(LastOrderKey, newOrderId), DataEntry(getOrderTotalKey(newOrderId), pmt.amount), DataEntry(getOrderOwnerKey(newOrderId), owner), DataEntry(getOrderHeightKey(newOrderId), height), DataEntry(getOrderStatusKey(newOrderId), NEW)]) | |
195 | 195 | } | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | ||
199 | 199 | @Callable(i) | |
200 | 200 | func addLiquidationOrderTest () = { | |
201 | 201 | let pmt = extract(i.payment) | |
202 | 202 | let newOrderId = toBase58String(keccak256((((toBytes(pmt.amount) + i.caller.bytes) + toBytes(height)) + i.transactionId))) | |
203 | 203 | let owner = toString(i.caller) | |
204 | 204 | let nextOrder = getOrderNext(lastOrder) | |
205 | 205 | let orderStatus = getOrderStatus(lastOrder) | |
206 | - | if (((1 + 1) > 1)) | |
207 | - | then throw("running here!") | |
208 | - | else WriteSet([DataEntry(getLastOrderOwnerKey(owner), newOrderId)]) | |
206 | + | if (isBlocked) | |
207 | + | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
208 | + | else if (((1 + 1) > 1)) | |
209 | + | then throw("running here!") | |
210 | + | else WriteSet([DataEntry(getLastOrderOwnerKey(owner), newOrderId)]) | |
209 | 211 | } | |
210 | 212 | ||
211 | 213 | ||
212 | 214 | ||
213 | 215 | @Callable(i) | |
214 | 216 | func cancelOrder (orderId) = { | |
215 | 217 | let owner = getOrderOwner(orderId) | |
216 | 218 | let amount = (getOrderTotal(orderId) - getOrderFilledTotal(orderId)) | |
217 | 219 | let nextOrder = getOrderNext(orderId) | |
218 | 220 | let prevOrder = getOrderPrev(orderId) | |
219 | 221 | if (isBlocked) | |
220 | 222 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
221 | 223 | else if ((owner != toString(i.caller))) | |
222 | 224 | then throw("permission denied") | |
223 | 225 | else if ((getOrderStatus(orderId) != NEW)) | |
224 | 226 | then throw("invalid order status") | |
225 | 227 | else ScriptResult(WriteSet([DataEntry(FirstOrderKey, if ((firstOrder == orderId)) | |
226 | 228 | then nextOrder | |
227 | 229 | else firstOrder), DataEntry(LastOrderKey, if ((lastOrder == orderId)) | |
228 | 230 | then prevOrder | |
229 | 231 | else lastOrder), DataEntry(getOrderNextKey(prevOrder), nextOrder), DataEntry(getOrderPrevKey(nextOrder), prevOrder), DataEntry(getOrderStatusKey(orderId), CANCELED)]), TransferSet([ScriptTransfer(i.caller, amount, bondAssetId)])) | |
230 | 232 | } | |
231 | 233 | ||
232 | 234 | ||
233 | 235 | ||
234 | 236 | @Callable(i) | |
235 | 237 | func liquidateBond () = { | |
236 | 238 | let surplusPositive = if ((0 >= surplus)) | |
237 | 239 | then 0 | |
238 | 240 | else surplus | |
239 | 241 | let liquidationBalance = assetBalance(this, neutrinoAssetId) | |
240 | 242 | let returnAmount = if ((surplusPositive >= liquidationBalance)) | |
241 | 243 | then 0 | |
242 | 244 | else (liquidationBalance - surplusPositive) | |
243 | 245 | let surplusBond = surplusPositive | |
244 | 246 | if (isBlocked) | |
245 | 247 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
246 | 248 | else if (if ((returnAmount == 0)) | |
247 | 249 | then (liquidationBalance == 0) | |
248 | 250 | else false) | |
249 | 251 | then throw("cannot liquidate order without neutrino on the smart contract") | |
250 | 252 | else if ((returnAmount > 0)) | |
251 | 253 | then TransferSet([ScriptTransfer(neutrinoContract, returnAmount, neutrinoAssetId)]) | |
252 | 254 | else if ((0 >= surplusBond)) | |
253 | 255 | then throw("there is no proficit on the smart contract now") | |
254 | 256 | else if ((firstOrder == "")) | |
255 | 257 | then throw("empty orderbook") | |
256 | 258 | else { | |
257 | 259 | let nextOrder = getOrderNext(firstOrder) | |
258 | 260 | let orderTotal = getOrderTotal(firstOrder) | |
259 | 261 | let orderOwner = getOrderOwner(firstOrder) | |
260 | 262 | let filledTotal = getOrderFilledTotal(firstOrder) | |
261 | 263 | let amount = (orderTotal - filledTotal) | |
262 | 264 | let newStatus = if ((surplusBond >= amount)) | |
263 | 265 | then FILLED | |
264 | 266 | else NEW | |
265 | 267 | let fillableOrderAmount = if ((surplusBond >= amount)) | |
266 | 268 | then amount | |
267 | 269 | else surplusBond | |
268 | 270 | ScriptResult(WriteSet([DataEntry(getOrderPrevKey(nextOrder), if ((newStatus == FILLED)) | |
269 | 271 | then "" | |
270 | 272 | else firstOrder), DataEntry(FirstOrderKey, if ((newStatus == FILLED)) | |
271 | 273 | then nextOrder | |
272 | 274 | else firstOrder), DataEntry(LastOrderKey, if (if ((newStatus == FILLED)) | |
273 | 275 | then (firstOrder == lastOrder) | |
274 | 276 | else false) | |
275 | 277 | then "" | |
276 | 278 | else lastOrder), DataEntry(getOrderFilledTotalKey(firstOrder), (filledTotal + fillableOrderAmount)), DataEntry(getOrderStatusKey(firstOrder), newStatus)]), TransferSet([ScriptTransfer(addressFromStringValue(orderOwner), fillableOrderAmount, neutrinoAssetId)])) | |
277 | 279 | } | |
278 | 280 | } | |
279 | 281 | ||
280 | 282 |
github/deemru/w8io/169f3d6 37.21 ms ◑