tx · DXRxnqEFVFZt6DyHhfT3zRo1kFR1MRTacjSMnWXeRDkG
3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy: -0.01400000 Waves
2019.07.01 11:01 [566039] smart account 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy > SELF 0.00000000 Waves
{
"type": 13,
"id": "DXRxnqEFVFZt6DyHhfT3zRo1kFR1MRTacjSMnWXeRDkG",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561968097329,
"version": 1,
"sender": "3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy",
"senderPublicKey": "57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4",
"proofs": [
"4HxXRD93YwBYr6qBUQNKBnitPbcoJekMaSKgN5ccPp3jxun7TK7Y8K2dt3oifHPSaqKwc3ck2UfDTTkJYKHjSooZ",
"nooVsimzbV5qsT62KpKHfMzHTQsHYpjTbg1KZpHWB4dJWEykR17D1ejYnUKRtUQDWADbb42A4udjB6rLk7jWWfx"
],
"script": "base64:AwQAAAAPdHJhZGVyUHVibGljS2V5AQAAACCBpbTZgYbXOF2R/9sYPGnT0mB66bUYoSp22rdMFj3IEQQAAAAOb3duZXJQdWJsaWNLZXkBAAAAID0HOFHYXYpCB2C8RjDY8m3ndBlb8WihoYLw1tvHVwgrBAAAAAthbW91bnRBc3NldAEAAAAg8cb6xRuScHLmBWbFioetE9WGLNVVfcb5i0bY3S5dOIQEAAAAEG1hdGNoZXJQdWJsaWNLZXkBAAAAIGRDQuXcp/doeH4AWAJKWAvM8pffT3ZEKdvTPqW98d8CBAAAAAckbWF0Y2gwBQAAAAJ0eAQAAAALYWxpY2VTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdHJhZGVyUHVibGljS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAlib2JTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAOb3duZXJQdWJsaWNLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAAthbGljZVNpZ25lZAUAAAAJYm9iU2lnbmVkAAAAAAAAAAACbDTDVw==",
"chainId": 84,
"height": 566039,
"spentComplexity": 0
}
View: original | compacted
Prev: 41XmTgUnPGEFvCE88GsxdZpKTmvXVnSmx79UiFcAsVm2
Next: GxC2dnosQGfZA1MhT7cszBTprBXzdmKuM3pHxr1iTfY6
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let traderPublicKey = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | 4 | | let ownerPublicKey = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' |
---|
5 | 5 | | let amountAsset = base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH' |
---|
6 | 6 | | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], traderPublicKey)) |
---|
10 | 10 | | then 1 |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], ownerPublicKey)) |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | ((aliceSigned + bobSigned) >= 2) |
---|
16 | 16 | | } |
---|