tx · 47QCzgKHXTu4dU32BjdCjUFYw8iyEMKD8Q9ibtgw1hwc
3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ: -0.01000000 Waves
2023.03.01 10:45 [2470721] smart account 3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ > SELF 0.00000000 Waves
{
"type": 13,
"id": "47QCzgKHXTu4dU32BjdCjUFYw8iyEMKD8Q9ibtgw1hwc",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1677656749353,
"version": 2,
"chainId": 84,
"sender": "3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ",
"senderPublicKey": "A8TH6dNbNo7KSojkXTRdR78cGa6d9oModHh52Pyuje6h",
"proofs": [
"38LEu1PuDFSYoGTR6FSKFHo6bGYYoSYbd8mNAynqaMNT1EnYxvWNM1ehhyUV3bEWpVSEvBDhF2oh2MhynNsDsW7G"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAARjYWxsAAAAAAQAAAADcmVzCQAD/AAAAAQFAAAABHRoaXMCAAAAEGludGVybmFsRnVuY3Rpb24FAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAFpAQAAABBpbnRlcm5hbEZ1bmN0aW9uAAAAAAMJAAAAAAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAR0aGlzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAB0NhbGxlZDICAAAAA1lFUwUAAAADbmlsCQAAAgAAAAECAAAAEUludGVybmFsIGZ1bmN0aW9uAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXl9lmq3",
"height": 2470721,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7jJ4azs1EJ9YsKH1Ak5w1pGLFX6sqBVSYA7bN7G1Nx1t
Next: AHekxNJDgV26jXxPHeq3WfkY39a8Me74VSBy8nzUPuUh
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func a (b) = if ((b.caller == this)) |
---|
5 | | - | then unit |
---|
6 | | - | else throw("This is internal function") |
---|
7 | 4 | | |
---|
8 | 5 | | |
---|
9 | | - | @Callable(b) |
---|
| 6 | + | @Callable(a) |
---|
10 | 7 | | func call () = { |
---|
11 | | - | let c = invoke(this, "internalFunction", nil, nil) |
---|
12 | | - | if ((c == c)) |
---|
| 8 | + | let b = invoke(this, "internalFunction", nil, nil) |
---|
| 9 | + | if ((b == b)) |
---|
13 | 10 | | then nil |
---|
14 | 11 | | else throw("Strict value is not equal to itself.") |
---|
15 | 12 | | } |
---|
16 | 13 | | |
---|
17 | 14 | | |
---|
18 | 15 | | |
---|
19 | | - | @Callable(b) |
---|
20 | | - | func internalFunction () = { |
---|
21 | | - | let d = a(b) |
---|
22 | | - | [StringEntry("Called", "YES")] |
---|
23 | | - | } |
---|
| 16 | + | @Callable(a) |
---|
| 17 | + | func internalFunction () = if ((a.caller == this)) |
---|
| 18 | + | then [StringEntry("Called2", "YES")] |
---|
| 19 | + | else throw("Internal function") |
---|
24 | 20 | | |
---|
25 | 21 | | |
---|
26 | | - | @Verifier(e) |
---|
27 | | - | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
| 22 | + | @Verifier(c) |
---|
| 23 | + | func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey) |
---|
28 | 24 | | |
---|