tx · 5Rz3goWSEDTC8MUvLVv7k6n5baNp5q4n7paGFvjtduxk
3MuyrLAB7gPssfvMbpLyqtF58QWnSg58YuN: -0.01000000 Waves
2018.10.08 17:58 [366688] smart account 3MuyrLAB7gPssfvMbpLyqtF58QWnSg58YuN > SELF 0.00000000 Waves
{
"type": 13,
"id": "5Rz3goWSEDTC8MUvLVv7k6n5baNp5q4n7paGFvjtduxk",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1539010771226,
"version": 1,
"sender": "3MuyrLAB7gPssfvMbpLyqtF58QWnSg58YuN",
"senderPublicKey": "3pV9Hnk5iLRVg38669CyRUppE4zAsZDNNwC8u1kU7fW6",
"proofs": [
"2P4kmz7xg7L6qHNcGSLfyUeXhJf7NdSWmhKgYXB5KX3ncPMa1sf4A16renL88KeE82o9zgQAexARFvYmoSEvxENg"
],
"script": "base64:AQQAAAAHYWxpY2VQSwEAAAAgPf4rQckjjaheseG0cWkeKNTk8LiefV8gVWwmnlRatgAEAAAABWJvYlBLAQAAACA9/itBySONqF6x4bRxaR4o1OTwuJ59XyBVbCaeVFq2AAQAAAAIY29vcGVyUEsBAAAAIOfM/qkwkfi4pdngdn18n5yxNwCrBOBC3ihWaFg4gV4yBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdhbGljZVBLAAAAAAAAAAABAAAAAAAAAAAABAAAAAlib2JTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAFYm9iUEsAAAAAAAAAAAEAAAAAAAAAAAAEAAAADGNvb3BlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAhjb29wZXJQSwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACXgYSNQ==",
"chainId": 84,
"height": 366688,
"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'5AzfA9UfpWVYiwFwvdr77k6LWupSTGLb14b24oVdEpMM' |
---|
| 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[1], bobPK)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPK)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((aliceSigned + bobSigned) + cooperSigned) >= 2) |
---|