tx · CNk6oNzMrpgsyWm3rm25Lk8pDCZJGyfxAmjtSTPWzDK
3N2DEDNEYBqNMngqMKL1W3Lnws8Ypk5vpgx: -0.01000000 Waves
2022.03.08 16:47 [1955061] smart account 3N2DEDNEYBqNMngqMKL1W3Lnws8Ypk5vpgx > SELF 0.00000000 Waves
{
"type": 13,
"id": "CNk6oNzMrpgsyWm3rm25Lk8pDCZJGyfxAmjtSTPWzDK",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1646747254428,
"version": 2,
"chainId": 84,
"sender": "3N2DEDNEYBqNMngqMKL1W3Lnws8Ypk5vpgx",
"senderPublicKey": "AQNbrqrtZ6QZSsdTekNofCi39KjhtsyRBSpBEmc4EqMm",
"proofs": [
"3CgqY324uiC4rF1Y3pu9NxbdvvWDbnGA4ifnj2VFom7TARfwcReGuz5Vgz67vqsv4QazfyD4sF92yPF9nrcwnJtF"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAEAAAAACkFQdWJsaWNLZXkBAAAAIIu19x30Xz+P53LrUAJYEkMtH1VpfGt0/1aTVmldOosMAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACkFQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHcOynGg==",
"height": 1955061,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4oD5QgLGpmNHRJsrya4FzZBSNph8gf2oot3kw6pDxbNm
Next: FuPxtwW7Ke3jcZLCUFgfQmfz8gELRBwucr1YFgyEGZMP
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let APublicKey = base58'AQNbrqrtZ6QZSsdTekNofCi39KjhtsyRBSpBEmc4EqMm' |
---|
4 | 5 | | |
---|
5 | 6 | | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = match tx { |
---|
| 9 | + | case d: SetScriptTransaction => |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], APublicKey) |
---|
| 11 | + | case d: DataTransaction => |
---|
| 12 | + | true |
---|
| 13 | + | case _ => |
---|
| 14 | + | false |
---|
| 15 | + | } |
---|
6 | 16 | | |
---|