log processor
This commit is contained in:
@ -14,6 +14,9 @@ async def init_db():
|
||||
await prisma_client.connect()
|
||||
|
||||
async def store_transaction(wallet_id, transaction_type, sell_currency, sell_amount, sell_value, buy_currency, buy_amount, buy_value, solana_signature, details=None):
|
||||
"""
|
||||
Store a transaction record in the database.
|
||||
"""
|
||||
await prisma_client.transaction.create(
|
||||
data={
|
||||
'wallet_id': wallet_id,
|
||||
|
Reference in New Issue
Block a user