tx · aDE9WbBU4Uacst5HTkxDpzt1SYyxMKn57fUiFAcUYde

3MwtgysqzRmXErf8jREcrZME8KV8Ryihe6p:  -0.03400000 Waves

2023.05.24 17:20 [2592175] smart account 3MwtgysqzRmXErf8jREcrZME8KV8Ryihe6p > SELF 0.00000000 Waves

{ "type": 13, "id": "aDE9WbBU4Uacst5HTkxDpzt1SYyxMKn57fUiFAcUYde", "fee": 3400000, "feeAssetId": null, "timestamp": 1684938119133, "version": 2, "chainId": 84, "sender": "3MwtgysqzRmXErf8jREcrZME8KV8Ryihe6p", "senderPublicKey": "H5ZH4BkyVtNBc32qbTGZxG4iQPcMF7Sfy65QkYQGzNMQ", "proofs": [ "5G1LaieoMAwPaWSYYr19WCx4rZuZ6J1RoCu5UfH4Xim2jkyJc8qULsyLmT23weuYjej1uGKdfWeYAcZdku3UU433" ], "script": "base64:BgJsCAISAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEIGwATa19pbnN1cmFuY2VfYWRkcmVzcwITa19pbnN1cmFuY2VfYWRkcmVzcwAPa192YXVsdF9hZGRyZXNzAg9rX3ZhdWx0X2FkZHJlc3MAD2tfYWRtaW5fYWRkcmVzcwIPa19hZG1pbl9hZGRyZXNzAA1rX3F1b3RlX2Fzc2V0Ag1rX3F1b3RlX2Fzc2V0AA5rX3Jld2FyZF9hc3NldAIOa19yZXdhcmRfYXNzZXQADmtfc3dhcF9hZGRyZXNzAg5rX3N3YXBfYWRkcmVzcwARa19zdGFraW5nX2FkZHJlc3MCEWtfc3Rha2luZ19hZGRyZXNzABFrX2Zhcm1pbmdfYWRkcmVzcwIRa19mYXJtaW5nX2FkZHJlc3MAEGtfcHJpemVzX2FkZHJlc3MCEGtfcHJpemVzX2FkZHJlc3MAFWtfaG91c2VrZWVwZXJfYWR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ZmllcgkArAICCQCsAgIJAKwCAgIHc3RhdHVzXwkApQgBBQR0aGlzAgFfCQDYBAEIBQJ0eAJpZAcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXl0fnC7", "height": 2592175, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C9YvzQBgCuVq6XzToahZt99da1FRTSjgNLuKHdDgk8D7 Next: 5GMN87jBCvZyBoEcQ2fzoBtxoD76sCXH4yKNuTAPFw2o Diff:
OldNewDifferences
223223 func setOracleAddress (W) = valueOrElse(E(D), {
224224 let X = y(W)
225225 if ((X == X))
226- then [StringEntry(o, W)]
226+ then [StringEntry(t, W)]
227227 else throw("Strict value is not equal to itself.")
228228 })
229229
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "k_insurance_address"
55
66 let b = "k_vault_address"
77
88 let c = "k_admin_address"
99
1010 let d = "k_quote_asset"
1111
1212 let e = "k_reward_asset"
1313
1414 let f = "k_swap_address"
1515
1616 let g = "k_staking_address"
1717
1818 let h = "k_farming_address"
1919
2020 let i = "k_prizes_address"
2121
2222 let j = "k_housekeeper_address"
2323
2424 let k = "k_amm"
2525
2626 let l = "k_amm_data"
2727
2828 let m = "k_gov_asset"
2929
3030 let n = "k_miner_address"
3131
3232 let o = "k_orders_address"
3333
3434 let p = "k_referral_address"
3535
3636 let q = "k_manager_address"
3737
3838 let r = "k_nft_manager_address"
3939
4040 let s = "k_child"
4141
4242 let t = "k_oracle"
4343
4444 let u = "k_spot_address"
4545
4646 func v (w,x) = ((w + "_") + x)
4747
4848
4949 func y (z) = toString(valueOrErrorMessage(addressFromString(z), (("Can't parse \"" + z) + "\" as address")))
5050
5151
5252 func A () = (getString(this, c) == unit)
5353
5454
5555 func B () = addressFromStringValue(valueOrErrorMessage(getString(this, c), "Admin not defined"))
5656
5757
5858 func C (D) = if (if (if (A())
5959 then (D.caller == this)
6060 else false)
6161 then true
6262 else (D.caller == B()))
6363 then unit
6464 else throw("Only the Admin itself can invoke this function")
6565
6666
6767 func E (D) = if ((D.caller == B()))
6868 then unit
6969 else throw("Only the Admin itself can invoke this function")
7070
7171
7272 @Callable(D)
7373 func setAdmin (F) = valueOrElse(C(D), {
7474 let z = addressFromStringValue(F)
7575 if ((z == z))
7676 then [StringEntry(c, toString(z))]
7777 else throw("Strict value is not equal to itself.")
7878 })
7979
8080
8181
8282 @Callable(D)
8383 func setInsuranceFund (G) = valueOrElse(E(D), {
8484 let z = y(G)
8585 if ((z == z))
8686 then [StringEntry(a, z)]
8787 else throw("Strict value is not equal to itself.")
8888 })
8989
9090
9191
9292 @Callable(D)
9393 func setLiquidityMiner (H) = valueOrElse(E(D), {
9494 let z = y(H)
9595 if ((z == z))
9696 then [StringEntry(n, z)]
9797 else throw("Strict value is not equal to itself.")
9898 })
9999
100100
101101
102102 @Callable(D)
103103 func setOrders (I) = valueOrElse(E(D), {
104104 let z = y(I)
105105 if ((z == z))
106106 then [StringEntry(o, z)]
107107 else throw("Strict value is not equal to itself.")
108108 })
109109
110110
111111
112112 @Callable(D)
113113 func setReferral (J) = valueOrElse(E(D), {
114114 let z = y(J)
115115 if ((z == z))
116116 then [StringEntry(p, z)]
117117 else throw("Strict value is not equal to itself.")
118118 })
119119
120120
121121
122122 @Callable(D)
123123 func setFarming (K) = valueOrElse(E(D), {
124124 let z = y(K)
125125 if ((z == z))
126126 then [StringEntry(h, z)]
127127 else throw("Strict value is not equal to itself.")
128128 })
129129
130130
131131
132132 @Callable(D)
133133 func setManager (L) = valueOrElse(E(D), {
134134 let z = y(L)
135135 if ((z == z))
136136 then [StringEntry(q, z)]
137137 else throw("Strict value is not equal to itself.")
138138 })
139139
140140
141141
142142 @Callable(D)
143143 func setHousekeeper (M) = valueOrElse(E(D), {
144144 let z = y(M)
145145 if ((z == z))
146146 then [StringEntry(j, z)]
147147 else throw("Strict value is not equal to itself.")
148148 })
149149
150150
151151
152152 @Callable(D)
153153 func setPrizes (N) = valueOrElse(E(D), {
154154 let z = y(N)
155155 if ((z == z))
156156 then [StringEntry(i, z)]
157157 else throw("Strict value is not equal to itself.")
158158 })
159159
160160
161161
162162 @Callable(D)
163163 func setNftManager (O) = valueOrElse(E(D), {
164164 let z = y(O)
165165 if ((z == z))
166166 then [StringEntry(r, z)]
167167 else throw("Strict value is not equal to itself.")
168168 })
169169
170170
171171
172172 @Callable(D)
173173 func setSwap (P) = valueOrElse(E(D), {
174174 let z = y(P)
175175 if ((z == z))
176176 then [StringEntry(f, z)]
177177 else throw("Strict value is not equal to itself.")
178178 })
179179
180180
181181
182182 @Callable(D)
183183 func setQuoteAsset (Q) = valueOrElse(E(D), [StringEntry(d, Q)])
184184
185185
186186
187187 @Callable(D)
188188 func setRewardAsset (Q) = valueOrElse(E(D), [StringEntry(e, Q)])
189189
190190
191191
192192 @Callable(D)
193193 func setStakingAddress (R) = valueOrElse(E(D), {
194194 let S = y(R)
195195 if ((S == S))
196196 then [StringEntry(g, R)]
197197 else throw("Strict value is not equal to itself.")
198198 })
199199
200200
201201
202202 @Callable(D)
203203 func setSpotAddress (T) = valueOrElse(E(D), {
204204 let S = y(T)
205205 if ((S == S))
206206 then [StringEntry(u, T)]
207207 else throw("Strict value is not equal to itself.")
208208 })
209209
210210
211211
212212 @Callable(D)
213213 func setVaultAddress (U) = valueOrElse(E(D), {
214214 let V = y(U)
215215 if ((V == V))
216216 then [StringEntry(b, U)]
217217 else throw("Strict value is not equal to itself.")
218218 })
219219
220220
221221
222222 @Callable(D)
223223 func setOracleAddress (W) = valueOrElse(E(D), {
224224 let X = y(W)
225225 if ((X == X))
226- then [StringEntry(o, W)]
226+ then [StringEntry(t, W)]
227227 else throw("Strict value is not equal to itself.")
228228 })
229229
230230
231231
232232 @Callable(D)
233233 func addChild (Y) = valueOrElse(E(D), {
234234 let Z = y(Y)
235235 [BooleanEntry(v(s, Y), true)]
236236 })
237237
238238
239239
240240 @Callable(D)
241241 func addAmm (aa,ab) = valueOrElse(E(D), {
242242 let ac = y(aa)
243243 [BooleanEntry(v(k, aa), true), StringEntry(v(l, aa), ab)]
244244 })
245245
246246
247247
248248 @Callable(D)
249249 func removeAmm (aa) = valueOrElse(E(D), [DeleteEntry(v(k, aa))])
250250
251251
252252
253253 @Callable(D)
254254 func setGovernanceAsset (Q) = valueOrElse(E(D), {
255255 let ad = fromBase58String(Q)
256256 let ae = assetInfo(ad)
257257 if ($isInstanceOf(ae, "Asset"))
258258 then {
259259 let af = ae
260260 if ((af.decimals != 8))
261261 then throw("Invalid asset decimals, should be 8")
262262 else [StringEntry(m, Q)]
263263 }
264264 else throw("Can't find asset")
265265 })
266266
267267
268268 @Verifier(ag)
269269 func ah () = {
270270 let ae = getString(this, c)
271271 if ($isInstanceOf(ae, "String"))
272272 then {
273273 let ai = ae
274274 valueOrElse(getBoolean(addressFromStringValue(ai), ((("status_" + toString(this)) + "_") + toBase58String(ag.id))), false)
275275 }
276276 else sigVerify(ag.bodyBytes, ag.proofs[0], ag.senderPublicKey)
277277 }
278278

github/deemru/w8io/026f985 
42.21 ms