# Functions

CheckBalance checks if it's enough funds to spend specified gas limit.
CreateCtrlCContext returns context which's Done channel is closed when application should be terminated (on SIGINT, SIGTERM, SIGHUP, SIGQUIT signal).
InitLogging inits logging for root logger.
NewBackendFactory creates factory for creating Ethereum client.
NewEth creates Ethereum helper, preconfigured to work with specific blockchain from given parameters.
NewMathRandFixedSeed creates a new source of pseudo-random numbers that uses fixed seed, so it produces the same set of pseudo-random numbers.

# Variables

TestFactProviderKey is private key of fact provider (only used in simulated block-chain for test purposes).
TestMonethaAdminKey is private key of Monetha admin (only used in simulated block-chain for test purposes).
TestPassportOwnerKey is private key of passport owner (only used in simulated block-chain for test purposes).

# Structs

BackendFactory provides functions for creating clients, which are able to communicate with Ethereum backend based on configuration.
QuorumPrivateTxICommand - provides commands, needed for Quorum's private tx decrypting.
QuorumPrivateTxIOCommand - provides commands, needed for Quorum's private tx writing and decrypting.