tx · DXU1Wep861RcHzPLEFFrxaLi2q8fmXH4sEZCByogS1cg

3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu:  -0.01300000 Waves

2022.06.08 17:21 [2087507] smart account 3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu > SELF 0.00000000 Waves

{ "type": 13, "id": "DXU1Wep861RcHzPLEFFrxaLi2q8fmXH4sEZCByogS1cg", "fee": 1300000, "feeAssetId": null, "timestamp": 1654698106868, "version": 1, "sender": "3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu", "senderPublicKey": "668WwQVaWxezbvLEK3FccCSTbjst4zYAJDPrfLFRj9b9", "proofs": [ "4m2txKqPH2mcsn1QDKNBpUYrTdY9VVLWN6R4eji7RfG2TTApgvJkzMExAaYAWuqaauiZQkjknNntzQWagRANnLuQ" ], "script": "base64:AAIFAAAAAAAAACsIAhIDCgEIEgASABIFCgMICAgSCAoGCAgICAEIEgASBAoCCAESAwoBCBIAAAAAFAAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAIY29udHJhY3QCAAAAD2xwX3N0YWtpbmdfdjI6IAEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAABBtYW5hZ2VyUHVibGljS2V5BQAAAANuaWwFAAAAA1NFUAEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAACQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAAXcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkFAAAAA25pbAUAAAADU0VQAQAAAAZrZXlUVkwAAAABAAAAB2Fzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAQlcyVzCQAETAAAAAICAAAAA3R2bAkABEwAAAACBQAAAAdhc3NldElkBQAAAANuaWwFAAAAA1NFUAEAAAANa2V5VFZMSGlzdG9yeQAAAAIAAAAHYXNzZXRJZAAAAAZoZWlnaHQJAAS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B2NoZWNrUE0DCQAAAAAAAAIIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkBAAAABXZhbHVlAAAAAQUAAAACcG0GCQEAAAAIdGhyb3dFcnIAAAABAgAAABt5b3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAAAAAAIFAAAAB2NoZWNrUE0FAAAAB2NoZWNrUE0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAACQACWAAAAAEJAQAAAAV2YWx1ZQAAAAEFAAAAAnBtCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tlebVEQMU=", "chainId": 84, "height": 2087507, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CReS8PrayB5DJtBTePWPVWXVgwZxtVK8CZ6fL64YbBt1 Next: 9LA7qr8ZwkVPtVgErL9XCej1ZuCqeWCi6btZbdQZHBVY Diff:
OldNewDifferences
6666 }
6767
6868
69-func v (w) = {
70- let x = throw("Permission denied")
69+func v (w) = throw((c + w))
70+
71+
72+func x (y) = {
73+ let z = v("permission denied")
7174 let s = r()
7275 if ($isInstanceOf(s, "ByteVector"))
7376 then {
74- let y = s
75- if ((w.callerPublicKey == y))
77+ let A = s
78+ if ((y.callerPublicKey == A))
7679 then true
77- else x
80+ else z
7881 }
7982 else if ($isInstanceOf(s, "Unit"))
80- then if ((w.caller == this))
83+ then if ((y.caller == this))
8184 then true
82- else x
85+ else z
8386 else throw("Match error")
8487 }
85-
86-
87-func z (A) = throw((c + A))
8888
8989
9090 func B () = addressFromStringValue(value(getString(q())))
9191
9292
93-func C (w,g) = {
94- let D = (toString(w.caller) == valueOrElse(getString(p(g)), b))
93+func C (y,g) = {
94+ let D = (toString(y.caller) == valueOrElse(getString(p(g)), b))
9595 if (D)
9696 then true
9797 else {
98- let E = v(w)
98+ let E = x(y)
9999 if ((E == E))
100100 then true
101101 else throw("Strict value is not equal to itself.")
103103 }
104104
105105
106-@Callable(w)
106+@Callable(y)
107107 func constructor (B) = {
108- let E = v(w)
108+ let E = x(y)
109109 if ((E == E))
110110 then [StringEntry(q(), B)]
111111 else throw("Strict value is not equal to itself.")
113113
114114
115115
116-@Callable(w)
116+@Callable(y)
117+func put () = nil
118+
119+
120+
121+@Callable(y)
117122 func submitGetRequest () = nil
118123
119124
120125
121-@Callable(w)
126+@Callable(y)
122127 func executeGetRequest (g,F,G) = nil
123128
124129
125130
126-@Callable(w)
131+@Callable(y)
127132 func registerAsset (g,H,I,J,K,L) = {
128- let M = [v(w), if ((K >= 0))
133+ let M = [x(y), if ((K >= 0))
129134 then true
130- else z("invalid delayInBlocks"), if ((addressFromString(L) != unit))
135+ else v("invalid delayInBlocks"), if ((addressFromString(L) != unit))
131136 then true
132- else z("invalid proxyAddress"), if ((valueOrElse(getBoolean(l(g)), false) == false))
137+ else v("invalid proxyAddress"), if ((valueOrElse(getBoolean(l(g)), false) == false))
133138 then true
134- else z("asset already registered")]
139+ else v("asset already registered")]
135140 if ((M == M))
136141 then {
137142 let N = value(assetInfo(fromBase58String(g))).decimals
153158
154159
155160
156-@Callable(w)
161+@Callable(y)
157162 func topUpBalance () = {
158- let S = valueOrErrorMessage(w.payments[0], (c + "payment must be attached"))
163+ let S = valueOrErrorMessage(y.payments[0], (c + "payment must be attached"))
159164 let g = toBase58String(value(S.assetId))
160165 let T = S.amount
161166 let U = valueOrElse(getInteger(j(g)), 0)
162- let M = [C(w, g), if ((size(w.payments) == 1))
167+ let M = [C(y, g), if ((size(y.payments) == 1))
163168 then true
164- else z("only one payment must be attached"), if (valueOrElse(getBoolean(l(g)), false))
169+ else v("only one payment must be attached"), if (valueOrElse(getBoolean(l(g)), false))
165170 then true
166- else z("attached payment asset must be registered in the contract"), if ((U != 0))
171+ else v("attached payment asset must be registered in the contract"), if ((U != 0))
167172 then true
168- else z("zero pendingWithdrawals, nothing to top up"), if ((U >= T))
173+ else v("zero pendingWithdrawals, nothing to top up"), if ((U >= T))
169174 then true
170175 else "amount to top up must be less or equal than pendingWithdrawals"]
171176 if ((M == M))
175180
176181
177182
178-@Callable(w)
183+@Callable(y)
179184 func setTVL (g,V) = {
180- let E = C(w, g)
185+ let E = C(y, g)
181186 if ((E == E))
182187 then [IntegerEntry(f(g), V), IntegerEntry(h(g, height), V)]
183188 else throw("Strict value is not equal to itself.")
185190
186191
187192
188-@Callable(w)
193+@Callable(y)
189194 func setManager (W) = {
190- let E = v(w)
195+ let E = x(y)
191196 if ((E == E))
192197 then {
193198 let X = fromBase58String(W)
200205
201206
202207
203-@Callable(w)
208+@Callable(y)
204209 func confirmManager () = {
205210 let Y = u()
206211 let Z = if (isDefined(Y))
207212 then true
208- else z("no pending manager")
213+ else v("no pending manager")
209214 if ((Z == Z))
210215 then {
211- let aa = if ((w.callerPublicKey == value(Y)))
216+ let aa = if ((y.callerPublicKey == value(Y)))
212217 then true
213- else z("you are not pending manager")
218+ else v("you are not pending manager")
214219 if ((aa == aa))
215220 then [StringEntry(d(), toBase58String(value(Y))), DeleteEntry(e())]
216221 else throw("Strict value is not equal to itself.")
225230 let s = r()
226231 if ($isInstanceOf(s, "ByteVector"))
227232 then {
228- let y = s
229- y
233+ let A = s
234+ A
230235 }
231236 else if ($isInstanceOf(s, "Unit"))
232237 then ab.senderPublicKey
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = "lp_staking_v2: "
99
1010 func d () = makeString(["%s", "managerPublicKey"], a)
1111
1212
1313 func e () = makeString(["%s", "pendingManagerPublicKey"], a)
1414
1515
1616 func f (g) = makeString(["%s%s", "tvl", g], a)
1717
1818
1919 func h (g,i) = makeString(["%s%s%d", "tvlHistory", g, toString(i)], a)
2020
2121
2222 func j (g) = makeString(["%s%s", "pendingWithdrawals", g], a)
2323
2424
2525 func k (g) = makeString(["%s%s", "delayInBlocks", g], a)
2626
2727
2828 func l (g) = makeString(["%s%s", "created", g], a)
2929
3030
3131 func m (g) = makeString(["%s%s", "assetIdToLPId", g], a)
3232
3333
3434 func n (o) = makeString(["%s%s", "lpIdToAssetId", o], a)
3535
3636
3737 func p (g) = makeString(["%s%s", "proxyAddress", g], a)
3838
3939
4040 func q () = makeString(["%s", "assetsStoreContract"], a)
4141
4242
4343 func r () = {
4444 let s = getString(d())
4545 if ($isInstanceOf(s, "String"))
4646 then {
4747 let t = s
4848 fromBase58String(t)
4949 }
5050 else if ($isInstanceOf(s, "Unit"))
5151 then unit
5252 else throw("Match error")
5353 }
5454
5555
5656 func u () = {
5757 let s = getString(e())
5858 if ($isInstanceOf(s, "String"))
5959 then {
6060 let t = s
6161 fromBase58String(t)
6262 }
6363 else if ($isInstanceOf(s, "Unit"))
6464 then unit
6565 else throw("Match error")
6666 }
6767
6868
69-func v (w) = {
70- let x = throw("Permission denied")
69+func v (w) = throw((c + w))
70+
71+
72+func x (y) = {
73+ let z = v("permission denied")
7174 let s = r()
7275 if ($isInstanceOf(s, "ByteVector"))
7376 then {
74- let y = s
75- if ((w.callerPublicKey == y))
77+ let A = s
78+ if ((y.callerPublicKey == A))
7679 then true
77- else x
80+ else z
7881 }
7982 else if ($isInstanceOf(s, "Unit"))
80- then if ((w.caller == this))
83+ then if ((y.caller == this))
8184 then true
82- else x
85+ else z
8386 else throw("Match error")
8487 }
85-
86-
87-func z (A) = throw((c + A))
8888
8989
9090 func B () = addressFromStringValue(value(getString(q())))
9191
9292
93-func C (w,g) = {
94- let D = (toString(w.caller) == valueOrElse(getString(p(g)), b))
93+func C (y,g) = {
94+ let D = (toString(y.caller) == valueOrElse(getString(p(g)), b))
9595 if (D)
9696 then true
9797 else {
98- let E = v(w)
98+ let E = x(y)
9999 if ((E == E))
100100 then true
101101 else throw("Strict value is not equal to itself.")
102102 }
103103 }
104104
105105
106-@Callable(w)
106+@Callable(y)
107107 func constructor (B) = {
108- let E = v(w)
108+ let E = x(y)
109109 if ((E == E))
110110 then [StringEntry(q(), B)]
111111 else throw("Strict value is not equal to itself.")
112112 }
113113
114114
115115
116-@Callable(w)
116+@Callable(y)
117+func put () = nil
118+
119+
120+
121+@Callable(y)
117122 func submitGetRequest () = nil
118123
119124
120125
121-@Callable(w)
126+@Callable(y)
122127 func executeGetRequest (g,F,G) = nil
123128
124129
125130
126-@Callable(w)
131+@Callable(y)
127132 func registerAsset (g,H,I,J,K,L) = {
128- let M = [v(w), if ((K >= 0))
133+ let M = [x(y), if ((K >= 0))
129134 then true
130- else z("invalid delayInBlocks"), if ((addressFromString(L) != unit))
135+ else v("invalid delayInBlocks"), if ((addressFromString(L) != unit))
131136 then true
132- else z("invalid proxyAddress"), if ((valueOrElse(getBoolean(l(g)), false) == false))
137+ else v("invalid proxyAddress"), if ((valueOrElse(getBoolean(l(g)), false) == false))
133138 then true
134- else z("asset already registered")]
139+ else v("asset already registered")]
135140 if ((M == M))
136141 then {
137142 let N = value(assetInfo(fromBase58String(g))).decimals
138143 let O = Issue(H, I, 1, N, true)
139144 let P = calculateAssetId(O)
140145 let o = toBase58String(P)
141146 let Q = invoke(B(), "createOrUpdate", [o, J, false], nil)
142147 if ((Q == Q))
143148 then {
144149 let R = invoke(B(), "addLabel", [o, "DEFI"], nil)
145150 if ((R == R))
146151 then [BooleanEntry(l(g), true), IntegerEntry(f(g), 0), IntegerEntry(h(g, height), 0), IntegerEntry(k(g), K), StringEntry(n(o), g), StringEntry(m(g), o), StringEntry(p(g), L), O, Burn(P, 1)]
147152 else throw("Strict value is not equal to itself.")
148153 }
149154 else throw("Strict value is not equal to itself.")
150155 }
151156 else throw("Strict value is not equal to itself.")
152157 }
153158
154159
155160
156-@Callable(w)
161+@Callable(y)
157162 func topUpBalance () = {
158- let S = valueOrErrorMessage(w.payments[0], (c + "payment must be attached"))
163+ let S = valueOrErrorMessage(y.payments[0], (c + "payment must be attached"))
159164 let g = toBase58String(value(S.assetId))
160165 let T = S.amount
161166 let U = valueOrElse(getInteger(j(g)), 0)
162- let M = [C(w, g), if ((size(w.payments) == 1))
167+ let M = [C(y, g), if ((size(y.payments) == 1))
163168 then true
164- else z("only one payment must be attached"), if (valueOrElse(getBoolean(l(g)), false))
169+ else v("only one payment must be attached"), if (valueOrElse(getBoolean(l(g)), false))
165170 then true
166- else z("attached payment asset must be registered in the contract"), if ((U != 0))
171+ else v("attached payment asset must be registered in the contract"), if ((U != 0))
167172 then true
168- else z("zero pendingWithdrawals, nothing to top up"), if ((U >= T))
173+ else v("zero pendingWithdrawals, nothing to top up"), if ((U >= T))
169174 then true
170175 else "amount to top up must be less or equal than pendingWithdrawals"]
171176 if ((M == M))
172177 then [IntegerEntry(j(g), (U - T))]
173178 else throw("Strict value is not equal to itself.")
174179 }
175180
176181
177182
178-@Callable(w)
183+@Callable(y)
179184 func setTVL (g,V) = {
180- let E = C(w, g)
185+ let E = C(y, g)
181186 if ((E == E))
182187 then [IntegerEntry(f(g), V), IntegerEntry(h(g, height), V)]
183188 else throw("Strict value is not equal to itself.")
184189 }
185190
186191
187192
188-@Callable(w)
193+@Callable(y)
189194 func setManager (W) = {
190- let E = v(w)
195+ let E = x(y)
191196 if ((E == E))
192197 then {
193198 let X = fromBase58String(W)
194199 if ((X == X))
195200 then [StringEntry(e(), W)]
196201 else throw("Strict value is not equal to itself.")
197202 }
198203 else throw("Strict value is not equal to itself.")
199204 }
200205
201206
202207
203-@Callable(w)
208+@Callable(y)
204209 func confirmManager () = {
205210 let Y = u()
206211 let Z = if (isDefined(Y))
207212 then true
208- else z("no pending manager")
213+ else v("no pending manager")
209214 if ((Z == Z))
210215 then {
211- let aa = if ((w.callerPublicKey == value(Y)))
216+ let aa = if ((y.callerPublicKey == value(Y)))
212217 then true
213- else z("you are not pending manager")
218+ else v("you are not pending manager")
214219 if ((aa == aa))
215220 then [StringEntry(d(), toBase58String(value(Y))), DeleteEntry(e())]
216221 else throw("Strict value is not equal to itself.")
217222 }
218223 else throw("Strict value is not equal to itself.")
219224 }
220225
221226
222227 @Verifier(ab)
223228 func ac () = {
224229 let ad = {
225230 let s = r()
226231 if ($isInstanceOf(s, "ByteVector"))
227232 then {
228- let y = s
229- y
233+ let A = s
234+ A
230235 }
231236 else if ($isInstanceOf(s, "Unit"))
232237 then ab.senderPublicKey
233238 else throw("Match error")
234239 }
235240 sigVerify(ab.bodyBytes, ab.proofs[0], ad)
236241 }
237242

github/deemru/w8io/169f3d6 
67.17 ms