tx · H8MhRzhZZ3JBariKjyR5HSu9t9EV9yCxwM8jXrALMtLA
3N8DvduVsVvTnwZLxcPHYjsYMQVQTnXCZf9: -0.09000000 Waves
2019.08.12 17:22 [627955] smart account 3N8DvduVsVvTnwZLxcPHYjsYMQVQTnXCZf9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "H8MhRzhZZ3JBariKjyR5HSu9t9EV9yCxwM8jXrALMtLA",
"fee": 9000000,
"feeAssetId": null,
"timestamp": 1565619751878,
"version": 1,
"sender": "3N8DvduVsVvTnwZLxcPHYjsYMQVQTnXCZf9",
"senderPublicKey": "6gdAWU81joFRfv5Mjk9ho1yeFNZs7n1pFPcZeEVswokV",
"proofs": [
"2p5N2bj7T85YkA3tVTxz4B2xSz2VAWhz3BrbWz9kipiyAamqdsRjQtu17jWfqPbfy9dtD887ejbEVzkuNhmP8uAs"
],
"script": "base64:AwQAAAANYWNjb3VudFB1YktleQEAAAAgVHD6FGt4OcRvRaAz1Gf/IAFk8VJZ/omZkKcqXej6sSIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAfQAAAADCQABkQAAAAIIBQAAAAF0AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAXQAAAAJYm9keUJ5dGVzBQAAAA1hY2NvdW50UHViS2V5CQAAZgAAAAIAAAAAAAAAAGQIBQAAAAF0AAAABmFtb3VudAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEElzc3VlVHJhbnNhY3Rpb24EAAAAAXAFAAAAByRtYXRjaDAJAAH0AAAAAwkAAZEAAAACCAUAAAABcAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFwAAAACWJvZHlCeXRlcwUAAAANYWNjb3VudFB1YktleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWsFAAAAByRtYXRjaDAGB85Udhk=",
"chainId": 84,
"height": 627955,
"spentComplexity": 0
}
View: original | compacted
Prev: CxP4FneDewvYHQTixGdC4qYmigcJCsjZkHJsojRCpRJz
Next: CiJUdEqe44VATuPM8YSsAK7RsVkaGCzZK39vzjEnd5MH
Diff:
Old | New | | Differences |
---|
3 | 3 | | let accountPubKey = base58'6gdAWU81joFRfv5Mjk9ho1yeFNZs7n1pFPcZeEVswokV' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | sigVerify(t.proofs[0], t.bodyBytes, accountPubKey) |
---|
| 6 | + | if (sigVerify(t.proofs[0], t.bodyBytes, accountPubKey)) |
---|
| 7 | + | then (100 > t.amount) |
---|
| 8 | + | else false |
---|
7 | 9 | | case p: IssueTransaction => |
---|
8 | 10 | | sigVerify(p.proofs[0], p.bodyBytes, accountPubKey) |
---|
9 | 11 | | case k: SetScriptTransaction => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let accountPubKey = base58'6gdAWU81joFRfv5Mjk9ho1yeFNZs7n1pFPcZeEVswokV' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | | - | sigVerify(t.proofs[0], t.bodyBytes, accountPubKey) |
---|
| 6 | + | if (sigVerify(t.proofs[0], t.bodyBytes, accountPubKey)) |
---|
| 7 | + | then (100 > t.amount) |
---|
| 8 | + | else false |
---|
7 | 9 | | case p: IssueTransaction => |
---|
8 | 10 | | sigVerify(p.proofs[0], p.bodyBytes, accountPubKey) |
---|
9 | 11 | | case k: SetScriptTransaction => |
---|
10 | 12 | | true |
---|
11 | 13 | | case _ => |
---|
12 | 14 | | false |
---|
13 | 15 | | } |
---|