tx · 5RUPyJBXaDuL8mkWWezJnATxKHW6GwzDL5RR5DkuqaVS
3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n: -0.01000000 Waves
2021.03.21 13:07 [1447353] smart account 3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n > SELF 0.00000000 Waves
{
"type": 13,
"id": "5RUPyJBXaDuL8mkWWezJnATxKHW6GwzDL5RR5DkuqaVS",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1616321309222,
"version": 1,
"sender": "3MzKbPH1myjq5CSeXTU8S853r2Lx9xKvh4n",
"senderPublicKey": "3NfviesrmjVT3FaDqqnYb7SAU3AxRcUcDQ1V9t9kv77R",
"proofs": [
"Qgu6uxegrLB89X1McCQau77DQkKr9KuGnxa3jv8ScSVGLjsW5ETMFfgXw8FdG1mmThif4vAbx68Lxpwv8SV5eYH"
],
"script": "base64:BAQAAAALVXNlcjFQdWJLZXkBAAAAICNElbYYJ7bxrsmHeqRI4UmWqkcTkCuYVI456LRcMdQEBAAAAAtVc2VyMlB1YktleQEAAAAg+MBnCwKoW9z7Dc7djnypfqER3ZZxgc7+GyOJkZ4J8jcEAAAAC1VzZXIzUHViS2V5AQAAACDhh1LBnhX5HUwpUDKQDORJVFV97tFf7RaKlu041+ofDwQAAAALVXNlcjFTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALVXNlcjFQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAC1VzZXIyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAC1VzZXIyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtVc2VyM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAtVc2VyM1B1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALVXNlcjFTaWduZWQFAAAAC1VzZXIyU2lnbmVkBQAAAAtVc2VyM1NpZ25lZAAAAAAAAAAAAwb0CY4B",
"chainId": 84,
"height": 1447353,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 7A5SKQgDvZ8ng3VfNPb4quWb9UusUmZbFLaKipXVoENo
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let User1PubKey = base58'3NfviesrmjVT3FaDqqnYb7SAU3AxRcUcDQ1V9t9kv77R' |
---|
| 4 | + | let User2PubKey = base58'Hk2GhyddH9d4Zn5wt1WwuHEmm9vWQRnA5DitDcepm2nr' |
---|
| 5 | + | let User3PubKey = base58'GBNQvvDKJjHQ84uDfCRpvHJ8ubai3rP1g9BAuv3KPxKp' |
---|
| 6 | + | let User1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], User1PubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let User2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], User2PubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let User3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], User3PubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | match tx { |
---|
| 16 | + | case tx: ExchangeTransaction|TransferTransaction|MassTransferTransaction|SetAssetScriptTransaction|ReissueTransaction|BurnTransaction => |
---|
| 17 | + | (((User1Signed + User2Signed) + User3Signed) >= 3) |
---|
| 18 | + | case _ => |
---|
| 19 | + | true |
---|
| 20 | + | } |
---|