tx · GCxzjUQD2xQBVA57BUtE5ZzwoNUjhK9bhfRXLVdSiMmT
3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw: -0.05000000 Waves
2021.01.19 19:42 [1360562] smart account 3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw > SELF 0.00000000 Waves
{
"type": 13,
"id": "GCxzjUQD2xQBVA57BUtE5ZzwoNUjhK9bhfRXLVdSiMmT",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1611074499130,
"version": 2,
"chainId": 84,
"sender": "3NCvWHCu8MpKcShBRcTB9kJGVdUqNNTPsvw",
"senderPublicKey": "jxwFC6gw5LiUnK7L8yFaVkt8vPaJNzoJgsDc18hhQ25",
"proofs": [
"RfKGHZUn1gNkv1V6yKxKAsdP8RWwfwswm9z5sd9FK4DNW9c6Y7UKkrQGUzRoWMhr8B3cWPj261MbQUAA3pGVZds"
],
"script": "base64:AwQAAAAKTWFpblB1YktleQEAAAAgCwGj4mgFJbPngkg/CwMK5Xc7PRn1Ir1kxzBNyI0sWhoEAAAABUN1Y2hpAQAAACCZLPYIVKyMgi3x1H6VNwuC7UEWVWF/BVuJ42nz80ItygQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAF0BQAAAAckbWF0Y2gwBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJ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prev: FRvzq9b58oFy2q54mq16a9Kq2PRvybDZmEvgSqyCVxXi
Next: 9K1xksdVhjSsH8StobUVFDfTWcPJGT2pExzCwZXE1YRp
Diff:
Old | New | | Differences |
---|
3 | 3 | | let MainPubKey = base58'jxwFC6gw5LiUnK7L8yFaVkt8vPaJNzoJgsDc18hhQ25' |
---|
4 | 4 | | let Cuchi = base58'BJw9DBHgbbvS5xSZmiwyQcAbmHo87aPQBgbzz5YjgXus' |
---|
5 | 5 | | match tx { |
---|
6 | | - | case t: Order|MassTransferTransaction|TransferTransaction => |
---|
| 6 | + | case t: TransferTransaction|MassTransferTransaction|Order => |
---|
7 | 7 | | false |
---|
8 | | - | case _: DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|InvokeScriptTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction => |
---|
| 8 | + | case _: ReissueTransaction|BurnTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|InvokeScriptTransaction|IssueTransaction|CreateAliasTransaction|SetScriptTransaction|SponsorFeeTransaction|DataTransaction => |
---|
9 | 9 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
10 | 10 | | case o: Order => |
---|
11 | 11 | | if (sigVerify(o.bodyBytes, o.proofs[0], MainPubKey)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let MainPubKey = base58'jxwFC6gw5LiUnK7L8yFaVkt8vPaJNzoJgsDc18hhQ25' |
---|
4 | 4 | | let Cuchi = base58'BJw9DBHgbbvS5xSZmiwyQcAbmHo87aPQBgbzz5YjgXus' |
---|
5 | 5 | | match tx { |
---|
6 | | - | case t: Order|MassTransferTransaction|TransferTransaction => |
---|
| 6 | + | case t: TransferTransaction|MassTransferTransaction|Order => |
---|
7 | 7 | | false |
---|
8 | | - | case _: DataTransaction|SponsorFeeTransaction|SetScriptTransaction|CreateAliasTransaction|LeaseCancelTransaction|LeaseTransaction|IssueTransaction|InvokeScriptTransaction|SetAssetScriptTransaction|TransferTransaction|ExchangeTransaction|MassTransferTransaction|BurnTransaction|ReissueTransaction => |
---|
| 8 | + | case _: ReissueTransaction|BurnTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|InvokeScriptTransaction|IssueTransaction|CreateAliasTransaction|SetScriptTransaction|SponsorFeeTransaction|DataTransaction => |
---|
9 | 9 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
10 | 10 | | case o: Order => |
---|
11 | 11 | | if (sigVerify(o.bodyBytes, o.proofs[0], MainPubKey)) |
---|
12 | 12 | | then if ((o.assetPair.priceAsset == Cuchi)) |
---|
13 | 13 | | then true |
---|
14 | 14 | | else (o.assetPair.amountAsset == Cuchi) |
---|
15 | 15 | | else false |
---|
16 | 16 | | case _ => |
---|
17 | 17 | | sigVerify(tx.bodyBytes, tx.proofs[0], MainPubKey) |
---|
18 | 18 | | } |
---|