tx · HSnENA2FCKHvHkbxaPUqrvfY7vkEtVNdkYKchCnnT3QS
3MxNaW9XqjiMJ3KChyGdViMMDhHxehjGBg7: -0.01000000 Waves
2020.12.21 08:23 [1318037] smart account 3MxNaW9XqjiMJ3KChyGdViMMDhHxehjGBg7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "HSnENA2FCKHvHkbxaPUqrvfY7vkEtVNdkYKchCnnT3QS",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1608528283175,
"version": 1,
"sender": "3MxNaW9XqjiMJ3KChyGdViMMDhHxehjGBg7",
"senderPublicKey": "6sJctAzhyMoEcpQM1aTNQQXvLoh3Bqj4mzsYwFajRDyx",
"proofs": [
"5nWuWsE1FW67HNUHimDzS3bbijWskHpHfPjVC5wSFTdphRM3Qy1eyDXDfEQP2CY52Yv29foG69E5PcMge5NqJvfv"
],
"script": "base64:AwQAAAAHYWxleEtleQEAAAAgc+0es7U0/N2Qhuhmk3AmJ+574vAd4TLVP0Cc7im9H2MEAAAABmRhbktleQEAAAAgVy1lhXmUuAQwLub7NQnWT6Mvd6xFmTRxXB75NidsohcEAAAACmFsZXhTaWduZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAdhbGV4S2V5BAAAAAlkYW5TaWduZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAZkYW5LZXkEAAAACWFsZXhTY29yZQMFAAAACmFsZXhTaWduZWQAAAAAAAAAAAEAAAAAAAAAAAAEAAAACGRhblNjb3JlAwUAAAAJZGFuU2lnbmVkAAAAAAAAAAABAAAAAAAAAAAABAAAAAhzaWdTY29yZQkAAGQAAAACBQAAAAlhbGV4U2NvcmUFAAAACGRhblNjb3JlCQAAZwAAAAIFAAAACHNpZ1Njb3JlAAAAAAAAAAABR3tN7A==",
"chainId": 84,
"height": 1318037,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6WWQWT7yHh8HUidW3od8q1VZ5tAgHtHAaS3WnqCSBfvW
Next: FBEc7QVgAx64cU4Z69Cwcd5x4UMVwkwg8TZob7CdihDb
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alexKey = base58'8oXbXdCEvpBR8yXhDviLXta1QrqsnetSL7egsf6KaBAA' |
---|
| 4 | + | let danKey = base58'6sJctAzhyMoEcpQM1aTNQQXvLoh3Bqj4mzsYwFajRDyx' |
---|
| 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) |
---|