tx · A4bao1r4D9QWHvny57R6NtbDSurm7i9AXhkCaeJpVLi
3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc: -0.01000000 Waves
2019.01.09 20:21 [442665] smart account 3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc > SELF 0.00000000 Waves
{
"type": 13,
"id": "A4bao1r4D9QWHvny57R6NtbDSurm7i9AXhkCaeJpVLi",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1547054531736,
"version": 1,
"sender": "3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc",
"senderPublicKey": "Ai9Cxq6qDKa9fo14aSSrDovDyNd8ZoZf1XkNGPVKhi8J",
"proofs": [
"35wvQgk9ceJXVrddgErnaQfVhDWq5zy6Skooo9QqnnsMv6A6d8VZwJmrwNbpV4G5HDtYG4N1U3eT8yM5h8WHovv9"
],
"script": "base64:AQQAAAAKdXNlclB1YktleQEAAAAglv9eCbn1Hv9ZOj8BdugcoqgVEoe7yqdXsRoN6HDanSIEAAAAC2FkbWluUHViS2V5AQAAACCY26TaizIyPZB+sUkCy/gGZw7RFhXh/9pfLJWuNvzfJgQAAAANcHJvamVrdFB1YmtleQEAAAAgkENGO52Ab7R7x3/ntIrK7S42H4nItQNgMvFdkEoMTUsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA1wcm9qZWt0UHVia2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC2FkbWluUHViS2V5BgcG1QjbMg==",
"chainId": 84,
"height": 442665,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: EHXZosKTogSKcLjR4miZ24Q6om1P1szoUXTwGXKecBVy
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let userPubKey = base58'BAS1AXHjQMcLhuJ4D9zXRi8UrpPsv4Cf1F2tW1BoNC41' |
---|
| 4 | + | let adminPubKey = base58'BHhE1WtmfQ8moSoDnBamgNMNRy667kSE1TttdRUud2w7' |
---|
| 5 | + | let projektPubkey = base58'Ai9Cxq6qDKa9fo14aSSrDovDyNd8ZoZf1XkNGPVKhi8J' |
---|
| 6 | + | match tx { |
---|
| 7 | + | case tx: DataTransaction => |
---|
| 8 | + | if (if (sigVerify(tx.bodyBytes, tx.proofs[0], projektPubkey)) |
---|
| 9 | + | then true |
---|
| 10 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey)) |
---|
| 11 | + | then true |
---|
| 12 | + | else false |
---|
| 13 | + | case _ => |
---|
| 14 | + | true |
---|
| 15 | + | } |
---|