tx · 9TejtdUJfnXxXhVTKDcnrwYF7oDr1qY17M8BYhgKXsV4

3NA73oUXjqp7SpudXWV1yMFuKm9awPbqsVz:  -0.01100000 Waves

2022.11.25 20:56 [2332946] smart account 3NA73oUXjqp7SpudXWV1yMFuKm9awPbqsVz > SELF 0.00000000 Waves

{ "type": 13, "id": "9TejtdUJfnXxXhVTKDcnrwYF7oDr1qY17M8BYhgKXsV4", "fee": 1100000, "feeAssetId": null, "timestamp": 1669399031646, "version": 2, "chainId": 84, "sender": "3NA73oUXjqp7SpudXWV1yMFuKm9awPbqsVz", "senderPublicKey": "2mHW72YTfnxJ1M8WsdUQjgpp3a2SUbt9mbAiePGiuJok", "proofs": [ "2a3rrCAt5X6Pbqy1hKyia1wJaSCQFiBFeHDP5z1BU8u24JwwRQHzy67rWSPRtPUm3BZ5B7AqiLcUAu9A5cVxxKYs" ], "script": "base64:AAIFAAAAAAAAAC4IAhIDCgEBEgMKAQgSAwoBCBIDCgEIEgMKAQgSBQoDCAgfEgUKAwgIARIDCgEIAAAAJwEAAAAKa2V5X2VudGl0eQAAAAMAAAAEbmFtZQAAAAJwawAAAAhwcm9wZXJ0eQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARuYW1lAgAAAAFfBQAAAAJwawIAAAABXwUAAAAIcHJvcGVydHkBAAAADmtleV9Ub2tlbl9uYW1lAAAAAQAAAAd0b2tlbklkCQEAAAAKa2V5X2VudGl0eQAAAAMCAAAABVRva2VuBQAAAAd0b2tlbklkAgAAAARuYW1lAQAAAA5rZXlfTmFtZV90b2tlbgAAAAEAAAAEbmFtZQkBAAAACmtleV9lbnRpdHkAAAADAgAAAAROYW1lBQAAAARuYW1lAgAAAAV0b2tlbgEAAAAOa2V5X05hbWVfb3duZXIAAAABAAAABG5hbWUJAQAAAAprZXlfZW50aXR5AAAAAwIAAAAETmFtZQUAAAAEbmFtZQIAAAAFb3duZXIBAAAAEWtleV9OYW1lX3Jlc29sdmVyAAAAAQAAA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AAAPbmV3T3duZXJBZGRyZXNzAAAAACyrO2g=", "height": 2332946, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H1N1y8DoCe3tXvB7qR2nBbVTWMq2PYdP2kyR6f1c2kdZ Next: HaNuhCLsVpGyxffPK24GHWWx71JYw7gMddTDhDuL1LCi Diff:
OldNewDifferences
195195
196196
197197 @Callable(V)
198-func supportsInterface (ap) = $Tuple2(nil, containsElement(["owner", "resolver", "createdAt", "expiresAt", "tokenId"], ap))
199-
200-
201-
202-@Callable(V)
203198 func addController (Y) = valueOrElse(aj([al(V), if (S(Y))
204199 then unit
205200 else throw("Controller must be a valid address"), if (!(X(Y)))
212207 func removeController (Y) = valueOrElse(aj([al(V), if (X(Y))
213208 then unit
214209 else throw((("Controller `" + Y) + "` is not registered"))]), {
215- let aq = value(indexOf(v, Y))
216-[StringEntry(m, makeString(removeByIndex(v, aq), ","))]
210+ let ap = value(indexOf(v, Y))
211+[StringEntry(m, makeString(removeByIndex(v, ap), ","))]
217212 })
218213
219214
229224
230225
231226 @Callable(V)
232-func resolve (b,ap,ar) = {
227+func resolve (b,aq,ar) = {
233228 let as = Z(b)
234229 let at = as._1
235230 let ad = as._2
236231 $Tuple2(nil, {
237- let w = ap
232+ let w = aq
238233 if (("owner" == w))
239234 then p(at)
240235 else if (("resolver" == w))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c,d) = ((((b + "_") + c) + "_") + d)
55
66
77 func e (f) = a("Token", f, "name")
88
99
1010 func g (b) = a("Name", b, "token")
1111
1212
1313 func h (b) = a("Name", b, "owner")
1414
1515
1616 func i (b) = a("Name", b, "resolver")
1717
1818
1919 func j (b) = a("Name", b, "expiresAt")
2020
2121
2222 func k (b) = a("Name", b, "createdAt")
2323
2424
2525 let l = "nameTTL"
2626
2727 let m = "controllers"
2828
2929 func n (b,o) = [StringEntry(h(b), o)]
3030
3131
3232 func p (b) = getString(this, h(b))
3333
3434
3535 func q (b) = getString(this, i(b))
3636
3737
3838 func r (b) = getString(this, g(b))
3939
4040
4141 func s (b) = getInteger(this, k(b))
4242
4343
4444 func t (b) = getInteger(this, j(b))
4545
4646
4747 func u () = getString(this, m)
4848
4949
5050 let v = {
5151 let w = u()
5252 if ($isInstanceOf(w, "String"))
5353 then {
5454 let x = w
5555 split(x, ",")
5656 }
5757 else nil
5858 }
5959
6060 let y = value(getInteger(this, l))
6161
6262 let z = isDefined(getInteger(this, l))
6363
6464 func A (b) = isDefined(getString(this, g(b)))
6565
6666
6767 func B (b) = isDefined(s(b))
6868
6969
7070 func C (b) = {
7171 let w = t(b)
7272 if ($isInstanceOf(w, "Int"))
7373 then {
7474 let D = w
7575 (lastBlock.timestamp > D)
7676 }
7777 else false
7878 }
7979
8080
8181 func E (b) = if (if (A(b))
8282 then B(b)
8383 else false)
8484 then !(C(b))
8585 else false
8686
8787
8888 func F (b) = {
8989 let G = "abcdefghijklmnopqrstuvwxyz1234567890-"
9090 func H (I,J) = if (I)
9191 then contains(G, J)
9292 else false
9393
9494 if (if (if (if (if ((size(b) > 3))
9595 then (63 >= size(b))
9696 else false)
9797 then (indexOf(b, "--") != 2)
9898 else false)
9999 then (indexOf(b, "-") != 0)
100100 else false)
101101 then (lastIndexOf(b, "-") != (size(b) - 1))
102102 else false)
103103 then {
104104 let K = split(b, "")
105105 let L = size(K)
106106 let M = true
107107 func N (O,P) = if ((P >= L))
108108 then O
109109 else H(O, K[P])
110110
111111 func Q (O,P) = if ((P >= L))
112112 then O
113113 else throw("List size exceeds 63")
114114
115115 Q(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(N(M, 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)
116116 }
117117 else false
118118 }
119119
120120
121121 func R (b) = if (F(b))
122122 then !(E(b))
123123 else false
124124
125125
126126 func S (T) = isDefined(addressFromString(T))
127127
128128
129129 func U (V) = (V.caller == this)
130130
131131
132132 func W (V,b) = (toString(V.originCaller) == valueOrElse(p(b), ""))
133133
134134
135135 func X (Y) = containsElement(v, Y)
136136
137137
138138 func Z (b) = {
139139 let aa = split(b, ".")
140140 let ab = (size(aa) - 1)
141141 let ac = aa[ab]
142142 let ad = makeString(removeByIndex(aa, ab), ".")
143143 $Tuple2(ac, ad)
144144 }
145145
146146
147147 func ae (b) = [Issue(if ((size(b) > 16))
148148 then (take(b, 15) + "~")
149149 else take(b, 16), (b + ".waves"), 1, 0, false)]
150150
151151
152152 func af (b,f,ag) = [StringEntry(g(b), f), StringEntry(e(f), b), IntegerEntry(k(b), ag), IntegerEntry(j(b), (ag + y))]
153153
154154
155155 func ah (b,f) = [StringEntry(g(b), f), StringEntry(e(f), b)]
156156
157157
158158 func ai (f,o) = [ScriptTransfer(addressFromStringValue(o), 1, fromBase58String(f))]
159159
160160
161161 func aj (ak) = unit
162162
163163
164164 func al (V) = if (U(V))
165165 then unit
166166 else throw("Permission denied")
167167
168168
169169 func am (V) = if (if (U(V))
170170 then true
171171 else X(toString(V.caller)))
172172 then unit
173173 else throw("Permission denied")
174174
175175
176176 func an (V,b) = if (if (U(V))
177177 then true
178178 else W(V, b))
179179 then unit
180180 else throw("Permission denied")
181181
182182
183183 func ao () = if (z)
184184 then unit
185185 else throw("Contract is not initialized")
186186
187187
188188 @Callable(V)
189189 func init (y) = valueOrElse(aj([al(V), if ((y > 0))
190190 then unit
191191 else throw("TTL cannot be negative"), if (!(z))
192192 then unit
193193 else throw("Contract has already been initialized")]), [IntegerEntry(l, y)])
194194
195195
196196
197197 @Callable(V)
198-func supportsInterface (ap) = $Tuple2(nil, containsElement(["owner", "resolver", "createdAt", "expiresAt", "tokenId"], ap))
199-
200-
201-
202-@Callable(V)
203198 func addController (Y) = valueOrElse(aj([al(V), if (S(Y))
204199 then unit
205200 else throw("Controller must be a valid address"), if (!(X(Y)))
206201 then unit
207202 else throw((("Controller `" + Y) + "` is already registered"))]), [StringEntry(m, makeString((v :+ Y), ","))])
208203
209204
210205
211206 @Callable(V)
212207 func removeController (Y) = valueOrElse(aj([al(V), if (X(Y))
213208 then unit
214209 else throw((("Controller `" + Y) + "` is not registered"))]), {
215- let aq = value(indexOf(v, Y))
216-[StringEntry(m, makeString(removeByIndex(v, aq), ","))]
210+ let ap = value(indexOf(v, Y))
211+[StringEntry(m, makeString(removeByIndex(v, ap), ","))]
217212 })
218213
219214
220215
221216 @Callable(V)
222217 func isValid (b) = $Tuple2(nil, F(b))
223218
224219
225220
226221 @Callable(V)
227222 func isAvailable (b) = $Tuple2(nil, R(b))
228223
229224
230225
231226 @Callable(V)
232-func resolve (b,ap,ar) = {
227+func resolve (b,aq,ar) = {
233228 let as = Z(b)
234229 let at = as._1
235230 let ad = as._2
236231 $Tuple2(nil, {
237- let w = ap
232+ let w = aq
238233 if (("owner" == w))
239234 then p(at)
240235 else if (("resolver" == w))
241236 then q(at)
242237 else if (("createdAt" == w))
243238 then s(at)
244239 else if (("expiresAt" == w))
245240 then t(at)
246241 else if (("tokenId" == w))
247242 then r(at)
248243 else unit
249244 })
250245 }
251246
252247
253248
254249 @Callable(V)
255250 func register (b,o,ag) = valueOrElse(aj([ao(), am(V), if (R(b))
256251 then unit
257252 else throw((("`" + b) + "` cannot be registered")), if (S(o))
258253 then unit
259254 else throw("Owner must be a valid address"), if ((ag > 0))
260255 then unit
261256 else throw("CreatedAt must be positive"), if ((lastBlock.timestamp >= ag))
262257 then unit
263258 else throw("CreatedAt cannot be in the future")]), {
264259 let au = ae(b)
265260 let f = calculateAssetId(au[0])
266261 let av = toBase58String(f)
267262 let aw = af(b, av, ag)
268263 let ax = ai(av, o)
269264 let ay = n(b, o)
270265 (((au ++ aw) ++ ax) ++ ay)
271266 })
272267
273268
274269
275270 @Callable(V)
276271 func reclaim (b) = valueOrElse(aj([ao(), if (E(b))
277272 then unit
278273 else throw((("`" + b) + "` is not active"))]), {
279274 let az = V.originCaller
280275 let aA = toString(az)
281276 let av = valueOrErrorMessage(r(b), (("No token is issued for `" + b) + "`"))
282277 let f = fromBase58String(av)
283278 let aB = (assetBalance(az, f) == 1)
284279 let aC = W(V, b)
285280 let aD = {
286281 let w = assetInfo(f)
287282 if ($isInstanceOf(w, "Asset"))
288283 then {
289284 let aE = w
290285 (aE.quantity == 1)
291286 }
292287 else false
293288 }
294289 if (if (aC)
295290 then !(aD)
296291 else false)
297292 then {
298293 let aF = ae(b)
299294 let aG = calculateAssetId(aF[0])
300295 let aH = toBase58String(aG)
301296 let aI = ah(b, aH)
302297 let aJ = ai(aH, aA)
303298 ((aF ++ aI) ++ aJ)
304299 }
305300 else if (if (aC)
306301 then aB
307302 else false)
308303 then throw("You already own a name token")
309304 else if (!(aB))
310305 then throw("You don't have a name token")
311306 else n(b, aA)
312307 })
313308
314309

github/deemru/w8io/169f3d6 
53.64 ms