Documentation ¶
Index ¶
- func GetDistinctAddressesFromAssetId(assetID *int) ([]gethlyleaddresses.GethAddress, error)
- func GetHighestBlockFromAssetId(assetID *int) (*uint64, error)
- func GetNullAddressStrsFromTransfers() ([]string, error)
- func GetTransfersTransactionHashByUserAddress(userAddressID *int, assetID *int, blockNumber *uint64) ([]string, error)
- func InsertGethTransfer(gethTransfer GethTransfer) (int, string, error)
- func InsertGethTransfers(gethTransfers []*GethTransfer) error
- func RemoveGethTransfersFromAssetIDAndStartBlockNumber(assetID *int, startBlockNumber *int) error
- func UpdateGethTransfer(gethTransfer GethTransfer) error
- func UpdateGethTransferAddresses() error
- type Attrs
- type GethTransfer
- func GetGethTransfer(gethTransferID int) (*GethTransfer, error)
- func GetGethTransferByBlockChain(txnHash string, blockNumber *uint64, indexNumber *uint) (*GethTransfer, error)
- func GetGethTransferByFromMakerAddressAndTokenAddressID(makerAddressID *int, tokenAddressID *int) ([]GethTransfer, error)
- func GetGethTransferByFromTokenAddress(tokenAddressID *int) ([]GethTransfer, error)
- type GethTransferAudit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDistinctAddressesFromAssetId ¶
func GetDistinctAddressesFromAssetId(assetID *int) ([]gethlyleaddresses.GethAddress, error)
func InsertGethTransfer ¶
func InsertGethTransfer(gethTransfer GethTransfer) (int, string, error)
func InsertGethTransfers ¶
func InsertGethTransfers(gethTransfers []*GethTransfer) error
func UpdateGethTransfer ¶
func UpdateGethTransfer(gethTransfer GethTransfer) error
func UpdateGethTransferAddresses ¶
func UpdateGethTransferAddresses() error
Types ¶
type GethTransfer ¶
type GethTransfer struct { ID *int `json:"id"` UUID string `json:"uuid"` ChainID *int `json:"chainId"` TokenAddress string `json:"tokenAddress"` TokenAddressID *int `json:"tokenAddressId"` AssetID *int `json:"assetId"` BlockNumber *uint64 `json:"blockNumber"` IndexNumber *uint `json:"indexNumber"` TransferDate time.Time `json:"transferDate"` TxnHash string `json:"txnHash"` SenderAddress string `json:"senderAddress"` SenderAddressID *int `json:"senderAddressID"` ToAddress string `json:"toAddress"` ToAddressID *int `json:"toAddressID"` Amount *decimal.Decimal `json:"amount"` Description string `json:"description"` CreatedBy string `json:"createdBy"` CreatedAt time.Time `json:"createdAt"` UpdatedBy string `json:"updatedBy"` UpdatedAt time.Time `json:"updatedAt"` GethProcessJobID *int `json:"gethProcessJobId"` TopicsStr []string `json:"topicsStr"` StatusID *int `json:"statusId"` }
func GetGethTransfer ¶
func GetGethTransfer(gethTransferID int) (*GethTransfer, error)
func GetGethTransferByBlockChain ¶
func GetGethTransferByBlockChain(txnHash string, blockNumber *uint64, indexNumber *uint) (*GethTransfer, error)
func GetGethTransferByFromMakerAddressAndTokenAddressID ¶
func GetGethTransferByFromMakerAddressAndTokenAddressID(makerAddressID *int, tokenAddressID *int) ([]GethTransfer, error)
func GetGethTransferByFromTokenAddress ¶
func GetGethTransferByFromTokenAddress(tokenAddressID *int) ([]GethTransfer, error)
type GethTransferAudit ¶
type GethTransferAudit struct { GethTransfer GethTransferAuditId *int `json:"gethTransferAuditId" db:"geth_transfer_audit_id"` GethProcessVlogJobID *int `json:"gethProcessVlogJobId" db:"geth_process_vlog_job_id"` InsertTypeID *int `json:"insertTypeId" db:"insert_type_id"` }
Click to show internal directories.
Click to hide internal directories.