Documentation ¶
Index ¶
- func GetNullAddressStrsFromTransactionInputs() ([]string, error)
- func GetNullAddressStrsFromTransactions() ([]string, error)
- func InsertGethTransaction(gethTransaction GethTransaction) (int, string, error)
- func InsertGethTransactionInput(gethTransactionInput GethTransactionInput) (int, string, error)
- func InsertGethTransactionInputs(gethTransactionInputs []*GethTransactionInput) error
- func InsertGethTransactions(gethTransactions []*GethTransaction) error
- func RemoveGethTransaction(gethTransactionID int) error
- func RemoveGethTransactionInput(gethTransactionInputID int) error
- func RemoveGethTransactionInputsFromChainID(chainID *int) error
- func RemoveGethTransactionInputsFromChainIDAndStartBlockNumber(chainID, startBlockNumber *int) error
- func RemoveGethTransactionsFromChainID(chainID *int) error
- func RemoveGethTransactionsFromChainIDAndStartBlockNumber(chainID, startBlockNumber *int) error
- func UpdateGethTransaction(gethTransaction GethTransaction) error
- func UpdateGethTransactionAddresses() error
- func UpdateGethTransactionInput(gethTransactionInput GethTransactionInput) error
- func UpdateGethTransactionInputAddresses() error
- type GethTransaction
- func GetGethTransaction(gethTransactionID int) (*GethTransaction, error)
- func GetGethTransactionByFromAddressAndBeforeBlockNumber(fromAddressID, blockNumber *int) ([]GethTransaction, error)
- func GetGethTransactionByFromToAddress(fromToAddressID *int) ([]GethTransaction, error)
- func GetGethTransactionList() ([]GethTransaction, error)
- func GetGethTransactionsByTxnHash(txnHash string) ([]GethTransaction, error)
- func GetGethTransactionsByTxnHashes(txnHashes []string) ([]GethTransaction, error)
- type GethTransactionInput
- func GetGethTransactionInput(gethTransactionInputID int) (*GethTransactionInput, error)
- func GetGethTransactionInputByFromAddressAndBeforeBlockNumber(fromAddressID, blockNumber *int) ([]GethTransactionInput, error)
- func GetGethTransactionInputByFromToAddress(fromToAddressID *int) ([]GethTransactionInput, error)
- func GetGethTransactionInputList() ([]GethTransactionInput, error)
- func GetGethTransactionInputsByTxnHash(txnHash string) ([]GethTransactionInput, error)
- func GetGethTransactionInputsByTxnHashes(txnHashes []string) ([]GethTransactionInput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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)
Click to show internal directories.
Click to hide internal directories.