tx · FvrZiBHebzk8rb28tcwkWMyM1yHbzvyYsKcxS4PE3zKn
3NCB5oWJ6G6KCgXbcjWjYJ1JmfCEy3hxPyP: -0.01000000 Waves
2019.07.08 06:31 [576093] smart account 3NCB5oWJ6G6KCgXbcjWjYJ1JmfCEy3hxPyP > SELF 0.00000000 Waves
{
"type": 13,
"id": "FvrZiBHebzk8rb28tcwkWMyM1yHbzvyYsKcxS4PE3zKn",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1562556703431,
"version": 1,
"sender": "3NCB5oWJ6G6KCgXbcjWjYJ1JmfCEy3hxPyP",
"senderPublicKey": "9TN4zkADcVGxayhRnhY1oPVwqu31hXBFRggG689phUA6",
"proofs": [
"2SYTFeDqdRiDLn2d729CwqMEuMeyeSLwGxFtdEz68h3H7C2dYmsC5HX3ao4a2QPEgon3uQmPCpXsrdFXwUaCm5Vr"
],
"script": "base64:AgQAAAALYnV5ZXJQdWJLZXkBAAAAIKnVn+7FUUOMx0N+Oc11MovAw0W/yPyRiEPCVIdyuiZABAAAAAxzZWxsZXJQdWJLZXkBAAAAICZHm6HjxY7iKZXkVgglVvhx3SK89WE7hTAh3YxOYiILBAAAAAxlc2Nyb3dQdWJLZXkBAAAAIPrYo+TZ0XIEtJJNSZUPbjSRtDfL6msNjepovhSLQqEPBAAAAAtidXllclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtidXllclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2VsbGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNlbGxlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMZXNjcm93U2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGVzY3Jvd1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYnV5ZXJTaWduZWQFAAAADHNlbGxlclNpZ25lZAUAAAAMZXNjcm93U2lnbmVkAAAAAAAAAAACnc0CLg==",
"chainId": 84,
"height": 576093,
"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) |
---|