tx · 8PfWNtV8YAAWTnTv6a6HjBHBJC32iNyr4f3m35YBV5Mw
3N9uqYAKeJHMh8ZAmpnHjXW4jLPz4pCPAae: -0.09000000 Waves
2019.08.12 17:53 [627989] smart account 3N9uqYAKeJHMh8ZAmpnHjXW4jLPz4pCPAae > SELF 0.00000000 Waves
{
"type": 13,
"id": "8PfWNtV8YAAWTnTv6a6HjBHBJC32iNyr4f3m35YBV5Mw",
"fee": 9000000,
"feeAssetId": null,
"timestamp": 1565621605183,
"version": 1,
"sender": "3N9uqYAKeJHMh8ZAmpnHjXW4jLPz4pCPAae",
"senderPublicKey": "HPUzaBWNVBXTQCq9Ygth3wdexHRHN4yfuVXveeCDAedN",
"proofs": [
"2GAZRzf7HkYsdnf9JeNHKUYk4RKqtFptWp6gazcm29WTWLqc7wXpuo9grUzJHeux47j5pEsHYEuoaCY5aNRvZwwY"
],
"script": "base64:AwQAAAANYWNjb3VudFB1YktleQEAAAAg831rg9F+C4mNofsjW6TuRlespS2Pe1Lp9DaPOTFGoTkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwMJAAH0AAAAAwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAJYm9keUJ5dGVzBQAAAA1hY2NvdW50UHViS2V5CQAAZgAAAAIAAAAAAAAAAGQIBQAAAAF0AAAABmFtb3VudAcJAAAAAAAAAggFAAAAAXQAAAAHYXNzZXRJZAEAAAADnullBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAACWJvZHlCeXRlcwUAAAANYWNjb3VudFB1YktleQex+MIJ",
"chainId": 84,
"height": 627989,
"spentComplexity": 0
}
View: original | compacted
Prev: bx9psgPaXXCo2WBLiXiK5pxwNz8MU5oArM3DKSV4Z3z
Next: 5XVfPEydiZhPS5dtg2C73u4B15UuJCErGzMTQ8RWwTKh
Diff:
Old | New | | Differences |
---|
3 | 3 | | let accountPubKey = base58'HPUzaBWNVBXTQCq9Ygth3wdexHRHN4yfuVXveeCDAedN' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | if (sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey)) |
---|
| 6 | + | if (if (sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey)) |
---|
7 | 7 | | then (100 > t.amount) |
---|
| 8 | + | else false) |
---|
| 9 | + | then (t.assetId == base58'vNrG') |
---|
8 | 10 | | else false |
---|
9 | 11 | | case d: SetScriptTransaction => |
---|
10 | 12 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let accountPubKey = base58'HPUzaBWNVBXTQCq9Ygth3wdexHRHN4yfuVXveeCDAedN' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | if (sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey)) |
---|
| 6 | + | if (if (sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey)) |
---|
7 | 7 | | then (100 > t.amount) |
---|
| 8 | + | else false) |
---|
| 9 | + | then (t.assetId == base58'vNrG') |
---|
8 | 10 | | else false |
---|
9 | 11 | | case d: SetScriptTransaction => |
---|
10 | 12 | | true |
---|
11 | 13 | | case t: IssueTransaction => |
---|
12 | 14 | | sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey) |
---|
13 | 15 | | case _ => |
---|
14 | 16 | | false |
---|
15 | 17 | | } |
---|