tx · 3ETihiqqsce7uM9po2buTYMBapHBbwfVhedzBwDYiXSC
3N61XN4VfHjsg8sTgCaCxASgkTM2vxcxDn9: -0.01000000 Waves
2019.08.17 22:07 [635522] smart account 3N61XN4VfHjsg8sTgCaCxASgkTM2vxcxDn9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "3ETihiqqsce7uM9po2buTYMBapHBbwfVhedzBwDYiXSC",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1566072442229,
"version": 1,
"sender": "3N61XN4VfHjsg8sTgCaCxASgkTM2vxcxDn9",
"senderPublicKey": "ER1UpgmtzbFGJCD8fxvYe3dPNdbahH4yzVXNZLqkgauw",
"proofs": [
"ix6K2Wz9tjMoXoqmjGCV2YQvjRVsvvSwfwAu1nmq1NVQUYkwiMMNFJ5kL3nP5dCMfMDoqTYGxMgEFQhSdULNmux"
],
"script": "base64:AwQAAAANYWNjb3VudFB1YktleQEAAAAgx05pbwiKU3oP3PTfsYmRQaHdWXY/cNjACmwu7QhX2SoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAfQAAAADCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMFAAAADWFjY291bnRQdWJLZXkJAABmAAAAAgAAAAAAAAAAAwgFAAAAAXQAAAAGYW1vdW50BwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQSXNzdWVUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMFAAAADWFjY291bnRQdWJLZXkHwBLIUQ==",
"chainId": 84,
"height": 635522,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let accountPubKey = base58'ER1UpgmtzbFGJCD8fxvYe3dPNdbahH4yzVXNZLqkgauw' |
---|
| 4 | + | match tx { |
---|
| 5 | + | case t: TransferTransaction => |
---|
| 6 | + | if (sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey)) |
---|
| 7 | + | then (3 > t.amount) |
---|
| 8 | + | else false |
---|
| 9 | + | case t: IssueTransaction => |
---|
| 10 | + | sigVerify(tx.proofs[0], tx.bodyBytes, accountPubKey) |
---|
| 11 | + | case _ => |
---|
| 12 | + | false |
---|
| 13 | + | } |
---|