tx · 69CV1wnJXRFtcAesAXc8s5LFPSJHDwjGF8nshnC6VuU1

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.00600000 Waves

2023.11.10 12:29 [2837071] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "69CV1wnJXRFtcAesAXc8s5LFPSJHDwjGF8nshnC6VuU1", "fee": 600000, "feeAssetId": null, "timestamp": 1699608645936, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "299ypjZK5GYYRj2EWvjPskVQgqcFc5qPeNiLtn9q6Nmzv4p6fQ1LDTqT7QBvAzNzeSCCYX7rVHLmddnwXnvCiYxz" ], "script": "base64:BgISCAISABIAEgASAwoBCBIDCgEYEgACZDgAgMLXLwENdHJ5R2V0SW50ZWdlcgIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJoIAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYgUHJG1hdGNoMAUBYgAAAQx0cnlHZXRTdHJpbmcCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWIFByRtYXRjaDAFAWICAAAHYnVybnh0bgEgJE91eWp+Mzm4+wz/hKlxXF7KLd4zoMRdafnqRBHsTFQAA1BaMQEaAVeFnSww1fwDPmHFrd6Sv8UqkfOZrhpBQAoAA1BaMgEaAVf1RmgngA1o304mdXq0odMoMeAJv/V5eTcAA1BaMwEaAVdrUh3hZ11iM5xE9ppvCu7VVcjaIPzs5scAA1BaNAEaAVd8ufIkLHkd+cILYV2n5Ut+Pmb4MdnkIOIAA1BaNQEaAVdzM1uLVnknLEeNcZD2LCCz+T9Cl/2cRdIAA1BaNgEaAVdHHWb6sJ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=", "height": 2837071, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E7M9R9qmhBAPGh1Pb4msHu85YJPUkVfubrVdb5UVsxSb Next: EaDf88YUqoRXULMj1nWorGbq8gaiVpiV4H3JcYeFzwkZ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c) = {
5- let d = getInteger(b, c)
6- if ($isInstanceOf(d, "Int"))
4+let a = 100000000
5+
6+func b (c,d) = {
7+ let e = getInteger(c, d)
8+ if ($isInstanceOf(e, "Int"))
79 then {
8- let e = d
9- e
10+ let f = e
11+ f
1012 }
1113 else 0
1214 }
1315
1416
15-func f (b,c) = {
16- let d = getString(b, c)
17- if ($isInstanceOf(d, "String"))
17+func g (c,d) = {
18+ let e = getString(c, d)
19+ if ($isInstanceOf(e, "String"))
1820 then {
19- let e = d
20- e
21+ let f = e
22+ f
2123 }
2224 else ""
2325 }
2426
2527
26-let g = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns'
28+let h = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns'
2729
28-let h = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB'
30+let i = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB'
2931
30-let i = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx'
32+let j = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx'
3133
32-let j = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi'
34+let k = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi'
3335
34-let k = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7'
36+let l = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7'
3537
36-let l = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm'
38+let m = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm'
3739
38-let m = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q'
40+let n = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q'
3941
40-let n = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'
42+let o = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'
4143
42-let o = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5'
44+let p = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5'
4345
44-let p = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n"
46+let q = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n"
4547
46-let q = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry'
48+let r = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry'
4749
48-let r = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z"
50+let s = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z"
4951
50-func s (t,b) = {
51- let u = a(Address(t), (("global_" + toBase58String(g)) + "_balance"))
52- let v = a(Address(t), (toString(b) + "_indexStaked"))
53- let w = a(Address(t), "global_poolToken_amount")
54- fraction(u, v, w)
52+func t (u,c) = {
53+ let v = b(Address(u), (("global_" + toBase58String(h)) + "_balance"))
54+ let w = b(Address(u), (toString(c) + "_indexStaked"))
55+ let x = b(Address(u), "global_poolToken_amount")
56+ fraction(v, w, x)
5557 }
5658
5759
58-func x (t,b,y) = {
59- let z = assetBalance(Address(t), g)
60- let A = a(Address(n), ((("%s%s%s__staked__" + toString(b)) + "__") + y))
61- let B = a(Address(n), ("%s%s%s__staked__total__" + y))
62- fraction(z, A, B)
60+func y (u,c,z) = {
61+ let A = assetBalance(Address(u), h)
62+ let B = b(Address(o), ((("%s%s%s__staked__" + toString(c)) + "__") + z))
63+ let C = b(Address(o), ("%s%s%s__staked__total__" + z))
64+ fraction(A, B, C)
6365 }
6466
6567
66-func C (b) = {
67- let D = assetBalance(b, g)
68- let E = s(h, b)
69- let F = s(i, b)
70- let G = s(j, b)
71- let H = s(k, b)
72- let I = s(l, b)
73- let J = s(m, b)
74- let K = x(o, b, p)
75- let L = x(q, b, r)
76- let M = ((((((((D + E) + F) + G) + H) + I) + J) + K) + L)
77-[IntegerEntry("burnxtnBalance", D), IntegerEntry("PZ1balance", E), IntegerEntry("PZ2balance", F), IntegerEntry("PZ3balance", G), IntegerEntry("PZ4balance", H), IntegerEntry("PZ5balance", I), IntegerEntry("PZ6balance", J), IntegerEntry("WX1balance", K), IntegerEntry("WX2balance", L), IntegerEntry("total", M)]
68+func D (c) = {
69+ let E = assetBalance(c, h)
70+ let F = t(i, c)
71+ let G = t(j, c)
72+ let H = t(k, c)
73+ let I = t(l, c)
74+ let J = t(m, c)
75+ let K = t(n, c)
76+ let L = y(p, c, q)
77+ let M = y(r, c, s)
78+ let N = ((((((((E + F) + G) + H) + I) + J) + K) + L) + M)
79+[IntegerEntry("burnxtnBalance", E), IntegerEntry("PZ1balance", F), IntegerEntry("PZ2balance", G), IntegerEntry("PZ3balance", H), IntegerEntry("PZ4balance", I), IntegerEntry("PZ5balance", J), IntegerEntry("PZ6balance", K), IntegerEntry("WX1balance", L), IntegerEntry("WX2balance", M), IntegerEntry("total", N)]
7880 }
7981
8082
81-@Callable(N)
82-func register () = if (contains(f(this, "Address registered"), toString(N.caller)))
83+@Callable(O)
84+func register () = if (contains(g(this, "Address registered"), toString(O.caller)))
8385 then throw("already registered")
8486 else if ((height > 1))
8587 then throw("registration closed")
86- else [IntegerEntry("Amount Registered", (a(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((a(this, "Amount Registered") + 1))), toString(N.caller)), StringEntry("Address registered", ((f(this, "Address registered") + toString(N.caller)) + ","))]
88+ else [IntegerEntry("Amount Registered", (b(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((b(this, "Amount Registered") + 1))), toString(O.caller)), StringEntry("Address registered", ((g(this, "Address registered") + toString(O.caller)) + ","))]
8789
8890
8991
90-@Callable(N)
92+@Callable(O)
9193 func makeList () = {
92- let O = dropRight(f(this, "Address registered"), 1)
93- let P = split(O, ",")
94- let Q = size(P)
95- let R = P[0]
96- let S = P[(Q - 1)]
97- let T = value(addressFromString(R))
98- let U = wavesBalance(T).available
99- func V (W,b) = (W ++ [IntegerEntry(b, wavesBalance(addressFromStringValue(b)).available)])
94+ let P = dropRight(g(this, "Address registered"), 1)
95+ let Q = split(P, ",")
96+ let R = size(Q)
97+ func S (T,c) = if (((3 * a) > wavesBalance(addressFromStringValue(c)).available))
98+ then nil
99+ else (T ++ [IntegerEntry(c, wavesBalance(addressFromStringValue(c)).available)])
100100
101- let X = {
102- let Y = P
103- let Z = size(Y)
104- let aa = nil
105- func ab (ac,ad) = if ((ad >= Z))
106- then ac
107- else V(ac, Y[ad])
101+ let U = {
102+ let V = Q
103+ let W = size(V)
104+ let X = nil
105+ func Y (Z,aa) = if ((aa >= W))
106+ then Z
107+ else S(Z, V[aa])
108108
109- func ae (ac,ad) = if ((ad >= Z))
110- then ac
109+ func ab (Z,aa) = if ((aa >= W))
110+ then Z
111111 else throw("List size exceeds 100")
112112
113- ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 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), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
113+ ab(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(X, 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), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
114114 }
115- ([StringEntry("addresses", O), IntegerEntry("listSize", Q), StringEntry("firstOfList", R), StringEntry("lastOfList", S)] ++ X)
115+ (nil ++ U)
116116 }
117117
118118
119119
120-@Callable(N)
121-func totalBalanceCaller () = (nil ++ C(N.caller))
120+@Callable(O)
121+func totalBalanceCaller () = (nil ++ D(O.caller))
122122
123123
124124
125-@Callable(N)
126-func totalBalanceAddress (b) = (nil ++ C(value(addressFromString(b))))
125+@Callable(O)
126+func totalBalanceAddress (c) = (nil ++ D(value(addressFromString(c))))
127127
128128
129129
130-@Callable(N)
131-func transfer (O) = {
132- let af = N.payments[0].assetId
133- let ag = N.payments[0].amount
134- let ah = (ag / size(O))
135- func V (W,b) = (W ++ [ScriptTransfer(addressFromStringValue(b), ah, af)])
130+@Callable(O)
131+func transfer (P) = {
132+ let ac = O.payments[0].assetId
133+ let ad = O.payments[0].amount
134+ let ae = (ad / size(P))
135+ func S (T,c) = (T ++ [ScriptTransfer(addressFromStringValue(c), ae, ac)])
136136
137- let Y = O
138- let Z = size(Y)
139- let aa = nil
140- func ab (ac,ad) = if ((ad >= Z))
141- then ac
142- else V(ac, Y[ad])
137+ let V = P
138+ let W = size(V)
139+ let X = nil
140+ func Y (Z,aa) = if ((aa >= W))
141+ then Z
142+ else S(Z, V[aa])
143143
144- func ae (ac,ad) = if ((ad >= Z))
145- then ac
144+ func ab (Z,aa) = if ((aa >= W))
145+ then Z
146146 else throw("List size exceeds 100")
147147
148- ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 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), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
148+ ab(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(Y(X, 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), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
149149 }
150150
151151

github/deemru/w8io/026f985 
245.56 ms