tx · EHXZosKTogSKcLjR4miZ24Q6om1P1szoUXTwGXKecBVy
3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc: -0.02000000 Waves
2019.01.14 14:48 [449605] smart account 3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc > SELF 0.00000000 Waves
{
"type": 13,
"id": "EHXZosKTogSKcLjR4miZ24Q6om1P1szoUXTwGXKecBVy",
"fee": 2000000,
"feeAssetId": null,
"timestamp": 1547466530789,
"version": 1,
"sender": "3MxHFBvHi7XLLosNd8unXrwBt3SPkzpQpCc",
"senderPublicKey": "Ai9Cxq6qDKa9fo14aSSrDovDyNd8ZoZf1XkNGPVKhi8J",
"proofs": [
"3wDiFjbfwXZS38tJCp3L9N2M3LQNVJQRbcgCYnz3Lhb1m2S9q3miEEvSGypnX8eAhqQURncCe7a3UfhZkh1r34Ao"
],
"script": "base64:AQQAAAALdXNlcjJwdWJrZXkBAAAAIOWzsZnrAQcSiwtJOGDV1bQckCtGjhAi2CY24Y9g/FMFBAAAAAt1c2VyMXB1YmtleQEAAAAge6K5ytQfeIOfdFa9DL9j1kzVkQMQPz7QiCl14FYm4iQEAAAAC2FkbWluUHViS2V5AQAAACCY26TaizIyPZB+sUkCy/gGZw7RFhXh/9pfLJWuNvzfJgQAAAANcHJvamVrdFB1YmtleQEAAAAgkENGO52Ab7R7x3/ntIrK7S42H4nItQNgMvFdkEoMTUsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALdXNlcjFwdWJrZXkGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALYWRtaW5QdWJLZXkGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALdXNlcjJwdWJrZXkGBwZOGF1W",
"chainId": 84,
"height": 449605,
"spentComplexity": 0
}
View: original | compacted
Prev: A4bao1r4D9QWHvny57R6NtbDSurm7i9AXhkCaeJpVLi
Next: 3XztYtrC9E8QdxBCaU6DTxCEDRQv7sW4uToEgkrvHSXo
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let userPubKey = base58'BAS1AXHjQMcLhuJ4D9zXRi8UrpPsv4Cf1F2tW1BoNC41' |
---|
| 3 | + | let user2pubkey = base58'GTfHXFe4spmSqQcyTHUz3LFvjdZDSxqo4EoerdNpDmnt' |
---|
| 4 | + | let user1pubkey = base58'9Kd4cbEgDrPQkUtrfx5Ez6j3NyPF6mb5VZ7G2j1HiyNT' |
---|
4 | 5 | | let adminPubKey = base58'BHhE1WtmfQ8moSoDnBamgNMNRy667kSE1TttdRUud2w7' |
---|
5 | 6 | | let projektPubkey = base58'Ai9Cxq6qDKa9fo14aSSrDovDyNd8ZoZf1XkNGPVKhi8J' |
---|
6 | 7 | | match tx { |
---|
7 | 8 | | case tx: DataTransaction => |
---|
8 | | - | if (if (sigVerify(tx.bodyBytes, tx.proofs[0], projektPubkey)) |
---|
| 9 | + | if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], user1pubkey)) |
---|
9 | 10 | | then true |
---|
10 | | - | else sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey)) |
---|
| 11 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey)) |
---|
| 12 | + | then true |
---|
| 13 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], user2pubkey)) |
---|
11 | 14 | | then true |
---|
12 | 15 | | else false |
---|
13 | 16 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let userPubKey = base58'BAS1AXHjQMcLhuJ4D9zXRi8UrpPsv4Cf1F2tW1BoNC41' |
---|
| 3 | + | let user2pubkey = base58'GTfHXFe4spmSqQcyTHUz3LFvjdZDSxqo4EoerdNpDmnt' |
---|
| 4 | + | let user1pubkey = base58'9Kd4cbEgDrPQkUtrfx5Ez6j3NyPF6mb5VZ7G2j1HiyNT' |
---|
4 | 5 | | let adminPubKey = base58'BHhE1WtmfQ8moSoDnBamgNMNRy667kSE1TttdRUud2w7' |
---|
5 | 6 | | let projektPubkey = base58'Ai9Cxq6qDKa9fo14aSSrDovDyNd8ZoZf1XkNGPVKhi8J' |
---|
6 | 7 | | match tx { |
---|
7 | 8 | | case tx: DataTransaction => |
---|
8 | | - | if (if (sigVerify(tx.bodyBytes, tx.proofs[0], projektPubkey)) |
---|
| 9 | + | if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], user1pubkey)) |
---|
9 | 10 | | then true |
---|
10 | | - | else sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey)) |
---|
| 11 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey)) |
---|
| 12 | + | then true |
---|
| 13 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], user2pubkey)) |
---|
11 | 14 | | then true |
---|
12 | 15 | | else false |
---|
13 | 16 | | case _ => |
---|
14 | 17 | | true |
---|
15 | 18 | | } |
---|