tx · GGYxYdttUmjUz8uVUDFspMrU9UXNNYcN6QuCxNB7kUVg 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV: -0.01400000 Waves 2022.03.05 11:57 [1950463] smart account 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV > SELF 0.00000000 Waves
{ "type": 13, "id": "GGYxYdttUmjUz8uVUDFspMrU9UXNNYcN6QuCxNB7kUVg", "fee": 1400000, "feeAssetId": null, "timestamp": 1646470635567, "version": 1, "sender": "3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV", "senderPublicKey": "8KXPjDuC8ffL9qjNuDBLnkvJKbMojhZYcnm2o75UCyun", "proofs": [ "3XXKaPVYSp9SoXXQWUG3Va9f2yvd1qHqq7aX6LRSGVy14Rw9T8AUv1gGBYJV4dom4F6EaDq88mDhn1HweFhaEwiB" ], "script": "base64:AAIFAAAAAAAAABgIAhIDCgEIEgMKAQgSABIICgYBAQEBCAEAAAAZAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAAJaWR4TFBBc0lkAAAAAAAAAAADAAAAAAlpZHhBbUFzSWQAAAAAAAAAAAQAAAAACWlkeFByQXNJZAAAAAAAAAAABQAAAAAPaWR4RmFjdFN0YWtDbnRyAAAAAAAAAAABAQAAAAtrZXlGYWN0Q250cgAAAAACAAAAEyVzX19mYWN0b3J5Q29udHJhY3QBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABQlc19fbWFuYWdlclB1YmxpY0tleQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAAAgAAABslc19fcGVuZGluZ01hbmFnZXJQdWJsaWNLZXkBAAAAC2tleVBvb2xBZGRyAAAAAAIAAAAPJXNfX3Bvb2xBZGRyZXNzAQAAAAtrZXlBbXRBc3NldAAAAAACAAAADyVzX19hbW91bnRBc3NldAEAAAANa2V5UHJpY2VBc3NldAA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lcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleXyHjec=", "chainId": 84, "height": 1950463, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CjY3hgzNq2ytuYhHwamQ3XXXA2yD3gfqvUxbtaP3nJ7o Next: 6hLM1g1dBSXmi7moRH4rp93bBYSKEob1JZ39MZTeBp6Y Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "" | |
7 | 7 | ||
8 | 8 | let c = 1 | |
9 | 9 | ||
10 | 10 | let d = 3 | |
11 | 11 | ||
12 | 12 | let e = 4 | |
13 | 13 | ||
14 | 14 | let f = 5 | |
15 | 15 | ||
16 | 16 | let g = 1 | |
17 | 17 | ||
18 | 18 | func h () = "%s__factoryContract" | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i () = "%s__managerPublicKey" | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func j () = "%s__pendingManagerPublicKey" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func k () = "%s__poolAddress" | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func l () = "%s__amountAsset" | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func m () = "%s__priceAsset" | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func n () = "%s__factoryConfig" | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func o (p,q) = (((("%d%d%s__" + p) + "__") + q) + "__config") | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func r (s) = ("%s%s%s__mappings__baseAsset2internalId__" + s) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func t (u,v) = valueOrErrorMessage(getString(u, v), makeString(["mandatory ", toString(u), ".", v, " not defined"], "")) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func w (u,v) = valueOrErrorMessage(getInteger(u, v), makeString(["mandatory ", toString(u), ".", v, " not defined"], "")) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | let x = addressFromStringValue(t(this, k())) | |
52 | 52 | ||
53 | 53 | let y = addressFromStringValue(t(x, h())) | |
54 | 54 | ||
55 | 55 | func z () = { | |
56 | 56 | let A = t(x, l()) | |
57 | 57 | let B = t(x, m()) | |
58 | 58 | let C = w(y, r(B)) | |
59 | 59 | let p = w(y, r(A)) | |
60 | 60 | split(t(y, o(toString(p), toString(C))), a) | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func D () = split(t(y, n()), a) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func E () = { | |
68 | 68 | let F = getString(i()) | |
69 | 69 | if ($isInstanceOf(F, "String")) | |
70 | 70 | then { | |
71 | 71 | let G = F | |
72 | 72 | fromBase58String(G) | |
73 | 73 | } | |
74 | 74 | else if ($isInstanceOf(F, "Unit")) | |
75 | 75 | then unit | |
76 | 76 | else throw("Match error") | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func H () = { | |
81 | 81 | let F = getString(j()) | |
82 | 82 | if ($isInstanceOf(F, "String")) | |
83 | 83 | then { | |
84 | 84 | let G = F | |
85 | 85 | fromBase58String(G) | |
86 | 86 | } | |
87 | 87 | else if ($isInstanceOf(F, "Unit")) | |
88 | 88 | then unit | |
89 | 89 | else throw("Match error") | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func I (J) = { | |
94 | 94 | let K = throw("Permission denied") | |
95 | 95 | let F = E() | |
96 | 96 | if ($isInstanceOf(F, "ByteVector")) | |
97 | 97 | then { | |
98 | 98 | let L = F | |
99 | 99 | if ((J.callerPublicKey == L)) | |
100 | 100 | then true | |
101 | 101 | else K | |
102 | 102 | } | |
103 | 103 | else if ($isInstanceOf(F, "Unit")) | |
104 | 104 | then if ((J.caller == this)) | |
105 | 105 | then true | |
106 | 106 | else K | |
107 | 107 | else throw("Match error") | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | @Callable(J) | |
112 | 112 | func constructor (M) = { | |
113 | 113 | let N = I(J) | |
114 | 114 | if ((N == N)) | |
115 | 115 | then [StringEntry(k(), M)] | |
116 | 116 | else throw("Strict value is not equal to itself.") | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | ||
121 | 121 | @Callable(J) | |
122 | 122 | func setManager (O) = { | |
123 | 123 | let N = I(J) | |
124 | 124 | if ((N == N)) | |
125 | 125 | then { | |
126 | 126 | let P = fromBase58String(O) | |
127 | 127 | if ((P == P)) | |
128 | 128 | then [StringEntry(j(), O)] | |
129 | 129 | else throw("Strict value is not equal to itself.") | |
130 | 130 | } | |
131 | 131 | else throw("Strict value is not equal to itself.") | |
132 | 132 | } | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | ||
136 | 136 | @Callable(J) | |
137 | 137 | func confirmManager () = { | |
138 | 138 | let Q = H() | |
139 | 139 | let R = if (isDefined(Q)) | |
140 | 140 | then true | |
141 | 141 | else throw("No pending manager") | |
142 | 142 | if ((R == R)) | |
143 | 143 | then { | |
144 | 144 | let S = if ((J.callerPublicKey == value(Q))) | |
145 | 145 | then true | |
146 | 146 | else throw("You are not pending manager") | |
147 | 147 | if ((S == S)) | |
148 | 148 | then [StringEntry(i(), toBase58String(value(Q))), DeleteEntry(j())] | |
149 | 149 | else throw("Strict value is not equal to itself.") | |
150 | 150 | } | |
151 | 151 | else throw("Strict value is not equal to itself.") | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | ||
156 | 156 | @Callable(J) | |
157 | 157 | func unstakeAndGetOneTkn (T,U,V,W,X,Y) = { | |
158 | 158 | let Z = if ((size(J.payments) != 0)) | |
159 | 159 | then throw("No pmnts expd") | |
160 | 160 | else true | |
161 | 161 | if ((Z == Z)) | |
162 | 162 | then { | |
163 | 163 | let aa = z() | |
164 | 164 | let ab = D() | |
165 | 165 | let ac = fromBase58String(aa[d]) | |
166 | 166 | let ad = valueOrErrorMessage(addressFromString(ab[g]), "Wr st addr") | |
167 | 167 | let ae = invoke(ad, "unstake", [toBase58String(ac), T], nil) | |
168 | 168 | if ((ae == ae)) | |
169 | 169 | then { | |
170 | 170 | let af = invoke(x, "getOneTkn", [U, V, W, X, Y], [AttachedPayment(ac, T)]) | |
171 | 171 | if ((af == af)) | |
172 | 172 | then nil | |
173 | 173 | else throw("Strict value is not equal to itself.") | |
174 | 174 | } | |
175 | 175 | else throw("Strict value is not equal to itself.") | |
176 | 176 | } | |
177 | 177 | else throw("Strict value is not equal to itself.") | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | @Verifier(ag) | |
182 | 182 | func ah () = { | |
183 | 183 | let ai = { | |
184 | 184 | let F = E() | |
185 | 185 | if ($isInstanceOf(F, "ByteVector")) | |
186 | 186 | then { | |
187 | 187 | let L = F | |
188 | 188 | L | |
189 | 189 | } | |
190 | 190 | else if ($isInstanceOf(F, "Unit")) | |
191 | 191 | then ag.senderPublicKey | |
192 | 192 | else throw("Match error") | |
193 | 193 | } | |
194 | 194 | sigVerify(ag.bodyBytes, ag.proofs[0], ai) | |
195 | 195 | } | |
196 | 196 |
github/deemru/w8io/169f3d6 48.33 ms ◑