gethlyleminers

package
v1.3.61 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllGethTransactionsByMinerIDAndFromAddress added in v1.3.58

func GetAllGethTransactionsByMinerIDAndFromAddress(minerID *int, fromAddress string) ([]*gethlyletransactions.GethTransaction, error)

func GetAllGethTransactionsByMinerIDAndFromAddressFromToDate added in v1.3.60

func GetAllGethTransactionsByMinerIDAndFromAddressFromToDate(minerID *int, fromAddress string, fromDate, toDate *time.Time) ([]*gethlyletransactions.GethTransaction, error)

fromDate inclusive and toDate exclusive

func GetAllGethTransactionsByMinerIDAndFromAddressToDate added in v1.3.58

func GetAllGethTransactionsByMinerIDAndFromAddressToDate(minerID *int, fromAddress string, toDate *time.Time) ([]*gethlyletransactions.GethTransaction, error)

func GetDistinctAddressesFromGethTransactionsByMinerIDAndBeforeDate added in v1.3.58

func GetDistinctAddressesFromGethTransactionsByMinerIDAndBeforeDate(minerID *int, beforeDate *time.Time) ([]string, error)

func GetGethTransactionInputByFromMinerID added in v1.3.58

func GetGethTransactionInputByFromMinerID(minerID *int) ([]*gethlyletransactions.GethTransactionInput, error)

func GetMinAndMaxDatesFromTransactionsByMinerID added in v1.3.58

func GetMinAndMaxDatesFromTransactionsByMinerID(minerID *int) (*time.Time, *time.Time, error)

func GetTotalMinerTransactionCount

func GetTotalMinerTransactionCount() (*int, error)

func GetTotalMinerTransactionInputCount

func GetTotalMinerTransactionInputCount() (*int, error)

func GetTotalMinersCount added in v1.3.52

func GetTotalMinersCount() (*int, error)

func InsertGethMiner

func InsertGethMiner(gethMiner GethMiner) (int, string, error)

func InsertGethMiners

func InsertGethMiners(gethMiners []*GethMiner) error

func InsertGethMinersTransactionInputs

func InsertGethMinersTransactionInputs(gethMinersTransactionInputs []*GethMinerTransactionInput) error

func InsertGethMinersTransactions added in v1.3.57

func InsertGethMinersTransactions(gethMinersTransaction []*GethMinerTransaction) error

func InsertMinerTransaction

func InsertMinerTransaction(minerTransactionInput GethMinerTransaction) (int, int, error)

func InsertMinerTransactionInput

func InsertMinerTransactionInput(minerTransactionInput GethMinerTransactionInput) (int, int, error)

func RemoveAllTransactionsAndTransactionInputs added in v1.3.58

func RemoveAllTransactionsAndTransactionInputs() error

func RemoveGethMiner

func RemoveGethMiner(gethMinerID int) error

func RemoveMinerTransaction

func RemoveMinerTransaction(minerID, transactionID *int) error

func RemoveMinerTransactionInput

func RemoveMinerTransactionInput(minerID, transactionInputID *int) error

func UpdateGethMiner

func UpdateGethMiner(gethMiner GethMiner) error

func UpdateGethMinerAddresses

func UpdateGethMinerAddresses(gethMinerID *int) error

func UpdateMinerTransaction

func UpdateMinerTransaction(minerTransactionInput GethMinerTransaction) error

func UpdateMinerTransactionInput

func UpdateMinerTransactionInput(minerTransactionInput GethMinerTransactionInput) error

Types

type GethMiner

