tx · 85mSqZvhTLrxbkucbDfQUNhZQtwLmMPwoJcJ3UYGatiF
3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB: -0.01000000 Waves
2022.12.12 11:36 [2356885] smart account 3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB > SELF 0.00000000 Waves
{
"type": 13,
"id": "85mSqZvhTLrxbkucbDfQUNhZQtwLmMPwoJcJ3UYGatiF",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1670834215815,
"version": 2,
"chainId": 84,
"sender": "3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB",
"senderPublicKey": "1TPcHyMLh4VbFSScV3oHKxxgdSwY4XC6TaGyrqhFrhd",
"proofs": [
"e77DXkfSkTBwSF4ZiqDbBFadwSaXUoeujYdy7N764kRaynV2DKjq6mYbW8QihnNuxjskyRJepyGa6QmUvBmva9K"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQwAAAAcCAAAABUFzc2V0AgAAAAAAAAAAAAAAAAEAAAAAAAAAAAAGBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAA3N0cgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkP3GFu",
"height": 2356885,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HzUpRNwXnL77XcpSzhjqe2XnGmH8RQegEPYv8XWjZypb
Next: GmsGtDifMd15rEskJhdQWp4mTqDDskvm5ePsqJaeTjP6
Diff:
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 | | - | } |
---|
12 | 4 | | |
---|
13 | 5 | | |
---|
14 | 6 | | @Callable(i) |
---|
15 | 7 | | func call () = { |
---|
16 | | - | let a = 2 |
---|
17 | | - | func f (x) = (x * x) |
---|
18 | | - | |
---|
19 | | - | [IntegerEntry("a", f(a))] |
---|
| 8 | + | let asset = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str")] |
---|
20 | 11 | | } |
---|
21 | 12 | | |
---|
22 | 13 | | |
---|
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 | | - | } |
---|
12 | 4 | | |
---|
13 | 5 | | |
---|
14 | 6 | | @Callable(i) |
---|
15 | 7 | | func call () = { |
---|
16 | | - | let a = 2 |
---|
17 | | - | func f (x) = (x * x) |
---|
18 | | - | |
---|
19 | | - | [IntegerEntry("a", f(a))] |
---|
| 8 | + | let asset = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str")] |
---|
20 | 11 | | } |
---|
21 | 12 | | |
---|
22 | 13 | | |
---|
23 | 14 | | @Verifier(tx) |
---|
24 | 15 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
25 | 16 | | |
---|