tx · GzThPpYidfNTT2fT2DWa8ECywmgP5QQPX4a13ttwjoz1
3NBbYm1bs9CbK5pHZZHgv6YP7HofrUAEcDj: -0.05000000 Waves
2019.07.25 02:08 [600763] smart account 3NBbYm1bs9CbK5pHZZHgv6YP7HofrUAEcDj > SELF 0.00000000 Waves
{
"type": 13,
"id": "GzThPpYidfNTT2fT2DWa8ECywmgP5QQPX4a13ttwjoz1",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1564009742049,
"version": 1,
"sender": "3NBbYm1bs9CbK5pHZZHgv6YP7HofrUAEcDj",
"senderPublicKey": "4cgCZ4LmmQTEWhj5chfbQJzQC8nbdRMJiDArCSW13s4y",
"proofs": [
"4VpFckAT3vKPEDzv8dU5E2y9u7pQjCure4BrcewBbctsHuQP87EoDTEHF8hTVrhgBEDY2usQhJfsG8tKEJtoBDfg"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAA5vd25lclB1YmxpY0tleQEAAAAgdzSx1afl0ePTmg4gnQqpy8e9MyGIVfhvf2+si3EVX0YAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHFpZ4aQ==",
"chainId": 84,
"height": 600763,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let ownerPublicKey = base58'92L7vso5LBACqG3wijJY3E7baDfvZabvtUTjTVptfrNZ' |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = match tx { |
---|
| 9 | + | case s: SetScriptTransaction => |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
| 11 | + | case d: DataTransaction => |
---|
| 12 | + | true |
---|
| 13 | + | case _ => |
---|
| 14 | + | false |
---|
| 15 | + | } |
---|
| 16 | + | |
---|