tx · Aj4zMT6janE3Ttin2UoBnk8R5fwhXG21y3mWWeSw9BdZ 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA: -0.01300000 Waves 2023.03.14 15:36 [2489721] smart account 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA > SELF 0.00000000 Waves
{ "type": 13, "id": "Aj4zMT6janE3Ttin2UoBnk8R5fwhXG21y3mWWeSw9BdZ", "fee": 1300000, "feeAssetId": null, "timestamp": 1678797465512, "version": 2, "chainId": 84, "sender": "3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA", "senderPublicKey": "H19CeJVbUnfsK8EYs8K6fHxwBH7pLyxw8WCDFu7D4rGQ", "proofs": [ "3Jf2QUE8fuXjF8HZq7Xyf1uxZSjLzPJHLkg8bV6omMZJJWgXD8C2JJ6hk4kCLvZ2g1M3RNdcuHptp8ajjtVUWgPT" ], "script": "base64:AAIFAAAAAAAABiAIAhIJCgcIAQEBAQEIEgMKAQgSAwoBARIAEgMKAQgSABIAIgNTRVAiD2dldFN0cmluZ09yRmFpbCIHYWRkcmVzcyIDa2V5IhFrZXlGYWN0b3J5QWRkcmVzcyIZa2V5Vm90aW5nVmVyaWZpZWRDb250cmFjdCIia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdCIUa2V5VXNlclBvb2xzQ29udHJhY3QiFnZvdGluZ1ZlcmlmaWVkQ29udHJhY3QiH3ZvdGluZ0VtaXNzaW9uQ2FuZGlkYXRlQ29udHJhY3QiEXVzZXJQb29sc0NvbnRyYWN0IhhJZHhGYWN0b3J5Q2ZnU3Rha2luZ0RhcHAiGUlkeEZhY3RvcnlDZmdCb29zdGluZ0RhcHAiFElkeEZhY3RvcnlDZmdJZG9EYXBwIhVJZHhGYWN0b3J5Q2ZnVGVhbURhcHAiGUlkeEZhY3RvcnlDZmdFbWlzc2lvbkRhcHAiFUlkeEZhY3RvcnlDZmdSZXN0RGFwcCIZSWR4RmFjdG9y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AAAAJhZAAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAV2YWx1ZQAAAAEFAAAAAmFCBgkAAAIAAAABAgAAABtZb3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAAAAAAIFAAAAAmFEBQAAAAJhRAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAABVwAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACYUIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAAVgAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAJhZAEAAAAVZ2V0Qm9vc3RDb2VmZlJFQURPTkxZAAAAAAkABRQAAAACBQAAAANuaWwFAAAAAVYAAAABAAAAAmFFAQAAAAJhRgAAAAAEAAAAAmFHBAAAAAFaCQEAAAABWQAAAAADCQAAAQAAAAIFAAAAAVoCAAAACkJ5dGVWZWN0b3IEAAAAAmFmBQAAAAFaBQAAAAJhZgMJAAABAAAAAgUAAAABWgIAAAAEVW5pdAgFAAAAAmFFAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYUUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhRQAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmFH8enhAg==", "height": 2489721, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3ABARuueMNhyBvhK1Pomcphh9pbdtyxCNMsvBAXEGJhp Next: 5Y2sTnjYdYprqoBF1UTgHsKFjywZxwZdDsGYZjXNv6Ss Diff:
Old | New | Differences | |
---|---|---|---|
97 | 97 | func S () = "%s%s__emission__endBlock" | |
98 | 98 | ||
99 | 99 | ||
100 | - | func T () = "%s__ | |
100 | + | func T () = "%s__boostCoeff" | |
101 | 101 | ||
102 | 102 | ||
103 | - | func U () = "%s__pendingManagerPublicKey" | |
103 | + | let U = 3 | |
104 | + | ||
105 | + | let V = valueOrElse(getInteger(this, T()), U) | |
106 | + | ||
107 | + | func W () = "%s__managerPublicKey" | |
104 | 108 | ||
105 | 109 | ||
106 | - | func V () = { | |
107 | - | let W = getString(T()) | |
108 | - | if ($isInstanceOf(W, "String")) | |
110 | + | func X () = "%s__pendingManagerPublicKey" | |
111 | + | ||
112 | + | ||
113 | + | func Y () = { | |
114 | + | let Z = getString(W()) | |
115 | + | if ($isInstanceOf(Z, "String")) | |
109 | 116 | then { | |
110 | - | let | |
111 | - | fromBase58String( | |
117 | + | let aa = Z | |
118 | + | fromBase58String(aa) | |
112 | 119 | } | |
113 | - | else if ($isInstanceOf( | |
120 | + | else if ($isInstanceOf(Z, "Unit")) | |
114 | 121 | then unit | |
115 | 122 | else throw("Match error") | |
116 | 123 | } | |
117 | 124 | ||
118 | 125 | ||
119 | - | func | |
120 | - | let | |
121 | - | if ($isInstanceOf( | |
126 | + | func ab () = { | |
127 | + | let Z = getString(X()) | |
128 | + | if ($isInstanceOf(Z, "String")) | |
122 | 129 | then { | |
123 | - | let | |
124 | - | fromBase58String( | |
130 | + | let aa = Z | |
131 | + | fromBase58String(aa) | |
125 | 132 | } | |
126 | - | else if ($isInstanceOf( | |
133 | + | else if ($isInstanceOf(Z, "Unit")) | |
127 | 134 | then unit | |
128 | 135 | else throw("Match error") | |
129 | 136 | } | |
130 | 137 | ||
131 | 138 | ||
132 | - | func | |
133 | - | let | |
134 | - | let | |
135 | - | if ($isInstanceOf( | |
139 | + | func ac (ad) = { | |
140 | + | let ae = throw("Permission denied") | |
141 | + | let Z = Y() | |
142 | + | if ($isInstanceOf(Z, "ByteVector")) | |
136 | 143 | then { | |
137 | - | let | |
138 | - | if (( | |
144 | + | let af = Z | |
145 | + | if ((ad.callerPublicKey == af)) | |
139 | 146 | then true | |
140 | - | else | |
147 | + | else ae | |
141 | 148 | } | |
142 | - | else if ($isInstanceOf( | |
143 | - | then if (( | |
149 | + | else if ($isInstanceOf(Z, "Unit")) | |
150 | + | then if ((ad.caller == this)) | |
144 | 151 | then true | |
145 | - | else | |
152 | + | else ae | |
146 | 153 | else throw("Match error") | |
147 | 154 | } | |
148 | 155 | ||
149 | 156 | ||
150 | - | @Callable( | |
151 | - | func constructor ( | |
152 | - | let | |
153 | - | if (( | |
154 | - | then [IntegerEntry(L( | |
157 | + | @Callable(ad) | |
158 | + | func constructor (ag,ah,ai,aj,ak,al,am) = { | |
159 | + | let an = ac(ad) | |
160 | + | if ((an == an)) | |
161 | + | then [IntegerEntry(L(al, aj), ah), IntegerEntry(K(), ah), IntegerEntry(P(al, aj), ai), IntegerEntry(O(), ai), IntegerEntry(Q(), aj), IntegerEntry(R(), ak), IntegerEntry(S(), (aj + ak)), StringEntry(e(), ag), StringEntry(J(), ("%s__" + am))] | |
155 | 162 | else throw("Strict value is not equal to itself.") | |
156 | 163 | } | |
157 | 164 | ||
158 | 165 | ||
159 | 166 | ||
160 | - | @Callable( | |
161 | - | func constructorV2 ( | |
162 | - | let | |
163 | - | if (( | |
164 | - | then $Tuple2([StringEntry(f, | |
167 | + | @Callable(ad) | |
168 | + | func constructorV2 (ao) = { | |
169 | + | let an = ac(ad) | |
170 | + | if ((an == an)) | |
171 | + | then $Tuple2([StringEntry(f, ao)], unit) | |
165 | 172 | else throw("Strict value is not equal to itself.") | |
166 | 173 | } | |
167 | 174 | ||
168 | 175 | ||
169 | 176 | ||
170 | - | @Callable( | |
171 | - | func emit ( | |
177 | + | @Callable(ad) | |
178 | + | func emit (ap) = if ((0 >= ap)) | |
172 | 179 | then $Tuple2(nil, nil) | |
173 | 180 | else { | |
174 | - | let | |
175 | - | let F = C( | |
176 | - | let | |
177 | - | let | |
178 | - | let | |
179 | - | if (if (( | |
180 | - | then ( | |
181 | + | let aq = A() | |
182 | + | let F = C(aq) | |
183 | + | let ar = H(F) | |
184 | + | let as = I(F) | |
185 | + | let at = ad.caller | |
186 | + | if (if ((at != ar)) | |
187 | + | then (at != as) | |
181 | 188 | else false) | |
182 | 189 | then throw("permissions denied") | |
183 | 190 | else { | |
184 | - | let | |
185 | - | let | |
186 | - | $Tuple2([ScriptTransfer( | |
191 | + | let am = split(b(this, J()), a)[1] | |
192 | + | let au = fromBase58String(am) | |
193 | + | $Tuple2([ScriptTransfer(at, ap, au)], [au]) | |
187 | 194 | } | |
188 | 195 | } | |
189 | 196 | ||
190 | 197 | ||
191 | 198 | ||
192 | - | @Callable( | |
199 | + | @Callable(ad) | |
193 | 200 | func burn () = { | |
194 | - | let | |
195 | - | let F = C( | |
196 | - | let | |
197 | - | if ((size( | |
201 | + | let aq = A() | |
202 | + | let F = C(aq) | |
203 | + | let av = E(F) | |
204 | + | if ((size(ad.payments) != 1)) | |
198 | 205 | then throw("exact one payment is allowed") | |
199 | 206 | else { | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | if (( | |
207 | + | let aw = ad.payments[0] | |
208 | + | let ax = value(aw.assetId) | |
209 | + | let ay = aw.amount | |
210 | + | let au = fromBase58String(split(b(this, J()), a)[1]) | |
211 | + | if ((ax != au)) | |
205 | 212 | then throw("invalid wxAssetId is passed") | |
206 | - | else if (!(containsElement([ | |
213 | + | else if (!(containsElement([av, i, j, k], ad.caller))) | |
207 | 214 | then throw("permissions denied") | |
208 | - | else [Burn( | |
215 | + | else [Burn(ax, ay), StringEntry(("%s%s%s__history__burn__" + toBase58String(ad.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(ay)], a))] | |
209 | 216 | } | |
210 | 217 | } | |
211 | 218 | ||
212 | 219 | ||
213 | 220 | ||
214 | - | @Callable( | |
215 | - | func setManager ( | |
216 | - | let | |
217 | - | if (( | |
221 | + | @Callable(ad) | |
222 | + | func setManager (az) = { | |
223 | + | let an = ac(ad) | |
224 | + | if ((an == an)) | |
218 | 225 | then { | |
219 | - | let | |
220 | - | if (( | |
221 | - | then [StringEntry( | |
226 | + | let aA = fromBase58String(az) | |
227 | + | if ((aA == aA)) | |
228 | + | then [StringEntry(X(), az)] | |
222 | 229 | else throw("Strict value is not equal to itself.") | |
223 | 230 | } | |
224 | 231 | else throw("Strict value is not equal to itself.") | |
226 | 233 | ||
227 | 234 | ||
228 | 235 | ||
229 | - | @Callable( | |
236 | + | @Callable(ad) | |
230 | 237 | func confirmManager () = { | |
231 | - | let | |
232 | - | let | |
238 | + | let aB = ab() | |
239 | + | let aC = if (isDefined(aB)) | |
233 | 240 | then true | |
234 | 241 | else throw("No pending manager") | |
235 | - | if (( | |
242 | + | if ((aC == aC)) | |
236 | 243 | then { | |
237 | - | let | |
244 | + | let aD = if ((ad.callerPublicKey == value(aB))) | |
238 | 245 | then true | |
239 | 246 | else throw("You are not pending manager") | |
240 | - | if (( | |
241 | - | then [StringEntry( | |
247 | + | if ((aD == aD)) | |
248 | + | then [StringEntry(W(), toBase58String(value(aB))), DeleteEntry(X())] | |
242 | 249 | else throw("Strict value is not equal to itself.") | |
243 | 250 | } | |
244 | 251 | else throw("Strict value is not equal to itself.") | |
245 | 252 | } | |
246 | 253 | ||
247 | 254 | ||
248 | - | @Verifier(aB) | |
249 | - | func aC () = { | |
250 | - | let aD = { | |
251 | - | let W = V() | |
252 | - | if ($isInstanceOf(W, "ByteVector")) | |
255 | + | ||
256 | + | @Callable(ad) | |
257 | + | func getBoostCoeffREADONLY () = $Tuple2(nil, V) | |
258 | + | ||
259 | + | ||
260 | + | @Verifier(aE) | |
261 | + | func aF () = { | |
262 | + | let aG = { | |
263 | + | let Z = Y() | |
264 | + | if ($isInstanceOf(Z, "ByteVector")) | |
253 | 265 | then { | |
254 | - | let | |
255 | - | | |
266 | + | let af = Z | |
267 | + | af | |
256 | 268 | } | |
257 | - | else if ($isInstanceOf( | |
258 | - | then | |
269 | + | else if ($isInstanceOf(Z, "Unit")) | |
270 | + | then aE.senderPublicKey | |
259 | 271 | else throw("Match error") | |
260 | 272 | } | |
261 | - | sigVerify( | |
273 | + | sigVerify(aE.bodyBytes, aE.proofs[0], aG) | |
262 | 274 | } | |
263 | 275 |
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 | func b (c,d) = valueOrErrorMessage(getString(c, d), (("mandatory this." + d) + " is not defined")) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func e () = "%s%s__config__factoryAddress" | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | let f = "%s%s__config__votingVerifiedContract" | |
13 | 13 | ||
14 | 14 | let g = "%s%s__config__votingEmissionCandidateContract" | |
15 | 15 | ||
16 | 16 | let h = "%s%s__config__userPoolsContract" | |
17 | 17 | ||
18 | 18 | let i = addressFromStringValue(b(this, f)) | |
19 | 19 | ||
20 | 20 | let j = addressFromStringValue(b(this, g)) | |
21 | 21 | ||
22 | 22 | let k = addressFromStringValue(b(this, h)) | |
23 | 23 | ||
24 | 24 | let l = 1 | |
25 | 25 | ||
26 | 26 | let m = 2 | |
27 | 27 | ||
28 | 28 | let n = 3 | |
29 | 29 | ||
30 | 30 | let o = 4 | |
31 | 31 | ||
32 | 32 | let p = 5 | |
33 | 33 | ||
34 | 34 | let q = 6 | |
35 | 35 | ||
36 | 36 | let r = 7 | |
37 | 37 | ||
38 | 38 | let s = 10 | |
39 | 39 | ||
40 | 40 | func t () = "%s__factoryConfig" | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func w () = "%s__lpTokensList" | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], a) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func y (z) = makeString(["%s%s", "poolWeight", z], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func A () = addressFromStringValue(b(this, e())) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func B () = split(valueOrElse(getString(A(), w()), ""), a) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func C (D) = split(b(D, t()), a) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func E (F) = addressFromStringValue(F[m]) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func G (F) = addressFromStringValue(F[p]) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func H (F) = addressFromStringValue(F[l]) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func I (F) = addressFromStringValue(F[s]) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func J () = "%s__config" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func K () = "%s%s__ratePerBlockMax__current" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func L (M,N) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(M), toString(N)], a) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func O () = "%s%s__ratePerBlock__current" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func P (M,N) = makeString(["%s%s%d%d__ratePerBlock__start", toString(M), toString(N)], a) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func Q () = "%s%s__emission__startBlock" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func R () = "%s%s__emission__duration" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func S () = "%s%s__emission__endBlock" | |
98 | 98 | ||
99 | 99 | ||
100 | - | func T () = "%s__ | |
100 | + | func T () = "%s__boostCoeff" | |
101 | 101 | ||
102 | 102 | ||
103 | - | func U () = "%s__pendingManagerPublicKey" | |
103 | + | let U = 3 | |
104 | + | ||
105 | + | let V = valueOrElse(getInteger(this, T()), U) | |
106 | + | ||
107 | + | func W () = "%s__managerPublicKey" | |
104 | 108 | ||
105 | 109 | ||
106 | - | func V () = { | |
107 | - | let W = getString(T()) | |
108 | - | if ($isInstanceOf(W, "String")) | |
110 | + | func X () = "%s__pendingManagerPublicKey" | |
111 | + | ||
112 | + | ||
113 | + | func Y () = { | |
114 | + | let Z = getString(W()) | |
115 | + | if ($isInstanceOf(Z, "String")) | |
109 | 116 | then { | |
110 | - | let | |
111 | - | fromBase58String( | |
117 | + | let aa = Z | |
118 | + | fromBase58String(aa) | |
112 | 119 | } | |
113 | - | else if ($isInstanceOf( | |
120 | + | else if ($isInstanceOf(Z, "Unit")) | |
114 | 121 | then unit | |
115 | 122 | else throw("Match error") | |
116 | 123 | } | |
117 | 124 | ||
118 | 125 | ||
119 | - | func | |
120 | - | let | |
121 | - | if ($isInstanceOf( | |
126 | + | func ab () = { | |
127 | + | let Z = getString(X()) | |
128 | + | if ($isInstanceOf(Z, "String")) | |
122 | 129 | then { | |
123 | - | let | |
124 | - | fromBase58String( | |
130 | + | let aa = Z | |
131 | + | fromBase58String(aa) | |
125 | 132 | } | |
126 | - | else if ($isInstanceOf( | |
133 | + | else if ($isInstanceOf(Z, "Unit")) | |
127 | 134 | then unit | |
128 | 135 | else throw("Match error") | |
129 | 136 | } | |
130 | 137 | ||
131 | 138 | ||
132 | - | func | |
133 | - | let | |
134 | - | let | |
135 | - | if ($isInstanceOf( | |
139 | + | func ac (ad) = { | |
140 | + | let ae = throw("Permission denied") | |
141 | + | let Z = Y() | |
142 | + | if ($isInstanceOf(Z, "ByteVector")) | |
136 | 143 | then { | |
137 | - | let | |
138 | - | if (( | |
144 | + | let af = Z | |
145 | + | if ((ad.callerPublicKey == af)) | |
139 | 146 | then true | |
140 | - | else | |
147 | + | else ae | |
141 | 148 | } | |
142 | - | else if ($isInstanceOf( | |
143 | - | then if (( | |
149 | + | else if ($isInstanceOf(Z, "Unit")) | |
150 | + | then if ((ad.caller == this)) | |
144 | 151 | then true | |
145 | - | else | |
152 | + | else ae | |
146 | 153 | else throw("Match error") | |
147 | 154 | } | |
148 | 155 | ||
149 | 156 | ||
150 | - | @Callable( | |
151 | - | func constructor ( | |
152 | - | let | |
153 | - | if (( | |
154 | - | then [IntegerEntry(L( | |
157 | + | @Callable(ad) | |
158 | + | func constructor (ag,ah,ai,aj,ak,al,am) = { | |
159 | + | let an = ac(ad) | |
160 | + | if ((an == an)) | |
161 | + | then [IntegerEntry(L(al, aj), ah), IntegerEntry(K(), ah), IntegerEntry(P(al, aj), ai), IntegerEntry(O(), ai), IntegerEntry(Q(), aj), IntegerEntry(R(), ak), IntegerEntry(S(), (aj + ak)), StringEntry(e(), ag), StringEntry(J(), ("%s__" + am))] | |
155 | 162 | else throw("Strict value is not equal to itself.") | |
156 | 163 | } | |
157 | 164 | ||
158 | 165 | ||
159 | 166 | ||
160 | - | @Callable( | |
161 | - | func constructorV2 ( | |
162 | - | let | |
163 | - | if (( | |
164 | - | then $Tuple2([StringEntry(f, | |
167 | + | @Callable(ad) | |
168 | + | func constructorV2 (ao) = { | |
169 | + | let an = ac(ad) | |
170 | + | if ((an == an)) | |
171 | + | then $Tuple2([StringEntry(f, ao)], unit) | |
165 | 172 | else throw("Strict value is not equal to itself.") | |
166 | 173 | } | |
167 | 174 | ||
168 | 175 | ||
169 | 176 | ||
170 | - | @Callable( | |
171 | - | func emit ( | |
177 | + | @Callable(ad) | |
178 | + | func emit (ap) = if ((0 >= ap)) | |
172 | 179 | then $Tuple2(nil, nil) | |
173 | 180 | else { | |
174 | - | let | |
175 | - | let F = C( | |
176 | - | let | |
177 | - | let | |
178 | - | let | |
179 | - | if (if (( | |
180 | - | then ( | |
181 | + | let aq = A() | |
182 | + | let F = C(aq) | |
183 | + | let ar = H(F) | |
184 | + | let as = I(F) | |
185 | + | let at = ad.caller | |
186 | + | if (if ((at != ar)) | |
187 | + | then (at != as) | |
181 | 188 | else false) | |
182 | 189 | then throw("permissions denied") | |
183 | 190 | else { | |
184 | - | let | |
185 | - | let | |
186 | - | $Tuple2([ScriptTransfer( | |
191 | + | let am = split(b(this, J()), a)[1] | |
192 | + | let au = fromBase58String(am) | |
193 | + | $Tuple2([ScriptTransfer(at, ap, au)], [au]) | |
187 | 194 | } | |
188 | 195 | } | |
189 | 196 | ||
190 | 197 | ||
191 | 198 | ||
192 | - | @Callable( | |
199 | + | @Callable(ad) | |
193 | 200 | func burn () = { | |
194 | - | let | |
195 | - | let F = C( | |
196 | - | let | |
197 | - | if ((size( | |
201 | + | let aq = A() | |
202 | + | let F = C(aq) | |
203 | + | let av = E(F) | |
204 | + | if ((size(ad.payments) != 1)) | |
198 | 205 | then throw("exact one payment is allowed") | |
199 | 206 | else { | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | if (( | |
207 | + | let aw = ad.payments[0] | |
208 | + | let ax = value(aw.assetId) | |
209 | + | let ay = aw.amount | |
210 | + | let au = fromBase58String(split(b(this, J()), a)[1]) | |
211 | + | if ((ax != au)) | |
205 | 212 | then throw("invalid wxAssetId is passed") | |
206 | - | else if (!(containsElement([ | |
213 | + | else if (!(containsElement([av, i, j, k], ad.caller))) | |
207 | 214 | then throw("permissions denied") | |
208 | - | else [Burn( | |
215 | + | else [Burn(ax, ay), StringEntry(("%s%s%s__history__burn__" + toBase58String(ad.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(ay)], a))] | |
209 | 216 | } | |
210 | 217 | } | |
211 | 218 | ||
212 | 219 | ||
213 | 220 | ||
214 | - | @Callable( | |
215 | - | func setManager ( | |
216 | - | let | |
217 | - | if (( | |
221 | + | @Callable(ad) | |
222 | + | func setManager (az) = { | |
223 | + | let an = ac(ad) | |
224 | + | if ((an == an)) | |
218 | 225 | then { | |
219 | - | let | |
220 | - | if (( | |
221 | - | then [StringEntry( | |
226 | + | let aA = fromBase58String(az) | |
227 | + | if ((aA == aA)) | |
228 | + | then [StringEntry(X(), az)] | |
222 | 229 | else throw("Strict value is not equal to itself.") | |
223 | 230 | } | |
224 | 231 | else throw("Strict value is not equal to itself.") | |
225 | 232 | } | |
226 | 233 | ||
227 | 234 | ||
228 | 235 | ||
229 | - | @Callable( | |
236 | + | @Callable(ad) | |
230 | 237 | func confirmManager () = { | |
231 | - | let | |
232 | - | let | |
238 | + | let aB = ab() | |
239 | + | let aC = if (isDefined(aB)) | |
233 | 240 | then true | |
234 | 241 | else throw("No pending manager") | |
235 | - | if (( | |
242 | + | if ((aC == aC)) | |
236 | 243 | then { | |
237 | - | let | |
244 | + | let aD = if ((ad.callerPublicKey == value(aB))) | |
238 | 245 | then true | |
239 | 246 | else throw("You are not pending manager") | |
240 | - | if (( | |
241 | - | then [StringEntry( | |
247 | + | if ((aD == aD)) | |
248 | + | then [StringEntry(W(), toBase58String(value(aB))), DeleteEntry(X())] | |
242 | 249 | else throw("Strict value is not equal to itself.") | |
243 | 250 | } | |
244 | 251 | else throw("Strict value is not equal to itself.") | |
245 | 252 | } | |
246 | 253 | ||
247 | 254 | ||
248 | - | @Verifier(aB) | |
249 | - | func aC () = { | |
250 | - | let aD = { | |
251 | - | let W = V() | |
252 | - | if ($isInstanceOf(W, "ByteVector")) | |
255 | + | ||
256 | + | @Callable(ad) | |
257 | + | func getBoostCoeffREADONLY () = $Tuple2(nil, V) | |
258 | + | ||
259 | + | ||
260 | + | @Verifier(aE) | |
261 | + | func aF () = { | |
262 | + | let aG = { | |
263 | + | let Z = Y() | |
264 | + | if ($isInstanceOf(Z, "ByteVector")) | |
253 | 265 | then { | |
254 | - | let | |
255 | - | | |
266 | + | let af = Z | |
267 | + | af | |
256 | 268 | } | |
257 | - | else if ($isInstanceOf( | |
258 | - | then | |
269 | + | else if ($isInstanceOf(Z, "Unit")) | |
270 | + | then aE.senderPublicKey | |
259 | 271 | else throw("Match error") | |
260 | 272 | } | |
261 | - | sigVerify( | |
273 | + | sigVerify(aE.bodyBytes, aE.proofs[0], aG) | |
262 | 274 | } | |
263 | 275 |
github/deemru/w8io/026f985 64.61 ms ◑