tx · 2iYAqb9zPUNCdhGMFmhyyRFU9uUXarLnaz5qKSajsrfm

3MwcML5qeLsrf7qhayXt1T6xWwKBhzr3Ncd:  -0.00300000 Waves

2023.10.23 14:47 [2811214] smart account 3MwcML5qeLsrf7qhayXt1T6xWwKBhzr3Ncd > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
18.70 ms