Stars
1
Forks
0
Watchers
1
Open Issues
0
Overall repository health assessment
No package.json found
This might not be a Node.js project
8
commits
app data storage migrated to postgres database, new functions were implemented in database.go to insert, update, delete, select and iterate over contained data in said database. In withdrawal http call function approve and transferFrom calls were changed to single transfer call.
873a14aView on GitHubdepositListener only listens to incoming transfer events and updates off-chain user balance. autoTransfer function was returned and is used to transfer tokens to main account only under specific circumstances to reduce gas waste. Main account funds users' addresses with ETH to cover gas costs when transaction is about to occur.
4920721View on GitHubautoTransfer func was removed. Instead depositListener func transfers tokens to the system's account directly after user receiving them on his address. The problem is that user's account doesn't have any ETH to pay for gas.
5488c3fView on GitHubThe CLI and server logic were separated into two main.go files. Url structure when calling function with POST requests was fixed and parameters are encoded via json. Server-side error handling is done through http.Error call. Authentication is being implemented but not functional yet. depositListener is a new func used for logging deposit events on the users' addresses and incrementing their balances by deposited amount. It is also not functional yet and may be redesigned.
b0785aaView on GitHub