Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API smart constructors #136

Merged
merged 6 commits into from
Apr 1, 2019
Merged

Commits on Apr 1, 2019

  1. Add smart constructor mkApiMnemonic.

    Use this function to simplify the `FromJSON` instance for `ApiMnemonic`.
    jonathanknowles committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    a003fd7 View commit details
    Browse the repository at this point in the history
  2. Add smart constructor decodeApiAddress and its inverse.

    * Use these functions to simplify the `FromJSON` and `ToJSON` instances for
      `ApiT Address`.
    * Export these functions, allowing them to be used elsewhere.
    jonathanknowles committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    1e4b797 View commit details
    Browse the repository at this point in the history
  3. Add smart constructor decodeApiEncryptionPassphrase and its inverse.

    * Use these functions to simplify the `ApiT (Passphrase "encryption")`
      FromJSON and ToJSON instances.
    * Export them from the module.
    jonathanknowles committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    b73bce8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8284d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e33f58a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    12bbe36 View commit details
    Browse the repository at this point in the history