Documentation ¶
Index ¶
- type SavePoint
- type Storage
- func (s *Storage) AddTransfer(transfer *Transfer) error
- func (s *Storage) GetTransfer(address *common.Address, count uint64) (*Transfer, error)
- func (s *Storage) GetTransferCount(address *common.Address) (uint64, error)
- func (s *Storage) LoadSavePoint() (*SavePoint, error)
- func (s *Storage) RawDump() error
- func (s *Storage) SetSavePoint(savePoint SavePoint) error
- type Transfer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage manages the application state
func (*Storage) AddTransfer ¶
func (*Storage) GetTransfer ¶
func (*Storage) GetTransferCount ¶
func (*Storage) LoadSavePoint ¶
func (*Storage) SetSavePoint ¶
SetGlobals in the storage.
Click to show internal directories.
Click to hide internal directories.