Documentation ¶
Index ¶
- func BlockByNumber(number int64) (*types.Block, error)
- func BlockNumber() (uint64, error)
- func GetAbI(abijson string) abi.ABI
- func GetChainLog(start, end int64, contracts []common.Address, topics []common.Hash) ([]types.Log, error)
- func GetGasLimit(addressSer, formAddress, contractAddress, method string, gasPrice *big.Int, ...) (uint64, error)
- func InitClient(addressSer string)
- func NewKeystore(auth string) (address string, store string, privatekey string, err error)
- func Signature(addressSer, privatekey string, nonce int64) (*bind.TransactOpts, common.Address, int64, error)
- func SplitVlogData(input string) ([]string, error)
- type ChainApi
- type VlogManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockNumber ¶
func GetChainLog ¶
func GetGasLimit ¶
func InitClient ¶
func InitClient(addressSer string)
func NewKeystore ¶
生成keystore
func SplitVlogData ¶
Types ¶
type ChainApi ¶
type ChainApi struct { EthRpcAddress string // contains filtered or unexported fields }
func (*ChainApi) BlockByNumber ¶
func (*ChainApi) BlockNumber ¶
func (*ChainApi) GetChainLog ¶
func (*ChainApi) InitClient ¶
func (Obj *ChainApi) InitClient()
Click to show internal directories.
Click to hide internal directories.