tx · ALCrLo9YiCMcXbUSChcopoe1h3WRKQs82LuAgxhGQuip

3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA:  -0.01300000 Waves

2023.03.22 14:27 [2501162] smart account 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA > SELF 0.00000000 Waves

{ "type": 13, "id": "ALCrLo9YiCMcXbUSChcopoe1h3WRKQs82LuAgxhGQuip", "fee": 1300000, "feeAssetId": null, "timestamp": 1679484477773, "version": 2, "chainId": 84, "sender": "3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA", "senderPublicKey": "H19CeJVbUnfsK8EYs8K6fHxwBH7pLyxw8WCDFu7D4rGQ", "proofs": [ "2T4RyaDVRyo3Q8vDyvq3vaeH6exjUw94tpQ9dsuoYoykse1N6X6AeC2Y8w2HyvWk5MffxuKnt2aY6cjrHme7uREG" ], "script": "base64:AAIFAAAAAAAABfAIAhIJCgcIAQEBAQEIEgMKAQgSAwoBARIAEgMKAQgSACIDU0VQIg9nZXRTdHJpbmdPckZhaWwiB2FkZHJlc3MiA2tleSIRa2V5RmFjdG9yeUFkZHJlc3MiGWtleVZvdGluZ1ZlcmlmaWVkQ29udHJhY3QiImtleVZvdGluZ0VtaXNzaW9uQ2FuZGlkYXRlQ29udHJhY3QiFGtleVVzZXJQb29sc0NvbnRyYWN0IhZ2b3RpbmdWZXJpZmllZENvbnRyYWN0Ih92b3RpbmdFbWlzc2lvbkNhbmRpZGF0ZUNvbnRyYWN0IhF1c2VyUG9vbHNDb250cmFjdCIYSWR4RmFjdG9yeUNmZ1N0YWtpbmdEYXBwIhlJZHhGYWN0b3J5Q2ZnQm9vc3RpbmdEYXBwIhRJZHhGYWN0b3J5Q2ZnSWRvRGFwcCIVSWR4RmFjdG9yeUNmZ1RlYW1EYXBwIhlJZHhGYWN0b3J5Q2ZnRW1pc3Npb25EYXBwIhVJZHhGYWN0b3J5Q2ZnUmVzdERhcHAiGUlkeEZhY3RvcnlDZmd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ABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAABVQAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJhQgEAAAACYUMAAAAABAAAAAJhRAQAAAABVwkBAAAAAVYAAAAAAwkAAAEAAAACBQAAAAFXAgAAAApCeXRlVmVjdG9yBAAAAAJhYwUAAAABVwUAAAACYWMDCQAAAQAAAAIFAAAAAVcCAAAABFVuaXQIBQAAAAJhQgAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmFCAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYUIAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJhRKkqZmI=", "height": 2501162, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6FMJmT83kn8ie5uWL6L4yPBdHCBniQjNKm6PBZVbXfBW Next: FcLZZNR1cJ4JVNL3waJGxcT1KkYxxEyv4ucjB7vG2xMc Diff:
OldNewDifferences
9797 func S () = "%s%s__emission__endBlock"
9898
9999
100-func T () = "%s__boostCoeff"
100+func T () = "%s__managerPublicKey"
101101
102102
103-let U = 3
104-
105-let V = valueOrElse(getInteger(this, T()), U)
106-
107-func W () = "%s__managerPublicKey"
103+func U () = "%s__pendingManagerPublicKey"
108104
109105
110-func X () = "%s__pendingManagerPublicKey"
111-
112-
113-func Y () = {
114- let Z = getString(W())
115- if ($isInstanceOf(Z, "String"))
106+func V () = {
107+ let W = getString(T())
108+ if ($isInstanceOf(W, "String"))
116109 then {
117- let aa = Z
118- fromBase58String(aa)
110+ let X = W
111+ fromBase58String(X)
119112 }
120- else if ($isInstanceOf(Z, "Unit"))
113+ else if ($isInstanceOf(W, "Unit"))
121114 then unit
122115 else throw("Match error")
123116 }
124117
125118
126-func ab () = {
127- let Z = getString(X())
128- if ($isInstanceOf(Z, "String"))
119+func Y () = {
120+ let W = getString(U())
121+ if ($isInstanceOf(W, "String"))
129122 then {
130- let aa = Z
131- fromBase58String(aa)
123+ let X = W
124+ fromBase58String(X)
132125 }
133- else if ($isInstanceOf(Z, "Unit"))
126+ else if ($isInstanceOf(W, "Unit"))
134127 then unit
135128 else throw("Match error")
136129 }
137130
138131
139-func ac (ad) = {
140- let ae = throw("Permission denied")
141- let Z = Y()
142- if ($isInstanceOf(Z, "ByteVector"))
132+func Z (aa) = {
133+ let ab = throw("Permission denied")
134+ let W = V()
135+ if ($isInstanceOf(W, "ByteVector"))
143136 then {
144- let af = Z
145- if ((ad.callerPublicKey == af))
137+ let ac = W
138+ if ((aa.callerPublicKey == ac))
146139 then true
147- else ae
140+ else ab
148141 }
149- else if ($isInstanceOf(Z, "Unit"))
150- then if ((ad.caller == this))
142+ else if ($isInstanceOf(W, "Unit"))
143+ then if ((aa.caller == this))
151144 then true
152- else ae
145+ else ab
153146 else throw("Match error")
154147 }
155148
156149
157-@Callable(ad)
158-func constructor (ag,ah,ai,aj,ak,al,am) = {
159- let an = ac(ad)
160- if ((an == an))
161- then [IntegerEntry(L(al, aj), ah), IntegerEntry(K(), ah), IntegerEntry(P(al, aj), ai), IntegerEntry(O(), ai), IntegerEntry(Q(), aj), IntegerEntry(R(), ak), IntegerEntry(S(), (aj + ak)), StringEntry(e(), ag), StringEntry(J(), ("%s__" + am))]
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))]
162155 else throw("Strict value is not equal to itself.")
163156 }
164157
165158
166159
167-@Callable(ad)
168-func constructorV2 (ao) = {
169- let an = ac(ad)
170- if ((an == an))
171- then $Tuple2([StringEntry(f, ao)], unit)
160+@Callable(aa)
161+func constructorV2 (al) = {
162+ let ak = Z(aa)
163+ if ((ak == ak))
164+ then $Tuple2([StringEntry(f, al)], unit)
172165 else throw("Strict value is not equal to itself.")
173166 }
174167
175168
176169
177-@Callable(ad)
178-func emit (ap) = if ((0 >= ap))
170+@Callable(aa)
171+func emit (am) = if ((0 >= am))
179172 then $Tuple2(nil, nil)
180173 else {
181- let aq = A()
182- let F = C(aq)
183- let ar = H(F)
184- let as = I(F)
185- let at = ad.caller
186- if (if ((at != ar))
187- then (at != as)
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)
188181 else false)
189182 then throw("permissions denied")
190183 else {
191- let am = split(b(this, J()), a)[1]
192- let au = fromBase58String(am)
193- $Tuple2([ScriptTransfer(at, ap, au)], [au])
184+ let aj = split(b(this, J()), a)[1]
185+ let ar = fromBase58String(aj)
186+ $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
194187 }
195188 }
196189
197190
198191
199-@Callable(ad)
192+@Callable(aa)
200193 func burn () = {
201- let aq = A()
202- let F = C(aq)
203- let av = E(F)
204- if ((size(ad.payments) != 1))
194+ let an = A()
195+ let F = C(an)
196+ let as = E(F)
197+ if ((size(aa.payments) != 1))
205198 then throw("exact one payment is allowed")
206199 else {
207- let aw = ad.payments[0]
208- let ax = value(aw.assetId)
209- let ay = aw.amount
210- let au = fromBase58String(split(b(this, J()), a)[1])
211- if ((ax != au))
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))
212205 then throw("invalid wxAssetId is passed")
213- else if (!(containsElement([av, i, j, k], ad.caller)))
206+ else if (!(containsElement([as, i, j, k], aa.caller)))
214207 then throw("permissions denied")
215- else [Burn(ax, ay), StringEntry(("%s%s%s__history__burn__" + toBase58String(ad.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(ay)], a))]
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))]
216209 }
217210 }
218211
219212
220213
221-@Callable(ad)
222-func setManager (az) = {
223- let an = ac(ad)
224- if ((an == an))
214+@Callable(aa)
215+func setManager (aw) = {
216+ let ak = Z(aa)
217+ if ((ak == ak))
225218 then {
226- let aA = fromBase58String(az)
227- if ((aA == aA))
228- then [StringEntry(X(), az)]
219+ let ax = fromBase58String(aw)
220+ if ((ax == ax))
221+ then [StringEntry(U(), aw)]
229222 else throw("Strict value is not equal to itself.")
230223 }
231224 else throw("Strict value is not equal to itself.")
233226
234227
235228
236-@Callable(ad)
229+@Callable(aa)
237230 func confirmManager () = {
238- let aB = ab()
239- let aC = if (isDefined(aB))
231+ let ay = Y()
232+ let az = if (isDefined(ay))
240233 then true
241234 else throw("No pending manager")
242- if ((aC == aC))
235+ if ((az == az))
243236 then {
244- let aD = if ((ad.callerPublicKey == value(aB)))
237+ let aA = if ((aa.callerPublicKey == value(ay)))
245238 then true
246239 else throw("You are not pending manager")
247- if ((aD == aD))
248- then [StringEntry(W(), toBase58String(value(aB))), DeleteEntry(X())]
240+ if ((aA == aA))
241+ then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
249242 else throw("Strict value is not equal to itself.")
250243 }
251244 else throw("Strict value is not equal to itself.")
252245 }
253246
254247
255-
256-@Callable(ad)
257-func getBoostCoeffREADONLY () = $Tuple2(nil, V)
258-
259-
260-@Verifier(aE)
261-func aF () = {
262- let aG = {
263- let Z = Y()
264- if ($isInstanceOf(Z, "ByteVector"))
248+@Verifier(aB)
249+func aC () = {
250+ let aD = {
251+ let W = V()
252+ if ($isInstanceOf(W, "ByteVector"))
265253 then {
266- let af = Z
267- af
254+ let ac = W
255+ ac
268256 }
269- else if ($isInstanceOf(Z, "Unit"))
270- then aE.senderPublicKey
257+ else if ($isInstanceOf(W, "Unit"))
258+ then aB.senderPublicKey
271259 else throw("Match error")
272260 }
273- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
261+ sigVerify(aB.bodyBytes, aB.proofs[0], aD)
274262 }
275263
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 func b (c,d) = valueOrErrorMessage(getString(c, d), (("mandatory this." + d) + " is not defined"))
77
88
99 func e () = "%s%s__config__factoryAddress"
1010
1111
1212 let f = "%s%s__config__votingVerifiedContract"
1313
1414 let g = "%s%s__config__votingEmissionCandidateContract"
1515
1616 let h = "%s%s__config__userPoolsContract"
1717
1818 let i = addressFromStringValue(b(this, f))
1919
2020 let j = addressFromStringValue(b(this, g))
2121
2222 let k = addressFromStringValue(b(this, h))
2323
2424 let l = 1
2525
2626 let m = 2
2727
2828 let n = 3
2929
3030 let o = 4
3131
3232 let p = 5
3333
3434 let q = 6
3535
3636 let r = 7
3737
3838 let s = 10
3939
4040 func t () = "%s__factoryConfig"
4141
4242
4343 func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
4444
4545
4646 func w () = "%s__lpTokensList"
4747
4848
4949 func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
5050
5151
5252 func y (z) = makeString(["%s%s", "poolWeight", z], a)
5353
5454
5555 func A () = addressFromStringValue(b(this, e()))
5656
5757
5858 func B () = split(valueOrElse(getString(A(), w()), ""), a)
5959
6060
6161 func C (D) = split(b(D, t()), a)
6262
6363
6464 func E (F) = addressFromStringValue(F[m])
6565
6666
6767 func G (F) = addressFromStringValue(F[p])
6868
6969
7070 func H (F) = addressFromStringValue(F[l])
7171
7272
7373 func I (F) = addressFromStringValue(F[s])
7474
7575
7676 func J () = "%s__config"
7777
7878
7979 func K () = "%s%s__ratePerBlockMax__current"
8080
8181
8282 func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a)
8383
8484
8585 func O () = "%s%s__ratePerBlock__current"
8686
8787
8888 func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a)
8989
9090
9191 func Q () = "%s%s__emission__startBlock"
9292
9393
9494 func R () = "%s%s__emission__duration"
9595
9696
9797 func S () = "%s%s__emission__endBlock"
9898
9999
100-func T () = "%s__boostCoeff"
100+func T () = "%s__managerPublicKey"
101101
102102
103-let U = 3
104-
105-let V = valueOrElse(getInteger(this, T()), U)
106-
107-func W () = "%s__managerPublicKey"
103+func U () = "%s__pendingManagerPublicKey"
108104
109105
110-func X () = "%s__pendingManagerPublicKey"
111-
112-
113-func Y () = {
114- let Z = getString(W())
115- if ($isInstanceOf(Z, "String"))
106+func V () = {
107+ let W = getString(T())
108+ if ($isInstanceOf(W, "String"))
116109 then {
117- let aa = Z
118- fromBase58String(aa)
110+ let X = W
111+ fromBase58String(X)
119112 }
120- else if ($isInstanceOf(Z, "Unit"))
113+ else if ($isInstanceOf(W, "Unit"))
121114 then unit
122115 else throw("Match error")
123116 }
124117
125118
126-func ab () = {
127- let Z = getString(X())
128- if ($isInstanceOf(Z, "String"))
119+func Y () = {
120+ let W = getString(U())
121+ if ($isInstanceOf(W, "String"))
129122 then {
130- let aa = Z
131- fromBase58String(aa)
123+ let X = W
124+ fromBase58String(X)
132125 }
133- else if ($isInstanceOf(Z, "Unit"))
126+ else if ($isInstanceOf(W, "Unit"))
134127 then unit
135128 else throw("Match error")
136129 }
137130
138131
139-func ac (ad) = {
140- let ae = throw("Permission denied")
141- let Z = Y()
142- if ($isInstanceOf(Z, "ByteVector"))
132+func Z (aa) = {
133+ let ab = throw("Permission denied")
134+ let W = V()
135+ if ($isInstanceOf(W, "ByteVector"))
143136 then {
144- let af = Z
145- if ((ad.callerPublicKey == af))
137+ let ac = W
138+ if ((aa.callerPublicKey == ac))
146139 then true
147- else ae
140+ else ab
148141 }
149- else if ($isInstanceOf(Z, "Unit"))
150- then if ((ad.caller == this))
142+ else if ($isInstanceOf(W, "Unit"))
143+ then if ((aa.caller == this))
151144 then true
152- else ae
145+ else ab
153146 else throw("Match error")
154147 }
155148
156149
157-@Callable(ad)
158-func constructor (ag,ah,ai,aj,ak,al,am) = {
159- let an = ac(ad)
160- if ((an == an))
161- then [IntegerEntry(L(al, aj), ah), IntegerEntry(K(), ah), IntegerEntry(P(al, aj), ai), IntegerEntry(O(), ai), IntegerEntry(Q(), aj), IntegerEntry(R(), ak), IntegerEntry(S(), (aj + ak)), StringEntry(e(), ag), StringEntry(J(), ("%s__" + am))]
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))]
162155 else throw("Strict value is not equal to itself.")
163156 }
164157
165158
166159
167-@Callable(ad)
168-func constructorV2 (ao) = {
169- let an = ac(ad)
170- if ((an == an))
171- then $Tuple2([StringEntry(f, ao)], unit)
160+@Callable(aa)
161+func constructorV2 (al) = {
162+ let ak = Z(aa)
163+ if ((ak == ak))
164+ then $Tuple2([StringEntry(f, al)], unit)
172165 else throw("Strict value is not equal to itself.")
173166 }
174167
175168
176169
177-@Callable(ad)
178-func emit (ap) = if ((0 >= ap))
170+@Callable(aa)
171+func emit (am) = if ((0 >= am))
179172 then $Tuple2(nil, nil)
180173 else {
181- let aq = A()
182- let F = C(aq)
183- let ar = H(F)
184- let as = I(F)
185- let at = ad.caller
186- if (if ((at != ar))
187- then (at != as)
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)
188181 else false)
189182 then throw("permissions denied")
190183 else {
191- let am = split(b(this, J()), a)[1]
192- let au = fromBase58String(am)
193- $Tuple2([ScriptTransfer(at, ap, au)], [au])
184+ let aj = split(b(this, J()), a)[1]
185+ let ar = fromBase58String(aj)
186+ $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
194187 }
195188 }
196189
197190
198191
199-@Callable(ad)
192+@Callable(aa)
200193 func burn () = {
201- let aq = A()
202- let F = C(aq)
203- let av = E(F)
204- if ((size(ad.payments) != 1))
194+ let an = A()
195+ let F = C(an)
196+ let as = E(F)
197+ if ((size(aa.payments) != 1))
205198 then throw("exact one payment is allowed")
206199 else {
207- let aw = ad.payments[0]
208- let ax = value(aw.assetId)
209- let ay = aw.amount
210- let au = fromBase58String(split(b(this, J()), a)[1])
211- if ((ax != au))
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))
212205 then throw("invalid wxAssetId is passed")
213- else if (!(containsElement([av, i, j, k], ad.caller)))
206+ else if (!(containsElement([as, i, j, k], aa.caller)))
214207 then throw("permissions denied")
215- else [Burn(ax, ay), StringEntry(("%s%s%s__history__burn__" + toBase58String(ad.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(ay)], a))]
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))]
216209 }
217210 }
218211
219212
220213
221-@Callable(ad)
222-func setManager (az) = {
223- let an = ac(ad)
224- if ((an == an))
214+@Callable(aa)
215+func setManager (aw) = {
216+ let ak = Z(aa)
217+ if ((ak == ak))
225218 then {
226- let aA = fromBase58String(az)
227- if ((aA == aA))
228- then [StringEntry(X(), az)]
219+ let ax = fromBase58String(aw)
220+ if ((ax == ax))
221+ then [StringEntry(U(), aw)]
229222 else throw("Strict value is not equal to itself.")
230223 }
231224 else throw("Strict value is not equal to itself.")
232225 }
233226
234227
235228
236-@Callable(ad)
229+@Callable(aa)
237230 func confirmManager () = {
238- let aB = ab()
239- let aC = if (isDefined(aB))
231+ let ay = Y()
232+ let az = if (isDefined(ay))
240233 then true
241234 else throw("No pending manager")
242- if ((aC == aC))
235+ if ((az == az))
243236 then {
244- let aD = if ((ad.callerPublicKey == value(aB)))
237+ let aA = if ((aa.callerPublicKey == value(ay)))
245238 then true
246239 else throw("You are not pending manager")
247- if ((aD == aD))
248- then [StringEntry(W(), toBase58String(value(aB))), DeleteEntry(X())]
240+ if ((aA == aA))
241+ then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
249242 else throw("Strict value is not equal to itself.")
250243 }
251244 else throw("Strict value is not equal to itself.")
252245 }
253246
254247
255-
256-@Callable(ad)
257-func getBoostCoeffREADONLY () = $Tuple2(nil, V)
258-
259-
260-@Verifier(aE)
261-func aF () = {
262- let aG = {
263- let Z = Y()
264- if ($isInstanceOf(Z, "ByteVector"))
248+@Verifier(aB)
249+func aC () = {
250+ let aD = {
251+ let W = V()
252+ if ($isInstanceOf(W, "ByteVector"))
265253 then {
266- let af = Z
267- af
254+ let ac = W
255+ ac
268256 }
269- else if ($isInstanceOf(Z, "Unit"))
270- then aE.senderPublicKey
257+ else if ($isInstanceOf(W, "Unit"))
258+ then aB.senderPublicKey
271259 else throw("Match error")
272260 }
273- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
261+ sigVerify(aB.bodyBytes, aB.proofs[0], aD)
274262 }
275263

github/deemru/w8io/026f985 
69.74 ms