tx · 4HcKbwHerwF6HA3rsE78oVSLUPBQ6m77mdpgWv7Sc4Ya

3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc:  -0.01200000 Waves

2022.10.15 11:30 [2273218] smart account 3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc > SELF 0.00000000 Waves

{ "type": 13, "id": "4HcKbwHerwF6HA3rsE78oVSLUPBQ6m77mdpgWv7Sc4Ya", "fee": 1200000, "feeAssetId": null, "timestamp": 1665822626072, "version": 2, "chainId": 84, "sender": "3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc", "senderPublicKey": "Fq8P5ctrS7PNTX37bWWxvnwoB7C2FaNySZWnRmgPUaDH", "proofs": [ "3yxPonyNvfsNoEfgydzhL3vJFM1zA9nSYgZmLnUCs4Ardts1RzTyM2s7hEFP7vC2XiHLfSXsU3CK2va1dE5WmYy7" ], "script": "base64:AAIFAAAAAAAAAEEIAhIDCgEBEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIFCgMICAESAwoBCAAAACgBAAAAEGdldFN0cmluZ09yVGhyb3cAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAxDYW4ndCByZWFkICcFAAAAA2tleQIAAAANJyBhdCBhZGRyZXNzIAkABCUAAAABBQAAAAdhZGRyZXNzAQAAABFnZXRJbnRlZ2VyT3JUaHJvdwAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBoAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADENhbid0IHJlYWQgJwUAAAADa2V5AgAAAA0nIGF0IGFkZHJlc3MgCQAEJQAAAAEFAAAAB2FkZH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AAAAByRtYXRjaDAJAAAAAAAAAggFAAAABXRva2VuAAAACHF1YW50aXR5AAAAAAAAAAABBwMDBQAAAAxpc1Rva2VuT3duZXIJAQAAAAEhAAAAAQUAAAANaXNUb2tlbkV4aXN0cwcEAAAADWlzc3VlTmV3VG9rZW4JAQAAAA9faXNzdWVOYW1lVG9rZW4AAAABBQAAAARuYW1lBAAAAApuZXdUb2tlbklkCQAEOAAAAAEJAAGRAAAAAgUAAAANaXNzdWVOZXdUb2tlbgAAAAAAAAAAAAQAAAALbmV3VG9rZW5TdHIJAAJYAAAAAQUAAAAKbmV3VG9rZW5JZAQAAAAXcmVzdG9yZU5hbWVXaXRoTmV3VG9rZW4JAQAAABVfcmVzdG9yZU5hbWVXaXRoVG9rZW4AAAACBQAAAARuYW1lBQAAAAtuZXdUb2tlblN0cgQAAAAXdHJhbnNmZXJOZXdUb2tlblRvT3duZXIJAQAAABVfdHJhbnNmZXJUb2tlblRvT3duZXIAAAACBQAAAAtuZXdUb2tlblN0cgUAAAAPbmV3T3duZXJBZGRyZXNzCQAETgAAAAIJAAROAAAAAgUAAAANaXNzdWVOZXdUb2tlbgUAAAAXcmVzdG9yZU5hbWVXaXRoTmV3VG9rZW4FAAAAF3RyYW5zZmVyTmV3VG9rZW5Ub093bmVyAwMFAAAADGlzVG9rZW5Pd25lcgUAAAAIaGFzVG9rZW4HCQAAAgAAAAECAAAAHFlvdSBhbHJlYWR5IG93biBhIG5hbWUgdG9rZW4DCQEAAAABIQAAAAEFAAAACGhhc1Rva2VuCQAAAgAAAAECAAAAG1lvdSBkb24ndCBoYXZlIGEgbmFtZSB0b2tlbgkBAAAACV9zZXRPd25lcgAAAAIFAAAABG5hbWUFAAAAD25ld093bmVyQWRkcmVzcwAAAACP78eD", "height": 2273218, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CtLvok2QfLh1TUBRBbvxEobx52uviprNERr3FcoH6cXE Next: 2Tos2KTP37vdukdQFH3wQRau7AVXikiZcb4pxxGFbALc Diff:
OldNewDifferences
233233
234234
235235 @Callable(ab)
236-func resolver (h) = $Tuple2(nil, y(ae(h)._1))
236+func resolver (h) = $Tuple2(nil, y(h))
237237
238238
239239
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = valueOrErrorMessage(getString(b, c), ((("Can't read '" + c) + "' at address ") + toString(b)))
55
66
77 func d (b,c) = valueOrErrorMessage(getInteger(b, c), ((("Can't read '" + c) + "' at address ") + toString(b)))
88
99
1010 func e (f) = valueOrErrorMessage(addressFromString(f), (("Can't parse address from '" + f) + "'"))
1111
1212
1313 func g (h,i,j) = ((((h + "_") + i) + "_") + j)
1414
1515
1616 func k (l) = g("Token", l, "name")
1717
1818
1919 func m (h) = g("Name", h, "token")
2020
2121
2222 func n (h) = g("Name", h, "owner")
2323
2424
2525 func o (h) = g("Name", h, "resolver")
2626
2727
2828 func p (h) = g("Name", h, "expiresAt")
2929
3030
3131 func q (h) = g("Name", h, "createdAt")
3232
3333
3434 let r = "nameTTL"
3535
3636 let s = "controllers"
3737
3838 func t (h,u) = [StringEntry(n(h), u)]
3939
4040
4141 func v (h) = getString(this, n(h))
4242
4343
4444 func w (h,x) = [StringEntry(o(h), x)]
4545
4646
4747 func y (h) = getString(this, o(h))
4848
4949
5050 func z (h) = getString(this, m(h))
5151
5252
5353 func A (h) = getInteger(this, q(h))
5454
5555
5656 func B (h) = getInteger(this, p(h))
5757
5858
5959 func C () = getString(this, s)
6060
6161
6262 let D = {
6363 let E = C()
6464 if ($isInstanceOf(E, "String"))
6565 then {
6666 let F = E
6767 split(F, ",")
6868 }
6969 else nil
7070 }
7171
7272 let G = d(this, r)
7373
7474 func H (h) = isDefined(getString(this, m(h)))
7575
7676
7777 func I (h) = isDefined(A(h))
7878
7979
8080 func J (h) = {
8181 let E = B(h)
8282 if ($isInstanceOf(E, "Int"))
8383 then {
8484 let K = E
8585 (lastBlock.timestamp > K)
8686 }
8787 else false
8888 }
8989
9090
9191 func L (h) = if (if (H(h))
9292 then I(h)
9393 else false)
9494 then !(J(h))
9595 else false
9696
9797
9898 func M (h) = {
9999 let N = "abcdefghijklmnopqrstuvwxyz1234567890-"
100100 func O (P,Q) = if (P)
101101 then contains(N, Q)
102102 else false
103103
104104 let R = if (if (if (if (if ((size(h) > 0))
105105 then (63 >= size(h))
106106 else false)
107107 then (indexOf(h, "--") != 2)
108108 else false)
109109 then (indexOf(h, "-") != 0)
110110 else false)
111111 then (lastIndexOf(h, "-") != (size(h) - 1))
112112 else false)
113113 then {
114114 let S = split(h, "")
115115 let T = size(S)
116116 let U = true
117117 func V (W,X) = if ((X >= T))
118118 then W
119119 else O(W, S[X])
120120
121121 func Y (W,X) = if ((X >= T))
122122 then W
123123 else throw("List size exceeds 63")
124124
125125 Y(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(U, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63)
126126 }
127127 else false
128128 let Z = if (H(h))
129129 then !(J(h))
130130 else false
131131 if (!(Z))
132132 then R
133133 else false
134134 }
135135
136136
137137 func aa (ab) = (ab.caller == this)
138138
139139
140140 func ac (ab,h) = (toString(ab.caller) == valueOrElse(v(h), ""))
141141
142142
143143 func ad (b) = containsElement(D, b)
144144
145145
146146 func ae (h) = {
147147 let af = split(h, ".")
148148 let ag = (size(af) - 1)
149149 let ah = af[ag]
150150 let ai = makeString(removeByIndex(af, ag), ".")
151151 $Tuple2(ah, ai)
152152 }
153153
154154
155155 func aj (h) = [Issue(if ((size(h) > 16))
156156 then (take(h, 15) + "~")
157157 else take(h, 16), (h + ".waves"), 1, 0, false)]
158158
159159
160160 func ak (h,l,al) = [StringEntry(m(h), l), StringEntry(k(l), h), IntegerEntry(q(h), al), IntegerEntry(p(h), (al + G))]
161161
162162
163163 func am (h,l) = [StringEntry(m(h), l), StringEntry(k(l), h)]
164164
165165
166166 func an (l,u) = [ScriptTransfer(e(u), 1, fromBase58String(l))]
167167
168168
169169 func ao (ap) = unit
170170
171171
172172 func aq (ab) = if (aa(ab))
173173 then unit
174174 else throw("Permission denied")
175175
176176
177177 func ar (ab) = if (if (aa(ab))
178178 then true
179179 else ad(toString(ab.caller)))
180180 then unit
181181 else throw("Permission denied")
182182
183183
184184 func as (ab,h) = if (if (aa(ab))
185185 then true
186186 else ac(ab, h))
187187 then unit
188188 else throw("Permission denied")
189189
190190
191191 func at (b) = if (isDefined(addressFromString(b)))
192192 then unit
193193 else throw("The address must be valid")
194194
195195
196196 @Callable(ab)
197197 func init (G) = valueOrElse(ao([aq(ab), if ((G > 0))
198198 then unit
199199 else throw("TTL cannot be negative")]), [IntegerEntry(r, G)])
200200
201201
202202
203203 @Callable(ab)
204204 func supportsInterface (au) = $Tuple2(nil, containsElement(["owner", "resolver", "nameCreated", "nameExpires"], au))
205205
206206
207207
208208 @Callable(ab)
209209 func addController (b) = valueOrElse(ao([aq(ab), at(b), if (!(ad(b)))
210210 then unit
211211 else throw((("Controller `" + b) + "` is already registered"))]), [StringEntry(s, makeString((D :+ b), ","))])
212212
213213
214214
215215 @Callable(ab)
216216 func removeController (b) = valueOrElse(ao([aq(ab), at(b), if (ad(b))
217217 then unit
218218 else throw((("Controller `" + b) + "` is not registered"))]), {
219219 let av = value(indexOf(D, b))
220220 [StringEntry(s, makeString(removeByIndex(D, av), ","))]
221221 })
222222
223223
224224
225225 @Callable(ab)
226226 func available (h) = $Tuple2(nil, M(h))
227227
228228
229229
230230 @Callable(ab)
231231 func owner (h) = $Tuple2(nil, v(ae(h)._1))
232232
233233
234234
235235 @Callable(ab)
236-func resolver (h) = $Tuple2(nil, y(ae(h)._1))
236+func resolver (h) = $Tuple2(nil, y(h))
237237
238238
239239
240240 @Callable(ab)
241241 func setResolver (h,x) = valueOrElse(ao([if (L(h))
242242 then unit
243243 else throw("Name expired or not registered"), as(ab, h), if (isDefined(addressFromString(x)))
244244 then unit
245245 else throw("Resolver must be a valid contract address")]), $Tuple2(nil, w(h, x)))
246246
247247
248248
249249 @Callable(ab)
250250 func nameCreated (h) = $Tuple2(nil, A(ae(h)._1))
251251
252252
253253
254254 @Callable(ab)
255255 func nameExpires (h) = $Tuple2(nil, B(ae(h)._1))
256256
257257
258258
259259 @Callable(ab)
260260 func register (h,u,al) = valueOrElse(ao([ar(ab), if (M(h))
261261 then unit
262262 else throw((("`" + h) + "` cannot be registered")), at(u), if ((al > 0))
263263 then unit
264264 else throw("CreatedAt cannot be negative"), if ((lastBlock.timestamp >= al))
265265 then unit
266266 else throw("CreatedAt cannot be in the future")]), {
267267 let aw = aj(h)
268268 let l = calculateAssetId(aw[0])
269269 let ax = toBase58String(l)
270270 let ay = ak(h, ax, al)
271271 let az = an(ax, u)
272272 let aA = t(h, u)
273273 (((aw ++ ay) ++ az) ++ aA)
274274 })
275275
276276
277277
278278 @Callable(ab)
279279 func reclaim (h) = valueOrElse(ao([if (L(h))
280280 then unit
281281 else throw((("`" + h) + "` is not active"))]), {
282282 let aB = ab.caller
283283 let aC = toString(aB)
284284 let ax = valueOrErrorMessage(z(h), (("No token is issued for `" + h) + "`"))
285285 let l = fromBase58String(ax)
286286 let aD = (assetBalance(aB, l) == 1)
287287 let aE = ac(ab, h)
288288 let aF = {
289289 let E = assetInfo(l)
290290 if ($isInstanceOf(E, "Asset"))
291291 then {
292292 let aG = E
293293 (aG.quantity == 1)
294294 }
295295 else false
296296 }
297297 if (if (aE)
298298 then !(aF)
299299 else false)
300300 then {
301301 let aH = aj(h)
302302 let aI = calculateAssetId(aH[0])
303303 let aJ = toBase58String(aI)
304304 let aK = am(h, aJ)
305305 let aL = an(aJ, aC)
306306 ((aH ++ aK) ++ aL)
307307 }
308308 else if (if (aE)
309309 then aD
310310 else false)
311311 then throw("You already own a name token")
312312 else if (!(aD))
313313 then throw("You don't have a name token")
314314 else t(h, aC)
315315 })
316316
317317

github/deemru/w8io/026f985 
53.12 ms