gethlyleminers

package
v1.3.57 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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     *int      `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 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