tx · 2crE6ZY655iDjtSfxSX7pVBdjmejkXnqBZMegvk5QBwb
3N28SH4Tmn24Ep38dLa2scC4H4NyXYxf9Kb: -0.01000000 Waves
2021.02.09 18:48 [1390851] smart account 3N28SH4Tmn24Ep38dLa2scC4H4NyXYxf9Kb > SELF 0.00000000 Waves
{
"type": 13,
"id": "2crE6ZY655iDjtSfxSX7pVBdjmejkXnqBZMegvk5QBwb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1612885695497,
"version": 2,
"chainId": 84,
"sender": "3N28SH4Tmn24Ep38dLa2scC4H4NyXYxf9Kb",
"senderPublicKey": "DNGLCncLHGe9YxSWco2a3QkW67v1wKSHw5VhffYJfswZ",
"proofs": [
"4mHNt1WhnzB8jfoFq537G7dBeYJYcUDmPEEtuZWXQVt9rjMSMxMYGW2T9k6qDXNNG6BsQVGfkVnhPXa5AH35Bosk"
],
"script": "base64:BAQAAAACdGYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAA5hZGRpdGlvbmFsRGF0YQMDCQAAZwAAAAIJAAGQAAAAAQgFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwkBAAAACWlzRGVmaW5lZAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQcJAQAAAAlpc0RlZmluZWQAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIHBAAAAAZyZXN1bHQDBQAAAAJ0ZgUAAAAOYWRkaXRpb25hbERhdGEHAwUAAAAGcmVzdWx0BgkAAAIAAAABAgAAABdzZWNvbmQgc2lnbiBpcyByZXF1aXJlZNuwHDg=",
"height": 1390851,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let tf = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 4 | + | let additionalData = if (if ((size(tx.proofs) >= 3)) |
---|
| 5 | + | then isDefined(tx.proofs[1]) |
---|
| 6 | + | else false) |
---|
| 7 | + | then isDefined(tx.proofs[2]) |
---|
| 8 | + | else false |
---|
| 9 | + | let result = if (tf) |
---|
| 10 | + | then additionalData |
---|
| 11 | + | else false |
---|
| 12 | + | if (result) |
---|
| 13 | + | then true |
---|
| 14 | + | else throw("second sign is required") |
---|