tx · 21Fd71XYJxcKy6FAJx3m9PNNbmTgMyKqeoaQFXonWkTd

3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T:  -0.00400000 Waves

2024.10.10 12:13 [3320549] smart account 3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T > SELF 0.00000000 Waves

{ "type": 13, "id": "21Fd71XYJxcKy6FAJx3m9PNNbmTgMyKqeoaQFXonWkTd", "fee": 400000, "feeAssetId": null, "timestamp": 1728551643852, "version": 2, "chainId": 84, "sender": "3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T", "senderPublicKey": "iTiQR3Kvxn7i8PFgEbZn36n5iFLxFwkTA6M3wi846Vx", "proofs": [ "2sNXHu4hVMGy5Hiby6s61QHKKNJugTzQ4Xf5u9T9qjtdVMeZGR3NVJMx6xEhnsCFT3ENTCh9TxCt8koBk665R169" ], "script": "base64:BwJRCAISAwoBCBIECgIICBIECgIIARIECgIIBBIECgIIAhIDCgEIEgUKAwIBBBIECgICARIFCgMCAQISBQoDAhIREgQKAgIBEgQKAggYEgQKAggYEQAJc2VwYXJhdG9yAgJfXwALd2F2ZXNTdHJpbmcCBVdBVkVTABBjb250cmFjdEZpbGVuYW1lAhRtZW1lX2ltX2ZhY3RvcnkucmlkZQALa1ByaWNlQXNzZXQCDHByaWNlX19hc3NldAAJa1NodXRkb3duAg5zaHV0ZG93bl9fZmxhZwAIc2h1dGRvd24JAQt2YWx1ZU9yRWxzZQIJAKAIAQUJa1NodXRkb3duBwEHd3JhcEVycgEBcwkArAICCQCsAgIFEGNvbnRyYWN0RmlsZW5hbWUCAjogBQFzAQh0aHJvd0VycgEBcwkAAgEJAQd3cmFwRXJyAQUBcwEPdmFsaWRhdGVBZGRyZXNzAQdhZGRyZXNzCQEJaXNEZWZpbmVkAQkApggBBQdhZGRyZXNzABJrQ2FsY3VsYXRvckFkZHJlc3MCE2NhbGN1bGF0b3JfX2FkZHJlc3MAF2NhbGN1bGF0b3JBZGRyZXNzT3B0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bnRzCQCUCgIFA25pbAUGcmVzdWx0AWkBDmluaXRQb29sSW52b2tlAhFwb29sQWRkcmVzc1N0cmluZwRhcmdzAwMJAQEhAQUIc2h1dGRvd24JAQ5tdXN0Q2FsY3VsYXRvcgEFAWkHBA1jb252ZXJ0ZWRBcmdzCQDMCAIJAJEDAgUEYXJncwAACQDMCAIJAJEDAgUEYXJncwABCQDMCAIJAJEDAgUEYXJncwACCQDMCAIJAJEDAgUEYXJncwADCQDMCAIJAQ1wYXJzZUludFZhbHVlAQkAkQMCBQRhcmdzAAQFA25pbAkAlAoCBQNuaWwJAPwHBAkBEUBleHRyTmF0aXZlKDEwNjIpAQURcG9vbEFkZHJlc3NTdHJpbmcCBGluaXQFDWNvbnZlcnRlZEFyZ3MIBQFpCHBheW1lbnRzCQEIdGhyb3dFcnIBAgtub3QgYWxsb3dlZAA4QCP+", "height": 3320549, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4qgVAamY7HRxMf1U8AHysFrqg5yLg3SHmo1S6rTuwqxd Next: EHBbi2tnWfz9CBnxV6qXokJjj1s1F6VZx4XqFqiotcSu Diff:
OldNewDifferences
203203 else false)
204204 then {
205205 let ad = [Z[0], Z[1], Z[2], Z[3], parseIntValue(Z[4])]
206- $Tuple2(nil, invoke(Address(ac), "init", ad, q.payments))
206+ $Tuple2(nil, invoke(addressFromStringValue(ac), "init", ad, q.payments))
207207 }
208208 else i("not allowed")
209209
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
1010 let d = "price__asset"
1111
1212 let e = "shutdown__flag"
1313
1414 let f = valueOrElse(getBoolean(e), false)
1515
1616 func g (h) = ((c + ": ") + h)
1717
1818
1919 func i (h) = throw(g(h))
2020
2121
2222 func j (k) = isDefined(addressFromString(k))
2323
2424
2525 let l = "calculator__address"
2626
2727 let m = {
2828 let n = getString(this, l)
2929 if ($isInstanceOf(n, "String"))
3030 then {
3131 let h = n
3232 addressFromString(h)
3333 }
3434 else if ($isInstanceOf(n, "Unit"))
3535 then unit
3636 else throw("Match error")
3737 }
3838
3939 let o = valueOrErrorMessage(m, g("invalid calculator address"))
4040
4141 func p (q,k) = if ((q.caller == k))
4242 then true
4343 else i("permission denied")
4444
4545
4646 func r (q) = p(q, this)
4747
4848
4949 func s (q) = p(q, o)
5050
5151
5252 func t (u) = if ((u == b))
5353 then unit
5454 else fromBase58String(u)
5555
5656
5757 func v (u) = if ((u == unit))
5858 then b
5959 else toBase58String(value(u))
6060
6161
6262 @Callable(q)
6363 func init (w) = {
6464 let x = r(q)
6565 if ((x == x))
6666 then $Tuple2([StringEntry(l, w), StringEntry(d, b)], unit)
6767 else throw("Strict value is not equal to itself.")
6868 }
6969
7070
7171
7272 @Callable(q)
7373 func stringEntry (y,z) = if (if (!(f))
7474 then s(q)
7575 else false)
7676 then $Tuple2([StringEntry(y, z)], y)
7777 else i("not allowed")
7878
7979
8080
8181 @Callable(q)
8282 func integerEntry (y,z) = if (if (!(f))
8383 then s(q)
8484 else false)
8585 then $Tuple2([IntegerEntry(y, z)], y)
8686 else i("not allowed")
8787
8888
8989
9090 @Callable(q)
9191 func booleanEntry (y,z) = if (if (!(f))
9292 then s(q)
9393 else false)
9494 then $Tuple2([BooleanEntry(y, z)], y)
9595 else i("not allowed")
9696
9797
9898
9999 @Callable(q)
100100 func binaryEntry (y,z) = if (if (!(f))
101101 then s(q)
102102 else false)
103103 then $Tuple2([BinaryEntry(y, z)], y)
104104 else i("not allowed")
105105
106106
107107
108108 @Callable(q)
109109 func deleteEntry (y) = if (if (!(f))
110110 then s(q)
111111 else false)
112112 then $Tuple2([DeleteEntry(y)], y)
113113 else i("not allowed")
114114
115115
116116
117117 @Callable(q)
118118 func reissue (A,B,C) = if (if (!(f))
119119 then s(q)
120120 else false)
121121 then $Tuple2([Reissue(A, B, C)], B)
122122 else i("not allowed")
123123
124124
125125
126126 @Callable(q)
127127 func burn (A,B) = if (if (!(f))
128128 then s(q)
129129 else false)
130130 then $Tuple2([Burn(A, B)], B)
131131 else i("not allowed")
132132
133133
134134
135135 @Callable(q)
136136 func transferAsset (D,B,A) = if (if (!(f))
137137 then s(q)
138138 else false)
139139 then $Tuple2([ScriptTransfer(Address(D), B, A)], B)
140140 else i("not allowed")
141141
142142
143143
144144 @Callable(q)
145145 func transferAssets (D,E,F) = if (if (!(f))
146146 then s(q)
147147 else false)
148148 then {
149149 func G (H,I) = {
150150 let J = H
151151 let K = J._1
152152 let L = J._2
153153 let M = ScriptTransfer(Address(D), F[L], E[L])
154154 let N = (K :+ M)
155155 $Tuple2(N, (L + 1))
156156 }
157157
158158 let O = {
159159 let P = E
160160 let Q = size(P)
161161 let R = $Tuple2(nil, 0)
162162 func S (T,U) = if ((U >= Q))
163163 then T
164164 else G(T, P[U])
165165
166166 func V (T,U) = if ((U >= Q))
167167 then T
168168 else throw("List size exceeds 10")
169169
170170 V(S(S(S(S(S(S(S(S(S(S(R, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
171171 }
172172 let W = O._1
173173 let X = O._2
174174 $Tuple2(W, unit)
175175 }
176176 else i("not allowed")
177177
178178
179179
180180 @Callable(q)
181181 func transferWaves (D,B) = if (if (!(f))
182182 then s(q)
183183 else false)
184184 then $Tuple2([ScriptTransfer(Address(D), B, unit)], B)
185185 else i("not allowed")
186186
187187
188188
189189 @Callable(q)
190190 func call (Y,Z) = {
191191 let aa = if ((q.callerPublicKey == base58'11111111111111111111111111111111'))
192192 then nil
193193 else q.payments
194194 let ab = reentrantInvoke(o, Y, [q.callerPublicKey, Z], aa)
195195 $Tuple2(nil, ab)
196196 }
197197
198198
199199
200200 @Callable(q)
201201 func initPoolInvoke (ac,Z) = if (if (!(f))
202202 then s(q)
203203 else false)
204204 then {
205205 let ad = [Z[0], Z[1], Z[2], Z[3], parseIntValue(Z[4])]
206- $Tuple2(nil, invoke(Address(ac), "init", ad, q.payments))
206+ $Tuple2(nil, invoke(addressFromStringValue(ac), "init", ad, q.payments))
207207 }
208208 else i("not allowed")
209209
210210

github/deemru/w8io/026f985 
25.95 ms