type GethMiner struct {
	ID                  *int      `json:"id"`
	UUID                string    `json:"uuid"`
	Name                string    `json:"name"`
	AlternateName       string    `json:"alternateName"`
	ChainID             *int      `json:"chainId"`
	ExchangeID          *int      `json:"exchangeId"`
	StartingBlockNumber *int      `json:"startingBlockNumber"`
	CreatedTxnHash      string    `json:"createdTxnHash"`
	LastBlockNumber     *uint64   `json:"lastBlockNumber"`
	ContractAddress     string    `json:"contractAddress"`
	ContractAddressID   *int      `json:"contractAddressId"`
	DeveloperAddress    string    `json:"developerAddress"`
	DeveloperAddressID  *int      `json:"developerAddressId"`
	MiningAssetID       *int      `json:"miningAssetId"`
	Description         string    `json:"description"`
	CreatedBy           string    `json:"createdBy"`
	CreatedAt           time.Time `json:"createdAt"`
	UpdatedBy           string    `json:"updatedBy"`
	UpdatedAt           time.Time `json:"updatedAt"`
}

func GetGethMiner

func GetGethMiner(gethMinerID int) (*GethMiner, error)

func GetGethMinerList

func GetGethMinerList() ([]*GethMiner, error)

func GetGethMinerListByMiningAssetId added in v1.3.58

func GetGethMinerListByMiningAssetId(miningAssetID *int) ([]*GethMiner, error)

func GetMinerListByPagination added in v1.3.52

func GetMinerListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]*GethMiner, error)

for refinedev

type GethMinerTransaction

type GethMinerTransaction struct {
	MinerID       *int      `json:"minerId"`
	TransactionID *int      `json:"transactionId"`
	UUID          string    `json:"uuid"`
	Name          string    `json:"name"`
	AlternateName string    `json:"alternateName"`
	Description   string    `json:"description"`
	CreatedBy     string    `json:"createdBy"`
	CreatedAt     time.Time `json:"createdAt"`
	UpdatedBy     string    `json:"updatedBy"`
	UpdatedAt     time.Time `json:"updatedAt"`
}

func GetAllGethMinerTransactionsByMinerID

func GetAllGethMinerTransactionsByMinerID(minerID *int) ([]*GethMinerTransaction, error)

func GetAllGethMinerTransactionsByTransactionID

func GetAllGethMinerTransactionsByTransactionID(transactionID *int) ([]*GethMinerTransaction, error)

func GetMinerTransaction

func GetMinerTransaction(minerID, transactionID *int) (*GethMinerTransaction, error)

func GetMinerTransactionList

func GetMinerTransactionList(minerIDs, transactionIDs []int) ([]*GethMinerTransaction, error)

func GetMinerTransactionListByPagination

func GetMinerTransactionListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]*GethMinerTransaction, error)

for refinedev

type GethMinerTransactionInput

type GethMinerTransactionInput struct {
	MinerID            *int      `json:"minerId"`
	TransactionInputID *int      `json:"transactionInputId"`
	UUID               string    `json:"uuid"`
	Name               string    `json:"name"`
	AlternateName      string    `json:"alternateName"`
	Description        string    `json:"description"`
	CreatedBy          string    `json:"createdBy"`
	CreatedAt          time.Time `json:"createdAt"`
	UpdatedBy          string    `json:"updatedBy"`
	UpdatedAt          time.Time `json:"updatedAt"`
}

func GetAllGethMinerTransactionInputsByMinerID

func GetAllGethMinerTransactionInputsByMinerID(minerID *int) ([]*GethMinerTransactionInput, error)

func GetAllGethMinerTransactionInputsByTransactionInputID

func GetAllGethMinerTransactionInputsByTransactionInputID(transactionInputID *int) ([]*GethMinerTransactionInput, error)

func GetMinerTransactionInput

func GetMinerTransactionInput(minerID, transactionInputID *int) (*GethMinerTransactionInput, error)

func GetMinerTransactionInputList

func GetMinerTransactionInputList(minerIDs, transactionInputIDs []int) ([]*GethMinerTransactionInput, error)

func GetMinerTransactionInputListByPagination

func GetMinerTransactionInputListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]*GethMinerTransactionInput, error)

for refinedev

type GethMinerWithTransactionInput

type GethMinerWithTransactionInput struct {
	GethMinerTransactionInput
	GethMiner
}

Jump to

Keyboard shortcuts

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