tx · EDUZpN7UjHifbPfWQ9KfPqKCoiyHDipREqRQRdz4GDa
3N6qXzcTb6vcDj5gYJnSkYH9Z8w8BWCG5h5: -0.01000000 Waves
2019.07.08 07:12 [576136] smart account 3N6qXzcTb6vcDj5gYJnSkYH9Z8w8BWCG5h5 > SELF 0.00000000 Waves
{
"type": 13,
"id": "EDUZpN7UjHifbPfWQ9KfPqKCoiyHDipREqRQRdz4GDa",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1562559146420,
"version": 1,
"sender": "3N6qXzcTb6vcDj5gYJnSkYH9Z8w8BWCG5h5",
"senderPublicKey": "6LmrKcZPRAL8JH9KvueTJ1AKz4cqz5aCysjwnSQevBFc",
"proofs": [
"4ojKUimb7nyRniHhRexwAXXR92tyjAZmiS3V9sixiLX8xjfe3TCUiu9sp5Lybk9iYCdPyEXPvgwwMUjPhscrjedn"
],
"script": "base64:AgQAAAALYnV5ZXJQdWJLZXkBAAAAIKnVn+7FUUOMx0N+Oc11MovAw0W/yPyRiEPCVIdyuiZABAAAAAxzZWxsZXJQdWJLZXkBAAAAICZHm6HjxY7iKZXkVgglVvhx3SK89WE7hTAh3YxOYiILBAAAAAxlc2Nyb3dQdWJLZXkBAAAAIPrYo+TZ0XIEtJJNSZUPbjSRtDfL6msNjepovhSLQqEPBAAAAAtidXllclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtidXllclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2VsbGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNlbGxlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMZXNjcm93U2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGVzY3Jvd1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYnV5ZXJTaWduZWQFAAAADHNlbGxlclNpZ25lZAUAAAAMZXNjcm93U2lnbmVkAAAAAAAAAAACnc0CLg==",
"chainId": 84,
"height": 576136,
"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) |
---|