tx · 6UinNALyQ1Rw59C8HKiQfQjkp8eSEtj5aDE4p6PN91Rs

3MqySDQxn5jzBUc144oks9fQzAXCBvJ2B8Y:  -0.01000000 Waves

2021.08.24 12:56 [1672260] smart account 3MqySDQxn5jzBUc144oks9fQzAXCBvJ2B8Y > SELF 0.00000000 Waves

{ "type": 13, "id": "6UinNALyQ1Rw59C8HKiQfQjkp8eSEtj5aDE4p6PN91Rs", "fee": 1000000, "feeAssetId": null, "timestamp": 1629798974135, "version": 1, "sender": "3MqySDQxn5jzBUc144oks9fQzAXCBvJ2B8Y", "senderPublicKey": "3YcAqsm6P2UYnzeZng9DPfjNQbEcHithbYzPy3ZMzLMk", "proofs": [ "2aEKH7jp32B5tWCHGHbJz3PFUCsgbyMjSXtLgaVzAY4Bz2m85FeH1wLCcJ7Fx1bu4sFkEeNfT5XgSrpwqNQdb5QG" ], "script": "base64:AAIFAAAAAAAAABQIAhIJCgcBAQEBAQgBEgASAwoBCAAAACoBAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQiAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAAAAAADU0VQAgAAAAJfXwAAAAAIQlVGU0NBTEUJAAE2AAAAAQAN4Lazp2QAAAEAAAAdY29udmVydFByaWNlQXNzZXRJbnRvSWRvQXNzZXQAAAAFAAAAEHByaWNlQXNzZXRBbW91bnQAAAAOcHJpY2VBc3NldE1VTFQAAAAFcHJpY2UAAAAJcHJpY2VNVUxUAAAADGlkb0Fzc2V0TVVMVAQAAAAKYlByaWNlTVVMVAkAATYAAAABBQAAAA5wcmljZUFzc2V0TVVMVAQAAAAOYlByaWNlQXNzZXRCVUYJAAE8AAAAAwkAATYAAAABBQAAABBwcmljZUFzc2V0QW1vdW50BQAAAAhCVUZTQ0FMRQUAAAAK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ZAkAAAIAAAABAgAAADlJRE8gYXNzZXQgaGFzIGJlZW4gLSBzb2xkIGNvbnNpZGVyIHRvIHVzZSBzbWFsbGVyIHBheW1lbnQEAAAACnRvdGFsc0RpZmYJAARMAAAAAgUAAAAJcG10QW1vdW50CQAETAAAAAIFAAAACXBtdEFtb3VudAkABEwAAAACAAAAAAAAAAAACQAETAAAAAIAAAAAAAAAAAAFAAAAA25pbAkABEwAAAACCQEAAAALVG90YWxzRW50cnkAAAAECQEAAAALa2V5SW52ZXN0b3IAAAABBQAAAAt1c2VyQWRkcmVzcwUAAAARb3JpZ0ludmVzdG9yQXJyYXkFAAAACnRvdGFsc0RpZmYFAAAACmNsYWltU3RhcnQJAARMAAAAAgkBAAAAC1RvdGFsc0VudHJ5AAAABAkBAAAACWtleVRvdGFscwAAAAAFAAAAD29yaWdUb3RhbHNBcnJheQUAAAAKdG90YWxzRGlmZgUAAAAKY2xhaW1TdGFydAkABEwAAAACCQEAAAAbSW52ZXN0T3BlcmF0aW9uSGlzdG9yeUVudHJ5AAAABAUAAAALdXNlckFkZHJlc3MFAAAACXBtdEFtb3VudAAAAAAAAAAAAAgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAUAAAADbmlsAAAAAWkBAAAABWNsYWltAAAAAQAAABBjbGFpbWVkQXNzZXRJZDU4BAAAAAt1c2VyQWRkcmVzcwgFAAAAAWkAAAAGY2FsbGVyCQEAAAAMcHJpdmF0ZUNsYWltAAAAAwUAAAAQY2xhaW1lZEFzc2V0SWQ1OAUAAAALdXNlckFkZHJlc3MIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQAAAAARRPf9g==", "chainId": 84, "height": 1672260, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 2mbnJCJCZRVyuBcQkXcEPnUrzaWAyTDPMsuYH1yH4ngX Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func a (b) = valueOrErrorMessage(getString(b), (("mandatory this." + b) + " is not defined"))
5+
6+
7+let c = "__"
8+
9+let d = toBigInt(1000000000000000000)
10+
11+func e (f,g,h,i,j) = {
12+ let k = toBigInt(g)
13+ let l = fraction(toBigInt(f), d, k)
14+ let m = fraction(l, k, toBigInt(h))
15+ toInt(fraction(m, toBigInt(j), d))
16+ }
17+
18+
19+let n = 1
20+
21+let o = 2
22+
23+let p = 3
24+
25+let q = 4
26+
27+let r = 5
28+
29+let s = 6
30+
31+let t = 7
32+
33+let u = 8
34+
35+let v = 9
36+
37+let w = 10
38+
39+let x = 11
40+
41+func y (z,A,B,C,h,D,E,F,G,H,I) = makeString(["%d%d%d%d%d%d%s%d%s%d%d", z, A, B, C, h, D, E, F, G, H, I], c)
42+
43+
44+func J (z,A,B,C,h,D,E,F,G,H,I) = y(toString(z), toString(A), toString(B), toString(C), toString(h), toString(D), E, toString(F), G, toString(H), toString(I))
45+
46+
47+let K = 1
48+
49+let L = 2
50+
51+let M = 3
52+
53+let N = 4
54+
55+let O = 5
56+
57+func P (Q,R,S,T,U) = makeString(["%d%d%d%d%d", Q, R, S, T, U], c)
58+
59+
60+func V (Q,R,S,T,U) = P(toString(Q), toString(R), toString(S), toString(T), toString(U))
61+
62+
63+func W (f,X) = makeString(["%d%d%d%d", toString(height), toString(lastBlock.timestamp), toString(f), toString(X)], c)
64+
65+
66+func Y () = "%s__config"
67+
68+
69+func Z (aa) = ("%s__" + aa)
70+
71+
72+func ab () = "%s__totals"
73+
74+
75+func ac (ad,aa,ae) = makeString(["%s%s%s%s__history", ad, aa, ae], c)
76+
77+
78+func af () = split(a(Y()), c)
79+
80+
81+func ag (ah) = split(valueOrElse(getString(ah), P("0", "0", "0", "0", "0")), c)
82+
83+
84+func ai () = ag(ab())
85+
86+
87+func aj (aa) = ag(Z(aa))
88+
89+
90+func ak (aa) = split(a(Z(aa)), c)
91+
92+
93+let al = 0
94+
95+let am = 1
96+
97+let an = 2
98+
99+let ao = 3
100+
101+func ap (b,aq,ar,as) = {
102+ let Q = parseIntValue(aq[K])
103+ let R = parseIntValue(aq[L])
104+ let S = parseIntValue(aq[M])
105+ let T = parseIntValue(aq[N])
106+ let U = parseIntValue(aq[O])
107+ let at = (Q + ar[al])
108+ let au = (R + ar[am])
109+ let av = (S + ar[an])
110+ let aw = (T + ar[ao])
111+ if ((0 > au))
112+ then throw("invalid math")
113+ else StringEntry(b, V(at, au, av, aw, as))
114+ }
115+
116+
117+func ax (aa,f,X,ay) = StringEntry(ac("invest", aa, toBase58String(ay)), W(f, X))
118+
119+
120+func az (aa,f,X,ay) = StringEntry(ac("claim", aa, toBase58String(ay)), W(f, X))
121+
122+
123+func aA (aB,aa,ay) = {
124+ let aC = af()
125+ let B = parseIntValue(aC[p])
126+ let C = parseIntValue(aC[q])
127+ let aD = (B + C)
128+ let h = parseIntValue(aC[r])
129+ let D = parseIntValue(aC[s])
130+ let E = aC[t]
131+ let aE = fromBase58String(E)
132+ let F = parseIntValue(aC[u])
133+ let G = aC[v]
134+ let aF = fromBase58String(G)
135+ let H = parseIntValue(aC[w])
136+ let aG = toString(aa)
137+ let aH = ak(aG)
138+ let aI = parseIntValue(aH[K])
139+ let aJ = parseIntValue(aH[O])
140+ let aK = if ((height > aD))
141+ then aD
142+ else height
143+ let aL = (aJ - aK)
144+ let aM = fraction(aI, aL, C)
145+ let aN = e(aM, H, h, D, F)
146+ let aO = if ((aB == G))
147+ then $Tuple3([0, -(aM), aM, 0], aM, aF)
148+ else if ((aB == E))
149+ then $Tuple3([0, -(aM), 0, aN], aN, aE)
150+ else throw(("unsupported assetId: " + aB))
151+ let aP = aO._1
152+ let aQ = aO._2
153+ let aR = aO._3
154+ let aS = aP[an]
155+ let aT = aP[ao]
156+[ScriptTransfer(aa, aQ, aR), ap(Z(aG), aH, aP, aK), ap(ab(), ai(), aP, aK), az(aG, aS, aT, ay)]
157+ }
158+
159+
160+@Callable(aU)
161+func constructor (z,A,B,C,h,G,I) = {
162+ let D = ((100 * 1000) * 1000)
163+ let aV = (z + A)
164+ if (isDefined(getString(Y())))
165+ then throw("already initialized")
166+ else if (("3N4Aib5iubWiGMzdTh6wWiVDVbo32oeVUmH" != toString(aU.caller)))
167+ then throw("not authorized")
168+ else if ((size(aU.payments) != 1))
169+ then throw("exactly 1 payment must be attached")
170+ else if ((aV >= B))
171+ then throw("claimStart must be greater than idoEnd")
172+ else {
173+ let aW = value(aU.payments[0])
174+ let aE = value(aW.assetId)
175+ let aX = valueOrErrorMessage(assetInfo(aE), "fail to load ido asset info")
176+ let E = toBase58String(aE)
177+ let F = pow(10, 0, aX.decimals, 0, 0, DOWN)
178+ let aF = fromBase58String(G)
179+ let aY = valueOrErrorMessage(assetInfo(aF), "fail to load price asset info")
180+ let H = pow(10, 0, aY.decimals, 0, 0, DOWN)
181+[StringEntry(Y(), J(z, A, B, C, h, D, E, F, G, H, I))]
182+ }
183+ }
184+
185+
186+
187+@Callable(aU)
188+func invest () = {
189+ let aC = af()
190+ let z = parseIntValue(aC[n])
191+ let A = parseIntValue(aC[o])
192+ let aV = (z + A)
193+ let B = parseIntValue(aC[p])
194+ let C = parseIntValue(aC[q])
195+ let h = parseIntValue(aC[r])
196+ let D = parseIntValue(aC[s])
197+ let E = aC[t]
198+ let aE = fromBase58String(E)
199+ let F = parseIntValue(aC[u])
200+ let G = aC[v]
201+ let aF = fromBase58String(G)
202+ let H = parseIntValue(aC[w])
203+ let aZ = parseIntValue(aC[x])
204+ let aa = toString(aU.caller)
205+ if ((z > height))
206+ then throw("ido has not been started yet")
207+ else if ((height > aV))
208+ then throw("ido has been already ended")
209+ else if ((size(aU.payments) != 1))
210+ then throw("exactly 1 payment is expected")
211+ else {
212+ let aW = value(aU.payments[0])
213+ let ba = value(aW.assetId)
214+ let bb = aW.amount
215+ if ((ba != aF))
216+ then throw((("invalid payment asset id: " + toBase58String(ba)) + " is expected"))
217+ else if ((aZ > bb))
218+ then throw(((("payment amount is less then min allowed: pmtAmount=" + toString(bb)) + " minIvestAmount=") + toString(aZ)))
219+ else {
220+ let bc = aj(aa)
221+ let bd = ai()
222+ let be = (parseIntValue(bd[K]) + bb)
223+ let bf = e(be, H, h, D, F)
224+ if ((bf > assetBalance(this, aE)))
225+ then throw("IDO asset has been - sold consider to use smaller payment")
226+ else {
227+ let aP = [bb, bb, 0, 0]
228+[ap(Z(aa), bc, aP, B), ap(ab(), bd, aP, B), ax(aa, bb, 0, aU.transactionId)]
229+ }
230+ }
231+ }
232+ }
233+
234+
235+
236+@Callable(aU)
237+func claim (aB) = {
238+ let aa = aU.caller
239+ aA(aB, aa, aU.transactionId)
240+ }
241+
242+

github/deemru/w8io/169f3d6 
25.82 ms