Design and implementation of intelligent contract-driven automatic control system for trade settlement | Synapse