tx · 1yUdrdrVfeWqwGRw4fwcEnwdWJKhTtK5nhWaocrqrq8
3MqqG7L9dxmoTeKnHRzZD8MYzgzmTHb1DbR: -0.01000000 Waves
2019.03.02 21:50 [518612] smart account 3MqqG7L9dxmoTeKnHRzZD8MYzgzmTHb1DbR > SELF 0.00000000 Waves
{
"type": 13,
"id": "1yUdrdrVfeWqwGRw4fwcEnwdWJKhTtK5nhWaocrqrq8",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551552623573,
"version": 1,
"sender": "3MqqG7L9dxmoTeKnHRzZD8MYzgzmTHb1DbR",
"senderPublicKey": "G4jJX6VV4VKqJ1j93eTQSHZkHAqBmaLDWpkpmm4Vykbe",
"proofs": [
"736Z7zBsxQE1QSQMho1AXYgQbzuz8Ndy5Pm51L1XLWHkozowoogng3RNjNz5ZaJibLbte2K78trGfLkUSmS1UeC"
],
"script": "base64:AgQAAAALYnV5ZXJQdWJLZXkBAAAAIKnVn+7FUUOMx0N+Oc11MovAw0W/yPyRiEPCVIdyuiZABAAAAAxzZWxsZXJQdWJLZXkBAAAAICZHm6HjxY7iKZXkVgglVvhx3SK89WE7hTAh3YxOYiILBAAAAAxlc2Nyb3dQdWJLZXkBAAAAIPrYo+TZ0XIEtJJNSZUPbjSRtDfL6msNjepovhSLQqEPBAAAAAtidXllclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtidXllclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2VsbGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNlbGxlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMZXNjcm93U2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGVzY3Jvd1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYnV5ZXJTaWduZWQFAAAADHNlbGxlclNpZ25lZAUAAAAMZXNjcm93U2lnbmVkAAAAAAAAAAACnc0CLg==",
"chainId": 84,
"height": 518612,
"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) |
---|