tx · GUDFXTGLm7HD2R8caLa6SbGzVxYJhATfwZD6NDzP4DC5

3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9:  -0.01400000 Waves

2021.08.17 16:42 [1662408] smart account 3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9 > SELF 0.00000000 Waves

{ "type": 13, "id": "GUDFXTGLm7HD2R8caLa6SbGzVxYJhATfwZD6NDzP4DC5", "fee": 1400000, "feeAssetId": null, "timestamp": 1629207840599, "version": 2, "chainId": 84, "sender": "3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9", "senderPublicKey": "D1X9WatF6ARMCmm3jC4Ex5Wd5VQ3LY8i1xbHNqeHqeAa", "proofs": [ "4i2Vw26x8gKqWzEJorxff2JZZPVZiXkSQaUgkGSWmjync7Koh6X4YVRG9E89TQrJfRpqePTEikYegHesEHvVzt5k", "3oEYPkapcS2xX6LFakmrSB3PQxDwGk58R5AcnmPLzohjC1XAxBnRij47DdhfpaUWvnXrL87148fLAsC44SLvjsLk" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIIARIAEgQKAggIEgQKAggIEgAAAAAaAAAAABBrZXlQb29sc0xpc3ROYW1lAgAAAAVwb29scwAAAAARa2V5UHJlZml4UG9vbE5hbWUCAAAABXBvb2xfAAAAABJrZXlQcmVmaXhQb29sSW5kZXgCAAAABmluZGV4XwAAAAASa2V5Q29uZmlybWVkQXNzZXRzAgAAABBjb25maXJtZWRfYXNzZXRzAAAAABBrZXlBc3NldFByaW9yaXR5AgAAAA9hc3NldF9wcmlvcml0eV8AAAAAB2tleVBhaXICAAAABXBhaXJfAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAF2tleU9yYWNsZVNjcmlwdEhhc2hDUE1NAgAAABBzY3JpcHRfaGFzaF9jcG1tAAAAABdrZXlPcmFjbGVTY3JpcHRIYXNoRmxhdAIAAAAQc2NyaXB0X2h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Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBQAAAA1zaWduZWRCeUFkbWluCQAAAgAAAAECAAAAC01hdGNoIGVycm9yadkcNQ==", "height": 1662408, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ArBv3zKZwLuBjDMLYeYYZ8owDWhuAu7Wk19Ca4DdsZkL Next: EAWpyq4ameRWGGCLJTt9eEM9wR1vkVA8EPakZkpc6ui7 Diff:
OldNewDifferences
122122 else false
123123 if (if (Z)
124124 then true
125- else X)
125+ else if (X)
126+ then !(Y)
127+ else false)
126128 then throw("Unexpected script was found.")
127129 else {
128130 let aa = getString(this, N)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "pools"
55
66 let b = "pool_"
77
88 let c = "index_"
99
1010 let d = "confirmed_assets"
1111
1212 let e = "asset_priority_"
1313
1414 let f = "pair_"
1515
1616 let g = "A_asset_id"
1717
1818 let h = "B_asset_id"
1919
2020 let i = "script_hash_cpmm"
2121
2222 let j = "script_hash_flat"
2323
2424 let k = base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37'
2525
2626 let l = base58'3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW'
2727
2828 let m = "admin_pub_1"
2929
3030 let n = "admin_pub_2"
3131
3232 let o = "admin_pub_3"
3333
3434 let p = base58'GFmKZ2naZFRoCvNbwKAQVGmLb1uBeWGDgFabdGBuZiuy'
3535
3636 let q = base58'GmJXRyhRA79g8yUGgKBAVdnFfQFDMjQG98b1MmLDh5kk'
3737
3838 let r = base58'CFhbV6h41hVjbGHudGtS3fYUv7QAKRxFQzKNtx4B5PqP'
3939
4040 let s = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4141
4242 let t = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
4343
4444 let u = "admin_start_stop"
4545
4646 let v = "admin_staking"
4747
4848 let w = {
4949 let x = getString(this, a)
5050 if ($isInstanceOf(x, "String"))
5151 then {
5252 let y = x
5353 split(y, ",")
5454 }
5555 else {
5656 let z = x
5757 nil
5858 }
5959 }
6060
6161 func A (B) = if ((B.caller == this))
6262 then unit
6363 else unit
6464
6565
6666 func C (D) = {
6767 let E = valueOrElse(indexOf(D, "_"), -1)
6868 let F = valueOrElse(lastIndexOf(D, "_"), -1)
6969 let G = if (if ((E == F))
7070 then (E > 0)
7171 else false)
7272 then (E != (size(D) - 1))
7373 else false
7474 if (G)
7575 then D
7676 else throw("Pool name must consist of two asset names separated by an underscore character")
7777 }
7878
7979
8080 func H (I) = toString(valueOrErrorMessage(addressFromString(I), (("Can't parse \"" + I) + "\" as address")))
8181
8282
8383 @Callable(B)
8484 func setPriority (J,K) = valueOrElse(A(B), if ((0 > K))
8585 then throw("Priority must be positive")
8686 else [IntegerEntry((e + J), K)])
8787
8888
8989
9090 @Callable(B)
9191 func setAdmin () = valueOrElse(A(B), [StringEntry(m, toBase58String(p)), StringEntry(n, toBase58String(q)), StringEntry(o, toBase58String(r))])
9292
9393
9494
9595 @Callable(B)
9696 func addPool (L,D) = valueOrElse(A(B), {
9797 let M = H(L)
9898 let N = (b + M)
9999 let O = (c + M)
100100 let P = valueOrErrorMessage(getString(value(addressFromString(L)), g), "Asset id A is incorrect")
101101 let Q = valueOrErrorMessage(getString(value(addressFromString(L)), h), "Asset id B is incorrect")
102102 let R = isDataStorageUntouched(this)
103103 let S = value(scriptHash(B.caller))
104104 let T = getBinaryValue(i)
105105 let U = getBinaryValue(j)
106106 let V = if ((S != T))
107107 then true
108108 else false
109109 let W = if ((S != U))
110110 then true
111111 else false
112112 let X = if ((!(R) == true))
113113 then true
114114 else false
115115 let Y = if ((!(R) == true))
116116 then false
117117 else true
118118 let Z = if (if (V)
119119 then W
120120 else false)
121121 then true
122122 else false
123123 if (if (Z)
124124 then true
125- else X)
125+ else if (X)
126+ then !(Y)
127+ else false)
126128 then throw("Unexpected script was found.")
127129 else {
128130 let aa = getString(this, N)
129131 let ab = getString(this, (((f + P) + "_") + Q))
130132 let ac = getString(this, (((f + Q) + "_") + P))
131133 if (isDefined(aa))
132134 then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(aa)) + "\""))
133135 else if (if (isDefined(ab))
134136 then true
135137 else isDefined(ac))
136138 then throw((((("Pool with assets \"" + P) + "\" and \"") + Q) + "\" is already exists"))
137139 else [IntegerEntry(O, size(w)), StringEntry(N, C(D)), StringEntry((((f + P) + "_") + Q), L), StringEntry(a, makeString((w :+ M), ","))]
138140 }
139141 })
140142
141143
142144
143145 @Callable(B)
144146 func renamePool (L,ad) = valueOrElse(A(B), {
145147 let M = H(L)
146148 let N = (b + M)
147149 let aa = getString(this, N)
148150 if (isDefined(aa))
149151 then [StringEntry(N, C(ad))]
150152 else throw((("Pool with address \"" + M) + "\" has not yet been added"))
151153 })
152154
153155
154156
155157 @Callable(B)
156158 func updateHashes () = valueOrElse(A(B), [BinaryEntry(i, value(scriptHash(Address(k)))), BinaryEntry(j, value(scriptHash(Address(l))))])
157159
158160
159161 @Verifier(ae)
160162 func af () = {
161163 let ag = if (sigVerify(ae.bodyBytes, ae.proofs[0], p))
162164 then 1
163165 else 0
164166 let ah = if (sigVerify(ae.bodyBytes, ae.proofs[1], q))
165167 then 1
166168 else 0
167169 let ai = if (sigVerify(ae.bodyBytes, ae.proofs[2], r))
168170 then 1
169171 else 0
170172 let aj = (((ag + ah) + ai) >= 2)
171173 let ak = (((ag + ah) + ai) >= 1)
172174 let x = ae
173175 if ($isInstanceOf(x, "InvokeScriptTransaction"))
174176 then {
175177 let al = x
176178 let am = if ((al.dApp == this))
177179 then containsElement(["renamePool"], al.function)
178180 else false
179181 let an = if ((al.dApp == this))
180182 then containsElement(["setAdmin"], al.function)
181183 else false
182184 let ao = containsElement(["addPool"], al.function)
183185 let ap = if ((al.dApp == this))
184186 then containsElement(["updateHashes"], al.function)
185187 else false
186188 if (if (if (if (if (aj)
187189 then (size(al.payments) == 0)
188190 else false)
189191 then am
190192 else false)
191193 then true
192194 else if ((size(al.payments) == 0))
193195 then ao
194196 else false)
195197 then true
196198 else if (if (aj)
197199 then (size(al.payments) == 0)
198200 else false)
199201 then an
200202 else false)
201203 then true
202204 else if (if (aj)
203205 then (size(al.payments) == 0)
204206 else false)
205207 then ap
206208 else false
207209 }
208210 else if (if ($isInstanceOf(x, "Order"))
209211 then true
210212 else if ($isInstanceOf(x, "DataTransaction"))
211213 then true
212214 else if ($isInstanceOf(x, "SponsorFeeTransaction"))
213215 then true
214216 else if ($isInstanceOf(x, "SetScriptTransaction"))
215217 then true
216218 else if ($isInstanceOf(x, "CreateAliasTransaction"))
217219 then true
218220 else if ($isInstanceOf(x, "LeaseCancelTransaction"))
219221 then true
220222 else if ($isInstanceOf(x, "LeaseTransaction"))
221223 then true
222224 else if ($isInstanceOf(x, "IssueTransaction"))
223225 then true
224226 else if ($isInstanceOf(x, "UpdateAssetInfoTransaction"))
225227 then true
226228 else if ($isInstanceOf(x, "InvokeScriptTransaction"))
227229 then true
228230 else if ($isInstanceOf(x, "SetAssetScriptTransaction"))
229231 then true
230232 else if ($isInstanceOf(x, "TransferTransaction"))
231233 then true
232234 else if ($isInstanceOf(x, "ExchangeTransaction"))
233235 then true
234236 else if ($isInstanceOf(x, "MassTransferTransaction"))
235237 then true
236238 else if ($isInstanceOf(x, "BurnTransaction"))
237239 then true
238240 else $isInstanceOf(x, "ReissueTransaction"))
239241 then aj
240242 else throw("Match error")
241243 }
242244

github/deemru/w8io/169f3d6 
93.24 ms