Documentation
¶
Overview ¶
Copyright 2017 - 2018 OneLedger
Copyright 2017 - 2018 OneLedger
Index ¶
- func BigToHex(bigInt big.Int) string
- func GetBTCAddressFromByteArray(chain data.ChainType, address []byte) *btcutil.AddressPubKeyHash
- func GetChainAddress(chain data.ChainType) []byte
- func GetETHAddressFromByteArray(chain data.ChainType, address []byte) *common.Address
- func IntToHex(i int) string
- func ParseBigInt(value string) (big.Int, error)
- func ParseInt(value string) (int, error)
- type Contract
- type HttpClient
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBTCAddressFromByteArray ¶ added in v0.5.0
func GetBTCAddressFromByteArray(chain data.ChainType, address []byte) *btcutil.AddressPubKeyHash
func GetChainAddress ¶ added in v0.7.1
func GetETHAddressFromByteArray ¶ added in v0.5.0
func ParseBigInt ¶
ParseBigInt parse hex string value to big.Int
Types ¶
type HttpClient ¶
Click to show internal directories.
Click to hide internal directories.