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:AAIFAAAAAAAAABgIAhIECgIIARIAEgQKAggIEgQKAggIEgAAAAAaAAAAABBrZXlQb29sc0xpc3ROYW1lAgAAAAVwb29scwAAAAARa2V5UHJlZml4UG9vbE5hbWUCAAAABXBvb2xfAAAAABJrZXlQcmVmaXhQb29sSW5kZXgCAAAABmluZGV4XwAAAAASa2V5Q29uZmlybWVkQXNzZXRzAgAAABBjb25maXJtZWRfYXNzZXRzAAAAABBrZXlBc3NldFByaW9yaXR5AgAAAA9hc3NldF9wcmlvcml0eV8AAAAAB2tleVBhaXICAAAABXBhaXJfAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAF2tleU9yYWNsZVNjcmlwdEhhc2hDUE1NAgAAABBzY3JpcHRfaGFzaF9jcG1tAAAAABdrZXlPcmFjbGVTY3JpcHRIYXNoRmxhdAIAAAAQc2NyaXB0X2hh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y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBQAAAA1zaWduZWRCeUFkbWluCQAAAgAAAAECAAAAC01hdGNoIGVycm9yadkcNQ==", "height": 1662408, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ArBv3zKZwLuBjDMLYeYYZ8owDWhuAu7Wk19Ca4DdsZkL Next: EAWpyq4ameRWGGCLJTt9eEM9wR1vkVA8EPakZkpc6ui7 Diff:
Old | New | Differences | |
---|---|---|---|
122 | 122 | else false | |
123 | 123 | if (if (Z) | |
124 | 124 | then true | |
125 | - | else X) | |
125 | + | else if (X) | |
126 | + | then !(Y) | |
127 | + | else false) | |
126 | 128 | then throw("Unexpected script was found.") | |
127 | 129 | else { | |
128 | 130 | let aa = getString(this, N) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "pools" | |
5 | 5 | ||
6 | 6 | let b = "pool_" | |
7 | 7 | ||
8 | 8 | let c = "index_" | |
9 | 9 | ||
10 | 10 | let d = "confirmed_assets" | |
11 | 11 | ||
12 | 12 | let e = "asset_priority_" | |
13 | 13 | ||
14 | 14 | let f = "pair_" | |
15 | 15 | ||
16 | 16 | let g = "A_asset_id" | |
17 | 17 | ||
18 | 18 | let h = "B_asset_id" | |
19 | 19 | ||
20 | 20 | let i = "script_hash_cpmm" | |
21 | 21 | ||
22 | 22 | let j = "script_hash_flat" | |
23 | 23 | ||
24 | 24 | let k = base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37' | |
25 | 25 | ||
26 | 26 | let l = base58'3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW' | |
27 | 27 | ||
28 | 28 | let m = "admin_pub_1" | |
29 | 29 | ||
30 | 30 | let n = "admin_pub_2" | |
31 | 31 | ||
32 | 32 | let o = "admin_pub_3" | |
33 | 33 | ||
34 | 34 | let p = base58'GFmKZ2naZFRoCvNbwKAQVGmLb1uBeWGDgFabdGBuZiuy' | |
35 | 35 | ||
36 | 36 | let q = base58'GmJXRyhRA79g8yUGgKBAVdnFfQFDMjQG98b1MmLDh5kk' | |
37 | 37 | ||
38 | 38 | let r = base58'CFhbV6h41hVjbGHudGtS3fYUv7QAKRxFQzKNtx4B5PqP' | |
39 | 39 | ||
40 | 40 | let s = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
41 | 41 | ||
42 | 42 | let t = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
43 | 43 | ||
44 | 44 | let u = "admin_start_stop" | |
45 | 45 | ||
46 | 46 | let v = "admin_staking" | |
47 | 47 | ||
48 | 48 | let w = { | |
49 | 49 | let x = getString(this, a) | |
50 | 50 | if ($isInstanceOf(x, "String")) | |
51 | 51 | then { | |
52 | 52 | let y = x | |
53 | 53 | split(y, ",") | |
54 | 54 | } | |
55 | 55 | else { | |
56 | 56 | let z = x | |
57 | 57 | nil | |
58 | 58 | } | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | func A (B) = if ((B.caller == this)) | |
62 | 62 | then unit | |
63 | 63 | else unit | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func C (D) = { | |
67 | 67 | let E = valueOrElse(indexOf(D, "_"), -1) | |
68 | 68 | let F = valueOrElse(lastIndexOf(D, "_"), -1) | |
69 | 69 | let G = if (if ((E == F)) | |
70 | 70 | then (E > 0) | |
71 | 71 | else false) | |
72 | 72 | then (E != (size(D) - 1)) | |
73 | 73 | else false | |
74 | 74 | if (G) | |
75 | 75 | then D | |
76 | 76 | else throw("Pool name must consist of two asset names separated by an underscore character") | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func H (I) = toString(valueOrErrorMessage(addressFromString(I), (("Can't parse \"" + I) + "\" as address"))) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | @Callable(B) | |
84 | 84 | func setPriority (J,K) = valueOrElse(A(B), if ((0 > K)) | |
85 | 85 | then throw("Priority must be positive") | |
86 | 86 | else [IntegerEntry((e + J), K)]) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | ||
90 | 90 | @Callable(B) | |
91 | 91 | func setAdmin () = valueOrElse(A(B), [StringEntry(m, toBase58String(p)), StringEntry(n, toBase58String(q)), StringEntry(o, toBase58String(r))]) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | ||
95 | 95 | @Callable(B) | |
96 | 96 | func addPool (L,D) = valueOrElse(A(B), { | |
97 | 97 | let M = H(L) | |
98 | 98 | let N = (b + M) | |
99 | 99 | let O = (c + M) | |
100 | 100 | let P = valueOrErrorMessage(getString(value(addressFromString(L)), g), "Asset id A is incorrect") | |
101 | 101 | let Q = valueOrErrorMessage(getString(value(addressFromString(L)), h), "Asset id B is incorrect") | |
102 | 102 | let R = isDataStorageUntouched(this) | |
103 | 103 | let S = value(scriptHash(B.caller)) | |
104 | 104 | let T = getBinaryValue(i) | |
105 | 105 | let U = getBinaryValue(j) | |
106 | 106 | let V = if ((S != T)) | |
107 | 107 | then true | |
108 | 108 | else false | |
109 | 109 | let W = if ((S != U)) | |
110 | 110 | then true | |
111 | 111 | else false | |
112 | 112 | let X = if ((!(R) == true)) | |
113 | 113 | then true | |
114 | 114 | else false | |
115 | 115 | let Y = if ((!(R) == true)) | |
116 | 116 | then false | |
117 | 117 | else true | |
118 | 118 | let Z = if (if (V) | |
119 | 119 | then W | |
120 | 120 | else false) | |
121 | 121 | then true | |
122 | 122 | else false | |
123 | 123 | if (if (Z) | |
124 | 124 | then true | |
125 | - | else X) | |
125 | + | else if (X) | |
126 | + | then !(Y) | |
127 | + | else false) | |
126 | 128 | then throw("Unexpected script was found.") | |
127 | 129 | else { | |
128 | 130 | let aa = getString(this, N) | |
129 | 131 | let ab = getString(this, (((f + P) + "_") + Q)) | |
130 | 132 | let ac = getString(this, (((f + Q) + "_") + P)) | |
131 | 133 | if (isDefined(aa)) | |
132 | 134 | then throw((((("Pool with address \"" + M) + "\" is already defined with name \"") + value(aa)) + "\"")) | |
133 | 135 | else if (if (isDefined(ab)) | |
134 | 136 | then true | |
135 | 137 | else isDefined(ac)) | |
136 | 138 | then throw((((("Pool with assets \"" + P) + "\" and \"") + Q) + "\" is already exists")) | |
137 | 139 | else [IntegerEntry(O, size(w)), StringEntry(N, C(D)), StringEntry((((f + P) + "_") + Q), L), StringEntry(a, makeString((w :+ M), ","))] | |
138 | 140 | } | |
139 | 141 | }) | |
140 | 142 | ||
141 | 143 | ||
142 | 144 | ||
143 | 145 | @Callable(B) | |
144 | 146 | func renamePool (L,ad) = valueOrElse(A(B), { | |
145 | 147 | let M = H(L) | |
146 | 148 | let N = (b + M) | |
147 | 149 | let aa = getString(this, N) | |
148 | 150 | if (isDefined(aa)) | |
149 | 151 | then [StringEntry(N, C(ad))] | |
150 | 152 | else throw((("Pool with address \"" + M) + "\" has not yet been added")) | |
151 | 153 | }) | |
152 | 154 | ||
153 | 155 | ||
154 | 156 | ||
155 | 157 | @Callable(B) | |
156 | 158 | func updateHashes () = valueOrElse(A(B), [BinaryEntry(i, value(scriptHash(Address(k)))), BinaryEntry(j, value(scriptHash(Address(l))))]) | |
157 | 159 | ||
158 | 160 | ||
159 | 161 | @Verifier(ae) | |
160 | 162 | func af () = { | |
161 | 163 | let ag = if (sigVerify(ae.bodyBytes, ae.proofs[0], p)) | |
162 | 164 | then 1 | |
163 | 165 | else 0 | |
164 | 166 | let ah = if (sigVerify(ae.bodyBytes, ae.proofs[1], q)) | |
165 | 167 | then 1 | |
166 | 168 | else 0 | |
167 | 169 | let ai = if (sigVerify(ae.bodyBytes, ae.proofs[2], r)) | |
168 | 170 | then 1 | |
169 | 171 | else 0 | |
170 | 172 | let aj = (((ag + ah) + ai) >= 2) | |
171 | 173 | let ak = (((ag + ah) + ai) >= 1) | |
172 | 174 | let x = ae | |
173 | 175 | if ($isInstanceOf(x, "InvokeScriptTransaction")) | |
174 | 176 | then { | |
175 | 177 | let al = x | |
176 | 178 | let am = if ((al.dApp == this)) | |
177 | 179 | then containsElement(["renamePool"], al.function) | |
178 | 180 | else false | |
179 | 181 | let an = if ((al.dApp == this)) | |
180 | 182 | then containsElement(["setAdmin"], al.function) | |
181 | 183 | else false | |
182 | 184 | let ao = containsElement(["addPool"], al.function) | |
183 | 185 | let ap = if ((al.dApp == this)) | |
184 | 186 | then containsElement(["updateHashes"], al.function) | |
185 | 187 | else false | |
186 | 188 | if (if (if (if (if (aj) | |
187 | 189 | then (size(al.payments) == 0) | |
188 | 190 | else false) | |
189 | 191 | then am | |
190 | 192 | else false) | |
191 | 193 | then true | |
192 | 194 | else if ((size(al.payments) == 0)) | |
193 | 195 | then ao | |
194 | 196 | else false) | |
195 | 197 | then true | |
196 | 198 | else if (if (aj) | |
197 | 199 | then (size(al.payments) == 0) | |
198 | 200 | else false) | |
199 | 201 | then an | |
200 | 202 | else false) | |
201 | 203 | then true | |
202 | 204 | else if (if (aj) | |
203 | 205 | then (size(al.payments) == 0) | |
204 | 206 | else false) | |
205 | 207 | then ap | |
206 | 208 | else false | |
207 | 209 | } | |
208 | 210 | else if (if ($isInstanceOf(x, "Order")) | |
209 | 211 | then true | |
210 | 212 | else if ($isInstanceOf(x, "DataTransaction")) | |
211 | 213 | then true | |
212 | 214 | else if ($isInstanceOf(x, "SponsorFeeTransaction")) | |
213 | 215 | then true | |
214 | 216 | else if ($isInstanceOf(x, "SetScriptTransaction")) | |
215 | 217 | then true | |
216 | 218 | else if ($isInstanceOf(x, "CreateAliasTransaction")) | |
217 | 219 | then true | |
218 | 220 | else if ($isInstanceOf(x, "LeaseCancelTransaction")) | |
219 | 221 | then true | |
220 | 222 | else if ($isInstanceOf(x, "LeaseTransaction")) | |
221 | 223 | then true | |
222 | 224 | else if ($isInstanceOf(x, "IssueTransaction")) | |
223 | 225 | then true | |
224 | 226 | else if ($isInstanceOf(x, "UpdateAssetInfoTransaction")) | |
225 | 227 | then true | |
226 | 228 | else if ($isInstanceOf(x, "InvokeScriptTransaction")) | |
227 | 229 | then true | |
228 | 230 | else if ($isInstanceOf(x, "SetAssetScriptTransaction")) | |
229 | 231 | then true | |
230 | 232 | else if ($isInstanceOf(x, "TransferTransaction")) | |
231 | 233 | then true | |
232 | 234 | else if ($isInstanceOf(x, "ExchangeTransaction")) | |
233 | 235 | then true | |
234 | 236 | else if ($isInstanceOf(x, "MassTransferTransaction")) | |
235 | 237 | then true | |
236 | 238 | else if ($isInstanceOf(x, "BurnTransaction")) | |
237 | 239 | then true | |
238 | 240 | else $isInstanceOf(x, "ReissueTransaction")) | |
239 | 241 | then aj | |
240 | 242 | else throw("Match error") | |
241 | 243 | } | |
242 | 244 |
github/deemru/w8io/169f3d6 93.24 ms ◑