added the handler functions

This commit is contained in:
Alfred Kamanda 2025-08-25 17:28:11 +03:00
parent cda2d49f3e
commit c90d3cd731
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

@ -136,6 +136,9 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountService)
ls.DbRs.AddLocalFunc("swap_max_limit", appHandlers.SwapMaxLimit)
ls.DbRs.AddLocalFunc("swap_preview", appHandlers.SwapPreview)
ls.DbRs.AddLocalFunc("initiate_swap", appHandlers.InitiateSwap)
ls.DbRs.AddLocalFunc("transaction_swap_preview", appHandlers.TransactionSwapPreview)
ls.DbRs.AddLocalFunc("transaction_initiate_swap", appHandlers.TransactionInitiateSwap)
ls.first = appHandlers.Init
return appHandlers, nil