tx · A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3: -0.02000000 Waves 2020.06.17 15:55 [1047562] smart account 3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3 > SELF 0.00000000 Waves
{ "type": 13, "id": "A2zAxGZtJ1bLNRJjrPgPJ4AoATBaVhdgcreNWeR3ALHq", "fee": 2000000, "feeAssetId": null, "timestamp": 1592398563811, "version": 1, "sender": "3MxUeE9rS9G3ap3kSrw67vkjYyTL3QLJnk3", "senderPublicKey": "3VHsLLWkFL98S7B2qFvsehH7yt6RF3dJouXsR5X3WHHZ", "proofs": [ "2hHM7e8kdiFURpMXXr9FC3SBBAzfgaLcVG3YUJHCQhGFj7WbVkiTy3hianVd8rCKpoSgS5uUMozipX96fKzJ7DpD", "2Yp4TPMW4SFDwzCg8NNq58htfmLke9qRDwQyYZpddQ9edzcjz6XQvZzCEGA8qmJ6h93fJSd52j8f3uzW3EYw3Qa4", "5osJG67ufzAPYR716bA7V291i51yB7Zkx9CZujuhb8axdgKWYzqK9mat3TYhrtchZ1Mh6GgRGyHuH6AKH8pFfmNd" ], "script": "base64:AAIDAAAAAAAAABcIARIAEgASBAoCCAESABIDCgEIEgASAAAAAEsBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQA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AAAAgUAAAAHJG1hdGNoMAIAAAAWTGVhc2VDYW5jZWxUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAAJbGVhc2luZ1R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAlsZWFzaW5nVHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAlsZWFzaW5nVHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABhub2RlT3JhY2xlUHJvdmlkZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFVNwb25zb3JGZWVUcmFuc2FjdGlvbgQAAAAJc3BvbnNvclR4BQAAAAckbWF0Y2gwAwkBAAAAG2NoZWNrSXNWYWxpZE1pblNwb25zb3JlZEZlZQAAAAEFAAAACXNwb25zb3JUeAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAwcJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAN4H0zi", "chainId": 84, "height": 1047562, "spentComplexity": 0 } View: original | compacted Prev: HSWGCEpvdbLJpj7S1S4ggLdGfSjqVzDqfVUtoKeeasxy Next: 6Hsb9Pmqi7FrTQ57ewkVBqLBMtLpEaMATJaKbD7Kpebp Diff:
Old | New | Differences | |
---|---|---|---|
79 | 79 | ||
80 | 80 | let p = 1000000 | |
81 | 81 | ||
82 | - | let q = | |
82 | + | let q = "neutrino_asset_id" | |
83 | 83 | ||
84 | - | let r = " | |
84 | + | let r = "bond_asset_id" | |
85 | 85 | ||
86 | - | let s = " | |
86 | + | let s = "auction_contract" | |
87 | 87 | ||
88 | - | let t = " | |
88 | + | let t = "liquidation_contract" | |
89 | 89 | ||
90 | - | let u = " | |
90 | + | let u = "rpd_contract" | |
91 | 91 | ||
92 | - | let v = " | |
92 | + | let v = "control_contract" | |
93 | 93 | ||
94 | - | let w = " | |
94 | + | let w = "balance_waves_lock_interval" | |
95 | 95 | ||
96 | - | let x = "balance_ | |
96 | + | let x = "balance_neutrino_lock_interval" | |
97 | 97 | ||
98 | - | let y = " | |
98 | + | let y = "min_waves_swap_amount" | |
99 | 99 | ||
100 | - | let z = "min_ | |
100 | + | let z = "min_neutrino_swap_amount" | |
101 | 101 | ||
102 | - | let A = " | |
102 | + | let A = "node_oracle_provider" | |
103 | 103 | ||
104 | - | let B = " | |
104 | + | let B = "rpd_balance" | |
105 | 105 | ||
106 | - | let C = "rpd_balance" | |
107 | - | ||
108 | - | func D (E) = ((C + "_") + toBase58String(E)) | |
106 | + | func C (D) = ((B + "_") + toBase58String(D)) | |
109 | 107 | ||
110 | 108 | ||
111 | - | let | |
109 | + | let E = "price" | |
112 | 110 | ||
113 | - | let | |
111 | + | let F = "price_index" | |
114 | 112 | ||
115 | - | let | |
113 | + | let G = "is_blocked" | |
116 | 114 | ||
117 | - | func | |
115 | + | func H (I) = ((E + "_") + toString(I)) | |
118 | 116 | ||
119 | 117 | ||
120 | - | func | |
118 | + | func J (K) = ((F + "_") + toString(K)) | |
121 | 119 | ||
122 | 120 | ||
123 | - | let | |
121 | + | let L = "balance_lock_" | |
124 | 122 | ||
125 | - | let | |
123 | + | let M = (L + "waves") | |
126 | 124 | ||
127 | - | let | |
125 | + | let N = (L + "neutrino") | |
128 | 126 | ||
129 | - | func | |
127 | + | func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P)) | |
130 | 128 | ||
131 | 129 | ||
132 | - | func | |
130 | + | func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R) | |
133 | 131 | ||
134 | 132 | ||
135 | - | func | |
133 | + | func S (T) = ((M + "_") + T) | |
136 | 134 | ||
137 | 135 | ||
138 | - | func | |
136 | + | func U (T) = ((N + "_") + T) | |
139 | 137 | ||
140 | 138 | ||
141 | - | func | |
139 | + | func V (T) = ("balance_unlock_block_" + T) | |
142 | 140 | ||
143 | 141 | ||
144 | - | func | |
142 | + | func W (P) = (("rpd_profit" + "_") + toString(P)) | |
145 | 143 | ||
146 | 144 | ||
147 | - | func | |
145 | + | func X (Y,Z) = fraction(fraction(Y, 100, Z), o, p) | |
148 | 146 | ||
149 | 147 | ||
150 | - | func | |
148 | + | func aa (Y,Z) = fraction(fraction(Y, Z, 100), p, o) | |
151 | 149 | ||
152 | 150 | ||
153 | - | func | |
151 | + | func ab (Y,Z) = aa(Y, Z) | |
154 | 152 | ||
155 | 153 | ||
156 | - | func | |
154 | + | func ac (ad) = split(ad, ",") | |
157 | 155 | ||
158 | 156 | ||
159 | - | let | |
157 | + | let ae = e(t) | |
160 | 158 | ||
161 | - | let | |
159 | + | let af = e(q) | |
162 | 160 | ||
163 | - | let | |
161 | + | let ag = fromBase58String(af) | |
164 | 162 | ||
165 | - | let ai = e(t) | |
163 | + | let ah = e(s) | |
164 | + | ||
165 | + | let ai = e(u) | |
166 | 166 | ||
167 | 167 | let aj = e(v) | |
168 | 168 | ||
169 | - | let ak = | |
169 | + | let ak = g(aj, F) | |
170 | 170 | ||
171 | - | let al = | |
171 | + | let al = j(aj, G) | |
172 | 172 | ||
173 | - | let am = | |
173 | + | let am = fromBase58String(e(A)) | |
174 | 174 | ||
175 | - | let an = | |
175 | + | let an = a(w) | |
176 | 176 | ||
177 | 177 | let ao = a(x) | |
178 | 178 | ||
180 | 180 | ||
181 | 181 | let aq = a(z) | |
182 | 182 | ||
183 | - | let ar = | |
183 | + | let ar = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN") | |
184 | 184 | ||
185 | - | let as = fromBase58String(" | |
185 | + | let as = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
186 | 186 | ||
187 | - | let at = | |
187 | + | let at = this | |
188 | 188 | ||
189 | - | let au = | |
189 | + | let au = g(aj, E) | |
190 | 190 | ||
191 | - | let av = | |
191 | + | let av = a(N) | |
192 | 192 | ||
193 | - | let aw = a( | |
193 | + | let aw = a(M) | |
194 | 194 | ||
195 | - | let ax = | |
195 | + | let ax = (wavesBalance(at) - aw) | |
196 | 196 | ||
197 | - | let ay = ( | |
197 | + | let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag)) | |
198 | 198 | ||
199 | - | let az = (( | |
199 | + | let az = (aa(ax, au) - ay) | |
200 | 200 | ||
201 | - | let aA = ( | |
201 | + | let aA = (ay - aa(ax, au)) | |
202 | 202 | ||
203 | - | let aB = (az - ab(ay, av)) | |
204 | - | ||
205 | - | func aC (aD) = { | |
206 | - | let aE = 100000 | |
207 | - | let aF = 1000 | |
208 | - | let aG = ab(aE, av) | |
209 | - | let aH = (aG * 2) | |
210 | - | let aI = fraction(aG, aF, 100) | |
211 | - | let aJ = extract(aD.minSponsoredAssetFee) | |
212 | - | if (if ((aJ >= aH)) | |
213 | - | then (aI >= aJ) | |
203 | + | func aB (aC) = { | |
204 | + | let aD = 100000 | |
205 | + | let aE = 1000 | |
206 | + | let aF = aa(aD, au) | |
207 | + | let aG = (aF * 2) | |
208 | + | let aH = fraction(aF, aE, 100) | |
209 | + | let aI = extract(aC.minSponsoredAssetFee) | |
210 | + | if (if ((aI >= aG)) | |
211 | + | then (aH >= aI) | |
214 | 212 | else false) | |
215 | - | then ( | |
213 | + | then (aC.assetId == ag) | |
216 | 214 | else false | |
217 | 215 | } | |
218 | 216 | ||
219 | 217 | ||
220 | - | func | |
218 | + | func aJ (D) = g(ai, C(D)) | |
221 | 219 | ||
222 | 220 | ||
223 | - | func | |
221 | + | func aK (I) = g(aj, H(I)) | |
224 | 222 | ||
225 | 223 | ||
226 | - | func | |
224 | + | func aL (K) = g(aj, J(K)) | |
227 | 225 | ||
228 | 226 | ||
229 | - | func | |
227 | + | func aM (R) = a(Q(R)) | |
230 | 228 | ||
231 | 229 | ||
232 | - | func | |
230 | + | func aN (T) = a(S(T)) | |
233 | 231 | ||
234 | 232 | ||
235 | - | func | |
233 | + | func aO (T) = a(U(T)) | |
236 | 234 | ||
237 | 235 | ||
238 | - | func | |
236 | + | func aP (T) = a(V(T)) | |
239 | 237 | ||
240 | 238 | ||
241 | - | func | |
239 | + | func aQ (P) = a(W(P)) | |
242 | 240 | ||
243 | 241 | ||
244 | - | @Callable( | |
242 | + | @Callable(aR) | |
245 | 243 | func swapWavesToNeutrino () = { | |
246 | - | let | |
247 | - | let | |
248 | - | if (( | |
249 | - | then throw((("The specified Waves amount is less than the required minimum of " + toString( | |
250 | - | else if (isDefined( | |
244 | + | let aS = extract(aR.payment) | |
245 | + | let aT = toString(aR.caller) | |
246 | + | if ((ap > aS.amount)) | |
247 | + | then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets.")) | |
248 | + | else if (isDefined(aS.assetId)) | |
251 | 249 | then throw("Only Waves token is allowed for swapping.") | |
252 | - | else if ( | |
250 | + | else if (al) | |
253 | 251 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
254 | - | else if (( | |
255 | - | then throw((("await " + toString(( | |
256 | - | else if (if (( | |
252 | + | else if ((aP(aT) > height)) | |
253 | + | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
254 | + | else if (if ((aO(aT) != 0)) | |
257 | 255 | then true | |
258 | - | else ( | |
256 | + | else (aN(aT) != 0)) | |
259 | 257 | then throw("please withdraw locked funds first") | |
260 | - | else WriteSet([DataEntry( | |
258 | + | else WriteSet([DataEntry(S(aT), aS.amount), DataEntry(V(aT), (height + an)), DataEntry(M, (aw + aS.amount))]) | |
261 | 259 | } | |
262 | 260 | ||
263 | 261 | ||
264 | 262 | ||
265 | - | @Callable( | |
263 | + | @Callable(aR) | |
266 | 264 | func swapNeutrinoToWaves () = { | |
267 | - | let | |
268 | - | let | |
269 | - | if (( | |
270 | - | then throw((("The specified Neutrino amount is less than the required minimum of " + toString( | |
271 | - | else if ( | |
265 | + | let aS = extract(aR.payment) | |
266 | + | let aT = toString(aR.caller) | |
267 | + | if ((aq > aS.amount)) | |
268 | + | then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents.")) | |
269 | + | else if (al) | |
272 | 270 | then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.") | |
273 | - | else if (( | |
271 | + | else if ((aS.assetId != ag)) | |
274 | 272 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
275 | - | else if (( | |
276 | - | then throw((("await " + toString(( | |
277 | - | else if (if (( | |
273 | + | else if ((aP(aT) > height)) | |
274 | + | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
275 | + | else if (if ((aO(aT) != 0)) | |
278 | 276 | then true | |
279 | - | else ( | |
277 | + | else (aN(aT) != 0)) | |
280 | 278 | then throw("please withdraw locked funds first") | |
281 | - | else WriteSet([DataEntry( | |
279 | + | else WriteSet([DataEntry(U(aT), aS.amount), DataEntry(V(aT), (height + ao)), DataEntry(N, (av + aS.amount))]) | |
282 | 280 | } | |
283 | 281 | ||
284 | 282 | ||
285 | 283 | ||
286 | - | @Callable( | |
287 | - | func withdraw ( | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | if ( | |
284 | + | @Callable(aR) | |
285 | + | func withdraw (aT,K) = { | |
286 | + | let aU = aP(aT) | |
287 | + | let aV = aN(aT) | |
288 | + | let aW = aO(aT) | |
289 | + | let aX = aL(K) | |
290 | + | let aY = aL((K - 1)) | |
291 | + | let aZ = aK(aX) | |
292 | + | let ba = 0 | |
293 | + | let bb = aa(aV, (aZ - ba)) | |
294 | + | let bc = X(aW, (aZ + ba)) | |
295 | + | if (al) | |
298 | 296 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
299 | - | else if (( | |
300 | - | then throw((("please wait for: " + toString( | |
301 | - | else if (if (if (( | |
297 | + | else if ((aU > height)) | |
298 | + | then throw((("please wait for: " + toString(aU)) + " block height to withdraw WAVES funds")) | |
299 | + | else if (if (if ((K > ak)) | |
302 | 300 | then true | |
303 | - | else ( | |
301 | + | else (aU > aX)) | |
304 | 302 | then true | |
305 | - | else if (( | |
306 | - | then ( | |
303 | + | else if ((aY != 0)) | |
304 | + | then (aY >= aU) | |
307 | 305 | else false) | |
308 | - | then throw(((((((((("invalid price history index: index=" + toString( | |
309 | - | else if (if ((0 >= | |
310 | - | then (0 >= | |
306 | + | then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aX)) + " unlockHeight=") + toString(aU)) + " prevIndexHeight=") + toString(aY))) | |
307 | + | else if (if ((0 >= bb)) | |
308 | + | then (0 >= bc) | |
311 | 309 | else false) | |
312 | 310 | then throw("balance equals zero") | |
313 | - | else ScriptResult(WriteSet([DataEntry( | |
311 | + | else ScriptResult(WriteSet([DataEntry(S(aT), 0), DataEntry(U(aT), 0), DataEntry(M, (aw - aV)), DataEntry(N, (av - aW))]), TransferSet([ScriptTransfer(addressFromStringValue(aT), bc, unit), ScriptTransfer(addressFromStringValue(aT), bb, ag)])) | |
314 | 312 | } | |
315 | 313 | ||
316 | 314 | ||
317 | 315 | ||
318 | - | @Callable( | |
316 | + | @Callable(aR) | |
319 | 317 | func transferToAuction () = { | |
320 | - | let | |
321 | - | let | |
322 | - | if ( | |
318 | + | let bd = (ay - assetBalance(addressFromStringValue(ah), ar)) | |
319 | + | let be = (az - assetBalance(addressFromStringValue(ae), ag)) | |
320 | + | if (al) | |
323 | 321 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
324 | - | else if (( | |
325 | - | then TransferSet([ScriptTransfer(addressFromStringValue( | |
326 | - | else if (( | |
327 | - | then TransferSet([ScriptTransfer(addressFromStringValue( | |
328 | - | else throw(((((((("bond were generated or do not need it. Deficit:" + toString( | |
322 | + | else if ((bd > (1 * p))) | |
323 | + | then TransferSet([ScriptTransfer(addressFromStringValue(ah), bd, ar)]) | |
324 | + | else if ((be >= (1 * p))) | |
325 | + | then TransferSet([ScriptTransfer(addressFromStringValue(ae), be, ag)]) | |
326 | + | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(0)) + ". Surplus:") + toString(be)) + "|") + toString(az))) | |
329 | 327 | } | |
330 | 328 | ||
331 | 329 | ||
332 | 330 | ||
333 | - | @Callable( | |
334 | - | func transfer ( | |
335 | - | let | |
336 | - | TransferSet([ScriptTransfer(addressFromStringValue( | |
331 | + | @Callable(aR) | |
332 | + | func transfer (aT) = { | |
333 | + | let aS = extract(aR.payment) | |
334 | + | TransferSet([ScriptTransfer(addressFromStringValue(aT), aS.amount, aS.assetId)]) | |
337 | 335 | } | |
338 | 336 | ||
339 | 337 | ||
340 | 338 | ||
341 | - | @Callable( | |
339 | + | @Callable(aR) | |
342 | 340 | func migrationUSDNB2NSBTSwap () = { | |
343 | - | let | |
344 | - | let | |
345 | - | if (( | |
341 | + | let aS = extract(aR.payment) | |
342 | + | let aT = aR.caller | |
343 | + | if ((as != aS.assetId)) | |
346 | 344 | then throw("error: attempt to swap not USDNB tokens") | |
347 | - | else TransferSet([ScriptTransfer( | |
345 | + | else TransferSet([ScriptTransfer(aT, (aS.amount * p), ar)]) | |
348 | 346 | } | |
349 | 347 | ||
350 | 348 | ||
351 | 349 | ||
352 | - | @Callable( | |
350 | + | @Callable(aR) | |
353 | 351 | func updateReservesAndNeutrinoSupply () = { | |
354 | - | func | |
352 | + | func bf (b) = { | |
355 | 353 | let c = getInteger(this, b) | |
356 | 354 | if ($isInstanceOf(c, "Int")) | |
357 | 355 | then { | |
361 | 359 | else 0 | |
362 | 360 | } | |
363 | 361 | ||
364 | - | let | |
365 | - | let | |
366 | - | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", | |
362 | + | let bg = bf("updateReservesAndNeutrinoSupplyIdx") | |
363 | + | let bh = (bg + 1) | |
364 | + | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", bh), DataEntry("reserve", ax), DataEntry("neutrinoSupply", ay), DataEntry("deficit", aA), DataEntry("surplus", az), DataEntry("bondSupply", (extract(assetInfo(ar)).quantity - assetBalance(at, ar)))]) | |
367 | 365 | } | |
368 | 366 | ||
369 | 367 | ||
370 | - | @Verifier( | |
371 | - | func | |
372 | - | let | |
373 | - | let | |
368 | + | @Verifier(aC) | |
369 | + | func bi () = { | |
370 | + | let bj = toBase58String(aC.id) | |
371 | + | let P = ((((if (sigVerify(aC.bodyBytes, aC.proofs[0], fromBase58String(k[0]))) | |
374 | 372 | then 1 | |
375 | - | else 0) + (if (sigVerify( | |
373 | + | else 0) + (if (sigVerify(aC.bodyBytes, aC.proofs[1], fromBase58String(k[1]))) | |
376 | 374 | then 1 | |
377 | - | else 0)) + (if (sigVerify( | |
375 | + | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[2], fromBase58String(k[2]))) | |
378 | 376 | then 1 | |
379 | - | else 0)) + (if (sigVerify( | |
377 | + | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[3], fromBase58String(k[3]))) | |
380 | 378 | then 2 | |
381 | 379 | else 0)) | |
382 | - | let c = | |
380 | + | let c = aC | |
383 | 381 | if (if ($isInstanceOf(c, "LeaseCancelTransaction")) | |
384 | 382 | then true | |
385 | 383 | else $isInstanceOf(c, "LeaseTransaction")) | |
386 | 384 | then { | |
387 | - | let | |
388 | - | sigVerify( | |
385 | + | let bk = c | |
386 | + | sigVerify(bk.bodyBytes, bk.proofs[0], am) | |
389 | 387 | } | |
390 | 388 | else if ($isInstanceOf(c, "SponsorFeeTransaction")) | |
391 | 389 | then { | |
392 | - | let | |
393 | - | if ( | |
394 | - | then ( | |
390 | + | let bl = c | |
391 | + | if (aB(bl)) | |
392 | + | then (P >= 3) | |
395 | 393 | else false | |
396 | 394 | } | |
397 | - | else ( | |
395 | + | else (P >= 3) | |
398 | 396 | } | |
399 | 397 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = { | |
5 | 5 | let c = getInteger(this, b) | |
6 | 6 | if ($isInstanceOf(c, "Int")) | |
7 | 7 | then { | |
8 | 8 | let d = c | |
9 | 9 | d | |
10 | 10 | } | |
11 | 11 | else 0 | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func e (b) = { | |
16 | 16 | let c = getString(this, b) | |
17 | 17 | if ($isInstanceOf(c, "String")) | |
18 | 18 | then { | |
19 | 19 | let d = c | |
20 | 20 | d | |
21 | 21 | } | |
22 | 22 | else "" | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func f (b) = { | |
27 | 27 | let c = getBoolean(this, b) | |
28 | 28 | if ($isInstanceOf(c, "Boolean")) | |
29 | 29 | then { | |
30 | 30 | let d = c | |
31 | 31 | d | |
32 | 32 | } | |
33 | 33 | else false | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func g (h,b) = { | |
38 | 38 | let c = getInteger(addressFromStringValue(h), b) | |
39 | 39 | if ($isInstanceOf(c, "Int")) | |
40 | 40 | then { | |
41 | 41 | let d = c | |
42 | 42 | d | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func i (h,b) = { | |
49 | 49 | let c = getString(addressFromStringValue(h), b) | |
50 | 50 | if ($isInstanceOf(c, "String")) | |
51 | 51 | then { | |
52 | 52 | let d = c | |
53 | 53 | d | |
54 | 54 | } | |
55 | 55 | else "" | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func j (h,b) = { | |
60 | 60 | let c = getBoolean(addressFromStringValue(h), b) | |
61 | 61 | if ($isInstanceOf(c, "Boolean")) | |
62 | 62 | then { | |
63 | 63 | let d = c | |
64 | 64 | d | |
65 | 65 | } | |
66 | 66 | else false | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | let k = ["D96T5UoL7E2FERaEwov9Frx8XFVPNGqZ4TyDiWvn1urJ", "Fk2zgbrRA8KytTVMVy6Df5i4tTEsKaqg6ybh6x6Hehjj", "37f1yE54FyMKwEkg413peq5Gbze9sBavASVeTYbQLTvJ", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
71 | 71 | ||
72 | 72 | let l = 30 | |
73 | 73 | ||
74 | 74 | let m = "_" | |
75 | 75 | ||
76 | 76 | let n = "+" | |
77 | 77 | ||
78 | 78 | let o = 100000000 | |
79 | 79 | ||
80 | 80 | let p = 1000000 | |
81 | 81 | ||
82 | - | let q = | |
82 | + | let q = "neutrino_asset_id" | |
83 | 83 | ||
84 | - | let r = " | |
84 | + | let r = "bond_asset_id" | |
85 | 85 | ||
86 | - | let s = " | |
86 | + | let s = "auction_contract" | |
87 | 87 | ||
88 | - | let t = " | |
88 | + | let t = "liquidation_contract" | |
89 | 89 | ||
90 | - | let u = " | |
90 | + | let u = "rpd_contract" | |
91 | 91 | ||
92 | - | let v = " | |
92 | + | let v = "control_contract" | |
93 | 93 | ||
94 | - | let w = " | |
94 | + | let w = "balance_waves_lock_interval" | |
95 | 95 | ||
96 | - | let x = "balance_ | |
96 | + | let x = "balance_neutrino_lock_interval" | |
97 | 97 | ||
98 | - | let y = " | |
98 | + | let y = "min_waves_swap_amount" | |
99 | 99 | ||
100 | - | let z = "min_ | |
100 | + | let z = "min_neutrino_swap_amount" | |
101 | 101 | ||
102 | - | let A = " | |
102 | + | let A = "node_oracle_provider" | |
103 | 103 | ||
104 | - | let B = " | |
104 | + | let B = "rpd_balance" | |
105 | 105 | ||
106 | - | let C = "rpd_balance" | |
107 | - | ||
108 | - | func D (E) = ((C + "_") + toBase58String(E)) | |
106 | + | func C (D) = ((B + "_") + toBase58String(D)) | |
109 | 107 | ||
110 | 108 | ||
111 | - | let | |
109 | + | let E = "price" | |
112 | 110 | ||
113 | - | let | |
111 | + | let F = "price_index" | |
114 | 112 | ||
115 | - | let | |
113 | + | let G = "is_blocked" | |
116 | 114 | ||
117 | - | func | |
115 | + | func H (I) = ((E + "_") + toString(I)) | |
118 | 116 | ||
119 | 117 | ||
120 | - | func | |
118 | + | func J (K) = ((F + "_") + toString(K)) | |
121 | 119 | ||
122 | 120 | ||
123 | - | let | |
121 | + | let L = "balance_lock_" | |
124 | 122 | ||
125 | - | let | |
123 | + | let M = (L + "waves") | |
126 | 124 | ||
127 | - | let | |
125 | + | let N = (L + "neutrino") | |
128 | 126 | ||
129 | - | func | |
127 | + | func O (P,D) = ((((B + "_") + toBase58String(D)) + "_") + toString(P)) | |
130 | 128 | ||
131 | 129 | ||
132 | - | func | |
130 | + | func Q (R) = (("cancel_lease_tx_reserve_fee" + "_") + R) | |
133 | 131 | ||
134 | 132 | ||
135 | - | func | |
133 | + | func S (T) = ((M + "_") + T) | |
136 | 134 | ||
137 | 135 | ||
138 | - | func | |
136 | + | func U (T) = ((N + "_") + T) | |
139 | 137 | ||
140 | 138 | ||
141 | - | func | |
139 | + | func V (T) = ("balance_unlock_block_" + T) | |
142 | 140 | ||
143 | 141 | ||
144 | - | func | |
142 | + | func W (P) = (("rpd_profit" + "_") + toString(P)) | |
145 | 143 | ||
146 | 144 | ||
147 | - | func | |
145 | + | func X (Y,Z) = fraction(fraction(Y, 100, Z), o, p) | |
148 | 146 | ||
149 | 147 | ||
150 | - | func | |
148 | + | func aa (Y,Z) = fraction(fraction(Y, Z, 100), p, o) | |
151 | 149 | ||
152 | 150 | ||
153 | - | func | |
151 | + | func ab (Y,Z) = aa(Y, Z) | |
154 | 152 | ||
155 | 153 | ||
156 | - | func | |
154 | + | func ac (ad) = split(ad, ",") | |
157 | 155 | ||
158 | 156 | ||
159 | - | let | |
157 | + | let ae = e(t) | |
160 | 158 | ||
161 | - | let | |
159 | + | let af = e(q) | |
162 | 160 | ||
163 | - | let | |
161 | + | let ag = fromBase58String(af) | |
164 | 162 | ||
165 | - | let ai = e(t) | |
163 | + | let ah = e(s) | |
164 | + | ||
165 | + | let ai = e(u) | |
166 | 166 | ||
167 | 167 | let aj = e(v) | |
168 | 168 | ||
169 | - | let ak = | |
169 | + | let ak = g(aj, F) | |
170 | 170 | ||
171 | - | let al = | |
171 | + | let al = j(aj, G) | |
172 | 172 | ||
173 | - | let am = | |
173 | + | let am = fromBase58String(e(A)) | |
174 | 174 | ||
175 | - | let an = | |
175 | + | let an = a(w) | |
176 | 176 | ||
177 | 177 | let ao = a(x) | |
178 | 178 | ||
179 | 179 | let ap = a(y) | |
180 | 180 | ||
181 | 181 | let aq = a(z) | |
182 | 182 | ||
183 | - | let ar = | |
183 | + | let ar = fromBase58String("91QmVf3hZQJeUX11nurBX76Quf94kQgVMDesqALsjQFN") | |
184 | 184 | ||
185 | - | let as = fromBase58String(" | |
185 | + | let as = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
186 | 186 | ||
187 | - | let at = | |
187 | + | let at = this | |
188 | 188 | ||
189 | - | let au = | |
189 | + | let au = g(aj, E) | |
190 | 190 | ||
191 | - | let av = | |
191 | + | let av = a(N) | |
192 | 192 | ||
193 | - | let aw = a( | |
193 | + | let aw = a(M) | |
194 | 194 | ||
195 | - | let ax = | |
195 | + | let ax = (wavesBalance(at) - aw) | |
196 | 196 | ||
197 | - | let ay = ( | |
197 | + | let ay = (((av + extract(assetInfo(ag)).quantity) - assetBalance(at, ag)) - assetBalance(addressFromStringValue(ae), ag)) | |
198 | 198 | ||
199 | - | let az = (( | |
199 | + | let az = (aa(ax, au) - ay) | |
200 | 200 | ||
201 | - | let aA = ( | |
201 | + | let aA = (ay - aa(ax, au)) | |
202 | 202 | ||
203 | - | let aB = (az - ab(ay, av)) | |
204 | - | ||
205 | - | func aC (aD) = { | |
206 | - | let aE = 100000 | |
207 | - | let aF = 1000 | |
208 | - | let aG = ab(aE, av) | |
209 | - | let aH = (aG * 2) | |
210 | - | let aI = fraction(aG, aF, 100) | |
211 | - | let aJ = extract(aD.minSponsoredAssetFee) | |
212 | - | if (if ((aJ >= aH)) | |
213 | - | then (aI >= aJ) | |
203 | + | func aB (aC) = { | |
204 | + | let aD = 100000 | |
205 | + | let aE = 1000 | |
206 | + | let aF = aa(aD, au) | |
207 | + | let aG = (aF * 2) | |
208 | + | let aH = fraction(aF, aE, 100) | |
209 | + | let aI = extract(aC.minSponsoredAssetFee) | |
210 | + | if (if ((aI >= aG)) | |
211 | + | then (aH >= aI) | |
214 | 212 | else false) | |
215 | - | then ( | |
213 | + | then (aC.assetId == ag) | |
216 | 214 | else false | |
217 | 215 | } | |
218 | 216 | ||
219 | 217 | ||
220 | - | func | |
218 | + | func aJ (D) = g(ai, C(D)) | |
221 | 219 | ||
222 | 220 | ||
223 | - | func | |
221 | + | func aK (I) = g(aj, H(I)) | |
224 | 222 | ||
225 | 223 | ||
226 | - | func | |
224 | + | func aL (K) = g(aj, J(K)) | |
227 | 225 | ||
228 | 226 | ||
229 | - | func | |
227 | + | func aM (R) = a(Q(R)) | |
230 | 228 | ||
231 | 229 | ||
232 | - | func | |
230 | + | func aN (T) = a(S(T)) | |
233 | 231 | ||
234 | 232 | ||
235 | - | func | |
233 | + | func aO (T) = a(U(T)) | |
236 | 234 | ||
237 | 235 | ||
238 | - | func | |
236 | + | func aP (T) = a(V(T)) | |
239 | 237 | ||
240 | 238 | ||
241 | - | func | |
239 | + | func aQ (P) = a(W(P)) | |
242 | 240 | ||
243 | 241 | ||
244 | - | @Callable( | |
242 | + | @Callable(aR) | |
245 | 243 | func swapWavesToNeutrino () = { | |
246 | - | let | |
247 | - | let | |
248 | - | if (( | |
249 | - | then throw((("The specified Waves amount is less than the required minimum of " + toString( | |
250 | - | else if (isDefined( | |
244 | + | let aS = extract(aR.payment) | |
245 | + | let aT = toString(aR.caller) | |
246 | + | if ((ap > aS.amount)) | |
247 | + | then throw((("The specified Waves amount is less than the required minimum of " + toString(ap)) + " wavelets.")) | |
248 | + | else if (isDefined(aS.assetId)) | |
251 | 249 | then throw("Only Waves token is allowed for swapping.") | |
252 | - | else if ( | |
250 | + | else if (al) | |
253 | 251 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
254 | - | else if (( | |
255 | - | then throw((("await " + toString(( | |
256 | - | else if (if (( | |
252 | + | else if ((aP(aT) > height)) | |
253 | + | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
254 | + | else if (if ((aO(aT) != 0)) | |
257 | 255 | then true | |
258 | - | else ( | |
256 | + | else (aN(aT) != 0)) | |
259 | 257 | then throw("please withdraw locked funds first") | |
260 | - | else WriteSet([DataEntry( | |
258 | + | else WriteSet([DataEntry(S(aT), aS.amount), DataEntry(V(aT), (height + an)), DataEntry(M, (aw + aS.amount))]) | |
261 | 259 | } | |
262 | 260 | ||
263 | 261 | ||
264 | 262 | ||
265 | - | @Callable( | |
263 | + | @Callable(aR) | |
266 | 264 | func swapNeutrinoToWaves () = { | |
267 | - | let | |
268 | - | let | |
269 | - | if (( | |
270 | - | then throw((("The specified Neutrino amount is less than the required minimum of " + toString( | |
271 | - | else if ( | |
265 | + | let aS = extract(aR.payment) | |
266 | + | let aT = toString(aR.caller) | |
267 | + | if ((aq > aS.amount)) | |
268 | + | then throw((("The specified Neutrino amount is less than the required minimum of " + toString(aq)) + " Neutrino cents.")) | |
269 | + | else if (al) | |
272 | 270 | then throw("The contract is blocked by EMERGENCY SHUTDOWN. Please wait for reactivation by emergency oracles.") | |
273 | - | else if (( | |
271 | + | else if ((aS.assetId != ag)) | |
274 | 272 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
275 | - | else if (( | |
276 | - | then throw((("await " + toString(( | |
277 | - | else if (if (( | |
273 | + | else if ((aP(aT) > height)) | |
274 | + | then throw((("await " + toString((aP(aT) - height))) + " blocks")) | |
275 | + | else if (if ((aO(aT) != 0)) | |
278 | 276 | then true | |
279 | - | else ( | |
277 | + | else (aN(aT) != 0)) | |
280 | 278 | then throw("please withdraw locked funds first") | |
281 | - | else WriteSet([DataEntry( | |
279 | + | else WriteSet([DataEntry(U(aT), aS.amount), DataEntry(V(aT), (height + ao)), DataEntry(N, (av + aS.amount))]) | |
282 | 280 | } | |
283 | 281 | ||
284 | 282 | ||
285 | 283 | ||
286 | - | @Callable( | |
287 | - | func withdraw ( | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | if ( | |
284 | + | @Callable(aR) | |
285 | + | func withdraw (aT,K) = { | |
286 | + | let aU = aP(aT) | |
287 | + | let aV = aN(aT) | |
288 | + | let aW = aO(aT) | |
289 | + | let aX = aL(K) | |
290 | + | let aY = aL((K - 1)) | |
291 | + | let aZ = aK(aX) | |
292 | + | let ba = 0 | |
293 | + | let bb = aa(aV, (aZ - ba)) | |
294 | + | let bc = X(aW, (aZ + ba)) | |
295 | + | if (al) | |
298 | 296 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
299 | - | else if (( | |
300 | - | then throw((("please wait for: " + toString( | |
301 | - | else if (if (if (( | |
297 | + | else if ((aU > height)) | |
298 | + | then throw((("please wait for: " + toString(aU)) + " block height to withdraw WAVES funds")) | |
299 | + | else if (if (if ((K > ak)) | |
302 | 300 | then true | |
303 | - | else ( | |
301 | + | else (aU > aX)) | |
304 | 302 | then true | |
305 | - | else if (( | |
306 | - | then ( | |
303 | + | else if ((aY != 0)) | |
304 | + | then (aY >= aU) | |
307 | 305 | else false) | |
308 | - | then throw(((((((((("invalid price history index: index=" + toString( | |
309 | - | else if (if ((0 >= | |
310 | - | then (0 >= | |
306 | + | then throw(((((((((("invalid price history index: index=" + toString(K)) + " priceIndex=") + toString(ak)) + " indexHeight=") + toString(aX)) + " unlockHeight=") + toString(aU)) + " prevIndexHeight=") + toString(aY))) | |
307 | + | else if (if ((0 >= bb)) | |
308 | + | then (0 >= bc) | |
311 | 309 | else false) | |
312 | 310 | then throw("balance equals zero") | |
313 | - | else ScriptResult(WriteSet([DataEntry( | |
311 | + | else ScriptResult(WriteSet([DataEntry(S(aT), 0), DataEntry(U(aT), 0), DataEntry(M, (aw - aV)), DataEntry(N, (av - aW))]), TransferSet([ScriptTransfer(addressFromStringValue(aT), bc, unit), ScriptTransfer(addressFromStringValue(aT), bb, ag)])) | |
314 | 312 | } | |
315 | 313 | ||
316 | 314 | ||
317 | 315 | ||
318 | - | @Callable( | |
316 | + | @Callable(aR) | |
319 | 317 | func transferToAuction () = { | |
320 | - | let | |
321 | - | let | |
322 | - | if ( | |
318 | + | let bd = (ay - assetBalance(addressFromStringValue(ah), ar)) | |
319 | + | let be = (az - assetBalance(addressFromStringValue(ae), ag)) | |
320 | + | if (al) | |
323 | 321 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
324 | - | else if (( | |
325 | - | then TransferSet([ScriptTransfer(addressFromStringValue( | |
326 | - | else if (( | |
327 | - | then TransferSet([ScriptTransfer(addressFromStringValue( | |
328 | - | else throw(((((((("bond were generated or do not need it. Deficit:" + toString( | |
322 | + | else if ((bd > (1 * p))) | |
323 | + | then TransferSet([ScriptTransfer(addressFromStringValue(ah), bd, ar)]) | |
324 | + | else if ((be >= (1 * p))) | |
325 | + | then TransferSet([ScriptTransfer(addressFromStringValue(ae), be, ag)]) | |
326 | + | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(bd)) + "|") + toString(0)) + ". Surplus:") + toString(be)) + "|") + toString(az))) | |
329 | 327 | } | |
330 | 328 | ||
331 | 329 | ||
332 | 330 | ||
333 | - | @Callable( | |
334 | - | func transfer ( | |
335 | - | let | |
336 | - | TransferSet([ScriptTransfer(addressFromStringValue( | |
331 | + | @Callable(aR) | |
332 | + | func transfer (aT) = { | |
333 | + | let aS = extract(aR.payment) | |
334 | + | TransferSet([ScriptTransfer(addressFromStringValue(aT), aS.amount, aS.assetId)]) | |
337 | 335 | } | |
338 | 336 | ||
339 | 337 | ||
340 | 338 | ||
341 | - | @Callable( | |
339 | + | @Callable(aR) | |
342 | 340 | func migrationUSDNB2NSBTSwap () = { | |
343 | - | let | |
344 | - | let | |
345 | - | if (( | |
341 | + | let aS = extract(aR.payment) | |
342 | + | let aT = aR.caller | |
343 | + | if ((as != aS.assetId)) | |
346 | 344 | then throw("error: attempt to swap not USDNB tokens") | |
347 | - | else TransferSet([ScriptTransfer( | |
345 | + | else TransferSet([ScriptTransfer(aT, (aS.amount * p), ar)]) | |
348 | 346 | } | |
349 | 347 | ||
350 | 348 | ||
351 | 349 | ||
352 | - | @Callable( | |
350 | + | @Callable(aR) | |
353 | 351 | func updateReservesAndNeutrinoSupply () = { | |
354 | - | func | |
352 | + | func bf (b) = { | |
355 | 353 | let c = getInteger(this, b) | |
356 | 354 | if ($isInstanceOf(c, "Int")) | |
357 | 355 | then { | |
358 | 356 | let d = c | |
359 | 357 | d | |
360 | 358 | } | |
361 | 359 | else 0 | |
362 | 360 | } | |
363 | 361 | ||
364 | - | let | |
365 | - | let | |
366 | - | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", | |
362 | + | let bg = bf("updateReservesAndNeutrinoSupplyIdx") | |
363 | + | let bh = (bg + 1) | |
364 | + | WriteSet([DataEntry("updateReservesAndNeutrinoSupplyIdx", bh), DataEntry("reserve", ax), DataEntry("neutrinoSupply", ay), DataEntry("deficit", aA), DataEntry("surplus", az), DataEntry("bondSupply", (extract(assetInfo(ar)).quantity - assetBalance(at, ar)))]) | |
367 | 365 | } | |
368 | 366 | ||
369 | 367 | ||
370 | - | @Verifier( | |
371 | - | func | |
372 | - | let | |
373 | - | let | |
368 | + | @Verifier(aC) | |
369 | + | func bi () = { | |
370 | + | let bj = toBase58String(aC.id) | |
371 | + | let P = ((((if (sigVerify(aC.bodyBytes, aC.proofs[0], fromBase58String(k[0]))) | |
374 | 372 | then 1 | |
375 | - | else 0) + (if (sigVerify( | |
373 | + | else 0) + (if (sigVerify(aC.bodyBytes, aC.proofs[1], fromBase58String(k[1]))) | |
376 | 374 | then 1 | |
377 | - | else 0)) + (if (sigVerify( | |
375 | + | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[2], fromBase58String(k[2]))) | |
378 | 376 | then 1 | |
379 | - | else 0)) + (if (sigVerify( | |
377 | + | else 0)) + (if (sigVerify(aC.bodyBytes, aC.proofs[3], fromBase58String(k[3]))) | |
380 | 378 | then 2 | |
381 | 379 | else 0)) | |
382 | - | let c = | |
380 | + | let c = aC | |
383 | 381 | if (if ($isInstanceOf(c, "LeaseCancelTransaction")) | |
384 | 382 | then true | |
385 | 383 | else $isInstanceOf(c, "LeaseTransaction")) | |
386 | 384 | then { | |
387 | - | let | |
388 | - | sigVerify( | |
385 | + | let bk = c | |
386 | + | sigVerify(bk.bodyBytes, bk.proofs[0], am) | |
389 | 387 | } | |
390 | 388 | else if ($isInstanceOf(c, "SponsorFeeTransaction")) | |
391 | 389 | then { | |
392 | - | let | |
393 | - | if ( | |
394 | - | then ( | |
390 | + | let bl = c | |
391 | + | if (aB(bl)) | |
392 | + | then (P >= 3) | |
395 | 393 | else false | |
396 | 394 | } | |
397 | - | else ( | |
395 | + | else (P >= 3) | |
398 | 396 | } | |
399 | 397 |
github/deemru/w8io/169f3d6 131.22 ms ◑