gethlyletransactions

package
v1.3.53 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNullAddressStrsFromTransactionInputs

func GetNullAddressStrsFromTransactionInputs() ([]string, error)

func GetNullAddressStrsFromTransactions

func GetNullAddressStrsFromTransactions() ([]string, error)

func InsertGethTransaction

func InsertGethTransaction(gethTransaction GethTransaction) (int, string, error)

func InsertGethTransactionInput

func InsertGethTransactionInput(gethTransactionInput GethTransactionInput) (int, string, error)

func InsertGethTransactionInputs

func InsertGethTransactionInputs(gethTransactionInputs []*GethTransactionInput) error

func InsertGethTransactions

func InsertGethTransactions(gethTransactions []*GethTransaction) error

func RemoveGethTransaction

func RemoveGethTransaction(gethTransactionID int) error

func RemoveGethTransactionInput

func RemoveGethTransactionInput(gethTransactionInputID int) error

func RemoveGethTransactionInputsFromChainID

func RemoveGethTransactionInputsFromChainID(chainID *int) error

func RemoveGethTransactionInputsFromChainIDAndStartBlockNumber

func RemoveGethTransactionInputsFromChainIDAndStartBlockNumber(chainID, startBlockNumber *int) error

func RemoveGethTransactionsFromChainID

func RemoveGethTransactionsFromChainID(chainID *int) error

func RemoveGethTransactionsFromChainIDAndStartBlockNumber

func RemoveGethTransactionsFromChainIDAndStartBlockNumber(chainID, startBlockNumber *int) error

func UpdateGethTransaction

func UpdateGethTransaction(gethTransaction GethTransaction) error

func UpdateGethTransactionAddresses

func UpdateGethTransactionAddresses() error

func UpdateGethTransactionInput

func UpdateGethTransactionInput(gethTransactionInput GethTransactionInput) error

func UpdateGethTransactionInputAddresses

func UpdateGethTransactionInputAddresses() error

Types

type GethTransaction

type GethTransaction struct {
	ID                          *int             `json:"id"`
	UUID                        string           `json:"uuid"`
	ChainID                     *int             `json:"chainId"`
	ExchangeID                  *int             `json:"exchangeId"`
	BlockNumber                 *uint64          `json:"blockNumber"`
	IndexNumber                 *uint            `json:"indexNumber"`
	TxnDate                     time.Time        `json:"txnDate"`
	TxnHash                     string           `json:"txnHash"`
	FromAddress                 string           `json:"senderAddress"`
	FromAddressID               *int             `json:"senderAddressID"`
	ToAddress                   string           `json:"toAddress"`
	ToAddressID                 *int             `json:"toAddressID"`
	InteractedContractAddress   string           `json:"senderAddress"`
	InteractedContractAddressID *int             `json:"senderAddressID"`
	NativeAssetID               *int             `json:"nativeAssetId"`
	GethProcessJobID            *int             `json:"gethProcessJobId"`
	Value                       *decimal.Decimal `json:"value"`
	GethTransctionInputId       *int             `json:"gethTransctionInputId"`
	StatusID                    *int             `json:"statusId"`
	Description                 string           `json:"description"`
	CreatedBy                   string           `json:"createdBy"`
	CreatedAt                   time.Time        `json:"createdAt"`
	UpdatedBy                   string           `json:"updatedBy"`
	UpdatedAt                   time.Time        `json:"updatedAt"`
}

func GetGethTransaction

func GetGethTransaction(gethTransactionID int) (*GethTransaction, error)

func GetGethTransactionByFromAddressAndBeforeBlockNumber

func GetGethTransactionByFromAddressAndBeforeBlockNumber(fromAddressID, blockNumber *int) ([]GethTransaction, error)

func GetGethTransactionByFromToAddress

func GetGethTransactionByFromToAddress(fromToAddressID *int) ([]GethTransaction, error)

func GetGethTransactionList

func GetGethTransactionList() ([]GethTransaction, error)

func GetGethTransactionsByTxnHash

func GetGethTransactionsByTxnHash(txnHash string) ([]GethTransaction, error)

func GetGethTransactionsByTxnHashes

func GetGethTransactionsByTxnHashes(txnHashes []string) ([]GethTransaction, error)

type GethTransactionInput

type GethTransactionInput struct {
	ID              *int      `json:"id"`
	UUID            string    `json:"uuid"`
	Name            string    `json:"name"`
	AlternateName   string    `json:"alternateName"`
	FunctionName    string    `json:"functionName"`
	MethodIDStr     string    `json:"methodIdStr"`
	NumOfParameters *int      `json:"numOfParameters"`
	Description     string    `json:"description"`
	CreatedBy       string    `json:"createdBy"`
	CreatedAt       time.Time `json:"createdAt"`
	UpdatedBy       string    `json:"updatedBy"`
	UpdatedAt       time.Time `json:"updatedAt"`
}

func GetGethTransactionInput

func GetGethTransactionInput(gethTransactionInputID int) (*GethTransactionInput, error)

func GetGethTransactionInputByFromAddressAndBeforeBlockNumber

func GetGethTransactionInputByFromAddressAndBeforeBlockNumber(fromAddressID, blockNumber *int) ([]GethTransactionInput, error)

func GetGethTransactionInputByFromToAddress

func GetGethTransactionInputByFromToAddress(fromToAddressID *int) ([]GethTransactionInput, error)

func GetGethTransactionInputList

func GetGethTransactionInputList() ([]GethTransactionInput, error)

func GetGethTransactionInputsByTxnHash

func GetGethTransactionInputsByTxnHash(txnHash string) ([]GethTransactionInput, error)

func GetGethTransactionInputsByTxnHashes

func GetGethTransactionInputsByTxnHashes(txnHashes []string) ([]GethTransactionInput, error)

Jump to

Keyboard shortcuts

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