tx · 5XTSrbjACAz46RwmXahZd2nxLbgA2jRbhak15CYdGF1t 3MwvoyKSUZsdUHxoZG5q3WHhmfR9P1N61oX: -0.01000000 Waves 2019.10.11 16:24 [715253] smart account 3MwvoyKSUZsdUHxoZG5q3WHhmfR9P1N61oX > SELF 0.00000000 Waves
{ "type": 13, "id": "5XTSrbjACAz46RwmXahZd2nxLbgA2jRbhak15CYdGF1t", "fee": 1000000, "feeAssetId": null, "timestamp": 1570800107634, "version": 1, "sender": "3MwvoyKSUZsdUHxoZG5q3WHhmfR9P1N61oX", "senderPublicKey": "29kiqjoMPACiirZc3cd8NMTrseCTPWmN2t6UU2U3bjdQ", "proofs": [ "FKjt4uo8SxK5hY7xnxCAuXvmAMrtkYBk6Z1kM3jt89BxhXHe43MY5M132NdfJsP8mCuPrNP2sJ3s8zkDQGkawE7" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAUAAAAADGhlcm1hblB1YktleQEAAAAgoPvQ0H0gDHUWKln9IXjGSPNAYO2lTVBAHjkJIwQ23yAAAAAAC3JhZGVrUHViS2V5AQAAACDXKea8qHwAEajmpIY72tBMvgYrlezQ4VkWo7qGJgANGAAAAAAMc3p5bW9uUHViS2V5AQAAACDRkuGTH71Ivy9lcX4IjxTuQsLms/6N48fSfwvRsVJ5QQAAAAAMc3lsd2VrUHViS2V5AQAAACAJi0axE2x5ykaizz0UCItQwOUevFIbiQsmCr34mbycawAAAAAMYmFja3VwUHViS2V5AQAAACBsQvAdMdDfrfRzEsIyHHR8Fqkn9gFowkln/hRcBFHaVQAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAApzaWduTmVlZGVkAAAAAAAAAAADBAAAAAxoZXJtYW5TaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMaGVybWFuUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAtyYW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next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let hermanPubKey = base58'BqQwSoyduVv7tZ5T9zc8KXA62NXUHKPYowmdZnj8Vo6w' | |
5 | + | ||
6 | + | let radekPubKey = base58'FUuiLi5X3jvcc9rbuZjkdXCTg7efDF23wTt9BQp2ueoh' | |
7 | + | ||
8 | + | let szymonPubKey = base58'F767TJVLz91RgPRJB7UNQ2CCfKPhKWzEB5826aXXw31i' | |
9 | + | ||
10 | + | let sylwekPubKey = base58'eFr4HSU76hcHcmX5fdt3j2KoTMhnBUUwZJprBYCjnoC' | |
11 | + | ||
12 | + | let backupPubKey = base58'8HcESAAVRxoe6RiLSKBLXDT3Xv91zNKx4APqNmcUztvp' | |
13 | + | ||
14 | + | ||
15 | + | @Verifier(tx) | |
16 | + | func verify () = { | |
17 | + | let signNeeded = 3 | |
18 | + | let hermanSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], hermanPubKey)) | |
19 | + | then 1 | |
20 | + | else 0 | |
21 | + | let radekSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], radekPubKey)) | |
22 | + | then 1 | |
23 | + | else 0 | |
24 | + | let szymonSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], szymonPubKey)) | |
25 | + | then 1 | |
26 | + | else 0 | |
27 | + | let sylwekSigned = if (sigVerify(tx.bodyBytes, tx.proofs[3], sylwekPubKey)) | |
28 | + | then 1 | |
29 | + | else 0 | |
30 | + | let backupSigned = if (sigVerify(tx.bodyBytes, tx.proofs[4], backupPubKey)) | |
31 | + | then 1 | |
32 | + | else 0 | |
33 | + | match tx { | |
34 | + | case d: SetScriptTransaction => | |
35 | + | sigVerify(tx.bodyBytes, tx.proofs[0], hermanPubKey) | |
36 | + | case _ => | |
37 | + | (((((hermanSigned + radekSigned) + szymonSigned) + sylwekSigned) + backupSigned) >= signNeeded) | |
38 | + | } | |
39 | + | } | |
40 | + |
github/deemru/w8io/169f3d6 36.72 ms ◑