Documentation ¶
Index ¶
- type DbTx
- type SqlDB
- func (sdb *SqlDB) ExecuteTx(ctx context.Context, callback func(*DbTx) error) (retErr error)
- func (sdb *SqlDB) GetApprovedFarms(ctx context.Context) ([]types.Farm, error)
- func (sdb *SqlDB) GetCurrentAcummulatedAmountForAddress(ctx context.Context, address string, farmId int64) (decimal.Decimal, error)
- func (sdb *SqlDB) GetFarmAuraPoolCollections(ctx context.Context, farmId int64) ([]types.AuraPoolCollection, error)
- func (sdb *SqlDB) GetLastUTXOTransactionByFarmId(ctx context.Context, farmId int64) (types.UTXOTransaction, error)
- func (sdb *SqlDB) GetPayoutTimesForNFT(ctx context.Context, collectionDenomId string, nftId string) ([]types.NFTStatistics, error)
- func (sdb *SqlDB) GetTxHashesByStatus(ctx context.Context, status string) ([]types.TransactionHashWithStatus, error)
- func (sdb *SqlDB) GetUTXOTransaction(ctx context.Context, txHash string) (types.UTXOTransaction, error)
- func (sdb *SqlDB) SaveRBFTransactionInformation(ctx context.Context, ...) error
- func (sdb *SqlDB) SaveStatistics(ctx context.Context, receivedRewardForFarmBtcDecimal decimal.Decimal, ...) (retErr error)
- func (sdb *SqlDB) SaveTxHashWithStatus(ctx context.Context, txHash, txStatus, farmSubAccountName string, ...) error
- func (sdb *SqlDB) SetInitialAccumulatedAmountForAddress(ctx context.Context, address string, farmId int64, amount int) error
- func (sdb *SqlDB) UpdateThresholdStatus(ctx context.Context, processedTransaction string, paymentTimestamp int64, ...) (retErr error)
- func (sdb *SqlDB) UpdateTransactionsStatus(ctx context.Context, txHashes []string, txStatus string) error
- type SqlExecutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlDB ¶
func (*SqlDB) GetApprovedFarms ¶
func (*SqlDB) GetCurrentAcummulatedAmountForAddress ¶
func (*SqlDB) GetFarmAuraPoolCollections ¶
func (*SqlDB) GetLastUTXOTransactionByFarmId ¶
func (*SqlDB) GetPayoutTimesForNFT ¶
func (*SqlDB) GetTxHashesByStatus ¶
func (*SqlDB) GetUTXOTransaction ¶
func (*SqlDB) SaveRBFTransactionInformation ¶
func (*SqlDB) SaveStatistics ¶
func (sdb *SqlDB) SaveStatistics( ctx context.Context, receivedRewardForFarmBtcDecimal decimal.Decimal, collectionPaymentAllocationsStatistics []types.CollectionPaymentAllocation, destinationAddressesWithAmount map[string]types.AmountInfo, statistics []types.NFTStatistics, txHash string, farmId int64, farmSubAccountName string, ) (retErr error)
func (*SqlDB) SaveTxHashWithStatus ¶
func (*SqlDB) SetInitialAccumulatedAmountForAddress ¶
func (*SqlDB) UpdateThresholdStatus ¶
Click to show internal directories.
Click to hide internal directories.