Documentation ¶
Index ¶
- func GetAddressesToWatch() []common.Address
- func GetBalance(client *ethclient.Client, address string, blockNumber string) float64
- func GetTransaction(client *rpc.Client, log types.Log) *models.Transaction
- func HandleNewLog(client *rpc.Client, log types.Log) error
- func ListenToERC1155Events(app models.App) error
- func SaveTransaction(tx models.Transaction) (bool, error)
- func Subscribe(app models.App, client *ethclient.Client, logsCh chan types.Log) error
- type Block
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddressesToWatch ¶
func GetBalance ¶
func GetTransaction ¶
func ListenToERC1155Events ¶
func SaveTransaction ¶
func SaveTransaction(tx models.Transaction) (bool, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.