tx · 29bcfrjpeZeVUggTeBN1Qx9m5L6KgiLMdfzbqPUaGL9g

3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi:  -0.01400000 Waves

2022.03.17 13:21 [1967810] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves

{ "type": 13, "id": "29bcfrjpeZeVUggTeBN1Qx9m5L6KgiLMdfzbqPUaGL9g", "fee": 1400000, "feeAssetId": null, "timestamp": 1647512596283, "version": 1, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "3TnQC7D873UgiCnm8wLPMkbDT84RkapoucxXgD7xrRg5xynHyZpqG5nkujP9P1npSLmx9GbKsbPZVjBvBGm96dko" ], "script": "base64:AAIFAAAAAAAAADUIAhIFCgMICAESAwoBARIHCgUBAQEBARIDCgEBEgASAwoBARIAEgUKAwEBARIHCgUBAQEBAQAAAC8AAAAAB1dBVkVMRVQAAAAAAAX14QAAAAAABVBBVUxJAAAAAAAAD0JAAAAAAAhCSUdQQVVMSQkAATYAAAABAAAAAAAAD0JAAAAAAAhQUklDRUxFVAAAAAAAAA9CQAAAAAAETVVMVAAAAAAABfXhAAAAAAAJQklHTVVMVDE2CQABNgAAAAEAACOG8m/BAAAAAAAACU1VTFRTQ0FMRQAAAAAAAAAACAAAAAAHU0NBTEUxNgAAAAAAAAAAEAAAAAADU0VQAgAAAAJfXwAAAAAFSEFMRjgAAAAAAAL68IAAAAAAC0VVTEVSTlVNQkVSCQABNgAAAAEAAGCSoRPY1XQAAAAABnNjYWxlNgAAAAAAAA9CQAAAAAAMc2NhbGU2QmlnSW50CQABNgAAAAEAAAAAAAAPQkAAAAAADHNjYWxlOEJpZ0ludAkAATYAAAABAAAAAAAF9eEAAAAAAA1zY2FsZTEwQmlnSW50CQABNgAAAAEAAAAAAlQL5AABAAAAEmtleU5ldXRyaW5vQWRkc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AADCQAAZQAAAAIFAAAAB2hlaWdodDIFAAAAB2hlaWdodDEFAAAABE1VTFQFAAAACGhhbGZMaWZlAAAAAAAAAAAIAAAAAAAAAAAIBQAAAAZIQUxGVVAFAAAABE1VTFQEAAAAAXYJAABrAAAAAwkAAGQAAAACBQAAAAdhbW91bnQxBQAAAAdhbW91bnQyBQAAAARNVUxUCQAAZAAAAAIFAAAAB2Ftb3VudDEFAAAAAXcJAAUUAAAAAgUAAAADbmlsCQAAZAAAAAIFAAAAB2hlaWdodDEJAABpAAAAAgkAAGUAAAACBQAAAAVIQUxGOAkAAGgAAAACBQAAAAhoYWxmTGlmZQkAAG0AAAAGBQAAAAF2AAAAAAAAAAAIAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAIBQAAAAZIQUxGVVAFAAAABE1VTFQAAAAAH8TtVQ==", "chainId": 84, "height": 1967810, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EeMUW2dwaLTbNFfHdhtpuQJeDjY3VW9mSTgZfk74L5gJ Next: B5PKtkw2C9MdNE1Mz2x7qHVWpi26LDXcfH67Bm5GGjrU Diff:
OldNewDifferences
151151 then X(ak[9])
152152 else value(ai)
153153 let am = X(ak[0])
154- let an = U(invoke(this, "calculateKREADONLY", [X(ak[4]), X(ak[6]), am, aj, al], nil))
154+ let an = U(invoke(this, "calculateKREADONLY", [X(ak[3]), X(ak[5]), am, aj, al], nil))
155155 if ((an == an))
156156 then {
157157 let ao = parseBigIntValue(Z(an[6]))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000
55
66 let b = 1000000
77
88 let c = toBigInt(1000000)
99
1010 let d = 1000000
1111
1212 let e = 100000000
1313
1414 let f = toBigInt(10000000000000000)
1515
1616 let g = 8
1717
1818 let h = 16
1919
2020 let i = "__"
2121
2222 let j = 50000000
2323
2424 let k = toBigInt(27182818284590452)
2525
2626 let l = 1000000
2727
2828 let m = toBigInt(1000000)
2929
3030 let n = toBigInt(100000000)
3131
3232 let o = toBigInt(10000000000)
3333
3434 func p () = "%s%s__config__neutrinoAddress"
3535
3636
3737 func q () = "%s%s__config__swapAParam"
3838
3939
4040 func r () = "neutrino_asset_id"
4141
4242
4343 func s () = "liquidation_contract"
4444
4545
4646 func t () = "auction_contract"
4747
4848
4949 func u () = "control_contract"
5050
5151
5252 func v () = "bond_asset_id"
5353
5454
5555 func w () = "balance_lock_"
5656
5757
5858 func x () = (w() + "waves")
5959
6060
6161 func y () = (w() + "neutrino")
6262
6363
6464 func z () = "swaps_timeframe"
6565
6666
6767 func A (B) = makeString(["%s%s", "userLastQuickSwapHeight", B], i)
6868
6969
7070 func C (B) = makeString(["%s%s", "quickSwapUserSpentInPeriod", B], i)
7171
7272
7373 func D () = "price"
7474
7575
7676 func E (F,G) = valueOrErrorMessage(getString(F, G), makeString(["mandatory ", toString(F), ".", G, " is not defined"], ""))
7777
7878
7979 func H (F,G) = valueOrErrorMessage(getInteger(F, G), makeString(["mandatory ", toString(F), ".", G, " is not defined"], ""))
8080
8181
8282 func I (F,G) = valueOrElse(getInteger(F, G), 0)
8383
8484
8585 func J (F,G) = valueOrErrorMessage(getBoolean(F, G), makeString(["mandatory ", toString(F), ".", G, " is not defined"], ""))
8686
8787
8888 func K (L,M) = fraction(fraction(L, d, M), a, b)
8989
9090
9191 func N (L,M) = fraction(fraction(L, M, d), b, a)
9292
9393
9494 func O (P,Q) = fraction(toBigInt(P), f, toBigInt(Q))
9595
9696
9797 func R (S,T) = toInt(fraction(S, toBigInt(T), f))
9898
9999
100100 func U (S) = {
101101 let V = S
102102 if ($isInstanceOf(V, "List[Any]"))
103103 then {
104104 let W = V
105105 W
106106 }
107107 else throw("fail to cast into List[Any]")
108108 }
109109
110110
111111 func X (S) = {
112112 let V = S
113113 if ($isInstanceOf(V, "Int"))
114114 then {
115115 let Y = V
116116 Y
117117 }
118118 else throw("fail to cast into Int")
119119 }
120120
121121
122122 func Z (S) = {
123123 let V = S
124124 if ($isInstanceOf(V, "String"))
125125 then {
126126 let aa = V
127127 aa
128128 }
129129 else throw("fail to cast into String")
130130 }
131131
132132
133133 let ab = addressFromStringValue(E(this, p()))
134134
135135 let ac = addressFromStringValue(E(ab, u()))
136136
137137 let ad = addressFromStringValue(E(ab, t()))
138138
139139 let ae = addressFromStringValue(E(ab, s()))
140140
141141 let af = fromBase58String(E(ab, r()))
142142
143143 let ag = fromBase58String(getStringValue(ab, v()))
144144
145145 func ah (ai) = {
146146 let aj = value(assetInfo(ag)).quantity
147147 let ak = U(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
148148 if ((ak == ak))
149149 then {
150150 let al = if ((ai == unit))
151151 then X(ak[9])
152152 else value(ai)
153153 let am = X(ak[0])
154- let an = U(invoke(this, "calculateKREADONLY", [X(ak[4]), X(ak[6]), am, aj, al], nil))
154+ let an = U(invoke(this, "calculateKREADONLY", [X(ak[3]), X(ak[5]), am, aj, al], nil))
155155 if ((an == an))
156156 then {
157157 let ao = parseBigIntValue(Z(an[6]))
158158 let ap = R(ao, e)
159159 let aq = fraction(aj, e, (aj - al))
160160 let ar = fraction(aq, aq, e)
161161 let as = fraction(ap, ar, e)
162162 let at = fraction(as, b, e)
163163 let au = fraction(at, b, am)
164164 $Tuple2(nil, [at, au])
165165 }
166166 else throw("Strict value is not equal to itself.")
167167 }
168168 else throw("Strict value is not equal to itself.")
169169 }
170170
171171
172172 @Callable(av)
173173 func constructor (aw,ax,ay) = if ((av.caller != this))
174174 then throw("not authorized")
175175 else [StringEntry(p(), aw), IntegerEntry(q(), ay)]
176176
177177
178178
179179 @Callable(av)
180180 func calcSwapLimitREADONLY (az) = {
181181 let aA = toBigInt(H(this, q()))
182182 let aB = O(az, l)
183183 let aC = pow(aB, 16, k, 16, 8, CEILING)
184184 let aD = fraction(aA, aC, o)
185185 $Tuple2(nil, toInt(aD))
186186 }
187187
188188
189189
190190 @Callable(av)
191191 func calculateKREADONLY (aE,aF,M,aG,aH) = {
192192 let aI = toBigInt(2718281)
193193 let aJ = 6
194194 let aK = valueOrElse(getInteger(ad, "nsbtCurveParam_a"), 3)
195195 let aL = valueOrElse(getInteger(ad, "nsbtCurveParam_b"), ((3 * b) / 10))
196196 let aM = N(aE, M)
197197 let aN = fraction(aM, e, aF)
198198 if ((aN > 10678564816))
199199 then throw("BR > 10678.564816% will overflow exponent")
200200 else {
201201 let aO = (aK * (aN - e))
202202 let aP = pow(aI, aJ, toBigInt(aO), g, h, DOWN)
203203 let ao = fraction(toBigInt(aL), aP, c)
204204 $Tuple2(nil, [aK, aL, aM, aN, aO, toString(aP), toString(ao)])
205205 }
206206 }
207207
208208
209209
210210 @Callable(av)
211211 func curveFunctionREADONLY (aQ) = {
212212 let ak = U(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
213213 if ((ak == ak))
214214 then {
215215 let M = X(ak[0])
216216 let aE = X(ak[3])
217217 let aF = X(ak[5])
218218 let aH = X(ak[9])
219219 let aG = value(assetInfo(ag)).quantity
220220 let an = U(invoke(this, "calculateKREADONLY", [aE, aF, M, aG, aH], nil))
221221 if ((an == an))
222222 then {
223223 let ao = parseBigIntValue(Z(an[6]))
224224 let aR = N(aQ, M)
225225 let aS = toBigInt(aG)
226226 let aT = toBigInt((aG - aH))
227227 let aU = fraction(toBigInt(aR), f, ao)
228228 let aV = fraction(aU, aT, aS)
229229 let aW = toInt(fraction(aT, aS, (aV + aS)))
230230 let aX = ((aG - aH) - aW)
231231 $Tuple2(nil, [aX, aR, aE, aF, aG, aH, X(an[0]), X(an[1]), X(an[2]), M, X(an[3]), X(an[4]), an[5], an[6], toString(aU), toString(aV), aW])
232232 }
233233 else throw("Strict value is not equal to itself.")
234234 }
235235 else throw("Strict value is not equal to itself.")
236236 }
237237
238238
239239
240240 @Callable(av)
241241 func calcContractNsbtPriceREADONLY () = ah(unit)
242242
243243
244244
245245 @Callable(av)
246246 func calcContractNsbtPriceBySupplyREADONLY (al) = ah(al)
247247
248248
249249
250250 @Callable(av)
251251 func calcNeutinoMetricsREADONLY () = {
252252 let am = getIntegerValue(ac, D())
253253 let aY = valueOrElse(getInteger(ab, y()), 0)
254254 let aZ = valueOrElse(getInteger(ab, x()), 0)
255255 let ba = (wavesBalance(ab).regular - aZ)
256256 let bb = N(ba, am)
257257 let bc = (((aY + value(assetInfo(af)).quantity) - assetBalance(ab, af)) - assetBalance(ae, af))
258258 let bd = (bb - bc)
259259 let be = (bc - bb)
260260 let bf = if ((bc == 0))
261261 then 0
262262 else (fraction(bd, b, bc) * 100)
263263 let bg = if ((bc == 0))
264264 then 0
265265 else fraction(bb, b, bc)
266266 let aj = value(assetInfo(ag)).quantity
267267 let al = (aj - assetBalance(ad, ag))
268268 $Tuple2(nil, [am, aY, aZ, ba, bb, bc, bd, bf, bg, al, aj])
269269 }
270270
271271
272272
273273 @Callable(av)
274274 func getUnstakeComissionAmountREADONLY (L,bh,bi) = $Tuple2(nil, fraction(L, pow(2, 0, fraction(-((height - bh)), e, bi), 8, 8, HALFUP), e))
275275
276276
277277
278278 @Callable(av)
279279 func mergeStakesREADONLY (bj,bk,bl,bm,bi) = {
280280 let bn = fraction(bl, pow(2, 0, fraction((bm - bk), e, bi), 8, 8, HALFUP), e)
281281 let bo = fraction((bj + bl), e, (bj + bn))
282282 $Tuple2(nil, (bk + ((j - (bi * log(bo, 8, 2, 0, 8, HALFUP))) / e)))
283283 }
284284
285285

github/deemru/w8io/026f985 
39.74 ms