tx · 4sJj927WyTh2tJNJXsJvyfAugxSssmz1GWRY8GCzDQiW
3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8: -0.01400000 Waves
2018.12.27 16:34 [423449] smart account 3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "4sJj927WyTh2tJNJXsJvyfAugxSssmz1GWRY8GCzDQiW",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1545917715296,
"version": 1,
"sender": "3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8",
"senderPublicKey": "8kBvreX2AtAKDGqfbGjZAwtXaEezsbcmLmvWWGjhWKn6",
"proofs": [
"5guseogGatTYKCheZy9dRjEPFQMnYJgMUzWeHE2pkgKFEVzvJxGrr7Ep7xZu6CXWBDdttqULaRzKG4LWJ6AmDrxp"
],
"script": "base64:AQQAAAAOZmlyc3RQdWJsaWNLZXkBAAAAIHltIuLbIgzfatF0oPutYAsFt82z6cgryqtr5QHc9FVDBAAAAA9zZWNvbmRQdWJsaWNLZXkBAAAAIDpcKJYerDz62SDH3gC0hIOomUbmRSYIFczWzgxNbFFSBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAAEGZpcnN0U2lnbmVkRmlyc3QDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOZmlyc3RQdWJsaWNLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAEXNlY29uZFNpZ25lZEZpcnN0AwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3NlY29uZFB1YmxpY0tleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAARZmlyc3RTaWduZWRTZWNvbmQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAOZmlyc3RQdWJsaWNLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAEnNlY29uZFNpZ25lZFNlY29uZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAA9zZWNvbmRQdWJsaWNLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAAAAAAAAAgkAAGQAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAQZmlyc3RTaWduZWRGaXJzdAUAAAARc2Vjb25kU2lnbmVkRmlyc3QFAAAAEWZpcnN0U2lnbmVkU2Vjb25kBQAAABJzZWNvbmRTaWduZWRTZWNvbmQAAAAAAAAAAAIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYHT7eSRg==",
"chainId": 84,
"height": 423449,
"spentComplexity": 0
}
View: original | compacted
Prev: agzaVMkfBsagg1EsRSgySL7J3CUrEkBAh1iHbVjNTW8
Next: BnqPR3X9xTbEpPwhWhSvKoJ78myPNnKTUSpBNa1ot79k
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let firstPublicKey = base58'9AzrRUYgk2Vh8B3SXQbz8kYWNbckt1bouxd6L2Bb66Rx' |
---|
| 4 | + | let secondPublicKey = base58'4vp9pAQLkZB5Kq8SPbF8rAB9haj8qcSWPAZxFiAGwcvd' |
---|
3 | 5 | | match tx { |
---|
| 6 | + | case tx: TransferTransaction => |
---|
| 7 | + | let firstSignedFirst = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstPublicKey)) |
---|
| 8 | + | then 1 |
---|
| 9 | + | else 0 |
---|
| 10 | + | let secondSignedFirst = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondPublicKey)) |
---|
| 11 | + | then 1 |
---|
| 12 | + | else 0 |
---|
| 13 | + | let firstSignedSecond = if (sigVerify(tx.bodyBytes, tx.proofs[1], firstPublicKey)) |
---|
| 14 | + | then 1 |
---|
| 15 | + | else 0 |
---|
| 16 | + | let secondSignedSecond = if (sigVerify(tx.bodyBytes, tx.proofs[1], secondPublicKey)) |
---|
| 17 | + | then 1 |
---|
| 18 | + | else 0 |
---|
| 19 | + | ((((firstSignedFirst + secondSignedFirst) + firstSignedSecond) + secondSignedSecond) == 2) |
---|
| 20 | + | case tx: SetScriptTransaction => |
---|
| 21 | + | true |
---|
4 | 22 | | case _ => |
---|
5 | | - | true |
---|
| 23 | + | false |
---|
6 | 24 | | } |
---|