tx · fyhFxzHXL9Zx8qT3awm5Dyn3gpYcW5RhbEjRauiLNMq 3MuQJ2by8GXusfNAEdX1jYW2WMQbjVzwxzX: -0.01000000 Waves 2023.09.26 12:31 [2772204] smart account 3MuQJ2by8GXusfNAEdX1jYW2WMQbjVzwxzX > SELF 0.00000000 Waves
{ "type": 13, "id": "fyhFxzHXL9Zx8qT3awm5Dyn3gpYcW5RhbEjRauiLNMq", "fee": 1000000, "feeAssetId": null, "timestamp": 1695720716491, "version": 2, "chainId": 84, "sender": "3MuQJ2by8GXusfNAEdX1jYW2WMQbjVzwxzX", "senderPublicKey": "DCZ3si1pk7A23sVSwzZtghP1jZR2YyYEH2WaMxvELct9", "proofs": [ "4TmJznHbqeknCAdfeVcEYwjuFxokLGHWEVe6iHNVMXr2orypdhMEMuLWmPTyuyhEGRw23jaAm8uXjVMaYJKHgRzY" ], "script": "base64:BgIhCAISBAoCCAgSBAoCCAESBQoDAgECEgQKAgIBEgQKAggYBwAOZmFjdG9yeUFkZHJlc3MJAKcIAQkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwIQZmFjdG9yeVB1YmxpY0tleQAOc2VydmljZUFkZHJlc3MJAKcIAQkBEUBleHRyTmF0aXZlKDEwNTIpAgUOZmFjdG9yeUFkZHJlc3MCEHNlcnZpY2VQdWJsaWNLZXkADG93bmVyQWRkcmVzcwkApwgBCQERQGV4dHJOYXRpdmUoMTA1MikCBQR0aGlzAg5vd25lclB1YmxpY0tleQELb25seUFkZHJlc3MCAWkHYWRkcmVzcwMJAAACCAUBaQZjYWxsZXIFB2FkZHJlc3MGCQEFdGhyb3cAAQhvbmx5VGhpcwEBaQkBC29ubHlBZGRyZXNzAgUBaQUEdGhpcwELb25seVNlcnZpY2UBAWkJAQtvbmx5QWRkcmVzcwIFAWkFDnNlcnZpY2VBZGRyZXNzAQlvbmx5T3duZXIBAWkJAQtvbmx5QWRkcmVzcwIFAWkFDG93bmVyQWRkcmVzcwUBaQELc3RyaW5nRW50cn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RlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGJvdFB1YmxpY0tleQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlebGO2dg=", "height": 2772204, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GHX9nEQpunj7NuGcTzPmYZyh8mGYuzmLc8b7KYshmkP7 Next: A93abH4KnwxCCo7Xa8KZfQcUD84QCCL1j2WHXj36txEw Diff:
Old | New | Differences | |
---|---|---|---|
52 | 52 | @Callable(e) | |
53 | 53 | func call (o,p) = if (i(e)) | |
54 | 54 | then { | |
55 | - | let q = reentrantInvoke(b, o, p, e.payments) | |
55 | + | let q = reentrantInvoke(b, o, [p], e.payments) | |
56 | 56 | $Tuple2(nil, q) | |
57 | 57 | } | |
58 | 58 | else $Tuple2(nil, unit) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = addressFromPublicKey(getBinaryValue(this, "factoryPublicKey")) | |
5 | 5 | ||
6 | 6 | let b = addressFromPublicKey(getBinaryValue(a, "servicePublicKey")) | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(getBinaryValue(this, "ownerPublicKey")) | |
9 | 9 | ||
10 | 10 | func d (e,f) = if ((e.caller == f)) | |
11 | 11 | then true | |
12 | 12 | else throw() | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func g (e) = d(e, this) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func h (e) = d(e, b) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i (e) = d(e, c) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | @Callable(e) | |
25 | 25 | func stringEntry (j,k) = if (h(e)) | |
26 | 26 | then $Tuple2([StringEntry(j, k)], j) | |
27 | 27 | else $Tuple2(nil, unit) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | ||
31 | 31 | @Callable(e) | |
32 | 32 | func integerEntry (j,k) = if (h(e)) | |
33 | 33 | then $Tuple2([IntegerEntry(j, k)], j) | |
34 | 34 | else $Tuple2(nil, unit) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | ||
38 | 38 | @Callable(e) | |
39 | 39 | func transferAsset (l,m,n) = if (h(e)) | |
40 | 40 | then $Tuple2([ScriptTransfer(Address(l), m, n)], m) | |
41 | 41 | else $Tuple2(nil, unit) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | ||
45 | 45 | @Callable(e) | |
46 | 46 | func transferWaves (l,m) = if (h(e)) | |
47 | 47 | then $Tuple2([ScriptTransfer(Address(l), m, unit)], m) | |
48 | 48 | else $Tuple2(nil, unit) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(e) | |
53 | 53 | func call (o,p) = if (i(e)) | |
54 | 54 | then { | |
55 | - | let q = reentrantInvoke(b, o, p, e.payments) | |
55 | + | let q = reentrantInvoke(b, o, [p], e.payments) | |
56 | 56 | $Tuple2(nil, q) | |
57 | 57 | } | |
58 | 58 | else $Tuple2(nil, unit) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | @Verifier(r) | |
62 | 62 | func s () = { | |
63 | 63 | let t = getBinaryValue(a, "botPublicKey") | |
64 | 64 | let u = r | |
65 | 65 | if ($isInstanceOf(u, "Order")) | |
66 | 66 | then sigVerify(r.bodyBytes, r.proofs[0], t) | |
67 | 67 | else sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey) | |
68 | 68 | } | |
69 | 69 |
github/deemru/w8io/03bedc9 25.14 ms ◑![]()