tx · 39hicm4SCfW1bCwivueUxpcbU9rex2Pz65L9X3t2i8Vv
3MwHSNmxDKZw2eW6qdH5bXRUWsp93ntRHcG: -0.01000000 Waves
2019.03.02 22:51 [518671] smart account 3MwHSNmxDKZw2eW6qdH5bXRUWsp93ntRHcG > SELF 0.00000000 Waves
{
"type": 13,
"id": "39hicm4SCfW1bCwivueUxpcbU9rex2Pz65L9X3t2i8Vv",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551556256588,
"version": 1,
"sender": "3MwHSNmxDKZw2eW6qdH5bXRUWsp93ntRHcG",
"senderPublicKey": "38pYoPPSkY1DmvRPFsqk1QbAyaV9btJ1JYWFrw392Lk8",
"proofs": [
"5uQbALfa4eUyiC4sKk55ufdZDLAYX9vpp3dijVnHNz8niAZFvSMpXdLGiT2GapaYfEauuL7g2ci6jnWjQsubJcSm"
],
"script": "base64:AQQAAAAHYWxpY2VQSwEAAAAgPf4rQckjjaheseG0cWkeKNTk8LiefV8gVWwmnlRatgAEAAAABWJvYlBLAQAAACATtbonqJAWoXj6HlareP7rG4Wl0avouRL7X7HQSCzbbgQAAAAIY29vcGVyUEsBAAAAIOfM/qkwkfi4pdngdn18n5yxNwCrBOBC3ihWaFg4gV4yBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdhbGljZVBLAAAAAAAAAAABAAAAAAAAAAAABAAAAAlib2JTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAFYm9iUEsAAAAAAAAAAAEAAAAAAAAAAAAEAAAADGNvb3BlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAhjb29wZXJQSwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACWE+cyw==",
"chainId": 84,
"height": 518671,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePK = base58'5AzfA9UfpWVYiwFwvdr77k6LWupSTGLb14b24oVdEpMM' |
---|
| 4 | + | let bobPK = base58'2KwU4vzdgPmKyf7q354H9kSyX9NZjNiq4qbnH2wi2VDF' |
---|
| 5 | + | let cooperPK = base58'GbrUeGaBfmyFJjSQb9Z8uTCej5GzjXfRDVGJGrmgt5cD' |
---|
| 6 | + | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePK)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], bobPK)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], cooperPK)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((aliceSigned + bobSigned) + cooperSigned) >= 2) |
---|