tx · GEwEFzibKCDXtAtV7KGiifN6KR3ARsg55brdcDWRsw29

3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA:  -0.01300000 Waves

2023.01.16 12:49 [2407343] smart account 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA > SELF 0.00000000 Waves

{ "type": 13, "id": "GEwEFzibKCDXtAtV7KGiifN6KR3ARsg55brdcDWRsw29", "fee": 1300000, "feeAssetId": null, "timestamp": 1673862608004, "version": 1, "sender": "3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA", "senderPublicKey": "H19CeJVbUnfsK8EYs8K6fHxwBH7pLyxw8WCDFu7D4rGQ", "proofs": [ "xAKinFTdZbdyxLBf7Ke8kcpwBQFcP9gwHjJ9HAbVgta8jvxYdWeg9SL86vRDV97LNphdtgzXb8qwtAMJZsLMdkb" ], "script": "base64:AAIFAAAAAAAABfAIAhIJCgcIAQEBAQEIEgMKAQgSAwoBARIAEgMKAQgSACIDU0VQIg9nZXRTdHJpbmdPckZhaWwiB2FkZHJlc3MiA2tleSIRa2V5RmFjdG9yeUFkZHJlc3MiGWtleVZvdGluZ1ZlcmlmaWVkQ29udHJhY3QiImtleVZvdGluZ0VtaXNzaW9uQ2FuZGlkYXRlQ29udHJhY3QiFGtleVVzZXJQb29sc0NvbnRyYWN0IhZ2b3RpbmdWZXJpZmllZENvbnRyYWN0Ih92b3RpbmdFbWlzc2lvbkNhbmRpZGF0ZUNvbnRyYWN0IhF1c2VyUG9vbHNDb250cmFjdCIYSWR4RmFjdG9yeUNmZ1N0YWtpbmdEYXBwIhlJZHhGYWN0b3J5Q2ZnQm9vc3RpbmdEYXBwIhRJZHhGYWN0b3J5Q2ZnSWRvRGFwcCIVSWR4RmFjdG9yeUNmZ1RlYW1EYXBwIhlJZHhGYWN0b3J5Q2ZnRW1pc3Npb25EYXBwIhVJZHhGYWN0b3J5Q2ZnUmVzdERhcHAiGUlkeEZhY3RvcnlDZmdTbGlwcGFnZ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AAAALRGVsZXRlRW50cnkAAAABCQEAAAABVQAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJhQgEAAAACYUMAAAAABAAAAAJhRAQAAAABVwkBAAAAAVYAAAAAAwkAAAEAAAACBQAAAAFXAgAAAApCeXRlVmVjdG9yBAAAAAJhYwUAAAABVwUAAAACYWMDCQAAAQAAAAIFAAAAAVcCAAAABFVuaXQIBQAAAAJhQgAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmFCAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYUIAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJhRKkqZmI=", "chainId": 84, "height": 2407343, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J56AUVLsHq1Hy5bvgbRZpuckeZrFpV2dkfW7yvKeY7G6 Next: Ayb9pKfxTvDWNPNkn58SfFd2bbHqSTPHM2WBLwGnm4MQ Diff:
OldNewDifferences
1313
1414 let g = "%s%s__config__votingEmissionCandidateContract"
1515
16-let h = addressFromStringValue(b(this, f))
16+let h = "%s%s__config__userPoolsContract"
1717
18-let i = addressFromStringValue(b(this, g))
18+let i = addressFromStringValue(b(this, f))
1919
20-let j = 1
20+let j = addressFromStringValue(b(this, g))
2121
22-let k = 2
22+let k = addressFromStringValue(b(this, h))
2323
24-let l = 3
24+let l = 1
2525
26-let m = 4
26+let m = 2
2727
28-let n = 5
28+let n = 3
2929
30-let o = 6
30+let o = 4
3131
32-let p = 7
32+let p = 5
3333
34-let q = 10
34+let q = 6
3535
36-func r () = "%s__factoryConfig"
36+let r = 7
37+
38+let s = 10
39+
40+func t () = "%s__factoryConfig"
3741
3842
39-func s (t) = makeString(["%s%s%s", t, "mappings__lpAsset2PoolContract"], a)
43+func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
4044
4145
42-func u () = "%s__lpTokensList"
46+func w () = "%s__lpTokensList"
4347
4448
45-func v (t) = makeString(["%s%s%s", t, "mappings__lpAsset2PoolContract"], a)
49+func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
4650
4751
48-func w (x) = makeString(["%s%s", "poolWeight", x], a)
52+func y (z) = makeString(["%s%s", "poolWeight", z], a)
4953
5054
51-func y () = addressFromStringValue(b(this, e()))
55+func A () = addressFromStringValue(b(this, e()))
5256
5357
54-func z () = split(valueOrElse(getString(y(), u()), ""), a)
58+func B () = split(valueOrElse(getString(A(), w()), ""), a)
5559
5660
57-func A (B) = split(b(B, r()), a)
61+func C (D) = split(b(D, t()), a)
5862
5963
60-func C (D) = addressFromStringValue(D[k])
64+func E (F) = addressFromStringValue(F[m])
6165
6266
63-func E (D) = addressFromStringValue(D[n])
67+func G (F) = addressFromStringValue(F[p])
6468
6569
66-func F (D) = addressFromStringValue(D[j])
70+func H (F) = addressFromStringValue(F[l])
6771
6872
69-func G (D) = addressFromStringValue(D[q])
73+func I (F) = addressFromStringValue(F[s])
7074
7175
72-func H () = "%s__config"
76+func J () = "%s__config"
7377
7478
75-func I () = "%s%s__ratePerBlockMax__current"
79+func K () = "%s%s__ratePerBlockMax__current"
7680
7781
78-func J (K,L) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(K), toString(L)], a)
82+func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a)
7983
8084
81-func M () = "%s%s__ratePerBlock__current"
85+func O () = "%s%s__ratePerBlock__current"
8286
8387
84-func N (K,L) = makeString(["%s%s%d%d__ratePerBlock__start", toString(K), toString(L)], a)
88+func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a)
8589
8690
87-func O () = "%s%s__emission__startBlock"
91+func Q () = "%s%s__emission__startBlock"
8892
8993
90-func P () = "%s%s__emission__duration"
94+func R () = "%s%s__emission__duration"
9195
9296
93-func Q () = "%s%s__emission__endBlock"
97+func S () = "%s%s__emission__endBlock"
9498
9599
96-func R () = "%s__managerPublicKey"
100+func T () = "%s__managerPublicKey"
97101
98102
99-func S () = "%s__pendingManagerPublicKey"
103+func U () = "%s__pendingManagerPublicKey"
100104
101105
102-func T () = {
103- let U = getString(R())
104- if ($isInstanceOf(U, "String"))
106+func V () = {
107+ let W = getString(T())
108+ if ($isInstanceOf(W, "String"))
105109 then {
106- let V = U
107- fromBase58String(V)
110+ let X = W
111+ fromBase58String(X)
108112 }
109- else if ($isInstanceOf(U, "Unit"))
113+ else if ($isInstanceOf(W, "Unit"))
110114 then unit
111115 else throw("Match error")
112116 }
113117
114118
115-func W () = {
116- let U = getString(S())
117- if ($isInstanceOf(U, "String"))
119+func Y () = {
120+ let W = getString(U())
121+ if ($isInstanceOf(W, "String"))
118122 then {
119- let V = U
120- fromBase58String(V)
123+ let X = W
124+ fromBase58String(X)
121125 }
122- else if ($isInstanceOf(U, "Unit"))
126+ else if ($isInstanceOf(W, "Unit"))
123127 then unit
124128 else throw("Match error")
125129 }
126130
127131
128-func X (Y) = {
129- let Z = throw("Permission denied")
130- let U = T()
131- if ($isInstanceOf(U, "ByteVector"))
132+func Z (aa) = {
133+ let ab = throw("Permission denied")
134+ let W = V()
135+ if ($isInstanceOf(W, "ByteVector"))
132136 then {
133- let aa = U
134- if ((Y.callerPublicKey == aa))
137+ let ac = W
138+ if ((aa.callerPublicKey == ac))
135139 then true
136- else Z
140+ else ab
137141 }
138- else if ($isInstanceOf(U, "Unit"))
139- then if ((Y.caller == this))
142+ else if ($isInstanceOf(W, "Unit"))
143+ then if ((aa.caller == this))
140144 then true
141- else Z
145+ else ab
142146 else throw("Match error")
143147 }
144148
145149
146-@Callable(Y)
147-func constructor (ab,ac,ad,ae,af,ag,ah) = {
148- let ai = X(Y)
149- if ((ai == ai))
150- then [IntegerEntry(J(ag, ae), ac), IntegerEntry(I(), ac), IntegerEntry(N(ag, ae), ad), IntegerEntry(M(), ad), IntegerEntry(O(), ae), IntegerEntry(P(), af), IntegerEntry(Q(), (ae + af)), StringEntry(e(), ab), StringEntry(H(), ("%s__" + ah))]
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))]
151155 else throw("Strict value is not equal to itself.")
152156 }
153157
154158
155159
156-@Callable(Y)
157-func constructorV2 (aj) = {
158- let ai = X(Y)
159- if ((ai == ai))
160- then $Tuple2([StringEntry(f, aj)], unit)
160+@Callable(aa)
161+func constructorV2 (al) = {
162+ let ak = Z(aa)
163+ if ((ak == ak))
164+ then $Tuple2([StringEntry(f, al)], unit)
161165 else throw("Strict value is not equal to itself.")
162166 }
163167
164168
165169
166-@Callable(Y)
167-func emit (ak) = if ((0 >= ak))
170+@Callable(aa)
171+func emit (am) = if ((0 >= am))
168172 then $Tuple2(nil, nil)
169173 else {
170- let al = y()
171- let D = A(al)
172- let am = F(D)
173- let an = G(D)
174- let ao = Y.caller
175- if (if ((ao != am))
176- then (ao != an)
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)
177181 else false)
178182 then throw("permissions denied")
179183 else {
180- let ah = split(b(this, H()), a)[1]
181- let ap = fromBase58String(ah)
182- $Tuple2([ScriptTransfer(ao, ak, ap)], [ap])
184+ let aj = split(b(this, J()), a)[1]
185+ let ar = fromBase58String(aj)
186+ $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
183187 }
184188 }
185189
186190
187191
188-@Callable(Y)
192+@Callable(aa)
189193 func burn () = {
190- let al = y()
191- let D = A(al)
192- let aq = C(D)
193- if ((size(Y.payments) != 1))
194+ let an = A()
195+ let F = C(an)
196+ let as = E(F)
197+ if ((size(aa.payments) != 1))
194198 then throw("exact one payment is allowed")
195199 else {
196- let ar = Y.payments[0]
197- let as = value(ar.assetId)
198- let at = ar.amount
199- let ap = fromBase58String(split(b(this, H()), a)[1])
200- if ((as != ap))
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))
201205 then throw("invalid wxAssetId is passed")
202- else if (!(containsElement([aq, h, i], Y.caller)))
206+ else if (!(containsElement([as, i, j, k], aa.caller)))
203207 then throw("permissions denied")
204- else [Burn(as, at), StringEntry(("%s%s%s__history__burn__" + toBase58String(Y.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(at)], 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))]
205209 }
206210 }
207211
208212
209213
210-@Callable(Y)
211-func setManager (au) = {
212- let ai = X(Y)
213- if ((ai == ai))
214+@Callable(aa)
215+func setManager (aw) = {
216+ let ak = Z(aa)
217+ if ((ak == ak))
214218 then {
215- let av = fromBase58String(au)
216- if ((av == av))
217- then [StringEntry(S(), au)]
219+ let ax = fromBase58String(aw)
220+ if ((ax == ax))
221+ then [StringEntry(U(), aw)]
218222 else throw("Strict value is not equal to itself.")
219223 }
220224 else throw("Strict value is not equal to itself.")
222226
223227
224228
225-@Callable(Y)
229+@Callable(aa)
226230 func confirmManager () = {
227- let aw = W()
228- let ax = if (isDefined(aw))
231+ let ay = Y()
232+ let az = if (isDefined(ay))
229233 then true
230234 else throw("No pending manager")
231- if ((ax == ax))
235+ if ((az == az))
232236 then {
233- let ay = if ((Y.callerPublicKey == value(aw)))
237+ let aA = if ((aa.callerPublicKey == value(ay)))
234238 then true
235239 else throw("You are not pending manager")
236- if ((ay == ay))
237- then [StringEntry(R(), toBase58String(value(aw))), DeleteEntry(S())]
240+ if ((aA == aA))
241+ then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
238242 else throw("Strict value is not equal to itself.")
239243 }
240244 else throw("Strict value is not equal to itself.")
241245 }
242246
243247
244-@Verifier(az)
245-func aA () = {
246- let aB = {
247- let U = T()
248- if ($isInstanceOf(U, "ByteVector"))
248+@Verifier(aB)
249+func aC () = {
250+ let aD = {
251+ let W = V()
252+ if ($isInstanceOf(W, "ByteVector"))
249253 then {
250- let aa = U
251- aa
254+ let ac = W
255+ ac
252256 }
253- else if ($isInstanceOf(U, "Unit"))
254- then az.senderPublicKey
257+ else if ($isInstanceOf(W, "Unit"))
258+ then aB.senderPublicKey
255259 else throw("Match error")
256260 }
257- sigVerify(az.bodyBytes, az.proofs[0], aB)
261+ sigVerify(aB.bodyBytes, aB.proofs[0], aD)
258262 }
259263
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
16-let h = addressFromStringValue(b(this, f))
16+let h = "%s%s__config__userPoolsContract"
1717
18-let i = addressFromStringValue(b(this, g))
18+let i = addressFromStringValue(b(this, f))
1919
20-let j = 1
20+let j = addressFromStringValue(b(this, g))
2121
22-let k = 2
22+let k = addressFromStringValue(b(this, h))
2323
24-let l = 3
24+let l = 1
2525
26-let m = 4
26+let m = 2
2727
28-let n = 5
28+let n = 3
2929
30-let o = 6
30+let o = 4
3131
32-let p = 7
32+let p = 5
3333
34-let q = 10
34+let q = 6
3535
36-func r () = "%s__factoryConfig"
36+let r = 7
37+
38+let s = 10
39+
40+func t () = "%s__factoryConfig"
3741
3842
39-func s (t) = makeString(["%s%s%s", t, "mappings__lpAsset2PoolContract"], a)
43+func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
4044
4145
42-func u () = "%s__lpTokensList"
46+func w () = "%s__lpTokensList"
4347
4448
45-func v (t) = makeString(["%s%s%s", t, "mappings__lpAsset2PoolContract"], a)
49+func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a)
4650
4751
48-func w (x) = makeString(["%s%s", "poolWeight", x], a)
52+func y (z) = makeString(["%s%s", "poolWeight", z], a)
4953
5054
51-func y () = addressFromStringValue(b(this, e()))
55+func A () = addressFromStringValue(b(this, e()))
5256
5357
54-func z () = split(valueOrElse(getString(y(), u()), ""), a)
58+func B () = split(valueOrElse(getString(A(), w()), ""), a)
5559
5660
57-func A (B) = split(b(B, r()), a)
61+func C (D) = split(b(D, t()), a)
5862
5963
60-func C (D) = addressFromStringValue(D[k])
64+func E (F) = addressFromStringValue(F[m])
6165
6266
63-func E (D) = addressFromStringValue(D[n])
67+func G (F) = addressFromStringValue(F[p])
6468
6569
66-func F (D) = addressFromStringValue(D[j])
70+func H (F) = addressFromStringValue(F[l])
6771
6872
69-func G (D) = addressFromStringValue(D[q])
73+func I (F) = addressFromStringValue(F[s])
7074
7175
72-func H () = "%s__config"
76+func J () = "%s__config"
7377
7478
75-func I () = "%s%s__ratePerBlockMax__current"
79+func K () = "%s%s__ratePerBlockMax__current"
7680
7781
78-func J (K,L) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(K), toString(L)], a)
82+func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a)
7983
8084
81-func M () = "%s%s__ratePerBlock__current"
85+func O () = "%s%s__ratePerBlock__current"
8286
8387
84-func N (K,L) = makeString(["%s%s%d%d__ratePerBlock__start", toString(K), toString(L)], a)
88+func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a)
8589
8690
87-func O () = "%s%s__emission__startBlock"
91+func Q () = "%s%s__emission__startBlock"
8892
8993
90-func P () = "%s%s__emission__duration"
94+func R () = "%s%s__emission__duration"
9195
9296
93-func Q () = "%s%s__emission__endBlock"
97+func S () = "%s%s__emission__endBlock"
9498
9599
96-func R () = "%s__managerPublicKey"
100+func T () = "%s__managerPublicKey"
97101
98102
99-func S () = "%s__pendingManagerPublicKey"
103+func U () = "%s__pendingManagerPublicKey"
100104
101105
102-func T () = {
103- let U = getString(R())
104- if ($isInstanceOf(U, "String"))
106+func V () = {
107+ let W = getString(T())
108+ if ($isInstanceOf(W, "String"))
105109 then {
106- let V = U
107- fromBase58String(V)
110+ let X = W
111+ fromBase58String(X)
108112 }
109- else if ($isInstanceOf(U, "Unit"))
113+ else if ($isInstanceOf(W, "Unit"))
110114 then unit
111115 else throw("Match error")
112116 }
113117
114118
115-func W () = {
116- let U = getString(S())
117- if ($isInstanceOf(U, "String"))
119+func Y () = {
120+ let W = getString(U())
121+ if ($isInstanceOf(W, "String"))
118122 then {
119- let V = U
120- fromBase58String(V)
123+ let X = W
124+ fromBase58String(X)
121125 }
122- else if ($isInstanceOf(U, "Unit"))
126+ else if ($isInstanceOf(W, "Unit"))
123127 then unit
124128 else throw("Match error")
125129 }
126130
127131
128-func X (Y) = {
129- let Z = throw("Permission denied")
130- let U = T()
131- if ($isInstanceOf(U, "ByteVector"))
132+func Z (aa) = {
133+ let ab = throw("Permission denied")
134+ let W = V()
135+ if ($isInstanceOf(W, "ByteVector"))
132136 then {
133- let aa = U
134- if ((Y.callerPublicKey == aa))
137+ let ac = W
138+ if ((aa.callerPublicKey == ac))
135139 then true
136- else Z
140+ else ab
137141 }
138- else if ($isInstanceOf(U, "Unit"))
139- then if ((Y.caller == this))
142+ else if ($isInstanceOf(W, "Unit"))
143+ then if ((aa.caller == this))
140144 then true
141- else Z
145+ else ab
142146 else throw("Match error")
143147 }
144148
145149
146-@Callable(Y)
147-func constructor (ab,ac,ad,ae,af,ag,ah) = {
148- let ai = X(Y)
149- if ((ai == ai))
150- then [IntegerEntry(J(ag, ae), ac), IntegerEntry(I(), ac), IntegerEntry(N(ag, ae), ad), IntegerEntry(M(), ad), IntegerEntry(O(), ae), IntegerEntry(P(), af), IntegerEntry(Q(), (ae + af)), StringEntry(e(), ab), StringEntry(H(), ("%s__" + ah))]
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))]
151155 else throw("Strict value is not equal to itself.")
152156 }
153157
154158
155159
156-@Callable(Y)
157-func constructorV2 (aj) = {
158- let ai = X(Y)
159- if ((ai == ai))
160- then $Tuple2([StringEntry(f, aj)], unit)
160+@Callable(aa)
161+func constructorV2 (al) = {
162+ let ak = Z(aa)
163+ if ((ak == ak))
164+ then $Tuple2([StringEntry(f, al)], unit)
161165 else throw("Strict value is not equal to itself.")
162166 }
163167
164168
165169
166-@Callable(Y)
167-func emit (ak) = if ((0 >= ak))
170+@Callable(aa)
171+func emit (am) = if ((0 >= am))
168172 then $Tuple2(nil, nil)
169173 else {
170- let al = y()
171- let D = A(al)
172- let am = F(D)
173- let an = G(D)
174- let ao = Y.caller
175- if (if ((ao != am))
176- then (ao != an)
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)
177181 else false)
178182 then throw("permissions denied")
179183 else {
180- let ah = split(b(this, H()), a)[1]
181- let ap = fromBase58String(ah)
182- $Tuple2([ScriptTransfer(ao, ak, ap)], [ap])
184+ let aj = split(b(this, J()), a)[1]
185+ let ar = fromBase58String(aj)
186+ $Tuple2([ScriptTransfer(aq, am, ar)], [ar])
183187 }
184188 }
185189
186190
187191
188-@Callable(Y)
192+@Callable(aa)
189193 func burn () = {
190- let al = y()
191- let D = A(al)
192- let aq = C(D)
193- if ((size(Y.payments) != 1))
194+ let an = A()
195+ let F = C(an)
196+ let as = E(F)
197+ if ((size(aa.payments) != 1))
194198 then throw("exact one payment is allowed")
195199 else {
196- let ar = Y.payments[0]
197- let as = value(ar.assetId)
198- let at = ar.amount
199- let ap = fromBase58String(split(b(this, H()), a)[1])
200- if ((as != ap))
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))
201205 then throw("invalid wxAssetId is passed")
202- else if (!(containsElement([aq, h, i], Y.caller)))
206+ else if (!(containsElement([as, i, j, k], aa.caller)))
203207 then throw("permissions denied")
204- else [Burn(as, at), StringEntry(("%s%s%s__history__burn__" + toBase58String(Y.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(at)], 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))]
205209 }
206210 }
207211
208212
209213
210-@Callable(Y)
211-func setManager (au) = {
212- let ai = X(Y)
213- if ((ai == ai))
214+@Callable(aa)
215+func setManager (aw) = {
216+ let ak = Z(aa)
217+ if ((ak == ak))
214218 then {
215- let av = fromBase58String(au)
216- if ((av == av))
217- then [StringEntry(S(), au)]
219+ let ax = fromBase58String(aw)
220+ if ((ax == ax))
221+ then [StringEntry(U(), aw)]
218222 else throw("Strict value is not equal to itself.")
219223 }
220224 else throw("Strict value is not equal to itself.")
221225 }
222226
223227
224228
225-@Callable(Y)
229+@Callable(aa)
226230 func confirmManager () = {
227- let aw = W()
228- let ax = if (isDefined(aw))
231+ let ay = Y()
232+ let az = if (isDefined(ay))
229233 then true
230234 else throw("No pending manager")
231- if ((ax == ax))
235+ if ((az == az))
232236 then {
233- let ay = if ((Y.callerPublicKey == value(aw)))
237+ let aA = if ((aa.callerPublicKey == value(ay)))
234238 then true
235239 else throw("You are not pending manager")
236- if ((ay == ay))
237- then [StringEntry(R(), toBase58String(value(aw))), DeleteEntry(S())]
240+ if ((aA == aA))
241+ then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())]
238242 else throw("Strict value is not equal to itself.")
239243 }
240244 else throw("Strict value is not equal to itself.")
241245 }
242246
243247
244-@Verifier(az)
245-func aA () = {
246- let aB = {
247- let U = T()
248- if ($isInstanceOf(U, "ByteVector"))
248+@Verifier(aB)
249+func aC () = {
250+ let aD = {
251+ let W = V()
252+ if ($isInstanceOf(W, "ByteVector"))
249253 then {
250- let aa = U
251- aa
254+ let ac = W
255+ ac
252256 }
253- else if ($isInstanceOf(U, "Unit"))
254- then az.senderPublicKey
257+ else if ($isInstanceOf(W, "Unit"))
258+ then aB.senderPublicKey
255259 else throw("Match error")
256260 }
257- sigVerify(az.bodyBytes, az.proofs[0], aB)
261+ sigVerify(aB.bodyBytes, aB.proofs[0], aD)
258262 }
259263

github/deemru/w8io/026f985 
94.31 ms