flap

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InsertKicksQuery = `INSERT INTO maker.flap_kicks (block_number, block_hash, address_id, kicks) VALUES ($1, $2, $3, $4) ON CONFLICT DO NOTHING`
)

Variables

Functions

This section is empty.

Types

type FlapStorageRepository

type FlapStorageRepository struct {
	ContractAddress string
	// contains filtered or unexported fields
}

func (*FlapStorageRepository) Create

func (repository *FlapStorageRepository) Create(blockNumber int, blockHash string, metadata utils.StorageValueMetadata, value interface{}) error

func (*FlapStorageRepository) SetDB

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

type StorageKeysLookup

type StorageKeysLookup struct {
	StorageRepository storage.IMakerStorageRepository

	ContractAddress string
	// contains filtered or unexported fields
}

func (*StorageKeysLookup) Lookup

func (mapping *StorageKeysLookup) Lookup(key common.Hash) (utils.StorageValueMetadata, error)

func (*StorageKeysLookup) SetDB

func (mapping *StorageKeysLookup) 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