tx · 8oTqN9GxMK1FcQGrQJgz1SpNVt7QBVxum4W8rKaX8Hos
3MqzZUYsTSDPQnKqNR5MWrmhgMoUwxi8zkK: -0.01000000 Waves
2019.01.17 12:14 [453828] smart account 3MqzZUYsTSDPQnKqNR5MWrmhgMoUwxi8zkK > SELF 0.00000000 Waves
{
"type": 13,
"id": "8oTqN9GxMK1FcQGrQJgz1SpNVt7QBVxum4W8rKaX8Hos",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1547716469714,
"version": 1,
"sender": "3MqzZUYsTSDPQnKqNR5MWrmhgMoUwxi8zkK",
"senderPublicKey": "DUmfZEbeD1PmK1bVwYn3oeyJqhEMV4rCkyTeK7NP8Yu9",
"proofs": [
"4agAGQ6Xjm5LDWojL2TreJVmm1h7ZiBga2CQriSNAXQqwZCR2PxWok8s6Xy7jcL9Rp2PoPPfMkrVHEMCeWWCExhW"
],
"script": "base64:AQQAAAAKdXNlclB1YktleQEAAAAgQUnjonNliF4Uwzr8BpYbr28q/qUbB9I2ahYqErTlYhIEAAAADnBsYXRmb3JtUHViS2V5AQAAACDrp6KXU9zHuSlirLc+704b8CPrPQyo4OcaMUwXLyBmTQQAAAAGc2lnbmVkAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAp1c2VyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADnBsYXRmb3JtUHViS2V5AAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIFAAAABnNpZ25lZAAAAAAAAAAAAYamlrY=",
"chainId": 84,
"height": 453828,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let userPubKey = base58'5PrrCoQog3BKxLrp31cqY3PuJkUFY46RRTi1fB2SzKXf' |
---|
| 4 | + | let platformPubKey = base58'Gru4r7r6iHxBYMAQKt7dxdNZuunuW7xsxSkPLRE1C5sJ' |
---|
| 5 | + | let signed = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], userPubKey)) |
---|
| 6 | + | then true |
---|
| 7 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], platformPubKey)) |
---|
| 8 | + | then 1 |
---|
| 9 | + | else 0 |
---|
| 10 | + | (signed >= 1) |
---|