tx · 9zWqVpCFT7FdGk8i3G11KkquHtHwGJEpiyJUZtnxoB2J

3NBruVadHRKYUKnqGFCY5LV1SnvhV5ZZmhU:  -0.01000000 Waves

2021.04.21 13:00 [1492067] smart account 3NBruVadHRKYUKnqGFCY5LV1SnvhV5ZZmhU > SELF 0.00000000 Waves

{ "type": 13, "id": "9zWqVpCFT7FdGk8i3G11KkquHtHwGJEpiyJUZtnxoB2J", "fee": 1000000, "feeAssetId": null, "timestamp": 1618999353950, "version": 2, "chainId": 84, "sender": "3NBruVadHRKYUKnqGFCY5LV1SnvhV5ZZmhU", "senderPublicKey": "7tPwzv94fW3JQvFL1LJ7zzvrGoAkZzEMEoALg3Wu4Hvm", "proofs": [ "3KRGRiq4QDqYm343TSxqZdVKnYcdL5x3vekrveWbj5N4FGkeJJoUrY1BzSM9vKthGrQaLGseB3MSoGAhYULna3UA" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAAkAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAAA1rZXlDb21taXNzaW9uAgAAAApjb21taXNzaW9uAAAAABtrZXlDb21taXNzaW9uU2NhbGVEZWxpbWl0ZXICAAAAGmNvbW1pc3Npb25fc2NhbGVfZGVsaW1pdGVyAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAADmtleUNhbmNlbENhdXNlAgAAAA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"applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
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 = "number_voting"
11+
12+let e = "_height"
13+
14+let f = "_no"
15+
16+let g = "_yes"
17+
18+let h = "_status"
19+
20+let i = "amount_voting"
21+
22+let j = "commission"
23+
24+let k = "commission_scale_delimiter"
25+
26+let l = "shutdown_cause"
27+
28+let m = "_cancel_cause"
29+
30+let n = "_SWOP_amount"
31+
32+let o = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA'
33+
34+let p = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7'
35+
36+let q = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ'
37+
38+let r = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ'
39+
40+let s = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
41+
42+let t = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS')
43+
44+let u = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
45+
46+let v = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
47+
48+let w = getBooleanValue(this, c)
49+
50+let x = getIntegerValue(this, d)
51+
52+let y = getIntegerValue(this, i)
53+
54+let z = 1000000000
55+
56+let A = 1000
57+
58+let B = 100000000
59+
60+let C = 1000
61+
62+let D = 8
63+
64+let E = 5
65+
66+let F = (1440 * 5)
67+
68+func G (H) = if ((H == "WAVES"))
69+ then unit
70+ else fromBase58String(H)
71+
72+
73+func I (J) = if ((valueOrElse(getInteger(t, (toString(J) + n)), 0) > 0))
74+ then true
75+ else false
76+
77+
78+func K (L) = [BooleanEntry(c, false), StringEntry(l, L)]
79+
80+
81+func M (N,O) = throw(((((("Insufficient DApp balance to pay " + toString(N)) + " ") + O) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
82+
83+
84+@Callable(P)
85+func init () = {
86+ let Q = 0
87+ let R = 0
88+ let S = true
89+[StringEntry(b, a), BooleanEntry(c, S), IntegerEntry(d, Q), IntegerEntry(i, R)]
90+ }
91+
92+
93+
94+@Callable(P)
95+func initVotingForNewPool (T,U) = {
96+ let V = $Tuple2(G(T), G(U))
97+ let W = V._1
98+ let X = V._2
99+ if (!(w))
100+ then throw("DApp is inactive at this moment")
101+ else if ((W == X))
102+ then throw("Assets must be different")
103+ else if ((x > E))
104+ then throw(("Too many votes. Maximum quantity -" + toString(E)))
105+ else [IntegerEntry(((((T + "_") + U) + "_") + toString(y)), y), IntegerEntry((toString(y) + e), (height + F)), BooleanEntry((toString(y) + h), true), IntegerEntry(i, (y + 1)), IntegerEntry(d, (x + 1))]
106+ }
107+
108+
109+
110+@Callable(P)
111+func voteForPool (Y,Z,aa) = {
112+ let ab = height
113+ let ac = getIntegerValue(this, (toString(Y) + e))
114+ let ad = valueOrElse(getInteger(t, (toString(P.caller) + n)), 0)
115+ if (Z)
116+ then {
117+ let ae = (getIntegerValue(this, (toString(Y) + g)) + aa)
118+[IntegerEntry((toString(Y) + g), ae), IntegerEntry((((toString(P.caller) + "_") + toString(Y)) + g), aa)]
119+ }
120+ else {
121+ let ae = (getIntegerValue(this, (toString(Y) + f)) + aa)
122+[IntegerEntry((toString(Y) + f), ae), IntegerEntry((((toString(P.caller) + "_") + toString(Y)) + f), aa)]
123+ }
124+ }
125+
126+
127+
128+@Callable(P)
129+func cancellationVoting (Y,L) = [IntegerEntry(d, (x - 1)), BooleanEntry((toString(Y) + h), false), StringEntry((toString(Y) + m), L)]
130+
131+
132+
133+@Callable(P)
134+func shutdown () = if (!(w))
135+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
136+ else if (!(containsElement([o, p, q, r], P.callerPublicKey)))
137+ then throw("Only admin can call this function")
138+ else K("Paused by admin")
139+
140+
141+
142+@Callable(P)
143+func activate () = if (w)
144+ then throw("DApp is already active")
145+ else if (!(containsElement([o, p, q, r], P.callerPublicKey)))
146+ then throw("Only admin can call this function")
147+ else [BooleanEntry(c, true), DeleteEntry(l)]
148+
149+
150+@Verifier(af)
151+func ag () = {
152+ let ah = if (sigVerify(af.bodyBytes, af.proofs[0], o))
153+ then 1
154+ else 0
155+ let ai = if (sigVerify(af.bodyBytes, af.proofs[1], p))
156+ then 1
157+ else 0
158+ let aj = if (sigVerify(af.bodyBytes, af.proofs[2], q))
159+ then 1
160+ else 0
161+ (((ah + ai) + aj) >= 2)
162+ }
163+

github/deemru/w8io/169f3d6 
26.51 ms