tx · 6QoWLHuwmreHtGSqvVqffhK3ycJ1mAynKFhPt2eA5Yt

3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv:  -0.00600000 Waves

2024.09.12 20:47 [3280734] smart account 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv > SELF 0.00000000 Waves

{ "type": 13, "id": "6QoWLHuwmreHtGSqvVqffhK3ycJ1mAynKFhPt2eA5Yt", "fee": 600000, "feeAssetId": null, "timestamp": 1726163253745, "version": 2, "chainId": 84, "sender": "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv", "senderPublicKey": "2fNSk5gmWbXBDTkSYSKd66xSgVvAYzrJnP9YSAFNvTwC", "proofs": [ "aaPGsJ55V8Np44saEv8aUDUycFAaGqt6mej7ct7jG25cDcYaL797R5N8qbexEu1mTuGohsKtGpZHhheCkdM6htQ" ], "script": "base64:BgIRCAISAwoBGBIDCgEIEgMKAQghAANTRVACAl9fAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQAWZGVmYXVsdFJlc3QyQWRkcmVzc1N0cgQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAIjM1BGd1l0YThiaUV6MzF6cGVGZTVESks4d0U1dHJTcFFWRjgDCQAAAgEBVAUHJG1hdGNoMAIjM043VXVZYXI2MjY0UDU4RkJoVldLUFFBaDRZdWEyaGduZ3YJAAIBAg1Vbmtub3duIGNoYWluABVvbGRTdGFraW5nQ29udHJhY3RTdHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDACIzNQTG5jWHRTMVU4M0Q2Y1FiRkQzSDhyQkhQTGd6eFNGS1oxAwkAAAIBAVQFByRtYXRjaDACIzNOREN5Qkc1cTg1SnVhUmlpZ1VlRXRhaW55akNRVDNYcFptCQACAQINVW5rbm93biBjaGFpbgEPZ2V0U3RyaW5nT3JGYWlsAgdhZGRyZXNzA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCdCAIF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3gfYDFdrUW1uLVVzQGXZcsbNPymDn9WVSZMztvZ Diff:
OldNewDifferences
193193
194194 @Callable(an)
195195 func conversionInfoREADONLY (ac) = {
196- let as = addressFromStringValue(getStringValue(u))
196+ let as = addressFromStringValue(getStringValue(s, u))
197197 let at = K(invoke(as, "unstakeAllAcresREADONLY", [ac], nil))
198198 let au = at._1
199199 let av = at._2
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = take(drop(this.bytes, 1), 1)
77
88 let c = {
99 let d = b
1010 if ((base58'2W' == d))
1111 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
1212 else if ((base58'2T' == d))
1313 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
1414 else throw("Unknown chain")
1515 }
1616
1717 let e = {
1818 let d = b
1919 if ((base58'2W' == d))
2020 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
2121 else if ((base58'2T' == d))
2222 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
2323 else throw("Unknown chain")
2424 }
2525
2626 func f (g,h) = valueOrErrorMessage(getString(g, h), makeString(["mandatory ", toString(g), ".", h, " is not defined"], ""))
2727
2828
2929 let i = 1
3030
3131 let j = 2
3232
3333 func k () = "%s__restConfig"
3434
3535
3636 func l () = "%s__rest2Addr"
3737
3838
3939 func m (n) = split_4C(f(n, k()), a)
4040
4141
4242 func o (p,q) = valueOrErrorMessage(addressFromString(p[q]), ("Rest cfg doesn't contain address at index " + toString(q)))
4343
4444
4545 let r = addressFromStringValue(valueOrElse(getString(this, l()), c))
4646
4747 let p = m(r)
4848
4949 let s = o(p, i)
5050
5151 let t = o(p, j)
5252
5353 let u = "oldAcresContract"
5454
5555 func v (w) = ("lastTxIdByUser_" + w)
5656
5757
5858 let x = "wlg_assetId"
5959
6060 let y = valueOrErrorMessage(getBinary(t, x), "WLGOLD is not issued yet")
6161
6262 let z = "acresAssetId"
6363
6464 let A = valueOrErrorMessage(getBinary(s, z), "ACRES is not issued yet")
6565
6666 func B (C) = ("stakedDuckByOwner_" + C)
6767
6868
6969 func D (w) = ("accountCustomNameByAddr_" + w)
7070
7171
7272 func E (w) = ("accRefBy_" + w)
7373
7474
7575 func F (w) = ("accReferrals_" + w)
7676
7777
7878 func G (H) = {
7979 let d = H
8080 if ($isInstanceOf(d, "(Int, Int, Int, Int)"))
8181 then {
8282 let I = d
8383 I
8484 }
8585 else throw("fail to cast into (Int, Int, Int, Int)")
8686 }
8787
8888
8989 func J (H) = {
9090 let d = H
9191 if ($isInstanceOf(d, "(Int, Int, Int)"))
9292 then {
9393 let I = d
9494 I
9595 }
9696 else throw("fail to cast into (Int, Int, Int)")
9797 }
9898
9999
100100 func K (H) = {
101101 let d = H
102102 if ($isInstanceOf(d, "(Int, Int)"))
103103 then {
104104 let I = d
105105 I
106106 }
107107 else throw("fail to cast into (Int, Int)")
108108 }
109109
110110
111111 let L = 100000000
112112
113113 func M (w) = ("acresStakedAmountByUser_" + w)
114114
115115
116116 let N = [10, 20, 40, 80, 150, 250, 400, 700, 1000]
117117
118118 func O (P) = {
119119 let Q = (P / L)
120120 func R (S,T) = if ((T > Q))
121121 then S
122122 else (S + 1)
123123
124124 let q = {
125125 let U = N
126126 let V = size(U)
127127 let W = 0
128128 func X (Y,Z) = if ((Z >= V))
129129 then Y
130130 else R(Y, U[Z])
131131
132132 func aa (Y,Z) = if ((Z >= V))
133133 then Y
134134 else throw("List size exceeds 10")
135135
136136 aa(X(X(X(X(X(X(X(X(X(X(W, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
137137 }
138138 (q + 1)
139139 }
140140
141141
142142 func ab (ac) = {
143143 let w = addressFromString(ac)
144144 let ad = if (isDefined(w))
145145 then wavesBalance(value(w))
146146 else BalanceDetails(0, 0, 0, 0)
147147 let ae = if (isDefined(w))
148148 then assetBalance(value(w), y)
149149 else 0
150150 let af = valueOrElse(getString(s, D(ac)), ac)
151151 let ag = E(ac)
152152 let ah = getString(s, ag)
153153 let ai = valueOrElse(getString(s, F(ac)), "")
154154 let aj = valueOrElse(getString(s, v(ac)), "")
155155 let ak = if (isDefined(w))
156156 then assetBalance(value(w), A)
157157 else 0
158158 let al = valueOrElse(getInteger(s, M(ac)), 0)
159159 let am = O(ak)
160160 [("%s%s__customName__" + af), ("%s%s__referredBy__" + valueOrElse(ah, "")), ("%s%s__referrals__" + ai), ("%s%s__lastTxId__" + aj), ("%s%d__wavesBalance__" + toString(ad.available)), ("%s%d__wlgoldBalance__" + toString(ae)), ("%s%d__acresBalance__" + toString(ak)), ("%s%d__stakedAcres__" + toString(al)), ("%s%d__currentLvl__" + toString(am))]
161161 }
162162
163163
164164 @Callable(an)
165165 func constructorV1 (ao) = if ((an.caller != this))
166166 then throw("permissions denied")
167167 else {
168168 func ap (S,aq) = (S + "%s")
169169
170170 let ar = {
171171 let U = ao
172172 let V = size(U)
173173 let W = ""
174174 func X (Y,Z) = if ((Z >= V))
175175 then Y
176176 else ap(Y, U[Z])
177177
178178 func aa (Y,Z) = if ((Z >= V))
179179 then Y
180180 else throw("List size exceeds 10")
181181
182182 aa(X(X(X(X(X(X(X(X(X(X(W, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
183183 }
184184 [StringEntry(k(), makeString(ar :: ao, a)), StringEntry(l(), toString(this))]
185185 }
186186
187187
188188
189189 @Callable(an)
190190 func walletInfoREADONLY (ac) = $Tuple2(nil, ab(ac))
191191
192192
193193
194194 @Callable(an)
195195 func conversionInfoREADONLY (ac) = {
196- let as = addressFromStringValue(getStringValue(u))
196+ let as = addressFromStringValue(getStringValue(s, u))
197197 let at = K(invoke(as, "unstakeAllAcresREADONLY", [ac], nil))
198198 let au = at._1
199199 let av = at._2
200200 let aw = G(invoke(s, "unstakeLandsREADONLY", [ac], nil))
201201 let ax = aw._1
202202 let ay = aw._2
203203 let az = aw._3
204204 let aA = aw._4
205205 let aB = addressFromStringValue(e)
206206 let aC = valueOrElse(getString(aB, B(ac)), "")
207207 let aD = if ((aC != ""))
208208 then J(invoke(aB, "unstakeDuckREADONLY", [aC, ac], nil))
209209 else $Tuple3(0, 0, 0)
210210 let aE = aD._1
211211 let aF = aD._2
212212 let aG = aD._3
213213 $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(au)), ("%s%d__claimedAcres__" + toString(av)), ("%s%d__acresFromPieces__" + toString(ax)), ("%s%d__acresFromRes__" + toString(ay)), ("%s%d__acresFromMat__" + toString(az)), ("%s%d__acresFromProd__" + toString(aA)), ("%s%d__acresFromDuckRes__" + toString(aE)), ("%s%d__acresFromDuckMat__" + toString(aF)), ("%s%d__acresFromDuckProd__" + toString(aG))])
214214 }
215215
216216

github/deemru/w8io/169f3d6 
31.69 ms