Change settlement detection to match logic in api-service
When detecting a settled contract, listen for a settlement transaction. It will send satoshis to the activeAddress
of the user and the 0th index input will be from a contract address. Remove current settlement logic. Once detected, call the positions endpoint and fire the 'A contract was settled' message.
Aditionally, add logic to ignore all transfers to and from contracts so they don't show in the UI.
Edited by Semyon Germanovich