tx · F91eFzisgwyxECdEY1KegL1pVFtn1KK1SNb9nKJzPBKp
3N1QFeNAjE7QrwLFN5rLSdGtrMmX5KnL659: -0.01500000 Waves
2019.03.11 19:14 [531671] smart account 3N1QFeNAjE7QrwLFN5rLSdGtrMmX5KnL659 > SELF 0.00000000 Waves
{
"type": 13,
"id": "F91eFzisgwyxECdEY1KegL1pVFtn1KK1SNb9nKJzPBKp",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1552320858348,
"version": 1,
"sender": "3N1QFeNAjE7QrwLFN5rLSdGtrMmX5KnL659",
"senderPublicKey": "CKoWndBxNRyA2MvhG9Y1ReBTTDHbCJaffnvqoAH8SWMi",
"proofs": [
"3Nd5uC5tNrGGGZobjVMrFKS814frHVQAcw2n3wRTGR1vkUvAbF9tZRxbLVrWjvBFKdysGedcW9sP66KHNPiYU1UT"
],
"script": "base64:AQQAAAAFYWRtaW4BAAAAIIeIH+Qo8je36FKOHJNdYIy2j0QvwxXyh+Os/R2xNAguBAAAAAV1c2VyMQEAAAAgbgbbTbTg8yzk17XXECjWy8RnDiUQ6oZU9CJCn9As8WEEAAAABXVzZXIyAQAAACB21YzGuoW5aVWvsJthUVt+IdKqIhHUHD7Lm6cfNjv6XgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAABWFkbWluBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAABXVzZXIxBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAABXVzZXIyBgcGzXDvew==",
"chainId": 84,
"height": 531671,
"spentComplexity": 0
}
View: original | compacted
Prev: CTZwecidvsuiQi321rxW5LkTBCR9Bgy92omMRPBD9GFZ
Next: 6NzQtfqPGBDLtRKVN7JWrmdDH9nFtyDibZJUBZfQas72
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let admin = base58'A84RrM74unycVZ1qSeU2DwoXAHt1g823LFcxELDtzDRw' |
---|
| 4 | + | let user1 = base58'8QVupygag3ABQbE2jj4rzZbNFHLob6f3H2XPTzxdhvu6' |
---|
| 5 | + | let user2 = base58'8zsyS2UtbcnH1KqwoGEHf1uJGTeDms3syVkXuB5UQTZo' |
---|
4 | 6 | | match tx { |
---|
5 | 7 | | case t: DataTransaction => |
---|
6 | | - | if (sigVerify(tx.bodyBytes, tx.proofs[1], admin)) |
---|
| 8 | + | if (if (if (sigVerify(tx.bodyBytes, tx.proofs[1], admin)) |
---|
| 9 | + | then true |
---|
| 10 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], user1)) |
---|
| 11 | + | then true |
---|
| 12 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], user2)) |
---|
7 | 13 | | then true |
---|
8 | 14 | | else false |
---|
9 | 15 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let admin = base58'A84RrM74unycVZ1qSeU2DwoXAHt1g823LFcxELDtzDRw' |
---|
| 4 | + | let user1 = base58'8QVupygag3ABQbE2jj4rzZbNFHLob6f3H2XPTzxdhvu6' |
---|
| 5 | + | let user2 = base58'8zsyS2UtbcnH1KqwoGEHf1uJGTeDms3syVkXuB5UQTZo' |
---|
4 | 6 | | match tx { |
---|
5 | 7 | | case t: DataTransaction => |
---|
6 | | - | if (sigVerify(tx.bodyBytes, tx.proofs[1], admin)) |
---|
| 8 | + | if (if (if (sigVerify(tx.bodyBytes, tx.proofs[1], admin)) |
---|
| 9 | + | then true |
---|
| 10 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], user1)) |
---|
| 11 | + | then true |
---|
| 12 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], user2)) |
---|
7 | 13 | | then true |
---|
8 | 14 | | else false |
---|
9 | 15 | | case _ => |
---|
10 | 16 | | true |
---|
11 | 17 | | } |
---|