tx · 6HpQ5VSxDgKF4Jd3PzNpGoZyuYbFUfxhYt7VLjoJJENz

3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz:  -0.01400000 Waves

2022.10.20 11:14 [2280469] smart account 3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz > SELF 0.00000000 Waves

{ "type": 13, "id": "6HpQ5VSxDgKF4Jd3PzNpGoZyuYbFUfxhYt7VLjoJJENz", "fee": 1400000, "feeAssetId": null, "timestamp": 1666253780156, "version": 1, "sender": "3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz", "senderPublicKey": "E7cYpzqL1fF9VQjL3m4zr3xXfV289rCkrfE2fJyAHMqR", "proofs": [ "FtoVBKQrKYkuUbZGTczCx74YEnX7jD49GWxVY4Ytvx9KjCDYzRLAc1Rxi1W5QAuJN6NogLAq7hnXhxEHqUSSQBp" ], "script": "base64:AAIFAAAAAAAAA/UIAhIDCgEIEgASBAoCCAESAwoBCBIDCgEIEgASAwoBCBIDCgEIEgMKAQgSACIDU0VQIhNrZXlNYW5hZ2VyUHVibGljS2V5IhprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleSIHa2V5VXNlciIHYWRkcmVzcyIKa2V5UmV2b2tlZCIPa2V5UmV2b2tlZFRvdGFsIhNrZXlVc2VyVmVzdGluZ1N0YXJ0IhFrZXlVc2VyVmVzdGluZ0VuZCIVa2V5VXNlckFtb3VudFBlckJsb2NrIgxrZXlXeEFzc2V0SWQiCHRocm93RXJyIgNtc2ciFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQiByRtYXRjaDAiAXMiHXBlbmRpbmdNYW5hZ2VyUHVibGljS2V5T3JVbml0IgttdXN0TWFuYWdlciIBaSICcGQiAnBrIgp2YWx1ZVVzZXJTIgt0b3RhbEFtb3VudCIPcmVtYWluaW5nQW1vdW50Ig9jbGFpbWVkV1hBbW91bnQiEWxhc3RDbGFpbWVkSGVpZ2h0Igl2YWx1ZVVzZXIiEmdldF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ABcwAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAV2YWx1ZQAAAAEFAAAAAmFrBgkBAAAAAWwAAAABAgAAABt5b3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAAAAAAIFAAAAAmFtBQAAAAJhbQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAABYgAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACYWsJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAAWMAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACYW4BAAAAAmFvAAAAAAQAAAACYXAEAAAAAW8JAQAAAAFuAAAAAAMJAAABAAAAAgUAAAABbwIAAAAKQnl0ZVZlY3RvcgQAAAABdQUAAAABbwUAAAABdQMJAAABAAAAAgUAAAABbwIAAAAEVW5pdAgFAAAAAmFuAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYW4AAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhbgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmFwDTcFHA==", "chainId": 84, "height": 2280469, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2kzrXNWzegKLHKwoncomvnTN24jjNMap3gMtsR3uPXtP Next: 8uVBGk44tCj1RQ96mmP4ebFpuK2jxCWV7AvjyRYT34BM Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 func b () = "%s__managerPublicKey"
77
88
99 func c () = "%s__pendingManagerPublicKey"
1010
1111
1212 func d (e) = makeString(["%s", e], a)
1313
1414
1515 func f (e) = makeString(["%s%s", "revoked", e], a)
1616
1717
1818 func g () = makeString(["%s", "revokedTotal"], a)
1919
2020
2121 func h (e) = makeString(["%s%s", "vestingStart", e], a)
2222
2323
2424 func i (e) = makeString(["%s%s", "vestingEnd", e], a)
2525
2626
2727 func j (e) = makeString(["%s%s", "amountPerBlock", e], a)
2828
2929
3030 func k () = makeString(["%s", "wxAssetId"], a)
3131
3232
3333 func l (m) = throw(makeString(["vesting.ride:", m], " "))
3434
3535
3636 func n () = {
3737 let o = getString(b())
3838 if ($isInstanceOf(o, "String"))
3939 then {
4040 let p = o
4141 fromBase58String(p)
4242 }
4343 else if ($isInstanceOf(o, "Unit"))
4444 then unit
4545 else throw("Match error")
4646 }
4747
4848
4949 func q () = {
5050 let o = getString(c())
5151 if ($isInstanceOf(o, "String"))
5252 then {
5353 let p = o
5454 fromBase58String(p)
5555 }
5656 else if ($isInstanceOf(o, "Unit"))
5757 then unit
5858 else throw("Match error")
5959 }
6060
6161
6262 func r (s) = {
6363 let t = l("permission denied")
6464 let o = n()
6565 if ($isInstanceOf(o, "ByteVector"))
6666 then {
6767 let u = o
6868 if ((s.callerPublicKey == u))
6969 then true
7070 else t
7171 }
7272 else if ($isInstanceOf(o, "Unit"))
7373 then if ((s.caller == this))
7474 then true
7575 else t
7676 else throw("Match error")
7777 }
7878
7979
8080 func v (w,x,y,z) = makeString(["%d%d%d%d%d", w, x, "0", y, z], a)
8181
8282
8383 func A (w,x,y,z) = v(toString(w), toString(x), toString(y), toString(z))
8484
8585
8686 func B (e) = parseIntValue(split(value(getString(d(e))), a)[1])
8787
8888
8989 func C (e) = parseIntValue(split(value(getString(d(e))), a)[2])
9090
9191
9292 func D (e) = parseIntValue(split(value(getString(d(e))), a)[3])
9393
9494
9595 func E (e) = parseIntValue(split(value(getString(d(e))), a)[5])
9696
9797
9898 func F (e) = {
9999 let G = valueOrElse(getBoolean(f(e)), false)
100100 if (G)
101101 then C(e)
102102 else {
103103 let H = E(e)
104104 if ((H >= height))
105105 then 0
106106 else {
107107 let I = value(getInteger(i(e)))
108108 if ((height > I))
109109 then C(e)
110110 else {
111111 let J = (height - H)
112112 (value(getInteger(j(e))) * J)
113113 }
114114 }
115115 }
116116 }
117117
118118
119119 func K (e) = {
120120 let L = addressFromStringValue(e)
121121 let M = fromBase58String(value(getString(k())))
122122 let N = F(e)
123123 let O = if ((N != 0))
124124 then true
125125 else l("nothing to claim")
126126 if ((O == O))
127127 then {
128128 let w = B(e)
129129 let x = C(e)
130130 let y = D(e)
131131 let G = valueOrElse(getBoolean(f(e)), false)
132132 if (G)
133133 then [ScriptTransfer(L, x, M), StringEntry(d(e), A(w, 0, (y + x), height))]
134134 else [ScriptTransfer(L, N, M), StringEntry(d(e), A(w, (x - N), (y + N), height))]
135135 }
136136 else throw("Strict value is not equal to itself.")
137137 }
138138
139139
140140 @Callable(s)
141141 func constructor (P) = {
142142 let Q = r(s)
143143 if ((Q == Q))
144144 then [StringEntry(k(), P)]
145145 else throw("Strict value is not equal to itself.")
146146 }
147147
148148
149149
150150 @Callable(s)
151151 func withdrawRevoked () = {
152152 let N = valueOrElse(getInteger(g()), 0)
153153 let M = fromBase58String(value(getString(k())))
154154 let R = [r(s), if ((N > 0))
155155 then true
156156 else l("revoked amount is zero, nothing to withdraw")]
157157 if ((R == R))
158158 then [ScriptTransfer(s.caller, N, M), IntegerEntry(g(), 0)]
159159 else throw("Strict value is not equal to itself.")
160160 }
161161
162162
163163
164164 @Callable(s)
165165 func createDepositFor (e,S) = {
166166 let N = s.payments[0].amount
167167 let T = (height + S)
168168 let U = (T - height)
169169 let V = (N / U)
170170 let R = [if ((T > height))
171171 then true
172172 else l("endHeight must be more than height"), if ((getString(d(e)) == unit))
173173 then true
174174 else l("deposit for user already exists"), if ((toBase58String(value(s.payments[0].assetId)) == value(getString(k()))))
175175 then true
176176 else l("attached payment is not WX"), if ((V != 0))
177177 then true
178178 else l("attached amount too small or blocksDuration too large — will claimed zero per block")]
179179 if ((R == R))
180180 then [StringEntry(d(e), A(N, N, 0, height)), IntegerEntry(h(e), height), IntegerEntry(i(e), T), IntegerEntry(j(e), V)]
181181 else throw("Strict value is not equal to itself.")
182182 }
183183
184184
185185
186186 @Callable(s)
187187 func increaseDepositFor (e) = {
188188 let W = F(e)
189189 let X = if ((W > 0))
190190 then K(e)
191191 else unit
192192 if ((X == X))
193193 then {
194194 let N = s.payments[0].amount
195195 let T = value(getInteger(i(e)))
196196 let U = (T - height)
197197 let V = value(getInteger(j(e)))
198198 let Y = (N / U)
199199 let Z = B(e)
200200 let aa = C(e)
201201 let ab = D(e)
202202 let ac = E(e)
203203 let R = [if ((valueOrElse(getBoolean(f(e)), false) == false))
204204 then true
205205 else l("deposit for user is revoked"), if ((getString(d(e)) != unit))
206206 then true
207207 else l("deposit for user doesn't exists"), if ((toBase58String(value(s.payments[0].assetId)) == value(getString(k()))))
208208 then true
209209 else l("attached payment is not WX"), if ((Y != 0))
210210 then true
211211 else l("attached amount too small — increase is zero per block")]
212212 if ((R == R))
213213 then [StringEntry(d(e), A((Z + N), (aa + N), ab, ac)), IntegerEntry(j(e), (V + Y))]
214214 else throw("Strict value is not equal to itself.")
215215 }
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220
221221 @Callable(s)
222222 func revokeDepositFor (e) = {
223223 let w = B(e)
224224 let x = C(e)
225225 let y = D(e)
226226 let z = E(e)
227227 let ad = F(e)
228228 let ae = valueOrElse(getInteger(g()), 0)
229229 let af = (x - ad)
230230 let ag = (ae + af)
231231 let R = [r(s), if ((getString(d(e)) != unit))
232232 then true
233233 else l("deposit for user is not exists"), if ((ag > ae))
234234 then true
235235 else l("newRevokedTotal can't be less or equal than revokedTotal")]
236236 if ((R == R))
237237 then [BooleanEntry(f(e), true), IntegerEntry(g(), ag), StringEntry(d(e), A(w, ad, y, z))]
238238 else throw("Strict value is not equal to itself.")
239239 }
240240
241241
242242
243243 @Callable(s)
244244 func claim () = K(toBase58String(s.caller.bytes))
245245
246246
247247
248248 @Callable(s)
249249 func claimREADONLY (e) = {
250250 let N = F(e)
251251 $Tuple2(nil, N)
252252 }
253253
254254
255255
256256 @Callable(s)
257257 func stats (e) = $Tuple2(nil, [value(getInteger(h(e))), value(getInteger(i(e))), B(e), D(e), C(e), F(e)])
258258
259259
260260
261261 @Callable(s)
262262 func setManager (ah) = {
263263 let ai = r(s)
264264 if ((ai == ai))
265265 then {
266266 let aj = fromBase58String(ah)
267267 if ((aj == aj))
268268 then [StringEntry(c(), ah)]
269269 else throw("Strict value is not equal to itself.")
270270 }
271271 else throw("Strict value is not equal to itself.")
272272 }
273273
274274
275275
276276 @Callable(s)
277277 func confirmManager () = {
278278 let ak = q()
279279 let al = if (isDefined(ak))
280280 then true
281281 else l("no pending manager")
282282 if ((al == al))
283283 then {
284284 let am = if ((s.callerPublicKey == value(ak)))
285285 then true
286286 else l("you are not pending manager")
287287 if ((am == am))
288288 then [StringEntry(b(), toBase58String(value(ak))), DeleteEntry(c())]
289289 else throw("Strict value is not equal to itself.")
290290 }
291291 else throw("Strict value is not equal to itself.")
292292 }
293293
294294
295295 @Verifier(an)
296296 func ao () = {
297297 let ap = {
298298 let o = n()
299299 if ($isInstanceOf(o, "ByteVector"))
300300 then {
301301 let u = o
302302 u
303303 }
304304 else if ($isInstanceOf(o, "Unit"))
305305 then an.senderPublicKey
306306 else throw("Match error")
307307 }
308308 sigVerify(an.bodyBytes, an.proofs[0], ap)
309309 }
310310

github/deemru/w8io/169f3d6 
37.79 ms