# README
mycryptohq/infrastructure/common/etherclient
A simple shared pkg to simplify ethereum node interaction and conversion
To use, first initialize an ethclient. Then use it to make calls.
client := etherclient.MakeETHClient("https://localhost:8000")
bal, err := etherclient.GetBalance(client, address)
if err != nil {
return float64(0), err
}
return etherclient.ConvertFromWei(bal), nil
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewToken creates a new instance of Token, bound to a specific deployed contract.
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
TokenABI is the input ABI used to generate the binding from.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Token is an auto generated Go binding around an Ethereum contract.
TokenApproval represents a Approval event raised by the Token contract.
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
No description provided by the author
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
TokenTransfer represents a Transfer event raised by the Token contract.
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
TokenTransfer represents a Transfer event raised by the Token contract.
# Interfaces
No description provided by the author