tx · 69dQCY8sAFBoxA47fVDWTqYa8MNPMhcFGPyLcNjUV9rh
3NC92iMNXgdwWK8YYkV1N89gUG5hUxJZ7Mu: -0.01000000 Waves
2018.10.10 16:02 [369526] smart account 3NC92iMNXgdwWK8YYkV1N89gUG5hUxJZ7Mu > SELF 0.00000000 Waves
{
"type": 13,
"id": "69dQCY8sAFBoxA47fVDWTqYa8MNPMhcFGPyLcNjUV9rh",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1539176667049,
"version": 1,
"sender": "3NC92iMNXgdwWK8YYkV1N89gUG5hUxJZ7Mu",
"senderPublicKey": "JBs6vTWyTBXQNSc73fkDWYFF3AEzKvx5scNLYospWWiE",
"proofs": [
"2VmxQSEy4hmuV6NfqKddUFJu24CAzisX9V7wQy7sPZtPtfr1pMx5zMSQrh3WC6uWeCmKWqFN3w7WZRzcpZdGdYva"
],
"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) |
---|