tx · F3xxR3x1V4wYX88RViR2PrnRPyhSH8vSXnJZxUaeEj2e 3NCM2dF5ViAuUpT293JHfwTq3xWbeW3M5dY: -0.01400000 Waves 2019.03.21 16:27 [546096] smart account 3NCM2dF5ViAuUpT293JHfwTq3xWbeW3M5dY > SELF 0.00000000 Waves
{ "type": 13, "id": "F3xxR3x1V4wYX88RViR2PrnRPyhSH8vSXnJZxUaeEj2e", "fee": 1400000, "feeAssetId": null, "timestamp": 1553167928325, "version": 1, "sender": "3NCM2dF5ViAuUpT293JHfwTq3xWbeW3M5dY", "senderPublicKey": "5sLYq6CNG2ZRDuN41hTWAxuAVP9SHrDtg2NV8g7yCtkK", "proofs": [ "5RXY7CPz6yBMgwRqJmm182yBaodM16weBd1XNf18mjRFYA61zdVxRN26ys6iP5CmbzJ8733f5aP7g21jckSsyprR", "63d46RcyybLgoPVayGea4g2ro5DszYrbnjKDdrN4Uarh1V5Gm8hdFUt7npTWiMJbXjwRCJkzXr9H8TNFcRSwbR2T" ], "script": "base64:AgQAAAAIcEtleTBBbGwBAAAAIAHkfIaFtkfkK80IceBwogA7kTZFJS6Kt2vkhMAxo+4MBAAAAAhwS2V5MUFsbAEAAAAgYiGD/Y51ApAa7s2tq0xXzZl17TBfRH5vay+5FIULEEoEAAAAEHBLZXkwUmVpc3N1ZUJ1cm4BAAAAIE/BfooQlHB2g8R81y2nPoxCypIGYL50h6bu71vos2A1BAAAABBwS2V5MVJlaXNzdWVCdXJuAQAAACDE3dalR8Rp2Eud1lG5j1HfIgvlbzyH3Oh84z2JDkQHeAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsa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AAAAZwcm9vZnMAAAAAAAAAAAIFAAAACHBLZXkwQWxsAAAAAAAAAAABAAAAAAAAAAAABAAAAAtwS2V5MVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADBQAAAAhwS2V5MUFsbAAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAAC3BLZXkwU2lnbmVkBQAAAAtwS2V5MVNpZ25lZAAAAAAAAAAAAmaBT1c=", "chainId": 84, "height": 546096, "spentComplexity": 0 } View: original | compacted Prev: HY9j44ew74ETjpreZQ662wKKn9P86MfpGSh1W15LwSt8 Next: CjgYi6Jnj7Ujv1JmwwMvgR1bPQDC61i5dUwrp2BhvU6Q Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 2 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | - | let pKey0 = base58'8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh' | |
4 | - | let pKey1 = base58'7c4bZ4JEe6e35zhE114V8UwfDtANe3WTeZ8h2bBDgAJM' | |
5 | - | let pKey0Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], pKey0)) | |
6 | - | then 1 | |
7 | - | else 0 | |
8 | - | let pKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], pKey1)) | |
9 | - | then 1 | |
10 | - | else 0 | |
11 | - | ((pKey0Signed + pKey1Signed) >= 2) | |
3 | + | let pKey0All = base58'8PUyJHGVRUxhY118c4H5isGCGLYgRBmcSzNYooDAqwh' | |
4 | + | let pKey1All = base58'7c4bZ4JEe6e35zhE114V8UwfDtANe3WTeZ8h2bBDgAJM' | |
5 | + | let pKey0ReissueBurn = base58'6NLLTUr9arNqo9qEtdCQeo1Y5osR2oqawcGatzzZ4BzC' | |
6 | + | let pKey1ReissueBurn = base58'EFV72FQGDPAhmxJ7oEXCzi9LscwNcsku31X8brk6qtLF' | |
7 | + | match tx { | |
8 | + | case tx: SetScriptTransaction => | |
9 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
10 | + | case tx: ReissueTransaction => | |
11 | + | let pKey0Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], pKey0ReissueBurn)) | |
12 | + | then 1 | |
13 | + | else 0 | |
14 | + | let pKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[3], pKey1ReissueBurn)) | |
15 | + | then 1 | |
16 | + | else 0 | |
17 | + | ((pKey0Signed + pKey1Signed) >= 2) | |
18 | + | case tx: BurnTransaction => | |
19 | + | let pKey0Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], pKey0ReissueBurn)) | |
20 | + | then 1 | |
21 | + | else 0 | |
22 | + | let pKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[3], pKey1ReissueBurn)) | |
23 | + | then 1 | |
24 | + | else 0 | |
25 | + | ((pKey0Signed + pKey1Signed) >= 2) | |
26 | + | case _ => | |
27 | + | let pKey0Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], pKey0All)) | |
28 | + | then 1 | |
29 | + | else 0 | |
30 | + | let pKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[3], pKey1All)) | |
31 | + | then 1 | |
32 | + | else 0 | |
33 | + | ((pKey0Signed + pKey1Signed) >= 2) | |
34 | + | } |
github/deemru/w8io/fabc49c 22.38 ms ◑