tx · Ddeeor5SDGD6B2nPC1pVpLBz5FW7grpWRMMNyXHCbEce 3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz: -0.01000000 Waves 2022.10.11 11:44 [2267459] smart account 3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz > SELF 0.00000000 Waves
{ "type": 13, "id": "Ddeeor5SDGD6B2nPC1pVpLBz5FW7grpWRMMNyXHCbEce", "fee": 1000000, "feeAssetId": null, "timestamp": 1665477875546, "version": 2, "chainId": 84, "sender": "3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz", "senderPublicKey": "C3v9sfZTmGuW7YXwjUKypU41QpFcHCoJxLpvdR4d3iSv", "proofs": [ "f64VcgyGiviD1cjbujJqiMUpXe6zELEh33YHtGVWpb7Y7e2aGFB3H4zBmGEipmTze3PwSDQ6r5KZxSNqXUqR1wm" ], "script": "base64:BgIfCAISABIECgIICBIECgIICBIDCgEEEgMKAQgSAwoBCBEAD2tQcmVmaXhQb29sTmFtZQIFcG9vbF8ABWtQYWlyAgVwYWlyXwAJa0Fzc2V0SWRBAgpBX2Fzc2V0X2lkAAlrQXNzZXRJZEICCkJfYXNzZXRfaWQAH2tMYXVuY2hwYWREYXRhVHJhbnNhY3Rpb25TdGF0dXMCIWxhdW5jaHBhZF9kYXRhX3RyYW5zYWN0aW9uX3N0YXR1cwANa0FkbWluUHViS2V5MQILYWRtaW5fcHViXzEADWtBZG1pblB1YktleTICC2FkbWluX3B1Yl8yAA1rQWRtaW5QdWJLZXkzAgthZG1pbl9wdWJfMwASa0FkbWluSW52b2tlUHViS2V5AhBhZG1pbl9pbnZva2VfcHViABRrQWNoaWV2ZW1lbnRzV3JpdGVycwIUYWNoaWV2ZW1lbnRzX3dyaXRlcnMADGFkbWluUHViS2V5MQEg4qeMQDuGzRfmtEuH2+Whg6yuKqHsNy5eZQUT8rXs7wQADGFkbWluUHViS2V5MgEg6jisuQG1iDxyo54oPYHUGiJlERON346DjXz9V/GbEVkADGFkbWluUH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mZXJUcmFuc2FjdGlvbgYDCQABAgUHJG1hdGNoMAITRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQABAgUHJG1hdGNoMAIXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAQIFByRtYXRjaDACD0J1cm5UcmFuc2FjdGlvbgYJAAECBQckbWF0Y2gwAhJSZWlzc3VlVHJhbnNhY3Rpb24FDXNpZ25lZEJ5QWRtaW4JAAIBAgtNYXRjaCBlcnJvcnHIYdo=", "height": 2267459, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 2w8uJgwuWtM6udzDVUBe8SvBmL2v8kk99HsfXZWY42jy Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "pool_" | |
5 | + | ||
6 | + | let b = "pair_" | |
7 | + | ||
8 | + | let c = "A_asset_id" | |
9 | + | ||
10 | + | let d = "B_asset_id" | |
11 | + | ||
12 | + | let e = "launchpad_data_transaction_status" | |
13 | + | ||
14 | + | let f = "admin_pub_1" | |
15 | + | ||
16 | + | let g = "admin_pub_2" | |
17 | + | ||
18 | + | let h = "admin_pub_3" | |
19 | + | ||
20 | + | let i = "admin_invoke_pub" | |
21 | + | ||
22 | + | let j = "achievements_writers" | |
23 | + | ||
24 | + | let k = base58'GFmKZ2naZFRoCvNbwKAQVGmLb1uBeWGDgFabdGBuZiuy' | |
25 | + | ||
26 | + | let l = base58'GmJXRyhRA79g8yUGgKBAVdnFfQFDMjQG98b1MmLDh5kk' | |
27 | + | ||
28 | + | let m = base58'CFhbV6h41hVjbGHudGtS3fYUv7QAKRxFQzKNtx4B5PqP' | |
29 | + | ||
30 | + | let n = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
31 | + | ||
32 | + | func o (p) = if ((p.caller == this)) | |
33 | + | then unit | |
34 | + | else throw("Only the Oracle itself can invoke this function") | |
35 | + | ||
36 | + | ||
37 | + | func q (r) = { | |
38 | + | let s = valueOrErrorMessage(getString(r, "version"), "Pool is not initialized") | |
39 | + | if ((s == "1.0.0")) | |
40 | + | then "cpmm" | |
41 | + | else if ((s == "2.0.0")) | |
42 | + | then "flat" | |
43 | + | else if ((s == "3.0.0")) | |
44 | + | then "multycurve" | |
45 | + | else throw("Unknown version of pool") | |
46 | + | } | |
47 | + | ||
48 | + | ||
49 | + | func t (u) = toString(valueOrErrorMessage(addressFromString(u), (("Can't parse \"" + u) + "\" as address"))) | |
50 | + | ||
51 | + | ||
52 | + | @Callable(p) | |
53 | + | func setAdmin () = valueOrElse(o(p), [StringEntry(f, toBase58String(k)), StringEntry(g, toBase58String(l)), StringEntry(h, toBase58String(m)), StringEntry(i, toBase58String(n))]) | |
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | @Callable(p) | |
58 | + | func addPool (r,v) = valueOrElse(o(p), { | |
59 | + | let w = t(r) | |
60 | + | let x = (a + w) | |
61 | + | let y = getString(this, x) | |
62 | + | if (isDefined(y)) | |
63 | + | then throw((((("Pool with address \"" + w) + "\" is already defined with name \"") + value(y)) + "\"")) | |
64 | + | else ([StringEntry(x, v)] ++ (if ((q(value(addressFromString(r))) == "multycurve")) | |
65 | + | then nil | |
66 | + | else { | |
67 | + | let z = valueOrErrorMessage(getString(value(addressFromString(r)), c), "Asset id A is incorrect") | |
68 | + | let A = valueOrErrorMessage(getString(value(addressFromString(r)), d), "Asset id B is incorrect") | |
69 | + | [StringEntry((((b + z) + "_") + A), r)] | |
70 | + | })) | |
71 | + | }) | |
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | @Callable(p) | |
76 | + | func renamePool (r,B) = valueOrElse(o(p), { | |
77 | + | let w = t(r) | |
78 | + | let x = (a + w) | |
79 | + | let y = getString(this, x) | |
80 | + | if (isDefined(y)) | |
81 | + | then [StringEntry(x, B)] | |
82 | + | else throw((("Pool with address \"" + w) + "\" has not yet been added")) | |
83 | + | }) | |
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | @Callable(p) | |
88 | + | func launchpadDataTransactionStatus (C) = valueOrElse(o(p), [BooleanEntry(e, C)]) | |
89 | + | ||
90 | + | ||
91 | + | ||
92 | + | @Callable(p) | |
93 | + | func addAchievementsWriter (u) = valueOrElse(o(p), { | |
94 | + | let D = valueOrElse(getString(this, j), "") | |
95 | + | let E = if ((D == "")) | |
96 | + | then nil | |
97 | + | else split(D, ",") | |
98 | + | [StringEntry(j, makeString((E :+ u), ","))] | |
99 | + | }) | |
100 | + | ||
101 | + | ||
102 | + | ||
103 | + | @Callable(p) | |
104 | + | func removeAchievementsWriter (u) = valueOrElse(o(p), { | |
105 | + | let D = split(valueOrElse(getString(this, j), ""), ",") | |
106 | + | let F = valueOrErrorMessage(indexOf(D, u), "Can't find address in the list") | |
107 | + | [StringEntry(j, makeString(removeByIndex(D, F), ","))] | |
108 | + | }) | |
109 | + | ||
110 | + | ||
111 | + | @Verifier(G) | |
112 | + | func H () = { | |
113 | + | let I = if (sigVerify(G.bodyBytes, G.proofs[0], k)) | |
114 | + | then 1 | |
115 | + | else 0 | |
116 | + | let J = if (sigVerify(G.bodyBytes, G.proofs[1], l)) | |
117 | + | then 1 | |
118 | + | else 0 | |
119 | + | let K = if (sigVerify(G.bodyBytes, G.proofs[2], m)) | |
120 | + | then 1 | |
121 | + | else 0 | |
122 | + | let L = (((I + J) + K) >= 2) | |
123 | + | let M = (((I + J) + K) >= 1) | |
124 | + | let N = G | |
125 | + | if ($isInstanceOf(N, "InvokeScriptTransaction")) | |
126 | + | then { | |
127 | + | let O = N | |
128 | + | let P = if ((O.dApp == this)) | |
129 | + | then containsElement(["renamePool"], O.function) | |
130 | + | else false | |
131 | + | let Q = if ((O.dApp == this)) | |
132 | + | then containsElement(["setAdmin"], O.function) | |
133 | + | else false | |
134 | + | let R = if ((O.dApp == this)) | |
135 | + | then containsElement(["addPool"], O.function) | |
136 | + | else false | |
137 | + | let S = if ((O.dApp == this)) | |
138 | + | then containsElement(["launchpadDataTransactionStatus"], O.function) | |
139 | + | else false | |
140 | + | let T = if ((O.dApp == this)) | |
141 | + | then containsElement(["addAchievementsWriter"], O.function) | |
142 | + | else false | |
143 | + | let U = if ((O.dApp == this)) | |
144 | + | then containsElement(["removeAchievementsWriter"], O.function) | |
145 | + | else false | |
146 | + | if (if (if (if (if (if (if (L) | |
147 | + | then (size(O.payments) == 0) | |
148 | + | else false) | |
149 | + | then P | |
150 | + | else false) | |
151 | + | then true | |
152 | + | else if (if (M) | |
153 | + | then (size(O.payments) == 0) | |
154 | + | else false) | |
155 | + | then R | |
156 | + | else false) | |
157 | + | then true | |
158 | + | else if (if (L) | |
159 | + | then (size(O.payments) == 0) | |
160 | + | else false) | |
161 | + | then Q | |
162 | + | else false) | |
163 | + | then true | |
164 | + | else if (if (L) | |
165 | + | then (size(O.payments) == 0) | |
166 | + | else false) | |
167 | + | then S | |
168 | + | else false) | |
169 | + | then true | |
170 | + | else if (if (L) | |
171 | + | then (size(O.payments) == 0) | |
172 | + | else false) | |
173 | + | then T | |
174 | + | else false) | |
175 | + | then true | |
176 | + | else if (if (L) | |
177 | + | then (size(O.payments) == 0) | |
178 | + | else false) | |
179 | + | then U | |
180 | + | else false | |
181 | + | } | |
182 | + | else if (if ($isInstanceOf(N, "Order")) | |
183 | + | then true | |
184 | + | else if ($isInstanceOf(N, "DataTransaction")) | |
185 | + | then true | |
186 | + | else if ($isInstanceOf(N, "SponsorFeeTransaction")) | |
187 | + | then true | |
188 | + | else if ($isInstanceOf(N, "SetScriptTransaction")) | |
189 | + | then true | |
190 | + | else if ($isInstanceOf(N, "CreateAliasTransaction")) | |
191 | + | then true | |
192 | + | else if ($isInstanceOf(N, "LeaseCancelTransaction")) | |
193 | + | then true | |
194 | + | else if ($isInstanceOf(N, "LeaseTransaction")) | |
195 | + | then true | |
196 | + | else if ($isInstanceOf(N, "IssueTransaction")) | |
197 | + | then true | |
198 | + | else if ($isInstanceOf(N, "InvokeExpressionTransaction")) | |
199 | + | then true | |
200 | + | else if ($isInstanceOf(N, "UpdateAssetInfoTransaction")) | |
201 | + | then true | |
202 | + | else if ($isInstanceOf(N, "InvokeScriptTransaction")) | |
203 | + | then true | |
204 | + | else if ($isInstanceOf(N, "SetAssetScriptTransaction")) | |
205 | + | then true | |
206 | + | else if ($isInstanceOf(N, "TransferTransaction")) | |
207 | + | then true | |
208 | + | else if ($isInstanceOf(N, "ExchangeTransaction")) | |
209 | + | then true | |
210 | + | else if ($isInstanceOf(N, "MassTransferTransaction")) | |
211 | + | then true | |
212 | + | else if ($isInstanceOf(N, "BurnTransaction")) | |
213 | + | then true | |
214 | + | else $isInstanceOf(N, "ReissueTransaction")) | |
215 | + | then L | |
216 | + | else throw("Match error") | |
217 | + | } | |
218 | + |
github/deemru/w8io/169f3d6 41.31 ms ◑