tx · 598zxZNcXMhQ11dJdDVDUJE4tK8T5nFZt1cYTGX46MDi
3Mss2fHEUnQXuoNfNYGjev16R45rUFLsLKt: -0.01000000 Waves
2019.03.02 21:48 [518611] smart account 3Mss2fHEUnQXuoNfNYGjev16R45rUFLsLKt > SELF 0.00000000 Waves
{
"type": 13,
"id": "598zxZNcXMhQ11dJdDVDUJE4tK8T5nFZt1cYTGX46MDi",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551552586960,
"version": 1,
"sender": "3Mss2fHEUnQXuoNfNYGjev16R45rUFLsLKt",
"senderPublicKey": "E6BwHfunXc9Gf1eCNXkkFy8tBa1nLVffW31UUGnRTTbY",
"proofs": [
"48PJ1JHPmhFHzdaXMKTW6UXVVXbGXipBae81Z5r6RG1SFi7gp5c8zuC6bKGaufUpJQwa78f16D2Htf8gRA94qvzz"
],
"script": "base64:AgQAAAALYnV5ZXJQdWJLZXkBAAAAIKnVn+7FUUOMx0N+Oc11MovAw0W/yPyRiEPCVIdyuiZABAAAAAxzZWxsZXJQdWJLZXkBAAAAICZHm6HjxY7iKZXkVgglVvhx3SK89WE7hTAh3YxOYiILBAAAAAxlc2Nyb3dQdWJLZXkBAAAAIPrYo+TZ0XIEtJJNSZUPbjSRtDfL6msNjepovhSLQqEPBAAAAAtidXllclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtidXllclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2VsbGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNlbGxlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMZXNjcm93U2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGVzY3Jvd1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYnV5ZXJTaWduZWQFAAAADHNlbGxlclNpZ25lZAUAAAAMZXNjcm93U2lnbmVkAAAAAAAAAAACnc0CLg==",
"chainId": 84,
"height": 518611,
"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 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) |
---|