Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheTokensRepository ¶
type CacheTokensRepository struct {
// contains filtered or unexported fields
}
func NewCacheTokensRepository ¶
func NewCacheTokensRepository(connection string) (*CacheTokensRepository, error)
func (*CacheTokensRepository) GetDecimals ¶
func (r *CacheTokensRepository) GetDecimals(token types.Address) (uint8, error)
type MockCacheTokensRepository ¶
type MockCacheTokensRepository struct {
// contains filtered or unexported fields
}
func NewMockCacheTokensRepository ¶
func NewMockCacheTokensRepository() *MockCacheTokensRepository
func (*MockCacheTokensRepository) AddToken ¶
func (m *MockCacheTokensRepository) AddToken(token types.Address, decimals uint8)
func (*MockCacheTokensRepository) GetDecimals ¶
func (m *MockCacheTokensRepository) GetDecimals(token types.Address) (uint8, error)
Click to show internal directories.
Click to hide internal directories.