tx · KocZXGSCJQSa5oZ5YvMh3nm5PipZh6V6WVd6mA6NdiB
3N5ESku8teYEUUMPEjXVr1krJxJMc9W5btA: -0.01000000 Waves
2018.11.14 09:00 [374983] smart account 3N5ESku8teYEUUMPEjXVr1krJxJMc9W5btA > SELF 0.00000000 Waves
{
"type": 13,
"id": "KocZXGSCJQSa5oZ5YvMh3nm5PipZh6V6WVd6mA6NdiB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1542175258006,
"version": 1,
"sender": "3N5ESku8teYEUUMPEjXVr1krJxJMc9W5btA",
"senderPublicKey": "FkudDQrdKJyeMeX7bCfQcRZuEWAVKfpyQUxfpku2yonA",
"proofs": [
"2Ug9qweGf1W8vbjAyypNYraovRmDBq4guuGMhjK2X33ERE3jQiRxEEtQZGerzUit1TN9mT7qxu3owLGnXqWHioM5"
],
"script": "base64:AQQAAAALYnV5ZXJQdWJLZXkBAAAAIKnVn+7FUUOMx0N+Oc11MovAw0W/yPyRiEPCVIdyuiZABAAAAAxzZWxsZXJQdWJLZXkBAAAAICZHm6HjxY7iKZXkVgglVvhx3SK89WE7hTAh3YxOYiILBAAAAAxlc2Nyb3dQdWJLZXkBAAAAIPrYo+TZ0XIEtJJNSZUPbjSRtDfL6msNjepovhSLQqEPBAAAAAtidXllclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtidXllclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2VsbGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNlbGxlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMZXNjcm93U2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGVzY3Jvd1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYnV5ZXJTaWduZWQFAAAADHNlbGxlclNpZ25lZAUAAAAMZXNjcm93U2lnbmVkAAAAAAAAAAAC4WBuCA==",
"chainId": 84,
"height": 374983,
"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 buyerPubKey = base58'CRxqEuxhdZBEHX42MU4FfyJxuHmbDBTaHMhM3Uki7pLw' |
---|
| 4 | + | let sellerPubKey = base58'3aRpjNJvuSodTHFwTAUvWfFxtyp4N2UJqbh2baigr2Dx' |
---|
| 5 | + | let escrowPubKey = base58'HtCXHUxdDgZvm24mkKvHymB6aRBNwgwAAYUhaAaG1yXL' |
---|
| 6 | + | let buyerSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], buyerPubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let sellerSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], sellerPubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let escrowSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], escrowPubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((buyerSigned + sellerSigned) + escrowSigned) >= 2) |
---|