tx · EzM7JFCChnSPcJ6cwjiy3547Rx5mrB6zqq66oREF6D71

3N5cEBCfqPzk4A6hNBTPLb5K5M8fe5daC1j:  -0.00300000 Waves

2023.12.06 17:41 [2874921] smart account 3N5cEBCfqPzk4A6hNBTPLb5K5M8fe5daC1j > SELF 0.00000000 Waves

{ "type": 13, "id": "EzM7JFCChnSPcJ6cwjiy3547Rx5mrB6zqq66oREF6D71", "fee": 300000, "feeAssetId": null, "timestamp": 1701873736278, "version": 2, "chainId": 84, "sender": "3N5cEBCfqPzk4A6hNBTPLb5K5M8fe5daC1j", "senderPublicKey": "Fbi4znRWhnfTpM66UtwDaUYYDVsTFApLCrhXNEPunc3E", "proofs": [ "2z4dgsjWGkQdNW8ugQubnvXFoRb4JcTeca2eowNRZJoEv6krzstbb38EjsBCbLoSofQb1UUFBW1kRdYaHUwsVGLR" ], "script": "base64:BgInCAISBAoCCAgSBAoCCAESBQoDAgECEgQKAgIBEgQKAgICEgQKAggYEwAJc2VwYXJhdG9yAgJfXwAHY2hhaW5JZAkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQAIY2hhaW5JZFQBAVQACGNoYWluSWRXAQFXAQttdXN0QWRkcmVzcwIBaQdhZGRyZXNzAwkAAAIIBQFpBmNhbGxlcgUHYWRkcmVzcwYJAAIBAhFwZXJtaXNzaW9uIGRlbmllZAEIbXVzdFRoaXMBAWkJAQttdXN0QWRkcmVzcwIFAWkFBHRoaXMAEWtGYWN0b3J5UHVibGljS2V5AhQlc19fZmFjdG9yeVB1YmxpY0tleQARa1NlcnZpY2VQdWJsaWNLZXkCFCVzX19zZXJ2aWNlUHVibGljS2V5AA9rT3duZXJQdWJsaWNLZXkCEiVzX19vd25lclB1YmxpY0tleQANa0JvdFB1YmxpY0tleQIQJXNfX2JvdFB1YmxpY0tleQEaa0FjY291bnRBZGRyZXNzVG9SZXF1ZXN0SWQBDmFjY291bnRBZGRyZXNzCQC5CQIJAMwIAgIEJXMlcwkAzAgCCQClCAEFD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2FsbGVyBAZyZXN1bHQJAP0HBAUOc2VydmljZUFkZHJlc3MFCGZ1bmN0aW9uCQDMCAIFBGFyZ3MFA25pbAgFAWkIcGF5bWVudHMJAJQKAgUDbmlsBQZyZXN1bHQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABAxib3RQdWJsaWNLZXkJARFAZXh0ck5hdGl2ZSgxMDUyKQIFDmZhY3RvcnlBZGRyZXNzBQ1rQm90UHVibGljS2V5BAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAgVPcmRlcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYm90UHVibGljS2V5AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uAwkBCWlzRGVmaW5lZAEJAJwIAgUEdGhpcwURa0ZhY3RvcnlQdWJsaWNLZXkHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwkAAAIFB2NoYWluSWQFCGNoYWluSWRXBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tled78w9w=", "height": 2874921, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "__"
5+
6+let b = take(drop(this.bytes, 1), 1)
7+
8+let c = base58'2T'
9+
10+let d = base58'2W'
11+
12+func e (f,g) = if ((f.caller == g))
13+ then true
14+ else throw("permission denied")
15+
16+
17+func h (f) = e(f, this)
18+
19+
20+let i = "%s__factoryPublicKey"
21+
22+let j = "%s__servicePublicKey"
23+
24+let k = "%s__ownerPublicKey"
25+
26+let l = "%s__botPublicKey"
27+
28+func m (n) = makeString(["%s%s", toString(n), "accountAddressToRequestId"], a)
29+
30+
31+func o (p) = makeString(["%s%s", p, "ownerPublicKey"], a)
32+
33+
34+let q = addressFromPublicKey(getBinaryValue(this, i))
35+
36+let r = addressFromPublicKey(getBinaryValue(q, j))
37+
38+let p = getStringValue(q, m(this))
39+
40+let s = getBinaryValue(q, o(p))
41+
42+let t = addressFromPublicKey(s)
43+
44+func u (f) = e(f, r)
45+
46+
47+func v (f) = e(f, t)
48+
49+
50+@Callable(f)
51+func stringEntry (w,x) = if (u(f))
52+ then $Tuple2([StringEntry(w, x)], w)
53+ else $Tuple2(nil, unit)
54+
55+
56+
57+@Callable(f)
58+func integerEntry (w,x) = if (u(f))
59+ then $Tuple2([IntegerEntry(w, x)], w)
60+ else $Tuple2(nil, unit)
61+
62+
63+
64+@Callable(f)
65+func transferAsset (y,z,A) = if (u(f))
66+ then $Tuple2([ScriptTransfer(Address(y), z, A)], z)
67+ else $Tuple2(nil, unit)
68+
69+
70+
71+@Callable(f)
72+func transferWaves (y,z) = if (u(f))
73+ then $Tuple2([ScriptTransfer(Address(y), z, unit)], z)
74+ else $Tuple2(nil, unit)
75+
76+
77+
78+@Callable(f)
79+func init (B,C) = {
80+ let D = h(f)
81+ if ((D == D))
82+ then {
83+ let E = invoke(addressFromPublicKey(B), "addAccount", [C], nil)
84+ if ((E == E))
85+ then $Tuple2([BinaryEntry(i, B)], unit)
86+ else throw("Strict value is not equal to itself.")
87+ }
88+ else throw("Strict value is not equal to itself.")
89+ }
90+
91+
92+
93+@Callable(f)
94+func call (F,G) = {
95+ let D = v(f)
96+ if ((D == D))
97+ then {
98+ let H = reentrantInvoke(r, F, [G], f.payments)
99+ $Tuple2(nil, H)
100+ }
101+ else throw("Strict value is not equal to itself.")
102+ }
103+
104+
105+@Verifier(I)
106+func J () = {
107+ let K = getBinaryValue(q, l)
108+ let L = I
109+ if ($isInstanceOf(L, "Order"))
110+ then sigVerify(I.bodyBytes, I.proofs[0], K)
111+ else if ($isInstanceOf(L, "InvokeScriptTransaction"))
112+ then if (isDefined(getBinary(this, i)))
113+ then false
114+ else sigVerify(I.bodyBytes, I.proofs[0], I.senderPublicKey)
115+ else if ((b == d))
116+ then false
117+ else sigVerify(I.bodyBytes, I.proofs[0], I.senderPublicKey)
118+ }
119+

github/deemru/w8io/026f985 
13.71 ms