tx · BvTcyVAv1fY7gxFWJkKXdQhA68stt2JqjJdvMd2FmwjQ

3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6:  -0.01400000 Waves

2021.04.23 13:21 [1494952] smart account 3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6 > SELF 0.00000000 Waves

{ "type": 13, "id": "BvTcyVAv1fY7gxFWJkKXdQhA68stt2JqjJdvMd2FmwjQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1619173280026, "version": 2, "chainId": 84, "sender": "3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6", "senderPublicKey": "75SuvmjmHX6J7smVGHvWY6acr5mqyRQCYpFxeFQh8Cy3", "proofs": [ "Rmzs7ocecLDDALiK3BDTAQddN23ZfWrgBxrWiVkfsbPXGrW6h8epnkG4LXJvHV8fCddQRf1vqBgrBejKnkaBamj" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgQKAggIEgUKAwEEARIECgIBCBIAEgAAAAAnAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAEWtleU51bWJlck9mVm90aW5nAgAAAA1udW1iZXJfdm90aW5nAAAAAA9rZXlIZWlnaHRPZlBvb2wCAAAAB19oZWlnaHQAAAAABWtleU5vAgAAAANfbm8AAAAABmtleVllcwIAAAAEX3llcwAAAAARa2V5U3RhdHVzT2ZWb3RpbmcCAAAAB19zdGF0dXMAAAAAEWtleUFtb3VudE9mVm90aW5nAgAAAA1hbW91bnRfdm90aW5nAAAAAA1rZXlDb21taXNzaW9uAgAAAApjb21taXNzaW9uAAAAABtrZXlDb21taXNzaW9uU2NhbGVEZWxpbWl0ZXICAAAAGmNvbW1pc3Npb25fc2NhbGVfZGVsaW1pdGVyAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAADmtleUNhbmNlbENhdXNlAgAAAA1fY2Fu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HAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BKAmKw==", "height": 1494952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BqwA3gysyomn4rrLYkCKid1C7X3JRkcMrqhYBsRYFNBh Next: 47eDZUkAiuNcLSwkTddofjDPmwtya4arDEvXTdARE7pX Diff:
OldNewDifferences
2929
3030 let n = "_SWOP_amount"
3131
32-let o = getBooleanValue(this, c)
32+let o = "_name"
3333
34-let p = getIntegerValue(this, d)
34+let p = "_votingId"
3535
36-let q = getIntegerValue(this, i)
36+let q = "period_voting"
3737
38-let r = 1000000000
38+let r = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
3939
40-let s = 1000
40+let s = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4141
42-let t = 100000000
42+let t = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4343
44-let u = 1000
44+let u = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4545
46-let v = 8
46+let v = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
4747
48-let w = 5
48+let w = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
4949
50-let x = (1440 * 5)
50+let x = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
5151
52-func y (z) = if ((z == "WAVES"))
52+let y = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
53+
54+let z = getBooleanValue(this, c)
55+
56+let A = getIntegerValue(this, d)
57+
58+let B = getIntegerValue(this, i)
59+
60+let C = 1000000000
61+
62+let D = 1000
63+
64+let E = 100000000
65+
66+let F = 1000
67+
68+let G = 8
69+
70+let H = 5
71+
72+let I = (1440 * 5)
73+
74+func J (K) = if ((K == "WAVES"))
5375 then unit
54- else fromBase58String(z)
76+ else fromBase58String(K)
5577
5678
57-func A (B) = [BooleanEntry(c, false), StringEntry(l, B)]
79+func L (M) = if ((valueOrElse(getInteger(w, (toString(M) + n)), 0) > 0))
80+ then true
81+ else false
5882
5983
60-func C (D,E) = throw(((((("Insufficient DApp balance to pay " + toString(D)) + " ") + E) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
84+func N (O) = [BooleanEntry(c, false), StringEntry(l, O)]
6185
6286
63-@Callable(F)
64-func init () = {
65- let G = 0
66- let H = 0
67- let I = true
68-[StringEntry(b, a), BooleanEntry(c, I), IntegerEntry(d, G), IntegerEntry(i, H)]
87+func P (Q,R) = throw(((((("Insufficient DApp balance to pay " + toString(Q)) + " ") + R) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
88+
89+
90+@Callable(S)
91+func init () = if ((S.caller != this))
92+ then throw("Only the DApp itself can call this function")
93+ else if (isDefined(getBoolean(this, c)))
94+ then throw("DApp is already active")
95+ else {
96+ let T = 0
97+ let U = 0
98+ let V = true
99+[StringEntry(b, a), BooleanEntry(c, V), IntegerEntry(d, T), IntegerEntry(i, U)]
100+ }
101+
102+
103+
104+@Callable(S)
105+func initVotingForNewPool (W,X) = {
106+ let Y = $Tuple2(S.payments[0].amount, S.payments[0].assetId)
107+ let Z = Y._1
108+ let aa = Y._2
109+ let ab = $Tuple2(J(W), J(X))
110+ let ac = ab._1
111+ let ad = ab._2
112+ if (!(z))
113+ then throw("DApp is inactive at this moment")
114+ else if ((ac == ad))
115+ then throw("Assets must be different")
116+ else if ((aa != y))
117+ then throw("You must use a SWOP token")
118+ else if ((Z != C))
119+ then throw("You need to attach 10 SWOP tokens")
120+ else if ((A > H))
121+ then throw(("Too many votes. Maximum quantity -" + toString(H)))
122+ else if (!(if (if (if (if (if ((ac == x))
123+ then true
124+ else (ad == x))
125+ then true
126+ else (ac == unit))
127+ then true
128+ else (ad == unit))
129+ then true
130+ else (ac == y))
131+ then true
132+ else (ad == y)))
133+ then throw("One of the assets must be USDN, WAVES, SWOP")
134+ else [IntegerEntry((((((W + "_") + X) + "_") + toString(B)) + p), B), IntegerEntry((toString(B) + e), (height + I)), BooleanEntry((toString(B) + h), true), IntegerEntry(i, (B + 1)), IntegerEntry(d, (A + 1)), StringEntry((W + o), W), StringEntry((X + o), X), ScriptTransfer(v, Z, aa)]
69135 }
70136
71137
72138
73-@Callable(F)
74-func initVotingForNewPool (J,K) = {
75- let L = $Tuple2(y(J), y(K))
76- let M = L._1
77- let N = L._2
78- if (!(o))
79- then throw("DApp is inactive at this moment")
80- else if ((M == N))
81- then throw("Assets must be different")
82- else if ((p > w))
83- then throw(("Too many votes. Maximum quantity -" + toString(w)))
84- else [IntegerEntry(((((J + "_") + K) + "_") + toString(q)), q), IntegerEntry((toString(q) + e), (height + x)), BooleanEntry((toString(q) + h), true), IntegerEntry(i, (q + 1)), IntegerEntry(d, (p + 1))]
139+@Callable(S)
140+func voteForPool (ae,af,ag) = {
141+ let ah = height
142+ let ai = valueOrErrorMessage(getIntegerValue(this, (toString(ae) + e)), "Empty pool height")
143+ let aj = valueOrElse(getInteger(w, (toString(S.caller) + n)), 0)
144+ if (!(L(S.caller)))
145+ then throw("This address has 0 SWOP in Governance dApp")
146+ else if ((ah > ai))
147+ then [IntegerEntry(d, (A - 1))]
148+ else if ((1 > ag))
149+ then throw("The number of votes must be positive")
150+ else if ((ag > aj))
151+ then throw((((toString(this) + " has ") + toString(aj)) + " SWOP in governance."))
152+ else if (af)
153+ then {
154+ let ak = (valueOrElse(getInteger(this, (toString(ae) + g)), 0) + ag)
155+ let al = (valueOrElse(getInteger(this, (((toString(S.caller) + "_") + toString(ae)) + g)), 0) + ag)
156+[IntegerEntry((toString(ae) + g), ak), IntegerEntry((((toString(S.caller) + "_") + toString(ae)) + g), al)]
157+ }
158+ else {
159+ let ak = (valueOrElse(getInteger(this, (toString(ae) + f)), 0) + ag)
160+ let al = (valueOrElse(getInteger(this, (((toString(S.caller) + "_") + toString(ae)) + f)), 0) + ag)
161+[IntegerEntry((toString(ae) + f), ak), IntegerEntry((((toString(S.caller) + "_") + toString(ae)) + f), al)]
162+ }
85163 }
86164
87165
88166
89-@Callable(F)
90-func voteForPool (O,P,Q) = if (P)
91- then {
92- let R = (valueOrElse(getInteger(this, (toString(O) + g)), 0) + Q)
93-[IntegerEntry((toString(O) + g), R), IntegerEntry((((toString(F.caller) + "_") + toString(O)) + g), Q)]
94- }
95- else {
96- let R = (valueOrElse(getInteger(this, (toString(O) + f)), 0) + Q)
97-[IntegerEntry((toString(O) + f), R), IntegerEntry((((toString(F.caller) + "_") + toString(O)) + f), Q)]
98- }
167+@Callable(S)
168+func cancellationVoting (ae,O) = if (!(z))
169+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
170+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
171+ then throw("Only admin can call this function")
172+ else [IntegerEntry(d, (A - 1)), BooleanEntry((toString(ae) + h), false), StringEntry((toString(ae) + m), O)]
99173
100174
101175
102-@Callable(F)
103-func cancellationVoting (O,B) = [IntegerEntry(d, (p - 1)), BooleanEntry((toString(O) + h), false), StringEntry((toString(O) + m), B)]
176+@Callable(S)
177+func shutdown () = if (!(z))
178+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
179+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
180+ then throw("Only admin can call this function")
181+ else N("Paused by admin")
104182
105183
106184
107-@Callable(F)
108-func shutdown () = if (!(o))
109- then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
110- else A("Paused by admin")
185+@Callable(S)
186+func activate () = if (z)
187+ then throw("DApp is already active")
188+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
189+ then throw("Only admin can call this function")
190+ else [BooleanEntry(c, true), DeleteEntry(l)]
111191
112192
113-
114-@Callable(F)
115-func activate () = if (o)
116- then throw("DApp is already active")
117- else [BooleanEntry(c, true), DeleteEntry(l)]
118-
119-
120-@Verifier(S)
121-func T () = true
193+@Verifier(am)
194+func an () = sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
122195
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "1.0.0"
55
66 let b = "version"
77
88 let c = "active"
99
1010 let d = "number_voting"
1111
1212 let e = "_height"
1313
1414 let f = "_no"
1515
1616 let g = "_yes"
1717
1818 let h = "_status"
1919
2020 let i = "amount_voting"
2121
2222 let j = "commission"
2323
2424 let k = "commission_scale_delimiter"
2525
2626 let l = "shutdown_cause"
2727
2828 let m = "_cancel_cause"
2929
3030 let n = "_SWOP_amount"
3131
32-let o = getBooleanValue(this, c)
32+let o = "_name"
3333
34-let p = getIntegerValue(this, d)
34+let p = "_votingId"
3535
36-let q = getIntegerValue(this, i)
36+let q = "period_voting"
3737
38-let r = 1000000000
38+let r = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
3939
40-let s = 1000
40+let s = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4141
42-let t = 100000000
42+let t = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4343
44-let u = 1000
44+let u = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4545
46-let v = 8
46+let v = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
4747
48-let w = 5
48+let w = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
4949
50-let x = (1440 * 5)
50+let x = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
5151
52-func y (z) = if ((z == "WAVES"))
52+let y = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
53+
54+let z = getBooleanValue(this, c)
55+
56+let A = getIntegerValue(this, d)
57+
58+let B = getIntegerValue(this, i)
59+
60+let C = 1000000000
61+
62+let D = 1000
63+
64+let E = 100000000
65+
66+let F = 1000
67+
68+let G = 8
69+
70+let H = 5
71+
72+let I = (1440 * 5)
73+
74+func J (K) = if ((K == "WAVES"))
5375 then unit
54- else fromBase58String(z)
76+ else fromBase58String(K)
5577
5678
57-func A (B) = [BooleanEntry(c, false), StringEntry(l, B)]
79+func L (M) = if ((valueOrElse(getInteger(w, (toString(M) + n)), 0) > 0))
80+ then true
81+ else false
5882
5983
60-func C (D,E) = throw(((((("Insufficient DApp balance to pay " + toString(D)) + " ") + E) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
84+func N (O) = [BooleanEntry(c, false), StringEntry(l, O)]
6185
6286
63-@Callable(F)
64-func init () = {
65- let G = 0
66- let H = 0
67- let I = true
68-[StringEntry(b, a), BooleanEntry(c, I), IntegerEntry(d, G), IntegerEntry(i, H)]
87+func P (Q,R) = throw(((((("Insufficient DApp balance to pay " + toString(Q)) + " ") + R) + " due to staking.") + ". Please contact support in Telegram: https://t.me/swopfisupport"))
88+
89+
90+@Callable(S)
91+func init () = if ((S.caller != this))
92+ then throw("Only the DApp itself can call this function")
93+ else if (isDefined(getBoolean(this, c)))
94+ then throw("DApp is already active")
95+ else {
96+ let T = 0
97+ let U = 0
98+ let V = true
99+[StringEntry(b, a), BooleanEntry(c, V), IntegerEntry(d, T), IntegerEntry(i, U)]
100+ }
101+
102+
103+
104+@Callable(S)
105+func initVotingForNewPool (W,X) = {
106+ let Y = $Tuple2(S.payments[0].amount, S.payments[0].assetId)
107+ let Z = Y._1
108+ let aa = Y._2
109+ let ab = $Tuple2(J(W), J(X))
110+ let ac = ab._1
111+ let ad = ab._2
112+ if (!(z))
113+ then throw("DApp is inactive at this moment")
114+ else if ((ac == ad))
115+ then throw("Assets must be different")
116+ else if ((aa != y))
117+ then throw("You must use a SWOP token")
118+ else if ((Z != C))
119+ then throw("You need to attach 10 SWOP tokens")
120+ else if ((A > H))
121+ then throw(("Too many votes. Maximum quantity -" + toString(H)))
122+ else if (!(if (if (if (if (if ((ac == x))
123+ then true
124+ else (ad == x))
125+ then true
126+ else (ac == unit))
127+ then true
128+ else (ad == unit))
129+ then true
130+ else (ac == y))
131+ then true
132+ else (ad == y)))
133+ then throw("One of the assets must be USDN, WAVES, SWOP")
134+ else [IntegerEntry((((((W + "_") + X) + "_") + toString(B)) + p), B), IntegerEntry((toString(B) + e), (height + I)), BooleanEntry((toString(B) + h), true), IntegerEntry(i, (B + 1)), IntegerEntry(d, (A + 1)), StringEntry((W + o), W), StringEntry((X + o), X), ScriptTransfer(v, Z, aa)]
69135 }
70136
71137
72138
73-@Callable(F)
74-func initVotingForNewPool (J,K) = {
75- let L = $Tuple2(y(J), y(K))
76- let M = L._1
77- let N = L._2
78- if (!(o))
79- then throw("DApp is inactive at this moment")
80- else if ((M == N))
81- then throw("Assets must be different")
82- else if ((p > w))
83- then throw(("Too many votes. Maximum quantity -" + toString(w)))
84- else [IntegerEntry(((((J + "_") + K) + "_") + toString(q)), q), IntegerEntry((toString(q) + e), (height + x)), BooleanEntry((toString(q) + h), true), IntegerEntry(i, (q + 1)), IntegerEntry(d, (p + 1))]
139+@Callable(S)
140+func voteForPool (ae,af,ag) = {
141+ let ah = height
142+ let ai = valueOrErrorMessage(getIntegerValue(this, (toString(ae) + e)), "Empty pool height")
143+ let aj = valueOrElse(getInteger(w, (toString(S.caller) + n)), 0)
144+ if (!(L(S.caller)))
145+ then throw("This address has 0 SWOP in Governance dApp")
146+ else if ((ah > ai))
147+ then [IntegerEntry(d, (A - 1))]
148+ else if ((1 > ag))
149+ then throw("The number of votes must be positive")
150+ else if ((ag > aj))
151+ then throw((((toString(this) + " has ") + toString(aj)) + " SWOP in governance."))
152+ else if (af)
153+ then {
154+ let ak = (valueOrElse(getInteger(this, (toString(ae) + g)), 0) + ag)
155+ let al = (valueOrElse(getInteger(this, (((toString(S.caller) + "_") + toString(ae)) + g)), 0) + ag)
156+[IntegerEntry((toString(ae) + g), ak), IntegerEntry((((toString(S.caller) + "_") + toString(ae)) + g), al)]
157+ }
158+ else {
159+ let ak = (valueOrElse(getInteger(this, (toString(ae) + f)), 0) + ag)
160+ let al = (valueOrElse(getInteger(this, (((toString(S.caller) + "_") + toString(ae)) + f)), 0) + ag)
161+[IntegerEntry((toString(ae) + f), ak), IntegerEntry((((toString(S.caller) + "_") + toString(ae)) + f), al)]
162+ }
85163 }
86164
87165
88166
89-@Callable(F)
90-func voteForPool (O,P,Q) = if (P)
91- then {
92- let R = (valueOrElse(getInteger(this, (toString(O) + g)), 0) + Q)
93-[IntegerEntry((toString(O) + g), R), IntegerEntry((((toString(F.caller) + "_") + toString(O)) + g), Q)]
94- }
95- else {
96- let R = (valueOrElse(getInteger(this, (toString(O) + f)), 0) + Q)
97-[IntegerEntry((toString(O) + f), R), IntegerEntry((((toString(F.caller) + "_") + toString(O)) + f), Q)]
98- }
167+@Callable(S)
168+func cancellationVoting (ae,O) = if (!(z))
169+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
170+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
171+ then throw("Only admin can call this function")
172+ else [IntegerEntry(d, (A - 1)), BooleanEntry((toString(ae) + h), false), StringEntry((toString(ae) + m), O)]
99173
100174
101175
102-@Callable(F)
103-func cancellationVoting (O,B) = [IntegerEntry(d, (p - 1)), BooleanEntry((toString(O) + h), false), StringEntry((toString(O) + m), B)]
176+@Callable(S)
177+func shutdown () = if (!(z))
178+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
179+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
180+ then throw("Only admin can call this function")
181+ else N("Paused by admin")
104182
105183
106184
107-@Callable(F)
108-func shutdown () = if (!(o))
109- then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified")))
110- else A("Paused by admin")
185+@Callable(S)
186+func activate () = if (z)
187+ then throw("DApp is already active")
188+ else if (!(containsElement([r, s, t, u], S.callerPublicKey)))
189+ then throw("Only admin can call this function")
190+ else [BooleanEntry(c, true), DeleteEntry(l)]
111191
112192
113-
114-@Callable(F)
115-func activate () = if (o)
116- then throw("DApp is already active")
117- else [BooleanEntry(c, true), DeleteEntry(l)]
118-
119-
120-@Verifier(S)
121-func T () = true
193+@Verifier(am)
194+func an () = sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
122195

github/deemru/w8io/169f3d6 
84.26 ms