tx · 2eJr9ENwuUSAUUJVoAWqTssr6Ex9Q9XNo73MtYSuuWMi

3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2:  -0.00500000 Waves

2023.04.26 00:01 [2550582] smart account 3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2 > SELF 0.00000000 Waves

{ "type": 13, "id": "2eJr9ENwuUSAUUJVoAWqTssr6Ex9Q9XNo73MtYSuuWMi", "fee": 500000, "feeAssetId": null, "timestamp": 1682456504359, "version": 2, "chainId": 84, "sender": "3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2", "senderPublicKey": "BgxpCm4wxbW8SKLPKZnf4KU2D6ZU29ov8MgZrkaSAqpY", "proofs": [ "qQKhzSkP7mKqwJic4sqPUzxax3UGuNDxzqZwCFbxMGGzq9tJpbYbZwbzAP4CyYwtphaA7syRnPnGaNzdXGidtZH" ], "script": "base64:BgIRCAISAwoBCBIDCgEIEgMKAQgPAApLX2FtX2FzX2lkAg8lc19fYW1vdW50QXNzZXQACktfcHJfYXNfaWQCDiVzX19wcmljZUFzc2V0AAVLX2FtcAIHJXNfX2FtcAAHS19zaGFyZQJEJXMlc19fc2hhcmVBc3NldEJhbGFuY2VfX1lpTmJvZkZ6QzE3akVISENNd3JSY3B5OU1ycmphYk1NTFp4ZzhnNXhtZjcACEtfc3Rha2VkAhklcyVzX19zdGFrZWRCYWxhbmNlX1dBVkVTAQx0cnlHZXRTdHJpbmcCA2tleQdhZGRyZXNzBAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWIFByRtYXRjaDAFAWICAAENdHJ5R2V0SW50ZWdlcgIDa2V5B2FkZHJlc3MEByRtYXRjaDAJAJoIAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYgUHJG1hdGNoMAUBYgAAAQ9nZXRBc3NldEJhbGFuY2UCB2FkZHJlc3MHYXNzZXRJZAQBYQkA8AcCBQdhZGRy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XMAIc6JGw==", "height": 2550582, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HwSfynF9bfcfMBFdEwqESt6tvoGyCG9bLKMMzNmiqJcT Next: 9zRFFWnZ51s11ZtRWVmPWN18Udh9rugAGKuXxQv3uLs7 Diff:
OldNewDifferences
6363 let s = Address(fromBase58String(h))
6464 let x = f(a, s)
6565 let y = f(b, s)
66- let z = f(c, s)
66+ let z = k(c, s)
6767 let A = k(d, s)
6868 let B = k(e, s)
69- $Tuple2(((x + ",") + y), (((z + ",") + toString(A)) + toString(B)))
69+ $Tuple2(((x + ",") + y), ((((toString(z) + ",") + toString(A)) + ",") + toString(B)))
7070 }
7171
7272
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "%s__amountAsset"
55
66 let b = "%s__priceAsset"
77
88 let c = "%s__amp"
99
1010 let d = "%s%s__shareAssetBalance__YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7"
1111
1212 let e = "%s%s__stakedBalance_WAVES"
1313
1414 func f (g,h) = {
1515 let i = getString(h, g)
1616 if ($isInstanceOf(i, "String"))
1717 then {
1818 let j = i
1919 j
2020 }
2121 else ""
2222 }
2323
2424
2525 func k (g,h) = {
2626 let i = getInteger(h, g)
2727 if ($isInstanceOf(i, "Int"))
2828 then {
2929 let j = i
3030 j
3131 }
3232 else 0
3333 }
3434
3535
3636 func l (h,m) = {
3737 let n = assetBalance(h, m)
3838 n
3939 }
4040
4141
4242 func o (h) = {
4343 let p = wavesBalance(h).available
4444 p
4545 }
4646
4747
4848 func q (r,m) = {
4949 let h = take(r, 35)
5050 let s = Address(fromBase58String(h))
5151 let t = if ((m == "WAVES"))
5252 then o(s)
5353 else {
5454 let u = fromBase58String(m)
5555 l(s, u)
5656 }
5757 let v = size(r)
5858 (((((h + drop(r, 35)) + m) + ":") + toString(t)) + ",")
5959 }
6060
6161
6262 func w (h) = {
6363 let s = Address(fromBase58String(h))
6464 let x = f(a, s)
6565 let y = f(b, s)
66- let z = f(c, s)
66+ let z = k(c, s)
6767 let A = k(d, s)
6868 let B = k(e, s)
69- $Tuple2(((x + ",") + y), (((z + ",") + toString(A)) + toString(B)))
69+ $Tuple2(((x + ",") + y), ((((toString(z) + ",") + toString(A)) + ",") + toString(B)))
7070 }
7171
7272
7373 func C (r,D) = D :: r
7474
7575
7676 func E (F,h) = {
7777 let G = split_4C(F, ",")
7878 let H = {
7979 let I = G
8080 let J = size(I)
8181 let K = h
8282 func L (M,N) = if ((N >= J))
8383 then M
8484 else q(M, I[N])
8585
8686 func O (M,N) = if ((N >= J))
8787 then M
8888 else throw("List size exceeds 2")
8989
9090 O(L(L(K, 0), 1), 2)
9191 }
9292 let P = drop(H, 35)
9393 let Q = dropRight(P, 1)
9494 Q
9595 }
9696
9797
9898 func R (r,S) = {
9999 let T = split_4C(S, ";")
100100 let U = $Tuple3(T[0], T[1], T[2])
101101 let h = U._1
102102 let V = U._2
103103 let F = U._3
104104 let W = E(F, h)
105105 let X = ((h + "/") + W)
106106 X :: r
107107 }
108108
109109
110110 func Y (r,h) = {
111111 let Z = w(h)
112112 let F = Z._1
113113 let aa = Z._2
114114 let W = E(F, h)
115115 let X = ((((h + "/") + W) + "/") + aa)
116116 X :: r
117117 }
118118
119119
120120 @Callable(ab)
121121 func getWXNew (S) = {
122122 let ac = split_4C(S, ",")
123123 let ad = {
124124 let I = ac
125125 let J = size(I)
126126 let K = nil
127127 func L (M,N) = if ((N >= J))
128128 then M
129129 else Y(M, I[N])
130130
131131 func O (M,N) = if ((N >= J))
132132 then M
133133 else throw("List size exceeds 80")
134134
135135 O(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80)
136136 }
137137 let r = makeString_11C(ad, "|")
138138 throw(r)
139139 }
140140
141141
142142
143143 @Callable(ab)
144144 func getWX (S) = {
145145 let ae = split_4C(S, "|")
146146 let ad = {
147147 let I = ae
148148 let J = size(I)
149149 let K = nil
150150 func L (M,N) = if ((N >= J))
151151 then M
152152 else R(M, I[N])
153153
154154 func O (M,N) = if ((N >= J))
155155 then M
156156 else throw("List size exceeds 80")
157157
158158 O(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80)
159159 }
160160 let r = makeString_2C(ad, "|")
161161 nil
162162 }
163163
164164
165165
166166 @Callable(ab)
167167 func test (af) = throw(af)
168168
169169

github/deemru/w8io/026f985 
34.69 ms