tx · JAEzzf1WX9U91FgqsWVCPYYFXDZ33mVv1Pf1MRWupyGu
3N19eWkS4w6uGx9bduTkbeFsGpGGRmreN63: -0.01000000 Waves
2018.10.10 16:02 [369526] smart account 3N19eWkS4w6uGx9bduTkbeFsGpGGRmreN63 > SELF 0.00000000 Waves
{
"type": 13,
"id": "JAEzzf1WX9U91FgqsWVCPYYFXDZ33mVv1Pf1MRWupyGu",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1539176632219,
"version": 1,
"sender": "3N19eWkS4w6uGx9bduTkbeFsGpGGRmreN63",
"senderPublicKey": "6Xgmo8ZgQzvC96zZXYhkiacB7Ce3o96cjLjgREyGoAjy",
"proofs": [
"4oYhs7tPhGWfSU9FEe8QHwK25feVBrZAuCfD9BjiT5rc1yYY475orJNGLdZc7WSNmFrX5P6VUVhurkpQjKRM7PQ8"
],
"script": "base64:AQQAAAAKdXNlclB1YktleQEAAAAgRXIG0CHqlnxaNsjTM/iP8iJX7Mt68mP1SxWt+K7IoggEAAAADnBsYXRmb3JtUHViS2V5AQAAACDrp6KXU9zHuSlirLc+704b8CPrPQyo4OcaMUwXLyBmTQQAAAAKdXNlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAp1c2VyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAA5wbGF0Zm9ybVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAA5wbGF0Zm9ybVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAACnVzZXJTaWduZWQFAAAADnBsYXRmb3JtU2lnbmVkAAAAAAAAAAABtTrkSQ==",
"chainId": 84,
"height": 369526,
"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'5g5yfABzyJziEpoP85V5FeixYV9NfDMVSKWauypJYFSX' |
---|
| 4 | + | let platformPubKey = base58'Gru4r7r6iHxBYMAQKt7dxdNZuunuW7xsxSkPLRE1C5sJ' |
---|
| 5 | + | let userSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], userPubKey)) |
---|
| 6 | + | then 1 |
---|
| 7 | + | else 0 |
---|
| 8 | + | let platformSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], platformPubKey)) |
---|
| 9 | + | then 1 |
---|
| 10 | + | else 0 |
---|
| 11 | + | ((userSigned + platformSigned) >= 1) |
---|