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