tx · DpnyqJCKCvFbt5WQz87tqGu3iF79ZyB2bkom8P7BqGLT
3Mukn6Z6pG23CnvxAKrSt1qh9riAwCdkK4E: -0.01000000 Waves
2020.12.21 23:35 [1318957] smart account 3Mukn6Z6pG23CnvxAKrSt1qh9riAwCdkK4E > SELF 0.00000000 Waves
{
"type": 13,
"id": "DpnyqJCKCvFbt5WQz87tqGu3iF79ZyB2bkom8P7BqGLT",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1608582806250,
"version": 1,
"sender": "3Mukn6Z6pG23CnvxAKrSt1qh9riAwCdkK4E",
"senderPublicKey": "8oXbXdCEvpBR8yXhDviLXta1QrqsnetSL7egsf6KaBAA",
"proofs": [
"5FyXHYN9BKmsv92cLEZ4M4bxBpj4UkvUqfKkCqnqahGfrAPCwhy5AUBMDeoEsUPRrdNV2W2RZH3qZJwoNjpFcG6M"
],
"script": "base64:AwQAAAAHYWxleEtleQEAAAAgc+0es7U0/N2Qhuhmk3AmJ+574vAd4TLVP0Cc7im9H2MEAAAABmRhbktleQEAAAAg8f0OaXptX7koz3R/PoJPuqT9yxeCbdn5zdRQmGix+XgEAAAACmFsZXhTaWduZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdhbGV4S2V5BAAAAAlkYW5TaWduZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAZkYW5LZXkEAAAACWFsZXhTY29yZQMFAAAACmFsZXhTaWduZWQAAAAAAAAAAAEAAAAAAAAAAAAEAAAACGRhblNjb3JlAwUAAAAJZGFuU2lnbmVkAAAAAAAAAAABAAAAAAAAAAAABAAAAAhzaWdTY29yZQkAAGQAAAACBQAAAAlhbGV4U2NvcmUFAAAACGRhblNjb3JlCQAAZwAAAAIFAAAACHNpZ1Njb3JlAAAAAAAAAAABOb8k+g==",
"chainId": 84,
"height": 1318957,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alexKey = base58'8oXbXdCEvpBR8yXhDviLXta1QrqsnetSL7egsf6KaBAA' |
---|
| 4 | + | let danKey = base58'HHd4SvxqNuaEYZngjkUYmhPDUppfsS8PsukL2Ny3xbdH' |
---|
| 5 | + | let alexSigned = sigVerify(tx.bodyBytes, tx.proofs[0], alexKey) |
---|
| 6 | + | let danSigned = sigVerify(tx.bodyBytes, tx.proofs[1], danKey) |
---|
| 7 | + | let alexScore = if (alexSigned) |
---|
| 8 | + | then 1 |
---|
| 9 | + | else 0 |
---|
| 10 | + | let danScore = if (danSigned) |
---|
| 11 | + | then 1 |
---|
| 12 | + | else 0 |
---|
| 13 | + | let sigScore = (alexScore + danScore) |
---|
| 14 | + | (sigScore >= 1) |
---|