tx · 6YxTGSc8G4WhDXM4GnfA59YLGLXQGaZ1hQmMrzynfrus
3Ms3hzoSpvUZsJQUuDXEhFZscxBRqSfHfBa: -0.01000000 Waves
2020.03.13 10:34 [907113] smart account 3Ms3hzoSpvUZsJQUuDXEhFZscxBRqSfHfBa > SELF 0.00000000 Waves
{
"type": 13,
"id": "6YxTGSc8G4WhDXM4GnfA59YLGLXQGaZ1hQmMrzynfrus",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1584084858826,
"version": 1,
"sender": "3Ms3hzoSpvUZsJQUuDXEhFZscxBRqSfHfBa",
"senderPublicKey": "8TVYccjJat5Z2yNr2x37148DYUS9vvScbno1qc8eFJEQ",
"proofs": [
"2Nzo7snvWa1EBnPPEheQxp5h2coSxDM6SqwysFtcT3CL41pCLAUfvRcaGemAcvkYRLwsjNBbjCFTXURA2gpY2NkV"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIBKVCRPxxUDoQxX+rZl3dhVGzc8pe+ukPTKySlNDyJ9tBAAAAAlib2JQdWJLZXkBAAAAIG7LL38qdazjfwNXCyMw94uffeMLCLEH6GFfdUfzX94NBAAAAAxjb29wZXJQdWJLZXkBAAAAIOd7ILOw99DAQ6eyYBB4dHEn/0nWjSEP5glTmh5MVmxQBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACXG5nAQ==",
"chainId": 84,
"height": 907113,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'2FY9V5K3g868WzGX9DNcpkjTxJ6iCng8tTbgeH28obgG' |
---|
| 4 | + | let bobPubKey = base58'8TVYccjJat5Z2yNr2x37148DYUS9vvScbno1qc8eFJEQ' |
---|
| 5 | + | let cooperPubKey = base58'Gac5EWeqha3DhiEhSAWSR1fdZ6BMNfDniGmSSAyGFHhZ' |
---|
| 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) |
---|