tx · F7zTjoaxiCFqrCRZCKr7eNQcaHeikfEgjKLkVmMJV29y

3MtiaDPTLPsaUVMG65GhAMjwZ7WCi45w7YG:  -0.01000000 Waves

2021.07.21 01:23 [1622537] smart account 3MtiaDPTLPsaUVMG65GhAMjwZ7WCi45w7YG > SELF 0.00000000 Waves

{ "type": 13, "id": "F7zTjoaxiCFqrCRZCKr7eNQcaHeikfEgjKLkVmMJV29y", "fee": 1000000, "feeAssetId": null, "timestamp": 1626819799876, "version": 2, "chainId": 84, "sender": "3MtiaDPTLPsaUVMG65GhAMjwZ7WCi45w7YG", "senderPublicKey": "2FKAK9DUFBapLHeWAXw6b85aw7fmH2a9bBbTX7cUzPn7", "proofs": [ "3ih8wBra7R6htea4SLqU8JyNpUeYpefCbvzo1EMBsyqHPzxZB7nGyCJP3bPTyAXHPVhoGaJGox3SBjd18k2pAHxM" ], "script": "base64:AAIFAAAAAAAAABkIAhIAEgMKAQESABIDCgEBEgASABIDCgEBAAAAQAAAAAAHdmVyc2lvbgIAAAAFMS4wLjAAAAAACmtleVZlcnNpb24CAAAAB3ZlcnNpb24AAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAC2tleUJhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAAC2tleUJhbGFuY2VCAgAAAA9CX2Fzc2V0X2JhbGFuY2UAAAAAD2tleVNoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAE2tleVNoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9uX3NjYWxlX2RlbGltaXRlcgAAAAAIa2V5Q2F1c2UC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AAAABE5TQlQJAAAAAAAAAgUAAAAIYXNzZXRJZEIFAAAABFNXT1AHAwMJAAAAAAAAAggFAAAAA2ludgAAAARkQXBwBQAAAA5zd29wVVNETnRvTlNCVAkAAAAAAAACCAkAAZEAAAACCAUAAAADaW52AAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAABFVTRE4HBgMJAAAAAAAAAggFAAAAA2ludgAAAARkQXBwBQAAAA9zd29wVVNETnRvV0FWRVMDCQAAAAAAAAIICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAAEdW5pdAYJAAAAAAAAAggJAAGRAAAAAggFAAAAA2ludgAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAARVU0ROBwcHBgMDCQAB9AAAAAMIBQAAAANpbnYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAANpbnYAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABJhZG1pblB1YktleVN0YWtpbmcJAAAAAAAAAggFAAAAA2ludgAAAARkQXBwBQAAAAR0aGlzBwkAAAAAAAACCAUAAAADaW52AAAACGZ1bmN0aW9uAgAAABl0YWtlSW50b0FjY291bnRFeHRyYUZ1bmRzBwYFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMFAAAAE211bHRpU2lnbmVkQnlBZG1pbnObpeC9", "height": 1622537, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "1.0.0"
5+
6+let b = "version"
7+
8+let c = "active"
9+
10+let d = "A_asset_id"
11+
12+let e = "B_asset_id"
13+
14+let f = "A_asset_balance"
15+
16+let g = "B_asset_balance"
17+
18+let h = "share_asset_id"
19+
20+let i = "share_asset_supply"
21+
22+let j = "commission"
23+
24+let k = "commission_scale_delimiter"
25+
26+let l = "shutdown_cause"
27+
28+let m = "admin_pub_1"
29+
30+let n = "admin_pub_2"
31+
32+let o = "admin_pub_3"
33+
34+let p = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
35+
36+func q (r) = {
37+ let s = getString(p, r)
38+ if ($isInstanceOf(s, "String"))
39+ then {
40+ let t = s
41+ fromBase58String(t)
42+ }
43+ else {
44+ let u = s
45+ throw("Admin public key is empty")
46+ }
47+ }
48+
49+
50+let v = q(m)
51+
52+let w = q(n)
53+
54+let x = q(o)
55+
56+let y = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
57+
58+let z = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
59+
60+let A = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
61+
62+let B = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
63+
64+let C = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
65+
66+let D = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9'
67+
68+let E = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
69+
70+let F = Address(base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37')
71+
72+let G = Address(base58'3MzTHd4e3yukNUURApVLVzH5uxeEsXHD6yY')
73+
74+let H = 270000
75+
76+let I = getBooleanValue(this, c)
77+
78+let J = getStringValue(this, d)
79+
80+let K = getStringValue(this, e)
81+
82+let L = if ((J == "WAVES"))
83+ then unit
84+ else fromBase58String(J)
85+
86+let M = if ((K == "WAVES"))
87+ then unit
88+ else fromBase58String(K)
89+
90+let N = {
91+ let s = L
92+ if ($isInstanceOf(s, "ByteVector"))
93+ then {
94+ let O = s
95+ value(assetInfo(O)).name
96+ }
97+ else if ($isInstanceOf(s, "Unit"))
98+ then {
99+ let P = s
100+ "WAVES"
101+ }
102+ else throw("Match error")
103+ }
104+
105+let Q = {
106+ let s = M
107+ if ($isInstanceOf(s, "ByteVector"))
108+ then {
109+ let O = s
110+ value(assetInfo(O)).name
111+ }
112+ else if ($isInstanceOf(s, "Unit"))
113+ then {
114+ let P = s
115+ "WAVES"
116+ }
117+ else throw("Match error")
118+ }
119+
120+let R = getIntegerValue(this, f)
121+
122+let S = getIntegerValue(this, g)
123+
124+let T = fromBase58String(getStringValue(this, h))
125+
126+let U = getIntegerValue(this, i)
127+
128+let V = 3000
129+
130+let W = 1200
131+
132+let X = 1000000
133+
134+let Y = 1000
135+
136+let Z = 100000000
137+
138+let aa = 1000
139+
140+let ab = 8
141+
142+func ac (ad) = {
143+ let s = ad
144+ if ($isInstanceOf(s, "ByteVector"))
145+ then {
146+ let O = s
147+ assetBalance(this, O)
148+ }
149+ else if ($isInstanceOf(s, "Unit"))
150+ then {
151+ let P = s
152+ wavesBalance(this).available
153+ }
154+ else throw("Match error")
155+ }
156+
157+
158+func ae (af,ag) = {
159+ let ah = {
160+ let s = getInteger(af, ((("rpd_balance_" + ag) + "_") + toString(this)))
161+ if ($isInstanceOf(s, "Int"))
162+ then {
163+ let ai = s
164+ ai
165+ }
166+ else if ($isInstanceOf(s, "Unit"))
167+ then {
168+ let u = s
169+ 0
170+ }
171+ else throw("Match error")
172+ }
173+ ah
174+ }
175+
176+
177+let aj = ae(B, J)
178+
179+let ak = ae(B, K)
180+
181+let al = (R - aj)
182+
183+let am = (S - ak)
184+
185+let an = (ac(L) + aj)
186+
187+let ao = (ac(M) + ak)
188+
189+let ap = if ((an >= R))
190+ then (ao >= S)
191+ else false
192+
193+func aq (ad) = {
194+ let s = ad
195+ if ($isInstanceOf(s, "ByteVector"))
196+ then {
197+ let O = s
198+ let ar = toBase58String(O)
199+ let as = valueOrErrorMessage(assetInfo(O), (("Asset " + ar) + " doesn't exist"))
200+ $Tuple3(ar, as.name, as.decimals)
201+ }
202+ else if ($isInstanceOf(s, "Unit"))
203+ then {
204+ let P = s
205+ $Tuple3("WAVES", "WAVES", 8)
206+ }
207+ else throw("Match error")
208+ }
209+
210+
211+func at (au) = [BooleanEntry(c, false), StringEntry(l, au)]
212+
213+
214+func av () = {
215+ let aw = if ((aj > 0))
216+ then 1
217+ else 0
218+ let ax = if ((ak > 0))
219+ then 1
220+ else 0
221+ (aw + ax)
222+ }
223+
224+
225+func ay (az,ad) = if ((ad == C))
226+ then {
227+ let aA = (az - (av() * H))
228+ if ((0 >= aA))
229+ then throw((((("Insufficient amount " + toString(az)) + " to deduct staking fee ") + toString(H)) + " USD-N"))
230+ else aA
231+ }
232+ else az
233+
234+
235+func aB (az,aC,aD) = throw((((((((("Insufficient DApp balance to pay " + toString(az)) + " ") + aD) + " due to staking. Available: ") + toString(aC)) + " ") + aD) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
236+
237+
238+func aE (aF,aG) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(aF)) + " ") + N) + " and ") + toString(aG)) + " ") + Q) + " due to staking. Available: ") + toString(al)) + " ") + N) + " and ") + toString(am)) + " ") + Q) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
239+
240+
241+func aH () = at(((((((((((((((("Suspicious state. Actual balances: " + toString(an)) + " ") + N) + ", ") + toString(ao)) + " ") + Q) + ". State: ") + toString(R)) + " ") + N) + ", ") + toString(S)) + " ") + Q))
242+
243+
244+@Callable(aI)
245+func init () = {
246+ let aJ = $Tuple2(aI.payments[0].amount, aI.payments[0].assetId)
247+ let aK = aJ._1
248+ let aL = aJ._2
249+ let aM = $Tuple2(aI.payments[1].amount, aI.payments[1].assetId)
250+ let aN = aM._1
251+ let aO = aM._2
252+ let aP = aq(aL)
253+ let aQ = aP._1
254+ let aR = aP._2
255+ let aS = aP._3
256+ let aT = aq(aO)
257+ let aU = aT._1
258+ let aV = aT._2
259+ let aW = aT._3
260+ if (isDefined(getBoolean(this, c)))
261+ then throw("DApp is already active")
262+ else if ((aL == aO))
263+ then throw("Assets must be different")
264+ else {
265+ let aX = ((("s" + take(aR, 7)) + "_") + take(aV, 7))
266+ let aY = ((((("ShareToken of SwopFi protocol for " + aR) + " and ") + aV) + " at address ") + toString(this))
267+ let aZ = ((aS + aW) / 2)
268+ let ba = fraction(pow(aK, aS, 5, 1, aS, DOWN), pow(aN, aW, 5, 1, aW, DOWN), pow(10, 0, aZ, 0, 0, DOWN))
269+ let bb = Issue(aX, aY, ba, aZ, true)
270+ let bc = calculateAssetId(bb)
271+[StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, aQ), StringEntry(e, aU), IntegerEntry(f, aK), IntegerEntry(g, aN), IntegerEntry(j, V), IntegerEntry(k, X), bb, StringEntry(h, toBase58String(bc)), IntegerEntry(i, ba), ScriptTransfer(aI.caller, ba, bc)]
272+ }
273+ }
274+
275+
276+
277+@Callable(aI)
278+func replenishWithTwoTokens (bd) = {
279+ let aL = aI.payments[0].assetId
280+ let aO = aI.payments[1].assetId
281+ let aK = ay(aI.payments[0].amount, aL)
282+ let aN = ay(aI.payments[1].amount, aO)
283+ let be = fraction(fraction(R, Z, aK), Y, fraction(S, Z, aN))
284+ let bf = fraction(aK, Z, R)
285+ let bg = fraction(aN, Z, S)
286+ let bh = fraction(min([bf, bg]), U, Z)
287+ if (!(I))
288+ then throw("DApp is inactive at this moment")
289+ else if (if ((0 > bd))
290+ then true
291+ else (bd > aa))
292+ then throw(((("Slippage tolerance must be between 0 and " + toString(aa)) + " inclusively. Actual: ") + toString(bd)))
293+ else if ((size(aI.payments) != 2))
294+ then throw("Two attached assets expected")
295+ else if (if ((aL != L))
296+ then true
297+ else (aO != M))
298+ then throw(((("Incorrect assets attached. Expected: " + J) + " and ") + K))
299+ else if (if ((((Y * (aa - bd)) / aa) > be))
300+ then true
301+ else (be > ((Y * (aa + bd)) / aa)))
302+ then throw("Incorrect assets amount: amounts must have the contract ratio")
303+ else if ((bh == 0))
304+ then throw("Too small amount to replenish")
305+ else if (!(ap))
306+ then ([ScriptTransfer(aI.caller, aK, aL), ScriptTransfer(aI.caller, aN, aO)] ++ aH())
307+ else [IntegerEntry(f, (R + aK)), IntegerEntry(g, (S + aN)), IntegerEntry(i, (U + bh)), Reissue(T, bh, true), ScriptTransfer(aI.caller, bh, T)]
308+ }
309+
310+
311+
312+@Callable(aI)
313+func withdraw () = {
314+ let bi = $Tuple2(aI.payments[0].amount, aI.payments[0].assetId)
315+ let bj = bi._1
316+ let bk = bi._2
317+ let bl = ay(fraction(bj, R, U), L)
318+ let bm = ay(fraction(bj, S, U), M)
319+ if (!(I))
320+ then throw("DApp is inactive at this moment")
321+ else if ((size(aI.payments) != 1))
322+ then throw("One attached payment expected")
323+ else if ((bk != T))
324+ then throw(("Incorrect asset attached. Expected: " + toBase58String(T)))
325+ else if (!(ap))
326+ then ([ScriptTransfer(aI.caller, bj, bk)] ++ aH())
327+ else if (if ((bl > al))
328+ then true
329+ else (bm > am))
330+ then aE(bl, bm)
331+ else [IntegerEntry(f, (R - bl)), IntegerEntry(g, (S - bm)), IntegerEntry(i, (U - bj)), Burn(T, bj), ScriptTransfer(aI.caller, bl, L), ScriptTransfer(aI.caller, bm, M)]
332+ }
333+
334+
335+
336+@Callable(aI)
337+func exchange (bn) = {
338+ let bo = $Tuple2(aI.payments[0].amount, aI.payments[0].assetId)
339+ let bj = bo._1
340+ let bk = bo._2
341+ func bp (bq,br) = {
342+ let bs = fraction(br, bj, (bj + bq))
343+ let bt = fraction(bs, (X - V), X)
344+ let bu = fraction(bs, W, X)
345+ if ((bn > bt))
346+ then throw(((("Calculated amount to receive " + toString(bt)) + " is less than specified minimum ") + toString(bn)))
347+ else $Tuple3(bs, bt, bu)
348+ }
349+
350+ if (!(I))
351+ then throw("DApp is inactive at this moment")
352+ else if ((0 >= bn))
353+ then throw(("Minimal amount to receive must be positive. Actual: " + toString(bn)))
354+ else if ((size(aI.payments) != 1))
355+ then throw("One attached payment expected")
356+ else if (!(ap))
357+ then ([ScriptTransfer(aI.caller, bj, bk)] ++ aH())
358+ else if ((bk == L))
359+ then {
360+ let bv = M
361+ let bw = bp(R, S)
362+ let bs = bw._1
363+ let bt = bw._2
364+ let bu = bw._3
365+ let bx = (R + bj)
366+ let by = ((S - bt) - bu)
367+ if (if ((aj >= bx))
368+ then true
369+ else (ak >= by))
370+ then aB(bt, am, Q)
371+ else [IntegerEntry(f, bx), IntegerEntry(g, by), ScriptTransfer(aI.caller, bt, bv), ScriptTransfer(A, bu, bv)]
372+ }
373+ else if ((bk == M))
374+ then {
375+ let bv = L
376+ let bz = bp(S, R)
377+ let bs = bz._1
378+ let bt = bz._2
379+ let bu = bz._3
380+ let bx = ((R - bt) - bu)
381+ let by = (S + bj)
382+ if (if ((aj >= bx))
383+ then true
384+ else (ak >= by))
385+ then aB(bt, al, N)
386+ else [IntegerEntry(f, bx), IntegerEntry(g, by), ScriptTransfer(aI.caller, bt, bv), ScriptTransfer(A, bu, bv)]
387+ }
388+ else throw(((("Incorrect asset attached. Expected: " + J) + " or ") + K))
389+ }
390+
391+
392+
393+@Callable(aI)
394+func shutdown () = if (!(I))
395+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
396+ else if (!(containsElement([v, w, x, y], aI.callerPublicKey)))
397+ then throw("Only admin can call this function")
398+ else at("Paused by admin")
399+
400+
401+
402+@Callable(aI)
403+func activate () = if (I)
404+ then throw("DApp is already active")
405+ else if (!(containsElement([v, w, x, y], aI.callerPublicKey)))
406+ then throw("Only admin can call this function")
407+ else [BooleanEntry(c, true), DeleteEntry(l)]
408+
409+
410+
411+@Callable(aI)
412+func takeIntoAccountExtraFunds (bA) = {
413+ let bB = (an - R)
414+ let bC = (ao - S)
415+ let bD = (bB - (if ((L == unit))
416+ then bA
417+ else 0))
418+ let bE = (bC - (if ((M == unit))
419+ then bA
420+ else 0))
421+ if (!(I))
422+ then throw("DApp is inactive at this moment")
423+ else if ((aI.caller != this))
424+ then throw("Only the DApp itself can call this function")
425+ else if ((0 > bA))
426+ then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(bA)))
427+ else if (if ((0 > bB))
428+ then true
429+ else (0 > bC))
430+ then at("Enroll amount negative")
431+ else if (if ((0 > bD))
432+ then true
433+ else (0 > bE))
434+ then throw("Too large amountLeave")
435+ else [IntegerEntry(f, (R + bD)), IntegerEntry(g, (S + bE)), IntegerEntry(("last_income_" + J), bD), IntegerEntry(("last_income_" + K), bE)]
436+ }
437+
438+
439+@Verifier(bF)
440+func bG () = {
441+ let bH = {
442+ let bI = if (sigVerify(bF.bodyBytes, bF.proofs[0], v))
443+ then 1
444+ else 0
445+ let bJ = if (sigVerify(bF.bodyBytes, bF.proofs[1], w))
446+ then 1
447+ else 0
448+ let bK = if (sigVerify(bF.bodyBytes, bF.proofs[2], x))
449+ then 1
450+ else 0
451+ (((bI + bJ) + bK) >= 2)
452+ }
453+ let s = bF
454+ if ($isInstanceOf(s, "InvokeScriptTransaction"))
455+ then {
456+ let bL = s
457+ if (if (if (if (sigVerify(bL.bodyBytes, bL.proofs[0], z))
458+ then (bL.dApp == B)
459+ else false)
460+ then true
461+ else if (if (sigVerify(bL.bodyBytes, bL.proofs[0], z))
462+ then (bL.function == "exchange")
463+ else false)
464+ then if (if (if (if (if ((L == D))
465+ then (M == C)
466+ else false)
467+ then (bL.dApp == F)
468+ else false)
469+ then (bL.payments[0].assetId == unit)
470+ else false)
471+ then if ((bL.payments[0].assetId == unit))
472+ then true
473+ else (bL.payments[0].assetId == C)
474+ else false)
475+ then true
476+ else if (if ((L == D))
477+ then (M == E)
478+ else false)
479+ then if (if ((bL.dApp == G))
480+ then (bL.payments[0].assetId == C)
481+ else false)
482+ then true
483+ else if ((bL.dApp == F))
484+ then if ((bL.payments[0].assetId == unit))
485+ then true
486+ else (bL.payments[0].assetId == C)
487+ else false
488+ else false
489+ else false)
490+ then true
491+ else if (if (sigVerify(bL.bodyBytes, bL.proofs[0], z))
492+ then (bL.dApp == this)
493+ else false)
494+ then (bL.function == "takeIntoAccountExtraFunds")
495+ else false)
496+ then true
497+ else bH
498+ }
499+ else bH
500+ }
501+

github/deemru/w8io/026f985 
29.14 ms