tx · FBq2p2hvUCf91M7v3MpssiA9efhq9LC14BrtShe1wpNA
3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE: -1.00000000 Waves
2019.07.04 10:21 [570364] smart account 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000000 Waves
{
"type": 13,
"id": "FBq2p2hvUCf91M7v3MpssiA9efhq9LC14BrtShe1wpNA",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1562224837823,
"version": 1,
"sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE",
"senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES",
"proofs": [
"3C4cvjdCNesgeNN42oY75quYf5smVThGaVXZpFqmiGQ8WgMC3uRozohfjxPCfE4u6poSQa4HseQWgPVPJ59vAnEE"
],
"script": "base64:AgQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIEWL9bYTPmjYp+f8WUAtz6DaJ6KrIAyb2bOoFYKH1nAPBAAAABJvcGVyYXRvcjFQdWJsaWNLZXkBAAAAIEg6FT7R2L+ORSTKesOdjfqT8Bv9os+a8+Gj5JnT8TwOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBAAAAA1zaWduZWRCeU93bmVyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkEAAAAEHNpZ25lZEJ5T3BlcmF0b3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABJvcGVyYXRvcjFQdWJsaWNLZXkJAQAAAAdleHRyYWN0AAAAAQMFAAAADXNpZ25lZEJ5T3duZXIGBQAAABBzaWduZWRCeU9wZXJhdG9yAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwCQAB9AAAAAMICAUAAAABZQAAAAhidXlPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleVw+eVQ=",
"chainId": 84,
"height": 570364,
"spentComplexity": 0
}
View: original | compacted
Prev: DaqLsd8LuMy76JboJiJcDmt4wFvzKCeYciLrWvJPXbpH
Next: GF3JAtt5vGU5mDStSefWcbnFFSNYQHPNBw5E14k5kCf7
Diff:
Old | New | | Differences |
---|
9 | 9 | | extract(if (signedByOwner) |
---|
10 | 10 | | then true |
---|
11 | 11 | | else signedByOperator) |
---|
| 12 | + | case e: ExchangeTransaction => |
---|
| 13 | + | sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], ownerPublicKey) |
---|
12 | 14 | | case _ => |
---|
13 | 15 | | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
14 | 16 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let ownerPublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES' |
---|
4 | 4 | | let operator1PublicKey = base58'5rwiwcENa9JEdLVHJbBFGPrMybk74HwnGq32d2cMPLt5' |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case d: DataTransaction => |
---|
7 | 7 | | let signedByOwner = sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
8 | 8 | | let signedByOperator = sigVerify(tx.bodyBytes, tx.proofs[0], operator1PublicKey) |
---|
9 | 9 | | extract(if (signedByOwner) |
---|
10 | 10 | | then true |
---|
11 | 11 | | else signedByOperator) |
---|
| 12 | + | case e: ExchangeTransaction => |
---|
| 13 | + | sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], ownerPublicKey) |
---|
12 | 14 | | case _ => |
---|
13 | 15 | | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
14 | 16 | | } |
---|