tx · DufuYD9u5wXSXHa6inCHyfBFAYfTmZsR85hHpi7s7Agq

3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T:  -0.00400000 Waves

2024.09.26 09:05 [3300196] smart account 3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T > SELF 0.00000000 Waves

{ "type": 13, "id": "DufuYD9u5wXSXHa6inCHyfBFAYfTmZsR85hHpi7s7Agq", "fee": 400000, "feeAssetId": null, "timestamp": 1727330762875, "version": 2, "chainId": 84, "sender": "3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T", "senderPublicKey": "iTiQR3Kvxn7i8PFgEbZn36n5iFLxFwkTA6M3wi846Vx", "proofs": [ "fSpY3Tc9buWJfBA5HjL8JovFRc51XuXrPAUryiwZBjFxJL4zid3Foejkb7KWqgDuyva8fnysoAKZJS48FwayBmX" ], "script": "base64:BwJLCAISAwoBCBIECgIICBIECgIIARIECgIIBBIECgIIAhIDCgEIEgUKAwIBBBIECgICARIFCgMCAQISBQoDAhIREgQKAgIBEgQKAggYEQAJc2VwYXJhdG9yAgJfXwALd2F2ZXNTdHJpbmcCBVdBVkVTABBjb250cmFjdEZpbGVuYW1lAhRtZW1lX2ltX2ZhY3RvcnkucmlkZQALa1ByaWNlQXNzZXQCDHByaWNlX19hc3NldAAJa1NodXRkb3duAg5zaHV0ZG93bl9fZmxhZwAIc2h1dGRvd24JAQt2YWx1ZU9yRWxzZQIJAKAIAQUJa1NodXRkb3duBwEHd3JhcEVycgEBcwkArAICCQCsAgIFEGNvbnRyYWN0RmlsZW5hbWUCAjogBQFzAQh0aHJvd0VycgEBcwkAAgEJAQd3cmFwRXJyAQUBcwEPdmFsaWRhdGVBZGRyZXNzAQdhZGRyZXNzCQEJaXNEZWZpbmVkAQkApggBBQdhZGRyZXNzABJrQ2FsY3VsYXRvckFkZHJlc3MCE2NhbGN1bGF0b3JfX2FkZHJlc3MAF2NhbGN1bGF0b3JBZGRyZXNzT3B0aW9uBAckbWF0Y2g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bAUGcmVzdWx0AJ7SxsM=", "height": 3300196, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: kRCDW286NqnJjmQ3Nt1MuK4xUYDmTFjP7f5jmcPvEED Next: 9qU7EAnwWLH1QGDQ1rLaqUkncccAESQxL1TLBzpDcTNG Diff:
OldNewDifferences
77
88 let c = "meme_im_factory.ride"
99
10-let d = "shutdown__flag"
10+let d = "price__asset"
1111
12-let e = valueOrElse(getBoolean(d), false)
12+let e = "shutdown__flag"
1313
14-func f (g) = ((c + ": ") + g)
14+let f = valueOrElse(getBoolean(e), false)
15+
16+func g (h) = ((c + ": ") + h)
1517
1618
17-func h (g) = throw(f(g))
19+func i (h) = throw(g(h))
1820
1921
20-func i (j) = isDefined(addressFromString(j))
22+func j (k) = isDefined(addressFromString(k))
2123
2224
23-let k = "calculator__address"
25+let l = "calculator__address"
2426
25-let l = {
26- let m = getString(this, k)
27- if ($isInstanceOf(m, "String"))
27+let m = {
28+ let n = getString(this, l)
29+ if ($isInstanceOf(n, "String"))
2830 then {
29- let g = m
30- addressFromString(g)
31+ let h = n
32+ addressFromString(h)
3133 }
32- else if ($isInstanceOf(m, "Unit"))
34+ else if ($isInstanceOf(n, "Unit"))
3335 then unit
3436 else throw("Match error")
3537 }
3638
37-let n = valueOrErrorMessage(l, f("invalid calculator address"))
39+let o = valueOrErrorMessage(m, g("invalid calculator address"))
3840
39-func o (p,j) = if ((p.caller == j))
41+func p (q,k) = if ((q.caller == k))
4042 then true
41- else h("permission denied")
43+ else i("permission denied")
4244
4345
44-func q (p) = o(p, this)
46+func r (q) = p(q, this)
4547
4648
47-func r (p) = o(p, n)
49+func s (q) = p(q, o)
4850
4951
50-func s (t) = if ((t == b))
52+func t (u) = if ((u == b))
5153 then unit
52- else fromBase58String(t)
54+ else fromBase58String(u)
5355
5456
55-func u (t) = if ((t == unit))
57+func v (u) = if ((u == unit))
5658 then b
57- else toBase58String(value(t))
59+ else toBase58String(value(u))
5860
5961
60-@Callable(p)
61-func init (v) = {
62- let w = q(p)
63- if ((w == w))
64- then $Tuple2([StringEntry(k, v), StringEntry("price__asset", b)], unit)
62+@Callable(q)
63+func init (w) = {
64+ let x = r(q)
65+ if ((x == x))
66+ then $Tuple2([StringEntry(l, w), StringEntry(d, b)], unit)
6567 else throw("Strict value is not equal to itself.")
6668 }
6769
6870
6971
70-@Callable(p)
71-func stringEntry (x,y) = if (if (!(e))
72- then r(p)
72+@Callable(q)
73+func stringEntry (y,z) = if (if (!(f))
74+ then s(q)
7375 else false)
74- then $Tuple2([StringEntry(x, y)], x)
75- else h("not allowed")
76+ then $Tuple2([StringEntry(y, z)], y)
77+ else i("not allowed")
7678
7779
7880
79-@Callable(p)
80-func integerEntry (x,y) = if (if (!(e))
81- then r(p)
81+@Callable(q)
82+func integerEntry (y,z) = if (if (!(f))
83+ then s(q)
8284 else false)
83- then $Tuple2([IntegerEntry(x, y)], x)
84- else h("not allowed")
85+ then $Tuple2([IntegerEntry(y, z)], y)
86+ else i("not allowed")
8587
8688
8789
88-@Callable(p)
89-func booleanEntry (x,y) = if (if (!(e))
90- then r(p)
90+@Callable(q)
91+func booleanEntry (y,z) = if (if (!(f))
92+ then s(q)
9193 else false)
92- then $Tuple2([BooleanEntry(x, y)], x)
93- else h("not allowed")
94+ then $Tuple2([BooleanEntry(y, z)], y)
95+ else i("not allowed")
9496
9597
9698
97-@Callable(p)
98-func binaryEntry (x,y) = if (if (!(e))
99- then r(p)
99+@Callable(q)
100+func binaryEntry (y,z) = if (if (!(f))
101+ then s(q)
100102 else false)
101- then $Tuple2([BinaryEntry(x, y)], x)
102- else h("not allowed")
103+ then $Tuple2([BinaryEntry(y, z)], y)
104+ else i("not allowed")
103105
104106
105107
106-@Callable(p)
107-func deleteEntry (x) = if (if (!(e))
108- then r(p)
108+@Callable(q)
109+func deleteEntry (y) = if (if (!(f))
110+ then s(q)
109111 else false)
110- then $Tuple2([DeleteEntry(x)], x)
111- else h("not allowed")
112+ then $Tuple2([DeleteEntry(y)], y)
113+ else i("not allowed")
112114
113115
114116
115-@Callable(p)
116-func reissue (z,A,B) = if (if (!(e))
117- then r(p)
117+@Callable(q)
118+func reissue (A,B,C) = if (if (!(f))
119+ then s(q)
118120 else false)
119- then $Tuple2([Reissue(z, A, B)], A)
120- else h("not allowed")
121+ then $Tuple2([Reissue(A, B, C)], B)
122+ else i("not allowed")
121123
122124
123125
124-@Callable(p)
125-func burn (z,A) = if (if (!(e))
126- then r(p)
126+@Callable(q)
127+func burn (A,B) = if (if (!(f))
128+ then s(q)
127129 else false)
128- then $Tuple2([Burn(z, A)], A)
129- else h("not allowed")
130+ then $Tuple2([Burn(A, B)], B)
131+ else i("not allowed")
130132
131133
132134
133-@Callable(p)
134-func transferAsset (C,A,z) = if (if (!(e))
135- then r(p)
135+@Callable(q)
136+func transferAsset (D,B,A) = if (if (!(f))
137+ then s(q)
136138 else false)
137- then $Tuple2([ScriptTransfer(Address(C), A, z)], A)
138- else h("not allowed")
139+ then $Tuple2([ScriptTransfer(Address(D), B, A)], B)
140+ else i("not allowed")
139141
140142
141143
142-@Callable(p)
143-func transferAssets (C,D,E) = if (if (!(e))
144- then r(p)
144+@Callable(q)
145+func transferAssets (D,E,F) = if (if (!(f))
146+ then s(q)
145147 else false)
146148 then {
147- func F (G,H) = {
148- let I = G
149- let J = I._1
150- let K = I._2
151- let L = ScriptTransfer(Address(C), E[K], D[K])
152- let M = (J :+ L)
153- $Tuple2(M, (K + 1))
149+ func G (H,I) = {
150+ let J = H
151+ let K = J._1
152+ let L = J._2
153+ let M = ScriptTransfer(Address(D), F[L], E[L])
154+ let N = (K :+ M)
155+ $Tuple2(N, (L + 1))
154156 }
155157
156- let N = {
157- let O = D
158- let P = size(O)
159- let Q = $Tuple2(nil, 0)
160- func R (S,T) = if ((T >= P))
161- then S
162- else F(S, O[T])
158+ let O = {
159+ let P = E
160+ let Q = size(P)
161+ let R = $Tuple2(nil, 0)
162+ func S (T,U) = if ((U >= Q))
163+ then T
164+ else G(T, P[U])
163165
164- func U (S,T) = if ((T >= P))
165- then S
166+ func V (T,U) = if ((U >= Q))
167+ then T
166168 else throw("List size exceeds 10")
167169
168- U(R(R(R(R(R(R(R(R(R(R(Q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
170+ V(S(S(S(S(S(S(S(S(S(S(R, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
169171 }
170- let V = N._1
171- let W = N._2
172- $Tuple2(V, unit)
172+ let W = O._1
173+ let X = O._2
174+ $Tuple2(W, unit)
173175 }
174- else h("not allowed")
176+ else i("not allowed")
175177
176178
177179
178-@Callable(p)
179-func transferWaves (C,A) = if (if (!(e))
180- then r(p)
180+@Callable(q)
181+func transferWaves (D,B) = if (if (!(f))
182+ then s(q)
181183 else false)
182- then $Tuple2([ScriptTransfer(Address(C), A, unit)], A)
183- else h("not allowed")
184+ then $Tuple2([ScriptTransfer(Address(D), B, unit)], B)
185+ else i("not allowed")
184186
185187
186188
187-@Callable(p)
188-func call (X,Y) = {
189- let Z = if ((p.callerPublicKey == base58'11111111111111111111111111111111'))
189+@Callable(q)
190+func call (Y,Z) = {
191+ let aa = if ((q.callerPublicKey == base58'11111111111111111111111111111111'))
190192 then nil
191- else p.payments
192- let aa = reentrantInvoke(n, X, [p.callerPublicKey, Y], Z)
193- $Tuple2(nil, aa)
193+ else q.payments
194+ let ab = reentrantInvoke(o, Y, [q.callerPublicKey, Z], aa)
195+ $Tuple2(nil, ab)
194196 }
195197
196198
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "WAVES"
77
88 let c = "meme_im_factory.ride"
99
10-let d = "shutdown__flag"
10+let d = "price__asset"
1111
12-let e = valueOrElse(getBoolean(d), false)
12+let e = "shutdown__flag"
1313
14-func f (g) = ((c + ": ") + g)
14+let f = valueOrElse(getBoolean(e), false)
15+
16+func g (h) = ((c + ": ") + h)
1517
1618
17-func h (g) = throw(f(g))
19+func i (h) = throw(g(h))
1820
1921
20-func i (j) = isDefined(addressFromString(j))
22+func j (k) = isDefined(addressFromString(k))
2123
2224
23-let k = "calculator__address"
25+let l = "calculator__address"
2426
25-let l = {
26- let m = getString(this, k)
27- if ($isInstanceOf(m, "String"))
27+let m = {
28+ let n = getString(this, l)
29+ if ($isInstanceOf(n, "String"))
2830 then {
29- let g = m
30- addressFromString(g)
31+ let h = n
32+ addressFromString(h)
3133 }
32- else if ($isInstanceOf(m, "Unit"))
34+ else if ($isInstanceOf(n, "Unit"))
3335 then unit
3436 else throw("Match error")
3537 }
3638
37-let n = valueOrErrorMessage(l, f("invalid calculator address"))
39+let o = valueOrErrorMessage(m, g("invalid calculator address"))
3840
39-func o (p,j) = if ((p.caller == j))
41+func p (q,k) = if ((q.caller == k))
4042 then true
41- else h("permission denied")
43+ else i("permission denied")
4244
4345
44-func q (p) = o(p, this)
46+func r (q) = p(q, this)
4547
4648
47-func r (p) = o(p, n)
49+func s (q) = p(q, o)
4850
4951
50-func s (t) = if ((t == b))
52+func t (u) = if ((u == b))
5153 then unit
52- else fromBase58String(t)
54+ else fromBase58String(u)
5355
5456
55-func u (t) = if ((t == unit))
57+func v (u) = if ((u == unit))
5658 then b
57- else toBase58String(value(t))
59+ else toBase58String(value(u))
5860
5961
60-@Callable(p)
61-func init (v) = {
62- let w = q(p)
63- if ((w == w))
64- then $Tuple2([StringEntry(k, v), StringEntry("price__asset", b)], unit)
62+@Callable(q)
63+func init (w) = {
64+ let x = r(q)
65+ if ((x == x))
66+ then $Tuple2([StringEntry(l, w), StringEntry(d, b)], unit)
6567 else throw("Strict value is not equal to itself.")
6668 }
6769
6870
6971
70-@Callable(p)
71-func stringEntry (x,y) = if (if (!(e))
72- then r(p)
72+@Callable(q)
73+func stringEntry (y,z) = if (if (!(f))
74+ then s(q)
7375 else false)
74- then $Tuple2([StringEntry(x, y)], x)
75- else h("not allowed")
76+ then $Tuple2([StringEntry(y, z)], y)
77+ else i("not allowed")
7678
7779
7880
79-@Callable(p)
80-func integerEntry (x,y) = if (if (!(e))
81- then r(p)
81+@Callable(q)
82+func integerEntry (y,z) = if (if (!(f))
83+ then s(q)
8284 else false)
83- then $Tuple2([IntegerEntry(x, y)], x)
84- else h("not allowed")
85+ then $Tuple2([IntegerEntry(y, z)], y)
86+ else i("not allowed")
8587
8688
8789
88-@Callable(p)
89-func booleanEntry (x,y) = if (if (!(e))
90- then r(p)
90+@Callable(q)
91+func booleanEntry (y,z) = if (if (!(f))
92+ then s(q)
9193 else false)
92- then $Tuple2([BooleanEntry(x, y)], x)
93- else h("not allowed")
94+ then $Tuple2([BooleanEntry(y, z)], y)
95+ else i("not allowed")
9496
9597
9698
97-@Callable(p)
98-func binaryEntry (x,y) = if (if (!(e))
99- then r(p)
99+@Callable(q)
100+func binaryEntry (y,z) = if (if (!(f))
101+ then s(q)
100102 else false)
101- then $Tuple2([BinaryEntry(x, y)], x)
102- else h("not allowed")
103+ then $Tuple2([BinaryEntry(y, z)], y)
104+ else i("not allowed")
103105
104106
105107
106-@Callable(p)
107-func deleteEntry (x) = if (if (!(e))
108- then r(p)
108+@Callable(q)
109+func deleteEntry (y) = if (if (!(f))
110+ then s(q)
109111 else false)
110- then $Tuple2([DeleteEntry(x)], x)
111- else h("not allowed")
112+ then $Tuple2([DeleteEntry(y)], y)
113+ else i("not allowed")
112114
113115
114116
115-@Callable(p)
116-func reissue (z,A,B) = if (if (!(e))
117- then r(p)
117+@Callable(q)
118+func reissue (A,B,C) = if (if (!(f))
119+ then s(q)
118120 else false)
119- then $Tuple2([Reissue(z, A, B)], A)
120- else h("not allowed")
121+ then $Tuple2([Reissue(A, B, C)], B)
122+ else i("not allowed")
121123
122124
123125
124-@Callable(p)
125-func burn (z,A) = if (if (!(e))
126- then r(p)
126+@Callable(q)
127+func burn (A,B) = if (if (!(f))
128+ then s(q)
127129 else false)
128- then $Tuple2([Burn(z, A)], A)
129- else h("not allowed")
130+ then $Tuple2([Burn(A, B)], B)
131+ else i("not allowed")
130132
131133
132134
133-@Callable(p)
134-func transferAsset (C,A,z) = if (if (!(e))
135- then r(p)
135+@Callable(q)
136+func transferAsset (D,B,A) = if (if (!(f))
137+ then s(q)
136138 else false)
137- then $Tuple2([ScriptTransfer(Address(C), A, z)], A)
138- else h("not allowed")
139+ then $Tuple2([ScriptTransfer(Address(D), B, A)], B)
140+ else i("not allowed")
139141
140142
141143
142-@Callable(p)
143-func transferAssets (C,D,E) = if (if (!(e))
144- then r(p)
144+@Callable(q)
145+func transferAssets (D,E,F) = if (if (!(f))
146+ then s(q)
145147 else false)
146148 then {
147- func F (G,H) = {
148- let I = G
149- let J = I._1
150- let K = I._2
151- let L = ScriptTransfer(Address(C), E[K], D[K])
152- let M = (J :+ L)
153- $Tuple2(M, (K + 1))
149+ func G (H,I) = {
150+ let J = H
151+ let K = J._1
152+ let L = J._2
153+ let M = ScriptTransfer(Address(D), F[L], E[L])
154+ let N = (K :+ M)
155+ $Tuple2(N, (L + 1))
154156 }
155157
156- let N = {
157- let O = D
158- let P = size(O)
159- let Q = $Tuple2(nil, 0)
160- func R (S,T) = if ((T >= P))
161- then S
162- else F(S, O[T])
158+ let O = {
159+ let P = E
160+ let Q = size(P)
161+ let R = $Tuple2(nil, 0)
162+ func S (T,U) = if ((U >= Q))
163+ then T
164+ else G(T, P[U])
163165
164- func U (S,T) = if ((T >= P))
165- then S
166+ func V (T,U) = if ((U >= Q))
167+ then T
166168 else throw("List size exceeds 10")
167169
168- U(R(R(R(R(R(R(R(R(R(R(Q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
170+ V(S(S(S(S(S(S(S(S(S(S(R, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
169171 }
170- let V = N._1
171- let W = N._2
172- $Tuple2(V, unit)
172+ let W = O._1
173+ let X = O._2
174+ $Tuple2(W, unit)
173175 }
174- else h("not allowed")
176+ else i("not allowed")
175177
176178
177179
178-@Callable(p)
179-func transferWaves (C,A) = if (if (!(e))
180- then r(p)
180+@Callable(q)
181+func transferWaves (D,B) = if (if (!(f))
182+ then s(q)
181183 else false)
182- then $Tuple2([ScriptTransfer(Address(C), A, unit)], A)
183- else h("not allowed")
184+ then $Tuple2([ScriptTransfer(Address(D), B, unit)], B)
185+ else i("not allowed")
184186
185187
186188
187-@Callable(p)
188-func call (X,Y) = {
189- let Z = if ((p.callerPublicKey == base58'11111111111111111111111111111111'))
189+@Callable(q)
190+func call (Y,Z) = {
191+ let aa = if ((q.callerPublicKey == base58'11111111111111111111111111111111'))
190192 then nil
191- else p.payments
192- let aa = reentrantInvoke(n, X, [p.callerPublicKey, Y], Z)
193- $Tuple2(nil, aa)
193+ else q.payments
194+ let ab = reentrantInvoke(o, Y, [q.callerPublicKey, Z], aa)
195+ $Tuple2(nil, ab)
194196 }
195197
196198

github/deemru/w8io/026f985 
143.59 ms