tx · Dh5jjfHjW89w9bvQUUbCYsa5rKLwBDqCPwicDCGf1ziM 3Mt7JpMPDr7HMccCXifDmDbZBzNZGYhgrCH: -0.01300000 Waves 2023.03.16 13:46 [2492479] smart account 3Mt7JpMPDr7HMccCXifDmDbZBzNZGYhgrCH > SELF 0.00000000 Waves
{ "type": 13, "id": "Dh5jjfHjW89w9bvQUUbCYsa5rKLwBDqCPwicDCGf1ziM", "fee": 1300000, "feeAssetId": null, "timestamp": 1678963564683, "version": 2, "chainId": 84, "sender": "3Mt7JpMPDr7HMccCXifDmDbZBzNZGYhgrCH", "senderPublicKey": "9peBFDoYmeypiQRmi2hKYQ2ov4qjxLErcR2se5AJ4zeK", "proofs": [ "66dSqTdYLT5s6BhLFQktf5sAf1ddpDPMM4uPsRixEeqqLZc2EscLEwTSk1fTBi5oZgkYELJvgCo2odDLPAR2S6f5" ], "script": "base64:AAIFAAAAAAAAACAIAhIJCgcIAQEBAQEIEgMKAQgSAwoBARIAEgMKAQgSAAAAACoAAAAAA1NFUAIAAAACX18BAAAAD2dldFN0cmluZ09yRmFpbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACAgAAAA9tYW5kYXRvcnkgdGhpcy4FAAAAA2tleQIAAAAPIGlzIG5vdCBkZWZpbmVkAQAAABFrZXlGYWN0b3J5QWRkcmVzcwAAAAACAAAAHCVzJXNfX2NvbmZpZ19fZmFjdG9yeUFkZHJlc3MAAAAAGWtleVZvdGluZ1ZlcmlmaWVkQ29udHJhY3QCAAAAJCVzJXNfX2NvbmZpZ19fdm90aW5nVmVyaWZpZWRDb250cmFjdAAAAAAia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdAIAAAAtJXMlc19fY29uZmlnX192b3RpbmdFbWlzc2lvbkNhbmRpZGF0ZUNvbnRyYWN0AA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lIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleY5aEqQ=", "height": 2492479, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6QEwRJZgCzCjPskkTLLeMR9VNxVKZK6dGZf8sBiB4cLW Next: EM9WStgmNUxxTQnd7pZbFH2JVi47uTyqsE4y1Cmh2ppv 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 | 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 | 100 | func T () = "%s__managerPublicKey" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func U () = "%s__pendingManagerPublicKey" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func V () = { | |
107 | 107 | let W = getString(T()) | |
108 | 108 | if ($isInstanceOf(W, "String")) | |
109 | 109 | then { | |
110 | 110 | let X = W | |
111 | 111 | fromBase58String(X) | |
112 | 112 | } | |
113 | 113 | else if ($isInstanceOf(W, "Unit")) | |
114 | 114 | then unit | |
115 | 115 | else throw("Match error") | |
116 | 116 | } | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func Y () = { | |
120 | 120 | let W = getString(U()) | |
121 | 121 | if ($isInstanceOf(W, "String")) | |
122 | 122 | then { | |
123 | 123 | let X = W | |
124 | 124 | fromBase58String(X) | |
125 | 125 | } | |
126 | 126 | else if ($isInstanceOf(W, "Unit")) | |
127 | 127 | then unit | |
128 | 128 | else throw("Match error") | |
129 | 129 | } | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Z (aa) = { | |
133 | 133 | let ab = throw("Permission denied") | |
134 | 134 | let W = V() | |
135 | 135 | if ($isInstanceOf(W, "ByteVector")) | |
136 | 136 | then { | |
137 | 137 | let ac = W | |
138 | 138 | if ((aa.callerPublicKey == ac)) | |
139 | 139 | then true | |
140 | 140 | else ab | |
141 | 141 | } | |
142 | 142 | else if ($isInstanceOf(W, "Unit")) | |
143 | 143 | then if ((aa.caller == this)) | |
144 | 144 | then true | |
145 | 145 | else ab | |
146 | 146 | else throw("Match error") | |
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | @Callable(aa) | |
151 | 151 | func constructor (ad,ae,af,ag,ah,ai,aj) = { | |
152 | 152 | let ak = Z(aa) | |
153 | 153 | if ((ak == ak)) | |
154 | 154 | then [IntegerEntry(L(ai, ag), ae), IntegerEntry(K(), ae), IntegerEntry(P(ai, ag), af), IntegerEntry(O(), af), IntegerEntry(Q(), ag), IntegerEntry(R(), ah), IntegerEntry(S(), (ag + ah)), StringEntry(e(), ad), StringEntry(J(), ("%s__" + aj))] | |
155 | 155 | else throw("Strict value is not equal to itself.") | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | ||
160 | 160 | @Callable(aa) | |
161 | 161 | func constructorV2 (al) = { | |
162 | 162 | let ak = Z(aa) | |
163 | 163 | if ((ak == ak)) | |
164 | 164 | then $Tuple2([StringEntry(f, al)], unit) | |
165 | 165 | else throw("Strict value is not equal to itself.") | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | ||
170 | 170 | @Callable(aa) | |
171 | 171 | func emit (am) = if ((0 >= am)) | |
172 | 172 | then $Tuple2(nil, nil) | |
173 | 173 | else { | |
174 | 174 | let an = A() | |
175 | 175 | let F = C(an) | |
176 | 176 | let ao = H(F) | |
177 | 177 | let ap = I(F) | |
178 | 178 | let aq = aa.caller | |
179 | 179 | if (if ((aq != ao)) | |
180 | 180 | then (aq != ap) | |
181 | 181 | else false) | |
182 | 182 | then throw("permissions denied") | |
183 | 183 | else { | |
184 | 184 | let aj = split(b(this, J()), a)[1] | |
185 | 185 | let ar = fromBase58String(aj) | |
186 | 186 | $Tuple2([ScriptTransfer(aq, am, ar)], [ar]) | |
187 | 187 | } | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | ||
192 | 192 | @Callable(aa) | |
193 | 193 | func burn () = { | |
194 | 194 | let an = A() | |
195 | 195 | let F = C(an) | |
196 | 196 | let as = E(F) | |
197 | 197 | if ((size(aa.payments) != 1)) | |
198 | 198 | then throw("exact one payment is allowed") | |
199 | 199 | else { | |
200 | 200 | let at = aa.payments[0] | |
201 | 201 | let au = value(at.assetId) | |
202 | 202 | let av = at.amount | |
203 | 203 | let ar = fromBase58String(split(b(this, J()), a)[1]) | |
204 | 204 | if ((au != ar)) | |
205 | 205 | then throw("invalid wxAssetId is passed") | |
206 | 206 | else if (!(containsElement([as, i, j, k], aa.caller))) | |
207 | 207 | then throw("permissions denied") | |
208 | 208 | else [Burn(au, av), StringEntry(("%s%s%s__history__burn__" + toBase58String(aa.transactionId)), makeString(["%d%d%d", toString(height), toString(lastBlock.timestamp), toString(av)], a))] | |
209 | 209 | } | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | ||
214 | 214 | @Callable(aa) | |
215 | 215 | func setManager (aw) = { | |
216 | 216 | let ak = Z(aa) | |
217 | 217 | if ((ak == ak)) | |
218 | 218 | then { | |
219 | 219 | let ax = fromBase58String(aw) | |
220 | 220 | if ((ax == ax)) | |
221 | 221 | then [StringEntry(U(), aw)] | |
222 | 222 | else throw("Strict value is not equal to itself.") | |
223 | 223 | } | |
224 | 224 | else throw("Strict value is not equal to itself.") | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | ||
229 | 229 | @Callable(aa) | |
230 | 230 | func confirmManager () = { | |
231 | 231 | let ay = Y() | |
232 | 232 | let az = if (isDefined(ay)) | |
233 | 233 | then true | |
234 | 234 | else throw("No pending manager") | |
235 | 235 | if ((az == az)) | |
236 | 236 | then { | |
237 | 237 | let aA = if ((aa.callerPublicKey == value(ay))) | |
238 | 238 | then true | |
239 | 239 | else throw("You are not pending manager") | |
240 | 240 | if ((aA == aA)) | |
241 | 241 | then [StringEntry(T(), toBase58String(value(ay))), DeleteEntry(U())] | |
242 | 242 | else throw("Strict value is not equal to itself.") | |
243 | 243 | } | |
244 | 244 | else throw("Strict value is not equal to itself.") | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | @Verifier(aB) | |
249 | 249 | func aC () = { | |
250 | 250 | let aD = { | |
251 | 251 | let W = V() | |
252 | 252 | if ($isInstanceOf(W, "ByteVector")) | |
253 | 253 | then { | |
254 | 254 | let ac = W | |
255 | 255 | ac | |
256 | 256 | } | |
257 | 257 | else if ($isInstanceOf(W, "Unit")) | |
258 | 258 | then aB.senderPublicKey | |
259 | 259 | else throw("Match error") | |
260 | 260 | } | |
261 | 261 | sigVerify(aB.bodyBytes, aB.proofs[0], aD) | |
262 | 262 | } | |
263 | 263 |
github/deemru/w8io/026f985 70.50 ms ◑