tx · 51UgGfvPVZdSSyTDTL4Lx7fofBV7sbH3UWTBGC6vHaVX

3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9:  -0.01400000 Waves

2021.08.17 16:17 [1662386] smart account 3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9 > SELF 0.00000000 Waves

{ "type": 13, "id": "51UgGfvPVZdSSyTDTL4Lx7fofBV7sbH3UWTBGC6vHaVX", "fee": 1400000, "feeAssetId": null, "timestamp": 1629206295587, "version": 2, "chainId": 84, "sender": "3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9", "senderPublicKey": "D1X9WatF6ARMCmm3jC4Ex5Wd5VQ3LY8i1xbHNqeHqeAa", "proofs": [ "532WZQwPyHXK6eE7wJCFaQqPNE8L8AYxyeWMiCc99rWMEhCd2Tw9CBfvTKqywMo5M998sXRWweaj2ia37kqSYzQY", "AMwZQgUpimX5714Z4b1nw5FQWRRJYuDfeXjj6wF5jj92YWseL8pmKHWQWzj1FUC3e9uMjNXi4xw6aBvLy7BN8Nd" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIIARIAEgQKAggIEgQKAggIEgAAAAAaAAAAABBrZXlQb29sc0xpc3ROYW1lAgAAAAVwb29scwAAAAARa2V5UHJlZml4UG9vbE5hbWUCAAAABXBvb2xfAAAAABJrZXlQcmVmaXhQb29sSW5kZXgCAAAABmluZGV4XwAAAAASa2V5Q29uZmlybWVkQXNzZXRzAgAAABBjb25maXJtZWRfYXNzZXRzAAAAABBrZXlBc3NldFByaW9yaXR5AgAAAA9hc3NldF9wcmlvcml0eV8AAAAAB2tleVBhaXICAAAABXBhaXJfAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAF2tleU9yYWNsZVNjcmlwdEhhc2hDUE1NAgAAABBzY3JpcHRfaGFzaF9jcG1tAAAAABdrZXlPcmFjbGVTY3JpcHRIYXNoRmxhdAIAAAAQ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AABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgUAAAANc2lnbmVkQnlBZG1pbgkAAAIAAAABAgAAAAtNYXRjaCBlcnJvci1aR2o=", "height": 1662386, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6pjrHBkudAMVGvQvyHjT8ntztK3vEakdS5TjF4qGMPth Next: AY3Y6CCwR5ELMnXWxoo24tgCJhozJPY1kiWuAhndtspN Diff:
OldNewDifferences
103103 let S = value(scriptHash(B.caller))
104104 let T = getBinaryValue(i)
105105 let U = getBinaryValue(j)
106- if (if (if ((S != T))
107- then (S != U)
106+ let V = if ((S != T))
107+ then true
108+ else false
109+ let W = if ((S != U))
110+ then true
111+ else false
112+ let X = if ((!(R) == true))
113+ then true
114+ else false
115+ if (if (if (V)
116+ then W
108117 else false)
109118 then true
110- else !(R))
119+ else X)
111120 then throw("Unexpected script was found.")
112121 else {
113- let V = getString(this, N)
114- let W = getString(this, (((f + P) + "_") + Q))
115- let X = getString(this, (((f + Q) + "_") + P))
116- if (isDefined(V))
117- then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(V)) + "\""))
118- else if (if (isDefined(W))
122+ let Y = getString(this, N)
123+ let Z = getString(this, (((f + P) + "_") + Q))
124+ let aa = getString(this, (((f + Q) + "_") + P))
125+ if (isDefined(Y))
126+ then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(Y)) + "\""))
127+ else if (if (isDefined(Z))
119128 then true
120- else isDefined(X))
129+ else isDefined(aa))
121130 then throw((((("Pool with assets \"" + P) + "\" and \"") + Q) + "\" is already exists"))
122131 else [IntegerEntry(O, size(w)), StringEntry(N, C(D)), StringEntry((((f + P) + "_") + Q), L), StringEntry(a, makeString((w :+ M), ","))]
123132 }
126135
127136
128137 @Callable(B)
129-func renamePool (L,Y) = valueOrElse(A(B), {
138+func renamePool (L,ab) = valueOrElse(A(B), {
130139 let M = H(L)
131140 let N = (b + M)
132- let V = getString(this, N)
133- if (isDefined(V))
134- then [StringEntry(N, C(Y))]
141+ let Y = getString(this, N)
142+ if (isDefined(Y))
143+ then [StringEntry(N, C(ab))]
135144 else throw((("Pool with address \"" + M) + "\" has not yet been added"))
136145 })
137146
141150 func updateHashes () = valueOrElse(A(B), [BinaryEntry(i, value(scriptHash(Address(k)))), BinaryEntry(j, value(scriptHash(Address(l))))])
142151
143152
144-@Verifier(Z)
145-func aa () = {
146- let ab = if (sigVerify(Z.bodyBytes, Z.proofs[0], p))
153+@Verifier(ac)
154+func ad () = {
155+ let ae = if (sigVerify(ac.bodyBytes, ac.proofs[0], p))
147156 then 1
148157 else 0
149- let ac = if (sigVerify(Z.bodyBytes, Z.proofs[1], q))
158+ let af = if (sigVerify(ac.bodyBytes, ac.proofs[1], q))
150159 then 1
151160 else 0
152- let ad = if (sigVerify(Z.bodyBytes, Z.proofs[2], r))
161+ let ag = if (sigVerify(ac.bodyBytes, ac.proofs[2], r))
153162 then 1
154163 else 0
155- let ae = (((ab + ac) + ad) >= 2)
156- let af = (((ab + ac) + ad) >= 1)
157- let x = Z
164+ let ah = (((ae + af) + ag) >= 2)
165+ let ai = (((ae + af) + ag) >= 1)
166+ let x = ac
158167 if ($isInstanceOf(x, "InvokeScriptTransaction"))
159168 then {
160- let ag = x
161- let ah = if ((ag.dApp == this))
162- then containsElement(["renamePool"], ag.function)
169+ let aj = x
170+ let ak = if ((aj.dApp == this))
171+ then containsElement(["renamePool"], aj.function)
163172 else false
164- let ai = if ((ag.dApp == this))
165- then containsElement(["setAdmin"], ag.function)
173+ let al = if ((aj.dApp == this))
174+ then containsElement(["setAdmin"], aj.function)
166175 else false
167- let aj = containsElement(["addPool"], ag.function)
168- let ak = if ((ag.dApp == this))
169- then containsElement(["updateHashes"], ag.function)
176+ let am = containsElement(["addPool"], aj.function)
177+ let an = if ((aj.dApp == this))
178+ then containsElement(["updateHashes"], aj.function)
170179 else false
171- if (if (if (if (if (ae)
172- then (size(ag.payments) == 0)
180+ if (if (if (if (if (ah)
181+ then (size(aj.payments) == 0)
173182 else false)
174- then ah
183+ then ak
175184 else false)
176185 then true
177- else if ((size(ag.payments) == 0))
178- then aj
186+ else if ((size(aj.payments) == 0))
187+ then am
179188 else false)
180189 then true
181- else if (if (ae)
182- then (size(ag.payments) == 0)
190+ else if (if (ah)
191+ then (size(aj.payments) == 0)
183192 else false)
184- then ai
193+ then al
185194 else false)
186195 then true
187- else if (if (ae)
188- then (size(ag.payments) == 0)
196+ else if (if (ah)
197+ then (size(aj.payments) == 0)
189198 else false)
190- then ak
199+ then an
191200 else false
192201 }
193202 else if (if ($isInstanceOf(x, "Order"))
221230 else if ($isInstanceOf(x, "BurnTransaction"))
222231 then true
223232 else $isInstanceOf(x, "ReissueTransaction"))
224- then ae
233+ then ah
225234 else throw("Match error")
226235 }
227236
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)
106- if (if (if ((S != T))
107- then (S != U)
106+ let V = if ((S != T))
107+ then true
108+ else false
109+ let W = if ((S != U))
110+ then true
111+ else false
112+ let X = if ((!(R) == true))
113+ then true
114+ else false
115+ if (if (if (V)
116+ then W
108117 else false)
109118 then true
110- else !(R))
119+ else X)
111120 then throw("Unexpected script was found.")
112121 else {
113- let V = getString(this, N)
114- let W = getString(this, (((f + P) + "_") + Q))
115- let X = getString(this, (((f + Q) + "_") + P))
116- if (isDefined(V))
117- then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(V)) + "\""))
118- else if (if (isDefined(W))
122+ let Y = getString(this, N)
123+ let Z = getString(this, (((f + P) + "_") + Q))
124+ let aa = getString(this, (((f + Q) + "_") + P))
125+ if (isDefined(Y))
126+ then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(Y)) + "\""))
127+ else if (if (isDefined(Z))
119128 then true
120- else isDefined(X))
129+ else isDefined(aa))
121130 then throw((((("Pool with assets \"" + P) + "\" and \"") + Q) + "\" is already exists"))
122131 else [IntegerEntry(O, size(w)), StringEntry(N, C(D)), StringEntry((((f + P) + "_") + Q), L), StringEntry(a, makeString((w :+ M), ","))]
123132 }
124133 })
125134
126135
127136
128137 @Callable(B)
129-func renamePool (L,Y) = valueOrElse(A(B), {
138+func renamePool (L,ab) = valueOrElse(A(B), {
130139 let M = H(L)
131140 let N = (b + M)
132- let V = getString(this, N)
133- if (isDefined(V))
134- then [StringEntry(N, C(Y))]
141+ let Y = getString(this, N)
142+ if (isDefined(Y))
143+ then [StringEntry(N, C(ab))]
135144 else throw((("Pool with address \"" + M) + "\" has not yet been added"))
136145 })
137146
138147
139148
140149 @Callable(B)
141150 func updateHashes () = valueOrElse(A(B), [BinaryEntry(i, value(scriptHash(Address(k)))), BinaryEntry(j, value(scriptHash(Address(l))))])
142151
143152
144-@Verifier(Z)
145-func aa () = {
146- let ab = if (sigVerify(Z.bodyBytes, Z.proofs[0], p))
153+@Verifier(ac)
154+func ad () = {
155+ let ae = if (sigVerify(ac.bodyBytes, ac.proofs[0], p))
147156 then 1
148157 else 0
149- let ac = if (sigVerify(Z.bodyBytes, Z.proofs[1], q))
158+ let af = if (sigVerify(ac.bodyBytes, ac.proofs[1], q))
150159 then 1
151160 else 0
152- let ad = if (sigVerify(Z.bodyBytes, Z.proofs[2], r))
161+ let ag = if (sigVerify(ac.bodyBytes, ac.proofs[2], r))
153162 then 1
154163 else 0
155- let ae = (((ab + ac) + ad) >= 2)
156- let af = (((ab + ac) + ad) >= 1)
157- let x = Z
164+ let ah = (((ae + af) + ag) >= 2)
165+ let ai = (((ae + af) + ag) >= 1)
166+ let x = ac
158167 if ($isInstanceOf(x, "InvokeScriptTransaction"))
159168 then {
160- let ag = x
161- let ah = if ((ag.dApp == this))
162- then containsElement(["renamePool"], ag.function)
169+ let aj = x
170+ let ak = if ((aj.dApp == this))
171+ then containsElement(["renamePool"], aj.function)
163172 else false
164- let ai = if ((ag.dApp == this))
165- then containsElement(["setAdmin"], ag.function)
173+ let al = if ((aj.dApp == this))
174+ then containsElement(["setAdmin"], aj.function)
166175 else false
167- let aj = containsElement(["addPool"], ag.function)
168- let ak = if ((ag.dApp == this))
169- then containsElement(["updateHashes"], ag.function)
176+ let am = containsElement(["addPool"], aj.function)
177+ let an = if ((aj.dApp == this))
178+ then containsElement(["updateHashes"], aj.function)
170179 else false
171- if (if (if (if (if (ae)
172- then (size(ag.payments) == 0)
180+ if (if (if (if (if (ah)
181+ then (size(aj.payments) == 0)
173182 else false)
174- then ah
183+ then ak
175184 else false)
176185 then true
177- else if ((size(ag.payments) == 0))
178- then aj
186+ else if ((size(aj.payments) == 0))
187+ then am
179188 else false)
180189 then true
181- else if (if (ae)
182- then (size(ag.payments) == 0)
190+ else if (if (ah)
191+ then (size(aj.payments) == 0)
183192 else false)
184- then ai
193+ then al
185194 else false)
186195 then true
187- else if (if (ae)
188- then (size(ag.payments) == 0)
196+ else if (if (ah)
197+ then (size(aj.payments) == 0)
189198 else false)
190- then ak
199+ then an
191200 else false
192201 }
193202 else if (if ($isInstanceOf(x, "Order"))
194203 then true
195204 else if ($isInstanceOf(x, "DataTransaction"))
196205 then true
197206 else if ($isInstanceOf(x, "SponsorFeeTransaction"))
198207 then true
199208 else if ($isInstanceOf(x, "SetScriptTransaction"))
200209 then true
201210 else if ($isInstanceOf(x, "CreateAliasTransaction"))
202211 then true
203212 else if ($isInstanceOf(x, "LeaseCancelTransaction"))
204213 then true
205214 else if ($isInstanceOf(x, "LeaseTransaction"))
206215 then true
207216 else if ($isInstanceOf(x, "IssueTransaction"))
208217 then true
209218 else if ($isInstanceOf(x, "UpdateAssetInfoTransaction"))
210219 then true
211220 else if ($isInstanceOf(x, "InvokeScriptTransaction"))
212221 then true
213222 else if ($isInstanceOf(x, "SetAssetScriptTransaction"))
214223 then true
215224 else if ($isInstanceOf(x, "TransferTransaction"))
216225 then true
217226 else if ($isInstanceOf(x, "ExchangeTransaction"))
218227 then true
219228 else if ($isInstanceOf(x, "MassTransferTransaction"))
220229 then true
221230 else if ($isInstanceOf(x, "BurnTransaction"))
222231 then true
223232 else $isInstanceOf(x, "ReissueTransaction"))
224- then ae
233+ then ah
225234 else throw("Match error")
226235 }
227236

github/deemru/w8io/169f3d6 
61.52 ms