tx · 2N7vhN6jBWpR38ucttgJjCUxjp2TsfVz17HD1iPN8nCr

3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz:  -0.01400000 Waves

2022.05.05 17:02 [2038490] smart account 3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz > SELF 0.00000000 Waves

{ "type": 13, "id": "2N7vhN6jBWpR38ucttgJjCUxjp2TsfVz17HD1iPN8nCr", "fee": 1400000, "feeAssetId": null, "timestamp": 1651759403724, "version": 1, "sender": "3MqV2hxYA4F3eyVzMPfpPXkmvQMVjhWJ2Zz", "senderPublicKey": "E7cYpzqL1fF9VQjL3m4zr3xXfV289rCkrfE2fJyAHMqR", "proofs": [ "283SipgaEvSgFwmgdMNymsVC9xhtwxjqG8unE5nYtrWuerv7cufufbQzaq2euq1JgeFECzSGom4k86d6VDkDc4C7" ], "script": "base64:AAIFAAAAAAAAACUIAhIDCgEIEgQKAggBEgMKAQgSABIDCgEIEgMKAQgSAwoBCBIAAAAAFAAAAAADU0VQAgAAAAJfXwEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAACAAAAFCVzX19tYW5hZ2VyUHVibGljS2V5AQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAACAAAAGyVzX19wZW5kaW5nTWFuYWdlclB1YmxpY0tleQEAAAAHa2V5VXNlcgAAAAEAAAAHYWRkcmVzcwkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAIFAAAAB2FkZHJlc3MFAAAAA25pbAUAAAADU0VQAQAAAAprZXlSZXZva2VkAAAAAQAAAAdhZGRyZXNzCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAAHcmV2b2tlZAkABEwAAAACBQAAAAdhZGRyZXNzBQAAAANuaWwFAAAAA1NFUAEAAAATa2V5VXNlclZlc3RpbmdTdGFydAAAAAEAAAAHYWRkcmVzcwkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADHZlc3Rpb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2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5fMVBmA==", "chainId": 84, "height": 2038490, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GFJuSYFo2r5W5gyztUWenFpxTcD4BxxQAtvAGoQ1CoW8 Next: 6iMHavscDYT1uv5PncfW99MvxNABQqhdJrK4XiQGg6T4 Diff:
OldNewDifferences
9393
9494
9595 func E (e) = {
96- let F = D(e)
97- if ((F >= height))
98- then 0
96+ let F = valueOrElse(getBoolean(f(e)), false)
97+ if (F)
98+ then B(e)
9999 else {
100- let G = value(getInteger(h(e)))
101- if ((height > G))
102- then B(e)
100+ let G = D(e)
101+ if ((G >= height))
102+ then 0
103103 else {
104- let H = (height - F)
105- (value(getInteger(i(e))) * H)
104+ let H = value(getInteger(h(e)))
105+ if ((height > H))
106+ then B(e)
107+ else {
108+ let I = (height - G)
109+ (value(getInteger(i(e))) * I)
110+ }
106111 }
107112 }
108113 }
109114
110115
111116 @Callable(r)
112-func constructor (I) = {
113- let J = q(r)
114- if ((J == J))
115- then [StringEntry(j(), I)]
117+func constructor (J) = {
118+ let K = q(r)
119+ if ((K == K))
120+ then [StringEntry(j(), J)]
116121 else throw("Strict value is not equal to itself.")
117122 }
118123
119124
120125
121126 @Callable(r)
122-func createDepositFor (e,K) = {
123- let L = (height + K)
124- let M = [q(r), if ((L > height))
127+func createDepositFor (e,L) = {
128+ let M = (height + L)
129+ let N = r.payments[0].amount
130+ let O = (M - height)
131+ let P = (N / O)
132+ let Q = [q(r), if ((M > height))
125133 then true
126134 else k("endHeight must be more than height"), if ((getString(d(e)) == unit))
127135 then true
128136 else k("deposit for user already exists"), if ((toBase58String(value(r.payments[0].assetId)) == value(getString(j()))))
129137 then true
130- else k("attached payment is not WX")]
131- if ((M == M))
132- then {
133- let N = r.payments[0].amount
134- let O = (L - height)
135-[StringEntry(d(e), z(N, N, 0, height)), IntegerEntry(g(e), height), IntegerEntry(h(e), L), IntegerEntry(i(e), (N / O))]
136- }
138+ else k("attached payment is not WX"), if ((P != 0))
139+ then true
140+ else k("attached amount too small or blocksDuration too large — will claimed zero per block")]
141+ if ((Q == Q))
142+ then [StringEntry(d(e), z(N, N, 0, height)), IntegerEntry(g(e), height), IntegerEntry(h(e), M), IntegerEntry(i(e), P)]
137143 else throw("Strict value is not equal to itself.")
138144 }
139145
141147
142148 @Callable(r)
143149 func revokeDepositFor (e) = {
144- let M = [q(r), if ((getString(d(e)) != unit))
150+ let Q = [q(r), if ((getString(d(e)) != unit))
145151 then true
146152 else k("deposit for user is not exists")]
147- if ((M == M))
153+ if ((Q == Q))
148154 then {
149155 let v = A(e)
150156 let N = E(e)
159165
160166 @Callable(r)
161167 func claim () = {
162- let P = r.caller
163- let Q = toString(P)
164- let R = fromBase58String(value(getString(j())))
165- let N = E(Q)
166- let S = if ((N != 0))
168+ let R = r.caller
169+ let S = toString(R)
170+ let T = fromBase58String(value(getString(j())))
171+ let N = E(S)
172+ let U = if ((N != 0))
167173 then true
168174 else k("nothing to claim")
169- if ((S == S))
175+ if ((U == U))
170176 then {
171- let v = A(Q)
172- let w = B(Q)
173- let x = C(Q)
174- let T = valueOrElse(getBoolean(f(Q)), false)
175- if (T)
176- then [ScriptTransfer(P, w, R), StringEntry(d(Q), z(v, 0, (x + w), height))]
177- else [ScriptTransfer(P, N, R), StringEntry(d(Q), z(v, (w - N), (x + N), height))]
177+ let v = A(S)
178+ let w = B(S)
179+ let x = C(S)
180+ let F = valueOrElse(getBoolean(f(S)), false)
181+ if (F)
182+ then [ScriptTransfer(R, w, T), StringEntry(d(S), z(v, 0, (x + w), height))]
183+ else [ScriptTransfer(R, N, T), StringEntry(d(S), z(v, (w - N), (x + N), height))]
178184 }
179185 else throw("Strict value is not equal to itself.")
180186 }
195201
196202
197203 @Callable(r)
198-func setManager (U) = {
199- let V = q(r)
200- if ((V == V))
204+func setManager (V) = {
205+ let W = q(r)
206+ if ((W == W))
201207 then {
202- let W = fromBase58String(U)
203- if ((W == W))
204- then [StringEntry(c(), U)]
208+ let X = fromBase58String(V)
209+ if ((X == X))
210+ then [StringEntry(c(), V)]
205211 else throw("Strict value is not equal to itself.")
206212 }
207213 else throw("Strict value is not equal to itself.")
211217
212218 @Callable(r)
213219 func confirmManager () = {
214- let X = p()
215- let Y = if (isDefined(X))
220+ let Y = p()
221+ let Z = if (isDefined(Y))
216222 then true
217223 else k("no pending manager")
218- if ((Y == Y))
224+ if ((Z == Z))
219225 then {
220- let Z = if ((r.callerPublicKey == value(X)))
226+ let aa = if ((r.callerPublicKey == value(Y)))
221227 then true
222228 else k("you are not pending manager")
223- if ((Z == Z))
224- then [StringEntry(b(), toBase58String(value(X))), DeleteEntry(c())]
229+ if ((aa == aa))
230+ then [StringEntry(b(), toBase58String(value(Y))), DeleteEntry(c())]
225231 else throw("Strict value is not equal to itself.")
226232 }
227233 else throw("Strict value is not equal to itself.")
228234 }
229235
230236
231-@Verifier(aa)
232-func ab () = {
233- let ac = {
237+@Verifier(ab)
238+func ac () = {
239+ let ad = {
234240 let n = m()
235241 if ($isInstanceOf(n, "ByteVector"))
236242 then {
238244 t
239245 }
240246 else if ($isInstanceOf(n, "Unit"))
241- then aa.senderPublicKey
247+ then ab.senderPublicKey
242248 else throw("Match error")
243249 }
244- sigVerify(aa.bodyBytes, aa.proofs[0], ac)
250+ sigVerify(ab.bodyBytes, ab.proofs[0], ad)
245251 }
246252
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", "revoked", e], a)
1616
1717
1818 func g (e) = makeString(["%s", "vestingStart", e], a)
1919
2020
2121 func h (e) = makeString(["%s", "vestingEnd", e], a)
2222
2323
2424 func i (e) = makeString(["%s", "amountPerBlock", e], a)
2525
2626
2727 func j () = makeString(["%s", "wxAssetId"], a)
2828
2929
3030 func k (l) = throw(makeString(["vesting.ride:", l], " "))
3131
3232
3333 func m () = {
3434 let n = getString(b())
3535 if ($isInstanceOf(n, "String"))
3636 then {
3737 let o = n
3838 fromBase58String(o)
3939 }
4040 else if ($isInstanceOf(n, "Unit"))
4141 then unit
4242 else throw("Match error")
4343 }
4444
4545
4646 func p () = {
4747 let n = getString(c())
4848 if ($isInstanceOf(n, "String"))
4949 then {
5050 let o = n
5151 fromBase58String(o)
5252 }
5353 else if ($isInstanceOf(n, "Unit"))
5454 then unit
5555 else throw("Match error")
5656 }
5757
5858
5959 func q (r) = {
6060 let s = k("permission denied")
6161 let n = m()
6262 if ($isInstanceOf(n, "ByteVector"))
6363 then {
6464 let t = n
6565 if ((r.callerPublicKey == t))
6666 then true
6767 else s
6868 }
6969 else if ($isInstanceOf(n, "Unit"))
7070 then if ((r.caller == this))
7171 then true
7272 else s
7373 else throw("Match error")
7474 }
7575
7676
7777 func u (v,w,x,y) = makeString(["%d%d%d%d%d", v, w, "0", x, y], a)
7878
7979
8080 func z (v,w,x,y) = u(toString(v), toString(w), toString(x), toString(y))
8181
8282
8383 func A (e) = parseIntValue(split(value(getString(d(e))), a)[1])
8484
8585
8686 func B (e) = parseIntValue(split(value(getString(d(e))), a)[2])
8787
8888
8989 func C (e) = parseIntValue(split(value(getString(d(e))), a)[3])
9090
9191
9292 func D (e) = parseIntValue(split(value(getString(d(e))), a)[5])
9393
9494
9595 func E (e) = {
96- let F = D(e)
97- if ((F >= height))
98- then 0
96+ let F = valueOrElse(getBoolean(f(e)), false)
97+ if (F)
98+ then B(e)
9999 else {
100- let G = value(getInteger(h(e)))
101- if ((height > G))
102- then B(e)
100+ let G = D(e)
101+ if ((G >= height))
102+ then 0
103103 else {
104- let H = (height - F)
105- (value(getInteger(i(e))) * H)
104+ let H = value(getInteger(h(e)))
105+ if ((height > H))
106+ then B(e)
107+ else {
108+ let I = (height - G)
109+ (value(getInteger(i(e))) * I)
110+ }
106111 }
107112 }
108113 }
109114
110115
111116 @Callable(r)
112-func constructor (I) = {
113- let J = q(r)
114- if ((J == J))
115- then [StringEntry(j(), I)]
117+func constructor (J) = {
118+ let K = q(r)
119+ if ((K == K))
120+ then [StringEntry(j(), J)]
116121 else throw("Strict value is not equal to itself.")
117122 }
118123
119124
120125
121126 @Callable(r)
122-func createDepositFor (e,K) = {
123- let L = (height + K)
124- let M = [q(r), if ((L > height))
127+func createDepositFor (e,L) = {
128+ let M = (height + L)
129+ let N = r.payments[0].amount
130+ let O = (M - height)
131+ let P = (N / O)
132+ let Q = [q(r), if ((M > height))
125133 then true
126134 else k("endHeight must be more than height"), if ((getString(d(e)) == unit))
127135 then true
128136 else k("deposit for user already exists"), if ((toBase58String(value(r.payments[0].assetId)) == value(getString(j()))))
129137 then true
130- else k("attached payment is not WX")]
131- if ((M == M))
132- then {
133- let N = r.payments[0].amount
134- let O = (L - height)
135-[StringEntry(d(e), z(N, N, 0, height)), IntegerEntry(g(e), height), IntegerEntry(h(e), L), IntegerEntry(i(e), (N / O))]
136- }
138+ else k("attached payment is not WX"), if ((P != 0))
139+ then true
140+ else k("attached amount too small or blocksDuration too large — will claimed zero per block")]
141+ if ((Q == Q))
142+ then [StringEntry(d(e), z(N, N, 0, height)), IntegerEntry(g(e), height), IntegerEntry(h(e), M), IntegerEntry(i(e), P)]
137143 else throw("Strict value is not equal to itself.")
138144 }
139145
140146
141147
142148 @Callable(r)
143149 func revokeDepositFor (e) = {
144- let M = [q(r), if ((getString(d(e)) != unit))
150+ let Q = [q(r), if ((getString(d(e)) != unit))
145151 then true
146152 else k("deposit for user is not exists")]
147- if ((M == M))
153+ if ((Q == Q))
148154 then {
149155 let v = A(e)
150156 let N = E(e)
151157 let x = C(e)
152158 let y = D(e)
153159 [BooleanEntry(f(e), true), StringEntry(d(e), z(v, N, x, y))]
154160 }
155161 else throw("Strict value is not equal to itself.")
156162 }
157163
158164
159165
160166 @Callable(r)
161167 func claim () = {
162- let P = r.caller
163- let Q = toString(P)
164- let R = fromBase58String(value(getString(j())))
165- let N = E(Q)
166- let S = if ((N != 0))
168+ let R = r.caller
169+ let S = toString(R)
170+ let T = fromBase58String(value(getString(j())))
171+ let N = E(S)
172+ let U = if ((N != 0))
167173 then true
168174 else k("nothing to claim")
169- if ((S == S))
175+ if ((U == U))
170176 then {
171- let v = A(Q)
172- let w = B(Q)
173- let x = C(Q)
174- let T = valueOrElse(getBoolean(f(Q)), false)
175- if (T)
176- then [ScriptTransfer(P, w, R), StringEntry(d(Q), z(v, 0, (x + w), height))]
177- else [ScriptTransfer(P, N, R), StringEntry(d(Q), z(v, (w - N), (x + N), height))]
177+ let v = A(S)
178+ let w = B(S)
179+ let x = C(S)
180+ let F = valueOrElse(getBoolean(f(S)), false)
181+ if (F)
182+ then [ScriptTransfer(R, w, T), StringEntry(d(S), z(v, 0, (x + w), height))]
183+ else [ScriptTransfer(R, N, T), StringEntry(d(S), z(v, (w - N), (x + N), height))]
178184 }
179185 else throw("Strict value is not equal to itself.")
180186 }
181187
182188
183189
184190 @Callable(r)
185191 func claimREADONLY (e) = {
186192 let N = E(e)
187193 $Tuple2(nil, N)
188194 }
189195
190196
191197
192198 @Callable(r)
193199 func stats (e) = $Tuple2(nil, [value(getInteger(g(e))), value(getInteger(h(e))), A(e), C(e), B(e), E(e)])
194200
195201
196202
197203 @Callable(r)
198-func setManager (U) = {
199- let V = q(r)
200- if ((V == V))
204+func setManager (V) = {
205+ let W = q(r)
206+ if ((W == W))
201207 then {
202- let W = fromBase58String(U)
203- if ((W == W))
204- then [StringEntry(c(), U)]
208+ let X = fromBase58String(V)
209+ if ((X == X))
210+ then [StringEntry(c(), V)]
205211 else throw("Strict value is not equal to itself.")
206212 }
207213 else throw("Strict value is not equal to itself.")
208214 }
209215
210216
211217
212218 @Callable(r)
213219 func confirmManager () = {
214- let X = p()
215- let Y = if (isDefined(X))
220+ let Y = p()
221+ let Z = if (isDefined(Y))
216222 then true
217223 else k("no pending manager")
218- if ((Y == Y))
224+ if ((Z == Z))
219225 then {
220- let Z = if ((r.callerPublicKey == value(X)))
226+ let aa = if ((r.callerPublicKey == value(Y)))
221227 then true
222228 else k("you are not pending manager")
223- if ((Z == Z))
224- then [StringEntry(b(), toBase58String(value(X))), DeleteEntry(c())]
229+ if ((aa == aa))
230+ then [StringEntry(b(), toBase58String(value(Y))), DeleteEntry(c())]
225231 else throw("Strict value is not equal to itself.")
226232 }
227233 else throw("Strict value is not equal to itself.")
228234 }
229235
230236
231-@Verifier(aa)
232-func ab () = {
233- let ac = {
237+@Verifier(ab)
238+func ac () = {
239+ let ad = {
234240 let n = m()
235241 if ($isInstanceOf(n, "ByteVector"))
236242 then {
237243 let t = n
238244 t
239245 }
240246 else if ($isInstanceOf(n, "Unit"))
241- then aa.senderPublicKey
247+ then ab.senderPublicKey
242248 else throw("Match error")
243249 }
244- sigVerify(aa.bodyBytes, aa.proofs[0], ac)
250+ sigVerify(ab.bodyBytes, ab.proofs[0], ad)
245251 }
246252

github/deemru/w8io/169f3d6 
49.30 ms