tx · DqfoVpmRY8jiWmQd4x9YTAHCdspbkS51CjLQz6QLLuRh

3MxquWQhzpqXgbqunnFqHFJXTjasEznd1tN:  -0.00300000 Waves

2022.10.07 14:03 [2261830] smart account 3MxquWQhzpqXgbqunnFqHFJXTjasEznd1tN > SELF 0.00000000 Waves

{ "type": 13, "id": "DqfoVpmRY8jiWmQd4x9YTAHCdspbkS51CjLQz6QLLuRh", "fee": 300000, "feeAssetId": null, "timestamp": 1665140658323, "version": 2, "chainId": 84, "sender": "3MxquWQhzpqXgbqunnFqHFJXTjasEznd1tN", "senderPublicKey": "GDjexdefwEhShjRTvHgazn3gTrDo74eHpJCAz14cAEeh", "proofs": [ "3eoAhfZHqcgFHGC9tewazK5onepMxkYcyuQKAmkjCw5TLK7SQfR9CbeLWLChLqGeUogxPrgV4R7pCWP3Exa6zV7i" ], "script": "base64:AAIFAAAAAAAAACsIAhIECgIICBIDCgEIEgQKAggIEgMKAQgSBAoCCAESAwoBCBIGCgQICAgBAAAADgEAAAAQZ2V0U3RyaW5nT3JUaHJvdwAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADENhbid0IHJlYWQgJwUAAAADa2V5AgAAAA0nIGF0IGFkZHJlc3MgCQAEJQAAAAEFAAAAB2FkZHJlc3MBAAAAEWdldEludGVnZXJPclRocm93AAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEGgAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMQ2FuJ3QgcmVhZCAnBQAAAANrZXkCAAAADScgYXQgYWRkcmVzcyAJAAQlAAAAAQUAAAAHYWRkcmVzcwEAAAATcGFyc2VBZGRyZXNzT3JUaHJvdwAAA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ZGUFAAAAA3R0bAAAAAAwVsc5", "height": 2261830, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: BRmubh4Q92AmW1tpUFNqioS1MbM8pPkpKjCyJme88h88 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func a (b,c) = valueOrErrorMessage(getString(b, c), ((("Can't read '" + c) + "' at address ") + toString(b)))
5+
6+
7+func d (b,c) = valueOrErrorMessage(getInteger(b, c), ((("Can't read '" + c) + "' at address ") + toString(b)))
8+
9+
10+func e (f) = valueOrErrorMessage(addressFromString(f), (("Can't parse address from '" + f) + "'"))
11+
12+
13+func g (h,i,j) = ((((h + "_") + i) + "_") + j)
14+
15+
16+func k (l) = g("Records", l, "owner")
17+
18+
19+func m (l) = g("Records", l, "resolver")
20+
21+
22+func n (l) = g("Records", l, "ttl")
23+
24+
25+func o (l) = a(this, k(l))
26+
27+
28+func p (l,q) = [StringEntry(k(l), q)]
29+
30+
31+func r (l,s) = [StringEntry(m(l), s)]
32+
33+
34+func t (l,u) = [IntegerEntry(n(l), u)]
35+
36+
37+func v (w) = unit
38+
39+
40+func x (y) = if ((y.caller == this))
41+ then unit
42+ else throw("Permission denied")
43+
44+
45+func z (y,l) = if (isDefined(indexOf([this, e(o(l))], y.caller)))
46+ then unit
47+ else throw("Permission denied")
48+
49+
50+@Callable(y)
51+func setOwner (l,q) = valueOrElse(v([z(y, l)]), p(l, q))
52+
53+
54+
55+@Callable(y)
56+func owner (l) = $Tuple2(nil, o(l))
57+
58+
59+
60+@Callable(y)
61+func setResolver (l,s) = valueOrElse(v([z(y, l)]), r(l, s))
62+
63+
64+
65+@Callable(y)
66+func resolver (l) = $Tuple2(nil, a(this, m(l)))
67+
68+
69+
70+@Callable(y)
71+func setTTL (l,u) = valueOrElse(v([z(y, l)]), t(l, u))
72+
73+
74+
75+@Callable(y)
76+func ttl (l) = $Tuple2(nil, d(this, n(l)))
77+
78+
79+
80+@Callable(y)
81+func setRecord (l,q,s,u) = valueOrElse(v([x(y)]), ((p(l, q) ++ r(l, s)) ++ t(l, u)))
82+
83+

github/deemru/w8io/026f985 
18.09 ms