tx · GcYKFv39YoxAQC76nU4i8Ea5kJ92QTqaaeeWducBGk42 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE: -1.00400000 Waves 2019.10.10 09:01 [713359] smart account 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000000 Waves
{ "type": 13, "id": "GcYKFv39YoxAQC76nU4i8Ea5kJ92QTqaaeeWducBGk42", "fee": 100400000, "feeAssetId": null, "timestamp": 1570687317024, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "3SDNSZMdwGJRrQDoiKwHZdXt5eT9xL1FCKhLDxvcmdRggLqZz9AnXMopsBL48Bn9z5C1AbHMxE1E227KQ8CvXvXf" ], "script": "base64:AgQAAAAPb3duZXJQdWJsaWNLZXkxAQAAACBFi/W2Ez5o2Kfn/FlALc+g2ieiqyAMm9mzqBWCh9ZwDwQAAAAPb3duZXJQdWJsaWNLZXkyAQAAACBFi/W2Ez5o2Kfn/FlALc+g2ieiqyAMm9mzqBWCh9ZwDwQAAAAPb3duZXJQdWJsaWNLZXkzAQAAACBFi/W2Ez5o2Kfn/FlALc+g2ieiqyAMm9mzqBWCh9ZwDwQAAAASb3BlcmF0b3IxUHVibGljS2V5AQAAACBFi/W2Ez5o2Kfn/FlALc+g2ieiqyAMm9mzqBWCh9ZwDwQAAAASb3BlcmF0b3IyUHVibGljS2V5AQAAACBFi/W2Ez5o2Kfn/FlALc+g2ieiqyAMm9mzqBWCh9ZwDwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAQAAAANc2lnbmVkQnlPd25lcgMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAA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DCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAPb3duZXJQdWJsaWNLZXkyAAAAAAAAAAABAAAAAAAAAAAABAAAAA5zaWduZWRCeU93bmVyMwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAA9vd25lclB1YmxpY0tleTMAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAADnNpZ25lZEJ5T3duZXIxBQAAAA5zaWduZWRCeU93bmVyMgUAAAAOc2lnbmVkQnlPd25lcjMAAAAAAAAAAAIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA9vd25lclB1YmxpY0tleTHoZRvg", "chainId": 84, "height": 713359, "spentComplexity": 0 } View: original | compacted Prev: YVupkp8AGXWEbixdMbb53BaQfUAUiATcPE6MdLcthmc Next: 9bKq6ZSGCYntPz9fCwPN1CUxyML4RQC5QieVzxcSKKZ1 Diff:
Old | New | Differences | |
---|---|---|---|
19 | 19 | else signedByOperator1) | |
20 | 20 | then true | |
21 | 21 | else signedByOperator2) | |
22 | + | case s: ReissueTransaction|SetAssetScriptTransaction|SetScriptTransaction => | |
23 | + | let signedByOwner1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey1)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let signedByOwner2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], ownerPublicKey2)) | |
27 | + | then 1 | |
28 | + | else 0 | |
29 | + | let signedByOwner3 = if (sigVerify(tx.bodyBytes, tx.proofs[2], ownerPublicKey3)) | |
30 | + | then 1 | |
31 | + | else 0 | |
32 | + | (((signedByOwner1 + signedByOwner2) + signedByOwner3) >= 2) | |
22 | 33 | case _ => | |
23 | 34 | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey1) | |
24 | 35 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 2 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let ownerPublicKey1 = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' | |
4 | 4 | let ownerPublicKey2 = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' | |
5 | 5 | let ownerPublicKey3 = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' | |
6 | 6 | let operator1PublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' | |
7 | 7 | let operator2PublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' | |
8 | 8 | match tx { | |
9 | 9 | case d: DataTransaction => | |
10 | 10 | let signedByOwner = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey1)) | |
11 | 11 | then true | |
12 | 12 | else sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey2)) | |
13 | 13 | then true | |
14 | 14 | else sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey3) | |
15 | 15 | let signedByOperator1 = sigVerify(tx.bodyBytes, tx.proofs[0], operator1PublicKey) | |
16 | 16 | let signedByOperator2 = sigVerify(tx.bodyBytes, tx.proofs[0], operator2PublicKey) | |
17 | 17 | extract(if (if (signedByOwner) | |
18 | 18 | then true | |
19 | 19 | else signedByOperator1) | |
20 | 20 | then true | |
21 | 21 | else signedByOperator2) | |
22 | + | case s: ReissueTransaction|SetAssetScriptTransaction|SetScriptTransaction => | |
23 | + | let signedByOwner1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey1)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let signedByOwner2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], ownerPublicKey2)) | |
27 | + | then 1 | |
28 | + | else 0 | |
29 | + | let signedByOwner3 = if (sigVerify(tx.bodyBytes, tx.proofs[2], ownerPublicKey3)) | |
30 | + | then 1 | |
31 | + | else 0 | |
32 | + | (((signedByOwner1 + signedByOwner2) + signedByOwner3) >= 2) | |
22 | 33 | case _ => | |
23 | 34 | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey1) | |
24 | 35 | } |
github/deemru/w8io/026f985 21.07 ms ◑