tx · EaFmcyS8qoUKzwpzXNW54ZZqWNsn8HFLeaYPm6Jn4Rjw 3NB8NX2M3dG3nX7UbFRUj3jWFbaJ4sKKucT: -0.01000000 Waves 2022.03.02 13:33 [1946237] smart account 3NB8NX2M3dG3nX7UbFRUj3jWFbaJ4sKKucT > SELF 0.00000000 Waves
{ "type": 13, "id": "EaFmcyS8qoUKzwpzXNW54ZZqWNsn8HFLeaYPm6Jn4Rjw", "fee": 1000000, "feeAssetId": null, "timestamp": 1646217210736, "version": 1, "sender": "3NB8NX2M3dG3nX7UbFRUj3jWFbaJ4sKKucT", "senderPublicKey": "9tjM2yhzLTiTm3zV5Ms2Kji2DM4A5MmNZNRvD4mF7A5i", "proofs": [ "5GjYA6ezGsJxeE9cxtZHozHV2BadcjN3xUoDjKPmnCGomRhRvJeo5h5Xqs4H5jrJB7AdmUHhBLZcDsQm2Lef4okZ" ], "script": "base64:AAIFAAAAAAAAADMIAhIFCgMICAESAwoBARIHCgUBAQEBARIICgYBAQEBAQESABIAEgQKAgEBEgYKBAEBAQEAAAA4AAAAAAdXQVZFTEVUAAAAAAAF9eEAAAAAAAVQQVVMSQAAAAAAAA9CQAAAAAAIQklHUEFVTEkJAAE2AAAAAQAAAAAAAA9CQAAAAAAIUFJJQ0VMRVQAAAAAAAAPQkAAAAAABE1VTFQAAAAAAAX14QAAAAAACUJJR01VTFQxNgkAATYAAAABAAAjhvJvwQAAAAAAAAlNVUxUU0NBTEUAAAAAAAAAAAgAAAAAB1NDQUxFMTYAAAAAAAAAABAAAAAAA1NFUAIAAAACX18AAAAABUhBTEY4AAAAAAAC+vCAAAAAAAtFVUxFUk5VTUJFUgkAATYAAAABAABgkqET2NV0AAAAAAZzY2FsZTYAAAAAAAAPQkAAAAAADHNjYWxlNkJpZ0ludAkAATYAAAABAAAAAAAAD0JAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAEAAAASa2V5TmV1dHJpbm9BZGRyZXNzAAAAAAIAAAAdJXM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DIFAAAAB2hlaWdodDEFAAAABE1VTFQFAAAACGhhbGZMaWZlAAAAAAAAAAAIAAAAAAAAAAAIBQAAAAZIQUxGVVAFAAAABE1VTFQEAAAAAXYJAABrAAAAAwkAAGQAAAACBQAAAAdhbW91bnQxBQAAAAdhbW91bnQyBQAAAARNVUxUCQAAZAAAAAIFAAAAB2Ftb3VudDEFAAAAAXcJAAUUAAAAAgUAAAADbmlsCQAAZAAAAAIFAAAAB2hlaWdodDEJAABpAAAAAgkAAGUAAAACBQAAAAVIQUxGOAkAAGgAAAACBQAAAAhoYWxmTGlmZQkAAG0AAAAGBQAAAAF2AAAAAAAAAAAIAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAIBQAAAAZIQUxGVVAFAAAABE1VTFQAAAAAA8s+dg==", "chainId": 84, "height": 1946237, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = 100000000 | |
5 | + | ||
6 | + | let b = 1000000 | |
7 | + | ||
8 | + | let c = toBigInt(1000000) | |
9 | + | ||
10 | + | let d = 1000000 | |
11 | + | ||
12 | + | let e = 100000000 | |
13 | + | ||
14 | + | let f = toBigInt(10000000000000000) | |
15 | + | ||
16 | + | let g = 8 | |
17 | + | ||
18 | + | let h = 16 | |
19 | + | ||
20 | + | let i = "__" | |
21 | + | ||
22 | + | let j = 50000000 | |
23 | + | ||
24 | + | let k = toBigInt(27182818284590452) | |
25 | + | ||
26 | + | let l = 1000000 | |
27 | + | ||
28 | + | let m = toBigInt(1000000) | |
29 | + | ||
30 | + | let n = toBigInt(100000000) | |
31 | + | ||
32 | + | func o () = "%s%s__config__neutrinoAddress" | |
33 | + | ||
34 | + | ||
35 | + | func p () = "%s%s__config__swapAParam" | |
36 | + | ||
37 | + | ||
38 | + | func q () = "neutrino_asset_id" | |
39 | + | ||
40 | + | ||
41 | + | func r () = "liquidation_contract" | |
42 | + | ||
43 | + | ||
44 | + | func s () = "rpd_contract" | |
45 | + | ||
46 | + | ||
47 | + | func t () = "auction_contract" | |
48 | + | ||
49 | + | ||
50 | + | func u () = "control_contract" | |
51 | + | ||
52 | + | ||
53 | + | func v () = "bond_asset_id" | |
54 | + | ||
55 | + | ||
56 | + | func w () = "balance_lock_" | |
57 | + | ||
58 | + | ||
59 | + | func x () = (w() + "waves") | |
60 | + | ||
61 | + | ||
62 | + | func y () = (w() + "neutrino") | |
63 | + | ||
64 | + | ||
65 | + | func z () = "min_waves_swap_amount" | |
66 | + | ||
67 | + | ||
68 | + | func A () = "min_neutrino_swap_amount" | |
69 | + | ||
70 | + | ||
71 | + | func B () = "wavesOut_swap_feePart" | |
72 | + | ||
73 | + | ||
74 | + | func C () = "neutrinoOut_swap_feePart" | |
75 | + | ||
76 | + | ||
77 | + | func D () = "%s__nsbtLockContract" | |
78 | + | ||
79 | + | ||
80 | + | func E () = "%s__quickSwapLimitDuration" | |
81 | + | ||
82 | + | ||
83 | + | func F (G) = makeString(["%s%s", "userLastQuickSwapHeight", G], i) | |
84 | + | ||
85 | + | ||
86 | + | func H (G) = makeString(["%s%s", "quickSwapUserSpentInPeriod", G], i) | |
87 | + | ||
88 | + | ||
89 | + | func I () = "price" | |
90 | + | ||
91 | + | ||
92 | + | func J () = "%s__halfLife" | |
93 | + | ||
94 | + | ||
95 | + | func K (G) = makeString(["%s%s%s", "paramByUser", G, "amount"], i) | |
96 | + | ||
97 | + | ||
98 | + | func L (M,N) = valueOrErrorMessage(getString(M, N), makeString(["mandatory ", toString(M), ".", N, " is not defined"], "")) | |
99 | + | ||
100 | + | ||
101 | + | func O (M,N) = valueOrErrorMessage(getInteger(M, N), makeString(["mandatory ", toString(M), ".", N, " is not defined"], "")) | |
102 | + | ||
103 | + | ||
104 | + | func P (M,N) = valueOrErrorMessage(getBoolean(M, N), makeString(["mandatory ", toString(M), ".", N, " is not defined"], "")) | |
105 | + | ||
106 | + | ||
107 | + | func Q (R,S) = fraction(fraction(R, d, S), a, b) | |
108 | + | ||
109 | + | ||
110 | + | func T (R,S) = fraction(fraction(R, S, d), b, a) | |
111 | + | ||
112 | + | ||
113 | + | func U (V,W) = fraction(toBigInt(V), f, toBigInt(W)) | |
114 | + | ||
115 | + | ||
116 | + | func X (Y,Z) = toInt(fraction(Y, toBigInt(Z), f)) | |
117 | + | ||
118 | + | ||
119 | + | func aa (Y) = { | |
120 | + | let ab = Y | |
121 | + | if ($isInstanceOf(ab, "List[Any]")) | |
122 | + | then { | |
123 | + | let ac = ab | |
124 | + | ac | |
125 | + | } | |
126 | + | else throw("fail to cast into List[Any]") | |
127 | + | } | |
128 | + | ||
129 | + | ||
130 | + | func ad (Y) = { | |
131 | + | let ab = Y | |
132 | + | if ($isInstanceOf(ab, "Int")) | |
133 | + | then { | |
134 | + | let ae = ab | |
135 | + | ae | |
136 | + | } | |
137 | + | else throw("fail to cast into Int") | |
138 | + | } | |
139 | + | ||
140 | + | ||
141 | + | func af (Y) = { | |
142 | + | let ab = Y | |
143 | + | if ($isInstanceOf(ab, "String")) | |
144 | + | then { | |
145 | + | let ag = ab | |
146 | + | ag | |
147 | + | } | |
148 | + | else throw("fail to cast into String") | |
149 | + | } | |
150 | + | ||
151 | + | ||
152 | + | let ah = addressFromStringValue(L(this, o())) | |
153 | + | ||
154 | + | let ai = addressFromStringValue(L(ah, u())) | |
155 | + | ||
156 | + | let aj = addressFromStringValue(L(ah, t())) | |
157 | + | ||
158 | + | let ak = L(ah, r()) | |
159 | + | ||
160 | + | let al = L(ah, s()) | |
161 | + | ||
162 | + | let am = addressFromStringValue(L(this, D())) | |
163 | + | ||
164 | + | let an = L(ah, q()) | |
165 | + | ||
166 | + | let ao = fromBase58String(an) | |
167 | + | ||
168 | + | let ap = getStringValue(ah, v()) | |
169 | + | ||
170 | + | let aq = fromBase58String(ap) | |
171 | + | ||
172 | + | @Callable(ar) | |
173 | + | func constructor (as,at,au) = if ((ar.caller != this)) | |
174 | + | then throw("not authorized") | |
175 | + | else [StringEntry(o(), as), StringEntry(D(), at), IntegerEntry(p(), au)] | |
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | @Callable(ar) | |
180 | + | func calcSwapLimitMATH (av) = { | |
181 | + | let aw = toBigInt(3) | |
182 | + | let ax = U(av, l) | |
183 | + | let ay = pow(ax, 16, k, 16, 8, CEILING) | |
184 | + | let az = fraction(aw, ay, n) | |
185 | + | $Tuple2(nil, toInt(az)) | |
186 | + | } | |
187 | + | ||
188 | + | ||
189 | + | ||
190 | + | @Callable(ar) | |
191 | + | func calculateKMATH (aA,aB,S,aC,aD) = { | |
192 | + | let aE = toBigInt(2718281) | |
193 | + | let aF = 6 | |
194 | + | let aG = valueOrElse(getInteger(aj, "nsbtCurveParam_a"), 3) | |
195 | + | let aH = valueOrElse(getInteger(aj, "nsbtCurveParam_b"), ((3 * b) / 10)) | |
196 | + | let aI = T(aA, S) | |
197 | + | let aJ = fraction(aI, e, aB) | |
198 | + | if ((aJ > 10678564816)) | |
199 | + | then throw("BR > 10678.564816% will overflow exponent") | |
200 | + | else { | |
201 | + | let aK = (aG * (aJ - e)) | |
202 | + | let aL = pow(aE, aF, toBigInt(aK), g, h, DOWN) | |
203 | + | let aM = fraction(toBigInt(aH), aL, c) | |
204 | + | $Tuple2(nil, [aG, aH, aI, aJ, aK, toString(aL), toString(aM)]) | |
205 | + | } | |
206 | + | } | |
207 | + | ||
208 | + | ||
209 | + | ||
210 | + | @Callable(ar) | |
211 | + | func curveFunctionMATH (aA,aB,S,aC,aD,aN) = { | |
212 | + | let aO = aa(invoke(this, "calculateKMATH", [aA, aB, S, aC, aD], nil)) | |
213 | + | if ((aO == aO)) | |
214 | + | then { | |
215 | + | let aM = parseBigIntValue(af(aO[6])) | |
216 | + | let aP = T(aN, S) | |
217 | + | let aQ = toBigInt(aC) | |
218 | + | let aR = toBigInt((aC - aD)) | |
219 | + | let aS = fraction(toBigInt(aP), f, aM) | |
220 | + | let aT = fraction(aS, aR, aQ) | |
221 | + | let aU = toInt(fraction(aR, aQ, (aT + aQ))) | |
222 | + | let aV = ((aC - aD) - aU) | |
223 | + | $Tuple2(nil, [aV, aP, aA, aB, aC, aD, ad(aO[0]), ad(aO[1]), ad(aO[2]), ad(S), ad(aO[3]), ad(aO[4]), aO[5], aO[6], toString(aS), toString(aT), toString(aU)]) | |
224 | + | } | |
225 | + | else throw("Strict value is not equal to itself.") | |
226 | + | } | |
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | @Callable(ar) | |
231 | + | func calcContractNsbtPriceMATH () = { | |
232 | + | let aW = value(assetInfo(aq)).quantity | |
233 | + | let aX = aa(invoke(this, "calcNeutinoMetricsMATH", nil, nil)) | |
234 | + | if ((aX == aX)) | |
235 | + | then { | |
236 | + | let aY = ad(aX[9]) | |
237 | + | let aZ = ad(aX[0]) | |
238 | + | let aO = aa(invoke(this, "calculateKMATH", [ad(aX[4]), ad(aX[6]), aZ, aW, aY], nil)) | |
239 | + | if ((aO == aO)) | |
240 | + | then { | |
241 | + | let aM = parseBigIntValue(af(aO[6])) | |
242 | + | let ba = X(aM, e) | |
243 | + | let bb = fraction(aW, e, (aW - aY)) | |
244 | + | let bc = fraction(bb, bb, e) | |
245 | + | let bd = fraction(ba, bc, e) | |
246 | + | let be = fraction(bd, b, e) | |
247 | + | let bf = fraction(be, b, aZ) | |
248 | + | $Tuple2(nil, [be, bf]) | |
249 | + | } | |
250 | + | else throw("Strict value is not equal to itself.") | |
251 | + | } | |
252 | + | else throw("Strict value is not equal to itself.") | |
253 | + | } | |
254 | + | ||
255 | + | ||
256 | + | ||
257 | + | @Callable(ar) | |
258 | + | func calcNeutinoMetricsMATH () = { | |
259 | + | let aZ = getIntegerValue(ai, I()) | |
260 | + | let bg = valueOrElse(getInteger(ah, y()), 0) | |
261 | + | let bh = valueOrElse(getInteger(ah, x()), 0) | |
262 | + | let bi = (wavesBalance(ah).regular - bh) | |
263 | + | let bj = T(bi, aZ) | |
264 | + | let bk = (((bg + value(assetInfo(ao)).quantity) - assetBalance(ah, ao)) - assetBalance(addressFromStringValue(ak), ao)) | |
265 | + | let bl = (bj - bk) | |
266 | + | let bm = (bk - bj) | |
267 | + | let bn = (fraction(bl, b, bk) * 100) | |
268 | + | let bo = fraction(bj, b, bk) | |
269 | + | let aW = value(assetInfo(aq)).quantity | |
270 | + | let aY = (aW - assetBalance(aj, aq)) | |
271 | + | $Tuple2(nil, [aZ, bg, bh, bi, bj, bk, bl, bn, bo, aY, aW]) | |
272 | + | } | |
273 | + | ||
274 | + | ||
275 | + | ||
276 | + | @Callable(ar) | |
277 | + | func getUnstakeComissionAmountMATH (R,bp) = { | |
278 | + | let bq = O(am, J()) | |
279 | + | $Tuple2(nil, fraction(R, pow(2, 0, fraction(-((height - bp)), e, bq), 8, 8, HALFUP), e)) | |
280 | + | } | |
281 | + | ||
282 | + | ||
283 | + | ||
284 | + | @Callable(ar) | |
285 | + | func mergeStakesMATH (br,bs,bt,bu) = { | |
286 | + | let bq = O(am, J()) | |
287 | + | let bv = fraction(bt, pow(2, 0, fraction((bu - bs), e, bq), 8, 8, HALFUP), e) | |
288 | + | let bw = fraction((br + bt), e, (br + bv)) | |
289 | + | $Tuple2(nil, (bs + ((j - (bq * log(bw, 8, 2, 0, 8, HALFUP))) / e))) | |
290 | + | } | |
291 | + | ||
292 | + |
github/deemru/w8io/169f3d6 25.05 ms ◑