tx · 8cpnF7jGWF2jLFaXQx95X8oQyrHsAjzF3NDkSxkaSKT2
3MzxpeuQgyZXwEqh8qgx2nurRHmZqM4zu88: -0.01000000 Waves
2019.02.22 16:51 [506583] smart account 3MzxpeuQgyZXwEqh8qgx2nurRHmZqM4zu88 > SELF 0.00000000 Waves
{
"type": 13,
"id": "8cpnF7jGWF2jLFaXQx95X8oQyrHsAjzF3NDkSxkaSKT2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1550843549611,
"version": 1,
"sender": "3MzxpeuQgyZXwEqh8qgx2nurRHmZqM4zu88",
"senderPublicKey": "3vsfMpBpi998LEochicZmwqStiz3HnSi7rXHqv5FSW3u",
"proofs": [
"3s8eowxkFVbZzNSv2Uiwnjj4LMc4aPHoq4zSbA7JHyPH1zuUYvCeg9ur5jEYWVNAe7Sif36NSjr4kh5U89XidpLt"
],
"script": "base64:AQQAAAAMbWFzdGVyUHViS2V5AQAAACArhHCRMuZXGP4GRzpmnAYH77lPeQkM7Bnt0lD/+cU8RAQAAAAMc2xhdmUxUHViS2V5AQAAACDegV9UUfMJKd34w7PMr64Wsb6CguHI76eTPBjhrXwNCgQAAAAMc2xhdmUyUHViS2V5AQAAACAFCJ5jglr3ijWOFqP+Vf9fd6qZAXjA3NHhHpUJQg2EIgQAAAAMbWFzdGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADG1hc3RlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2xhdmUxU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHNsYXZlMVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMc2xhdmUyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADHNsYXZlMlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAMbWFzdGVyU2lnbmVkBQAAAAxzbGF2ZTFTaWduZWQFAAAADHNsYXZlMlNpZ25lZAAAAAAAAAAAAkou05c=",
"chainId": 84,
"height": 506583,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let masterPubKey = base58'3vsfMpBpi998LEochicZmwqStiz3HnSi7rXHqv5FSW3u' |
---|
| 4 | + | let slave1PubKey = base58'FyZvjiiRiVukayNWAJoQDLv3ouZo1BJ59ugtApNsuUjT' |
---|
| 5 | + | let slave2PubKey = base58'LefLKe7zXJYZhEhMh2RsuaGEUNAAmwqz7Jcu2KsH94u' |
---|
| 6 | + | let masterSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], masterPubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let slave1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], slave1PubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let slave2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], slave2PubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((masterSigned + slave1Signed) + slave2Signed) >= 2) |
---|