tx · 7gAw8n94EQfmPdhReCNbmden3Xv464U18AwRPHBQ7UBi

3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H:  -0.01300000 Waves

2023.07.19 14:41 [2672691] smart account 3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H > SELF 0.00000000 Waves

{ "type": 13, "id": "7gAw8n94EQfmPdhReCNbmden3Xv464U18AwRPHBQ7UBi", "fee": 1300000, "feeAssetId": null, "timestamp": 1689766939914, "version": 2, "chainId": 84, "sender": "3MuEfswstC6FgzjQPtVnucaffFf54bA9p3H", "senderPublicKey": "8pvajz9uNGrmuTHSzjyYc4LZJ6VkqBjwmS7HCWKsZk67", "proofs": [ "4oWURXFPEVM7rMRnA5AWsCaCWwLJXfGvHTxPUihtsNEGGiyftLZRmavqCpXcfKy8cQj4uHF89bkQykK7aX82cmZk" ], "script": "base64:BgIiCAISCQoHCAEBAQEBCBIDCgEIEgMKAQESABIAEgASAwoBATQAA1NFUAICX18BB3dyYXBFcnIBA21zZwkAuQkCCQDMCAICDmVtaXNzaW9uLnJpZGU6CQDMCAIJAKUIAQUEdGhpcwkAzAgCBQNtc2cFA25pbAIBIAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQ9nZXRTdHJpbmdPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUHYWRkcmVzcwUDa2V5CQEHd3JhcEVycgEJAKwCAgkArAICAg9tYW5kYXRvcnkgdGhpcy4FA2tleQIPIGlzIG5vdCBkZWZpbmVkARFrZXlGYWN0b3J5QWRkcmVzcwACHCVzJXNfX2NvbmZpZ19fZmFjdG9yeUFkZHJlc3MAGWtleVZvdGluZ1ZlcmlmaWVkQ29udHJhY3QCJCVzJXNfX2NvbmZpZ19fdm90aW5nVmVyaWZpZWRDb250cmFjdAAia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdAItJXMlc19fY29uZmlnX192b3RpbmdFb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vbkJvb3N0RW1pc3Npb25VcGRhdGUFA25pbAUDbmlsAwkAAAIFDmJvb3N0aW5nSW52b2tlBQ5ib29zdGluZ0ludm9rZQQOYmxvY2tUaW1lc3RhbXAEByRtYXRjaDAJAO0HAQUGaGVpZ2h0AwkAAQIFByRtYXRjaDACCUJsb2NrSW5mbwQCYmkFByRtYXRjaDAIBQJiaQl0aW1lc3RhbXAJAQh0aHJvd0VycgECGUJsb2NrSW5mby50aW1lc3RhbXAgZXJyb3IJAMwIAgkBDEludGVnZXJFbnRyeQIJARhrZXlSYXRlUGVyQmxvY2tTdGFydEZyb20CBQ5ibG9ja1RpbWVzdGFtcAUGaGVpZ2h0BQ9uZXdSYXRlUGVyQmxvY2sJAMwIAgkBDEludGVnZXJFbnRyeQIJARZrZXlSYXRlUGVyQmxvY2tDdXJyZW50AAUPbmV3UmF0ZVBlckJsb2NrBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXm5iSnx", "height": 2672691, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A6FhHvWGiBRoZ9iSu8e61aMxarkuYPJDY3cHMhzXaESN Next: none Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
2121
2222 let k = "%s%s__config__userPoolsContract"
2323
24-let l = addressFromStringValue(e(this, i))
24+let l = "%s%s__config__votingEmissionRateContract"
2525
26-let m = addressFromStringValue(e(this, j))
26+let m = addressFromStringValue(e(this, i))
2727
28-let n = addressFromStringValue(e(this, k))
28+let n = addressFromStringValue(e(this, j))
2929
30-let o = 1
30+let o = addressFromStringValue(e(this, k))
3131
32-let p = 2
32+let p = addressFromStringValue(e(this, l))
3333
34-let q = 3
34+let q = 1
3535
36-let r = 4
36+let r = 2
3737
38-let s = 5
38+let s = 3
3939
40-let t = 6
40+let t = 4
4141
42-let u = 7
42+let u = 5
4343
44-let v = 10
44+let v = 6
4545
46-func w () = "%s__factoryConfig"
46+let w = 7
47+
48+let x = 10
49+
50+func y () = "%s__factoryConfig"
4751
4852
49-func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
53+func z (A) = makeString(["%s%s%s", A, "mappings__lpAsset2PoolContract"], a)
5054
5155
52-func z () = "%s__lpTokensList"
56+func B () = "%s__lpTokensList"
5357
5458
55-func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
59+func C (A) = makeString(["%s%s%s", A, "mappings__lpAsset2PoolContract"], a)
5660
5761
58-func B (C) = makeString(["%s%s", "poolWeight", C], a)
62+func D (E) = makeString(["%s%s", "poolWeight", E], a)
5963
6064
61-func D () = addressFromStringValue(e(this, h()))
65+func F () = addressFromStringValue(e(this, h()))
6266
6367
64-func E () = split(valueOrElse(getString(D(), z()), ""), a)
68+func G () = split(valueOrElse(getString(F(), B()), ""), a)
6569
6670
67-func F (G) = split(e(G, w()), a)
71+func H (I) = split(e(I, y()), a)
6872
6973
70-func H (I) = addressFromStringValue(I[p])
74+func J (K) = addressFromStringValue(K[r])
7175
7276
73-func J (I) = addressFromStringValue(I[s])
77+func L (K) = addressFromStringValue(K[u])
7478
7579
76-func K (I) = addressFromStringValue(I[o])
80+func M (K) = addressFromStringValue(K[q])
7781
7882
79-func L (I) = addressFromStringValue(I[v])
83+func N (K) = addressFromStringValue(K[x])
8084
8185
82-func M () = "%s__config"
86+func O () = "%s__config"
8387
8488
85-func N () = "%s%s__ratePerBlockMax__current"
89+func P () = "%s%s__ratePerBlockMax__current"
8690
8791
88-func O (P,Q) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(P), toString(Q)], a)
92+func Q (R,S) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(R), toString(S)], a)
8993
9094
91-func R () = "%s%s__ratePerBlock__current"
95+func T () = "%s%s__ratePerBlock__current"
9296
9397
94-func S (P,Q) = makeString(["%s%s%d%d__ratePerBlock__start", toString(P), toString(Q)], a)
98+func U () = "%s%s__ratePerBlock__next"
9599
96100
97-func T () = "%s%s__emission__startBlock"
101+func V (R,S) = makeString(["%s%s%d%d__ratePerBlock__start", toString(R), toString(S)], a)
98102
99103
100-func U () = "%s%s__emission__duration"
104+func W () = "%s%s__emission__startBlock"
101105
102106
103-func V () = "%s%s__emission__endBlock"
107+func X () = "%s%s__emission__duration"
104108
105109
106-func W () = "%s__boostCoeff"
110+func Y () = "%s%s__emission__endBlock"
107111
108112
109-let X = 3
110-
111-let Y = valueOrElse(getInteger(this, W()), X)
112-
113-func Z () = "%s__managerPublicKey"
113+func Z () = "%s__boostCoeff"
114114
115115
116-func aa () = "%s__pendingManagerPublicKey"
116+let aa = 3
117+
118+let ab = valueOrElse(getInteger(this, Z()), aa)
119+
120+func ac () = "%s%s__gwxHoldersReward__current"
117121
118122
119-func ab () = {
120- let ac = getString(Z())
121- if ($isInstanceOf(ac, "String"))
123+func ad () = "%s%s__gwxHoldersReward__next"
124+
125+
126+func ae () = "%s__managerPublicKey"
127+
128+
129+func af () = "%s__managerVaultAddress"
130+
131+
132+func ag () = {
133+ let ah = getString(af())
134+ if ($isInstanceOf(ah, "String"))
122135 then {
123- let ad = ac
124- fromBase58String(ad)
136+ let ai = ah
137+ addressFromStringValue(ai)
125138 }
126- else if ($isInstanceOf(ac, "Unit"))
139+ else this
140+ }
141+
142+
143+func aj () = {
144+ let ak = ag()
145+ let ah = getString(ak, ae())
146+ if ($isInstanceOf(ah, "String"))
147+ then {
148+ let ai = ah
149+ fromBase58String(ai)
150+ }
151+ else if ($isInstanceOf(ah, "Unit"))
127152 then unit
128153 else throw("Match error")
129154 }
130155
131156
132-func ae () = {
133- let ac = getString(aa())
134- if ($isInstanceOf(ac, "String"))
157+func al (am) = {
158+ let an = d("Permission denied")
159+ let ah = aj()
160+ if ($isInstanceOf(ah, "ByteVector"))
135161 then {
136- let ad = ac
137- fromBase58String(ad)
162+ let ao = ah
163+ if ((am.callerPublicKey == ao))
164+ then true
165+ else an
138166 }
139- else if ($isInstanceOf(ac, "Unit"))
140- then unit
167+ else if ($isInstanceOf(ah, "Unit"))
168+ then if ((am.caller == this))
169+ then true
170+ else an
141171 else throw("Match error")
142172 }
143173
144174
145-func af (ag) = {
146- let ah = d("Permission denied")
147- let ac = ab()
148- if ($isInstanceOf(ac, "ByteVector"))
149- then {
150- let ai = ac
151- if ((ag.callerPublicKey == ai))
152- then true
153- else ah
154- }
155- else if ($isInstanceOf(ac, "Unit"))
156- then if ((ag.caller == this))
157- then true
158- else ah
159- else throw("Match error")
160- }
161-
162-
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))]
175+@Callable(am)
176+func constructor (ap,aq,ar,as,at,au,av) = {
177+ let aw = al(am)
178+ if ((aw == aw))
179+ then [IntegerEntry(Q(au, as), aq), IntegerEntry(P(), aq), IntegerEntry(V(au, as), ar), IntegerEntry(T(), ar), IntegerEntry(W(), as), IntegerEntry(X(), at), IntegerEntry(Y(), (as + at)), StringEntry(h(), ap), StringEntry(O(), ("%s__" + av))]
168180 else throw("Strict value is not equal to itself.")
169181 }
170182
171183
172184
173-@Callable(ag)
174-func constructorV2 (ar) = {
175- let aq = af(ag)
176- if ((aq == aq))
177- then $Tuple2([StringEntry(i, ar)], unit)
185+@Callable(am)
186+func constructorV2 (ax) = {
187+ let aw = al(am)
188+ if ((aw == aw))
189+ then $Tuple2([StringEntry(i, ax)], unit)
178190 else throw("Strict value is not equal to itself.")
179191 }
180192
181193
182194
183-@Callable(ag)
184-func emit (as) = if ((0 >= as))
195+@Callable(am)
196+func emit (ay) = if ((0 >= ay))
185197 then $Tuple2(nil, nil)
186198 else {
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)
199+ let az = F()
200+ let K = H(az)
201+ let aA = M(K)
202+ let aB = N(K)
203+ let aC = am.caller
204+ if (if ((aC != aA))
205+ then (aC != aB)
194206 else false)
195207 then d("permissions denied")
196208 else {
197- let ap = split(e(this, M()), a)[1]
198- let ax = fromBase58String(ap)
199- $Tuple2([ScriptTransfer(aw, as, ax)], [ax])
209+ let av = split(e(this, O()), a)[1]
210+ let aD = fromBase58String(av)
211+ $Tuple2([ScriptTransfer(aC, ay, aD)], [aD])
200212 }
201213 }
202214
203215
204216
205-@Callable(ag)
217+@Callable(am)
206218 func burn () = {
207- let at = D()
208- let I = F(at)
209- let ay = H(I)
210- if ((size(ag.payments) != 1))
219+ let az = F()
220+ let K = H(az)
221+ let aE = J(K)
222+ if ((size(am.payments) != 1))
211223 then d("exact one payment is allowed")
212224 else {
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))
225+ let aF = am.payments[0]
226+ let aG = value(aF.assetId)
227+ let aH = aF.amount
228+ let aD = fromBase58String(split(e(this, O()), a)[1])
229+ if ((aG != aD))
218230 then d("invalid wxAssetId is passed")
219- else if (!(containsElement([ay, l, m, n], ag.caller)))
231+ else if (!(containsElement([aE, m, n, o], am.caller)))
220232 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))]
233+ else [Burn(aG, aH), StringEntry(("%s%s%s__history__burn__" + toBase58String(am.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(aH)], a))]
222234 }
223235 }
224236
225237
226238
227-@Callable(ag)
228-func setManager (aC) = {
229- let aq = af(ag)
230- if ((aq == aq))
239+@Callable(am)
240+func gwxHoldersRewardUpdate () = {
241+ let az = F()
242+ let K = H(az)
243+ let aB = N(K)
244+ let aw = if ((am.caller == aB))
245+ then true
246+ else al(am)
247+ if ((aw == aw))
231248 then {
232- let aD = fromBase58String(aC)
233- if ((aD == aD))
234- then [StringEntry(aa(), aC)]
249+ let aI = valueOrElse(getInteger(ac()), 0)
250+ let aJ = valueOrElse(getInteger(ad()), aI)
251+ let aK = (aI != aJ)
252+ let aL = if (aK)
253+ then [IntegerEntry(ac(), aJ), DeleteEntry(ad())]
254+ else nil
255+ $Tuple2(aL, aK)
256+ }
257+ else throw("Strict value is not equal to itself.")
258+ }
259+
260+
261+
262+@Callable(am)
263+func getBoostCoeffREADONLY () = $Tuple2(nil, ab)
264+
265+
266+
267+@Callable(am)
268+func changeRatePerBlock (aM) = {
269+ let aN = if (if ((am.caller == p))
270+ then true
271+ else al(am))
272+ then true
273+ else d("should be invoked by votingEmissionRateContract")
274+ if ((aN == aN))
275+ then {
276+ let az = F()
277+ let K = H(az)
278+ let aE = J(K)
279+ let aO = reentrantInvoke(aE, "onBoostEmissionUpdate", nil, nil)
280+ if ((aO == aO))
281+ then {
282+ let aP = {
283+ let ah = blockInfoByHeight(height)
284+ if ($isInstanceOf(ah, "BlockInfo"))
285+ then {
286+ let aQ = ah
287+ aQ.timestamp
288+ }
289+ else d("BlockInfo.timestamp error")
290+ }
291+[IntegerEntry(V(aP, height), aM), IntegerEntry(T(), aM)]
292+ }
235293 else throw("Strict value is not equal to itself.")
236294 }
237295 else throw("Strict value is not equal to itself.")
238296 }
239297
240298
241-
242-@Callable(ag)
243-func confirmManager () = {
244- let aE = ae()
245- let aF = if (isDefined(aE))
246- then true
247- else d("No pending manager")
248- if ((aF == aF))
249- then {
250- let aG = if ((ag.callerPublicKey == value(aE)))
251- then true
252- else d("You are not pending manager")
253- if ((aG == aG))
254- then [StringEntry(Z(), toBase58String(value(aE))), DeleteEntry(aa())]
255- else throw("Strict value is not equal to itself.")
256- }
257- else throw("Strict value is not equal to itself.")
258- }
259-
260-
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"))
299+@Verifier(aR)
300+func aS () = {
301+ let aT = {
302+ let ah = aj()
303+ if ($isInstanceOf(ah, "ByteVector"))
271304 then {
272- let ai = ac
273- ai
305+ let ao = ah
306+ ao
274307 }
275- else if ($isInstanceOf(ac, "Unit"))
276- then aH.senderPublicKey
308+ else if ($isInstanceOf(ah, "Unit"))
309+ then aR.senderPublicKey
277310 else throw("Match error")
278311 }
279- sigVerify(aH.bodyBytes, aH.proofs[0], aJ)
312+ sigVerify(aR.bodyBytes, aR.proofs[0], aT)
280313 }
281314
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 func b (c) = makeString(["emission.ride:", toString(this), c], " ")
77
88
99 func d (c) = throw(b(c))
1010
1111
1212 func e (f,g) = valueOrErrorMessage(getString(f, g), b((("mandatory this." + g) + " is not defined")))
1313
1414
1515 func h () = "%s%s__config__factoryAddress"
1616
1717
1818 let i = "%s%s__config__votingVerifiedContract"
1919
2020 let j = "%s%s__config__votingEmissionCandidateContract"
2121
2222 let k = "%s%s__config__userPoolsContract"
2323
24-let l = addressFromStringValue(e(this, i))
24+let l = "%s%s__config__votingEmissionRateContract"
2525
26-let m = addressFromStringValue(e(this, j))
26+let m = addressFromStringValue(e(this, i))
2727
28-let n = addressFromStringValue(e(this, k))
28+let n = addressFromStringValue(e(this, j))
2929
30-let o = 1
30+let o = addressFromStringValue(e(this, k))
3131
32-let p = 2
32+let p = addressFromStringValue(e(this, l))
3333
34-let q = 3
34+let q = 1
3535
36-let r = 4
36+let r = 2
3737
38-let s = 5
38+let s = 3
3939
40-let t = 6
40+let t = 4
4141
42-let u = 7
42+let u = 5
4343
44-let v = 10
44+let v = 6
4545
46-func w () = "%s__factoryConfig"
46+let w = 7
47+
48+let x = 10
49+
50+func y () = "%s__factoryConfig"
4751
4852
49-func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
53+func z (A) = makeString(["%s%s%s", A, "mappings__lpAsset2PoolContract"], a)
5054
5155
52-func z () = "%s__lpTokensList"
56+func B () = "%s__lpTokensList"
5357
5458
55-func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], a)
59+func C (A) = makeString(["%s%s%s", A, "mappings__lpAsset2PoolContract"], a)
5660
5761
58-func B (C) = makeString(["%s%s", "poolWeight", C], a)
62+func D (E) = makeString(["%s%s", "poolWeight", E], a)
5963
6064
61-func D () = addressFromStringValue(e(this, h()))
65+func F () = addressFromStringValue(e(this, h()))
6266
6367
64-func E () = split(valueOrElse(getString(D(), z()), ""), a)
68+func G () = split(valueOrElse(getString(F(), B()), ""), a)
6569
6670
67-func F (G) = split(e(G, w()), a)
71+func H (I) = split(e(I, y()), a)
6872
6973
70-func H (I) = addressFromStringValue(I[p])
74+func J (K) = addressFromStringValue(K[r])
7175
7276
73-func J (I) = addressFromStringValue(I[s])
77+func L (K) = addressFromStringValue(K[u])
7478
7579
76-func K (I) = addressFromStringValue(I[o])
80+func M (K) = addressFromStringValue(K[q])
7781
7882
79-func L (I) = addressFromStringValue(I[v])
83+func N (K) = addressFromStringValue(K[x])
8084
8185
82-func M () = "%s__config"
86+func O () = "%s__config"
8387
8488
85-func N () = "%s%s__ratePerBlockMax__current"
89+func P () = "%s%s__ratePerBlockMax__current"
8690
8791
88-func O (P,Q) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(P), toString(Q)], a)
92+func Q (R,S) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(R), toString(S)], a)
8993
9094
91-func R () = "%s%s__ratePerBlock__current"
95+func T () = "%s%s__ratePerBlock__current"
9296
9397
94-func S (P,Q) = makeString(["%s%s%d%d__ratePerBlock__start", toString(P), toString(Q)], a)
98+func U () = "%s%s__ratePerBlock__next"
9599
96100
97-func T () = "%s%s__emission__startBlock"
101+func V (R,S) = makeString(["%s%s%d%d__ratePerBlock__start", toString(R), toString(S)], a)
98102
99103
100-func U () = "%s%s__emission__duration"
104+func W () = "%s%s__emission__startBlock"
101105
102106
103-func V () = "%s%s__emission__endBlock"
107+func X () = "%s%s__emission__duration"
104108
105109
106-func W () = "%s__boostCoeff"
110+func Y () = "%s%s__emission__endBlock"
107111
108112
109-let X = 3
110-
111-let Y = valueOrElse(getInteger(this, W()), X)
112-
113-func Z () = "%s__managerPublicKey"
113+func Z () = "%s__boostCoeff"
114114
115115
116-func aa () = "%s__pendingManagerPublicKey"
116+let aa = 3
117+
118+let ab = valueOrElse(getInteger(this, Z()), aa)
119+
120+func ac () = "%s%s__gwxHoldersReward__current"
117121
118122
119-func ab () = {
120- let ac = getString(Z())
121- if ($isInstanceOf(ac, "String"))
123+func ad () = "%s%s__gwxHoldersReward__next"
124+
125+
126+func ae () = "%s__managerPublicKey"
127+
128+
129+func af () = "%s__managerVaultAddress"
130+
131+
132+func ag () = {
133+ let ah = getString(af())
134+ if ($isInstanceOf(ah, "String"))
122135 then {
123- let ad = ac
124- fromBase58String(ad)
136+ let ai = ah
137+ addressFromStringValue(ai)
125138 }
126- else if ($isInstanceOf(ac, "Unit"))
139+ else this
140+ }
141+
142+
143+func aj () = {
144+ let ak = ag()
145+ let ah = getString(ak, ae())
146+ if ($isInstanceOf(ah, "String"))
147+ then {
148+ let ai = ah
149+ fromBase58String(ai)
150+ }
151+ else if ($isInstanceOf(ah, "Unit"))
127152 then unit
128153 else throw("Match error")
129154 }
130155
131156
132-func ae () = {
133- let ac = getString(aa())
134- if ($isInstanceOf(ac, "String"))
157+func al (am) = {
158+ let an = d("Permission denied")
159+ let ah = aj()
160+ if ($isInstanceOf(ah, "ByteVector"))
135161 then {
136- let ad = ac
137- fromBase58String(ad)
162+ let ao = ah
163+ if ((am.callerPublicKey == ao))
164+ then true
165+ else an
138166 }
139- else if ($isInstanceOf(ac, "Unit"))
140- then unit
167+ else if ($isInstanceOf(ah, "Unit"))
168+ then if ((am.caller == this))
169+ then true
170+ else an
141171 else throw("Match error")
142172 }
143173
144174
145-func af (ag) = {
146- let ah = d("Permission denied")
147- let ac = ab()
148- if ($isInstanceOf(ac, "ByteVector"))
149- then {
150- let ai = ac
151- if ((ag.callerPublicKey == ai))
152- then true
153- else ah
154- }
155- else if ($isInstanceOf(ac, "Unit"))
156- then if ((ag.caller == this))
157- then true
158- else ah
159- else throw("Match error")
160- }
161-
162-
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))]
175+@Callable(am)
176+func constructor (ap,aq,ar,as,at,au,av) = {
177+ let aw = al(am)
178+ if ((aw == aw))
179+ then [IntegerEntry(Q(au, as), aq), IntegerEntry(P(), aq), IntegerEntry(V(au, as), ar), IntegerEntry(T(), ar), IntegerEntry(W(), as), IntegerEntry(X(), at), IntegerEntry(Y(), (as + at)), StringEntry(h(), ap), StringEntry(O(), ("%s__" + av))]
168180 else throw("Strict value is not equal to itself.")
169181 }
170182
171183
172184
173-@Callable(ag)
174-func constructorV2 (ar) = {
175- let aq = af(ag)
176- if ((aq == aq))
177- then $Tuple2([StringEntry(i, ar)], unit)
185+@Callable(am)
186+func constructorV2 (ax) = {
187+ let aw = al(am)
188+ if ((aw == aw))
189+ then $Tuple2([StringEntry(i, ax)], unit)
178190 else throw("Strict value is not equal to itself.")
179191 }
180192
181193
182194
183-@Callable(ag)
184-func emit (as) = if ((0 >= as))
195+@Callable(am)
196+func emit (ay) = if ((0 >= ay))
185197 then $Tuple2(nil, nil)
186198 else {
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)
199+ let az = F()
200+ let K = H(az)
201+ let aA = M(K)
202+ let aB = N(K)
203+ let aC = am.caller
204+ if (if ((aC != aA))
205+ then (aC != aB)
194206 else false)
195207 then d("permissions denied")
196208 else {
197- let ap = split(e(this, M()), a)[1]
198- let ax = fromBase58String(ap)
199- $Tuple2([ScriptTransfer(aw, as, ax)], [ax])
209+ let av = split(e(this, O()), a)[1]
210+ let aD = fromBase58String(av)
211+ $Tuple2([ScriptTransfer(aC, ay, aD)], [aD])
200212 }
201213 }
202214
203215
204216
205-@Callable(ag)
217+@Callable(am)
206218 func burn () = {
207- let at = D()
208- let I = F(at)
209- let ay = H(I)
210- if ((size(ag.payments) != 1))
219+ let az = F()
220+ let K = H(az)
221+ let aE = J(K)
222+ if ((size(am.payments) != 1))
211223 then d("exact one payment is allowed")
212224 else {
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))
225+ let aF = am.payments[0]
226+ let aG = value(aF.assetId)
227+ let aH = aF.amount
228+ let aD = fromBase58String(split(e(this, O()), a)[1])
229+ if ((aG != aD))
218230 then d("invalid wxAssetId is passed")
219- else if (!(containsElement([ay, l, m, n], ag.caller)))
231+ else if (!(containsElement([aE, m, n, o], am.caller)))
220232 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))]
233+ else [Burn(aG, aH), StringEntry(("%s%s%s__history__burn__" + toBase58String(am.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(aH)], a))]
222234 }
223235 }
224236
225237
226238
227-@Callable(ag)
228-func setManager (aC) = {
229- let aq = af(ag)
230- if ((aq == aq))
239+@Callable(am)
240+func gwxHoldersRewardUpdate () = {
241+ let az = F()
242+ let K = H(az)
243+ let aB = N(K)
244+ let aw = if ((am.caller == aB))
245+ then true
246+ else al(am)
247+ if ((aw == aw))
231248 then {
232- let aD = fromBase58String(aC)
233- if ((aD == aD))
234- then [StringEntry(aa(), aC)]
249+ let aI = valueOrElse(getInteger(ac()), 0)
250+ let aJ = valueOrElse(getInteger(ad()), aI)
251+ let aK = (aI != aJ)
252+ let aL = if (aK)
253+ then [IntegerEntry(ac(), aJ), DeleteEntry(ad())]
254+ else nil
255+ $Tuple2(aL, aK)
256+ }
257+ else throw("Strict value is not equal to itself.")
258+ }
259+
260+
261+
262+@Callable(am)
263+func getBoostCoeffREADONLY () = $Tuple2(nil, ab)
264+
265+
266+
267+@Callable(am)
268+func changeRatePerBlock (aM) = {
269+ let aN = if (if ((am.caller == p))
270+ then true
271+ else al(am))
272+ then true
273+ else d("should be invoked by votingEmissionRateContract")
274+ if ((aN == aN))
275+ then {
276+ let az = F()
277+ let K = H(az)
278+ let aE = J(K)
279+ let aO = reentrantInvoke(aE, "onBoostEmissionUpdate", nil, nil)
280+ if ((aO == aO))
281+ then {
282+ let aP = {
283+ let ah = blockInfoByHeight(height)
284+ if ($isInstanceOf(ah, "BlockInfo"))
285+ then {
286+ let aQ = ah
287+ aQ.timestamp
288+ }
289+ else d("BlockInfo.timestamp error")
290+ }
291+[IntegerEntry(V(aP, height), aM), IntegerEntry(T(), aM)]
292+ }
235293 else throw("Strict value is not equal to itself.")
236294 }
237295 else throw("Strict value is not equal to itself.")
238296 }
239297
240298
241-
242-@Callable(ag)
243-func confirmManager () = {
244- let aE = ae()
245- let aF = if (isDefined(aE))
246- then true
247- else d("No pending manager")
248- if ((aF == aF))
249- then {
250- let aG = if ((ag.callerPublicKey == value(aE)))
251- then true
252- else d("You are not pending manager")
253- if ((aG == aG))
254- then [StringEntry(Z(), toBase58String(value(aE))), DeleteEntry(aa())]
255- else throw("Strict value is not equal to itself.")
256- }
257- else throw("Strict value is not equal to itself.")
258- }
259-
260-
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"))
299+@Verifier(aR)
300+func aS () = {
301+ let aT = {
302+ let ah = aj()
303+ if ($isInstanceOf(ah, "ByteVector"))
271304 then {
272- let ai = ac
273- ai
305+ let ao = ah
306+ ao
274307 }
275- else if ($isInstanceOf(ac, "Unit"))
276- then aH.senderPublicKey
308+ else if ($isInstanceOf(ah, "Unit"))
309+ then aR.senderPublicKey
277310 else throw("Match error")
278311 }
279- sigVerify(aH.bodyBytes, aH.proofs[0], aJ)
312+ sigVerify(aR.bodyBytes, aR.proofs[0], aT)
280313 }
281314

github/deemru/w8io/026f985 
75.08 ms