tx · En95CHJCtSGsfW6AxB3Ku1SyxD2iQPLrw4BaqnCzFavk

3MrxLwKyT9TFqGxsGfsnVqijZFb7hRtBqgp:  -0.01400000 Waves

2024.02.16 10:30 [2978461] smart account 3MrxLwKyT9TFqGxsGfsnVqijZFb7hRtBqgp > SELF 0.00000000 Waves

{ "type": 13, "id": "En95CHJCtSGsfW6AxB3Ku1SyxD2iQPLrw4BaqnCzFavk", "fee": 1400000, "feeAssetId": null, "timestamp": 1708068646320, "version": 2, "chainId": 84, "sender": "3MrxLwKyT9TFqGxsGfsnVqijZFb7hRtBqgp", "senderPublicKey": "jqG5iLDVsyrR44uMDTGYuDQdJmMDcUXeiedXT98KMRJ", "proofs": [ "4ame24WmcP23hcvUMEbo3vBjLgemSZN8RRAB2MJADDwhqZ2fRj9xa28XTTrTqSSGXf98PzSimasf1URDxbtJ4dtA" ], "script": "base64:BwJACAISBAoCCAgSBAoCCAESBAoCCAQSBAoCCAISAwoBCBIFCgMCAQQSBAoCAgESBQoDAgECEgUKAwISERIECgICARcAB2NoYWluSWQJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACGNoYWluSWRUAQFUAAhjaGFpbklkVwEBVwELbXVzdEFkZHJlc3MCAWkHYWRkcmVzcwMJAAACCAUBaQZjYWxsZXIFB2FkZHJlc3MGCQACAQIRcGVybWlzc2lvbiBkZW5pZWQAA1NFUAICX18ABVdBVkVTAgVXQVZFUwAQY29udHJhY3RGaWxlbmFtZQIPd3hkYW9fbG9jay5yaWRlAQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUQY29udHJhY3RGaWxlbmFtZQICOiAFAXMBCHRocm93RXJyAQFzCQACAQkBB3dyYXBFcnIBBQFzAQ9zdHJpbmdUb0Fzc2V0SWQBAXMDCQAAAgUBcwUFV0FWRVMFBHVuaXQJANkEAQUBcwEUa2V5Q2FsY3VsYXRvckFkZHJlc3MAAhUlc19fY2FsY3VsYXRvckFkZHJlc3MBEWtleUZhY3RvcnlBZGRyZXNzAAIS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phc3NldHNMaXN0CgACJHMJAJADAQUCJGwKAAUkYWNjMAkAlAoCBQNuaWwAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEOYWRkTmV3VHJhbnNmZXICBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECFExpc3Qgc2l6ZSBleGNlZWRzIDEwCQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQAGAAcACAAJAAoED2Fzc2V0c1RyYW5zZmVycwgFCyR0MDM0ODUzNTY2Al8xBApfbGFzdEluZGV4CAULJHQwMzQ4NTM1NjYCXzIJAJQKAgUPYXNzZXRzVHJhbnNmZXJzBQR1bml0CQCUCgIFA25pbAUEdW5pdAFpAQ10cmFuc2ZlcldhdmVzAg5yZWNpcGllbnRCeXRlcwZhbW91bnQDCQEOb25seUNhbGN1bGF0b3IBBQFpCQCUCgIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQ5yZWNpcGllbnRCeXRlcwUGYW1vdW50BQR1bml0BQNuaWwFBmFtb3VudAkAlAoCBQNuaWwFBHVuaXQBAnR4AQZ2ZXJpZnkACQAAAgUHY2hhaW5JZAUIY2hhaW5JZFQoh9NW", "height": 2978461, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hz26it8kpWBd6B4QRT8qmAN44tmRRWjkxLrQtp8yAMY Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = take(drop(this.bytes, 1), 1)
55
66 let b = base58'2T'
77
88 let c = base58'2W'
99
1010 func d (e,f) = if ((e.caller == f))
1111 then true
1212 else throw("permission denied")
1313
1414
1515 let g = "__"
1616
1717 let h = "WAVES"
1818
1919 let i = "wxdao_lock.ride"
2020
2121 func j (k) = ((i + ": ") + k)
2222
2323
2424 func l (k) = throw(j(k))
2525
2626
2727 func m (k) = if ((k == h))
2828 then unit
2929 else fromBase58String(k)
3030
3131
3232 func n () = "%s__calculatorAddress"
3333
3434
3535 func o () = "%s__factoryAddress"
3636
3737
3838 func p () = makeString(["%s", "currentPeriod"], g)
3939
4040
4141 func q (r) = makeString(["%s%d", "startHeight", toString(r)], g)
4242
4343
4444 func s () = makeString(["%s", "periodLength"], g)
4545
4646
4747 func t (r) = makeString(["%s%d", "treasuryValue", toString(r)], g)
4848
4949
5050 let u = {
5151 let v = getString(this, o())
5252 if ($isInstanceOf(v, "String"))
5353 then {
5454 let k = v
5555 addressFromString(k)
5656 }
5757 else if ($isInstanceOf(v, "Unit"))
5858 then unit
5959 else throw("Match error")
6060 }
6161
6262 let w = valueOrErrorMessage(u, j("invalid factory address"))
6363
6464 let x = {
6565 let v = getString(w, n())
6666 if ($isInstanceOf(v, "String"))
6767 then {
6868 let k = v
6969 addressFromString(k)
7070 }
7171 else if ($isInstanceOf(v, "Unit"))
7272 then unit
7373 else throw("Match error")
7474 }
7575
7676 let y = valueOrErrorMessage(x, j("invalid calculator address"))
7777
7878 func z (e,f) = if ((e.caller == f))
7979 then true
8080 else l("permission denied")
8181
8282
8383 func A (e) = z(e, this)
8484
8585
8686 func B (e) = z(e, y)
8787
8888
8989 @Callable(e)
9090 func stringEntry (C,D) = if (B(e))
9191 then $Tuple2([StringEntry(C, D)], C)
9292 else $Tuple2(nil, unit)
9393
9494
9595
9696 @Callable(e)
9797 func integerEntry (C,D) = if (B(e))
9898 then $Tuple2([IntegerEntry(C, D)], C)
9999 else $Tuple2(nil, unit)
100100
101101
102102
103103 @Callable(e)
104104 func booleanEntry (C,D) = if (B(e))
105105 then $Tuple2([BooleanEntry(C, D)], C)
106106 else $Tuple2(nil, unit)
107107
108108
109109
110110 @Callable(e)
111111 func binaryEntry (C,D) = if (B(e))
112112 then $Tuple2([BinaryEntry(C, D)], C)
113113 else $Tuple2(nil, unit)
114114
115115
116116
117117 @Callable(e)
118118 func deleteEntry (C) = if (B(e))
119119 then $Tuple2([DeleteEntry(C)], C)
120120 else $Tuple2(nil, unit)
121121
122122
123123
124124 @Callable(e)
125125 func reissue (E,F,G) = if (B(e))
126126 then $Tuple2([Reissue(E, F, G)], F)
127127 else $Tuple2(nil, unit)
128128
129129
130130
131131 @Callable(e)
132132 func burn (E,F) = if (B(e))
133133 then $Tuple2([Burn(E, F)], F)
134134 else $Tuple2(nil, unit)
135135
136136
137137
138138 @Callable(e)
139139 func transferAsset (H,F,E) = if (B(e))
140140 then $Tuple2([ScriptTransfer(Address(H), F, E)], F)
141141 else $Tuple2(nil, unit)
142142
143143
144144
145145 @Callable(e)
146146 func transferAssets (H,I,J) = if (B(e))
147147 then {
148148 func K (L,M) = {
149149 let N = L
150150 let O = N._1
151151 let P = N._2
152152 let Q = ScriptTransfer(Address(H), J[P], I[P])
153153 let R = (O :+ Q)
154154 $Tuple2(R, (P + 1))
155155 }
156156
157157 let S = {
158158 let T = I
159159 let U = size(T)
160160 let V = $Tuple2(nil, 0)
161161 func W (X,Y) = if ((Y >= U))
162162 then X
163163 else K(X, T[Y])
164164
165165 func Z (X,Y) = if ((Y >= U))
166166 then X
167167 else throw("List size exceeds 10")
168168
169169 Z(W(W(W(W(W(W(W(W(W(W(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
170170 }
171171 let aa = S._1
172172 let ab = S._2
173173 $Tuple2(aa, unit)
174174 }
175175 else $Tuple2(nil, unit)
176176
177177
178178
179179 @Callable(e)
180180 func transferWaves (H,F) = if (B(e))
181181 then $Tuple2([ScriptTransfer(Address(H), F, unit)], F)
182182 else $Tuple2(nil, unit)
183183
184184
185185 @Verifier(ac)
186186 func ad () = (a == b)
187187

github/deemru/w8io/169f3d6 
41.66 ms