actions that change balances need to create a transaction record, which could then be passed to financepeer or someone who would actually iniitiate the shift of money between accounts.
specifically, the startLoan-mutation needs to be adapted to change the lender balances accordingly
the tx-table should for each tx tell what loan it was related to and have an extra boolean that will be initially set to 'initiated' and then set to 'confirmed' once we can be sure that the transfer went trough... alternatively ti should be set to 'failed' in which case we need to manually look into the matter
actions that change balances need to create a transaction record, which could then be passed to financepeer or someone who would actually iniitiate the shift of money between accounts.
specifically, the
startLoan
-mutation needs to be adapted to change the lender balances accordinglythe tx-table should for each tx tell what loan it was related to and have an extra boolean that will be initially set to 'initiated' and then set to 'confirmed' once we can be sure that the transfer went trough... alternatively ti should be set to 'failed' in which case we need to manually look into the matter