Documentation ¶
Index ¶
- func GetDistinctAddressesFromAssetId(assetID *int) ([]gethlyleaddresses.GethAddress, error)
- func GetDistinctTransactionHashesFromAssetIdAndStartingBlock(assetID *int, startingBlock *uint64) ([]string, error)
- func GetHighestBlockFromBaseAssetId(baseAssetID *int) (*uint64, error)
- func GetNullAddressStrsFromTransfers(baseAssetID *int) ([]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 RemoveGethTransfer(gethTransferID int) error
- func RemoveGethTransfersFromBaseAssetID(baseAssetID *int) error
- func RemoveGethTransfersFromBaseAssetIDAndStartBlockNumber(baseAssetID *int, startBlockNumber *int) error
- func UpdateGethTransfer(gethTransfer GethTransfer) error
- func UpdateGethTransferAddresses(baseAssetID *int) error
- func UpdateGethTransfersAssetIDs() error
- type Attrs
- type GethTransfer
- func GetGethTransfer(gethTransferID int) (*GethTransfer, error)
- func GetGethTransferByBlockChain(txnHash string, blockNumber *uint64, indexNumber *uint) (*GethTransfer, error)
- func GetGethTransferByFromBaseAssetIDAndBeforeBlockNumber(baseAssetID, blockNumber *int) ([]GethTransfer, error)
- func GetGethTransferByFromMakerAddressAndTokenAddressID(makerAddressID *int, tokenAddressID *int) ([]GethTransfer, error)
- func GetGethTransferByFromMakerAddressAndTokenAddressIDAndBeforeBlockNumber(makerAddressID, baseAssetID, blockNumber *int) ([]GethTransfer, error)
- func GetGethTransferByFromTokenAddress(tokenAddressID *int) ([]GethTransfer, error)
- func GetGethTransferList() ([]GethTransfer, error)
- func GetGethTransfersByTxnHash(txnHash string, baseAssetID *int) ([]GethTransfer, error)
- func GetGethTransfersByTxnHashes(txnHashes []string, baseAssetID *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 GetDistinctTransactionHashesFromAssetIdAndStartingBlock ¶ added in v1.3.0
func GetHighestBlockFromBaseAssetId ¶ added in v1.3.13
func InsertGethTransfer ¶
func InsertGethTransfer(gethTransfer GethTransfer) (int, string, error)
func InsertGethTransfers ¶
func InsertGethTransfers(gethTransfers []*GethTransfer) error
func RemoveGethTransfer ¶ added in v1.3.1
func RemoveGethTransfersFromBaseAssetID ¶ added in v1.3.46
func RemoveGethTransfersFromBaseAssetIDAndStartBlockNumber ¶ added in v1.3.13
func UpdateGethTransfer ¶
func UpdateGethTransfer(gethTransfer GethTransfer) error
func UpdateGethTransfersAssetIDs ¶ added in v1.3.0
func UpdateGethTransfersAssetIDs() 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"` BaseAssetID *int `json:"baseAssetId"` TransferTypeID *int `json:"transferTypeId"` }
func GetGethTransfer ¶
func GetGethTransfer(gethTransferID int) (*GethTransfer, error)
func GetGethTransferByBlockChain ¶
func GetGethTransferByBlockChain(txnHash string, blockNumber *uint64, indexNumber *uint) (*GethTransfer, error)
func GetGethTransferByFromBaseAssetIDAndBeforeBlockNumber ¶ added in v1.3.25
func GetGethTransferByFromBaseAssetIDAndBeforeBlockNumber(baseAssetID, blockNumber *int) ([]GethTransfer, error)
func GetGethTransferByFromMakerAddressAndTokenAddressID ¶
func GetGethTransferByFromMakerAddressAndTokenAddressID(makerAddressID *int, tokenAddressID *int) ([]GethTransfer, error)
func GetGethTransferByFromMakerAddressAndTokenAddressIDAndBeforeBlockNumber ¶ added in v1.3.14
func GetGethTransferByFromMakerAddressAndTokenAddressIDAndBeforeBlockNumber(makerAddressID, baseAssetID, blockNumber *int) ([]GethTransfer, error)
func GetGethTransferByFromTokenAddress ¶
func GetGethTransferByFromTokenAddress(tokenAddressID *int) ([]GethTransfer, error)
func GetGethTransferList ¶ added in v1.3.1
func GetGethTransferList() ([]GethTransfer, error)
func GetGethTransfersByTxnHash ¶ added in v1.3.0
func GetGethTransfersByTxnHash(txnHash string, baseAssetID *int) ([]GethTransfer, error)
func GetGethTransfersByTxnHashes ¶ added in v1.3.15
func GetGethTransfersByTxnHashes(txnHashes []string, baseAssetID *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.