tx · 5jiHUwmUFmu5nTQNsc2bvCcJxcjQiUviBXJnLbdRWA52
3N3V6BPQXsgSCW39RLiyPBSBRLmkrdjGZYX: -0.01000000 Waves
2019.09.09 19:46 [668810] smart account 3N3V6BPQXsgSCW39RLiyPBSBRLmkrdjGZYX > SELF 0.00000000 Waves
{
"type": 13,
"id": "5jiHUwmUFmu5nTQNsc2bvCcJxcjQiUviBXJnLbdRWA52",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1568047592380,
"version": 1,
"sender": "3N3V6BPQXsgSCW39RLiyPBSBRLmkrdjGZYX",
"senderPublicKey": "4wjTSBK3rUjN4SfC9WTanuJafPa43JFZshRkrh7fcVQC",
"proofs": [
"5rH2Y8qW7jDMCuEQdswTZ46wM2VUwhGdNraEnLoxkiheHmGutpkkjaU9T77HDjRRAnEq4HoM7d6B8v4PAUhZSLy2"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAA5vd25lclB1YmxpY0tleQEAAAAgOpht6efV0PLO3HcvsPbA1hzt6wVcvhggRFggiKU+IkkAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYG3I/Aug==",
"chainId": 84,
"height": 668810,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 99wq5Xh1nYJsHUkH1vgNbwbmrJadKKP7HAnabGZEBy3T
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let ownerPublicKey = base58'4wjTSBK3rUjN4SfC9WTanuJafPa43JFZshRkrh7fcVQC' |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = match tx { |
---|
| 9 | + | case d: SetScriptTransaction => |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
| 11 | + | case d: DataTransaction => |
---|
| 12 | + | true |
---|
| 13 | + | case _ => |
---|
| 14 | + | true |
---|
| 15 | + | } |
---|
| 16 | + | |
---|