tx · 5ppiNbZ2xyznhgkef5XLFAhkEMQ3eaaVYvyPLrWg5s4b

3Ms7SA6E2ntk65GZD46LCZyGJjc4XNGuWpw:  -0.01400000 Waves

2021.10.27 16:17 [1764743] smart account 3Ms7SA6E2ntk65GZD46LCZyGJjc4XNGuWpw > SELF 0.00000000 Waves

{ "type": 13, "id": "5ppiNbZ2xyznhgkef5XLFAhkEMQ3eaaVYvyPLrWg5s4b", "fee": 1400000, "feeAssetId": null, "timestamp": 1635340659169, "version": 1, "sender": "3Ms7SA6E2ntk65GZD46LCZyGJjc4XNGuWpw", "senderPublicKey": "Xr66kzm4ArQMXWGfdhubHQuHx1uwhWdjthS9EP1ayUn", "proofs": [ "3RnuSMUtJeEXCgHofpp9KFVhNf6YD9QdcqvztLT6DjDTtgwMzuMAwZYYxNyfLcZJZqCW9fCXTcdh9hiR3RiayMUn" ], "script": "base64:AAIFAAAAAAAAAA4IAhIDCgEIEgASAwoBCAAAAB8AAAAAA1NFUAIAAAACX18AAAAABnNjYWxlOAAAAAAABfXhAAAAAAARcG9vbFN0YXRzUHJpY2VLZXkAAAAAAAAAAAQAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAA1pZHhQb29sU3RhdHVzAAAAAAAAAAACAAAAABBpZHhQb29sTFBBc3NldElkAAAAAAAAAAADAAAAAA1pZHhBbXRBc3NldElkAAAAAAAAAAAEAAAAAA9pZHhQcmljZUFzc2V0SWQAAAAAAAAAAAUAAAAADmlkeEFtdEFzc2V0RGNtAAAAAAAAAAAGAAAAABBpZHhQcmljZUFzc2V0RGNtAAAAAAAAAAAHAAAAAA5pZHhJQW10QXNzZXRJZAAAAAAAAAAACAAAAAAQaWR4SVByaWNlQXNzZXRJZAAAAAAAAAAACQAAAAANaWR4TFBBc3NldERjbQAAAAAAAAAACgAAAAATaWR4TWF0Y2hlclB1YmxpY0tleQAAAAAAAAAACwEAAAAOa2V5UmVnaXN0ZXJQdXQAAAACAAAAC3Bvb2xBZGRyZXNz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YW1CYWxhbmNlBQAAAAVhbUFtdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAAFmtleVBvb2xUb3RhbEFtdEJ5QXNzZXQAAAACBQAAAA5wb29sQWRkcmVzc1N0cgUAAAAEcHJJZAkAAGUAAAACBQAAAAlwckJhbGFuY2UFAAAABXByQW10BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmvrONr", "chainId": 84, "height": 1764743, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: ofZZG2QRyV8e5Vyf1AUAfP2apq3JEsYRR2RihFRqyhS Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "__"
5+
6+let b = 100000000
7+
8+let c = 4
9+
10+let d = 1
11+
12+let e = 2
13+
14+let f = 3
15+
16+let g = 4
17+
18+let h = 5
19+
20+let i = 6
21+
22+let j = 7
23+
24+let k = 8
25+
26+let l = 9
27+
28+let m = 10
29+
30+let n = 11
31+
32+func o (p,q) = ((("%s%s%s__P__" + p) + "__") + q)
33+
34+
35+func r (p,q) = ((("%s%s%s__invest__" + p) + "__") + q)
36+
37+
38+func s (p,t) = ((("%s%s%s__total__" + p) + "__") + t)
39+
40+
41+func u () = "%s__factoryContract"
42+
43+
44+func v (p,t) = (((("%s%s%s__" + p) + "__") + t) + "__slippageCumulative")
45+
46+
47+func w () = "%s__factoryConfig"
48+
49+
50+func x (y) = (("%s%s%s__" + y) + "__mappings__poolContract2PoolAssets")
51+
52+
53+func z (A) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(A))
54+
55+
56+func B (C,D) = (((("%d%d%s__" + C) + "__") + D) + "__config")
57+
58+
59+func E () = "%s__shutdown"
60+
61+
62+func F (G) = ("%s%s__poolWeight__" + G)
63+
64+
65+let H = addressFromStringValue(valueOrErrorMessage(getString(this, u()), "No Factory Acc found."))
66+
67+func I (t) = if (!(isDefined(t)))
68+ then "WAVES"
69+ else t
70+
71+
72+func J (K,L,M,N) = makeString(["%s%d%d%d", K, toString(L), toString(M), toString(N)], a)
73+
74+
75+func O (P,Q,M,N) = makeString(["%d%d%d%d", toString(P), toString(Q), toString(M), toString(N)], a)
76+
77+
78+func R (S) = {
79+ let T = S
80+ if ($isInstanceOf(T, "String"))
81+ then {
82+ let U = T
83+ U
84+ }
85+ else throw("fail to cast into String")
86+ }
87+
88+
89+func V (W,X,Y) = fraction(W, X, Y)
90+
91+
92+@Callable(Z)
93+func constructor (H) = if ((Z.caller != this))
94+ then throw("permissions denied")
95+ else [StringEntry(u(), H)]
96+
97+
98+
99+@Callable(Z)
100+func put () = {
101+ let aa = toString(Z.caller)
102+ let ab = value(Z.payments[0])
103+ let ac = if (!(isDefined(ab.assetId)))
104+ then "WAVES"
105+ else toBase58String(value(ab.assetId))
106+ let ad = ab.amount
107+ let ae = split(valueOrErrorMessage(getString(H, x(aa)), "Invalid caller"), a)
108+ let af = parseIntValue(ae[1])
109+ let ag = parseIntValue(ae[2])
110+ let ah = valueOrErrorMessage(getString(H, z(af)), "Cannot find asset")
111+ let ai = valueOrErrorMessage(getString(H, z(ag)), "Cannot find asset")
112+ let aj = valueOrElse(getInteger(this, s(aa, ac)), 0)
113+ let ak = valueOrElse(getInteger(this, v(aa, ac)), 0)
114+[StringEntry(o(aa, toBase58String(Z.transactionId)), J(ac, ad, height, lastBlock.timestamp)), IntegerEntry(s(aa, ac), (aj + ad)), IntegerEntry(v(aa, ac), (ak + ad))]
115+ }
116+
117+
118+
119+@Callable(Z)
120+func invest (al) = {
121+ let p = valueOrErrorMessage(addressFromString(al), "invalid pool address")
122+ let ae = split(valueOrErrorMessage(getString(H, x(al)), "Invalid pool passed."), a)
123+ let am = valueOrErrorMessage(getString(H, z(parseIntValue(ae[1]))), "No asset mapping found")
124+ let an = valueOrErrorMessage(getString(H, z(parseIntValue(ae[2]))), "No asset mapping found")
125+ let ao = valueOrElse(getInteger(this, s(al, am)), 0)
126+ let ap = valueOrElse(getInteger(this, s(al, an)), 0)
127+ let aq = invoke(p, "evaluatePutByPriceAssetREADONLY", [ap], nil)
128+ let ar = invoke(p, "evaluatePutByAmountAssetREADONLY", [ao], nil)
129+ let as = 7
130+ let at = 8
131+ let au = valueOrErrorMessage(parseIntValue(split(R(aq), a)[as]), "fail to parse estimated amAsset amount")
132+ let av = valueOrErrorMessage(parseIntValue(split(R(ar), a)[at]), "fail to parse estimated prAsset amount")
133+ let aw = if ((ao >= au))
134+ then $Tuple2(au, ap)
135+ else $Tuple2(ao, av)
136+ let ax = aw._1
137+ let ay = aw._2
138+ let az = if ((am == "WAVES"))
139+ then unit
140+ else fromBase58String(am)
141+ let aA = if ((an == "WAVES"))
142+ then unit
143+ else fromBase58String(an)
144+ let aB = invoke(p, "putForFree", [1000], [AttachedPayment(az, ax), AttachedPayment(aA, ay)])
145+ if ((aB == aB))
146+ then [StringEntry(r(al, toBase58String(Z.transactionId)), O(ax, ay, height, lastBlock.timestamp)), IntegerEntry(s(al, am), (ao - ax)), IntegerEntry(s(al, an), (ap - ay))]
147+ else throw("Strict value is not equal to itself.")
148+ }
149+
150+
151+@Verifier(aC)
152+func aD () = sigVerify(aC.bodyBytes, aC.proofs[0], aC.senderPublicKey)
153+

github/deemru/w8io/169f3d6 
20.59 ms