Export the `ToSign` structure from` morley-multisig`
Description
Problem: Multisig contracts create a structure that embedd the operation and some other data like the contract address, and verifies the incoming signatures on this data. If there is some miscommunication about this structure, then the good signatures can fail on the contract.
Solution: Export this structure from the multisig contract
implementations so that the consumers will have a type safe way to form
this ToSign
structure for signining.
Related issue(s)
Resolves #
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.