tx · CPMAhrWJrvtNvhzcfrsLnPMbWgnQ1MwuWo4AunxW2oeY

3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc:  -0.01100000 Waves

2022.10.14 13:12 [2271881] smart account 3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc > SELF 0.00000000 Waves

{ "type": 13, "id": "CPMAhrWJrvtNvhzcfrsLnPMbWgnQ1MwuWo4AunxW2oeY", "fee": 1100000, "feeAssetId": null, "timestamp": 1665742393717, "version": 2, "chainId": 84, "sender": "3MvrXJVzDMDcshazxn88FybxHV2JvWQBxTc", "senderPublicKey": "Fq8P5ctrS7PNTX37bWWxvnwoB7C2FaNySZWnRmgPUaDH", "proofs": [ "3ojzhHTUvdZRyD4zaErDNTBfT51czj8592jePLkUYkH5ee5xiPH6wM1hdGZsin3fmiwNPXBjzPhHB578whWDtmRD" ], "script": "base64:AAIFAAAAAAAAADsIAhIDCgEBEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgBEgMKAQgSAwoBCAAAACQBAAAAEGdldFN0cmluZ09yVGhyb3cAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAxDYW4ndCByZWFkICcFAAAAA2tleQIAAAANJyBhdCBhZGRyZXNzIAkABCUAAAABBQAAAAdhZGRyZXNzAQAAABFnZXRJbnRlZ2VyT3JUaHJvdwAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBoAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADENhbid0IHJlYWQgJwUAAAADa2V5AgAAAA0nIGF0IGFkZHJlc3MgCQAEJQAAAAEFAAAAB2FkZHJlc3MBAAAAE3B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A25pbAkABRYAAAAEBQAAAApyZWdpc3RyYW50BQAAAAhyZXNvbHZlcgUAAAALbmFtZUNyZWF0ZWQFAAAAC25hbWVFeHBpcmVzAAAAAEDOSlc=", "height": 2271881, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 632aNsgstRdDpTr99wUrx2D8k5Lon7uwRnKrf5gan3Cm Next: 88N9etBM8frPBZgfv3L6mrYP6c8fm142DNj9H7fEw7Ad Diff:
OldNewDifferences
212212
213213
214214 @Callable(X)
215+func owner (h) = $Tuple2(nil, u(h))
216+
217+
218+
219+@Callable(X)
220+func nameCreated (h) = $Tuple2(nil, w(h))
221+
222+
223+
224+@Callable(X)
225+func nameExpires (h) = $Tuple2(nil, x(h))
226+
227+
228+
229+@Callable(X)
215230 func register (h,t,ah) = valueOrElse(ak([an(X), if (I(h))
216231 then unit
217232 else throw((("`" + h) + "` cannot be registered")), ao(t), if ((ah > 0))
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, "expiresAt")
2626
2727
2828 func p (h) = g("Name", h, "createdAt")
2929
3030
3131 let q = "nameTTL"
3232
3333 let r = "controllers"
3434
3535 func s (h,t) = [StringEntry(n(h), t)]
3636
3737
3838 func u (h) = getString(this, n(h))
3939
4040
4141 func v (h) = getString(this, m(h))
4242
4343
4444 func w (h) = getInteger(this, p(h))
4545
4646
4747 func x (h) = getInteger(this, o(h))
4848
4949
5050 func y () = getString(this, r)
5151
5252
5353 let z = {
5454 let A = y()
5555 if ($isInstanceOf(A, "String"))
5656 then {
5757 let B = A
5858 split(B, ",")
5959 }
6060 else nil
6161 }
6262
6363 let C = d(this, q)
6464
6565 func D (h) = isDefined(getString(this, m(h)))
6666
6767
6868 func E (h) = isDefined(w(h))
6969
7070
7171 func F (h) = {
7272 let A = x(h)
7373 if ($isInstanceOf(A, "Int"))
7474 then {
7575 let G = A
7676 (lastBlock.timestamp > G)
7777 }
7878 else false
7979 }
8080
8181
8282 func H (h) = if (if (D(h))
8383 then E(h)
8484 else false)
8585 then !(F(h))
8686 else false
8787
8888
8989 func I (h) = {
9090 let J = "abcdefghijklmnopqrstuvwxyz1234567890-"
9191 func K (L,M) = if (L)
9292 then contains(J, M)
9393 else false
9494
9595 let N = if (if (if (if (if ((size(h) > 0))
9696 then (63 >= size(h))
9797 else false)
9898 then (indexOf(h, "--") != 2)
9999 else false)
100100 then (indexOf(h, "-") != 0)
101101 else false)
102102 then (lastIndexOf(h, "-") != (size(h) - 1))
103103 else false)
104104 then {
105105 let O = split(h, "")
106106 let P = size(O)
107107 let Q = true
108108 func R (S,T) = if ((T >= P))
109109 then S
110110 else K(S, O[T])
111111
112112 func U (S,T) = if ((T >= P))
113113 then S
114114 else throw("List size exceeds 63")
115115
116116 U(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(R(Q, 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)
117117 }
118118 else false
119119 let V = if (D(h))
120120 then !(F(h))
121121 else false
122122 if (!(V))
123123 then N
124124 else false
125125 }
126126
127127
128128 func W (X) = (X.caller == this)
129129
130130
131131 func Y (X,h) = (toString(X.caller) == valueOrElse(u(h), ""))
132132
133133
134134 func Z (b) = containsElement(z, b)
135135
136136
137137 func aa (h) = {
138138 let ab = split(h, ".")
139139 let ac = (size(ab) - 1)
140140 let ad = ab[ac]
141141 let ae = makeString(removeByIndex(ab, ac), ".")
142142 $Tuple2(ad, ae)
143143 }
144144
145145
146146 func af (h) = [Issue(if ((size(h) > 16))
147147 then (take(h, 15) + "~")
148148 else take(h, 16), (h + ".waves"), 1, 0, false)]
149149
150150
151151 func ag (h,l,ah) = [StringEntry(m(h), l), StringEntry(k(l), h), IntegerEntry(p(h), ah), IntegerEntry(o(h), (ah + C))]
152152
153153
154154 func ai (h,l) = [StringEntry(m(h), l), StringEntry(k(l), h)]
155155
156156
157157 func aj (l,t) = [ScriptTransfer(e(t), 1, fromBase58String(l))]
158158
159159
160160 func ak (al) = unit
161161
162162
163163 func am (X) = if (W(X))
164164 then unit
165165 else throw("Permission denied")
166166
167167
168168 func an (X) = if (if (W(X))
169169 then true
170170 else Z(toString(X.caller)))
171171 then unit
172172 else throw("Permission denied")
173173
174174
175175 func ao (b) = if (isDefined(addressFromString(b)))
176176 then unit
177177 else throw("The address must be valid")
178178
179179
180180 @Callable(X)
181181 func init (C) = valueOrElse(ak([am(X), if ((C > 0))
182182 then unit
183183 else throw("TTL cannot be negative")]), [IntegerEntry(q, C)])
184184
185185
186186
187187 @Callable(X)
188188 func supportsInterface (ap) = $Tuple2(nil, (ap == "whoIs"))
189189
190190
191191
192192 @Callable(X)
193193 func addController (b) = valueOrElse(ak([am(X), ao(b), if (!(Z(b)))
194194 then unit
195195 else throw((("Controller `" + b) + "` is already registered"))]), [StringEntry(r, makeString((z :+ b), ","))])
196196
197197
198198
199199 @Callable(X)
200200 func removeController (b) = valueOrElse(ak([am(X), ao(b), if (Z(b))
201201 then unit
202202 else throw((("Controller `" + b) + "` is not registered"))]), {
203203 let aq = value(indexOf(z, b))
204204 [StringEntry(r, makeString(removeByIndex(z, aq), ","))]
205205 })
206206
207207
208208
209209 @Callable(X)
210210 func available (h) = $Tuple2(nil, I(h))
211211
212212
213213
214214 @Callable(X)
215+func owner (h) = $Tuple2(nil, u(h))
216+
217+
218+
219+@Callable(X)
220+func nameCreated (h) = $Tuple2(nil, w(h))
221+
222+
223+
224+@Callable(X)
225+func nameExpires (h) = $Tuple2(nil, x(h))
226+
227+
228+
229+@Callable(X)
215230 func register (h,t,ah) = valueOrElse(ak([an(X), if (I(h))
216231 then unit
217232 else throw((("`" + h) + "` cannot be registered")), ao(t), if ((ah > 0))
218233 then unit
219234 else throw("CreatedAt cannot be negative"), if ((lastBlock.timestamp >= ah))
220235 then unit
221236 else throw("CreatedAt cannot be in the future")]), {
222237 let ar = af(h)
223238 let l = calculateAssetId(ar[0])
224239 let as = toBase58String(l)
225240 let at = ag(h, as, ah)
226241 let au = aj(as, t)
227242 let av = s(h, t)
228243 (((ar ++ at) ++ au) ++ av)
229244 })
230245
231246
232247
233248 @Callable(X)
234249 func reclaim (h) = valueOrElse(ak([if (H(h))
235250 then unit
236251 else throw((("`" + h) + "` is not active"))]), {
237252 let aw = X.caller
238253 let ax = toString(aw)
239254 let as = valueOrErrorMessage(v(h), (("No token is issued for `" + h) + "`"))
240255 let l = fromBase58String(as)
241256 let ay = (assetBalance(aw, l) == 1)
242257 let az = Y(X, h)
243258 let aA = {
244259 let A = assetInfo(l)
245260 if ($isInstanceOf(A, "Asset"))
246261 then {
247262 let aB = A
248263 (aB.quantity == 1)
249264 }
250265 else false
251266 }
252267 if (if (az)
253268 then !(aA)
254269 else false)
255270 then {
256271 let aC = af(h)
257272 let aD = calculateAssetId(aC[0])
258273 let aE = toBase58String(aD)
259274 let aF = ai(h, aE)
260275 let aG = aj(aE, ax)
261276 ((aC ++ aF) ++ aG)
262277 }
263278 else if (if (az)
264279 then ay
265280 else false)
266281 then throw("You already own a name token")
267282 else if (!(ay))
268283 then throw("You don't have a name token")
269284 else s(h, ax)
270285 })
271286
272287
273288
274289 @Callable(X)
275290 func whoIs (h) = valueOrElse(ak([if ((size(h) > 0))
276291 then unit
277292 else throw("Name cannot be empty")]), {
278293 let ad = aa(h)._1
279294 let aH = u(ad)
280295 let aI = unit
281296 let aJ = w(ad)
282297 let aK = x(ad)
283298 $Tuple2(nil, $Tuple4(aH, aI, aJ, aK))
284299 })
285300
286301

github/deemru/w8io/026f985 
47.43 ms