tx · DoA1ctSzPpaUccTdVeB9BpkDNQMjP5ArRdvNZP6rv4UL
3MyUmfTWZRV7EbegHTi7fj5GBiPYH5bej5p: -0.01000000 Waves
2019.07.07 21:32 [575546] smart account 3MyUmfTWZRV7EbegHTi7fj5GBiPYH5bej5p > SELF 0.00000000 Waves
{
"type": 13,
"id": "DoA1ctSzPpaUccTdVeB9BpkDNQMjP5ArRdvNZP6rv4UL",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1562524448442,
"version": 1,
"sender": "3MyUmfTWZRV7EbegHTi7fj5GBiPYH5bej5p",
"senderPublicKey": "8NBR8d8WcxZ9n1kFPn3RMjdbYMD9iBLZUS6mA6ApjAUL",
"proofs": [
"3p7dHtm3xrJHNgZvMatAvpYdiPknN3xSph4wwqMEsJH9RVYf3qLJqphXhgyGsMYyDFXyTRAkTeWm1koTWxWeTPHJ"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIG1uyG90MH3TjWSlJDiAvd4Q5Ych8coNozHvuJ5WIxdVBAAAAAlib2JQdWJLZXkBAAAAILb58FcZXTIbjEshMW6ayDB2XcNop87YatlbtNE8j6N0BAAAAAxjb29wZXJQdWJLZXkBAAAAGHMlbU3sJjWidE+odTSVrkVrtECZF6Dh9QQAAAALYWxpY2VTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALYWxpY2VQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAACWJvYlNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAlib2JQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAADGNvb3BlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAxjb29wZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQFAAAADGNvb3BlclNpZ25lZAAAAAAAAAAAAs6rR+0=",
"chainId": 84,
"height": 575546,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 6iYvH1BPFGVf3X4CqqVHZ2rhUschBwPvF1RM53es62x5
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'8NBR8d8WcxZ9n1kFPn3RMjdbYMD9iBLZUS6mA6ApjAUL' |
---|
| 4 | + | let bobPubKey = base58'DKGFPozLrsiR8NM4NJzqQaBYC8NyGYjuw2hDYicQVjco' |
---|
| 5 | + | let cooperPubKey = base58'BVqYXrapgJP9atQccdBPAgJPwHDKkh6A8' |
---|
| 6 | + | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((aliceSigned + bobSigned) + cooperSigned) >= 2) |
---|