Documentation ¶
Index ¶
- func GetAllGethTransactionsByMinerIDAndFromAddress(minerID *int, fromAddress string) ([]*gethlyletransactions.GethTransaction, error)
- func GetAllGethTransactionsByMinerIDAndFromAddressFromToDate(minerID *int, fromAddress string, fromDate, toDate *time.Time) ([]*gethlyletransactions.GethTransaction, error)
- func GetAllGethTransactionsByMinerIDAndFromAddressToDate(minerID *int, fromAddress string, toDate *time.Time) ([]*gethlyletransactions.GethTransaction, error)
- func GetDistinctAddressesFromGethTransactionsByMinerIDAndBeforeDate(minerID *int, beforeDate *time.Time) ([]string, error)
- func GetGethTransactionInputByFromMinerID(minerID *int) ([]*gethlyletransactions.GethTransactionInput, error)
- func GetMinAndMaxDatesFromTransactionsByMinerID(minerID *int) (*time.Time, *time.Time, error)
- func GetTotalMinerTransactionCount() (*int, error)
- func GetTotalMinerTransactionInputCount() (*int, error)
- func GetTotalMinersCount() (*int, error)
- func InsertGethMiner(gethMiner GethMiner) (int, string, error)
- func InsertGethMiners(gethMiners []*GethMiner) error
- func InsertGethMinersTransactionInputs(gethMinersTransactionInputs []*GethMinerTransactionInput) error
- func InsertGethMinersTransactions(gethMinersTransaction []*GethMinerTransaction) error
- func InsertMinerTransaction(minerTransactionInput GethMinerTransaction) (int, int, error)
- func InsertMinerTransactionInput(minerTransactionInput GethMinerTransactionInput) (int, int, error)
- func RemoveAllTransactionsAndTransactionInputs() error
- func RemoveGethMiner(gethMinerID int) error
- func RemoveMinerTransaction(minerID, transactionID *int) error
- func RemoveMinerTransactionInput(minerID, transactionInputID *int) error
- func UpdateGethMiner(gethMiner GethMiner) error
- func UpdateGethMinerAddresses(gethMinerID *int) error
- func UpdateMinerTransaction(minerTransactionInput GethMinerTransaction) error
- func UpdateMinerTransactionInput(minerTransactionInput GethMinerTransactionInput) error
- type GethMiner
- type GethMinerTransaction
- func GetAllGethMinerTransactionsByMinerID(minerID *int) ([]*GethMinerTransaction, error)
- func GetAllGethMinerTransactionsByTransactionID(transactionID *int) ([]*GethMinerTransaction, error)
- func GetMinerTransaction(minerID, transactionID *int) (*GethMinerTransaction, error)
- func GetMinerTransactionList(minerIDs, transactionIDs []int) ([]*GethMinerTransaction, error)
- func GetMinerTransactionListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]*GethMinerTransaction, error)
- type GethMinerTransactionInput
- func GetAllGethMinerTransactionInputsByMinerID(minerID *int) ([]*GethMinerTransactionInput, error)
- func GetAllGethMinerTransactionInputsByTransactionInputID(transactionInputID *int) ([]*GethMinerTransactionInput, error)
- func GetMinerTransactionInput(minerID, transactionInputID *int) (*GethMinerTransactionInput, error)
- func GetMinerTransactionInputList(minerIDs, transactionInputIDs []int) ([]*GethMinerTransactionInput, error)
- func GetMinerTransactionInputListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]*GethMinerTransactionInput, error)
- type GethMinerWithTransactionInput
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 GetGethTransactionInputByFromMinerID ¶ added in v1.3.58
func GetGethTransactionInputByFromMinerID(minerID *int) ([]*gethlyletransactions.GethTransactionInput, error)
func GetMinAndMaxDatesFromTransactionsByMinerID ¶ added in v1.3.58
func GetTotalMinersCount ¶ added in v1.3.52
func InsertGethMiners ¶
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 RemoveMinerTransaction ¶
func UpdateGethMiner ¶
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 GetGethMinerList ¶
func GetGethMinerListByMiningAssetId ¶ added in v1.3.58
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 }
Click to show internal directories.
Click to hide internal directories.