Safe Haskell | None |
---|---|
Language | Haskell2010 |
Block definitions
Synopsis
- newtype Account = Account {}
- accountLength :: Int
- zeroAccount :: Account
- newtype Representative = Representative {}
- newtype AccountAddress = AccountAddress {}
- toAccountAddress :: Account -> AccountAddress
- fromAccountAddress :: AccountAddress -> Either String Account
- accountAddressPrefix :: ShortByteString
Documentation
Instances
Eq Account # | |
Show Account # | |
IsString Account # | |
Defined in Gini.Core.Types.Account fromString :: String -> Account # | |
Display Account # | |
Defined in Gini.Core.Types.Account display :: Account -> Utf8Builder textDisplay :: Account -> Text | |
ByteArrayAccess Account # | |
Validity Account # | |
Defined in Gini.Core.Types.Account | |
Persist Account # | |
Defined in Gini.Core.Types.Account | |
PersistField Account # | |
Defined in Gini.Core.Types.Account toPersistValue :: Account -> PersistValue fromPersistValue :: PersistValue -> Either Text Account | |
PersistFieldSql Account # | |
Defined in Gini.Core.Types.Account |
accountLength :: Int #
zeroAccount :: Account #
This is known as a Burn acccount. It is a public key with all zeros in it.
newtype Representative #
Instances
newtype AccountAddress #
Public key of an account
Instances
toAccountAddress :: Account -> AccountAddress #
Construct an account address from a public key