Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // ERC 20 InsertERC20(code *model.ERC20) error FindERC20(address common.Address) (result *model.ERC20, err error) ListERC20() ([]model.ERC20, error) // ERC 20 storage InsertERC20Storage(storage *model.ERC20Storage) error FindERC20Storage(address common.Address, key common.Hash, blockNr int64) (result *model.ERC20Storage, err error) DeleteERC20Storage(address common.Address, from, to int64) error LastSyncERC20Storage(address common.Address, blockNr int64) (result int64, err error) // ERC 20 transfer events InsertERC20Transfer(event *model.ERC20Transfer) error DeleteERC20Transfer(address common.Address, from, to int64) error // ETH transfer events InsertETHTransfer(event *model.ETHTransfer) error DeleteETHTransfer(from, to int64) error // Accounts InsertAccount(account *model.Account) error FindAccount(address common.Address, blockNr ...int64) (result *model.Account, err error) DeleteAccounts(from, to int64) error }
Click to show internal directories.
Click to hide internal directories.