tx · A6FhHvWGiBRoZ9iSu8e61aMxarkuYPJDY3cHMhzXaESN

3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H:  -0.01400000 Waves

2023.05.04 13:10 [2562876] smart account 3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H > SELF 0.00000000 Waves

{ "type": 13, "id": "A6FhHvWGiBRoZ9iSu8e61aMxarkuYPJDY3cHMhzXaESN", "fee": 1400000, "feeAssetId": null, "timestamp": 1683195035117, "version": 2, "chainId": 84, "sender": "3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H", "senderPublicKey": "8pvajz9uNGrmuTHSzjyYc4LZJ6VkqBjwmS7HCWKsZk67", "proofs": [ "52rx1zZdSEahejZougkowo5V1qYn8y8m4Wb964DN5UbCcapXmnFyMBaVNSyFAjfSZj7a5zg8Um1ZfNVi9NEfqM7S" ], "script": "base64:AAIFAAAAAAAAACIIAhIJCgcIAQEBAQEIEgMKAQgSAwoBARIAEgMKAQgSABIAAAAALwAAAAADU0VQAgAAAAJfXwEAAAAHd3JhcEVycgAAAAEAAAADbXNnCQAEuQAAAAIJAARMAAAAAgIAAAAOZW1pc3Npb24ucmlkZToJAARMAAAAAgkABCUAAAABBQAAAAR0aGlzCQAETAAAAAIFAAAAA21zZwUAAAADbmlsAgAAAAEgAQAAAAh0aHJvd0VycgAAAAEAAAADbXNnCQAAAgAAAAEJAQAAAAd3cmFwRXJyAAAAAQUAAAADbXNnAQAAAA9nZXRTdHJpbmdPckZhaWwAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQEAAAAHd3JhcEVycgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAA9tYW5kYXRvcnkgdGhpcy4FAAAAA2tleQIAAAAPIGlzIG5vdCBkZWZpbmVkAQAAABFrZXlGYWN0b3J5QWRkcmVzcwAAAAACAAAAHCVzJXNfX2NvbmZpZ19f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cm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleQgdbPA=", "height": 2562876, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EjMZ4UQ9cDdqVM4odb9dMgPwfHs2qYMXZ9cvX95JFPBd Next: 7gAw8n94EQfmPdhReCNbmden3Xv464U18AwRPHBQ7UBi Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
6-func b (c,d) = valueOrErrorMessage(getString(c, d), (("mandatory this." + d) + " is not defined"))
6+func b (c) = makeString(["emission.ride:", toString(this), c], " ")
77
88
9-func e () = "%s%s__config__factoryAddress"
9+func d (c) = throw(b(c))
1010
1111
12-let f = "%s%s__config__votingVerifiedContract"
13-
14-let g = "%s%s__config__votingEmissionCandidateContract"
15-
16-let h = "%s%s__config__userPoolsContract"
17-
18-let i = addressFromStringValue(b(this, f))
19-
20-let j = addressFromStringValue(b(this, g))
21-
22-let k = addressFromStringValue(b(this, h))
23-
24-let l = 1
25-
26-let m = 2
27-
28-let n = 3
29-
30-let o = 4
31-
32-let p = 5
33-
34-let q = 6
35-
36-let r = 7
37-
38-let s = 10
39-
40-func t () = "%s__factoryConfig"
12+func e (f,g) = valueOrErrorMessage(getString(f, g), b((("mandatory this." + g) + " is not defined")))
4113
4214
43-func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
15+func h () = "%s%s__config__factoryAddress"
4416
4517
46-func w () = "%s__lpTokensList"
18+let i = "%s%s__config__votingVerifiedContract"
19+
20+let j = "%s%s__config__votingEmissionCandidateContract"
21+
22+let k = "%s%s__config__userPoolsContract"
23+
24+let l = addressFromStringValue(e(this, i))
25+
26+let m = addressFromStringValue(e(this, j))
27+
28+let n = addressFromStringValue(e(this, k))
29+
30+let o = 1
31+
32+let p = 2
33+
34+let q = 3
35+
36+let r = 4
37+
38+let s = 5
39+
40+let t = 6
41+
42+let u = 7
43+
44+let v = 10
45+
46+func w () = "%s__factoryConfig"
4747
4848
49-func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
49+func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
5050
5151
52-func y (z) = makeString(["%s%s", "poolWeight", z], a)
52+func z () = "%s__lpTokensList"
5353
5454
55-func A () = addressFromStringValue(b(this, e()))
55+func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
5656
5757
58-func B () = split(valueOrElse(getString(A(), w()), ""), a)
58+func B (C) = makeString(["%s%s", "poolWeight", C], a)
5959
6060
61-func C (D) = split(b(D, t()), a)
61+func D () = addressFromStringValue(e(this, h()))
6262
6363
64-func E (F) = addressFromStringValue(F[m])
64+func E () = split(valueOrElse(getString(D(), z()), ""), a)
6565
6666
67-func G (F) = addressFromStringValue(F[p])
67+func F (G) = split(e(G, w()), a)
6868
6969
70-func H (F) = addressFromStringValue(F[l])
70+func H (I) = addressFromStringValue(I[p])
7171
7272
73-func I (F) = addressFromStringValue(F[s])
73+func J (I) = addressFromStringValue(I[s])
7474
7575
76-func J () = "%s__config"
76+func K (I) = addressFromStringValue(I[o])
7777
7878
79-func K () = "%s%s__ratePerBlockMax__current"
79+func L (I) = addressFromStringValue(I[v])
8080
8181
82-func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a)
82+func M () = "%s__config"
8383
8484
85-func O () = "%s%s__ratePerBlock__current"
85+func N () = "%s%s__ratePerBlockMax__current"
8686
8787
88-func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a)
88+func O (P,Q) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(P), toString(Q)], a)
8989
9090
91-func Q () = "%s%s__emission__startBlock"
91+func R () = "%s%s__ratePerBlock__current"
9292
9393
94-func R () = "%s%s__emission__duration"
94+func S (P,Q) = makeString(["%s%s%d%d__ratePerBlock__start", toString(P), toString(Q)], a)
9595
9696
97-func S () = "%s%s__emission__endBlock"
97+func T () = "%s%s__emission__startBlock"
9898
9999
100-func T () = "%s__managerPublicKey"
100+func U () = "%s%s__emission__duration"
101101
102102
103-func U () = "%s__pendingManagerPublicKey"
103+func V () = "%s%s__emission__endBlock"
104104
105105
106-func V () = {
107- let W = getString(T())
108- if ($isInstanceOf(W, "String"))
106+func W () = "%s__boostCoeff"
107+
108+
109+let X = 3
110+
111+let Y = valueOrElse(getInteger(this, W()), X)
112+
113+func Z () = "%s__managerPublicKey"
114+
115+
116+func aa () = "%s__pendingManagerPublicKey"
117+
118+
119+func ab () = {
120+ let ac = getString(Z())
121+ if ($isInstanceOf(ac, "String"))
109122 then {
110- let X = W
111- fromBase58String(X)
123+ let ad = ac
124+ fromBase58String(ad)
112125 }
113- else if ($isInstanceOf(W, "Unit"))
126+ else if ($isInstanceOf(ac, "Unit"))
114127 then unit
115128 else throw("Match error")
116129 }
117130
118131
119-func Y () = {
120- let W = getString(U())
121- if ($isInstanceOf(W, "String"))
132+func ae () = {
133+ let ac = getString(aa())
134+ if ($isInstanceOf(ac, "String"))
122135 then {
123- let X = W
124- fromBase58String(X)
136+ let ad = ac
137+ fromBase58String(ad)
125138 }
126- else if ($isInstanceOf(W, "Unit"))
139+ else if ($isInstanceOf(ac, "Unit"))
127140 then unit
128141 else throw("Match error")
129142 }
130143
131144
132-func Z (aa) = {
133- let ab = throw("Permission denied")
134- let W = V()
135- if ($isInstanceOf(W, "ByteVector"))
145+func af (ag) = {
146+ let ah = d("Permission denied")
147+ let ac = ab()
148+ if ($isInstanceOf(ac, "ByteVector"))
136149 then {
137- let ac = W
138- if ((aa.callerPublicKey == ac))
150+ let ai = ac
151+ if ((ag.callerPublicKey == ai))
139152 then true
140- else ab
153+ else ah
141154 }
142- else if ($isInstanceOf(W, "Unit"))
143- then if ((aa.caller == this))
155+ else if ($isInstanceOf(ac, "Unit"))
156+ then if ((ag.caller == this))
144157 then true
145- else ab
158+ else ah
146159 else throw("Match error")
147160 }
148161
149162
150-@Callable(aa)
151-func constructor (ad,ae,af,ag,ah,ai,aj) = {
152- let ak = Z(aa)
153- if ((ak == ak))
154- then [IntegerEntry(L(ai, ag), ae), IntegerEntry(K(), ae), IntegerEntry(P(ai, ag), af), IntegerEntry(O(), af), IntegerEntry(Q(), ag), IntegerEntry(R(), ah), IntegerEntry(S(), (ag + ah)), StringEntry(e(), ad), StringEntry(J(), ("%s__" + aj))]
163+@Callable(ag)
164+func constructor (aj,ak,al,am,an,ao,ap) = {
165+ let aq = af(ag)
166+ if ((aq == aq))
167+ then [IntegerEntry(O(ao, am), ak), IntegerEntry(N(), ak), IntegerEntry(S(ao, am), al), IntegerEntry(R(), al), IntegerEntry(T(), am), IntegerEntry(U(), an), IntegerEntry(V(), (am + an)), StringEntry(h(), aj), StringEntry(M(), ("%s__" + ap))]
155168 else throw("Strict value is not equal to itself.")
156169 }
157170
158171
159172
160-@Callable(aa)
161-func constructorV2 (al) = {
162- let ak = Z(aa)
163- if ((ak == ak))
164- then $Tuple2([StringEntry(f, al)], unit)
173+@Callable(ag)
174+func constructorV2 (ar) = {
175+ let aq = af(ag)
176+ if ((aq == aq))
177+ then $Tuple2([StringEntry(i, ar)], unit)
165178 else throw("Strict value is not equal to itself.")
166179 }
167180
168181
169182
170-@Callable(aa)
171-func emit (am) = if ((0 >= am))
183+@Callable(ag)
184+func emit (as) = if ((0 >= as))
172185 then $Tuple2(nil, nil)
173186 else {
174- let an = A()
175- let F = C(an)
176- let ao = H(F)
177- let ap = I(F)
178- let aq = aa.caller
179- if (if ((aq != ao))
180- then (aq != ap)
187+ let at = D()
188+ let I = F(at)
189+ let au = K(I)
190+ let av = L(I)
191+ let aw = ag.caller
192+ if (if ((aw != au))
193+ then (aw != av)
181194 else false)
182- then throw("permissions denied")
195+ then d("permissions denied")
183196 else {
184- let aj = split(b(this, J()), a)[1]
185- let ar = fromBase58String(aj)
186- $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
197+ let ap = split(e(this, M()), a)[1]
198+ let ax = fromBase58String(ap)
199+ $Tuple2([ScriptTransfer(aw, as, ax)], [ax])
187200 }
188201 }
189202
190203
191204
192-@Callable(aa)
205+@Callable(ag)
193206 func burn () = {
194- let an = A()
195- let F = C(an)
196- let as = E(F)
197- if ((size(aa.payments) != 1))
198- then throw("exact one payment is allowed")
207+ let at = D()
208+ let I = F(at)
209+ let ay = H(I)
210+ if ((size(ag.payments) != 1))
211+ then d("exact one payment is allowed")
199212 else {
200- let at = aa.payments[0]
201- let au = value(at.assetId)
202- let av = at.amount
203- let ar = fromBase58String(split(b(this, J()), a)[1])
204- if ((au != ar))
205- then throw("invalid wxAssetId is passed")
206- else if (!(containsElement([as, i, j, k], aa.caller)))
207- then throw("permissions denied")
208- else [Burn(au, av), StringEntry(("%s%s%s__history__burn__" + toBase58String(aa.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(av)], a))]
213+ let az = ag.payments[0]
214+ let aA = value(az.assetId)
215+ let aB = az.amount
216+ let ax = fromBase58String(split(e(this, M()), a)[1])
217+ if ((aA != ax))
218+ then d("invalid wxAssetId is passed")
219+ else if (!(containsElement([ay, l, m, n], ag.caller)))
220+ then d("permissions denied")
221+ else [Burn(aA, aB), StringEntry(("%s%s%s__history__burn__" + toBase58String(ag.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(aB)], a))]
209222 }
210223 }
211224
212225
213226
214-@Callable(aa)
215-func setManager (aw) = {
216- let ak = Z(aa)
217- if ((ak == ak))
227+@Callable(ag)
228+func setManager (aC) = {
229+ let aq = af(ag)
230+ if ((aq == aq))
218231 then {
219- let ax = fromBase58String(aw)
220- if ((ax == ax))
221- then [StringEntry(U(), aw)]
232+ let aD = fromBase58String(aC)
233+ if ((aD == aD))
234+ then [StringEntry(aa(), aC)]
222235 else throw("Strict value is not equal to itself.")
223236 }
224237 else throw("Strict value is not equal to itself.")
226239
227240
228241
229-@Callable(aa)
242+@Callable(ag)
230243 func confirmManager () = {
231- let ay = Y()
232- let az = if (isDefined(ay))
244+ let aE = ae()
245+ let aF = if (isDefined(aE))
233246 then true
234- else throw("No pending manager")
235- if ((az == az))
247+ else d("No pending manager")
248+ if ((aF == aF))
236249 then {
237- let aA = if ((aa.callerPublicKey == value(ay)))
250+ let aG = if ((ag.callerPublicKey == value(aE)))
238251 then true
239- else throw("You are not pending manager")
240- if ((aA == aA))
241- then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
252+ else d("You are not pending manager")
253+ if ((aG == aG))
254+ then [StringEntry(Z(), toBase58String(value(aE))), DeleteEntry(aa())]
242255 else throw("Strict value is not equal to itself.")
243256 }
244257 else throw("Strict value is not equal to itself.")
245258 }
246259
247260
248-@Verifier(aB)
249-func aC () = {
250- let aD = {
251- let W = V()
252- if ($isInstanceOf(W, "ByteVector"))
261+
262+@Callable(ag)
263+func getBoostCoeffREADONLY () = $Tuple2(nil, Y)
264+
265+
266+@Verifier(aH)
267+func aI () = {
268+ let aJ = {
269+ let ac = ab()
270+ if ($isInstanceOf(ac, "ByteVector"))
253271 then {
254- let ac = W
255- ac
272+ let ai = ac
273+ ai
256274 }
257- else if ($isInstanceOf(W, "Unit"))
258- then aB.senderPublicKey
275+ else if ($isInstanceOf(ac, "Unit"))
276+ then aH.senderPublicKey
259277 else throw("Match error")
260278 }
261- sigVerify(aB.bodyBytes, aB.proofs[0], aD)
279+ sigVerify(aH.bodyBytes, aH.proofs[0], aJ)
262280 }
263281
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
6-func b (c,d) = valueOrErrorMessage(getString(c, d), (("mandatory this." + d) + " is not defined"))
6+func b (c) = makeString(["emission.ride:", toString(this), c], " ")
77
88
9-func e () = "%s%s__config__factoryAddress"
9+func d (c) = throw(b(c))
1010
1111
12-let f = "%s%s__config__votingVerifiedContract"
13-
14-let g = "%s%s__config__votingEmissionCandidateContract"
15-
16-let h = "%s%s__config__userPoolsContract"
17-
18-let i = addressFromStringValue(b(this, f))
19-
20-let j = addressFromStringValue(b(this, g))
21-
22-let k = addressFromStringValue(b(this, h))
23-
24-let l = 1
25-
26-let m = 2
27-
28-let n = 3
29-
30-let o = 4
31-
32-let p = 5
33-
34-let q = 6
35-
36-let r = 7
37-
38-let s = 10
39-
40-func t () = "%s__factoryConfig"
12+func e (f,g) = valueOrErrorMessage(getString(f, g), b((("mandatory this." + g) + " is not defined")))
4113
4214
43-func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
15+func h () = "%s%s__config__factoryAddress"
4416
4517
46-func w () = "%s__lpTokensList"
18+let i = "%s%s__config__votingVerifiedContract"
19+
20+let j = "%s%s__config__votingEmissionCandidateContract"
21+
22+let k = "%s%s__config__userPoolsContract"
23+
24+let l = addressFromStringValue(e(this, i))
25+
26+let m = addressFromStringValue(e(this, j))
27+
28+let n = addressFromStringValue(e(this, k))
29+
30+let o = 1
31+
32+let p = 2
33+
34+let q = 3
35+
36+let r = 4
37+
38+let s = 5
39+
40+let t = 6
41+
42+let u = 7
43+
44+let v = 10
45+
46+func w () = "%s__factoryConfig"
4747
4848
49-func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
49+func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
5050
5151
52-func y (z) = makeString(["%s%s", "poolWeight", z], a)
52+func z () = "%s__lpTokensList"
5353
5454
55-func A () = addressFromStringValue(b(this, e()))
55+func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
5656
5757
58-func B () = split(valueOrElse(getString(A(), w()), ""), a)
58+func B (C) = makeString(["%s%s", "poolWeight", C], a)
5959
6060
61-func C (D) = split(b(D, t()), a)
61+func D () = addressFromStringValue(e(this, h()))
6262
6363
64-func E (F) = addressFromStringValue(F[m])
64+func E () = split(valueOrElse(getString(D(), z()), ""), a)
6565
6666
67-func G (F) = addressFromStringValue(F[p])
67+func F (G) = split(e(G, w()), a)
6868
6969
70-func H (F) = addressFromStringValue(F[l])
70+func H (I) = addressFromStringValue(I[p])
7171
7272
73-func I (F) = addressFromStringValue(F[s])
73+func J (I) = addressFromStringValue(I[s])
7474
7575
76-func J () = "%s__config"
76+func K (I) = addressFromStringValue(I[o])
7777
7878
79-func K () = "%s%s__ratePerBlockMax__current"
79+func L (I) = addressFromStringValue(I[v])
8080
8181
82-func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a)
82+func M () = "%s__config"
8383
8484
85-func O () = "%s%s__ratePerBlock__current"
85+func N () = "%s%s__ratePerBlockMax__current"
8686
8787
88-func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a)
88+func O (P,Q) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(P), toString(Q)], a)
8989
9090
91-func Q () = "%s%s__emission__startBlock"
91+func R () = "%s%s__ratePerBlock__current"
9292
9393
94-func R () = "%s%s__emission__duration"
94+func S (P,Q) = makeString(["%s%s%d%d__ratePerBlock__start", toString(P), toString(Q)], a)
9595
9696
97-func S () = "%s%s__emission__endBlock"
97+func T () = "%s%s__emission__startBlock"
9898
9999
100-func T () = "%s__managerPublicKey"
100+func U () = "%s%s__emission__duration"
101101
102102
103-func U () = "%s__pendingManagerPublicKey"
103+func V () = "%s%s__emission__endBlock"
104104
105105
106-func V () = {
107- let W = getString(T())
108- if ($isInstanceOf(W, "String"))
106+func W () = "%s__boostCoeff"
107+
108+
109+let X = 3
110+
111+let Y = valueOrElse(getInteger(this, W()), X)
112+
113+func Z () = "%s__managerPublicKey"
114+
115+
116+func aa () = "%s__pendingManagerPublicKey"
117+
118+
119+func ab () = {
120+ let ac = getString(Z())
121+ if ($isInstanceOf(ac, "String"))
109122 then {
110- let X = W
111- fromBase58String(X)
123+ let ad = ac
124+ fromBase58String(ad)
112125 }
113- else if ($isInstanceOf(W, "Unit"))
126+ else if ($isInstanceOf(ac, "Unit"))
114127 then unit
115128 else throw("Match error")
116129 }
117130
118131
119-func Y () = {
120- let W = getString(U())
121- if ($isInstanceOf(W, "String"))
132+func ae () = {
133+ let ac = getString(aa())
134+ if ($isInstanceOf(ac, "String"))
122135 then {
123- let X = W
124- fromBase58String(X)
136+ let ad = ac
137+ fromBase58String(ad)
125138 }
126- else if ($isInstanceOf(W, "Unit"))
139+ else if ($isInstanceOf(ac, "Unit"))
127140 then unit
128141 else throw("Match error")
129142 }
130143
131144
132-func Z (aa) = {
133- let ab = throw("Permission denied")
134- let W = V()
135- if ($isInstanceOf(W, "ByteVector"))
145+func af (ag) = {
146+ let ah = d("Permission denied")
147+ let ac = ab()
148+ if ($isInstanceOf(ac, "ByteVector"))
136149 then {
137- let ac = W
138- if ((aa.callerPublicKey == ac))
150+ let ai = ac
151+ if ((ag.callerPublicKey == ai))
139152 then true
140- else ab
153+ else ah
141154 }
142- else if ($isInstanceOf(W, "Unit"))
143- then if ((aa.caller == this))
155+ else if ($isInstanceOf(ac, "Unit"))
156+ then if ((ag.caller == this))
144157 then true
145- else ab
158+ else ah
146159 else throw("Match error")
147160 }
148161
149162
150-@Callable(aa)
151-func constructor (ad,ae,af,ag,ah,ai,aj) = {
152- let ak = Z(aa)
153- if ((ak == ak))
154- then [IntegerEntry(L(ai, ag), ae), IntegerEntry(K(), ae), IntegerEntry(P(ai, ag), af), IntegerEntry(O(), af), IntegerEntry(Q(), ag), IntegerEntry(R(), ah), IntegerEntry(S(), (ag + ah)), StringEntry(e(), ad), StringEntry(J(), ("%s__" + aj))]
163+@Callable(ag)
164+func constructor (aj,ak,al,am,an,ao,ap) = {
165+ let aq = af(ag)
166+ if ((aq == aq))
167+ then [IntegerEntry(O(ao, am), ak), IntegerEntry(N(), ak), IntegerEntry(S(ao, am), al), IntegerEntry(R(), al), IntegerEntry(T(), am), IntegerEntry(U(), an), IntegerEntry(V(), (am + an)), StringEntry(h(), aj), StringEntry(M(), ("%s__" + ap))]
155168 else throw("Strict value is not equal to itself.")
156169 }
157170
158171
159172
160-@Callable(aa)
161-func constructorV2 (al) = {
162- let ak = Z(aa)
163- if ((ak == ak))
164- then $Tuple2([StringEntry(f, al)], unit)
173+@Callable(ag)
174+func constructorV2 (ar) = {
175+ let aq = af(ag)
176+ if ((aq == aq))
177+ then $Tuple2([StringEntry(i, ar)], unit)
165178 else throw("Strict value is not equal to itself.")
166179 }
167180
168181
169182
170-@Callable(aa)
171-func emit (am) = if ((0 >= am))
183+@Callable(ag)
184+func emit (as) = if ((0 >= as))
172185 then $Tuple2(nil, nil)
173186 else {
174- let an = A()
175- let F = C(an)
176- let ao = H(F)
177- let ap = I(F)
178- let aq = aa.caller
179- if (if ((aq != ao))
180- then (aq != ap)
187+ let at = D()
188+ let I = F(at)
189+ let au = K(I)
190+ let av = L(I)
191+ let aw = ag.caller
192+ if (if ((aw != au))
193+ then (aw != av)
181194 else false)
182- then throw("permissions denied")
195+ then d("permissions denied")
183196 else {
184- let aj = split(b(this, J()), a)[1]
185- let ar = fromBase58String(aj)
186- $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
197+ let ap = split(e(this, M()), a)[1]
198+ let ax = fromBase58String(ap)
199+ $Tuple2([ScriptTransfer(aw, as, ax)], [ax])
187200 }
188201 }
189202
190203
191204
192-@Callable(aa)
205+@Callable(ag)
193206 func burn () = {
194- let an = A()
195- let F = C(an)
196- let as = E(F)
197- if ((size(aa.payments) != 1))
198- then throw("exact one payment is allowed")
207+ let at = D()
208+ let I = F(at)
209+ let ay = H(I)
210+ if ((size(ag.payments) != 1))
211+ then d("exact one payment is allowed")
199212 else {
200- let at = aa.payments[0]
201- let au = value(at.assetId)
202- let av = at.amount
203- let ar = fromBase58String(split(b(this, J()), a)[1])
204- if ((au != ar))
205- then throw("invalid wxAssetId is passed")
206- else if (!(containsElement([as, i, j, k], aa.caller)))
207- then throw("permissions denied")
208- else [Burn(au, av), StringEntry(("%s%s%s__history__burn__" + toBase58String(aa.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(av)], a))]
213+ let az = ag.payments[0]
214+ let aA = value(az.assetId)
215+ let aB = az.amount
216+ let ax = fromBase58String(split(e(this, M()), a)[1])
217+ if ((aA != ax))
218+ then d("invalid wxAssetId is passed")
219+ else if (!(containsElement([ay, l, m, n], ag.caller)))
220+ then d("permissions denied")
221+ else [Burn(aA, aB), StringEntry(("%s%s%s__history__burn__" + toBase58String(ag.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(aB)], a))]
209222 }
210223 }
211224
212225
213226
214-@Callable(aa)
215-func setManager (aw) = {
216- let ak = Z(aa)
217- if ((ak == ak))
227+@Callable(ag)
228+func setManager (aC) = {
229+ let aq = af(ag)
230+ if ((aq == aq))
218231 then {
219- let ax = fromBase58String(aw)
220- if ((ax == ax))
221- then [StringEntry(U(), aw)]
232+ let aD = fromBase58String(aC)
233+ if ((aD == aD))
234+ then [StringEntry(aa(), aC)]
222235 else throw("Strict value is not equal to itself.")
223236 }
224237 else throw("Strict value is not equal to itself.")
225238 }
226239
227240
228241
229-@Callable(aa)
242+@Callable(ag)
230243 func confirmManager () = {
231- let ay = Y()
232- let az = if (isDefined(ay))
244+ let aE = ae()
245+ let aF = if (isDefined(aE))
233246 then true
234- else throw("No pending manager")
235- if ((az == az))
247+ else d("No pending manager")
248+ if ((aF == aF))
236249 then {
237- let aA = if ((aa.callerPublicKey == value(ay)))
250+ let aG = if ((ag.callerPublicKey == value(aE)))
238251 then true
239- else throw("You are not pending manager")
240- if ((aA == aA))
241- then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
252+ else d("You are not pending manager")
253+ if ((aG == aG))
254+ then [StringEntry(Z(), toBase58String(value(aE))), DeleteEntry(aa())]
242255 else throw("Strict value is not equal to itself.")
243256 }
244257 else throw("Strict value is not equal to itself.")
245258 }
246259
247260
248-@Verifier(aB)
249-func aC () = {
250- let aD = {
251- let W = V()
252- if ($isInstanceOf(W, "ByteVector"))
261+
262+@Callable(ag)
263+func getBoostCoeffREADONLY () = $Tuple2(nil, Y)
264+
265+
266+@Verifier(aH)
267+func aI () = {
268+ let aJ = {
269+ let ac = ab()
270+ if ($isInstanceOf(ac, "ByteVector"))
253271 then {
254- let ac = W
255- ac
272+ let ai = ac
273+ ai
256274 }
257- else if ($isInstanceOf(W, "Unit"))
258- then aB.senderPublicKey
275+ else if ($isInstanceOf(ac, "Unit"))
276+ then aH.senderPublicKey
259277 else throw("Match error")
260278 }
261- sigVerify(aB.bodyBytes, aB.proofs[0], aD)
279+ sigVerify(aH.bodyBytes, aH.proofs[0], aJ)
262280 }
263281

github/deemru/w8io/026f985 
90.07 ms