tx · 2oEYtpV1GB2GYFoYeaSTyv8sxojKkPfLjD7mcVLZoCGW

3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA:  -0.01400000 Waves

2022.03.11 17:19 [1959397] smart account 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA > SELF 0.00000000 Waves

{ "type": 13, "id": "2oEYtpV1GB2GYFoYeaSTyv8sxojKkPfLjD7mcVLZoCGW", "fee": 1400000, "feeAssetId": null, "timestamp": 1647008339748, "version": 1, "sender": "3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA", "senderPublicKey": "H19CeJVbUnfsK8EYs8K6fHxwBH7pLyxw8WCDFu7D4rGQ", "proofs": [ "2UDNzyzUAX9TQLVFe7NLBpPxHzrnz9HFn96XNktgJsZsLbhrCi89ucWU9DZ3GVg3udhLaWeEkyEc6rQ1YkJUeaJo" ], "script": "base64:AAIFAAAAAAAAABsIAhIJCgcIAQEBAQEIEgMKAQESABIDCgEIEgAAAAAkAAAAAANTRVACAAAAAl9fAQAAAA9nZXRTdHJpbmdPckZhaWwAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAARa2V5RmFjdG9yeUFkZHJlc3MAAAAAAgAAABwlcyVzX19jb25maWdfX2ZhY3RvcnlBZGRyZXNzAAAAABhJZHhGYWN0b3J5Q2ZnU3Rha2luZ0RhcHAAAAAAAAAAAAEAAAAAGUlkeEZhY3RvcnlDZmdCb29zdGluZ0RhcHAAAAAAAAAAAAIAAAAAFElkeEZhY3RvcnlDZmdJZG9EYXBwAAAAAAAAAAADAAAAABVJZHhGYWN0b3J5Q2ZnVGVhbURhcHAAAAAAAAAAAAQAAAAAGUlkeEZh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WJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXlmRwea", "chainId": 84, "height": 1959397, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GjY1aZ5yXx65dW2UX9mSs8s9ucQa8RiJxx6yMSV9h5tC Next: CzxjTAPjUHpug2GKuFdA3ZrRWEoXQ7ZGouWJCXNaLYoC 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 = 1
1313
1414 let g = 2
1515
1616 let h = 3
1717
1818 let i = 4
1919
2020 let j = 5
2121
2222 let k = 6
2323
2424 let l = 7
2525
2626 let m = 10
2727
2828 func n () = "%s__factoryConfig"
2929
3030
3131 func o (p) = makeString(["%s%s%s", p, "mappings__lpAsset2PoolContract"], a)
3232
3333
3434 func q () = "%s__lpTokensList"
3535
3636
3737 func r (p) = makeString(["%s%s%s", p, "mappings__lpAsset2PoolContract"], a)
3838
3939
4040 func s (t) = makeString(["%s%s", "poolWeight", t], a)
4141
4242
4343 func u () = addressFromStringValue(b(this, e()))
4444
4545
4646 func v () = split(valueOrElse(getString(u(), q()), ""), a)
4747
4848
4949 func w (x) = split(b(x, n()), a)
5050
5151
5252 func y (z) = addressFromStringValue(z[g])
5353
5454
5555 func A (z) = addressFromStringValue(z[j])
5656
5757
5858 func B (z) = addressFromStringValue(z[f])
5959
6060
6161 func C (z) = addressFromStringValue(z[m])
6262
6363
6464 func D () = "%s__config"
6565
6666
6767 func E () = "%s%s__ratePerBlockMax__current"
6868
6969
7070 func F (G,H) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(G), toString(H)], a)
7171
7272
7373 func I () = "%s%s__ratePerBlock__current"
7474
7575
7676 func J (G,H) = makeString(["%s%s%d%d__ratePerBlock__start", toString(G), toString(H)], a)
7777
7878
7979 func K () = "%s%s__emission__startBlock"
8080
8181
8282 func L () = "%s%s__emission__duration"
8383
8484
8585 func M () = "%s%s__emission__endBlock"
8686
8787
8888 func N () = "%s__managerPublicKey"
8989
9090
9191 func O () = "%s__pendingManagerPublicKey"
9292
9393
9494 func P () = {
9595 let Q = getString(N())
9696 if ($isInstanceOf(Q, "String"))
9797 then {
9898 let R = Q
9999 fromBase58String(R)
100100 }
101101 else if ($isInstanceOf(Q, "Unit"))
102102 then unit
103103 else throw("Match error")
104104 }
105105
106106
107107 func S () = {
108108 let Q = getString(O())
109109 if ($isInstanceOf(Q, "String"))
110110 then {
111111 let R = Q
112112 fromBase58String(R)
113113 }
114114 else if ($isInstanceOf(Q, "Unit"))
115115 then unit
116116 else throw("Match error")
117117 }
118118
119119
120120 func T (U) = {
121121 let V = throw("Permission denied")
122122 let Q = P()
123123 if ($isInstanceOf(Q, "ByteVector"))
124124 then {
125125 let W = Q
126126 if ((U.callerPublicKey == W))
127127 then true
128128 else V
129129 }
130130 else if ($isInstanceOf(Q, "Unit"))
131131 then if ((U.caller == this))
132132 then true
133133 else V
134134 else throw("Match error")
135135 }
136136
137137
138138 @Callable(U)
139139 func constructor (X,Y,Z,aa,ab,ac,ad) = {
140140 let ae = T(U)
141141 if ((ae == ae))
142142 then [IntegerEntry(F(ac, aa), Y), IntegerEntry(E(), Y), IntegerEntry(J(ac, aa), Z), IntegerEntry(I(), Z), IntegerEntry(K(), aa), IntegerEntry(L(), ab), IntegerEntry(M(), (aa + ab)), StringEntry(e(), X), StringEntry(D(), ("%s__" + ad))]
143143 else throw("Strict value is not equal to itself.")
144144 }
145145
146146
147147
148148 @Callable(U)
149149 func emit (af) = if ((0 >= af))
150150 then $Tuple2(nil, nil)
151151 else {
152152 let ag = u()
153153 let z = w(ag)
154154 let ah = B(z)
155155 let ai = C(z)
156156 let aj = U.caller
157157 if (if ((aj != ah))
158158 then (aj != ai)
159159 else false)
160160 then throw("permissions denied")
161161 else {
162162 let ad = split(b(this, D()), a)[1]
163163 let ak = fromBase58String(ad)
164164 $Tuple2([ScriptTransfer(aj, af, ak)], [ak])
165165 }
166166 }
167167
168168
169169
170170 @Callable(U)
171171 func burn () = {
172172 let ag = u()
173173 let z = w(ag)
174174 let al = y(z)
175175 if ((size(U.payments) != 1))
176176 then throw("exact one payment is allowed")
177177 else {
178178 let am = U.payments[0]
179179 let an = value(am.assetId)
180180 let ao = am.amount
181181 let ak = fromBase58String(split(b(this, D()), a)[1])
182182 if ((an != ak))
183183 then throw("invalid wxAssetId is passed")
184184 else if ((U.caller != al))
185185 then throw("permissions denied")
186186 else [Burn(an, ao), StringEntry(("%s%s%s__history__burn__" + toBase58String(U.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(ao)], a))]
187187 }
188188 }
189189
190190
191191
192192 @Callable(U)
193193 func setManager (ap) = {
194194 let ae = T(U)
195195 if ((ae == ae))
196196 then {
197197 let aq = fromBase58String(ap)
198198 if ((aq == aq))
199199 then [StringEntry(O(), ap)]
200200 else throw("Strict value is not equal to itself.")
201201 }
202202 else throw("Strict value is not equal to itself.")
203203 }
204204
205205
206206
207207 @Callable(U)
208208 func confirmManager () = {
209209 let ar = S()
210210 let as = if (isDefined(ar))
211211 then true
212212 else throw("No pending manager")
213213 if ((as == as))
214214 then {
215215 let at = if ((U.callerPublicKey == value(ar)))
216216 then true
217217 else throw("You are not pending manager")
218218 if ((at == at))
219219 then [StringEntry(N(), toBase58String(value(ar))), DeleteEntry(O())]
220220 else throw("Strict value is not equal to itself.")
221221 }
222222 else throw("Strict value is not equal to itself.")
223223 }
224224
225225
226226 @Verifier(au)
227227 func av () = {
228228 let aw = {
229229 let Q = P()
230230 if ($isInstanceOf(Q, "ByteVector"))
231231 then {
232232 let W = Q
233233 W
234234 }
235235 else if ($isInstanceOf(Q, "Unit"))
236236 then au.senderPublicKey
237237 else throw("Match error")
238238 }
239239 sigVerify(au.bodyBytes, au.proofs[0], aw)
240240 }
241241

github/deemru/w8io/026f985 
36.21 ms