new_cdp

package
v0.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const InsertNewCdpQuery = `` /* 176-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type NewCdpConverter

type NewCdpConverter struct{}

func (NewCdpConverter) ToModels

func (converter NewCdpConverter) ToModels(abi string, logs []core.HeaderSyncLog) ([]shared.InsertionModel, error)

type NewCdpEntity

type NewCdpEntity struct {
	Usr      common.Address
	Own      common.Address
	Cdp      *big.Int
	HeaderID int64
	LogID    int64
}

type NewCdpRepository

type NewCdpRepository struct {
	// contains filtered or unexported fields
}

func (NewCdpRepository) Create

func (repository NewCdpRepository) Create(models []shared.InsertionModel) error

func (*NewCdpRepository) SetDB

func (repository *NewCdpRepository) SetDB(db *postgres.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL