tx · Dpke56YWYoBw1En5nUhm9ERv9emoDbvnRW9dQrcRCWSJ 3NASWyUF1TKSRvndovkfyo9ewD89mtR83av: -0.05000000 Waves 2021.06.11 11:22 [1565456] smart account 3NASWyUF1TKSRvndovkfyo9ewD89mtR83av > SELF 0.00000000 Waves
{ "type": 13, "id": "Dpke56YWYoBw1En5nUhm9ERv9emoDbvnRW9dQrcRCWSJ", "fee": 5000000, "feeAssetId": null, "timestamp": 1623399734029, "version": 2, "chainId": 84, "sender": "3NASWyUF1TKSRvndovkfyo9ewD89mtR83av", "senderPublicKey": "3NRaUKswmgyS9Rz3TgpauZ2dpcQ6oKyiyi632WcyX1VG", "proofs": [ "3jzEycdVRchQJevBvGZeokBzHNJQdTBHGVK54oZoKDigMgxm8Xqf74EJnXpBn1HQzdA2P8yzreKQUb1MuN21PmJg" ], "script": "base64:AwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAFpBQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAFpAAAABGRBcHAJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNOQVNXeVVGMVRLU1J2bmRvdmtmeW85ZXdEODltdFI4M2F2AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM05BU1d5VUYxVEtTUnZuZG92a2Z5bzlld0Q4OW10UjgzYXYHdQAD+g==", "height": 1565456, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DPi3FiAmqsc7MPg8nSZiwiFGivzQvNe7GrQCYoz9jic5 Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION 4 #-} | |
2 | - | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | - | {-# CONTENT_TYPE DAPP #-} | |
4 | - | ||
5 | - | ||
6 | - | @Callable(i) | |
7 | - | func call () = { | |
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"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
11 | - | } | |
12 | - | ||
13 | - | ||
14 | - | @Verifier(tx) | |
15 | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
16 | - | ||
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | match tx { | |
4 | + | case i: InvokeScriptTransaction => | |
5 | + | (i.dApp == addressFromString("3NASWyUF1TKSRvndovkfyo9ewD89mtR83av")) | |
6 | + | case t: TransferTransaction => | |
7 | + | (t.sender == addressFromString("3NASWyUF1TKSRvndovkfyo9ewD89mtR83av")) | |
8 | + | case _ => | |
9 | + | false | |
10 | + | } |
github/deemru/w8io/169f3d6 43.51 ms ◑