Add commission wallet support in Lamassu configuration: update database schema to include commission_wallet_id, modify related models and CRUD operations, and implement commission payment functionality in transaction processing. Enhance UI components to allow selection of the commission wallet for improved user experience.
This commit is contained in:
parent
033e329870
commit
df8b36fc0f
6 changed files with 116 additions and 2 deletions
|
|
@ -200,3 +200,15 @@ async def m010_add_source_wallet_to_lamassu_config(db):
|
|||
ADD COLUMN source_wallet_id TEXT;
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
async def m011_add_commission_wallet_to_lamassu_config(db):
|
||||
"""
|
||||
Add commission wallet ID to Lamassu configuration table for commission earnings.
|
||||
"""
|
||||
await db.execute(
|
||||
"""
|
||||
ALTER TABLE myextension.lamassu_config
|
||||
ADD COLUMN commission_wallet_id TEXT;
|
||||
"""
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue