tx · Bm7S2A5WavUYXRLB1XCZmNKCr1x9HZGMeWeoxXH4QtQL

3NAfzeA3URU6oCV6HvtAiNwqGXsTs87ZpHh:  -0.04000000 Waves

2022.07.29 18:31 [2161301] smart account 3NAfzeA3URU6oCV6HvtAiNwqGXsTs87ZpHh > SELF 0.00000000 Waves

{ "type": 13, "id": "Bm7S2A5WavUYXRLB1XCZmNKCr1x9HZGMeWeoxXH4QtQL", "fee": 4000000, "feeAssetId": null, "timestamp": 1659108732778, "version": 1, "sender": "3NAfzeA3URU6oCV6HvtAiNwqGXsTs87ZpHh", "senderPublicKey": "HiTi1JT7GQRqLNxg4yZhD1mV42y1Mv2AYvRx92JQRbwX", "proofs": [ "sX1LP5PkQtA8j68tYFyRuj2JRczTX8pgDP5XG4eVnoijyxDRdrcpj4XQiXFErHzebJTqkyjQaD5YBiUgU4QWcGc" ], "script": "base64:BgIUCAISBQoDCAEBEgMKAQgSBAoCCAFLAAZFVUxFUjgA1onPgQEABU1VTFQ2AMCEPQAGTVVMVFg2CQC2AgEAwIQ9AAVNVUxUOACAwtcvAAZNVUxUWDgJALYCAQCAwtcvAAZNVUxUMTIAgKCUpY0dAAZNVUxUMTgJALYCAQCAgJC7utat8A0AA1NFUAICX18AB1dBVkVTSUQJANkEAQIFV0FWRVMBEmtleU5ldXRyaW5vQXNzZXRJZAACEW5ldXRyaW5vX2Fzc2V0X2lkAQ5rZXlOc2J0QXNzZXRJZAACDWJvbmRfYXNzZXRfaWQBDmtleVN1cmZBc3NldElkAAINc3VyZl9hc3NldF9pZAEQa2V5QmFsYW5jZUxvY2tlZAACDWJhbGFuY2VfbG9ja18BFWtleVdhdmVzTG9ja2VkQmFsYW5jZQAJAKwCAgkBEGtleUJhbGFuY2VMb2NrZWQAAgV3YXZlcwEYa2V5TmV1dHJpbm9Mb2NrZWRCYWxhbmNlAAkArAICCQEQa2V5QmFsYW5jZUxvY2tlZAACCG5ldXRyaW5vARVrZXlNaW5XYXZlc1N3YXBBbW91bnQAAh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wkBC3RvVGltZXN0YW1wAQUOc3RhcnRIZWlnaHROZXcJAJQKAgUDbmlsCQC5CQIJAMwIAgIIJWQlZCVkJWQJAMwIAgkApAMBBQtzdGFydEhlaWdodAkAzAgCCQCkAwEFDnN0YXJ0VGltZXN0YW1wCQDMCAIJAKQDAQUOc3RhcnRIZWlnaHROZXcJAMwIAgkApAMBBRFzdGFydFRpbWVzdGFtcE5ldwUDbmlsBQNTRVAAvYU9iA==", "chainId": 84, "height": 2161301, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3Ti7JrqhRzh7LKJ3Xk2SvYSrsWw43zN9cqviD1HXsqZL Next: DQkNK737nbxnHp6QEwTjTkHPTik94WtEaNWhCH8F5iTf Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 271828182
55
66 let b = 1000000
77
88 let c = toBigInt(1000000)
99
1010 let d = 100000000
1111
1212 let e = toBigInt(100000000)
1313
1414 let f = 1000000000000
1515
1616 let g = toBigInt(1000000000000000000)
1717
1818 let h = "__"
1919
2020 let i = fromBase58String("WAVES")
2121
2222 func j () = "neutrino_asset_id"
2323
2424
2525 func k () = "bond_asset_id"
2626
2727
2828 func l () = "surf_asset_id"
2929
3030
3131 func m () = "balance_lock_"
3232
3333
3434 func n () = (m() + "waves")
3535
3636
3737 func o () = (m() + "neutrino")
3838
3939
4040 func p () = "min_waves_swap_amount"
4141
4242
4343 func q () = "min_neutrino_swap_amount"
4444
4545
4646 func r () = "wavesOut_swap_feePart"
4747
4848
4949 func s () = "neutrinoOut_swap_feePart"
5050
5151
5252 func t () = "%s%s__config__swapAParam"
5353
5454
5555 func u () = "%s%s__config__swapBParam"
5656
5757
5858 func v () = "%s__nsbtLockContract"
5959
6060
6161 func w () = "%s__mathContract"
6262
6363
6464 func x () = "balance_waves_lock_interval"
6565
6666
6767 func y () = "balance_neutrino_lock_interval"
6868
6969
7070 func z () = "price"
7171
7272
7373 func A (B) = makeString(["%s%s%s", "paramByUser", B, "start"], h)
7474
7575
7676 func C () = "%s__halfLife"
7777
7878
7979 func D () = "%s__minLockAmount"
8080
8181
8282 func E () = "min_waves_nsbt_buy"
8383
8484
8585 func F () = "min_nsbt_sell"
8686
8787
8888 func G (H,I) = valueOrErrorMessage(getString(H, I), makeString(["mandatory ", toString(H), ".", I, " is not defined"], ""))
8989
9090
9191 func J (H,I) = valueOrErrorMessage(getInteger(H, I), makeString(["mandatory ", toString(H), ".", I, " is not defined"], ""))
9292
9393
9494 func K (H,I) = valueOrErrorMessage(getBoolean(H, I), makeString(["mandatory ", toString(H), ".", I, " is not defined"], ""))
9595
9696
9797 func L (M,N) = fraction(M, d, N)
9898
9999
100100 func O (M,N) = fraction(M, N, d)
101101
102102
103103 func P (Q) = {
104104 let R = Q
105105 if ($isInstanceOf(R, "List[Any]"))
106106 then {
107107 let S = R
108108 S
109109 }
110110 else throw("fail to cast into List[Any]")
111111 }
112112
113113
114114 func T (Q) = {
115115 let R = Q
116116 if ($isInstanceOf(R, "Int"))
117117 then {
118118 let U = R
119119 U
120120 }
121121 else throw("fail to cast into Int")
122122 }
123123
124124
125125 func V (Q) = {
126126 let R = Q
127127 if ($isInstanceOf(R, "String"))
128128 then {
129129 let W = R
130130 W
131131 }
132132 else throw("fail to cast into String")
133133 }
134134
135135
136136 func X (Q) = {
137137 let R = Q
138138 if ($isInstanceOf(R, "(Int, Int)"))
139139 then {
140140 let Y = R
141141 Y
142142 }
143143 else throw("fail to cast into Tuple2 ints")
144144 }
145145
146146
147147 func Z (Q) = {
148148 let R = Q
149149 if ($isInstanceOf(R, "(Int, Int, Int, Int, Int)"))
150150 then {
151151 let aa = R
152152 aa
153153 }
154154 else throw("fail to cast into Int")
155155 }
156156
157157
158158 func ab (ac) = if ((0 > ac))
159159 then -1
160160 else {
161161 let R = blockInfoByHeight(ac)
162162 if ($isInstanceOf(R, "BlockInfo"))
163163 then {
164164 let ad = R
165165 ad.timestamp
166166 }
167167 else -1
168168 }
169169
170170
171171 func ae (af,ag) = fraction(toBigInt(af), g, toBigInt(ag))
172172
173173
174174 func ah (Q,ai) = toInt(fraction(Q, toBigInt(ai), g))
175175
176176
177177 let aj = 1
178178
179179 let ak = 2
180180
181181 let al = 3
182182
183183 let am = 4
184184
185185 let an = 5
186186
187187 let ao = 6
188188
189189 let ap = 7
190190
191191 let aq = 8
192192
193193 let ar = 9
194194
195195 let as = 10
196196
197197 let at = 11
198198
199199 func au () = "%s%s__config__controlAddress"
200200
201201
202202 func av () = "%s__controlConfig"
203203
204204
205205 func aw (ax) = split(G(ax, av()), h)
206206
207207
208208 func ay (az,aA) = valueOrErrorMessage(addressFromString(az[aA]), ("Control cfg doesn't contain address at index " + toString(aA)))
209209
210210
211211 let aB = addressFromStringValue(valueOrElse(getString(this, au()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
212212
213213 let az = aw(aB)
214214
215215 let aC = ay(az, am)
216216
217217 let aD = ay(az, aj)
218218
219219 let aE = ay(az, ak)
220220
221221 let aF = ay(az, an)
222222
223223 let aG = ay(az, al)
224224
225225 let aH = ay(az, aq)
226226
227227 let aI = ay(az, as)
228228
229229 let aJ = ay(az, at)
230230
231231 let aK = G(aD, j())
232232
233233 let aL = fromBase58String(aK)
234234
235235 let aM = getStringValue(aD, k())
236236
237237 let aN = fromBase58String(aM)
238238
239239 let aO = getStringValue(aE, l())
240240
241241 let aP = fromBase58String(aO)
242242
243243 @Callable(aQ)
244244 func gnsbtInfoREADONLY (aR,aS,aT) = {
245245 let aU = getIntegerValue(aB, z())
246246 let aV = aS
247247 let aW = T(invoke(aJ, "gnsbtFromSurfSYSREADONLY", [aT], nil))
248248 let aX = (aV + aW)
249249 let aY = Z(invoke(aD, "swapParamsByUserSYSREADONLY", [aR, 0], nil))
250250 let aZ = aY._1
251251 let ba = aY._2
252252 let bb = aY._3
253253 let bc = aY._4
254254 let bd = aY._5
255255 let be = Z(invoke(aD, "swapParamsByUserSYSREADONLY", [aR, aX], nil))
256256 let bf = be._1
257257 let bg = be._2
258258 let bh = be._3
259259 let bi = be._4
260260 let bj = be._5
261261 let bk = L(aZ, aU)
262262 let bl = L(bf, aU)
263263 let bm = P(invoke(aJ, "gnsbtInfoSYSREADONLY", [aR], nil))
264264 let bn = T(bm[0])
265265 let bo = T(bm[1])
266266 let bp = P(bm[2])
267267 let bq = P(bm[3])
268268 let br = T(bp[0])
269269 let bs = T(bq[0])
270270 let bt = (br + aS)
271271 let bu = (bs + aT)
272272 let bv = T(bp[2])
273273 let bw = T(bq[2])
274274 let bx = (bv + aV)
275275 let by = (bw + aW)
276276 let bz = T(bp[3])
277277 let bA = T(bq[3])
278278 let bB = (bz + aV)
279279 let bC = (bA + aW)
280280 let bD = fraction(bv, b, (bz + bA))
281281 let bE = fraction(bx, b, (bB + bA))
282282 let bF = fraction((bv + bw), b, (bz + bA))
283283 let bG = fraction((bx + by), b, (bB + bA))
284284 let bH = (height + (1440 * 7))
285285 let bI = (height + (1440 * 14))
286286 $Tuple2(nil, makeString(["", toString(br), toString(bs), toString(bt), toString(bu), toString(bv), toString(bw), toString(bx), toString(by), toString(bz), toString(bA), toString(bB), toString(bC), toString(aZ), toString(bk), toString(bf), toString(bl), toString(bD), toString(bE), toString(bF), toString(bG), toString(bH), toString(bI)], h))
287287 }
288288
289289
290290
291291 @Callable(aQ)
292292 func rewardInfoREADONLY (aR) = {
293293 let bJ = P(invoke(aJ, "gnsbtRewardsSYSREADONLY", [aR], nil))
294294 $Tuple2(nil, makeString(["%s%s", V(bJ[0]), V(bJ[1])], h))
295295 }
296296
297297
298298
299299 @Callable(aQ)
300300 func mergeNsbtREADONLY (bK,bL) = {
301301 let bp = P(invoke(aH, "nsbtStakingSYSREADONLY", [bK], nil))
302302 let bM = T(bp[0])
303303 let bN = if ((0 >= bM))
304304 then -1
305305 else T(bp[2])
306306 let bO = ab(bN)
307307 let bP = if ((0 >= bL))
308308 then bN
309309 else {
310310 let bQ = J(aH, C())
311311 T(invoke(aC, "mergeStakesREADONLY", [bM, bN, bL, height, bQ], nil))
312312 }
313313 let bR = ab(bP)
314314 $Tuple2(nil, makeString(["%d%d%d%d", toString(bN), toString(bO), toString(bP), toString(bR)], h))
315315 }
316316
317317

github/deemru/w8io/026f985 
33.55 ms