tx · HzUpRNwXnL77XcpSzhjqe2XnGmH8RQegEPYv8XWjZypb
3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB: -0.01000000 Waves
2022.12.12 11:34 [2356883] smart account 3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB > SELF 0.00000000 Waves
{
"type": 13,
"id": "HzUpRNwXnL77XcpSzhjqe2XnGmH8RQegEPYv8XWjZypb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1670834098566,
"version": 2,
"chainId": 84,
"sender": "3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB",
"senderPublicKey": "1TPcHyMLh4VbFSScV3oHKxxgdSwY4XC6TaGyrqhFrhd",
"proofs": [
"3mN89FWsMqXNo8yKyxkqWtNbtfE6LPzYyGYp3PCENokwRWYyFBLvygvguerfH1ESAqvkkkPWuxhwieT2QEtzZ7RN"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgAAAAABYgAAAAAAAAAAAgEAAAAJdHJ1ZWZhbHNlAAAAAAQAAAAHJG1hdGNoMAUAAAABYgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BgkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAAAWEAAAAAAAAAAAIKAQAAAAFmAAAAAQAAAAF4CQAAaAAAAAIFAAAAAXgFAAAAAXgJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAAWEJAQAAAAFmAAAAAQUAAAABYQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmuT/O9",
"height": 2356883,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4pM6NhTb2xGyG1CPk2mkzax4ULioEDN6aWm9CygVDPsj
Next: 85mSqZvhTLrxbkucbDfQUNhZQtwLmMPwoJcJ3UYGatiF
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let b = 2 |
---|
| 5 | + | |
---|
| 6 | + | func truefalse () = match b { |
---|
| 7 | + | case _: Int => |
---|
| 8 | + | true |
---|
| 9 | + | case _ => |
---|
| 10 | + | throw("Match error") |
---|
| 11 | + | } |
---|
4 | 12 | | |
---|
5 | 13 | | |
---|
6 | 14 | | @Callable(i) |
---|
7 | | - | func fail () = [ScriptTransfer(i.caller, 99900000000, unit)] |
---|
| 15 | + | func call () = { |
---|
| 16 | + | let a = 2 |
---|
| 17 | + | func f (x) = (x * x) |
---|
8 | 18 | | |
---|
| 19 | + | [IntegerEntry("a", f(a))] |
---|
| 20 | + | } |
---|
| 21 | + | |
---|
| 22 | + | |
---|
| 23 | + | @Verifier(tx) |
---|
| 24 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
9 | 25 | | |
---|